[Xfce4-commits] <xfce4-appfinder:andrzejr/plugin> added a DBus .service file.

Andrzej noreply at xfce.org
Thu Feb 16 07:22:06 CET 2012


Updating branch refs/heads/andrzejr/plugin
         to e067ae4df00114a30912f31eab9de5bd9dc27c20 (commit)
       from 77a2881a3fb79ecbf07728ea71c527f90a59cca8 (commit)

commit e067ae4df00114a30912f31eab9de5bd9dc27c20
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Wed Feb 15 21:45:56 2012 +0900

    added a DBus .service file.

 data/Makefile.am                   |    6 ++++++
 data/org.xfce.AppFinder.service.in |    3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index 2d232b4..0c9a3ad 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -6,6 +6,12 @@ apps_in_files = \
 apps_DATA = $(apps_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.xfce.AppFinder.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+%.service: %.service.in
+	$(AM_V_GEN) sed -e "s,\@bindir\@,$(bindir),g" < $< > $@
+
 EXTRA_DIST = \
 	$(apps_in_files)
 
diff --git a/data/org.xfce.AppFinder.service.in b/data/org.xfce.AppFinder.service.in
new file mode 100644
index 0000000..0e292f2
--- /dev/null
+++ b/data/org.xfce.AppFinder.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.xfce.Appfinder
+Exec=@bindir@/xfce4-appfinder --daemon


More information about the Xfce4-commits mailing list