Linux packaging: Debian package, AppImage script, release workflow
CI / Linux arm64 (push) Waiting to run
CI / Linux x86_64 (push) Waiting to run
CI / ASan + UBSan (push) Waiting to run

- CPack DEB configuration (cmake/Packaging.cmake): dependencies from
  dpkg-shlibdeps, udisks2 recommended, strip.
- AppStream metadata, installed with the desktop file and the icons;
  tools/release.sh adds each release to it.
- tools/appimage.sh: AppImage of the GTK interface and openpu-cli with
  linuxdeploy and its GTK plugin (x86_64 and aarch64).
- Release workflow: .deb, AppImage and openpu-cli tarball for x86_64 and
  arm64, attached to the release of a vX.Y.Z tag, or kept as artifacts
  on a manual run. tools/release.sh edits the release when the workflow
  created it first.
- The GTK interface finds its translations next to the executable
  (../share/locale), for relocatable installs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
This commit is contained in:
yann64andClaude Opus 5.5 committed 2026-11-29 06:17:50 +01:00
1 parent bbc3bb3896
commit ce7316af29
11 files changed
+261 -8

No files matched your search

+11
View File
@@ -19,6 +19,17 @@ complete; every release is an annotated git tag `vX.Y.Z` (see `tools/release.sh`
- Application icon: an original shield with a "PU" monogram, as SVG, HVIF (embedded in the Haiku
executable) and PNG from 16 to 512 px (installed in the hicolor icon theme on Linux), generated
by `tools/make_icons.py`.
- Debian package through CPack (dependencies from `dpkg-shlibdeps`, `udisks2` recommended) and
AppStream metadata (`io.github.openpu.OpenPU.metainfo.xml`).
- `tools/appimage.sh`: AppImage of the GTK interface and `openpu-cli` (linuxdeploy + GTK plugin).
- `Release` GitHub workflow: Debian package, AppImage and `openpu-cli` tarball for Linux x86_64
and arm64, attached to the release of every `vX.Y.Z` tag.
### Changed
- The GTK interface looks for its translations in `../share/locale` next to the executable first,
so that relocatable installs (AppImage) are translated.
- `tools/release.sh` adds the release to the AppStream metadata and updates a GitHub release
that the release workflow created first.
### Fixed
- Translations were installed in `/<language>/LC_MESSAGES` instead of the locale directory.