Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt-unicode: rxvt-unicode-9.06-r2.ebuild ChangeLog
Date: Sun, 25 Oct 2009 22:21:14
Message-Id: E1N2BSZ-0001L6-M5@stork.gentoo.org
1 jer 09/10/25 22:21:11
2
3 Modified: ChangeLog
4 Added: rxvt-unicode-9.06-r2.ebuild
5 Log:
6 Revision bump to include patch again (bug #237271), clean up a bit, move to EAPI="2".
7 (Portage version: 2.2_rc46/cvs/Linux i686)
8
9 Revision Changes Path
10 1.134 x11-terms/rxvt-unicode/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?rev=1.134&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?rev=1.134&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?r1=1.133&r2=1.134
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v
19 retrieving revision 1.133
20 retrieving revision 1.134
21 diff -u -r1.133 -r1.134
22 --- ChangeLog 25 Oct 2009 21:46:37 -0000 1.133
23 +++ ChangeLog 25 Oct 2009 22:21:11 -0000 1.134
24 @@ -1,6 +1,12 @@
25 # ChangeLog for x11-terms/rxvt-unicode
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v 1.133 2009/10/25 21:46:37 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v 1.134 2009/10/25 22:21:11 jer Exp $
29 +
30 +*rxvt-unicode-9.06-r2 (25 Oct 2009)
31 +
32 + 25 Oct 2009; Jeroen Roovers <jer@g.o> +rxvt-unicode-9.06-r2.ebuild:
33 + Revision bump to include patch again (bug #237271), clean up a bit, move
34 + to EAPI="2".
35
36 25 Oct 2009; Jeroen Roovers <jer@g.o> -rxvt-unicode-9.02-r1.ebuild,
37 -files/rxvt-unicode-9.02-CVE-2008-1142-DISPLAY.patch:
38
39
40
41 1.1 x11-terms/rxvt-unicode/rxvt-unicode-9.06-r2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.06-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.06-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rxvt-unicode-9.06-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.06-r2.ebuild,v 1.1 2009/10/25 22:21:11 jer Exp $
51
52 EAPI="2"
53
54 inherit autotools flag-o-matic
55
56 DESCRIPTION="rxvt clone with xft and unicode support"
57 HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html"
58 SRC_URI="http://dist.schmorp.de/rxvt-unicode/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 IUSE="truetype perl iso14755 afterimage xterm-color wcwidth vanilla"
64
65 # see bug #115992 for modular x deps
66 RDEPEND="x11-libs/libX11
67 x11-libs/libXft
68 afterimage? ( media-libs/libafterimage )
69 x11-libs/libXrender
70 perl? ( dev-lang/perl )"
71 DEPEND="${RDEPEND}
72 dev-util/pkgconfig
73 x11-proto/xproto"
74
75 src_prepare() {
76 #Bug 270694
77 epatch "${FILESDIR}/${PN}-9.06-glibc-2.10.patch"
78
79 if (use xterm-color || use wcwidth); then
80 ewarn "You enabled xterm-color or wcwidth or both."
81 ewarn "Please note that neither of them are supported by upstream."
82 ewarn "You are at your own if you run into problems."
83 ebeep 5
84 fi
85
86 local tdir=/usr/share/terminfo
87 if use xterm-color; then
88 epatch doc/urxvt-8.2-256color.patch
89 sed -e \
90 's/^\(rxvt-unicode\)/\1256/;s/colors#88/colors#256/;s/pairs#256/pairs#32767/' \
91 doc/etc/rxvt-unicode.terminfo > doc/etc/rxvt-unicode256.terminfo
92 sed -i -e \
93 "s~^\(\s\+@TIC@.*\)~\1\n\t@TIC@ -o "${D}"/${tdir} \$(srcdir)/etc/rxvt-unicode256.terminfo~" \
94 doc/Makefile.in
95 fi
96
97 use wcwidth && epatch doc/wcwidth.patch
98
99 # bug #240165
100 epatch "${FILESDIR}"/${P}-no-urgency-if-focused.diff
101
102
103 # ncurses will provide rxvt-unicode terminfo, so we don't install them again
104 # see bug #192083
105 #
106 # According to my tests this is not (yet?) true, so keep it prepared and
107 # disabled until it's needed again.
108 #if has_version '<sys-libs/ncurses-5.7'; then
109 sed -i -e \
110 "s~@TIC@ \(\$(srcdir)/etc/rxvt\)~@TIC@ -o "${D}"/${tdir} \1~" \
111 doc/Makefile.in
112 #else
113 # # Remove everything except if we have rxvt-unicode256
114 # sed -i -e \
115 # '/rxvt-unicode256/p;/@TIC@/d' \
116 # doc/Makefile.in
117 #fi
118
119 # bug #263638
120 epatch "${FILESDIR}"/${P}-popups-hangs.patch
121
122 # bug #237271
123 if ! use vanilla; then
124 ewarn "You are going to include third-party bug fixes/features."
125 ewarn "They came without any warranty and are not supported by the"
126 ewarn "Gentoo community."
127 ebeep 5
128 epatch "${FILESDIR}"/${PN}-9.05_no-MOTIF-WM-INFO.patch
129 fi
130
131 eautoreconf
132 }
133
134 src_configure() {
135 local myconf=''
136
137 use iso14755 || myconf='--disable-iso14755'
138 use xterm-color && myconf="$myconf --enable-xterm-colors=256"
139
140 econf --enable-everything \
141 $(use_enable truetype xft) \
142 $(use_enable afterimage) \
143 $(use_enable perl) \
144 --disable-text-blink \
145 ${myconf}
146 }
147
148 src_compile() {
149 emake || die
150
151 sed -i \
152 -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
153 "${S}"/doc/rxvt-tabbed || die "tabs sed failed"
154 }
155
156 src_install() {
157 make DESTDIR="${D}" install || die
158
159 dodoc README.FAQ Changes
160 cd "${S}"/doc
161 dodoc README* changes.txt etc/* rxvt-tabbed
162 }
163
164 pkg_postinst() {
165 einfo "urxvt now always uses TERM=rxvt-unicode so that the"
166 einfo "upstream-supplied terminfo files can be used."
167 }