unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51970] [PATCH core-updates-frozen 0/2] wlroots now uses libseat
@ 2021-11-19 11:04 Josselin Poiret via Guix-patches via
  2021-11-19 11:08 ` [bug#51970] [PATCH core-updates-frozen 1/2] gnu: seatd: Make elogind a propagated input Josselin Poiret via Guix-patches via
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Josselin Poiret via Guix-patches via @ 2021-11-19 11:04 UTC (permalink / raw)
  To: 51970; +Cc: Josselin Poiret

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#51970] [PATCH core-updates-frozen 1/2] gnu: seatd: Make elogind a propagated input.
  2021-11-19 11:04 [bug#51970] [PATCH core-updates-frozen 0/2] wlroots now uses libseat Josselin Poiret via Guix-patches via
@ 2021-11-19 11:08 ` Josselin Poiret via Guix-patches via
  2021-11-19 11:08 ` [bug#51970] [PATCH core-updates-frozen 2/2] gnu: wlroots: Remove unneeded elogind dependency Josselin Poiret via Guix-patches via
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Josselin Poiret via Guix-patches via @ 2021-11-19 11:08 UTC (permalink / raw)
  To: Josselin Poiret; +Cc: 51970

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#51970] [PATCH core-updates-frozen 2/2] gnu: wlroots: Remove unneeded elogind dependency.
  2021-11-19 11:04 [bug#51970] [PATCH core-updates-frozen 0/2] wlroots now uses libseat Josselin Poiret via Guix-patches via
  2021-11-19 11:08 ` [bug#51970] [PATCH core-updates-frozen 1/2] gnu: seatd: Make elogind a propagated input Josselin Poiret via Guix-patches via
@ 2021-11-19 11:08 ` Josselin Poiret via Guix-patches via
  2021-11-19 13:22 ` bug#51970: [PATCH core-updates-frozen 0/2] wlroots now uses libseat Ludovic Courtès
  2022-01-02  4:32 ` [bug#51970] " Aiko Kyle
  3 siblings, 0 replies; 5+ messages in thread
From: Josselin Poiret via Guix-patches via @ 2021-11-19 11:08 UTC (permalink / raw)
  To: Josselin Poiret; +Cc: 51970

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#51970: [PATCH core-updates-frozen 0/2] wlroots now uses libseat
  2021-11-19 11:04 [bug#51970] [PATCH core-updates-frozen 0/2] wlroots now uses libseat Josselin Poiret via Guix-patches via
  2021-11-19 11:08 ` [bug#51970] [PATCH core-updates-frozen 1/2] gnu: seatd: Make elogind a propagated input Josselin Poiret via Guix-patches via
  2021-11-19 11:08 ` [bug#51970] [PATCH core-updates-frozen 2/2] gnu: wlroots: Remove unneeded elogind dependency Josselin Poiret via Guix-patches via
@ 2021-11-19 13:22 ` Ludovic Courtès
  2022-01-02  4:32 ` [bug#51970] " Aiko Kyle
  3 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2021-11-19 13:22 UTC (permalink / raw)
  To: Josselin Poiret; +Cc: 51970-done

Hi!

Josselin Poiret <dev@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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#51970] [PATCH core-updates-frozen 0/2] wlroots now uses libseat
  2021-11-19 11:04 [bug#51970] [PATCH core-updates-frozen 0/2] wlroots now uses libseat Josselin Poiret via Guix-patches via
                   ` (2 preceding siblings ...)
  2021-11-19 13:22 ` bug#51970: [PATCH core-updates-frozen 0/2] wlroots now uses libseat Ludovic Courtès
@ 2022-01-02  4:32 ` Aiko Kyle
  3 siblings, 0 replies; 5+ messages in thread
From: Aiko Kyle @ 2022-01-02  4:32 UTC (permalink / raw)
  To: 51970

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-02 15:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19 11:04 [bug#51970] [PATCH core-updates-frozen 0/2] wlroots now uses libseat Josselin Poiret via Guix-patches via
2021-11-19 11:08 ` [bug#51970] [PATCH core-updates-frozen 1/2] gnu: seatd: Make elogind a propagated input Josselin Poiret via Guix-patches via
2021-11-19 11:08 ` [bug#51970] [PATCH core-updates-frozen 2/2] gnu: wlroots: Remove unneeded elogind dependency Josselin Poiret via Guix-patches via
2021-11-19 13:22 ` bug#51970: [PATCH core-updates-frozen 0/2] wlroots now uses libseat Ludovic Courtès
2022-01-02  4:32 ` [bug#51970] " Aiko Kyle

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).