public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/plymouth/
Date: Fri,  4 Feb 2022 20:40:53 +0000 (UTC)	[thread overview]
Message-ID: <1644007248.40e731f5e10ec5d6a35cf598d744f4c2a770a28d.prometheanfire@gentoo> (raw)

commit:     40e731f5e10ec5d6a35cf598d744f4c2a770a28d
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  4 20:40:48 2022 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Feb  4 20:40:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e731f5

sys-boot/plymouth: yay finally a release

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 sys-boot/plymouth/Manifest                  |   1 +
 sys-boot/plymouth/plymouth-22.02.122.ebuild | 112 ++++++++++++++++++++++++++++
 2 files changed, 113 insertions(+)

diff --git a/sys-boot/plymouth/Manifest b/sys-boot/plymouth/Manifest
index a195adf94890..7595bea28e61 100644
--- a/sys-boot/plymouth/Manifest
+++ b/sys-boot/plymouth/Manifest
@@ -1,3 +1,4 @@
 DIST gentoo-logo.png 14501 BLAKE2B e7236c16b96a2d35a6f062b89bc0a6c6fc696a803b7da734ff9ae255fcd65e549d9bc3d510c283e235a770f42edcbdffc1d5cc4c2fcdec9cc931eb0acf504859 SHA512 059a555931b6d2a910bcd887f5ea0cc17c6edf2d2d45c03a1fec1bdda0138ba6bca6bdf90a65c6520a3f8f1b51ecf6f7956098f45ed6c1276f29c835e729163c
 DIST plymouth-0.9.5.tar.xz 1186200 BLAKE2B 8fd073703773fcf7f3e26454c860f094fb4b3d712c56c9df6716ef11815a79f7d5b078ab6c6567b76421026d84a086f95865bf9f3e4ae6363cb1ffc2caa68537 SHA512 686220e8d5b1a8be298156786d979d0e3fb9e010b930d0e8082a2bb152cf07c1bf493d820c243838a1771ee859dc0b4723bd9f10ee434a94a096ce9236c36ce9
+DIST plymouth-22.02.122.tar.xz 1183608 BLAKE2B 8bb1362fcaa7d4c0fb1b69729a8a681d992a5d2abc07644d3be5cc0b19df2cac83df031165a65fa06f95042f619b9f4b7a7e1f3816528f6623473a2b1303e1be SHA512 9f2f5a7121b431f16561d6b5f31177ff06cf1e6bdffaa68c1fe08aa3c765a96dee745824aae8eaac9a0b4a08f0a17a9ae79a82bd0826fcc3fe14d8553635f817
 DIST plymouth-5b91b9ed84cc91759c986634a4d64d474e6092cf.tar.gz 1132049 BLAKE2B 0e224aad93fef4039a1a023ece051a64e1fa854f29a814957673c7ba68eb3f2348ca075f59a17f7bad692152ddcc402b2246db413886ac73ad77a36a6fb2cb3c SHA512 3d81ce379d0a11af5b557bfe86e336a40e5abdbb6dbd6cd5e046ede9a46cf2782af75b8e32e3fb2232b8a22efee1890ecb47394742041d9dcb499b38476a814c

diff --git a/sys-boot/plymouth/plymouth-22.02.122.ebuild b/sys-boot/plymouth/plymouth-22.02.122.ebuild
new file mode 100644
index 000000000000..98bb6eb92ea2
--- /dev/null
+++ b/sys-boot/plymouth/plymouth-22.02.122.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+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"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+inherit autotools readme.gentoo-r1 systemd
+
+DESCRIPTION="Graphical boot animation (splash) and logger"
+HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug +gtk +libkms +pango +split-usr static-libs +udev"
+
+CDEPEND="
+	>=media-libs/libpng-1.2.16:=
+	gtk? (
+		dev-libs/glib:2
+		>=x11-libs/gtk+-3.14:3
+		x11-libs/cairo
+	)
+	libkms? ( x11-libs/libdrm[libkms] )
+	pango? ( >=x11-libs/pango-1.21 )
+"
+DEPEND="${CDEPEND}
+	elibc_musl? ( sys-libs/rpmatch-standalone )
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt
+	virtual/pkgconfig
+"
+# Block due bug #383067
+RDEPEND="${CDEPEND}
+	udev? ( virtual/udev )
+	!<sys-kernel/dracut-0.37-r3
+"
+
+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
+)
+
+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 gtk gtk)
+		$(use_enable libkms drm)
+		$(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
+
+	# 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
+
+	# 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" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then
+		ewarn "If you want initramfs builder with plymouth support, please emerge"
+		ewarn "sys-kernel/dracut or sys-kernel/genkernel-next[plymouth]."
+	fi
+}


             reply	other threads:[~2022-02-04 20:40 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 20:40 Matthew Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10 18:22 [gentoo-commits] repo/gentoo:master commit in: sys-boot/plymouth/ Matthew Thode
2025-03-10  7:36 Sam James
2025-03-10  7:34 Sam James
2024-10-21 17:30 Andrew Ammerlaan
2024-10-17 12:57 Andrew Ammerlaan
2024-10-05 14:35 Andrew Ammerlaan
2024-10-05 14:35 Andrew Ammerlaan
2024-09-02  9:21 Sam James
2023-06-28  7:50 Sam James
2022-08-06 17:30 Matthew Thode
2022-06-24  2:23 Matthew Thode
2022-04-18  3:18 Matt Turner
2022-01-11  5:22 Georgy Yakovlev
2022-01-11  3:50 Sam James
2022-01-11  3:50 Sam James
2022-01-11  3:49 Sam James
2022-01-11  3:49 Sam James
2022-01-11  3:44 Georgy Yakovlev
2022-01-11  3:44 Georgy Yakovlev
2021-12-26  2:59 Matthew Thode
2021-12-26  2:38 Matthew Thode
2021-09-10 22:51 Marek Szuba
2021-05-03 20:59 Andreas Sturmlechner
2020-09-20  8:37 Sergei Trofimovich
2020-09-08 20:42 Matthew Thode
2020-09-04 22:05 Sam James
2020-08-11 14:18 Agostino Sarubbo
2020-08-10 10:22 Agostino Sarubbo
2020-07-31 20:12 Matthew Thode
2020-07-13 18:08 Matthew Thode
2020-07-09 19:05 Matthew Thode
2020-07-08 22:10 Matthew Thode
2020-01-03 19:55 Matthew Thode
2019-05-28  2:35 Aaron Bauman
2019-03-02 23:29 Andreas Sturmlechner
2018-12-06 16:07 Matthew Thode
2018-11-07 16:34 Matthew Thode
2018-11-07 15:49 Matthew Thode
2018-11-06 16:39 Matthew Thode
2018-04-04 17:04 Matt Thode
2018-03-05 20:26 Sergei Trofimovich
2018-02-27 15:03 Lars Wendler
2017-12-21 19:28 Markus Meier
2017-10-27  9:55 Thomas Deutschmann
2017-09-24 17:49 Sergei Trofimovich
2017-09-15 15:38 Tobias Klausmann
2017-09-10 20:46 Sergei Trofimovich
2017-09-10  8:14 Sergei Trofimovich
2017-08-09 22:20 Matt Thode
2017-08-09 22:20 Matt Thode
2017-08-09  6:45 Gilles Dartiguelongue
2017-08-09  3:06 Matt Thode
2017-07-30 10:32 David Seifert
2017-02-23 12:38 Michael Weber
2016-05-26 13:15 Tobias Klausmann
2016-05-17  9:04 Austin English
2016-05-13  8:41 Agostino Sarubbo
2016-04-26 10:38 Sam Jorna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1644007248.40e731f5e10ec5d6a35cf598d744f4c2a770a28d.prometheanfire@gentoo \
    --to=prometheanfire@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox