Haiku packaging: .hpkg script and HaikuPorts recipe template
CI / Linux arm64 (push) Waiting to run
CI / Linux x86_64 (push) Waiting to run
CI / ASan + UBSan (push) Waiting to run

- tools/haiku-package.sh: release build staged into the package layout
  (apps/OpenPU, bin/openpu-cli, data/locale, Deskbar link), .PackageInfo
  with the library requirements, `package create`. Validated with
  `pkgman install` in the Haiku R1/beta6 VM.
- packaging/haiku/openpu.recipe: HaikuPorts recipe template, to be named
  after the released version with the archive checksum.
- The Haiku application is installed in apps/ and finds its translations
  through BPathFinder (data/locale of its installation location).
- Fix: `cmake --install --strip` dropped the application's resources
  (icon, signature, version); they are attached again after install.

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:50:47 +01:00
1 parent b757b35709
commit d190a8b5f8
7 files changed
+180 -6

No files matched your search

+7
View File
@@ -24,14 +24,21 @@ complete; every release is an annotated git tag `vX.Y.Z` (see `tools/release.sh`
- `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.
- Haiku package: `tools/haiku-package.sh` builds an `.hpkg` (application, `openpu-cli`,
translations, Deskbar entry), and `packaging/haiku/openpu.recipe` is a HaikuPorts recipe
template.
### Changed
- The Haiku application is installed in `apps/` and finds its translations in the `data/locale`
directory of its installation location.
- 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
- `cmake --install --strip` dropped the resources of the Haiku application (icon, signature,
version): they are attached again to the installed file.
- Translations were installed in `/<language>/LC_MESSAGES` instead of the locale directory.
- Archive extraction failed when the destination path contained a symbolic link (e.g. `/tmp` on
Haiku).