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: Thu,  5 Nov 2020 15:05:27 +0000 (UTC)	[thread overview]
Message-ID: <1604588720.9dcf20f5accef069dc1abd4717090853c1ca8d2a.marecki@gentoo> (raw)

commit:     9dcf20f5accef069dc1abd4717090853c1ca8d2a
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  5 15:03:47 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Nov  5 15:05:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dcf20f5

x11-terms/rxvt-unicode: optionally support 24-bit colour mode

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 x11-terms/rxvt-unicode/Manifest                    |  1 +
 x11-terms/rxvt-unicode/metadata.xml                |  6 ++
 x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild | 95 ++++++++++++++++++++++
 3 files changed, 102 insertions(+)

diff --git a/x11-terms/rxvt-unicode/Manifest b/x11-terms/rxvt-unicode/Manifest
index 2ef5babc160..d6f8508233a 100644
--- a/x11-terms/rxvt-unicode/Manifest
+++ b/x11-terms/rxvt-unicode/Manifest
@@ -1 +1,2 @@
 DIST rxvt-unicode-9.22.tar.bz2 931198 BLAKE2B ea9a12e4a8396ed6be12b4d50ae260a0376902dbd47b0628bb14ce0509c5d89f5a80370b413fdb9df9b8b81728ec26e115cbf0d88ab6e9cb2a87b03b5d79c432 SHA512 b39f1b2cbe6dd3fbd2a0ad6a9d391a2b6f49d7c5e67bc65fe44a9c86937f8db379572c67564c6e21ff6e09b447cdfd4e540544e486179e94da0e0db679c04dd9
+DIST rxvt-unicode-9.22_24-bit-color-f45025a.patch.xz 8152 BLAKE2B 373e40b0bf3fe0d0a1b5aaf7a6737194858728aa90bd6095d5b9ba85f5fe4cc6b0225f63352517b30edfc166e7075a9d46f4380b0f8e7ca221c84d057c626c6f SHA512 15a13d7f2867ff2423fe7d0f263c65f4f031cb01940b3237e7038010bce4f7f51777b6bc56f6ecaf323785b35cd97b2313fb11ee6e47773cf0df5720dcee16fc

diff --git a/x11-terms/rxvt-unicode/metadata.xml b/x11-terms/rxvt-unicode/metadata.xml
index b618af536ae..e088706493d 100644
--- a/x11-terms/rxvt-unicode/metadata.xml
+++ b/x11-terms/rxvt-unicode/metadata.xml
@@ -7,6 +7,12 @@
 	</maintainer>
 	<!-- co-maintainers welcome! -->
 <use>
+<flag name="24-bit-color">Enable 24-bit color support. Note that this feature
+	is unofficial, may cause visual glitches due to the fact there is no
+	termcap/terminfo definition for rxvt-unicode-24bit yet so it is necessary
+	to use the one for 256 colours, visibly increases memory usage, and might
+	slow urxvt down dramatically when more than six fonts are in use in a terminal
+	instance.</flag>
 <flag name="256-color">Enable 256 color support</flag>
 <flag name="blink">Enable blinking text</flag>
 <flag name="fading-colors">Enable colors fading when off focus</flag>

diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild
new file mode 100644
index 00000000000..ecc333567f4
--- /dev/null
+++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r4.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop
+
+COLOUR_PATCH_NAME="${PN}-9.22_24-bit-color-f45025a.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/${PN}/${COLOUR_PATCH_NAME}.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
+IUSE="
+	-24-bit-color 256-color blink fading-colors +font-styles gdk-pixbuf iso14755 +mousewheel
+	+perl startup-notification unicode3 +utmp +wtmp xft
+"
+RESTRICT="test"
+
+RDEPEND="
+	>=sys-libs/ncurses-5.7-r6:=
+	media-libs/fontconfig
+	x11-libs/libX11
+	x11-libs/libXrender
+	gdk-pixbuf? ( x11-libs/gdk-pixbuf )
+	kernel_Darwin? ( dev-perl/Mac-Pasteboard )
+	perl? ( dev-lang/perl:= )
+	startup-notification? ( x11-libs/startup-notification )
+	xft? ( x11-libs/libXft )
+"
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+	x11-base/xorg-proto
+"
+PATCHES=(
+	"${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch
+	"${FILESDIR}"/${PN}-9.21-xsubpp.patch
+	"${WORKDIR}"/${COLOUR_PATCH_NAME}
+)
+DOCS=(
+	Changes
+	README.FAQ
+	doc/README.xvt
+	doc/changes.txt
+	doc/etc/${PN}.term{cap,info}
+	doc/rxvt-tabbed
+)
+
+src_prepare() {
+	default
+
+	# kill the rxvt-unicode terminfo file - #192083
+	sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
+
+	eautoreconf
+}
+
+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) \
+		$(use_enable xft)
+}
+
+src_compile() {
+	default
+
+	sed -i \
+		-e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
+		"${S}"/doc/rxvt-tabbed || die
+}
+
+src_install() {
+	default
+
+	make_desktop_entry urxvt rxvt-unicode utilities-terminal \
+		"System;TerminalEmulator"
+}


             reply	other threads:[~2020-11-05 15:05 UTC|newest]

Thread overview: 115+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-05 15:05 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-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 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=1604588720.9dcf20f5accef069dc1abd4717090853c1ca8d2a.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