public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/rxvt-unicode/
Date: Mon, 12 Jul 2021 14:33:04 +0000 (UTC)	[thread overview]
Message-ID: <1626100375.bd5359cbda10c6ba292526e84f09f65dbd6b8bd1.marecki@gentoo> (raw)

commit:     bd5359cbda10c6ba292526e84f09f65dbd6b8bd1
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 12 14:24:23 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jul 12 14:32:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5359cb

x11-terms/rxvt-unicode-9.26: only apply 24-bit-colour patch when needed

It's too aggressive, i.e. USE=-24-bit-color doesn't fully disable this
feature.

Closes: https://bugs.gentoo.org/801571
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 ...-9.26-r1.ebuild => rxvt-unicode-9.26-r2.ebuild} | 39 +++++++++++++---------
 1 file changed, 24 insertions(+), 15 deletions(-)

diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r1.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r2.ebuild
similarity index 80%
rename from x11-terms/rxvt-unicode/rxvt-unicode-9.26-r1.ebuild
rename to x11-terms/rxvt-unicode/rxvt-unicode-9.26-r2.ebuild
index 4fa68cb62a3..f439e028a7e 100644
--- a/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r1.ebuild
+++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.26-r2.ebuild
@@ -36,7 +36,6 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=(
 	"${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch
 	"${FILESDIR}"/${PN}-9.21-xsubpp.patch
-	"${WORKDIR}"/${COLOUR_PATCH_NAME}
 )
 DOCS=(
 	Changes
@@ -50,6 +49,11 @@ DOCS=(
 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}
+	fi
+
 	# kill the rxvt-unicode terminfo file - #192083
 	sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
 
@@ -59,21 +63,26 @@ src_prepare() {
 
 src_configure() {
 	# --enable-everything goes first: the order of the arguments matters
-	econf --enable-everything \
-		$(use_enable 24-bit-color) \
-		$(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 utmp) \
-		$(use_enable wtmp) \
+	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 utmp)
+		$(use_enable wtmp)
 		$(use_enable xft)
+	)
+	if use 24-bit-color; then
+		myconf+=( --enable-24-bit-color )
+	fi
+	econf "${myconf[@]}"
 }
 
 src_compile() {


             reply	other threads:[~2021-07-12 14:33 UTC|newest]

Thread overview: 115+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-12 14:33 Marek Szuba [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-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=1626100375.bd5359cbda10c6ba292526e84f09f65dbd6b8bd1.marecki@gentoo \
    --to=marecki@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