Subject: bug#47751: closed (Re: [bug#47751] [PATCH] gnu: Add seatd.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 13 Apr 2021 17:58:02 +0000

Your bug report

#47751: [PATCH] gnu: Add seatd.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
47751: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47751
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#47751] [PATCH] gnu: Add seatd.
From: Maxime Devos <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Tue, 13 Apr 2021 19:57:47 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On Tue, 2021-04-13 at 13:57 +0000, guixuser6392 via Guix-patches via wrote:
> Hello,
> 
> I have accidentally sent my patch twice. May someone please close this duplicate ticket?
Closed.  You can close issues yourself by writing
a mail to [email-masked]

There's information on debbugs here: <https://debbugs.gnu.org/server-control.html>
and <https://debbugs.gnu.org/server-refcard.html>.

Greetings,
Maxime.

Subject: [PATCH] gnu: Add seatd.
From: guixuser6392 <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Tue, 13 Apr 2021 13:45:25 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello, Guix!

This patch adds a single package definition for a minimal seat management daemon (seatd), and a universal seat management library (libseat), under the name of `seatd'.

Regards,
pineapples

From 6dce6e93197bd911e136e345a7d6acfe711ecef3 Mon Sep 17 00:00:00 2001
From: pineapples <[email-masked]>
Date: Tue, 13 Apr 2021 15:12:53 +0200
Subject: [PATCH] gnu: Add seatd.

* gnu/packages/freedesktop.scm (seatd): New variable.
---
 gnu/packages/freedesktop.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 40d41350ac..36002fcf04 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2020 Anders Thuné <[email-masked]>
 ;;; Copyright © 2020 Raghav Gururajan <[email-masked]>
 ;;; Copyright © 2021 Brendan Tildesley <[email-masked]>
+;;; Copyright © 2021 pineapples <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -825,6 +826,36 @@ GNOME Shell.  The @command{localectl} command-line tool allows you to interact
 with localed.  This package is extracted from the broader systemd package.")
     (license license:lgpl2.1+)))
 
+(define-public seatd
+  (package
+    (name "seatd")
+    (version "0.5.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~kennylevinsen/seatd")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1kglq8v4rnr3415mfaghyv2s2f8mxsy5s881gmm2908ig4n4j297"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:configure-flags '("-Dlogind=enabled")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("scdoc" ,scdoc)))
+    (inputs
+     `(("elogind" ,elogind)))
+    (home-page "https://sr.ht/~kennylevinsen/seatd")
+    (synopsis "Seat management daemon and library")
+    (description
+     "This package provides a minimal seat management daemon whose task is to
+mediate access to shared devices, such as graphics and input, for applications
+that require it.  It also provides a universal seat management library that
+allows applications to use whatever seat management is available.")
+    (license license:expat)))
+
 (define-public packagekit
   (package
     (name "packagekit")
-- 
2.31.1