diff --git a/CHANGELOG.md b/CHANGELOG.md index 467beec..9ff0739 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ complete; every release is an annotated git tag `vX.Y.Z` (see `tools/release.sh` ## [Unreleased] +### Added +- Flatpak: manifest (`packaging/flatpak`, GNOME 51 runtime, gtkmm stack built from source, + UDisks2 and stick mount point permissions) and `Flatpak` workflow building tested bundles for + x86_64 and aarch64, attached to the release of every `vX.Y.Z` tag. + ## [0.3.0] - 2026-11-29 ### Added diff --git a/README.md b/README.md index dd8eb2f..c963c60 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ It is an alternative to the official "Peugeot Update" application (Windows/macOS - [x] Linux packages: Debian package (`cpack -G DEB`) and AppImage (`tools/appimage.sh`) - [x] `Release` workflow: `.deb`, AppImage and `openpu-cli` tarball for x86_64 and arm64 - [x] Haiku package (`tools/haiku-package.sh`) and HaikuPorts recipe template -- [ ] Flatpak +- [x] Flatpak (`packaging/flatpak`, bundles built by the `Flatpak` workflow) - [ ] x86_64 + arm64 binaries attached to every release (from 1.0.0 on) ## Architecture @@ -71,6 +71,17 @@ The `Release` GitHub workflow builds the Debian package, the AppImage and a `ope for x86_64 and arm64. On a `vX.Y.Z` tag it attaches them to the release, and a manual run keeps them as workflow artifacts. +Flatpak: `packaging/flatpak/io.github.openpu.OpenPU.yml` uses the GNOME 51 runtime and builds the +gtkmm stack. It asks for the network, UDisks2 on the system bus (formatting the stick, through +polkit), the download folder and the stick mount points (`/media`, `/run/media`): +```sh +flatpak-builder --user --install --force-clean build-flatpak packaging/flatpak/io.github.openpu.OpenPU.yml +flatpak run io.github.openpu.OpenPU +``` +The `Flatpak` workflow builds `.flatpak` bundles for x86_64 and aarch64, tests them, and attaches +them to the release of a `vX.Y.Z` tag. Install a bundle with +`flatpak install --user OpenPU--.flatpak` (the GNOME 51 runtime comes from Flathub). + ## Building (Haiku) ```sh pkgman install cmake ninja curl_devel libarchive_devel nlohmann_json gettext gettext_libintl_devel