Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/rxvt-unicode/
Date: Wed, 10 Apr 2019 13:49:29
Message-Id: 1554904158.76344fabfd15a262985f3705851b374c60187717.jer@gentoo
1 commit: 76344fabfd15a262985f3705851b374c60187717
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 10 13:48:49 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 10 13:49:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76344fab
7
8 x11-terms/rxvt-unicode: Add IUSE="utmp wtmp"
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Bug: https://bugs.gentoo.org/683008
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 x11-terms/rxvt-unicode/metadata.xml | 50 +++++++++++-----------
15 ...ode-9999.ebuild => rxvt-unicode-9.22-r2.ebuild} | 42 ++++++++----------
16 x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild | 42 +++++++++---------
17 3 files changed, 65 insertions(+), 69 deletions(-)
18
19 diff --git a/x11-terms/rxvt-unicode/metadata.xml b/x11-terms/rxvt-unicode/metadata.xml
20 index 7d1c93339ec..fe671825fc5 100644
21 --- a/x11-terms/rxvt-unicode/metadata.xml
22 +++ b/x11-terms/rxvt-unicode/metadata.xml
23 @@ -1,29 +1,29 @@
24 <?xml version="1.0" encoding="UTF-8"?>
25 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
26 <pkgmetadata>
27 - <maintainer type="person">
28 - <email>jer@g.o</email>
29 - <name>Jeroen Roovers</name>
30 - </maintainer>
31 - <use>
32 - <flag name="256-color">Enable 256 color support</flag>
33 - <flag name="alt-font-width">Calculate the font width using a different method</flag>
34 - <flag name="blink">Enable blinking text</flag>
35 - <flag name="buffer-on-clear">Store visible output to history buffer when clearing the screen with ctrl-l.
36 - Read https://bbs.archlinux.org/viewtopic.php?id=129302</flag>
37 - <flag name="fading-colors">Enable colors fading when off focus</flag>
38 - <flag name="focused-urgency">Enable the urgent flag when a terminal window is focused</flag>
39 - <flag name="font-styles">Enable support for bold and italic fonts</flag>
40 - <flag name="iso14755">Enable ISO-14755 support</flag>
41 - <flag name="mousewheel">Enable scrolling via mouse wheel or buttons 4 and 5</flag>
42 - <flag name="perl">Enable perl script support. You can still disable this at runtime with -pe ""</flag>
43 - <flag name="pixbuf">Enable transparency support using gtk's pixbuf</flag>
44 - <flag name="secondary-wheel">Support for wheel scrolling on secondary screens (like mutt).
45 - Read http://lists.schmorp.de/pipermail/rxvt-unicode/2011q4/001491.html</flag>
46 - <flag name="unicode3">Use 21 instead of 16 bits to represent unicode characters</flag>
47 - <flag name="wcwidth">Enable wide char width support</flag>
48 - </use>
49 - <upstream>
50 - <remote-id type="cpe">cpe:/a:rxvt-unicode:rxvt-unicode</remote-id>
51 - </upstream>
52 +<maintainer type="person">
53 +<email>jer@g.o</email>
54 +<name>Jeroen Roovers</name>
55 +</maintainer>
56 +<use>
57 +<flag name="256-color">Enable 256 color support</flag>
58 +<flag name="alt-font-width">Calculate the font width using a different method</flag>
59 +<flag name="blink">Enable blinking text</flag>
60 +<flag name="buffer-on-clear">Store visible output to history buffer when clearing the screen with ctrl-l. Read https://bbs.archlinux.org/viewtopic.php?id=129302</flag>
61 +<flag name="fading-colors">Enable colors fading when off focus</flag>
62 +<flag name="focused-urgency">Enable the urgent flag when a terminal window is focused</flag>
63 +<flag name="font-styles">Enable support for bold and italic fonts</flag>
64 +<flag name="iso14755">Enable ISO-14755 support</flag>
65 +<flag name="mousewheel">Enable scrolling via mouse wheel or buttons 4 and 5</flag>
66 +<flag name="perl">Enable perl script support. You can still disable this at runtime with -pe ""</flag>
67 +<flag name="pixbuf">Enable transparency support using gtk's pixbuf</flag>
68 +<flag name="secondary-wheel">Support for wheel scrolling on secondary screens (like mutt). Read http://lists.schmorp.de/pipermail/rxvt-unicode/2011q4/001491.html</flag>
69 +<flag name="unicode3">Use 21 instead of 16 bits to represent unicode characters</flag>
70 +<flag name="utmp">Enable utmp support</flag>
71 +<flag name="wcwidth">Enable wide char width support</flag>
72 +<flag name="wtmp">Enable wtmp support</flag>
73 +</use>
74 +<upstream>
75 +<remote-id type="cpe">cpe:/a:rxvt-unicode:rxvt-unicode</remote-id>
76 +</upstream>
77 </pkgmetadata>
78
79 diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r2.ebuild
80 similarity index 71%
81 copy from x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild
82 copy to x11-terms/rxvt-unicode/rxvt-unicode-9.22-r2.ebuild
83 index 9a25833630e..ffbed292e80 100644
84 --- a/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild
85 +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r2.ebuild
86 @@ -1,27 +1,25 @@
87 -# Copyright 1999-2018 Gentoo Foundation
88 +# Copyright 1999-2019 Gentoo Authors
89 # Distributed under the terms of the GNU General Public License v2
90
91 -EAPI=6
92 -inherit autotools cvs eutils
93 +EAPI=7
94 +inherit autotools desktop
95
96 DESCRIPTION="rxvt clone with xft and unicode support"
97 HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html"
98 -ECVS_SERVER="cvs.schmorp.de/schmorpforge"
99 -ECVS_USER="anonymous"
100 -ECVS_MODULE="rxvt-unicode"
101 +SRC_URI="http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2"
102
103 LICENSE="GPL-3"
104 SLOT="0"
105 -KEYWORDS=""
106 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
107 IUSE="
108 256-color blink fading-colors +font-styles iso14755 +mousewheel +perl
109 - pixbuf startup-notification xft unicode3
110 + pixbuf startup-notification unicode3 +utmp +wtmp xft
111 "
112 RESTRICT="test"
113
114 RDEPEND="
115 + >=sys-libs/ncurses-5.7-r6:=
116 media-libs/fontconfig
117 - sys-libs/ncurses:*
118 x11-libs/libX11
119 x11-libs/libXrender
120 kernel_Darwin? ( dev-perl/Mac-Pasteboard )
121 @@ -35,30 +33,29 @@ DEPEND="
122 virtual/pkgconfig
123 x11-base/xorg-proto
124 "
125 -
126 -S=${WORKDIR}/${PN}
127 PATCHES=(
128 "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch
129 "${FILESDIR}"/${PN}-9.21-xsubpp.patch
130 -
131 +)
132 +DOCS=(
133 + Changes
134 + README.FAQ
135 + doc/README.xvt
136 + doc/changes.txt
137 + doc/etc/${PN}.term{cap,info}
138 + doc/rxvt-tabbed
139 )
140
141 src_prepare() {
142 - ecvs_clean
143 + default
144
145 # kill the rxvt-unicode terminfo file - #192083
146 - sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die
147 -
148 - eapply_user
149 + sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
150
151 eautoreconf
152 }
153
154 src_configure() {
155 - local myconf=''
156 -
157 - use iso14755 || myconf='--disable-iso14755'
158 -
159 # --enable-everything goes first: the order of the arguments matters
160 econf --enable-everything \
161 $(use_enable 256-color) \
162 @@ -71,6 +68,8 @@ src_configure() {
163 $(use_enable pixbuf) \
164 $(use_enable startup-notification) \
165 $(use_enable unicode3) \
166 + $(use_enable utmp) \
167 + $(use_enable wtmp) \
168 $(use_enable xft)
169 }
170
171 @@ -85,9 +84,6 @@ src_compile() {
172 src_install() {
173 default
174
175 - dodoc \
176 - README.FAQ Changes doc/README* doc/changes.txt doc/etc/* doc/rxvt-tabbed
177 -
178 make_desktop_entry urxvt rxvt-unicode utilities-terminal \
179 "System;TerminalEmulator"
180 }
181
182 diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild
183 index 9a25833630e..376b8036d82 100644
184 --- a/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild
185 +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9999.ebuild
186 @@ -1,8 +1,8 @@
187 -# Copyright 1999-2018 Gentoo Foundation
188 +# Copyright 1999-2019 Gentoo Authors
189 # Distributed under the terms of the GNU General Public License v2
190
191 -EAPI=6
192 -inherit autotools cvs eutils
193 +EAPI=7
194 +inherit autotools cvs desktop vcs-clean
195
196 DESCRIPTION="rxvt clone with xft and unicode support"
197 HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html"
198 @@ -15,13 +15,13 @@ SLOT="0"
199 KEYWORDS=""
200 IUSE="
201 256-color blink fading-colors +font-styles iso14755 +mousewheel +perl
202 - pixbuf startup-notification xft unicode3
203 + pixbuf startup-notification unicode3 +utmp +wtmp xft
204 "
205 RESTRICT="test"
206
207 RDEPEND="
208 + >=sys-libs/ncurses-5.7-r6:=
209 media-libs/fontconfig
210 - sys-libs/ncurses:*
211 x11-libs/libX11
212 x11-libs/libXrender
213 kernel_Darwin? ( dev-perl/Mac-Pasteboard )
214 @@ -35,30 +35,31 @@ DEPEND="
215 virtual/pkgconfig
216 x11-base/xorg-proto
217 "
218 -
219 -S=${WORKDIR}/${PN}
220 -PATCHES=(
221 - "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch
222 - "${FILESDIR}"/${PN}-9.21-xsubpp.patch
223 -
224 +DOCS=(
225 + Changes
226 + README.FAQ
227 + doc/README.xvt
228 + doc/changes.txt
229 + doc/etc/${PN}.term{cap,info}
230 + doc/rxvt-tabbed
231 )
232 +S=${WORKDIR}/${PN}
233
234 src_prepare() {
235 ecvs_clean
236 -
237 - # kill the rxvt-unicode terminfo file - #192083
238 - sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die
239 + eapply \
240 + "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch \
241 + "${FILESDIR}"/${PN}-9.21-xsubpp.patch
242
243 eapply_user
244
245 + # kill the rxvt-unicode terminfo file - #192083
246 + sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
247 +
248 eautoreconf
249 }
250
251 src_configure() {
252 - local myconf=''
253 -
254 - use iso14755 || myconf='--disable-iso14755'
255 -
256 # --enable-everything goes first: the order of the arguments matters
257 econf --enable-everything \
258 $(use_enable 256-color) \
259 @@ -71,6 +72,8 @@ src_configure() {
260 $(use_enable pixbuf) \
261 $(use_enable startup-notification) \
262 $(use_enable unicode3) \
263 + $(use_enable utmp) \
264 + $(use_enable wtmp) \
265 $(use_enable xft)
266 }
267
268 @@ -85,9 +88,6 @@ src_compile() {
269 src_install() {
270 default
271
272 - dodoc \
273 - README.FAQ Changes doc/README* doc/changes.txt doc/etc/* doc/rxvt-tabbed
274 -
275 make_desktop_entry urxvt rxvt-unicode utilities-terminal \
276 "System;TerminalEmulator"
277 }