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