[gnome-online-miners/wip/facebook: 2/8] data: add a DBus service file for org.gnome.OnlineMiners.Facebook



commit 9767ee3d4505d320c9ca7c2bf5d67c8bb24f1ae4
Author: Álvaro Peña <alvaropg gmail com>
Date:   Tue Jun 25 19:43:11 2013 +0200

    data: add a DBus service file for org.gnome.OnlineMiners.Facebook
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701499

 data/Makefile.am                                |    6 ++++++
 data/org.gnome.OnlineMiners.Facebook.service.in |    3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 830dab5..993526d 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,6 +1,11 @@
 servicedir = $(datadir)/dbus-1/services
 service_DATA = $(service_in_files:.service.in=.service)
 
+org.gnome.OnlineMiners.Facebook.service: org.gnome.OnlineMiners.Facebook.service.in Makefile
+       $(AM_V_GEN)     \
+               [ -d $(@D) ] || $(mkdir_p) $(@D) ; \
+               sed -e "s|\ libexecdir\@|$(libexecdir)|" $< > $  tmp && mv $  tmp $@
+
 org.gnome.OnlineMiners.Flickr.service: org.gnome.OnlineMiners.Flickr.service.in Makefile
        $(AM_V_GEN)     \
                [ -d $(@D) ] || $(mkdir_p) $(@D) ; \
@@ -17,6 +22,7 @@ org.gnome.OnlineMiners.Zpj.service: org.gnome.OnlineMiners.Zpj.service.in Makefi
                sed -e "s|\ libexecdir\@|$(libexecdir)|" $< > $  tmp && mv $  tmp $@
 
 service_in_files = \
+    org.gnome.OnlineMiners.Facebook.service.in \
     org.gnome.OnlineMiners.Flickr.service.in \
     org.gnome.OnlineMiners.GData.service.in \
     org.gnome.OnlineMiners.Zpj.service.in \
diff --git a/data/org.gnome.OnlineMiners.Facebook.service.in b/data/org.gnome.OnlineMiners.Facebook.service.in
new file mode 100644
index 0000000..c50101d
--- /dev/null
+++ b/data/org.gnome.OnlineMiners.Facebook.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.gnome.OnlineMiners.Facebook
+Exec= libexecdir@/gom-facebook-miner


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