tui: packaging — meson target, PKGBUILD, nfpm #45

Closed
opened 2026-04-11 13:07:11 +00:00 by charles · 0 comments
Owner

User story

As a user installing Loom from AUR or distro packages, I want loom-tui available as an optional companion binary to loom-gtk, so that I can opt into the TUI without pulling it in by default.

Acceptance criteria

meson

  • meson.build gains an option -Dtui=enabled|disabled|auto (default auto)
  • When enabled, builds loom-tui via cargo build --release -p loom-tui and installs it to bindir
  • auto enables it when cargo is present and disables cleanly otherwise

AUR PKGBUILD

  • Add loom-tui as an optional dependency line (optdepends) of the main package
  • Build step invokes cargo build --release -p loom-tui
  • Install step places the binary under $pkgdir/usr/bin/loom-tui
  • No new desktop file / icon (TUI is terminal only)

nfpm

  • Add a loom-tui.yaml nfpm config (deb/rpm) that bundles just the binary
  • Wire into any existing packaging recipe/script so both loom-gtk and loom-tui artefacts are produced

Docs

  • Update docs/ installation sections to mention loom-tui

Out of scope

  • Flatpak (spec §13 out of scope)

References

  • Spec §11 "Build & Packaging"
## User story As a user installing Loom from AUR or distro packages, I want `loom-tui` available as an optional companion binary to `loom-gtk`, so that I can opt into the TUI without pulling it in by default. ## Acceptance criteria ### meson - [ ] `meson.build` gains an option `-Dtui=enabled|disabled|auto` (default `auto`) - [ ] When enabled, builds `loom-tui` via `cargo build --release -p loom-tui` and installs it to `bindir` - [ ] `auto` enables it when `cargo` is present and disables cleanly otherwise ### AUR PKGBUILD - [ ] Add `loom-tui` as an optional dependency line (`optdepends`) of the main package - [ ] Build step invokes `cargo build --release -p loom-tui` - [ ] Install step places the binary under `$pkgdir/usr/bin/loom-tui` - [ ] No new desktop file / icon (TUI is terminal only) ### nfpm - [ ] Add a `loom-tui.yaml` nfpm config (deb/rpm) that bundles just the binary - [ ] Wire into any existing packaging recipe/script so both `loom-gtk` and `loom-tui` artefacts are produced ### Docs - [ ] Update `docs/` installation sections to mention loom-tui ## Out of scope - Flatpak (spec §13 out of scope) ## References - Spec §11 "Build & Packaging"
charles added this to the loom-tui v0.1.0 milestone 2026-04-11 13:07:11 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/loom#45
No description provided.