feat(packaging): Linux AppImage, deb, rpm and Flatpak
Samuel David Merlin Kemper authored 2 weeks ago
The Linux release binary needs the glibc it was built against (v0.4.0 needs
2.43, newer than Ubuntu 24.04, Debian 13 or Fedora 43 have). This ports the
Linux packaging of PhotoCraft (storytold/photocraft):
- The Linux release job builds on Ubuntu 22.04 (glibc 2.35).
- packaging/linux/package.sh stages an FHS tree and builds an AppImage
(.zsync delta updates, self-integrating AppRun), a deb and an rpm via
nfpm, and a tar.gz. The release attaches the AppImage, .zsync, deb and
rpm next to the unchanged bare binary and tarball.
- packaging/linux/flatpak-bundle.sh builds a Flatpak that is marked broken
and not released: the app cannot start the host's browser from inside
the sandbox (needs flatpak-spawn --host).
- A binary under /usr or /opt, or started from an AppImage, no longer
offers the self-install from ADR 0014.
Refs #61
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>