diff options
Diffstat (limited to 'sys-boot/plymouth')
-rw-r--r-- | sys-boot/plymouth/Manifest | 8 | ||||
-rw-r--r-- | sys-boot/plymouth/files/plymouth-22.02.122-has_rpmatch.patch | 16 | ||||
-rw-r--r-- | sys-boot/plymouth/plymouth-22.02.122-r3.ebuild | 14 | ||||
-rw-r--r-- | sys-boot/plymouth/plymouth-22.02.122-r4.ebuild | 121 | ||||
-rw-r--r-- | sys-boot/plymouth/plymouth-24.004.60-r1.ebuild | 9 | ||||
-rw-r--r-- | sys-boot/plymouth/plymouth-9999.ebuild | 9 |
6 files changed, 156 insertions, 21 deletions
diff --git a/sys-boot/plymouth/Manifest b/sys-boot/plymouth/Manifest index 1890d68a0684..6741db32cc8e 100644 --- a/sys-boot/plymouth/Manifest +++ b/sys-boot/plymouth/Manifest @@ -1,9 +1,11 @@ AUX 0.9.3-glibc-sysmacros.patch 1170 BLAKE2B cf3b927b3a53c419bcee9fc652346fc8e5858911134a654c7ce0c6f7d1928c91edb9c829b35b10a3107f3427712f697184dd1b66d8395bdb98712a854adb4276 SHA512 82f40cd6ee78904e3ca2ed594c923a11c1a6015e56bfafebf035c25287e2c1708b87901c5b68c04aecf4d1891124d58ab6b3c84ba0e12c5bd5d69dea24bc49d5 AUX plymouth-22.02.122-glibc-2.36.patch 720 BLAKE2B 2e187c60b6a4f2f730a8220be3a2b26b0d65e2f11eb53829c3f5520e2a100bb5f3a9468ec75e19799050cda4c133fb177f2a37b8e183d515c14b0074950ee4c0 SHA512 e260d61313ea95d2aa7b288ce8375ab602fb7478bd38c524b3277c9328b8b36888caaf60c85bb4eba1c0af5faa4d8ecacb924b0afcbb065b6b632549b52f0599 +AUX plymouth-22.02.122-has_rpmatch.patch 510 BLAKE2B fe00fbd786d8b17820d74d5fa6942318121a3bb5f4cb0d2f1ef7c88a2a4fcb6997b2ae3099a2996a0132375351bae450c01b4f7f98d815ff74cc63bd6acec99d SHA512 c1418a5a9f37f67022b7c57e7a2daeb5b58ec17a018e2a6018b0a1a7be458f057668581dae080bb88fdc9c8066aecddcdb312ddf21dc0d6d34a052a684ed9939 DIST gentoo-logo.png 14501 BLAKE2B e7236c16b96a2d35a6f062b89bc0a6c6fc696a803b7da734ff9ae255fcd65e549d9bc3d510c283e235a770f42edcbdffc1d5cc4c2fcdec9cc931eb0acf504859 SHA512 059a555931b6d2a910bcd887f5ea0cc17c6edf2d2d45c03a1fec1bdda0138ba6bca6bdf90a65c6520a3f8f1b51ecf6f7956098f45ed6c1276f29c835e729163c DIST plymouth-22.02.122.tar.xz 1183608 BLAKE2B 8bb1362fcaa7d4c0fb1b69729a8a681d992a5d2abc07644d3be5cc0b19df2cac83df031165a65fa06f95042f619b9f4b7a7e1f3816528f6623473a2b1303e1be SHA512 9f2f5a7121b431f16561d6b5f31177ff06cf1e6bdffaa68c1fe08aa3c765a96dee745824aae8eaac9a0b4a08f0a17a9ae79a82bd0826fcc3fe14d8553635f817 DIST plymouth-24.004.60.tar.xz 1059904 BLAKE2B 092abeafb7a31d33be8c73160e87a681bcc8bdf72e79c07cca4152fc1a262dc857af5e8f31f32c850332ff6804fa5a87e05fd35b6490fa26153451f38d994434 SHA512 6c66ae81498afea75a9cc1c19ec82b26210a3bd463f14b8ea7c1cd1e327069ef32f752f4ee5236070825ee42599cf05f14271000523bdbae656a200d2e60d341 -EBUILD plymouth-22.02.122-r3.ebuild 2864 BLAKE2B 77decff15d74b652280c618e966929d5a73f2ef85d7b67d6d2377b0084f677a88731e867357f7f098b5a02e11ab0d9f755b9b362853e7b8567d4ee524d9ae374 SHA512 e8875902c7e1a326b521ca72774a6161eeac332acdd9501da33891a4be0ed37a7397fa2959b80444349b91a70c950b5976f5ce11e738ce4420b58069e98b3968 -EBUILD plymouth-24.004.60-r1.ebuild 3358 BLAKE2B d22534a0e6a9a73e9a05b5dc97f979a3fe26c0b79f79f2fa51122d92d2f9470ea355e6ab1569319b974a76ec973dcf11639b2b6f99ccac541254b9c018bcd41e SHA512 3b0162f5e6a8470e2aa66e60c34ed0091e91a29bf784f25212aeee7ed5fddc001189afac95182031be68ac1de71677fc48476d27a6ac50f5efcb511811099367 -EBUILD plymouth-9999.ebuild 3374 BLAKE2B 83d2bc4ae623b2be592dafb768236ca5e72df76d7355d58252abb7b2ee50cbd34ec0a4ff8d7fdd70bdd078df5a9f0161420d14b593676a20e0c71673f3e54c3d SHA512 3884ea39334beeac4cee8b05743c6f4835c80eedea5273067b1252053cfc64f23fa10be4a15bf4f2905b014490c23d17bfb24dba73aefa57a91ba752e209098e +EBUILD plymouth-22.02.122-r3.ebuild 2846 BLAKE2B 9d46fb0d44c7301c4c3eb5f5ff2b744aba1ee8c5d8af5727cb4e7f1c32bd5dd524ee3df0ec6987eb56af917868229a29b466c6d6f1c932070349d85003b88080 SHA512 c89d76d1e5d862a3cf4d0dfe3fb9680214883087ee65b45637567049a0ae0fe46d27ded654a3c35f4b36a664651be28c399a1c5f6f9122c6748aa86c289068b8 +EBUILD plymouth-22.02.122-r4.ebuild 3062 BLAKE2B 4b93be43a2b26f9b09535f164f9a08270d3ab59978ec559fff3c2df72c6e4337ce244f0688d0cfc539431624b1047e8eb38305f50a25418ad905e4157b092841 SHA512 a9f7f546d325d6c42523f71ed936ddd04ed0d0feb2a1ac1b93b4805ba9a281a3961280232daf3240572d41d74702db7b22776e8731d44dfd54bdec980ce7cc96 +EBUILD plymouth-24.004.60-r1.ebuild 3358 BLAKE2B ebef6e6ec91cf6ae95f71096760ef78c15d99da9c7233274211868e0256da86d6a831c1a6cdecb5780c4c02173049b55f45e1e6e83809c45b9bf95fad62028cf SHA512 e81fba521bc2b48724270962d22fef9202b0786ef0efb1fbca76a4ff220f4a36bc742bb64ed22d986ccdb236d9918bb7ac12d06a99e2354d6df8171b44640cd8 +EBUILD plymouth-9999.ebuild 3364 BLAKE2B 3a6fd7c092ef0f5f10461438f2e06efe66c1e47c2650c6f299043dfb2ee382cc937e0f7b35c08bff740876df41d14dfd198422ce2264dc51dbfd471520e689ae SHA512 afd1b8745090e95934b30bd7c0c01e8360218efe70f22619b6e52e03717e9bfd5db1acc93fbda39f265274de44d102fb823b2f23feab736e612366256a444176 MISC metadata.xml 1272 BLAKE2B 0024fd923ae1c290e84a27a5f44d33428a9a64e7109a862f0e41e82f9425cff0b3d3592b8da618aa45dc87ad3e1737c322faafc5974ee9c26230c79483deb454 SHA512 5e95428990e299c5ee749515b21aa0f12bac70ff565618d749fc7bc47b38d263d96719fc05e72210efdec89d68ab2a0ff66e676a61201a488c8179ae391d5d1a diff --git a/sys-boot/plymouth/files/plymouth-22.02.122-has_rpmatch.patch b/sys-boot/plymouth/files/plymouth-22.02.122-has_rpmatch.patch new file mode 100644 index 000000000000..2c3d62ca48c1 --- /dev/null +++ b/sys-boot/plymouth/files/plymouth-22.02.122-has_rpmatch.patch @@ -0,0 +1,16 @@ +Use C23 __has_include to add correct include on musl. Was compiler extension +before C23, works on clang/gcc versions we care about. +https://bugs.gentoo.org/898564 +--- a/src/libply/ply-command-parser.c 2025-02-26 14:05:33.417781845 +0000 ++++ b/src/libply/ply-command-parser.c 2025-02-26 14:09:10.068476721 +0000 +@@ -29,6 +29,10 @@ + #include <stdlib.h> + #include <string.h> + ++#if __has_include(<rpmatch.h>) ++#include <rpmatch.h> ++#endif ++ + #include "ply-buffer.h" + #include "ply-list.h" + #include "ply-utils.h" diff --git a/sys-boot/plymouth/plymouth-22.02.122-r3.ebuild b/sys-boot/plymouth/plymouth-22.02.122-r3.ebuild index 846c04837e3e..a8277c90c575 100644 --- a/sys-boot/plymouth/plymouth-22.02.122-r3.ebuild +++ b/sys-boot/plymouth/plymouth-22.02.122-r3.ebuild @@ -1,24 +1,22 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit flag-o-matic +inherit autotools flag-o-matic readme.gentoo-r1 systemd + +DESCRIPTION="Graphical boot animation (splash) and logger" +HOMEPAGE="https://gitlab.freedesktop.org/plymouth/plymouth" SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://gitlab.freedesktop.org/plymouth/plymouth" else - SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz" + SRC_URI+=" https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz" KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" fi -inherit autotools readme.gentoo-r1 systemd - -DESCRIPTION="Graphical boot animation (splash) and logger" -HOMEPAGE="https://gitlab.freedesktop.org/plymouth/plymouth" - LICENSE="GPL-2" SLOT="0" IUSE="debug +drm +gtk +pango selinux +split-usr static-libs +udev" diff --git a/sys-boot/plymouth/plymouth-22.02.122-r4.ebuild b/sys-boot/plymouth/plymouth-22.02.122-r4.ebuild new file mode 100644 index 000000000000..b0f7191b3690 --- /dev/null +++ b/sys-boot/plymouth/plymouth-22.02.122-r4.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic readme.gentoo-r1 systemd + +DESCRIPTION="Graphical boot animation (splash) and logger" +HOMEPAGE="https://gitlab.freedesktop.org/plymouth/plymouth" +SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.freedesktop.org/plymouth/plymouth" +else + SRC_URI+=" https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug +drm +gtk +pango selinux +split-usr static-libs +udev" + +CDEPEND=" + >=media-libs/libpng-1.2.16:= + drm? ( x11-libs/libdrm ) + gtk? ( + dev-libs/glib:2 + x11-libs/cairo + >=x11-libs/gtk+-3.14:3[X] + ) + pango? ( + x11-libs/cairo + >=x11-libs/pango-1.21[X] + ) +" +DEPEND="${CDEPEND} + elibc_musl? ( sys-libs/rpmatch-standalone ) + pango? ( x11-base/xorg-proto ) + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + virtual/pkgconfig +" +# Block due bug #383067 +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-plymouthd ) + udev? ( virtual/udev ) +" + +DOC_CONTENTS=" + Follow the following instructions to set up Plymouth:\n + https://wiki.gentoo.org/wiki/Plymouth#Configuration +" + +PATCHES=( + "${FILESDIR}"/0.9.3-glibc-sysmacros.patch + "${FILESDIR}"/${P}-glibc-2.36.patch + "${FILESDIR}"/${P}-has_rpmatch.patch +) + +src_prepare() { + use elibc_musl && append-ldflags -lrpmatch + default + eautoreconf +} + +src_configure() { + local myconf=( + --with-system-root-install=no + --localstatedir=/var + --without-rhgb-compat-link + --enable-documentation + --enable-systemd-integration + --with-systemdunitdir="$(systemd_get_systemunitdir)" + $(use_enable !static-libs shared) + $(use_enable static-libs static) + $(use_enable debug tracing) + $(use_enable drm) + $(use_enable gtk) + $(use_enable pango) + $(use_with udev) + ) + econf "${myconf[@]}" +} + +src_install() { + default + + insinto /usr/share/plymouth + newins "${DISTDIR}"/gentoo-logo.png bizcom.png + + if use split-usr ; then + # Install compatibility symlinks as some rdeps hardcode the paths + dosym ../usr/bin/plymouth /bin/plymouth + dosym ../usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme + dosym ../usr/sbin/plymouthd /sbin/plymouthd + fi + + readme.gentoo_create_doc + + # directories needed to keep runtime state + # https://bugs.gentoo.org/925430 + keepdir /var/spool/plymouth /var/lib/plymouth + # looks like make install create /var/run/plymouth + # this is not needed for systemd, same should hold for openrc + # so remove + rm -rf "${D}"/var/run + # https://bugs.gentoo.org/839081 + find "${D}" -name '*.la' -delete || die + + # fix broken symlink + dosym ../../bizcom.png /usr/share/plymouth/themes/spinfinity/header-image.png +} + +pkg_postinst() { + readme.gentoo_print_elog + if ! has_version "sys-kernel/dracut"; then + ewarn "If you want initramfs builder with plymouth support, please emerge" + ewarn "sys-kernel/dracut." + fi +} diff --git a/sys-boot/plymouth/plymouth-24.004.60-r1.ebuild b/sys-boot/plymouth/plymouth-24.004.60-r1.ebuild index c6b3361f1b93..150a488e7499 100644 --- a/sys-boot/plymouth/plymouth-24.004.60-r1.ebuild +++ b/sys-boot/plymouth/plymouth-24.004.60-r1.ebuild @@ -1,23 +1,22 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson readme.gentoo-r1 flag-o-matic +DESCRIPTION="Graphical boot animation (splash) and logger" +HOMEPAGE="https://gitlab.freedesktop.org/plymouth/plymouth" SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://gitlab.freedesktop.org/plymouth/plymouth" else - SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz" + SRC_URI+=" https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" fi -DESCRIPTION="Graphical boot animation (splash) and logger" -HOMEPAGE="https://cgit.freedesktop.org/plymouth/" - LICENSE="GPL-2+" SLOT="0" IUSE="debug +drm +gtk +pango selinux freetype +split-usr +udev doc systemd" diff --git a/sys-boot/plymouth/plymouth-9999.ebuild b/sys-boot/plymouth/plymouth-9999.ebuild index 46e2f98cb6ae..c7b0a4754e53 100644 --- a/sys-boot/plymouth/plymouth-9999.ebuild +++ b/sys-boot/plymouth/plymouth-9999.ebuild @@ -1,23 +1,22 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson readme.gentoo-r1 flag-o-matic +DESCRIPTION="Graphical boot animation (splash) and logger" +HOMEPAGE="https://gitlab.freedesktop.org/plymouth/plymouth" SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://gitlab.freedesktop.org/plymouth/plymouth" else - SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz" + SRC_URI+=" https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" fi -DESCRIPTION="Graphical boot animation (splash) and logger" -HOMEPAGE="https://gitlab.freedesktop.org/plymouth/plymouth" - LICENSE="GPL-2+" SLOT="0" IUSE="debug +drm +gtk +pango selinux freetype +split-usr +udev doc systemd" |