From b50b503e853101d95a6e8b2065e221c76a11d5dd Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Mon, 30 Mar 2020 21:18:30 +0200 Subject: [PATCH] extend flatpak json with permissions and dbus-glib shared module --- .gitmodules | 3 +++ flatpak/content/io.gitlab.LibreWolf.json | 11 +++++++++++ flatpak/content/shared-submodules | 1 + 3 files changed, 15 insertions(+) create mode 100644 .gitmodules create mode 160000 flatpak/content/shared-submodules diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7e4e711 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "flatpak/content/shared-submodules"] + path = flatpak/content/shared-submodules + url = https://github.com/flathub/shared-modules.git diff --git a/flatpak/content/io.gitlab.LibreWolf.json b/flatpak/content/io.gitlab.LibreWolf.json index 090d4bc..984053c 100644 --- a/flatpak/content/io.gitlab.LibreWolf.json +++ b/flatpak/content/io.gitlab.LibreWolf.json @@ -5,6 +5,7 @@ "sdk": "org.gnome.Sdk", "command": "librewolf", "modules": [ + "shared-modules/gtk2/gtk2.json", { "name": "librewolf", "buildsystem": "simple", @@ -23,6 +24,16 @@ "finish-args": [ "--share=ipc", "--socket=x11", + "--socket=pulseaudio", + "--persist=.librewolf", + "--filesystem=xdg-download:rw", + "--device=all", + "--talk-name=org.freedesktop.FileManager1", + "--system-talk-name=org.freedesktop.NetworkManager", + "--talk-name=org.a11y.Bus", + "--talk-name=org.gnome.SessionManager", + "--talk-name=org.freedesktop.ScreenSaver", + "--talk-name=\"org.gtk.vfs.*\"", "--socket=wayland", "--filesystem=home:rw", "--share=network" diff --git a/flatpak/content/shared-submodules b/flatpak/content/shared-submodules new file mode 160000 index 0000000..8ce6437 --- /dev/null +++ b/flatpak/content/shared-submodules @@ -0,0 +1 @@ +Subproject commit 8ce6437c269ef28c49984c11246d27be433c21d5