summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-20 15:57:29 +0100
committerinfirit <[email protected]>2014-11-22 21:32:47 +0100
commit0c3107bbc42745c2e45530a8d43ea7fccd881e6f (patch)
treee581355d77464632e50e2de673a62a795810b90b /data
parent02cd7f18c806194eabd1dee69d28b5e2f2b51344 (diff)
downloadengrampa-0c3107bbc42745c2e45530a8d43ea7fccd881e6f.tar.bz2
engrampa-0c3107bbc42745c2e45530a8d43ea7fccd881e6f.tar.xz
Added a D-BUS service to create and extract archives.
Initial commits from FR: f998fd8e33a08d686a1071db87d21f4a83963d99 4078d1a9e5ddae3357302791432fc61d82ff37e4 58c55b06f30014326f27bdf94c406ceee0897731 Improvements and fixes from FR: D-Bus service: added GetSupportedTypes method ace4f31c586641fcf7ad1de165cd7f27b5a371c1 1399b9a84b0d4f4a5015066b0d7cec7e048d59dc From: Paolo Bacchilega <[email protected]>
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am8
-rw-r--r--data/org.mate.Engrampa.service.in3
2 files changed, 11 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 62cb8c8..1b88d56 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,6 +10,12 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
matchdir = $(datadir)/engrampa
match_DATA = packages.match
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.mate.Engrampa.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+$(service_DATA): $(service_in_files) Makefile
+ $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
@INTLTOOL_XML_RULE@
appdatadir = $(datadir)/appdata
appdata_in_files = engrampa.appdata.xml.in
@@ -49,11 +55,13 @@ EXTRA_DIST = \
$(gsettingsschema_in_files) \
$(appdata_in_files) \
$(man_MANS) \
+ $(service_in_files) \
$(NULL)
DISTCLEANFILES = \
$(desktop_in_files) \
$(desktop_DATA) \
+ $(service_DATA) \
$(NULL)
CLEANFILES = \
diff --git a/data/org.mate.Engrampa.service.in b/data/org.mate.Engrampa.service.in
new file mode 100644
index 0000000..210cfe9
--- /dev/null
+++ b/data/org.mate.Engrampa.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.mate.Engrampa
+Exec=@libexecdir@/engrampa-server