[Pkg-telepathy-commits] [telepathy-salut] 02/03: d/p/Add-a-systemd-user-service.patch: Add a systemd user service file

Laurent Bigonville bigon at moszumanska.debian.org
Thu Dec 10 00:29:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

bigon pushed a commit to branch debian
in repository telepathy-salut.

commit 53050b078a010399a62a028d788d75194c9aa6fa
Author: Laurent Bigonville <bigon at debian.org>
Date:   Wed Dec 9 17:47:40 2015 +0100

    d/p/Add-a-systemd-user-service.patch: Add a systemd user service file
---
 debian/changelog                                |  3 +-
 debian/patches/Add-a-systemd-user-service.patch | 55 +++++++++++++++++++++++++
 debian/patches/series                           |  1 +
 debian/telepathy-salut.install                  |  1 +
 4 files changed, 59 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index cfe9431..b433dc7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,9 @@ telepathy-salut (0.8.1-5) UNRELEASED; urgency=medium
 
   [ Laurent Bigonville ]
   * debian/control: Bump Standards-Version to 3.9.6 (no further changes)
+  * d/p/Add-a-systemd-user-service.patch: Add a systemd user service file
 
- -- Laurent Bigonville <bigon at debian.org>  Wed, 09 Dec 2015 17:32:20 +0100
+ -- Laurent Bigonville <bigon at debian.org>  Wed, 09 Dec 2015 17:47:15 +0100
 
 telepathy-salut (0.8.1-4) unstable; urgency=medium
 
diff --git a/debian/patches/Add-a-systemd-user-service.patch b/debian/patches/Add-a-systemd-user-service.patch
new file mode 100644
index 0000000..3047e09
--- /dev/null
+++ b/debian/patches/Add-a-systemd-user-service.patch
@@ -0,0 +1,55 @@
+--- a/data/salut.service.in
++++ b/data/salut.service.in
+@@ -1,3 +1,4 @@
+ [D-BUS Service]
+ Name=org.freedesktop.Telepathy.ConnectionManager.salut
+ Exec=@libexecdir@/telepathy-salut
++SystemdService=telepathy-salut.service
+--- /dev/null
++++ b/data/telepathy-salut.systemd.in
+@@ -0,0 +1,8 @@
++[Unit]
++Description=Telepathy connection manager for link-local XMPP
++Documentation=man:telepathy-salut(8)
++
++[Service]
++Type=dbus
++BusName=org.freedesktop.Telepathy.ConnectionManager.salut
++ExecStart=@libexecdir@/telepathy-salut
+--- a/data/Makefile.am
++++ b/data/Makefile.am
+@@ -1,4 +1,7 @@
+-EXTRA_DIST = salut.service.in
++EXTRA_DIST = \
++	salut.service.in \
++	telepathy-salut.systemd.in \
++	$(NULL)
+ 
+ managerdir = $(datadir)/telepathy/managers
+ manager_DATA = salut.manager
+@@ -6,6 +9,9 @@ manager_DATA = salut.manager
+ servicedir = $(datadir)/dbus-1/services
+ service_DATA = org.freedesktop.Telepathy.ConnectionManager.salut.service
+ 
++systemd_userdir = $(prefix)/lib/systemd/user
++systemd_user_DATA = telepathy-salut.service
++
+ # We don't use the full filename for the .in because > 99 character filenames
+ # in tarballs are non-portable (and automake 1.8 doesn't let us build
+ # non-archaic tarballs)
+@@ -13,7 +19,14 @@ org.freedesktop.Telepathy.ConnectionMana
+ 		Makefile
+ 	$(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@
+ 
+-CLEANFILES = $(service_DATA) $(manager_DATA)
++telepathy-salut.service: telepathy-salut.systemd.in Makefile
++	$(AM_V_GEN)sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@
++
++CLEANFILES = \
++	$(service_DATA) \
++	$(manager_DATA) \
++	$(systemd_user_DATA) \
++	$(NULL)
+ 
+ $(manager_DATA): always-build
+ 	$(MAKE) -C ../src write-mgr-file$(EXEEXT)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4f2b599
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Add-a-systemd-user-service.patch
diff --git a/debian/telepathy-salut.install b/debian/telepathy-salut.install
index 3d49f36..83e162e 100644
--- a/debian/telepathy-salut.install
+++ b/debian/telepathy-salut.install
@@ -1,3 +1,4 @@
+debian/tmp/usr/lib/systemd/user/
 debian/tmp/usr/lib/telepathy/telepathy-salut
 debian/tmp/usr/lib/telepathy/salut-0/lib/libsalut-plugins-0.*.so
 debian/tmp/usr/lib/telepathy/salut-0/lib/libwocky*-0.*.so

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-salut.git



More information about the Pkg-telepathy-commits mailing list