public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jocelyn Falempe <jfalempe@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kmscon] rawhide: Temporary disable libseat support
Date: Sat, 30 May 2026 17:01:09 GMT	[thread overview]
Message-ID: <178016046926.1.11218757454458273394.rpms-kmscon-4a3077636532@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/kmscon
            Branch : rawhide
            Commit : 4a307763653288437f2559b682ae7d79b4bb54e2
            Author : Jocelyn Falempe <jfalempe@redhat.com>
            Date   : 2026-05-30T19:00:37+02:00
            Stats  : +1/-37 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/kmscon/c/4a307763653288437f2559b682ae7d79b4bb54e2?branch=rawhide

            Log:
            Temporary disable libseat support

When libseat is enabled, it's harder to start a graphic session from kmscon,
because a XDG session is no more available, like it was reported with
https://github.com/kmscon/kmscon/issues/403

So disable libseat until it's properly fixed.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>

---
diff --git a/Set-LIBSEAT_BACKEND-to-logind-on-Fedora.patch b/Set-LIBSEAT_BACKEND-to-logind-on-Fedora.patch
deleted file mode 100644
index 44562d4..0000000
--- a/Set-LIBSEAT_BACKEND-to-logind-on-Fedora.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 4a0fffbbeee4ae79d730c567fa66b67f85c71836 Mon Sep 17 00:00:00 2001
-From: Jocelyn Falempe <jfalempe@redhat.com>
-Date: Thu, 21 May 2026 08:47:34 +0200
-Subject: [PATCH] Set LIBSEAT_BACKEND to logind on Fedora.
-
-Fedora uses systemd-logind.
-This avoid libseat to try other backend that failed first.
-
-This silence this warning printed at kmscon startup:
-INFO: libseat: [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory (log_libseat() in ../src/uterm_vt_libseat.c:263)
-
-Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
----
- scripts/systemd/kmsconvt@.service.in | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/scripts/systemd/kmsconvt@.service.in b/scripts/systemd/kmsconvt@.service.in
-index f86e5a9..890c3c2 100644
---- a/scripts/systemd/kmsconvt@.service.in
-+++ b/scripts/systemd/kmsconvt@.service.in
-@@ -45,6 +45,7 @@ TTYPath=/dev/%I
- TTYReset=yes
- TTYVHangup=yes
- TTYVTDisallocate=yes
-+Environment=LIBSEAT_BACKEND=logind
- 
- [Install]
- Alias=autovt@.service
--- 
-2.54.0
-

diff --git a/kmscon.spec b/kmscon.spec
index a1c7895..94e94f5 100644
--- a/kmscon.spec
+++ b/kmscon.spec
@@ -21,7 +21,6 @@ BuildRequires:  pkgconfig(freetype2)
 BuildRequires:  pkgconfig(gbm)
 BuildRequires:  pkgconfig(glesv2)
 BuildRequires:  pkgconfig(libdrm)
-BuildRequires:  pkgconfig(libseat)
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(libudev) >= 172
 BuildRequires:  pkgconfig(pango)
@@ -30,9 +29,6 @@ BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(xkbcommon) >= 0.5.0
 BuildRequires:  pkgconfig(zlib)
 
-# Avoid libseat warning
-Patch1: Set-LIBSEAT_BACKEND-to-logind-on-Fedora.patch
-
 %description
 Kmscon is a simple terminal emulator based on linux kernel mode setting (KMS).
 It is an attempt to replace the in-kernel VT implementation with a userspace
@@ -67,7 +63,7 @@ mod-gltex.so
 %autosetup -p1
 
 %conf
-%meson -Dvideo_fbdev=disabled
+%meson -Dvideo_fbdev=disabled -Dlibseat=disabled
 
 %build
 %meson_build
@@ -101,7 +97,6 @@ mod-gltex.so
 %{_mandir}/man5/kmscon.conf.5*
 %{_unitdir}/kmscon.service
 %{_unitdir}/kmsconvt@.service
-%{_sysconfdir}/pam.d/%{name}
 %config /etc/kmscon/kmscon.conf.example
 %{_datadir}/terminfo/k/kmscon
 

                 reply	other threads:[~2026-05-30 17:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178016046926.1.11218757454458273394.rpms-kmscon-4a3077636532@fedoraproject.org \
    --to=jfalempe@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox