Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5afb133f89 | ||
|
|
c2a25b6d5c |
No files matched your search
@@ -30,10 +30,13 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
# ubuntu:24.04 matches the freedesktop 24.08 runtime closely enough
|
||||
# (glibc 2.39, GStreamer 1.24) that the cargo-built binary runs
|
||||
# unmodified inside the runtime. Privileged so Flatpak's bwrap works
|
||||
# where needed (runtime install triggers).
|
||||
# ubuntu:24.04 (glibc 2.39, GStreamer 1.24) is older than the
|
||||
# freedesktop 25.08 runtime (glibc 2.41, GStreamer 1.26), so the
|
||||
# cargo-built binary runs unmodified inside the runtime (same sonames,
|
||||
# forward-compatible symbol versions). 25.08 is required: 24.08 ships
|
||||
# libpipewire 1.2 whose buffer negotiation fails against KWin 6.7 /
|
||||
# PipeWire 1.6 hosts ("pipewiresrc: error alloc buffers"). Privileged
|
||||
# so Flatpak's bwrap works where needed (runtime install triggers).
|
||||
image: ubuntu:24.04
|
||||
options: --privileged
|
||||
steps:
|
||||
@@ -120,7 +123,7 @@ jobs:
|
||||
if: steps.check.outputs.build == 'true'
|
||||
run: |
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak install -y flathub org.freedesktop.Platform//24.08 org.freedesktop.Sdk//24.08
|
||||
flatpak install -y flathub org.freedesktop.Platform//25.08 org.freedesktop.Sdk//25.08
|
||||
|
||||
- name: Stamp version into AppStream metadata
|
||||
if: steps.check.outputs.build == 'true'
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
Flatpak packaging for the [HeiniRemote](https://git.pc-heini.de/pc-heini/HeiniRemote)
|
||||
customer agent (`de.pc_heini.HeiniRemoteAgent`) — an additional distribution
|
||||
channel next to the plain release binary, with all dependencies (GStreamer,
|
||||
libnice, wl-clipboard, …) pinned inside the freedesktop 24.08 runtime.
|
||||
libnice, wl-clipboard, …) pinned inside the freedesktop 25.08 runtime (24.08 ships libpipewire 1.2,
|
||||
whose buffer negotiation fails against KWin 6.7 / PipeWire 1.6 hosts).
|
||||
|
||||
Same setup as [o3de-flatpak](https://git.pc-heini.de/pc-heini/o3de-flatpak):
|
||||
a Gitea Action builds the Flatpak **without** `flatpak-builder` (no bubblewrap
|
||||
@@ -14,6 +15,12 @@ repackaging a prebuilt archive.
|
||||
|
||||
## Install
|
||||
|
||||
> **Note:** this repository must stay **public**. Flatpak fetches the OSTree
|
||||
> repo from the raw `pages` branch without any credentials — with the repo set
|
||||
> to private, `flatpak remote-add` / `flatpak install` fail with a 404.
|
||||
> (The agent's source lives in the private HeiniRemote repo; only the built
|
||||
> binary is published here.)
|
||||
|
||||
From the Flatpak remote (gets updates via `flatpak update`):
|
||||
|
||||
```sh
|
||||
|
||||
@@ -16,7 +16,7 @@ set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
APP_ID=de.pc_heini.HeiniRemoteAgent
|
||||
RUNTIME_VER=24.08
|
||||
RUNTIME_VER=25.08
|
||||
BRANCH=stable
|
||||
AGENT_BIN="${AGENT_BIN:?set AGENT_BIN to the compiled heiniremote-agent}"
|
||||
WL_DIR="${WL_CLIPBOARD_DIR:-/usr/bin}"
|
||||
|
||||
Reference in new issue
Block a user