[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: Add plymouth.
From: |
guix-commits |
Subject: |
01/06: gnu: Add plymouth. |
Date: |
Wed, 6 May 2020 18:08:33 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 5b9bdeb52cc25e35e74bbc10fa102e3fcc4baab9
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Wed May 6 22:11:28 2020 +0200
gnu: Add plymouth.
* gnu/packages/freedesktop.scm (plymouth): New variable.
Co-authored-by: Nikita <address@hidden>
Signed-off-by: Ricardo Wurmus <address@hidden>
---
gnu/packages/freedesktop.scm | 72 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 9b62cf6..75d0118 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2015 David Hashe <address@hidden>
;;; Copyright © 2016, 2017, 2019 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Kei Kebreau <address@hidden>
+;;; Copyright © 2017 Nikita <address@hidden>
;;; Copyright © 2017, 2018 Mark H Weaver <address@hidden>
;;; Copyright © 2017, 2018, 2019, 2020 Marius Bakke <address@hidden>
;;; Copyright © 2017, 2018, 2019 Rutger Helling <address@hidden>
@@ -1688,3 +1689,74 @@ Its features include:
@end itemize
")
(license license:expat)))
+
+(define-public plymouth
+ (package
+ (name "plymouth")
+ (version "0.9.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.freedesktop.org/software/"
+ "plymouth/releases/" name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0l8kg7b2vfxgz9gnrn0v2w4jvysj2cirp0nxads5sy05397pl6aa"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ (list (string-append "--with-logo="
+ "/etc/plymouth/logo.png")
+ (string-append "--with-background-color="
+ "0x00ff00")
+ (string-append "--with-background-start-color-stop="
+ "0xff0000")
+ (string-append "--with-background-end-color-stop="
+ "0x0000ff")
+ "--localstatedir=/var"
+ "--with-boot-tty=/dev/console"
+ "--without-system-root-install"
+ "--without-rhgb-compat-link"
+ "--enable-drm"
+ "--disable-systemd-integration"
+ ;; Disable GTK to dramatically reduce the closure
+ ;; size from ~800 MiB to a little more than 200 MiB
+ "--disable-gtk")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'make-reproducible
+ (lambda _
+ (substitute* "src/main.c"
+ (("__DATE__") "\"guix\""))
+ #t))
+ (add-before 'configure 'fix-docbook
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "docs/Makefile.in"
+
(("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
+ (string-append (assoc-ref inputs "docbook-xsl")
+ "/xml/xsl/docbook-xsl-"
+ ,(package-version docbook-xsl)
+ "/manpages/docbook.xsl")))
+ (setenv "XML_CATALOG_FILES"
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/catalog.xml"))
+ #t)))))
+ (inputs
+ `(("glib" ,glib)
+ ("pango" ,pango)
+ ("libdrm" ,libdrm)
+ ("libpng" ,libpng)
+ ("eudev" ,eudev)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("libxslt" ,libxslt)
+ ("docbook-xsl" ,docbook-xsl)
+ ("docbook-xml" ,docbook-xml)))
+ (synopsis "Graphical boot animation (splash) and logger")
+ (home-page "https://www.freedesktop.org/wiki/Software/Plymouth/")
+ (description
+ "Plymouth is an application that runs very early in the boot process and
+that provides a graphical boot animation while the boot process happens in the
+background. You are not supposed to install this on your own, it is only
+useful with system integration.")
+ (license license:gpl2+)))
- branch master updated (13c18af -> bed695a), guix-commits, 2020/05/06
- 01/06: gnu: Add plymouth.,
guix-commits <=
- 03/06: gnu: lightdm: Add vala bindings., guix-commits, 2020/05/06
- 05/06: gnu: lightdm-gtk-greeter: Fix .desktop file., guix-commits, 2020/05/06
- 04/06: gnu: lightdm-gtk-greeter: Fix at-spi runtime dependency., guix-commits, 2020/05/06
- 06/06: gnu: lightdm-gtk-greeter: Wrap binary., guix-commits, 2020/05/06
- 02/06: gnu: lightdm: Update to 1.30.0., guix-commits, 2020/05/06