[gimp] build: only grant access to needed services in flatpak.



commit 925a77e205dc0984301e3f73eb5467b28409f24c
Author: Jehan <jehan girinstud io>
Date:   Sat Oct 7 23:10:07 2017 +0200

    build: only grant access to needed services in flatpak.
    
    No full bus access, as proposed by flatpak upstream.

 build/flatpak/org.gimp.GIMP-dev.json     |    2 +-
 build/flatpak/org.gimp.GIMP-nightly.json |    2 +-
 build/flatpak/org.gimp.GIMP-stable.json  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/build/flatpak/org.gimp.GIMP-dev.json b/build/flatpak/org.gimp.GIMP-dev.json
index 87c5b23..40cd396 100644
--- a/build/flatpak/org.gimp.GIMP-dev.json
+++ b/build/flatpak/org.gimp.GIMP-dev.json
@@ -12,7 +12,7 @@
     "rename-icon": "gimp",
     "finish-args": ["--share=ipc", "--socket=x11", "--filesystem=host",
                     "--filesystem=xdg-config/GIMP", "--share=network",
-                    "--socket=system-bus", "--socket=session-bus" ],
+                    "--talk-name=org.gtk.vfs --talk-name=org.gtk.vfs.*" ],
     "tags": ["dev"],
     "desktop-file-name-prefix": "(Dev) ",
     "build-options" : {
diff --git a/build/flatpak/org.gimp.GIMP-nightly.json b/build/flatpak/org.gimp.GIMP-nightly.json
index be57d4d..a665217 100644
--- a/build/flatpak/org.gimp.GIMP-nightly.json
+++ b/build/flatpak/org.gimp.GIMP-nightly.json
@@ -12,7 +12,7 @@
     "rename-icon": "gimp",
     "finish-args": ["--share=ipc", "--socket=x11", "--filesystem=host",
                     "--filesystem=xdg-config/GIMP", "--share=network",
-                    "--socket=system-bus", "--socket=session-bus" ],
+                    "--talk-name=org.gtk.vfs --talk-name=org.gtk.vfs.*" ],
     "tags": ["nightly"],
     "desktop-file-name-prefix": "(Nightly) ",
     "build-options" : {
diff --git a/build/flatpak/org.gimp.GIMP-stable.json b/build/flatpak/org.gimp.GIMP-stable.json
index ebf6e4f..b9524af 100644
--- a/build/flatpak/org.gimp.GIMP-stable.json
+++ b/build/flatpak/org.gimp.GIMP-stable.json
@@ -12,7 +12,7 @@
     "rename-icon": "gimp",
     "finish-args": ["--share=ipc", "--socket=x11", "--filesystem=host",
                     "--filesystem=xdg-config/GIMP", "--share=network",
-                    "--socket=system-bus", "--socket=session-bus" ],
+                    "--talk-name=org.gtk.vfs --talk-name=org.gtk.vfs.*" ],
     "tags": ["stable"],
     "build-options" : {
         "cflags": "-O2 -g",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]