Compare commits

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

11 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
Yaakov Selkowitz
1b90ec6842 Stop renaming appdata and desktop files
These are now correctly named in the package itself in F40.
2024-04-08 11:06:03 -04:00
Yaakov Selkowitz
a55386d3a9 Update to F40 and rename 2024-04-08 10:47:58 -04:00
Yaakov Selkowitz
c7fd58652e Add speech-dispatcher permissions
Firefox uses speech-dispatcher for SpeechSynthesis.  Besides
adding libspeechd to the runtime, it needs access to the
session service socket.

https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/28
2024-04-08 10:46:18 -04:00

View file

@ -1,14 +1,21 @@
flatpak:
id: org.mozilla.Firefox
id: org.mozilla.firefox
branch: stable
runtime-name: flatpak-runtime
runtime-version: f39
runtime-version: f44
packages:
- firefox
- firefox-langpacks
command: firefox
rename-appdata-file: firefox.appdata.xml
rename-desktop-file: firefox.desktop
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: |-
--share=ipc
--share=network
@ -18,13 +25,13 @@ flatpak:
--socket=pcsc
--env=KRB5CCNAME=KCM:
--filesystem=/run/.heim_org.h5l.kcm-socket
--filesystem=~/.cache/firefox:create
--filesystem=~/.mozilla:create
--filesystem=home:ro
--filesystem=xdg-download:rw
--filesystem=xdg-run/gvfs
--filesystem=xdg-run/gvfsd
--filesystem=xdg-run/pipewire-0
--filesystem=xdg-run/speech-dispatcher
--device=all
--talk-name=org.freedesktop.FileManager1
--system-talk-name=org.freedesktop.NetworkManager
@ -35,3 +42,10 @@ flatpak:
--talk-name=org.freedesktop.Notifications
--own-name=org.mpris.MediaPlayer2.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