nixpkgs/pkgs/misc/screensavers/light-locker/systemd.patch
Balletie 786b5dd07b
light-locker: use systemd/logind instead of UPower
Since systemd has been adopted for a while now, we should switch to
using it for light-locker as well. So I disabled ConsoleKit/UPower
support in favor of using systemd with logind. This fixed many issues
for me, and made light-locker working again.

I followed the PKGBUILD of Arch's package in determining the right
configure flags. See: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/light-locker
2016-12-18 19:26:58 +01:00

14 lines
426 B
Diff

diff --git a/configure.ac.in b/configure.ac.in
index f7d5f5d..341bc83 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -424,7 +424,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