gnu: plymouth: Update to 24.004.60.

* gnu/packages/freedesktop.scm (plymouth): Update to 24.004.60.
[#:configure-flags]: Adjust accordingly.
[#:phases]: Add ‘fix-install’.
[inputs]: Add libevdev, libxkbcommon and xkeyboard-config.
Sort alphabetically.
This commit is contained in:
Liliana Marie Prikler 2025-01-09 22:38:05 +01:00
parent c86341c024
commit 8a532ef30f
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -2919,7 +2919,7 @@ Its features include:
(define-public plymouth (define-public plymouth
(package (package
(name "plymouth") (name "plymouth")
(version "22.02.122") (version "24.004.60")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -2927,29 +2927,42 @@ Its features include:
"plymouth/releases/" name "-" version ".tar.xz")) "plymouth/releases/" name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1sysx8s7w870iawk5qlaq44x4cfqfinasiy4d3l3q0r14925218h")))) "0d0wbfsy70xhgxv4mldv72gzv0k8bvfxpvm90rxmx3y9b09q9xzk"))))
(build-system gnu-build-system) (build-system meson-build-system)
(arguments (arguments
(list (list
#:configure-flags #:configure-flags
'(list "--with-logo=/var/run/plymouth/logo.png" '(list "-Dlogo=/var/run/plymouth/logo.png"
"--localstatedir=/var" "-Dlocalstatedir=/var"
"--with-boot-tty=/dev/console" "-Dboot-tty=/dev/console"
"--without-system-root-install" "-Ddrm=true"
"--without-rhgb-compat-link" "-Dsystemd-integration=false"
"--enable-drm"
"--disable-systemd-integration"
;; Disable GTK to dramatically reduce the closure ;; Disable GTK to dramatically reduce the closure
;; size from ~800 MiB to a little more than 200 MiB ;; size from ~800 MiB to a little more than 200 MiB
"--disable-gtk") "-Dgtk=disabled")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-install
(lambda _
(substitute* "src/meson.build"
(("install_emptydir" all) (string-append "# " all)))
(substitute* "themes/meson.build"
;; XXX: meson barfs when installing (temporarily broken)
;; symlink to logo.
(("subdir\\('spinfinity'\\)") ""))))
(add-after 'unpack 'make-reproducible (add-after 'unpack 'make-reproducible
(lambda _ (lambda _
(substitute* "src/main.c" (substitute* "src/main.c"
(("__DATE__") "\"guix\""))))))) (("__DATE__") "\"guix\"")))))))
(inputs (inputs
(list glib pango libdrm libpng eudev)) (list eudev
glib
libdrm
libevdev
libpng
libxkbcommon
pango
xkeyboard-config))
(native-inputs (native-inputs
(list gettext-minimal (list gettext-minimal
pkg-config pkg-config