Haiku packaging: .hpkg script and HaikuPorts recipe template
- 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:
1 parent
b757b35709
commit
d190a8b5f8
7 files changed
+180
-6
No files matched your search
@@ -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).
|
||||
|
||||
Reference in new issue
Block a user