From 9b133edc20702a0c9cccb613fbb9296a7fb9f597 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:25 +0100 Subject: feat(flatpak): support .flatpak bundle URLs; migrate autenticacao-gov-pt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Extend meta/flatpak.txt format to allow per-line URL for non-Flathub .flatpak bundles. Lines are now either '' (Flathub) or ' ' (downloaded + installed via 'flatpak install '). Bundle entries are skipped on pkg-apply/pkg-fix when already installed, and re-fetched on flatpak-update only when the version embedded in the URL differs from the installed version. Use this to migrate Portuguese Citizen Card (pteid-mw) off the AUR 'autenticacao-gov-pt-bin' pseudo-flatpak unpack to the upstream-shipped flatpak bundle from amagovpt/autenticacao.gov GitHub releases — same codebase the AUR PKGBUILD already vendors, but properly sandboxed. Refactors duplicated install logic in pkg-apply/pkg-fix into a private _flatpak-install helper. ID-only contexts (pkg-status, undeclared, pkg-list) now extract the first whitespace-separated token instead of treating each line as a single ID. Caveat: PKCS#11-based Citizen Card web auth in the LibreWolf flatpak remains unsolved — the .so lives inside the autenticacao-gov sandbox and would need a 'flatpak override' + 'modutil' bridge to be loaded across sandboxes. The CLI/GUI eID app works as expected. --- meta/extra.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'meta/extra.txt') diff --git a/meta/extra.txt b/meta/extra.txt index f08953d..3936385 100644 --- a/meta/extra.txt +++ b/meta/extra.txt @@ -2,7 +2,6 @@ gpg-tui pandoc-bin syncthing udisks2 -autenticacao-gov-pt-bin # Flatpak runtime (apps tracked in meta/flatpak.txt) flatpak -- cgit v1.3.1