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.

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 22ac13e..5eb2f59 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Build-Depends: debhelper (>= 9),
                libgnomekbd-dev (>= 3.6.0),
                libgtk-3-dev (>= 3.1.4),
                libpam0g-dev,
-               libsystemd-login-dev [linux-any],
+               libsystemd-dev [linux-any],
                libwebkit2gtk-4.0-dev,
                libx11-dev,
                libxext-dev,
diff --git a/debian/patches/libsystemd.patch b/debian/patches/libsystemd.patch
new file mode 100644
index 0000000..a734a32
--- /dev/null
+++ b/debian/patches/libsystemd.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 4090b01..850de59 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -581,7 +581,7 @@ dnl ---------------------------------------------------------------------------
+ dnl logind support
+ 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, [logind support])
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