[evince] build: Set Daemon service namespace to lowecase



commit fbb0a963667daf29b291581aa0069eea57bd8411
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Mon Oct 8 00:52:08 2018 -0300

    build: Set Daemon service namespace to lowecase
    
    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.

 data/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index b85150cb..083e07db 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -30,7 +30,10 @@ if enable_dbus
   service_conf = configuration_data()
   service_conf.set('libexecdir', ev_libexecdir)
 
-  services = [[ev_namespace + '.Daemon.service', dbus_service_dir]]
+  # The D-Bus interface names are in lowercase, which does not match
+  # the application name nor the namespace. However, we keep it in
+  # lowercase for backward compatibility.
+  services = [[ev_namespace.to_lower() + '.Daemon.service', dbus_service_dir]]
 
   if install_systemd_user_unit_dir
     services += [[ev_namespace + '.service', systemd_user_unit_dir]]


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