diff options
| author | muradm <mail@muradm.net> | 2022-06-15 12:17:40 +0300 |
|---|---|---|
| committer | Lars-Dominik Braun <ldb@leibniz-psychology.org> | 2022-06-17 10:30:42 +0200 |
| commit | 167b8f29b3679a23bb20f5ed4181738c389d9d89 (patch) | |
| tree | a68b13d1d6b02d364b04453269c7c148fdd2a32b /gnu | |
| parent | 530e0f02606a0e04818bdd792bb5239f7ee9e637 (diff) | |
gnu: admin: Add libseat 0.8.0 and move seatd.
* gnu/packages/admin.scm (libseat): New variable
* gnu/packages/admin.scm (seatd): New variable
* gnu/packages/freedesktop.scm (seatd): Remove variable
* gnu/packages/wm.scm (wlroots): Replace seatd input with libseat
Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/admin.scm | 53 | ||||
| -rw-r--r-- | gnu/packages/freedesktop.scm | 29 | ||||
| -rw-r--r-- | gnu/packages/wm.scm | 4 |
3 files changed, 56 insertions, 30 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index d432ec30916..c20ed4dac11 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm | |||
| @@ -46,6 +46,7 @@ | |||
| 46 | ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> | 46 | ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
| 47 | ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> | 47 | ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> |
| 48 | ;;; Copyright © 2021 muradm <mail@muradm.net> | 48 | ;;; Copyright © 2021 muradm <mail@muradm.net> |
| 49 | ;;; Copyright © 2021 pineapples <guixuser6392@protonmail.com> | ||
| 49 | ;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com> | 50 | ;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com> |
| 50 | ;;; Copyright © 2021 Artyom V. Poptsov <poptsov.artyom@gmail.com> | 51 | ;;; Copyright © 2021 Artyom V. Poptsov <poptsov.artyom@gmail.com> |
| 51 | ;;; Copyright © 2022 Wamm K. D. <jaft.r@outlook.com> | 52 | ;;; Copyright © 2022 Wamm K. D. <jaft.r@outlook.com> |
| @@ -104,6 +105,7 @@ | |||
| 104 | #:use-module (gnu packages elf) | 105 | #:use-module (gnu packages elf) |
| 105 | #:use-module (gnu packages file) | 106 | #:use-module (gnu packages file) |
| 106 | #:use-module (gnu packages flex) | 107 | #:use-module (gnu packages flex) |
| 108 | #:use-module (gnu packages freedesktop) | ||
| 107 | #:use-module (gnu packages gawk) | 109 | #:use-module (gnu packages gawk) |
| 108 | #:use-module (gnu packages gettext) | 110 | #:use-module (gnu packages gettext) |
| 109 | #:use-module (gnu packages gl) | 111 | #:use-module (gnu packages gl) |
| @@ -5168,3 +5170,54 @@ name space for storing data in PAM. | |||
| 5168 | greetd-pam-mount is used in configuration of greetd to provide | 5170 | greetd-pam-mount is used in configuration of greetd to provide |
| 5169 | auto-(mounting/unmounting) of XDG_RUNTIME_DIR in the way that it will not | 5171 | auto-(mounting/unmounting) of XDG_RUNTIME_DIR in the way that it will not |
| 5170 | interfere with default pam-mount configuration."))) | 5172 | interfere with default pam-mount configuration."))) |
| 5173 | |||
| 5174 | (define-public libseat | ||
| 5175 | (package | ||
| 5176 | (name "libseat") | ||
| 5177 | (version "0.7.0") | ||
| 5178 | (source (origin | ||
| 5179 | (method git-fetch) | ||
| 5180 | (uri (git-reference | ||
| 5181 | (url "https://git.sr.ht/~kennylevinsen/seatd") | ||
| 5182 | (commit version))) | ||
| 5183 | (file-name (git-file-name name version)) | ||
| 5184 | (sha256 | ||
| 5185 | (base32 | ||
| 5186 | "10f8387yy5as547xjjhl0cna6iywdgjmw0iq2nvcs8q6vlpnik4v")))) | ||
| 5187 | (build-system meson-build-system) | ||
| 5188 | (arguments | ||
| 5189 | `(#:configure-flags '("-Dlibseat-logind=elogind" | ||
| 5190 | "-Dserver=disabled"))) | ||
| 5191 | (native-inputs | ||
| 5192 | `(("pkg-config" ,pkg-config))) | ||
| 5193 | (propagated-inputs | ||
| 5194 | `(("elogind" ,elogind))) | ||
| 5195 | (home-page "https://sr.ht/~kennylevinsen/seatd") | ||
| 5196 | (synopsis "Seat management library") | ||
| 5197 | (description | ||
| 5198 | "This package provides a universal seat management library that | ||
| 5199 | allows applications to use whatever seat management is available.") | ||
| 5200 | (license license:expat))) | ||
| 5201 | |||
| 5202 | (define-public seatd | ||
| 5203 | (package | ||
| 5204 | (inherit libseat) | ||
| 5205 | (name "seatd") | ||
| 5206 | (arguments | ||
| 5207 | `(#:configure-flags '("-Dlibseat-logind=elogind") | ||
| 5208 | #:phases | ||
| 5209 | (modify-phases %standard-phases | ||
| 5210 | (add-after 'install 'remove-libs | ||
| 5211 | (lambda* (#:key outputs #:allow-other-keys) | ||
| 5212 | (with-directory-excursion (assoc-ref outputs "out") | ||
| 5213 | (for-each delete-file-recursively '("lib" "include")))))))) | ||
| 5214 | (native-inputs | ||
| 5215 | `(("pkg-config" ,pkg-config) | ||
| 5216 | ("scdoc" ,scdoc))) | ||
| 5217 | (inputs '()) | ||
| 5218 | (synopsis "Seat management daemon") | ||
| 5219 | (description | ||
| 5220 | "This package provides a minimal seat management daemon whose task is to | ||
| 5221 | mediate access to shared devices, such as graphics and input, for applications | ||
| 5222 | that require it.") | ||
| 5223 | (license license:expat))) | ||
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 8834e7b8390..c54ce1cf31e 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm | |||
| @@ -849,35 +849,6 @@ GNOME Shell. The @command{localectl} command-line tool allows you to interact | |||
| 849 | with localed. This package is extracted from the broader systemd package.") | 849 | with localed. This package is extracted from the broader systemd package.") |
| 850 | (license license:lgpl2.1+))) | 850 | (license license:lgpl2.1+))) |
| 851 | 851 | ||
| 852 | (define-public seatd | ||
| 853 | (package | ||
| 854 | (name "seatd") | ||
| 855 | (version "0.5.0") | ||
| 856 | (source (origin | ||
| 857 | (method git-fetch) | ||
| 858 | (uri (git-reference | ||
| 859 | (url "https://git.sr.ht/~kennylevinsen/seatd") | ||
| 860 | (commit version))) | ||
| 861 | (file-name (git-file-name name version)) | ||
| 862 | (sha256 | ||
| 863 | (base32 | ||
| 864 | "1kglq8v4rnr3415mfaghyv2s2f8mxsy5s881gmm2908ig4n4j297")))) | ||
| 865 | (build-system meson-build-system) | ||
| 866 | (arguments | ||
| 867 | `(#:configure-flags '("-Dlogind=enabled"))) | ||
| 868 | (native-inputs | ||
| 869 | (list pkg-config scdoc)) | ||
| 870 | (propagated-inputs | ||
| 871 | (list elogind)) | ||
| 872 | (home-page "https://sr.ht/~kennylevinsen/seatd") | ||
| 873 | (synopsis "Seat management daemon and library") | ||
| 874 | (description | ||
| 875 | "This package provides a minimal seat management daemon whose task is to | ||
| 876 | mediate access to shared devices, such as graphics and input, for applications | ||
| 877 | that require it. It also provides a universal seat management library that | ||
| 878 | allows applications to use whatever seat management is available.") | ||
| 879 | (license license:expat))) | ||
| 880 | |||
| 881 | (define-public packagekit | 852 | (define-public packagekit |
| 882 | (package | 853 | (package |
| 883 | (name "packagekit") | 854 | (name "packagekit") |
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index f053eeefcbd..4194ec0fd9a 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm | |||
| @@ -54,6 +54,7 @@ | |||
| 54 | ;;; Copyright © 2022 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de> | 54 | ;;; Copyright © 2022 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de> |
| 55 | ;;; Copyright © 2022 Pier-Hugues Pellerin <ph@heykimo.com> | 55 | ;;; Copyright © 2022 Pier-Hugues Pellerin <ph@heykimo.com> |
| 56 | ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> | 56 | ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
| 57 | ;;; Copyright © 2022 muradm <mail@muradm.net> | ||
| 57 | ;;; | 58 | ;;; |
| 58 | ;;; This file is part of GNU Guix. | 59 | ;;; This file is part of GNU Guix. |
| 59 | ;;; | 60 | ;;; |
| @@ -88,6 +89,7 @@ | |||
| 88 | #:use-module (guix utils) | 89 | #:use-module (guix utils) |
| 89 | #:use-module (gnu packages) | 90 | #:use-module (gnu packages) |
| 90 | #:use-module (gnu packages bash) | 91 | #:use-module (gnu packages bash) |
| 92 | #:use-module (gnu packages admin) | ||
| 91 | #:use-module (gnu packages autotools) | 93 | #:use-module (gnu packages autotools) |
| 92 | #:use-module (gnu packages base) | 94 | #:use-module (gnu packages base) |
| 93 | #:use-module (gnu packages bison) | 95 | #:use-module (gnu packages bison) |
| @@ -1538,7 +1540,7 @@ functionality to display information about the most commonly used services.") | |||
| 1538 | libxkbcommon | 1540 | libxkbcommon |
| 1539 | mesa | 1541 | mesa |
| 1540 | pixman | 1542 | pixman |
| 1541 | seatd | 1543 | libseat |
| 1542 | wayland | 1544 | wayland |
| 1543 | wayland-protocols | 1545 | wayland-protocols |
| 1544 | xcb-util-errors | 1546 | xcb-util-errors |
