Linux: official Flatpak + self-hosted Flatpak repo (then Flathub) for distros without AUR/.deb #286
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#286
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ship an official Flatpak of Slipstream, to cover Linux distributions not served by the Arch PKGBUILD/AUR or the .deb: Fedora, openSUSE, Silverblue/Kinoite/Bazzite and other immutable distros, Steam Deck (SteamOS desktop mode), Solus, NixOS (non-flake users), etc. A user has already made their own Flatpak, which suggests demand; an official one avoids broken unofficial builds (see the Firestorm chat-import report, which was sandbox access).
Build
scripts/packaging/flatpak/org.slipstreamviewer.Slipstream.yml. Pick the reverse-DNS ID from our domain.org.freedesktop.Platform(current 24.08 or newer) +org.freedesktop.Platform.GL.default(Mesa/NVIDIA via the GL extension; Vulkan ICDs come through it as well)..desktopfile, AppStream metainfo (screenshots, release notes from releases.yml), icons.Sandbox permissions (finish-args), minimal but working
--socket=wayland,--socket=fallback-x11,--share=ipc,--device=dri,--share=network,--socket=pulseaudio~/.var/appis automatic; decide whether to keep~/.slipstreamviewer(needs--persist=.slipstreamviewer) so data matches the tarball install.--filesystem=~/.firestorm_x64:ro,~/.secondlife:ro,~/.alchemyviewer:ro, ... (and other viewers' Flatpak data under~/.var/appif feasible). Pair with the importer's sandbox detection and hint.xdg-desktop-portal); check SDL/our file pickers go through it, else grantxdg-pictures/xdg-download.--device=allonly if really needed).Hosting / distribution
Option A (recommended first): our own Flatpak repo, hosted on our infra, so we control release timing and can ship betas.
flatpak-builder --repo=repo, GPG-sign,flatpak build-update-repo --generate-static-deltas, rsync to the website edge (e.g.https://flatpak.slipstreamviewer.org/repo/) the same way the website deploys..flatpakrepofile (repo URL + GPG key) and a.flatpakrefper channel (stable / beta branches), so users can run:flatpak install https://slipstreamviewer.org/slipstream.flatpakrefflatpak update/ GNOME Software / Discover automatically.Option B (later): Flathub.
Website / docs
Done when
Signing: the self-hosted Flatpak repo GPG signing is tracked with the other Linux signing in #288 (Windows: #287).
Done: an official Flatpak with a self-hosted, signed Flatpak repo (stable + beta channels) is live (flatpak.slipstreamviewer.org). Flathub submission can be a separate ticket if wanted. Importing from native installs: #416.