]> granicus.if.org Git - handbrake/commitdiff
flatpak: fix gvfs access
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 9 Nov 2018 20:01:07 +0000 (12:01 -0800)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 9 Nov 2018 20:02:48 +0000 (12:02 -0800)
The freedesktop platform doesn't supply the gvfs module.  So add it to
the flatpak.

Fixes https://forum.handbrake.fr/viewtopic.php?f=13&t=38383

pkg/linux/flatpak/fr.handbrake.ghb.json

index ed0bfbd947e1d9930573ab4f6fd3123210a0dac2..c723a9f5ff358e866ff4d790745be84c6ef56899 100644 (file)
         "--filesystem=xdg-run/dconf",
         "--filesystem=~/.config/dconf:ro",
         "--talk-name=ca.desrt.dconf",
+        "--talk-name=org.gtk.vfs.*",
         "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
         "--env=PATH=/app/bin:/usr/bin:/app/extensions/bin",
         "--env=JAVA_HOME=/app/extensions/jre",
+        "--env=GIO_EXTRA_MODULES=/app/lib/gio/modules",
         "--filesystem=host"
     ],
     "add-extensions": {
         }
     },
     "modules": [
+        {
+            "name": "gvfs",
+            "cleanup": [ "/libexec/*", "/share/dbus-1/services/*", "/share/gvfs/mounts" ],
+            "config-opts": [ "--disable-hal", "--disable-gdu", "--disable-gcr", "--disable-obexftp",
+                             "--disable-avahi", "--disable-documentation", "--disable-admin" ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://download.gnome.org/sources/gvfs/1.36/gvfs-1.36.1.tar.xz",
+                    "sha256": "3840dff386c2c8a445337bea4ade0eb71339efaff8602767659fa2896792f026"
+                }
+            ]
+        },
         {
             "name": "fribidi",
             "make-args": ["-j1"],