From 877f21875afa2f044a33b76669717db985bc45dc Mon Sep 17 00:00:00 2001 From: Jordan Fulghum Date: Tue, 25 Aug 2026 18:48:38 -0400 Subject: [PATCH] packaging: depend on the gtk4 GStreamer sink used by the GUI preview `Preview` builds its pipeline around a `gtk4paintablesink` element (gui/src/preview.rs), but neither the Arch nor the Debian package declares the plugin that provides it. Because the element is resolved at runtime via `ElementFactory::make`, a clean install builds and launches fine and only fails when the preview is first shown: failed to find element factory with name 'gtk4paintablesink' gtk4paintablesink ships in gst-plugins-rs, packaged separately from gst-plugins-{base,good}: gst-plugin-gtk4 on Arch, gstreamer1.0-gtk4 on Debian/Ubuntu. Co-Authored-By: Claude Opus 5 (1M context) --- packaging/nfpm-gui.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/nfpm-gui.yaml b/packaging/nfpm-gui.yaml index f6f007d..1fe7bff 100644 --- a/packaging/nfpm-gui.yaml +++ b/packaging/nfpm-gui.yaml @@ -32,6 +32,8 @@ overrides: - openeffectsd - libgtk-4-1 - libadwaita-1-0 + # gtk4paintablesink, used by the GUI's live preview + - gstreamer1.0-gtk4 scripts: postinstall: packaging/postinstall.sh postremove: packaging/postremove.sh @@ -48,4 +50,6 @@ overrides: - openeffectsd - gtk4 - libadwaita + # gtk4paintablesink, used by the GUI's live preview + - gst-plugin-gtk4 # Arch updates the icon cache / desktop database via pacman hooks.