[nautilus] dbus-manager: install a DBus service file
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] dbus-manager: install a DBus service file
- Date: Wed, 23 Feb 2011 04:38:30 +0000 (UTC)
commit 415aef2af3e8a7491ee0605f5082a696640680f8
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Feb 22 23:37:44 2011 -0500
dbus-manager: install a DBus service file
data/Makefile.am | 9 +++++++++
data/org.gnome.Nautilus.service.in | 3 +++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 6720abb..6cc3fab 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -14,6 +14,13 @@ desktop_in_files = \
mimedir = $(datadir)/mime/packages
mime_DATA = $(xml_files)
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.gnome.Nautilus.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+org.gnome.Nautilus.service: org.gnome.Nautilus.service.in Makefile
+ $(AM_V_GEN) sed -e "s|\ bindir\@|$(bindir)|" $< > $@
+
nautilusdatadir = $(datadir)/nautilus
nautilusdata_DATA = \
@@ -28,10 +35,12 @@ EXTRA_DIST = $(nautilusdata_DATA) \
nautilus.css \
$(xml_in_files) \
$(desktop_in_files) \
+ $(service_in_files) \
$(NULL)
CLEANFILES = $(xml_files) \
$(desktop_DATA) \
+ $(service_DATA) \
$(NULL)
SUBDIRS = \
diff --git a/data/org.gnome.Nautilus.service.in b/data/org.gnome.Nautilus.service.in
new file mode 100644
index 0000000..46fd152
--- /dev/null
+++ b/data/org.gnome.Nautilus.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.gnome.Nautilus
+Exec= bindir@/nautilus --no-default-window
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]