Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/rxvt-unicode/, x11-terms/rxvt-unicode/files/
Date: Sun, 16 May 2021 18:03:52
Message-Id: 1621188217.67cea2804f7ceffb76b6280e33c1bcececfe0e6a.marecki@gentoo
1 commit: 67cea2804f7ceffb76b6280e33c1bcececfe0e6a
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 16 17:58:15 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Sun May 16 18:03:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67cea280
7
8 x11-terms/rxvt-unicode: add 9.26
9
10 No 24-bit colour support for now, the 9.22 patch does not apply any more
11 due to changes in how urxvt handles the background. On the plus side,
12 SGR mouse support is now official.
13
14 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
15
16 x11-terms/rxvt-unicode/Manifest | 1 +
17 x11-terms/rxvt-unicode/files/urxvtd.socket | 8 +++
18 x11-terms/rxvt-unicode/rxvt-unicode-9.26.ebuild | 89 +++++++++++++++++++++++++
19 3 files changed, 98 insertions(+)
20
21 diff --git a/x11-terms/rxvt-unicode/Manifest b/x11-terms/rxvt-unicode/Manifest
22 index 7a676fb3fd4..369cb666899 100644
23 --- a/x11-terms/rxvt-unicode/Manifest
24 +++ b/x11-terms/rxvt-unicode/Manifest
25 @@ -1,2 +1,3 @@
26 DIST rxvt-unicode-9.22.tar.bz2 931198 BLAKE2B ea9a12e4a8396ed6be12b4d50ae260a0376902dbd47b0628bb14ce0509c5d89f5a80370b413fdb9df9b8b81728ec26e115cbf0d88ab6e9cb2a87b03b5d79c432 SHA512 b39f1b2cbe6dd3fbd2a0ad6a9d391a2b6f49d7c5e67bc65fe44a9c86937f8db379572c67564c6e21ff6e09b447cdfd4e540544e486179e94da0e0db679c04dd9
27 DIST rxvt-unicode-9.22_24-bit-color_cpixl-20201108.patch.xz 8116 BLAKE2B 27940ad42ee3f26c357a50b7fae1e1539acec71f5ff43e7ed16167d0adb175c4de20ba84880f25eec0817703d937d097fda228541d16511811efe5816109e71b SHA512 2b8bbb90c6bb223f622c1e99d62a70a812604d1f8e57cea37a8faf0af578588d3888ea8009568d623710cc03e020a69269770e23476fd9ff9e46dbd9ea23f540
28 +DIST rxvt-unicode-9.26.tar.bz2 904950 BLAKE2B 1790d02eeadf630cc9bc718288af2f6bd19c3e320d3dbfa44c8cef516c8e790e0abfbfe4e557795749ddd3ec41b8358f6eac623c060240f091b3e84a549151ad SHA512 35560b57730e17c9542ea4a615fd86ce703c4e6421323e8fe1570007737a880fde90d17943e5af9e170be4111b9769f4aa7e57efca5428421fdc1c299112f8e0
29
30 diff --git a/x11-terms/rxvt-unicode/files/urxvtd.socket b/x11-terms/rxvt-unicode/files/urxvtd.socket
31 new file mode 100644
32 index 00000000000..4da0499c7bb
33 --- /dev/null
34 +++ b/x11-terms/rxvt-unicode/files/urxvtd.socket
35 @@ -0,0 +1,8 @@
36 +[Unit]
37 +Description=rxvt-unicode terminal daemon socket
38 +
39 +[Socket]
40 +ListenStream=%h/.urxvt/urxvtd-%H
41 +
42 +[Install]
43 +WantedBy=sockets.target
44
45 diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.26.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.26.ebuild
46 new file mode 100644
47 index 00000000000..9261d793fe7
48 --- /dev/null
49 +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.26.ebuild
50 @@ -0,0 +1,89 @@
51 +# Copyright 1999-2021 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=7
55 +
56 +inherit autotools desktop flag-o-matic systemd prefix
57 +
58 +DESCRIPTION="rxvt clone with xft and unicode support"
59 +HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html"
60 +SRC_URI="http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2"
61 +
62 +LICENSE="GPL-3"
63 +SLOT="0"
64 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris"
65 +IUSE="256-color blink fading-colors +font-styles gdk-pixbuf iso14755 +mousewheel
66 + +perl startup-notification unicode3 +utmp +wtmp xft"
67 +
68 +RDEPEND=">=sys-libs/ncurses-5.7-r6:=
69 + media-libs/fontconfig
70 + x11-libs/libX11
71 + x11-libs/libXrender
72 + gdk-pixbuf? ( x11-libs/gdk-pixbuf )
73 + kernel_Darwin? ( dev-perl/Mac-Pasteboard )
74 + perl? ( dev-lang/perl:= )
75 + startup-notification? ( x11-libs/startup-notification )
76 + xft? ( x11-libs/libXft )"
77 +DEPEND="${RDEPEND}
78 + x11-base/xorg-proto"
79 +BDEPEND="virtual/pkgconfig"
80 +# WARNING: will bdepend on >=sys-devel/autoconf-2.71 (masked as of 2021-05-16) if eautoreconf has to be called
81 +
82 +PATCHES=(
83 + "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch
84 + "${FILESDIR}"/${PN}-9.21-xsubpp.patch
85 +)
86 +DOCS=(
87 + Changes
88 + README.FAQ
89 + doc/README.xvt
90 + doc/changes.txt
91 + doc/etc/${PN}.term{cap,info}
92 + doc/rxvt-tabbed
93 +)
94 +
95 +src_prepare() {
96 + default
97 +
98 + # kill the rxvt-unicode terminfo file - #192083
99 + sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
100 +
101 + # use xsubpp from Prefix - #506500
102 + hprefixify -q '"' -w "/xsubpp/" src/Makefile.in
103 +}
104 +
105 +src_configure() {
106 + # --enable-everything goes first: the order of the arguments matters
107 + econf --enable-everything \
108 + $(use_enable 256-color) \
109 + $(use_enable blink text-blink) \
110 + $(use_enable fading-colors fading) \
111 + $(use_enable font-styles) \
112 + $(use_enable gdk-pixbuf pixbuf) \
113 + $(use_enable iso14755) \
114 + $(use_enable mousewheel) \
115 + $(use_enable perl) \
116 + $(use_enable startup-notification) \
117 + $(use_enable unicode3) \
118 + $(use_enable utmp) \
119 + $(use_enable wtmp) \
120 + $(use_enable xft)
121 +}
122 +
123 +src_compile() {
124 + default
125 +
126 + sed -i \
127 + -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
128 + "${S}"/doc/rxvt-tabbed || die
129 +}
130 +
131 +src_install() {
132 + default
133 +
134 + systemd_douserunit "${FILESDIR}"/urxvtd.service
135 + systemd_douserunit "${FILESDIR}"/urxvtd.socket
136 +
137 + make_desktop_entry urxvt rxvt-unicode utilities-terminal \
138 + "System;TerminalEmulator"
139 +}