Bah, made a stupid mystake (wrong path).
Fixed patch (v2) attached.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
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..ace91fd 100644
--- a/debian/patches/0_put_fprint_daemon_in_sbin.patch
+++ b/debian/patches/0_put_fprint_daemon_in_sbin.patch
@@ -3,8 +3,10 @@ Author: Didier Raboud <o...@debian.org>
 Origin: vendor
 Forwarded: Not needed, vendor-specific
 Last-update: 2012-05-11
---- a/src/Makefile.am
-+++ b/src/Makefile.am
+Index: fprintd-0.5.0/src/Makefile.am
+===================================================================
+--- fprintd-0.5.0.orig/src/Makefile.am	2013-07-24 21:24:26.656569320 +0200
++++ fprintd-0.5.0/src/Makefile.am	2013-07-24 21:24:26.648569228 +0200
 @@ -4,7 +4,7 @@
  CLEANFILES = $(BUILT_SOURCES)
  EXTRA_DIST = manager.xml device.xml fprintd-marshal.list
@@ -14,8 +16,10 @@ Last-update: 2012-05-11
  noinst_LTLIBRARIES = libfprintd.la
  
  AM_CFLAGS = $(WARN_CFLAGS) $(FPRINT_CFLAGS) $(DAEMON_CFLAGS) -DLOCALEDIR=\""$(datadir)/locale"\" -DPLUGINDIR=\""$(libdir)/fprintd/modules"\"
---- a/data/Makefile.am
-+++ b/data/Makefile.am
+Index: fprintd-0.5.0/data/Makefile.am
+===================================================================
+--- fprintd-0.5.0.orig/data/Makefile.am	2013-07-24 21:24:26.656569320 +0200
++++ fprintd-0.5.0/data/Makefile.am	2013-07-24 21:24:39.264714209 +0200
 @@ -4,7 +4,7 @@
  dbus_services_DATA = $(dbus_services_in_files:.service.in=.service)
  
@@ -25,3 +29,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

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to