Subject: Re: [bug#36073] [PATCH 3/5] gnu: swayidle: Update to 1.3.

From: Meiyo Peng <[email-masked]>
Date: Mon, 10 Jun 2019 10:22:57 +0800

Hi Stefan,

swayidle 1.3 requires elogind/systemd for lock/unlock signal support.

--
Meiyo Peng
https://www.pengmeiyu.com/

>From 36c53079895c5b5b0bb801e2c5ca96803b4acb08 Mon Sep 17 00:00:00 2001
From: Meiyo Peng <[email-masked]>
Date: Sun, 9 Jun 2019 18:10:20 +0800
Subject: [PATCH 2/2] gnu: swayidle: Add elogind support.

* gnu/packages/wm.scm (swayidle)[arguments]: Add #:configure-flags.
  [inputs]: Add elogind.
---
 gnu/packages/wm.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 089e083e8b..5bfc7cbd8d 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1243,7 +1243,10 @@ modules for building a Wayland compositor.")
        (sha256
         (base32 "04agcbhc473jkk7npb40i94ny8naykxzpjcw2lvl05kxv65y5d9v"))))
     (build-system meson-build-system)
-    (inputs `(("wayland" ,wayland)))
+    (arguments
+     `(#:configure-flags '("-Dlogind-provider=elogind")))
+    (inputs `(("elogind" ,elogind)
+              ("wayland" ,wayland)))
     (native-inputs `(("pkg-config" ,pkg-config)
                      ("scdoc" ,scdoc)
                      ("wayland-protocols" ,wayland-protocols)))
-- 
2.22.0