docs/install.md is three short sections for a person installing. docs/packaging.md records what the installed app is on each system, why NSIS and the macOS bundle are scripts of our own, how signing is wired with the owner's secrets, what was left out, and what bundling git would require (GPL-2.0, separate program, unmodified: notices, source offer), which stays the owner's decision. WB-pkg-1 to WB-pkg-8 are the product rules. The Linux packages, the AUR file and the rpm now depend on git, so the package manager fetches it and a Linux person never meets the missing-git words. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
52 lines
2.2 KiB
TOML
52 lines
2.2 KiB
TOML
# cargo-packager's description of the Linux bundles (P11a step 3; D-25).
|
|
# `just package-linux` builds the release program and runs
|
|
# cargo packager --config deploy/packaging/packager.toml
|
|
# from the repository root. The .rpm is cargo-generate-rpm's, from the
|
|
# [package.metadata.generate-rpm] table of crates/ledger-cli/Cargo.toml.
|
|
name = "wanderbooks"
|
|
product-name = "Wanderbooks"
|
|
version = "0.1.0"
|
|
identifier = "ai.wanderbooks.app"
|
|
description = "Double-entry bookkeeping your agent keeps and you can read."
|
|
long-description = "One program: the viewer, the books server, and the bridge that lets Claude Code or Codex keep the books."
|
|
homepage = "https://wanderbooks.ai"
|
|
authors = ["Stephen Waits"]
|
|
license-file = "LICENSE-MIT"
|
|
category = "Finance"
|
|
binaries-dir = "target/release"
|
|
out-dir = "target/packages"
|
|
icons = ["deploy/packaging/icons/512x512.png"]
|
|
formats = ["deb", "appimage", "pacman"]
|
|
binaries = [{ path = "wanderbooks", main = true }]
|
|
|
|
[deb]
|
|
section = "utils"
|
|
# A deb marks itself package-managed: `wanderbooks update` refuses on it
|
|
# and says to use apt (plan 3.9).
|
|
desktop-template = "deploy/packaging/wanderbooks.desktop"
|
|
# git: the backups run the system's git (WB-pkg-4); the package manager
|
|
# fetches it, so a Linux person never sees the missing-git words.
|
|
depends = ["libc6", "libgcc-s1", "git"]
|
|
|
|
[deb.files]
|
|
"deploy/packaging/install-method-deb" = "usr/share/wanderbooks/install-method"
|
|
# The notices the third-party licences ask to travel with the program
|
|
# (`just notices`); `wanderbooks licenses` prints the same text.
|
|
"THIRD-PARTY-NOTICES.txt" = "usr/share/doc/wanderbooks/THIRD-PARTY-NOTICES.txt"
|
|
"LICENSE-MIT" = "usr/share/doc/wanderbooks/LICENSE-MIT"
|
|
"LICENSE-APACHE" = "usr/share/doc/wanderbooks/LICENSE-APACHE"
|
|
|
|
[appimage.files]
|
|
"THIRD-PARTY-NOTICES.txt" = "usr/share/doc/wanderbooks/THIRD-PARTY-NOTICES.txt"
|
|
"LICENSE-MIT" = "usr/share/doc/wanderbooks/LICENSE-MIT"
|
|
"LICENSE-APACHE" = "usr/share/doc/wanderbooks/LICENSE-APACHE"
|
|
|
|
[pacman]
|
|
depends = ["gcc-libs", "glibc", "git"]
|
|
|
|
[pacman.files]
|
|
"deploy/packaging/install-method-aur" = "usr/share/wanderbooks/install-method"
|
|
"THIRD-PARTY-NOTICES.txt" = "usr/share/doc/wanderbooks/THIRD-PARTY-NOTICES.txt"
|
|
"LICENSE-MIT" = "usr/share/doc/wanderbooks/LICENSE-MIT"
|
|
"LICENSE-APACHE" = "usr/share/doc/wanderbooks/LICENSE-APACHE"
|