[vino] Add service file for vino



commit 5aaf0384d9650385aa267e8db03d57a2c6edcb47
Author: Arnaud Maillet <arnaud maillet collabora co uk>
Date:   Mon Apr 27 18:11:01 2009 +0200

    Add service file for vino
---
 server/Makefile.am               |    9 +++++++++
 server/org.gnome.Vino.service.in |    3 +++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/server/Makefile.am b/server/Makefile.am
index 6f951ba..5e55277 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -132,6 +132,13 @@ desktopdir      = $(sysconfdir)/xdg/autostart
 desktop_in_files = vino-server.desktop.in
 desktop_DATA    = $(desktop_in_files:.desktop.in=.desktop)
 
+servicedir = $(datadir)/dbus-1/services
+service_DATA = org.gnome.Vino.service
+
+org.gnome.Vino.service: org.gnome.Vino.service.in \
+		Makefile
+	@sed -e "s|[ ]libexecdir[@]|$(libexecdir)|" $< > $@
+
 @INTLTOOL_DESKTOP_RULE@
 
 if GCONF_SCHEMAS_INSTALL
@@ -153,6 +160,7 @@ EXTRA_DIST = \
 	vino-server.schemas.in \
 	vino-marshal.list \
 	vino-server.desktop.in.in \
+	org.gnome.Vino.service.in \
 	$(NULL)
 
 BUILT_SOURCES = \
@@ -164,6 +172,7 @@ BUILT_SOURCES = \
 	$(NULL)
 
 CLEANFILES = \
+	$(service_DATA) \
 	vino-server.desktop     \
 	vino-server.desktop.in
 
diff --git a/server/org.gnome.Vino.service.in b/server/org.gnome.Vino.service.in
new file mode 100644
index 0000000..c3b0992
--- /dev/null
+++ b/server/org.gnome.Vino.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.gnome.Vino
+Exec= libexecdir@/vino-server



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