From 76ff616dcf92e9a49f377c5fe08a433931b32cc9 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Sat, 4 Jul 2026 09:20:52 +0000 Subject: [PATCH] =?UTF-8?q?fix(flatpak):=20drop=20--socket=3Dpipewire=20(u?= =?UTF-8?q?nknown=20to=20the=20builder)=20=E2=80=94=20keep=20the=20xdg-run?= =?UTF-8?q?=20bind?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The v0.7.2 flatpak build failed: `error: Unknown socket type pipewire` — this flatpak-builder toolchain (and the Deck's flatpak 1.16 override CLI) don't accept --socket=pipewire. --filesystem=xdg-run/pipewire-0 binds the same native socket and is the portable form already validated on-Deck (pipewire-0 appears in the sandbox, client audio node registers, no pw-connect error). Keep only that + --socket=pulseaudio. Co-Authored-By: Claude Opus 4.8 (1M context) --- packaging/flatpak/io.unom.Punktfunk.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packaging/flatpak/io.unom.Punktfunk.yml b/packaging/flatpak/io.unom.Punktfunk.yml index 03acf5d..1ebc0d9 100644 --- a/packaging/flatpak/io.unom.Punktfunk.yml +++ b/packaging/flatpak/io.unom.Punktfunk.yml @@ -68,12 +68,11 @@ finish-args: # PulseAudio shim — so it needs the real `pipewire-0` socket in the sandbox. With only # --socket=pulseaudio the sandbox has just `pulse/native`, no `pipewire-0`, and playback + # mic both die with "pw connect (is PipeWire running in this session?)" (observed live on the - # Deck in Gaming Mode). --socket=pipewire is the canonical grant; --filesystem=xdg-run/ - # pipewire-0 binds the same socket portably (validated on-Deck: it makes pipewire-0 appear in - # the sandbox where --socket=pipewire's CLI validation was flaky). Neither needs the - # camera/portal dance (that's only for camera nodes). --socket=pulseaudio stays as a fallback - # for any pulse-only path. --- - - --socket=pipewire + # Deck in Gaming Mode). We bind the native socket via --filesystem=xdg-run/pipewire-0 (NOT + # --socket=pipewire: this flatpak-builder toolchain rejects it as an "Unknown socket type", + # and the Deck's flatpak 1.16 override CLI does too — the filesystem bind is the portable + # form, validated on-Deck to make pipewire-0 appear + the client register its audio node). + # --socket=pulseaudio stays as a fallback for any pulse-only path. --- - --filesystem=xdg-run/pipewire-0 - --socket=pulseaudio # --- network: QUIC control + UDP data plane + mDNS discovery (_punktfunk._udp) ---