[evince/wip/gpoo/Set-back-D-Bus-application-name-to-lowercase] flatpak: Claim ownership of org.gnome.evince



commit 281cb9efc273e57f46c676899ccf945bd9994344
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Sun Oct 7 00:28:50 2018 -0300

    flatpak: Claim ownership of org.gnome.evince
    
    Add explicit ownership of D-Bus interface names
    org.gnome.evince and org.gnome.evince.Daemon to make
    them work on flatpak (the app-id does not match these
    names, and if we rename the interfaces we would break
    the ABI).
    
    Alternative fix for #990.

 build-aux/flatpak/org.gnome.Evince.json | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/build-aux/flatpak/org.gnome.Evince.json b/build-aux/flatpak/org.gnome.Evince.json
index 36672c82..f4d7f0c7 100644
--- a/build-aux/flatpak/org.gnome.Evince.json
+++ b/build-aux/flatpak/org.gnome.Evince.json
@@ -22,7 +22,9 @@
         "--env=GDK_PIXBUF_MODULE_FILE=/app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache",
         "--talk-name=org.gtk.vfs",
         "--talk-name=org.gtk.vfs.*",
-        "--talk-name=org.gnome.SessionManager"
+        "--talk-name=org.gnome.SessionManager",
+        "--own-name=org.gnome.evince",
+        "--own-name=org.gnome.evince.Daemon"
     ],
     "build-options" : {
         "cflags" : "-O2 -g",


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