Control: tags -1 + patch

Please find attached a patch which makes use of the new libsystemd
library. Since your package already uses dh-autoreconf, no further
changes should be necessary.
Thanks for considering. Would be great if you can include that in your
next upload.

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 9eb74ec..42eda7e 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,7 @@ Build-Depends: autotools-dev,
                libpolkit-gobject-1-dev,
                libpulse-dev (>= 0.9.16),
                librsvg2-dev,
-               libsystemd-login-dev [linux-any],
+               libsystemd-dev [linux-any],
                libupower-glib-dev (>= 0.9.11),
                libwacom-dev (>= 0.4) [linux-any],
                libx11-dev,
diff --git a/debian/patches/libsystemd.patch b/debian/patches/libsystemd.patch
new file mode 100644
index 0000000..c985b52
--- /dev/null
+++ b/debian/patches/libsystemd.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 418f08f..16887af 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -373,7 +373,7 @@ dnl ====================================================================
+ dnl Check for logind
+ dnl ====================================================================
+ 
+-PKG_CHECK_MODULES(LOGIND, [libsystemd-login], [have_logind=yes], [have_logind=no])
++PKG_CHECK_MODULES(LOGIND, [libsystemd], [have_logind=yes], [have_logind=no])
+ 
+ if test x$have_logind = xyes; then
+     AC_DEFINE(HAVE_LOGIND, 1, [Define if logind is supported])
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..da70223
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+libsystemd.patch

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to