public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/rxvt-unicode/
Date: Fri, 19 Sep 2025 15:50:01 +0000 (UTC)	[thread overview]
Message-ID: <1758296950.6d34c1857fea39d1f6ae31fe46d8fd555c857edd.sam@gentoo> (raw)

commit:     6d34c1857fea39d1f6ae31fe46d8fd555c857edd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 19 15:43:28 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 19 15:49:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d34c185

x11-terms/rxvt-unicode: use PERL_FEATURES

Sort deps while here.

Closes: https://bugs.gentoo.org/940674
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-terms/rxvt-unicode/rxvt-unicode-9.31-r4.ebuild | 141 +++++++++++++++++++++
 1 file changed, 141 insertions(+)

diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.31-r4.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.31-r4.ebuild
new file mode 100644
index 000000000000..de9b0b478f51
--- /dev/null
+++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.31-r4.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GENTOO_DEPEND_ON_PERL=no
+inherit autotools desktop systemd perl-module prefix
+
+COLOUR_PATCH_NAME="${PN}-9.31_24-bit-color_aur-9.31-20239117.patch"
+
+DESCRIPTION="rxvt clone with xft and unicode support"
+HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html"
+SRC_URI="
+	http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2
+	https://dev.gentoo.org/~marecki/dists/${CATEGORY}/${PN}/${COLOUR_PATCH_NAME}.xz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="24-bit-color 256-color blink fading-colors +font-styles gdk-pixbuf iso14755 +mousewheel
+	perl startup-notification unicode3 wide-glyphs xft ${GENTOO_PERL_USESTRING}"
+
+RDEPEND="
+	dev-libs/libptytty
+	media-libs/fontconfig
+	>=sys-libs/ncurses-5.7-r6:=
+	x11-libs/libX11
+	x11-libs/libXrender
+	x11-libs/libXt
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf )
+	perl? (
+		${GENTOO_PERL_DEPSTRING}
+		dev-lang/perl:=
+	)
+	startup-notification? ( x11-libs/startup-notification )
+	xft? ( x11-libs/libXft )
+"
+DEPEND="
+	${RDEPEND}
+	x11-base/xorg-proto
+"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch
+	"${FILESDIR}"/${PN}-9.21-xsubpp.patch
+	"${FILESDIR}"/${PN}-9.31-enable-wide-glyphs.patch
+	"${FILESDIR}"/${PN}-9.31-perl5.38.patch
+	"${FILESDIR}"/${PN}-9.31-osc-colour-command-termination.patch
+)
+DOCS=(
+	Changes
+	README.FAQ
+	doc/README.xvt
+	doc/changes.txt
+	doc/etc/${PN}.term{cap,info}
+	doc/rxvt-tabbed
+)
+
+src_prepare() {
+	default
+
+	# Current patch is too aggressive to apply unconditionally, see Bug #801571
+	if use 24-bit-color; then
+		eapply "${WORKDIR}"/${COLOUR_PATCH_NAME}
+		eautoreconf
+	fi
+
+	# kill the rxvt-unicode terminfo file - #192083
+	sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
+
+	# use xsubpp from Prefix - #506500
+	hprefixify -q '"' -w "/xsubpp/" src/Makefile.in
+}
+
+src_configure() {
+	# --enable-everything goes first: the order of the arguments matters
+	local myconf=(
+		--enable-everything
+		$(use_enable 256-color)
+		$(use_enable blink text-blink)
+		$(use_enable fading-colors fading)
+		$(use_enable font-styles)
+		$(use_enable gdk-pixbuf pixbuf)
+		$(use_enable iso14755)
+		$(use_enable mousewheel)
+		$(use_enable perl)
+		$(use_enable startup-notification)
+		$(use_enable unicode3)
+		$(use_enable wide-glyphs)
+		$(use_enable xft)
+	)
+	if use 24-bit-color; then
+		myconf+=( --enable-24-bit-color )
+	fi
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	default
+
+	sed -i \
+		-e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
+		"${S}"/doc/rxvt-tabbed || die
+}
+
+src_test() {
+	# Avoid perl-module_src_test (bug #963096)
+	default
+}
+
+src_install() {
+	default
+
+	systemd_douserunit "${FILESDIR}"/urxvtd.service
+	systemd_douserunit "${FILESDIR}"/urxvtd.socket
+
+	make_desktop_entry urxvt rxvt-unicode utilities-terminal \
+		"System;TerminalEmulator"
+}
+
+pkg_postinst() {
+	if use 24-bit-color; then
+		ewarn
+		ewarn "You have enabled 24-bit colour support in ${PN}, which is UNOFFICIAL and INCOMPLETE."
+		ewarn "You may or may not encounter visual glitches or stability issues. When in doubt,"
+		ewarn "rebuild =${CATEGORY}/${PF} with USE=-24-bit-color (the default setting)."
+		ewarn
+	fi
+	if use perl && ! use fading-colors; then
+		ewarn "Note that some of the Perl plug-ins bundled with ${PN} will fail to load without USE=fading-colors"
+	fi
+	if use wide-glyphs; then
+		ewarn
+		ewarn "You have enabled wide-glyph support in ${PN}, which is UNOFFICIAL."
+		ewarn "You may or may not encounter visual glitches or stability issues. When in doubt,"
+		ewarn "rebuild =${CATEGORY}/${PF} with USE=-wide-glyphs (the default setting)."
+		ewarn
+	fi
+}


             reply	other threads:[~2025-09-19 15:50 UTC|newest]

Thread overview: 116+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-19 15:50 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-03 22:40 [gentoo-commits] repo/gentoo:master commit in: x11-terms/rxvt-unicode/ Sam James
2024-06-03 22:40 Sam James
2024-06-03 22:40 Sam James
2024-06-03 22:40 Sam James
2023-08-22 11:05 Marek Szuba
2023-08-22 10:33 Sam James
2023-08-22 10:33 Sam James
2023-08-21 18:24 Sam James
2023-08-21 17:49 Sam James
2023-08-21 17:43 Sam James
2023-08-21 17:43 Sam James
2023-06-10 10:35 Marek Szuba
2023-06-07 12:31 Marek Szuba
2023-05-27 15:55 Sam James
2023-05-27 12:39 Sam James
2023-05-19 17:50 Sam James
2023-05-19 17:05 Jakov Smolić
2023-05-19  9:32 Arthur Zamarin
2023-05-19  8:59 Arthur Zamarin
2023-04-07 15:48 Marek Szuba
2023-04-04 22:24 Sam James
2023-03-26  1:04 Sam James
2023-03-26  1:03 Sam James
2023-03-26  0:51 Sam James
2023-03-26  0:51 Sam James
2023-03-26  0:51 Sam James
2023-01-20 10:43 Marek Szuba
2022-09-07 14:30 Marek Szuba
2022-03-01 16:47 Marek Szuba
2022-03-01 16:47 Marek Szuba
2022-02-16  9:55 Marek Szuba
2022-02-16  9:54 Marek Szuba
2022-02-15 18:31 Matt Turner
2022-01-26 15:39 Marek Szuba
2021-12-30 13:10 Sam James
2021-12-29  7:35 Sam James
2021-12-29  7:35 Sam James
2021-12-29  6:55 Arthur Zamarin
2021-12-29  6:40 Arthur Zamarin
2021-12-29  5:35 Sam James
2021-11-30  7:54 Arthur Zamarin
2021-11-29 16:27 Marek Szuba
2021-11-29 10:22 Arthur Zamarin
2021-11-29  8:34 Arthur Zamarin
2021-11-29  7:57 Arthur Zamarin
2021-11-29  7:57 Arthur Zamarin
2021-11-28 19:01 Arthur Zamarin
2021-11-28 19:01 Arthur Zamarin
2021-11-28 19:01 Arthur Zamarin
2021-11-28  0:42 Marek Szuba
2021-11-27 23:13 Marek Szuba
2021-11-26 13:40 Marek Szuba
2021-11-26 13:40 Marek Szuba
2021-11-26 13:40 Marek Szuba
2021-09-15 16:46 Marek Szuba
2021-08-18 12:58 Agostino Sarubbo
2021-08-18 12:46 Agostino Sarubbo
2021-08-18  5:29 Agostino Sarubbo
2021-08-17 21:39 Sam James
2021-08-17 21:39 Sam James
2021-07-12 14:33 Marek Szuba
2021-07-07 13:38 Marek Szuba
2021-05-22 15:09 Marek Szuba
2021-05-19 20:09 Agostino Sarubbo
2021-05-19 20:07 Agostino Sarubbo
2021-05-19 20:06 Agostino Sarubbo
2021-05-19 17:26 Sam James
2021-05-19  9:47 Agostino Sarubbo
2021-05-19  9:46 Agostino Sarubbo
2021-05-16 23:36 Marek Szuba
2021-05-10 13:36 Marek Szuba
2021-05-04 19:35 Marek Szuba
2021-05-04 19:13 Sam James
2021-05-03  7:56 Sergei Trofimovich
2021-05-01 18:11 Sam James
2021-05-01 18:11 Sam James
2021-05-01 17:12 Sam James
2021-05-01 17:12 Sam James
2021-03-10  7:24 Fabian Groffen
2021-02-15 12:26 Marek Szuba
2021-02-15  1:49 Sam James
2021-02-05 12:29 Sam James
2021-02-03 23:55 Thomas Deutschmann
2021-02-03  4:05 Sam James
2021-02-03  3:12 Sam James
2021-02-03  0:02 Sam James
2021-01-06 12:06 Fabian Groffen
2020-11-08 11:41 Marek Szuba
2020-11-06 19:00 Marek Szuba
2020-11-05 15:05 Marek Szuba
2020-11-05 14:31 Marek Szuba
2020-10-16 11:27 Jeroen Roovers
2020-10-12 10:21 Agostino Sarubbo
2020-10-12  7:02 Agostino Sarubbo
2020-10-12  6:59 Agostino Sarubbo
2020-10-12  6:58 Agostino Sarubbo
2020-10-11 17:48 Sam James
2020-10-11 11:53 Sergei Trofimovich
2020-02-09 12:24 Mart Raudsepp
2019-05-15 10:25 Jeroen Roovers
2019-04-27 12:47 Jeroen Roovers
2019-04-25 15:47 Jeroen Roovers
2019-04-17 12:21 Mikle Kolyada
2019-04-10 20:22 Jeroen Roovers
2019-04-10 13:49 Jeroen Roovers
2019-04-07 21:41 Mikle Kolyada
2019-04-06 16:03 Mikle Kolyada
2019-04-02 19:20 Sergei Trofimovich
2018-01-05  1:07 Mart Raudsepp
2017-03-29  3:17 Jeroen Roovers
2016-08-07  6:52 Pacho Ramos
2016-01-28 11:04 Jeroen Roovers
2016-01-25 17:26 Jeroen Roovers
2016-01-22 21:03 Justin Lecher
2015-10-20  4:10 Jeroen Roovers

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=1758296950.6d34c1857fea39d1f6ae31fe46d8fd555c857edd.sam@gentoo \
    --to=sam@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