mbox series

[bug#51970,core-updates-frozen,0/2] wlroots now uses libseat

Message ID 20211119110454.4265-1-dev@jpoiret.xyz
Headers show
Series wlroots now uses libseat | expand

Message

Josselin Poiret Nov. 19, 2021, 11:04 a.m. UTC
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(-)

Comments

Ludovic Courtès Nov. 19, 2021, 1:22 p.m. UTC | #1
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’.
Aiko Kyle Jan. 2, 2022, 4:32 a.m. UTC | #2
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