[Fingerforce-commits] [fprintd] 03/06: Install systemd service file
Didier Raboud
odyx at alioth.debian.org
Sun Sep 29 14:10:26 UTC 2013
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch debian
in repository fprintd.
commit 0a993844156d25386f04c37b249d67373d5d9597
Author: Michael Biebl <biebl at debian.org>
Date: Sun Sep 29 15:00:07 2013 +0200
Install systemd service file
- point to correct systemdsystemunitdir in CONFIG_ARGS
- update 0_put_fprint_daemon_in_sbin to correct the systemd unit file
Closes: #717767
---
debian/fprintd.install | 1 +
debian/patches/0_put_fprint_daemon_in_sbin.patch | 9 +++++++++
debian/rules | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/debian/fprintd.install b/debian/fprintd.install
index 3513c39..aede082 100644
--- a/debian/fprintd.install
+++ b/debian/fprintd.install
@@ -55,3 +55,4 @@ usr/bin/fprintd-list
usr/bin/fprintd-verify
usr/bin/fprintd-enroll
usr/bin/fprintd-delete
+lib/systemd/system/fprintd.service
diff --git a/debian/patches/0_put_fprint_daemon_in_sbin.patch b/debian/patches/0_put_fprint_daemon_in_sbin.patch
index 1889d2a..a7515cd 100644
--- a/debian/patches/0_put_fprint_daemon_in_sbin.patch
+++ b/debian/patches/0_put_fprint_daemon_in_sbin.patch
@@ -25,3 +25,12 @@ Last-update: 2012-05-11
dbus_confdir = $(sysconfdir)/dbus-1/system.d
dbus_conf_DATA = net.reactivated.Fprint.conf
+@@ -15,7 +15,7 @@
+ systemdservicedir = $(systemdsystemunitdir)
+ systemdservice_DATA = $(systemdservice_in_files:.service.in=.service)
+ $(systemdservice_DATA): $(systemdservice_in_files) Makefile
+- @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
++ @sed -e "s|\@libexecdir\@|$(sbindir)|" $< > $@
+ endif
+
+ polkitdir = $(datadir)/polkit-1/actions
diff --git a/debian/rules b/debian/rules
index 2eb5460..b64eb2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
dh $@ --fail-missing --parallel
# Configuration arguments
-CONFIG_ARGS = --enable-pam --disable-silent-rules
+CONFIG_ARGS = --enable-pam --disable-silent-rules --with-systemdsystemunitdir=/lib/systemd/system
ifneq (,$(filter fprintd-doc,$(shell dh_listpackages)))
CONFIG_ARGS += --enable-gtk-doc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/fingerforce/fprintd.git
More information about the Fingerforce-commits
mailing list