[evince] build: Fix Daemon namescape for building with meson



commit 47dc1759ea9cd5ffecf2ea0f0f70323e8263b7d9
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Mon Oct 8 14:26:15 2018 -0300

    build: Fix Daemon namescape for building with meson
    
    Regardless we renamed the app-id to org.gnome.Evince, and desktop
    files, icons, etc. to match the name; we keep the D-Bus services
    in lowercase for backward compatibility.
    
    Add missing fix from fbb0a963 to convert the interface name for
    the Daemon in lowercase.

 shell/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/shell/meson.build b/shell/meson.build
index e0cb40d1..7884f67c 100644
--- a/shell/meson.build
+++ b/shell/meson.build
@@ -145,10 +145,13 @@ if enable_dbus
 
   gdbus = 'ev-daemon-gdbus'
 
+  # The D-Bus interface names are in lowercase, which does not match
+  # the application name nor the namespace. However, we keep the
+  # interface prefix in lowercase for backward compatibility.
   sources += gnome.gdbus_codegen(
     gdbus + '-generated',
     gdbus + '.xml',
-    interface_prefix: ev_namespace,
+    interface_prefix: ev_namespace.to_lower(),
     namespace: ev_code_prefix,
     object_manager: true,
     autocleanup: 'objects',


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