monkey-bubble r233 - in trunk: . data



Author: herzi
Date: Fri Jan 11 02:25:09 2008
New Revision: 233
URL: http://svn.gnome.org/viewvc/monkey-bubble?rev=233&view=rev

Log:
2008-01-10  Sven Herzberg  <herzi gnome-de org>

	Install a D-Bus service file for Maemo to get an idea about restarting
	Monkey-Bubble. Based on the Maemo port of Monkey-Bubble which was
	created by Jouni Roivas.

	* data/com.nokia.monkey_bubble.service.in: template for the service
	file
	* data/Makefile.am: added rules to distribute the template and build
	and install the service file


Added:
   trunk/data/com.nokia.monkey_bubble.service.in
Modified:
   trunk/ChangeLog
   trunk/data/Makefile.am

Modified: trunk/data/Makefile.am
==============================================================================
--- trunk/data/Makefile.am	(original)
+++ trunk/data/Makefile.am	Fri Jan 11 02:25:09 2008
@@ -6,6 +6,15 @@
 level_DATA = \
 	levels
 
+if MAEMO
+dbusdir=$(datadir)/dbus-1/services
+dbus_in_files=com.nokia.monkey_bubble.service.in
+dbus_DATA=$(dbus_in_files:.service.in=.service)
+
+$(dbus_DATA): $(dbus_in_files) Makefile
+	sed 's# BINDIR@#$(bindir)#' $< > $@
+endif
+
 gladexmldir = $(datadir)/monkey-bubble/glade
 gladexml_DATA = \
 	monkey-bubble.glade keybinding.glade netgame.glade netserver.glade
@@ -26,7 +35,8 @@
 	-chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/monkey-bubble.scores
 	-chmod 664 $(DESTDIR)$(scoredir)/monkey-bubble.scores
 
-EXTRA_DIST = \
+EXTRA_DIST=\
+	$(dbus_in_files) \
 	$(level_DATA) \
 	$(gladexml_DATA) \
 	$(schemas_in_files) \

Added: trunk/data/com.nokia.monkey_bubble.service.in
==============================================================================
--- (empty file)
+++ trunk/data/com.nokia.monkey_bubble.service.in	Fri Jan 11 02:25:09 2008
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=com.nokia.monkey_bubble
+Exec= BINDIR@/monkey-bubble



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