Control: tags -1 + patch

Please find attached a patch which makes use of the new libsystemd
library. Since the patch touches the build-system, I also enabled the
use of dh-autoreconf.
Thanks for considering. Would be great if you can include that in your
next upload.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
diff --git a/debian/control b/debian/control
index 3ce4e26..dd9e21f 100644
--- a/debian/control
+++ b/debian/control
@@ -5,9 +5,9 @@ Maintainer: Debian Xfce Maintainers <pkg-xfce-de...@lists.alioth.debian.org>
 Uploaders: Evgeni Golov <evg...@debian.org>, 
  Yves-Alexis Perez <cor...@debian.org>, Emanuele Rocca <e...@debian.org>, 
  Simon Huggins <hug...@earth.li>          
-Build-Depends: debhelper (>= 9), pkg-config,
+Build-Depends: debhelper (>= 9), pkg-config, dh-autoreconf,
   liblightdm-gobject-dev (>= 1.3.5), libgtk-3-dev, libdbus-glib-1-dev,
-  libxss-dev, libsystemd-login-dev, intltool, xfce4-dev-tools, libtool
+  libxss-dev, libsystemd-dev, intltool, xfce4-dev-tools, libtool
 Standards-Version: 3.9.6
 Homepage: https://github.com/the-cavalry/light-locker/
 Vcs-Svn: svn://anonscm.debian.org/pkg-xfce/goodies/trunk/light-locker
diff --git a/debian/patches/02_libsystemd.patch b/debian/patches/02_libsystemd.patch
new file mode 100644
index 0000000..93fc229
--- /dev/null
+++ b/debian/patches/02_libsystemd.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index e4240e5..4498451 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -429,7 +429,7 @@ AC_ARG_WITH(systemd,
+             [with_systemd=$withval], [with_systemd=auto])
+ 
+ PKG_CHECK_MODULES(SYSTEMD,
+-                  [libsystemd-login],
++                  [libsystemd],
+                   [have_systemd=yes], [have_systemd=no])
+ 
+ if test "x$with_systemd" = "xauto" ; then
diff --git a/debian/patches/series b/debian/patches/series
index 2d1d0c3..ed8acbe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_lid-closed.patch
+02_libsystemd.patch
diff --git a/debian/rules b/debian/rules
index fa5ce84..7e97741 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,4 +12,4 @@ override_dh_auto_configure:
 		--with-mit-ext
 
 %:
-	dh $@
+	dh $@ --with autoreconf

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to