Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: sys-boot/plymouth/files/, sys-boot/plymouth/
Date: Fri, 04 May 2018 12:52:28
Message-Id: 1525438322.114f9ae2ff3cc1dd154051baa75d0d9d6848fa7e.blueness@gentoo
1 commit: 114f9ae2ff3cc1dd154051baa75d0d9d6848fa7e
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 2 19:09:33 2018 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Fri May 4 12:52:02 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=114f9ae2
7
8 sys-boot/plymouth: fixed in the tree
9
10 sys-boot/plymouth/Manifest | 2 -
11 .../plymouth/files/0.9.3-glibc-sysmacros.patch | 45 ---------
12 sys-boot/plymouth/metadata.xml | 28 ------
13 sys-boot/plymouth/plymouth-0.9.3-r1.ebuild | 108 ---------------------
14 4 files changed, 183 deletions(-)
15
16 diff --git a/sys-boot/plymouth/Manifest b/sys-boot/plymouth/Manifest
17 deleted file mode 100644
18 index 9ddbef2..0000000
19 --- a/sys-boot/plymouth/Manifest
20 +++ /dev/null
21 @@ -1,2 +0,0 @@
22 -DIST gentoo-logo.png 14501 BLAKE2B e7236c16b96a2d35a6f062b89bc0a6c6fc696a803b7da734ff9ae255fcd65e549d9bc3d510c283e235a770f42edcbdffc1d5cc4c2fcdec9cc931eb0acf504859 SHA512 059a555931b6d2a910bcd887f5ea0cc17c6edf2d2d45c03a1fec1bdda0138ba6bca6bdf90a65c6520a3f8f1b51ecf6f7956098f45ed6c1276f29c835e729163c
23 -DIST plymouth-0.9.3.tar.xz 1102724 BLAKE2B 7ee17cc785e6197cc9488afe6ceae27541992872813a9f937211930f653207d77c1a331cb093156af5ec9502a04cf1f9e4123c42e07931eaf270fefedcc03700 SHA512 d7b9ba97485cdac7ad6bcaf5a7f1a9c84ece54b8d46d5efce4170294c0aa6571656d7d9957b53aed9c1e51d4d525714f54b7dbb08d8ec0b196a1a4419fd186ed
24
25 diff --git a/sys-boot/plymouth/files/0.9.3-glibc-sysmacros.patch b/sys-boot/plymouth/files/0.9.3-glibc-sysmacros.patch
26 deleted file mode 100644
27 index 8969161..0000000
28 --- a/sys-boot/plymouth/files/0.9.3-glibc-sysmacros.patch
29 +++ /dev/null
30 @@ -1,45 +0,0 @@
31 -From f8d7813b32dfe129d1e5718719ee3eff131f4fac Mon Sep 17 00:00:00 2001
32 -From: Kjell Claesson <kjell.claesson@×××××××××××××.se>
33 -Date: Fri, 18 Aug 2017 00:25:56 +0200
34 -Subject: [PATCH] Fix build with newer glibc
35 -
36 -Signed-off-by: Gilles Dartiguelongue <eva@g.o>
37 ----
38 - configure.ac | 1 +
39 - src/libply-splash-core/ply-terminal.c | 8 ++++++++
40 - 2 files changed, 9 insertions(+)
41 -
42 -diff --git a/configure.ac b/configure.ac
43 -index c32697f..8376789 100644
44 ---- a/configure.ac
45 -+++ b/configure.ac
46 -@@ -5,6 +5,7 @@ AC_CONFIG_AUX_DIR(build-tools)
47 -
48 - AC_USE_SYSTEM_EXTENSIONS
49 - AC_SYS_LARGEFILE
50 -+AC_HEADER_MAJOR
51 - AC_PROG_AWK
52 - AC_PROG_CC_STDC
53 - AM_PROG_CC_C_O
54 -diff --git a/src/libply-splash-core/ply-terminal.c b/src/libply-splash-core/ply-terminal.c
55 -index a0954f2..ef62bf8 100644
56 ---- a/src/libply-splash-core/ply-terminal.c
57 -+++ b/src/libply-splash-core/ply-terminal.c
58 -@@ -36,6 +36,14 @@
59 - #include <unistd.h>
60 - #include <wchar.h>
61 -
62 -+/* major()/minor() */
63 -+#ifdef MAJOR_IN_MKDEV
64 -+# include <sys/mkdev.h>
65 -+#endif
66 -+#ifdef MAJOR_IN_SYSMACROS
67 -+# include <sys/sysmacros.h>
68 -+#endif
69 -+
70 - #include <linux/kd.h>
71 - #include <linux/major.h>
72 - #include <linux/vt.h>
73 ---
74 -2.14.1
75 -
76
77 diff --git a/sys-boot/plymouth/metadata.xml b/sys-boot/plymouth/metadata.xml
78 deleted file mode 100644
79 index 22a2251..0000000
80 --- a/sys-boot/plymouth/metadata.xml
81 +++ /dev/null
82 @@ -1,28 +0,0 @@
83 -<?xml version="1.0" encoding="UTF-8"?>
84 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
85 -<pkgmetadata>
86 - <maintainer type="person">
87 - <email>prometheanfire@g.o</email>
88 - <name>Matthew Thode</name>
89 - </maintainer>
90 - <maintainer type="person">
91 - <email>eva@g.o</email>
92 - <name>Gilles Dartiguelongue</name>
93 - </maintainer>
94 - <use>
95 - <flag name="gdm">Enables smooth transition to GDM</flag>
96 - <flag name="libkms">Provides abstraction to the DRM drivers (intel,
97 - nouveau and vmwgfx at this moment)</flag>
98 - <flag name="pango">Adds support for printing text on splash screen and
99 - text prompts, e.g. for password</flag>
100 - </use>
101 - <longdescription lang="en">
102 - Plymouth is an application that runs very early in the boot process
103 - (even before the root filesystem is mounted!) that provides a graphical
104 - boot animation while the boot process happens in the background.
105 -
106 - It is designed to work on systems with DRM modesetting drivers. Ideally,
107 - the goal is to get rid of all flicker during startup. For systems that
108 - don't have DRM mode settings drivers, plymouth falls back to text mode.
109 - </longdescription>
110 -</pkgmetadata>
111
112 diff --git a/sys-boot/plymouth/plymouth-0.9.3-r1.ebuild b/sys-boot/plymouth/plymouth-0.9.3-r1.ebuild
113 deleted file mode 100644
114 index 78f3ea4..0000000
115 --- a/sys-boot/plymouth/plymouth-0.9.3-r1.ebuild
116 +++ /dev/null
117 @@ -1,108 +0,0 @@
118 -# Copyright 1999-2018 Gentoo Foundation
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=6
122 -
123 -inherit flag-o-matic
124 -
125 -SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
126 -
127 -if [[ ${PV} == 9999 ]]; then
128 - EGIT_REPO_URI="git://anongit.freedesktop.org/plymouth"
129 - inherit git-r3
130 -else
131 - SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz"
132 -fi
133 -
134 -inherit autotools readme.gentoo-r1 systemd toolchain-funcs
135 -
136 -DESCRIPTION="Graphical boot animation (splash) and logger"
137 -HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
138 -
139 -LICENSE="GPL-2"
140 -SLOT="0"
141 -[[ ${PV} == 9999 ]] || \
142 -KEYWORDS="amd64 arm ~mips ppc x86"
143 -IUSE="debug gdm +gtk +libkms +pango static-libs"
144 -
145 -CDEPEND="
146 - >=media-libs/libpng-1.2.16:=
147 - gtk? (
148 - dev-libs/glib:2
149 - >=x11-libs/gtk+-3.14:3
150 - x11-libs/cairo )
151 - libkms? ( x11-libs/libdrm[libkms] )
152 - pango? ( >=x11-libs/pango-1.21 )
153 -"
154 -DEPEND="${CDEPEND}
155 - elibc_musl? ( sys-libs/rpmatch-standalone )
156 - app-text/docbook-xsl-stylesheets
157 - dev-libs/libxslt
158 - virtual/pkgconfig
159 -"
160 -# Block due bug #383067
161 -RDEPEND="${CDEPEND}
162 - virtual/udev
163 - !<sys-kernel/dracut-0.37-r3
164 -"
165 -
166 -DOC_CONTENTS="
167 - Follow the following instructions to set up Plymouth:\n
168 - https://wiki.gentoo.org/wiki/Plymouth#Configuration
169 -"
170 -
171 -PATCHES=(
172 - "${FILESDIR}"/0.9.3-glibc-sysmacros.patch
173 -)
174 -
175 -src_prepare() {
176 - use elibc_musl && append-ldflags -lrpmatch
177 - default
178 - eautoreconf
179 -}
180 -
181 -src_configure() {
182 - local myconf=(
183 - --with-system-root-install=no
184 - --localstatedir=/var
185 - --without-rhgb-compat-link
186 - --enable-documentation
187 - --enable-systemd-integration
188 - --with-systemdunitdir="$(systemd_get_systemunitdir)"
189 - $(use_enable !static-libs shared)
190 - $(use_enable static-libs static)
191 - $(use_enable debug tracing)
192 - $(use_enable gtk gtk)
193 - $(use_enable libkms drm)
194 - $(use_enable pango)
195 - $(use_enable gdm gdm-transition)
196 - )
197 - econf "${myconf[@]}"
198 -}
199 -
200 -src_install() {
201 - default
202 -
203 - insinto /usr/share/plymouth
204 - newins "${DISTDIR}"/gentoo-logo.png bizcom.png
205 -
206 - # Install compatibility symlinks as some rdeps hardcode the paths
207 - dosym /usr/bin/plymouth /bin/plymouth
208 - dosym /usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
209 - dosym /usr/sbin/plymouthd /sbin/plymouthd
210 -
211 - readme.gentoo_create_doc
212 -
213 - # looks like make install create /var/run/plymouth
214 - # this is not needed for systemd, same should hold for openrc
215 - # so remove
216 - rm -rf "${D}"/var/run
217 -}
218 -
219 -pkg_postinst() {
220 - readme.gentoo_print_elog
221 - if ! has_version "sys-kernel/dracut" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
222 - ewarn "If you want initramfs builder with plymouth support, please emerge"
223 - ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]."
224 - fi
225 -}