From: John Stebbins Date: Fri, 9 Nov 2018 20:01:07 +0000 (-0800) Subject: flatpak: fix gvfs access X-Git-Tag: 1.2.0~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa03552c64ac34fbc3a79396a72df3cd37b6a6f2;p=handbrake flatpak: fix gvfs access 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 --- diff --git a/pkg/linux/flatpak/fr.handbrake.ghb.json b/pkg/linux/flatpak/fr.handbrake.ghb.json index ed0bfbd94..c723a9f5f 100644 --- a/pkg/linux/flatpak/fr.handbrake.ghb.json +++ b/pkg/linux/flatpak/fr.handbrake.ghb.json @@ -10,9 +10,11 @@ "--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": { @@ -27,6 +29,19 @@ } }, "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"],