Gentoo Archives: gentoo-commits

From: "Victor Ostorga (vostorga)" <vostorga@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt-unicode: rxvt-unicode-9.06-r1.ebuild ChangeLog
Date: Sun, 25 Oct 2009 18:09:09
Message-Id: E1N27Wd-0007AO-8a@stork.gentoo.org
1 vostorga 09/10/25 18:09:07
2
3 Modified: ChangeLog
4 Added: rxvt-unicode-9.06-r1.ebuild
5 Log:
6 Fixing home page bug 290472 , Fixing urgency hint, patch thanks to Jan Hruban <hrubi13@×××××.com> bug 274129
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.130 x11-terms/rxvt-unicode/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?rev=1.130&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?rev=1.130&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog?r1=1.129&r2=1.130
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v
19 retrieving revision 1.129
20 retrieving revision 1.130
21 diff -u -r1.129 -r1.130
22 --- ChangeLog 12 Sep 2009 03:25:59 -0000 1.129
23 +++ ChangeLog 25 Oct 2009 18:09:06 -0000 1.130
24 @@ -1,6 +1,14 @@
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.129 2009/09/12 03:25:59 vostorga Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/ChangeLog,v 1.130 2009/10/25 18:09:06 vostorga Exp $
29 +
30 +*rxvt-unicode-9.06-r1 (25 Oct 2009)
31 +
32 + 25 Oct 2009; Víctor Ostorga <vostorga@g.o>
33 + +rxvt-unicode-9.06-r1.ebuild,
34 + +files/rxvt-unicode-9.06-no-urgency-if-focused.diff:
35 + Fixing home page bug 290472 , Fixing urgency hint, patch thanks to Jan
36 + Hruban <hrubi13@×××××.com> bug #274129
37
38 12 Sep 2009; Víctor Ostorga <vostorga@g.o>
39 -files/scrolling-one-line.patch:
40
41
42
43 1.1 x11-terms/rxvt-unicode/rxvt-unicode-9.06-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.06-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.06-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: rxvt-unicode-9.06-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt-unicode/rxvt-unicode-9.06-r1.ebuild,v 1.1 2009/10/25 18:09:06 vostorga Exp $
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_unpack() {
76 unpack ${A}
77 cd "${S}"
78
79 #Bug 270694
80 epatch "${FILESDIR}/${PN}-9.06-glibc-2.10.patch"
81
82 if (use xterm-color || use wcwidth); then
83 ewarn "You enabled xterm-color or wcwidth or both."
84 ewarn "Please note that neither of them are supported by upstream."
85 ewarn "You are at your own if you run into problems."
86 ebeep 5
87 fi
88
89 local tdir=/usr/share/terminfo
90 if use xterm-color; then
91 epatch doc/urxvt-8.2-256color.patch
92 sed -e \
93 's/^\(rxvt-unicode\)/\1256/;s/colors#88/colors#256/;s/pairs#256/pairs#32767/' \
94 doc/etc/rxvt-unicode.terminfo > doc/etc/rxvt-unicode256.terminfo
95 sed -i -e \
96 "s~^\(\s\+@TIC@.*\)~\1\n\t@TIC@ -o "${D}"/${tdir} \$(srcdir)/etc/rxvt-unicode256.terminfo~" \
97 doc/Makefile.in
98 fi
99
100 use wcwidth && epatch doc/wcwidth.patch
101
102 # bug #240165
103 epatch "${FILESDIR}"/${P}-no-urgency-if-focused.diff
104
105
106 # ncurses will provide rxvt-unicode terminfo, so we don't install them again
107 # see bug #192083
108 #
109 # According to my tests this is not (yet?) true, so keep it prepared and
110 # disabled until it's needed again.
111 #if has_version '<sys-libs/ncurses-5.7'; then
112 sed -i -e \
113 "s~@TIC@ \(\$(srcdir)/etc/rxvt\)~@TIC@ -o "${D}"/${tdir} \1~" \
114 doc/Makefile.in
115 #else
116 # # Remove everything except if we have rxvt-unicode256
117 # sed -i -e \
118 # '/rxvt-unicode256/p;/@TIC@/d' \
119 # doc/Makefile.in
120 #fi
121
122 eautoreconf
123 }
124
125 src_compile() {
126 local myconf=''
127
128 use iso14755 || myconf='--disable-iso14755'
129 use xterm-color && myconf="$myconf --enable-xterm-colors=256"
130
131 econf --enable-everything \
132 $(use_enable truetype xft) \
133 $(use_enable afterimage) \
134 $(use_enable perl) \
135 --disable-text-blink \
136 ${myconf}
137
138 emake || die
139
140 sed -i \
141 -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
142 "${S}"/doc/rxvt-tabbed || die "tabs sed failed"
143 }
144
145 src_install() {
146 make DESTDIR="${D}" install || die
147
148 dodoc README.FAQ Changes
149 cd "${S}"/doc
150 dodoc README* changes.txt etc/* rxvt-tabbed
151 }
152
153 pkg_postinst() {
154 einfo "urxvt now always uses TERM=rxvt-unicode so that the"
155 einfo "upstream-supplied terminfo files can be used."
156 }