Flatpak packaging: build script, CI workflow, and runtime fixes#200
Open
BillyOutlast wants to merge 3 commits into
Open
Flatpak packaging: build script, CI workflow, and runtime fixes#200BillyOutlast wants to merge 3 commits into
BillyOutlast wants to merge 3 commits into
Conversation
added 3 commits
June 2, 2026 16:27
GSD-Unit: M001/S02/reactive+T01,T03
- build.sh: automated flatpak build script with --bundle/--clean flags - prepare-libs.sh: copies system tray libraries from host into flatpak/libs/ - .github/workflows/flatpak.yml: companion CI workflow supporting both source builds and release-triggered builds - Remove old flatpak-release.yml (replaced by flatpak.yml) - .gitignore: add flatpak build artifact patterns - Scripts are executable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Flatpak Packaging
Adds full Flatpak build support for the Drop Desktop client, including a local build script, system tray library bundling, WebKit Wayland workarounds, and a companion CI workflow.
What was done
Flatpak manifest & metadata
flatpak/org.droposs.client.yml— Flatpak manifest using GNOME Platform 48, extracts the pre-built.deband bundles system tray librariesflatpak/org.droposs.client.desktop— Flatpak-specific desktop entry with correct/app/bin/pathsflatpak/org.droposs.client.metainfo.xml— AppStream metainfo for Flathubflatpak/org.droposs.client.svg— Scalable SVG icon (64x64 viewBox)System tray indicator fix
The GNOME Platform runtime does not include
libayatana-appindicator3(used for the tray icon). Added these libraries as bundled file sources in the manifest:libayatana-appindicator3.so.1libayatana-ido3-0.4.so.0libayatana-indicator3.so.7libdbusmenu-glib.so.4libdbusmenu-gtk3.so.4WebKit Wayland workarounds
Added these environment variables to
finish-argsto prevent rendering crashes:WEBKIT_DISABLE_COMPOSITING_MODE=1WEBKIT_DISABLE_DMABUF_RENDERER=1Developer tooling
flatpak/build.sh— Full automation: builds Tauri.deb, prepares libraries, runs flatpak-builder, optionally creates portable bundleflatpak/prepare-libs.sh— Copies required system tray libraries from host system (works on Fedora, Ubuntu, etc.)flatpak/prepare-deb.sh— Symlinks the versioned.debto the predictable path expected by the manifestCI workflow
.github/workflows/flatpak.yml— Companion to the main release workflowrelease: [published]: downloads the.debfrom release assets, builds Flatpak, uploads as release assetworkflow_dispatchwith tag: same as releaseworkflow_dispatchwithout tag: builds Tauri from source, then builds Flatpak, uploads as workflow artifactLocal frontend serving
tauri-plugin-localhost+portpickerto serve the frontend overhttp://localhost:<port>/mainin release builds, since thetauri://custom protocol does not work inside WebKit2GTK in the Flatpak sandbox.How to test locally