[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49969] [PATCH v6 6/8] gnu: admin: Add libseat 0.5.0 and move seatd.
From: |
muradm |
Subject: |
[bug#49969] [PATCH v6 6/8] gnu: admin: Add libseat 0.5.0 and move seatd. |
Date: |
Mon, 6 Sep 2021 18:26:39 +0300 |
* gnu/packages/admin.scm (libseat): New variable
* gnu/packages/admin.scm (seatd): New variable
* gnu/packages/freedesktop.scm (seatd): Removed variable
---
gnu/packages/admin.scm | 53 ++++++++++++++++++++++++++++++++++++
gnu/packages/freedesktop.scm | 30 --------------------
2 files changed, 53 insertions(+), 30 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 90cc1d62da..3a8efa50fe 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -98,6 +98,7 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
+ #:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gl)
@@ -4803,6 +4804,58 @@ setup, maintenance, supervision, or any long-running
processes.")
FIFO and UNIX interprocess communication.")
(license license:bsd-2))))
+(define-public libseat
+ (package
+ (name "libseat")
+ (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 '("-Dlibseat-logind=enabled"
+ "-Dserver=disabled")))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("elogind" ,elogind)))
+ (home-page "https://sr.ht/~kennylevinsen/seatd")
+ (synopsis "Seat management library")
+ (description
+ "This package provides a universal seat management library that
+allows applications to use whatever seat management is available.")
+ (license license:expat)))
+
+(define-public seatd
+ (package
+ (inherit libseat)
+ (name "seatd")
+ (arguments
+ `(#:configure-flags '("-Dlibseat-logind=disabled"
+ "-Dlibseat-seatd=disabled")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'remove-libs
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion (assoc-ref outputs "out")
+ (for-each delete-file-recursively '("lib" "include"))))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("scdoc" ,scdoc)))
+ (inputs '())
+ (synopsis "Seat management daemon")
+ (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.")
+ (license license:expat)))
+
(define-public greetd
(package
(name "greetd")
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 086707d51a..76a16454b1 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -833,36 +833,6 @@ 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.33.0
- [bug#49969] [PATCH v6 0/8] gnu: Add seatd-service-type and greetd-service-type., muradm, 2021/09/06
- [bug#49969] [PATCH v6 2/8] gnu: crates-io: Add rust-pam-sys 0.5.6., muradm, 2021/09/06
- [bug#49969] [PATCH v6 1/8] gnu: crates-io: Add rust-enquote-1 1.0.3., muradm, 2021/09/06
- [bug#49969] [PATCH v6 3/8] gnu: admin: Add greetd 0.8.0., muradm, 2021/09/06
- [bug#49969] [PATCH v6 4/8] gnu: admin: Add greetd-pam-mount., muradm, 2021/09/06
- [bug#49969] [PATCH v6 6/8] gnu: admin: Add libseat 0.5.0 and move seatd.,
muradm <=
- [bug#49969] [PATCH v6 5/8] gnu: base: Add greetd-service-type., muradm, 2021/09/06
- [bug#49969] [PATCH v6 8/8] gnu: tests: Add seatd/greetd based minimal desktop system tests., muradm, 2021/09/06
- [bug#49969] [PATCH v6 7/8] gnu: desktop: Add seatd-service-type., muradm, 2021/09/06
- [bug#49969] [PATCH v7 0/7] gnu: Add greetd-service-type and seatd-service-type., muradm, 2021/09/15
- [bug#49969] [PATCH v7 1/7] gnu: crates-io: Add rust-enquote 1.0.3 and rust-pam-sys 0.5.6., muradm, 2021/09/15
- [bug#49969] [PATCH v7 3/7] gnu: admin: Add greetd-pam-mount., muradm, 2021/09/15
- [bug#49969] [PATCH v7 4/7] gnu: base: Add greetd-service-type., muradm, 2021/09/15
- [bug#49969] [PATCH v7 5/7] gnu: admin: Add libseat 0.6.1 and move seatd., muradm, 2021/09/15
- [bug#49969] [PATCH v7 7/7] gnu: tests: Add seatd/greetd based minimal desktop system tests., muradm, 2021/09/15
- [bug#49969] [PATCH v7 6/7] gnu: desktop: Add seatd-service-type., muradm, 2021/09/15