[evince/wip/gpoo/fix-dbus-and-flatpak: 4/4] flatpak: Claim ownership of org.gnome.evince



commit b489113df2419b9e3282dabb59bb236a8f49ad86
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).

 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..d88a2b4a 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]