[gnome-documents] data: add a DBus service file for org.gnome.Documents.ZpjMiner



commit 2a103d9e4967b09b4bff6c5ce9e27dad36a61064
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed May 30 17:34:02 2012 +0200

    data: add a DBus service file for org.gnome.Documents.ZpjMiner
    
    Fixes: https://bugzilla.gnome.org/666535

 data/Makefile.am                             |   12 ++++++++++--
 data/org.gnome.Documents.ZpjMiner.service.in |    3 +++
 2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 5ce93c2..8dcfdea 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -15,12 +15,20 @@ searchprovider_in_files = gnome-documents-search-provider.ini.in
 
 servicedir = $(datadir)/dbus-1/services
 service_DATA = $(service_in_files:.service.in=.service)
-$(service_DATA): $(service_in_files) Makefile
+
+org.gnome.Documents.GDataMiner.service: org.gnome.Documents.GDataMiner.service.in Makefile
+	$(AM_V_GEN)	\
+		[ -d $(@D) ] || $(mkdir_p) $(@D) ; \
+		sed -e "s|\ libexecdir\@|$(libexecdir)|" $< > $  tmp && mv $  tmp $@
+
+org.gnome.Documents.ZpjMiner.service: org.gnome.Documents.ZpjMiner.service.in Makefile
 	$(AM_V_GEN)	\
 		[ -d $(@D) ] || $(mkdir_p) $(@D) ; \
 		sed -e "s|\ libexecdir\@|$(libexecdir)|" $< > $  tmp && mv $  tmp $@
 
-service_in_files = org.gnome.Documents.GDataMiner.service.in
+service_in_files = \
+    org.gnome.Documents.GDataMiner.service.in \
+    org.gnome.Documents.ZpjMiner.service.in
 
 gsettings_ENUM_NAMESPACE = org.gnome.Documents
 gsettings_ENUM_FILES = \
diff --git a/data/org.gnome.Documents.ZpjMiner.service.in b/data/org.gnome.Documents.ZpjMiner.service.in
new file mode 100644
index 0000000..7263e22
--- /dev/null
+++ b/data/org.gnome.Documents.ZpjMiner.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.gnome.Documents.ZpjMiner
+Exec= libexecdir@/gd-tracker-zpj-miner



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