Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt-unicode: rxvt-unicode-9.07.ebuild ChangeLog
Date: Thu, 31 Dec 2009 00:45:20
Message-Id: E1NQ9AA-0007Kh-J7@stork.gentoo.org
1 wired 09/12/31 00:45:14
2
3 Modified: ChangeLog
4 Added: rxvt-unicode-9.07.ebuild
5 Log:
6 [rxvt-unicode] version bump, bug #298952
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.145 x11-terms/rxvt-unicode/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?rev=1.145&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?rev=1.145&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?r1=1.144&r2=1.145
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v
19 retrieving revision 1.144
20 retrieving revision 1.145
21 diff -u -r1.144 -r1.145
22 --- ChangeLog 13 Dec 2009 15:35:05 -0000 1.144
23 +++ ChangeLog 31 Dec 2009 00:45:14 -0000 1.145
24 @@ -1,6 +1,11 @@
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.144 2009/12/13 15:35:05 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v 1.145 2009/12/31 00:45:14 wired Exp $
29 +
30 +*rxvt-unicode-9.07 (31 Dec 2009)
31 +
32 + 31 Dec 2009; Alex Alexander <wired@g.o> +rxvt-unicode-9.07.ebuild:
33 + version bump, bug #298952
34
35 13 Dec 2009; Brent Baude <ranger@g.o> rxvt-unicode-9.05-r3.ebuild:
36 Marking rxvt-unicode-9.05-r3 ppc64 for bug 260199
37
38
39
40 1.1 x11-terms/rxvt-unicode/rxvt-unicode-9.07.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.07.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.07.ebuild?rev=1.1&content-type=text/plain
44
45 Index: rxvt-unicode-9.07.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.07.ebuild,v 1.1 2009/12/31 00:45:14 wired Exp $
50
51 EAPI="2"
52
53 inherit autotools flag-o-matic
54
55 DESCRIPTION="rxvt clone with xft and unicode support"
56 HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html"
57 SRC_URI="http://dist.schmorp.de/rxvt-unicode/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="truetype perl iso14755 afterimage xterm-color wcwidth +vanilla"
63
64 # see bug #115992 for modular x deps
65 RDEPEND="x11-libs/libX11
66 x11-libs/libXft
67 afterimage? ( media-libs/libafterimage )
68 x11-libs/libXrender
69 perl? ( dev-lang/perl )
70 >=sys-libs/ncurses-5.7-r3"
71 DEPEND="${RDEPEND}
72 dev-util/pkgconfig
73 x11-proto/xproto"
74
75 src_prepare() {
76 if (use xterm-color || use wcwidth); then
77 ewarn "You enabled xterm-color or wcwidth or both."
78 ewarn "Please note that neither of them are supported by upstream."
79 ewarn "You are at your own if you run into problems."
80 ebeep 5
81 fi
82
83 local tdir=/usr/share/terminfo
84 if use xterm-color; then
85 epatch doc/urxvt-8.2-256color.patch
86 sed -e \
87 's/^\(rxvt-unicode\)/\1256/;s/colors#88/colors#256/;s/pairs#256/pairs#32767/' \
88 doc/etc/rxvt-unicode.terminfo > doc/etc/rxvt-unicode256.terminfo
89 sed -i -e \
90 "s~^\(\s\+@TIC@.*\)~\1\n\t@TIC@ -o "${D}"/${tdir} \$(srcdir)/etc/rxvt-unicode256.terminfo~" \
91 doc/Makefile.in
92 fi
93
94 # kill the rxvt-unicode terminfo file - #192083
95 sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in ||
96 die "sed failed"
97
98 use wcwidth && epatch doc/wcwidth.patch
99
100 # bug #240165
101 epatch "${FILESDIR}"/${PN}-9.06-no-urgency-if-focused.diff
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}"/${PN}-9.06-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 }