added a packaging roadmap
@@ -0,0 +1,43 @@
1+# packaging/
2+
3+Roadmap for distro packaging. One directory per recipe tool, recipes added
4+when written — nothing is implemented yet, the directories are stubs.
5+
6+| dir | tool | distro | recipe files when done | status |
7+|------------|-----------------------|----------|------------------------|--------|
8+| `makepkg/` | makepkg | Arch | `PKGBUILD` | stub |
9+| `abuild/` | abuild | Alpine | `APKBUILD` | stub |
10+| `ebuild/` | portage | Gentoo | `vendetta.ebuild` | stub |
11+| `xbps-src/` | xbps-src | Void | `template` | stub |
12+| `freebsd/` | ports framework | FreeBSD | `Makefile`, `distinfo`, `pkg-descr` | stub |
13+| `openbsd/` | bsd.port.mk | OpenBSD | `Makefile`, `distinfo`, `pkg/` | stub |
14+| `macports/` | MacPorts | macOS | `Portfile` | stub |
15+
16+Statuses: **stub** — directory only; **draft** — recipe written, untested
17+or unproven; **maintained** — the distro's own builder builds this tree
18+from it and it is kept current.
19+
20+## What every recipe must do
21+
22+- **Build** with the canonical command (AGENTS.md §2), from inside the
23+ tree — `v.mod` beside `src/` is what makes the `libvendetta` subimports
24+ resolve:
25+ ```
26+ v -new-compiler -prod -d ui2_custom_rendering src -o vendetta
27+ ```
28+ `-new-compiler` wants a current compiler, so the recipe builds V
29+ (`vlang/v` master) itself or documents the required floor; `v install
30+ ui2` as in the nightly musl runner (`.forgejo/workflows/nightly_musl.yaml`).
31+ Per-OS variants (macOS's two mandatory defines, BSD include/lib paths)
32+ follow §2's build-mode table.
33+- **Install** `/usr/lib/vendetta/{vendetta,assets/}` plus a `/usr/bin`
34+ symlink. That layout follows ui2's font search (`font_bundle_dirs`
35+ checks the executable's own directory first, `os.executable()` resolves
36+ through a symlink), and the shipped faces keep a fontless machine
37+ rendering identically (`assets/fonts/README.md`).
38+- **Package no state files**: everything lives in `<config_base>/vendetta/`
39+ under the user's home (AGENTS.md §12).
40+- **Pin the source** (a commit hash, not a moving ref), checksum it for
41+ real, and derive `pkgver` from `v.mod` until real tags exist.
42+
43+Status per target lives here when recipes land.
@@ -0,0 +1 @@
1+stub: see ../README.md
@@ -0,0 +1 @@
1+stub: see ../README.md
@@ -0,0 +1 @@
1+stub: see ../README.md
@@ -0,0 +1 @@
1+stub: see ../README.md
@@ -0,0 +1 @@
1+stub: see ../README.md
@@ -0,0 +1 @@
1+stub: see ../README.md
@@ -0,0 +1 @@
1+stub: see ../README.md