Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/plymouth/
Date: Sat, 06 Aug 2022 17:30:13
Message-Id: 1659806973.c53ad3e8295a2a3ee8d6db6d4d933574c139e18d.prometheanfire@gentoo
1 commit: c53ad3e8295a2a3ee8d6db6d4d933574c139e18d
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 6 17:29:21 2022 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 6 17:29:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c53ad3e8
7
8 sys-boot/plymouth: cleanup and remove genkernel-next references
9
10 Closes: https://bugs.gentoo.org/861704
11
12 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
13
14 sys-boot/plymouth/Manifest | 2 -
15 sys-boot/plymouth/plymouth-0.9.5-r2.ebuild | 112 --------------------
16 .../plymouth/plymouth-0.9.6_pre20211225-r1.ebuild | 114 ---------------------
17 sys-boot/plymouth/plymouth-22.02.122-r1.ebuild | 4 +-
18 sys-boot/plymouth/plymouth-9999.ebuild | 4 +-
19 5 files changed, 4 insertions(+), 232 deletions(-)
20
21 diff --git a/sys-boot/plymouth/Manifest b/sys-boot/plymouth/Manifest
22 index 7595bea28e61..6eb0a48b567b 100644
23 --- a/sys-boot/plymouth/Manifest
24 +++ b/sys-boot/plymouth/Manifest
25 @@ -1,4 +1,2 @@
26 DIST gentoo-logo.png 14501 BLAKE2B e7236c16b96a2d35a6f062b89bc0a6c6fc696a803b7da734ff9ae255fcd65e549d9bc3d510c283e235a770f42edcbdffc1d5cc4c2fcdec9cc931eb0acf504859 SHA512 059a555931b6d2a910bcd887f5ea0cc17c6edf2d2d45c03a1fec1bdda0138ba6bca6bdf90a65c6520a3f8f1b51ecf6f7956098f45ed6c1276f29c835e729163c
27 -DIST plymouth-0.9.5.tar.xz 1186200 BLAKE2B 8fd073703773fcf7f3e26454c860f094fb4b3d712c56c9df6716ef11815a79f7d5b078ab6c6567b76421026d84a086f95865bf9f3e4ae6363cb1ffc2caa68537 SHA512 686220e8d5b1a8be298156786d979d0e3fb9e010b930d0e8082a2bb152cf07c1bf493d820c243838a1771ee859dc0b4723bd9f10ee434a94a096ce9236c36ce9
28 DIST plymouth-22.02.122.tar.xz 1183608 BLAKE2B 8bb1362fcaa7d4c0fb1b69729a8a681d992a5d2abc07644d3be5cc0b19df2cac83df031165a65fa06f95042f619b9f4b7a7e1f3816528f6623473a2b1303e1be SHA512 9f2f5a7121b431f16561d6b5f31177ff06cf1e6bdffaa68c1fe08aa3c765a96dee745824aae8eaac9a0b4a08f0a17a9ae79a82bd0826fcc3fe14d8553635f817
29 -DIST plymouth-5b91b9ed84cc91759c986634a4d64d474e6092cf.tar.gz 1132049 BLAKE2B 0e224aad93fef4039a1a023ece051a64e1fa854f29a814957673c7ba68eb3f2348ca075f59a17f7bad692152ddcc402b2246db413886ac73ad77a36a6fb2cb3c SHA512 3d81ce379d0a11af5b557bfe86e336a40e5abdbb6dbd6cd5e046ede9a46cf2782af75b8e32e3fb2232b8a22efee1890ecb47394742041d9dcb499b38476a814c
30
31 diff --git a/sys-boot/plymouth/plymouth-0.9.5-r2.ebuild b/sys-boot/plymouth/plymouth-0.9.5-r2.ebuild
32 deleted file mode 100644
33 index 5dd00723beda..000000000000
34 --- a/sys-boot/plymouth/plymouth-0.9.5-r2.ebuild
35 +++ /dev/null
36 @@ -1,112 +0,0 @@
37 -# Copyright 1999-2022 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -inherit flag-o-matic
43 -SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
44 -
45 -if [[ ${PV} == 9999 ]]; then
46 - inherit git-r3
47 - EGIT_REPO_URI="https://gitlab.freedesktop.org/plymouth/plymouth"
48 -else
49 - SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz"
50 - KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86"
51 -fi
52 -
53 -inherit autotools readme.gentoo-r1 systemd toolchain-funcs
54 -
55 -DESCRIPTION="Graphical boot animation (splash) and logger"
56 -HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
57 -
58 -LICENSE="GPL-2"
59 -SLOT="0"
60 -IUSE="debug +drm +gtk +pango +split-usr static-libs +udev"
61 -
62 -CDEPEND="
63 - >=media-libs/libpng-1.2.16:=
64 - drm? ( x11-libs/libdrm )
65 - gtk? (
66 - dev-libs/glib:2
67 - >=x11-libs/gtk+-3.14:3
68 - x11-libs/cairo
69 - )
70 - pango? ( >=x11-libs/pango-1.21 )
71 -"
72 -DEPEND="${CDEPEND}
73 - elibc_musl? ( sys-libs/rpmatch-standalone )
74 - app-text/docbook-xsl-stylesheets
75 - dev-libs/libxslt
76 - virtual/pkgconfig
77 -"
78 -# Block due bug #383067
79 -RDEPEND="${CDEPEND}
80 - udev? ( virtual/udev )
81 - !<sys-kernel/dracut-0.37-r3
82 -"
83 -
84 -DOC_CONTENTS="
85 - Follow the following instructions to set up Plymouth:\n
86 - https://wiki.gentoo.org/wiki/Plymouth#Configuration
87 -"
88 -
89 -PATCHES=(
90 - "${FILESDIR}"/0.9.3-glibc-sysmacros.patch
91 -)
92 -
93 -src_prepare() {
94 - use elibc_musl && append-ldflags -lrpmatch
95 - default
96 - eautoreconf
97 -}
98 -
99 -src_configure() {
100 - local myconf=(
101 - --with-system-root-install=no
102 - --localstatedir=/var
103 - --without-rhgb-compat-link
104 - --enable-documentation
105 - --enable-systemd-integration
106 - --with-systemdunitdir="$(systemd_get_systemunitdir)"
107 - $(use_enable !static-libs shared)
108 - $(use_enable static-libs static)
109 - $(use_enable debug tracing)
110 - $(use_enable drm)
111 - $(use_enable gtk)
112 - $(use_enable pango)
113 - $(use_with udev)
114 - )
115 - econf "${myconf[@]}"
116 -}
117 -
118 -src_install() {
119 - default
120 -
121 - insinto /usr/share/plymouth
122 - newins "${DISTDIR}"/gentoo-logo.png bizcom.png
123 -
124 - if use split-usr ; then
125 - # Install compatibility symlinks as some rdeps hardcode the paths
126 - dosym ../usr/bin/plymouth /bin/plymouth
127 - dosym ../usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
128 - dosym ../usr/sbin/plymouthd /sbin/plymouthd
129 - fi
130 -
131 - readme.gentoo_create_doc
132 -
133 - # looks like make install create /var/run/plymouth
134 - # this is not needed for systemd, same should hold for openrc
135 - # so remove
136 - rm -rf "${D}"/var/run
137 -
138 - # fix broken symlink
139 - dosym ../../bizcom.png /usr/share/plymouth/themes/spinfinity/header-image.png
140 -}
141 -
142 -pkg_postinst() {
143 - readme.gentoo_print_elog
144 - if ! has_version "sys-kernel/dracut" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
145 - ewarn "If you want initramfs builder with plymouth support, please emerge"
146 - ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]."
147 - fi
148 -}
149
150 diff --git a/sys-boot/plymouth/plymouth-0.9.6_pre20211225-r1.ebuild b/sys-boot/plymouth/plymouth-0.9.6_pre20211225-r1.ebuild
151 deleted file mode 100644
152 index 7ee910f6b422..000000000000
153 --- a/sys-boot/plymouth/plymouth-0.9.6_pre20211225-r1.ebuild
154 +++ /dev/null
155 @@ -1,114 +0,0 @@
156 -# Copyright 1999-2022 Gentoo Authors
157 -# Distributed under the terms of the GNU General Public License v2
158 -
159 -EAPI=7
160 -
161 -inherit flag-o-matic
162 -SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
163 -
164 -if [[ ${PV} == 9999 ]]; then
165 - inherit git-r3
166 - EGIT_REPO_URI="https://gitlab.freedesktop.org/plymouth/plymouth"
167 -else
168 - PRE_RELEASE_SHA="5b91b9ed84cc91759c986634a4d64d474e6092cf"
169 - SRC_URI="${SRC_URI} https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PRE_RELEASE_SHA}/${PN}-${PRE_RELEASE_SHA}.tar.gz"
170 - KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86"
171 - S="${WORKDIR}/${PN}-${PRE_RELEASE_SHA}"
172 -fi
173 -
174 -inherit autotools readme.gentoo-r1 systemd
175 -
176 -DESCRIPTION="Graphical boot animation (splash) and logger"
177 -HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
178 -
179 -LICENSE="GPL-2"
180 -SLOT="0"
181 -IUSE="debug +drm +gtk +pango +split-usr static-libs +udev"
182 -
183 -CDEPEND="
184 - >=media-libs/libpng-1.2.16:=
185 - drm? ( x11-libs/libdrm )
186 - gtk? (
187 - dev-libs/glib:2
188 - >=x11-libs/gtk+-3.14:3
189 - x11-libs/cairo
190 - )
191 - pango? ( >=x11-libs/pango-1.21 )
192 -"
193 -DEPEND="${CDEPEND}
194 - elibc_musl? ( sys-libs/rpmatch-standalone )
195 - app-text/docbook-xsl-stylesheets
196 - dev-libs/libxslt
197 - virtual/pkgconfig
198 -"
199 -# Block due bug #383067
200 -RDEPEND="${CDEPEND}
201 - udev? ( virtual/udev )
202 - !<sys-kernel/dracut-0.37-r3
203 -"
204 -
205 -DOC_CONTENTS="
206 - Follow the following instructions to set up Plymouth:\n
207 - https://wiki.gentoo.org/wiki/Plymouth#Configuration
208 -"
209 -
210 -PATCHES=(
211 - "${FILESDIR}"/0.9.3-glibc-sysmacros.patch
212 -)
213 -
214 -src_prepare() {
215 - use elibc_musl && append-ldflags -lrpmatch
216 - default
217 - eautoreconf
218 -}
219 -
220 -src_configure() {
221 - local myconf=(
222 - --with-system-root-install=no
223 - --localstatedir=/var
224 - --without-rhgb-compat-link
225 - --enable-documentation
226 - --enable-systemd-integration
227 - --with-systemdunitdir="$(systemd_get_systemunitdir)"
228 - $(use_enable !static-libs shared)
229 - $(use_enable static-libs static)
230 - $(use_enable debug tracing)
231 - $(use_enable drm)
232 - $(use_enable gtk)
233 - $(use_enable pango)
234 - $(use_with udev)
235 - )
236 - econf "${myconf[@]}"
237 -}
238 -
239 -src_install() {
240 - default
241 -
242 - insinto /usr/share/plymouth
243 - newins "${DISTDIR}"/gentoo-logo.png bizcom.png
244 -
245 - if use split-usr ; then
246 - # Install compatibility symlinks as some rdeps hardcode the paths
247 - dosym ../usr/bin/plymouth /bin/plymouth
248 - dosym ../usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
249 - dosym ../usr/sbin/plymouthd /sbin/plymouthd
250 - fi
251 -
252 - readme.gentoo_create_doc
253 -
254 - # looks like make install create /var/run/plymouth
255 - # this is not needed for systemd, same should hold for openrc
256 - # so remove
257 - rm -rf "${D}"/var/run
258 -
259 - # fix broken symlink
260 - dosym ../../bizcom.png /usr/share/plymouth/themes/spinfinity/header-image.png
261 -}
262 -
263 -pkg_postinst() {
264 - readme.gentoo_print_elog
265 - if ! has_version "sys-kernel/dracut" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
266 - ewarn "If you want initramfs builder with plymouth support, please emerge"
267 - ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]."
268 - fi
269 -}
270
271 diff --git a/sys-boot/plymouth/plymouth-22.02.122-r1.ebuild b/sys-boot/plymouth/plymouth-22.02.122-r1.ebuild
272 index b69e14eb1e65..d87fe2ec7e36 100644
273 --- a/sys-boot/plymouth/plymouth-22.02.122-r1.ebuild
274 +++ b/sys-boot/plymouth/plymouth-22.02.122-r1.ebuild
275 @@ -105,8 +105,8 @@ src_install() {
276
277 pkg_postinst() {
278 readme.gentoo_print_elog
279 - if ! has_version "sys-kernel/dracut" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
280 + if ! has_version "sys-kernel/dracut"; then
281 ewarn "If you want initramfs builder with plymouth support, please emerge"
282 - ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]."
283 + ewarn "sys-kernel/dracut."
284 fi
285 }
286
287 diff --git a/sys-boot/plymouth/plymouth-9999.ebuild b/sys-boot/plymouth/plymouth-9999.ebuild
288 index e3ad01aa6372..23aadfbab573 100644
289 --- a/sys-boot/plymouth/plymouth-9999.ebuild
290 +++ b/sys-boot/plymouth/plymouth-9999.ebuild
291 @@ -105,8 +105,8 @@ src_install() {
292
293 pkg_postinst() {
294 readme.gentoo_print_elog
295 - if ! has_version "sys-kernel/dracut" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
296 + if ! has_version "sys-kernel/dracut"; then
297 ewarn "If you want initramfs builder with plymouth support, please emerge"
298 - ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]."
299 + ewarn "sys-kernel/dracut."
300 fi
301 }