1 |
wired 09/10/28 12:18:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rxvt-unicode-9.06-r3.ebuild |
5 |
Log: |
6 |
moved terminfo generation to ncurses wrt bug #192083 |
7 |
(Portage version: 2.2_rc46/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.141 x11-terms/rxvt-unicode/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?rev=1.141&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?rev=1.141&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?r1=1.140&r2=1.141 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v |
19 |
retrieving revision 1.140 |
20 |
retrieving revision 1.141 |
21 |
diff -u -r1.140 -r1.141 |
22 |
--- ChangeLog 26 Oct 2009 21:20:11 -0000 1.140 |
23 |
+++ ChangeLog 28 Oct 2009 12:18:35 -0000 1.141 |
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.140 2009/10/26 21:20:11 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v 1.141 2009/10/28 12:18:35 wired Exp $ |
29 |
+ |
30 |
+*rxvt-unicode-9.06-r3 (28 Oct 2009) |
31 |
+ |
32 |
+ 28 Oct 2009; Alex Alexander <wired@g.o> |
33 |
+ +rxvt-unicode-9.06-r3.ebuild: |
34 |
+ moved terminfo generation to ncurses wrt bug #192083 |
35 |
|
36 |
26 Oct 2009; Jeroen Roovers <jer@g.o> metadata.xml: |
37 |
Add vostorga too. |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-terms/rxvt-unicode/rxvt-unicode-9.06-r3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.06-r3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.06-r3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: rxvt-unicode-9.06-r3.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-r3.ebuild,v 1.1 2009/10/28 12:18:35 wired 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 |
>=sys-libs/ncurses-5.7-r3" |
72 |
DEPEND="${RDEPEND} |
73 |
dev-util/pkgconfig |
74 |
x11-proto/xproto" |
75 |
|
76 |
src_prepare() { |
77 |
#Bug 270694 |
78 |
epatch "${FILESDIR}/${PN}-9.06-glibc-2.10.patch" |
79 |
|
80 |
if (use xterm-color || use wcwidth); then |
81 |
ewarn "You enabled xterm-color or wcwidth or both." |
82 |
ewarn "Please note that neither of them are supported by upstream." |
83 |
ewarn "You are at your own if you run into problems." |
84 |
ebeep 5 |
85 |
fi |
86 |
|
87 |
local tdir=/usr/share/terminfo |
88 |
if use xterm-color; then |
89 |
epatch doc/urxvt-8.2-256color.patch |
90 |
sed -e \ |
91 |
's/^\(rxvt-unicode\)/\1256/;s/colors#88/colors#256/;s/pairs#256/pairs#32767/' \ |
92 |
doc/etc/rxvt-unicode.terminfo > doc/etc/rxvt-unicode256.terminfo |
93 |
sed -i -e \ |
94 |
"s~^\(\s\+@TIC@.*\)~\1\n\t@TIC@ -o "${D}"/${tdir} \$(srcdir)/etc/rxvt-unicode256.terminfo~" \ |
95 |
doc/Makefile.in |
96 |
fi |
97 |
|
98 |
# kill the rxvt-unicode terminfo file - #192083 |
99 |
sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || |
100 |
die "sed failed" |
101 |
|
102 |
use wcwidth && epatch doc/wcwidth.patch |
103 |
|
104 |
# bug #240165 |
105 |
epatch "${FILESDIR}"/${P}-no-urgency-if-focused.diff |
106 |
|
107 |
# ncurses will provide rxvt-unicode terminfo, so we don't install them again |
108 |
# see bug #192083 |
109 |
# |
110 |
# According to my tests this is not (yet?) true, so keep it prepared and |
111 |
# disabled until it's needed again. |
112 |
#if has_version '<sys-libs/ncurses-5.7'; then |
113 |
sed -i -e \ |
114 |
"s~@TIC@ \(\$(srcdir)/etc/rxvt\)~@TIC@ -o "${D}"/${tdir} \1~" \ |
115 |
doc/Makefile.in |
116 |
#else |
117 |
# # Remove everything except if we have rxvt-unicode256 |
118 |
# sed -i -e \ |
119 |
# '/rxvt-unicode256/p;/@TIC@/d' \ |
120 |
# doc/Makefile.in |
121 |
#fi |
122 |
|
123 |
# bug #263638 |
124 |
epatch "${FILESDIR}"/${P}-popups-hangs.patch |
125 |
|
126 |
# bug #237271 |
127 |
if ! use vanilla; then |
128 |
ewarn "You are going to include third-party bug fixes/features." |
129 |
ewarn "They came without any warranty and are not supported by the" |
130 |
ewarn "Gentoo community." |
131 |
ebeep 5 |
132 |
epatch "${FILESDIR}"/${PN}-9.05_no-MOTIF-WM-INFO.patch |
133 |
fi |
134 |
|
135 |
eautoreconf |
136 |
} |
137 |
|
138 |
src_configure() { |
139 |
local myconf='' |
140 |
|
141 |
use iso14755 || myconf='--disable-iso14755' |
142 |
use xterm-color && myconf="$myconf --enable-xterm-colors=256" |
143 |
|
144 |
econf --enable-everything \ |
145 |
$(use_enable truetype xft) \ |
146 |
$(use_enable afterimage) \ |
147 |
$(use_enable perl) \ |
148 |
--disable-text-blink \ |
149 |
${myconf} |
150 |
} |
151 |
|
152 |
src_compile() { |
153 |
emake || die |
154 |
|
155 |
sed -i \ |
156 |
-e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \ |
157 |
"${S}"/doc/rxvt-tabbed || die "tabs sed failed" |
158 |
} |
159 |
|
160 |
src_install() { |
161 |
make DESTDIR="${D}" install || die |
162 |
|
163 |
dodoc README.FAQ Changes |
164 |
cd "${S}"/doc |
165 |
dodoc README* changes.txt etc/* rxvt-tabbed |
166 |
} |
167 |
|
168 |
pkg_postinst() { |
169 |
einfo "urxvt now always uses TERM=rxvt-unicode so that the" |
170 |
einfo "upstream-supplied terminfo files can be used." |
171 |
} |