diff mbox series

[bug#36073,3/5] gnu: swayidle: Update to 1.3.

Message ID 87k1duyy9q.fsf@riseup.net
State Accepted
Headers show
Series None | expand

Commit Message

Meiyo Peng June 10, 2019, 2:22 a.m. UTC
Hi Stefan,

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


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

Comments

Marius Bakke June 15, 2019, 12:52 p.m. UTC | #1
Meiyo Peng <meiyo@riseup.net> writes:
>
> From 36c53079895c5b5b0bb801e2c5ca96803b4acb08 Mon Sep 17 00:00:00 2001
> From: Meiyo Peng <meiyo@riseup.net>
> 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.

Heh, somehow did not see this patch when applying the previous one...
Pushed as ddd401d28fb09f1f8ce96f2fc24226887a812412, thanks!
diff mbox series

Patch

From 36c53079895c5b5b0bb801e2c5ca96803b4acb08 Mon Sep 17 00:00:00 2001
From: Meiyo Peng <meiyo@riseup.net>
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