Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Yaakov Selkowitz
59c5ade395 Add locale support 2026-04-10 15:03:19 -04:00
Yaakov Selkowitz
2d31fab2bc F44 2026-03-24 20:40:27 -04:00
Yaakov Selkowitz
0a2700693f Drop ~/.cache/firefox permission
The ~/.var/app/org.mozilla.firefox/cache/mozilla/firefox directory
is properly used nowadays.

https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/47
2025-11-05 00:51:36 -05:00
Yaakov Selkowitz
b65e615953 F43 2025-10-06 11:47:59 -04:00
Yaakov Selkowitz
f6f90c2bb1 F42 2025-03-28 12:58:57 -04:00
Yaakov Selkowitz
960357b77f Use add-extensions syntax
This is now supported with flatpak-module-tools 1.1.
2025-01-29 19:45:41 -05:00
Jan Horak
719b713fcd Add org.mozilla.firefox.systemconfig unmanaged extension
This allows to pass system configuration to the Firefox flatpak:

https://jhorakdevblog.wordpress.com/2023/06/22/how-to-set-firefox-enterprise-policies-and-system-preferences-under-flatpak/
2024-12-03 14:24:42 +01:00
Yaakov Selkowitz
df7bc3fe79 F41 2024-10-08 12:56:32 -04:00

View file

@ -2,11 +2,20 @@ flatpak:
id: org.mozilla.firefox id: org.mozilla.firefox
branch: stable branch: stable
runtime-name: flatpak-runtime runtime-name: flatpak-runtime
runtime-version: f40 runtime-version: f44
packages: packages:
- firefox - firefox
- firefox-langpacks
command: firefox command: firefox
rename-icon: firefox rename-icon: firefox
add-extensions:
org.mozilla.firefox.Locale:
directory: share/runtime/locale
autodelete: true
locale-subset: true
org.mozilla.firefox.systemconfig:
directory: etc/firefox
no-autodownload: true
finish-args: |- finish-args: |-
--share=ipc --share=ipc
--share=network --share=network
@ -16,7 +25,6 @@ flatpak:
--socket=pcsc --socket=pcsc
--env=KRB5CCNAME=KCM: --env=KRB5CCNAME=KCM:
--filesystem=/run/.heim_org.h5l.kcm-socket --filesystem=/run/.heim_org.h5l.kcm-socket
--filesystem=~/.cache/firefox:create
--filesystem=~/.mozilla:create --filesystem=~/.mozilla:create
--filesystem=home:ro --filesystem=home:ro
--filesystem=xdg-download:rw --filesystem=xdg-download:rw
@ -34,3 +42,10 @@ flatpak:
--talk-name=org.freedesktop.Notifications --talk-name=org.freedesktop.Notifications
--own-name=org.mpris.MediaPlayer2.firefox.* --own-name=org.mpris.MediaPlayer2.firefox.*
--own-name=org.mozilla.firefox.* --own-name=org.mozilla.firefox.*
cleanup-commands: |
cd /app/lib64/firefox/langpacks
for f in *; do
l=`echo $f | sed -e 's/langpack-\([^-@]*\).*/\1/'`
rm -f $f
ln -sf ../../../share/runtime/locale/$l/$f .
done