From 5afb133f8992b960d841afd224ec7aabecf12faa Mon Sep 17 00:00:00 2001 From: pc-heini Date: Sun, 20 Sep 2026 23:06:04 +0200 Subject: [PATCH] build: bump freedesktop runtime 24.08 -> 25.08 24.08 ships libpipewire/gst-plugin-pipewire 1.2.4, whose buffer negotiation fails against KWin 6.7 + PipeWire 1.6.9 hosts (pipewiresrc: error alloc buffers). 25.08 (libpipewire 1.4.9) was verified working on openSUSE Kalpa via flatpak run --runtime-version=25.08; the host only needs the PipeWire daemon, so older hosts (Mint 22, PipeWire 1.0) stay compatible. Co-Authored-By: Claude Fable 5.1 --- .gitea/workflows/build-flatpak.yml | 13 ++++++++----- README.md | 3 ++- scripts/make-flatpak.sh | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build-flatpak.yml b/.gitea/workflows/build-flatpak.yml index 6814b6f..be4574c 100644 --- a/.gitea/workflows/build-flatpak.yml +++ b/.gitea/workflows/build-flatpak.yml @@ -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' diff --git a/README.md b/README.md index f28b641..00a339d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/scripts/make-flatpak.sh b/scripts/make-flatpak.sh index 3d25e54..70346ad 100755 --- a/scripts/make-flatpak.sh +++ b/scripts/make-flatpak.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}"