summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2017-02-18 15:16:57 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2017-02-18 15:16:57 +0100
commit153cad41ed51b898def94ade15bde288584705f0 (patch)
treebb2d63d293e9646cc6962ca9a4decdef03a285f7 /data
parentab0b77acee82e37fe91ac2c6879b49ec4d50e936 (diff)
downloadzeitgeist-153cad41ed51b898def94ade15bde288584705f0.tar.gz
Give the D-Bus service files the correct names
Best-practice is that if you implement a session service whose well-known name (Name field) is com.example.MyService1, and it should be service-activatable, then it should install ${datadir}/dbus-1/services/com.example.MyService1.service. This ensures that two non-conflicting packages cannot provide the same service name with the same search-path priority (i.e. in the same directory). If there are two session services with the same Name in the same directory, dbus-daemon will arbitrarily choose one of them, which is unlikely to be the desired result.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am6
-rw-r--r--data/org.gnome.zeitgeist.Engine.service.in (renamed from data/org.gnome.zeitgeist.service.in)0
2 files changed, 3 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 4a02d40f..affb9b85 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -5,7 +5,7 @@ SUBDIRS = \
$(NULL)
servicedir = $(datadir)/dbus-1/services
-nodist_service_DATA = org.gnome.zeitgeist.service
+nodist_service_DATA = org.gnome.zeitgeist.Engine.service
bashcompletiondir = $(datadir)/bash-completion/completions
dist_bashcompletion_DATA = completions/zeitgeist-daemon
@@ -18,13 +18,13 @@ nodist_xdgautostart_DATA = $(xdgautostart_in_files:.desktop.in=.desktop)
endif
CLEANFILES = \
- org.gnome.zeitgeist.service \
+ org.gnome.zeitgeist.Engine.service \
PythonSerializer.pyc \
zeitgeist-datahub.desktop \
$(NULL)
EXTRA_DIST = \
- org.gnome.zeitgeist.service.in \
+ org.gnome.zeitgeist.Engine.service.in \
ontology2code \
$(xdgautostart_in_files) \
$(NULL)
diff --git a/data/org.gnome.zeitgeist.service.in b/data/org.gnome.zeitgeist.Engine.service.in
index 4b20045c..4b20045c 100644
--- a/data/org.gnome.zeitgeist.service.in
+++ b/data/org.gnome.zeitgeist.Engine.service.in