GNU bug report logs - #51970
[PATCH core-updates-frozen 0/2] wlroots now uses libseat

Previous Next

Package: guix-patches;

Reported by: Josselin Poiret <dev <at> jpoiret.xyz>

Date: Fri, 19 Nov 2021 11:06:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51970 in the body.
You can then email your comments to 51970 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#51970; Package guix-patches. (Fri, 19 Nov 2021 11:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Josselin Poiret <dev <at> jpoiret.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 19 Nov 2021 11:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: guix-patches <at> gnu.org
Cc: Josselin Poiret <dev <at> jpoiret.xyz>
Subject: [PATCH core-updates-frozen 0/2] wlroots now uses libseat
Date: Fri, 19 Nov 2021 11:04:54 +0000
Hello,

wlroots now uses libseat rather than elogind directly, and the
'-Dlogind_provider=elogind' configure flag was not letting it build
anymore.  Here is a fix for seatd to propagate elogind as a dependency
because it is required by its pkg-config, and for wlroots to remove
the flag and dependency to elogind.

Happy core-updates-frozen use,
Josselin

Josselin Poiret (2):
  gnu: seatd: Make elogind a propagated input.
  gnu: wlroots: Remove unneeded elogind dependency.

 gnu/packages/freedesktop.scm | 2 +-
 gnu/packages/wm.scm          | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

-- 
2.33.1





Information forwarded to guix-patches <at> gnu.org:
bug#51970; Package guix-patches. (Fri, 19 Nov 2021 11:09:02 GMT) Full text and rfc822 format available.

Message #8 received at 51970 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: 51970 <at> debbugs.gnu.org
Subject: [PATCH core-updates-frozen 1/2] gnu: seatd: Make elogind a propagated
 input.
Date: Fri, 19 Nov 2021 11:08:17 +0000
* gnu/packages/freedesktop.scm (seatd): Do it.
---
 gnu/packages/freedesktop.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index c1485fed6e..06b1fc952c 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -876,7 +876,7 @@ (define-public seatd
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("scdoc" ,scdoc)))
-    (inputs
+    (propagated-inputs
      `(("elogind" ,elogind)))
     (home-page "https://sr.ht/~kennylevinsen/seatd")
     (synopsis "Seat management daemon and library")
-- 
2.33.1





Information forwarded to guix-patches <at> gnu.org:
bug#51970; Package guix-patches. (Fri, 19 Nov 2021 11:09:02 GMT) Full text and rfc822 format available.

Message #11 received at 51970 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: 51970 <at> debbugs.gnu.org
Subject: [PATCH core-updates-frozen 2/2] gnu: wlroots: Remove unneeded elogind
 dependency.
Date: Fri, 19 Nov 2021 11:08:18 +0000
* gnu/packages/wm.scm (wlroots): Remove it.
---
 gnu/packages/wm.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 7b7d04eb93..6361530534 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1480,8 +1480,7 @@ (define-public wlroots
         (base32 "1sshp3lvlkl1i670kxhwsb4xzxl8raz6769kqvgmxzcb63ns9ay1"))))
     (build-system meson-build-system)
     (arguments
-     `(#:configure-flags '("-Dlogind-provider=elogind")
-       #:phases
+     `(#:phases
        (modify-phases %standard-phases
          (add-before 'configure 'hardcode-paths
            (lambda* (#:key inputs #:allow-other-keys)
@@ -1492,7 +1491,6 @@ (define-public wlroots
              #t)))))
     (propagated-inputs
      `(;; As required by wlroots.pc.
-       ("elogind" ,elogind)
        ("eudev" ,eudev)
        ("libinput" ,libinput)
        ("libxkbcommon" ,libxkbcommon)
-- 
2.33.1





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 19 Nov 2021 13:23:01 GMT) Full text and rfc822 format available.

Notification sent to Josselin Poiret <dev <at> jpoiret.xyz>:
bug acknowledged by developer. (Fri, 19 Nov 2021 13:23:01 GMT) Full text and rfc822 format available.

Message #16 received at 51970-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: 51970-done <at> debbugs.gnu.org
Subject: Re: bug#51970: [PATCH core-updates-frozen 0/2] wlroots now uses
 libseat
Date: Fri, 19 Nov 2021 14:22:09 +0100
Hi!

Josselin Poiret <dev <at> jpoiret.xyz> skribis:

> wlroots now uses libseat rather than elogind directly, and the
> '-Dlogind_provider=elogind' configure flag was not letting it build
> anymore.  Here is a fix for seatd to propagate elogind as a dependency
> because it is required by its pkg-config, and for wlroots to remove
> the flag and dependency to elogind.

Good catch.

>   gnu: seatd: Make elogind a propagated input.
>   gnu: wlroots: Remove unneeded elogind dependency.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 18 Dec 2021 12:24:08 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Aiko Kyle <aikokyle <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 02 Jan 2022 04:32:01 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#51970; Package guix-patches. (Sun, 02 Jan 2022 04:33:01 GMT) Full text and rfc822 format available.

Message #23 received at 51970 <at> debbugs.gnu.org (full text, mbox):

From: Aiko Kyle <aikokyle <at> gmail.com>
To: 51970 <at> debbugs.gnu.org
Subject: [PATCH core-updates-frozen 0/2] wlroots now uses libseat
Date: Sat, 1 Jan 2022 21:32:39 -0700
I was wondering if sway still works for you? Sometime between guix
v1.3.0 and now sway broke for me and I think it may have to do with
this update to sway requiring seatd. When I try run sway I get the
error:

00:00:00.007 [ERROR] [wlr] [libseat] [libseat/backend/seatd.c:78]
Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.017 [ERROR] [wlr] [libseat] [libseat/backend/logind.c:267]
Could not activate session: Interactive authentication required.
00:00:00.017 [ERROR] [wlr] [libseat] [libseat/libseat.c:73] No backend
was able to open a seat
00:00:00.017 [ERROR] [wlr] [backend/session/session.c:84] Unable to
create seat: Function not implemented
00:00:00.017 [ERROR] [wlr] [backend/session/session.c:218] Failed to
load session backend
00:00:00.017 [ERROR] [wlr] [backend/backend.c:353] Failed to start a DRM session
00:00:00.017 [ERROR] [sway/server.c:53] Unable to create backend




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 30 Jan 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.