From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH] gnu: Add plymouth. Date: Fri, 13 Jan 2017 11:25:46 +0000 Message-ID: <20170113112546.17991-2-ng0@libertad.pw> References: <20170113112546.17991-1-ng0@libertad.pw> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS00I-0003Ya-Ox for guix-devel@gnu.org; Fri, 13 Jan 2017 06:26:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cS00F-0002Ih-JT for guix-devel@gnu.org; Fri, 13 Jan 2017 06:26:42 -0500 Received: from aibo.runbox.com ([91.220.196.211]:53054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cS00F-0002IV-BT for guix-devel@gnu.org; Fri, 13 Jan 2017 06:26:39 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cS00E-00057U-6V for guix-devel@gnu.org; Fri, 13 Jan 2017 12:26:38 +0100 In-Reply-To: <20170113112546.17991-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/freedesktop.scm (plymouth): New variable. --- gnu/packages/freedesktop.scm | 93 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 66060eaa6..6058e131f 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2015 David Hashe ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Kei Kebreau +;;; Copyright © 2016, 2017 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -46,6 +47,7 @@ #:use-module (gnu packages gperf) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages libffi) #:use-module (gnu packages libunwind) #:use-module (gnu packages libusb) @@ -881,3 +883,94 @@ library to access fingerprint readers, over the D-Bus interprocess communication bus. This daemon layer above libfprint solves problems related to applications simultaneously competing for fingerprint readers.") (license license:gpl2+))) + +(define-public plymouth + (package + (name "plymouth") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.freedesktop.org/software/" + "plymouth/releases/" name "-" version ".tar.bz2")) + (sha256 + (base32 + "0zympsgy5bbfl2ag5nc1jxlshpx8r1s1yyjisanpx76g88hfh31g")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags (list (string-append "--sbindir=" + (assoc-ref %outputs "out") + "/sbin") + (string-append "--bindir=" + (assoc-ref %outputs "out") + "/bin") + (string-append "--prefix=" + (assoc-ref %outputs "out")) + (string-append "--exec-prefix=" + (assoc-ref %outputs "out")) + (string-append "--libexecdir=" + (assoc-ref %outputs "out") + "/lib") + (string-append "--sysconfdir=" + "/etc") + (string-append "--localstatedir=" + "/var") + (string-append "--with-logo=" + "/etc/plymouth/logo.png") + (string-append "--with-background-color=" + "0x000000") + (string-append "--with-background-start-color-stop=" + "0x000000") + (string-append "--with-background-end-color-stop=" + "0x000000") + "--without-system-root-install" + "--without-rhgb-compat-link" + "--enable-tracing" + "--disable-systemd-integration" + "--enable-pango" + "--enable-gdm-transition" + "--enable-gtk") + #:make-flags (list (string-append "plymouthd_defaultsdir=" + (assoc-ref %outputs "out") + "/share/plymouth") + (string-append "plymouthd_confdir=" + (assoc-ref %outputs "out") + "/etc/plymouth")) + #:phases + (modify-phases %standard-phases + (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 + `(("gtk+" ,gtk+) + ("glib" ,glib) + ("cairo" ,cairo) + ("libdrm" ,libdrm) + ("pango" ,pango) + ("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 (even before the root filesystem is mounted!) 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+))) -- 2.11.0