Gentoo Archives: gentoo-commits

From: "Krzysiek Pawlik (nelchael)" <nelchael@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/mrxvt: ChangeLog mrxvt-0.5.3-r3.ebuild
Date: Thu, 26 Jun 2008 09:13:07
Message-Id: E1KBnXJ-0002tN-NP@stork.gentoo.org
1 nelchael 08/06/26 09:13:01
2
3 Modified: ChangeLog
4 Added: mrxvt-0.5.3-r3.ebuild
5 Log:
6 Add patch from upstream to fix behaviour when mrxvt window is completely obscured, bug #229469.
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.25-tuxonice-r5 x86_64)
8
9 Revision Changes Path
10 1.67 x11-terms/mrxvt/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/mrxvt/ChangeLog?rev=1.67&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/mrxvt/ChangeLog?rev=1.67&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/mrxvt/ChangeLog?r1=1.66&r2=1.67
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-terms/mrxvt/ChangeLog,v
19 retrieving revision 1.66
20 retrieving revision 1.67
21 diff -u -r1.66 -r1.67
22 --- ChangeLog 10 Jun 2008 22:05:42 -0000 1.66
23 +++ ChangeLog 26 Jun 2008 09:13:01 -0000 1.67
24 @@ -1,6 +1,14 @@
25 # ChangeLog for x11-terms/mrxvt
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/mrxvt/ChangeLog,v 1.66 2008/06/10 22:05:42 nelchael Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/mrxvt/ChangeLog,v 1.67 2008/06/26 09:13:01 nelchael Exp $
29 +
30 +*mrxvt-0.5.3-r3 (26 Jun 2008)
31 +
32 + 26 Jun 2008; Krzysiek Pawlik <nelchael@g.o>
33 + +files/mrxvt-0.5.3-stop-polling-when-obscured.patch,
34 + +mrxvt-0.5.3-r3.ebuild:
35 + Add patch from upstream to fix behaviour when mrxvt window is completely
36 + obscured, bug #229469.
37
38 10 Jun 2008; Krzysiek Pawlik <nelchael@g.o>
39 -files/mrxvt-0.5.2-no_debug_x.patch, -mrxvt-0.5.1.ebuild,
40
41
42
43 1.1 x11-terms/mrxvt/mrxvt-0.5.3-r3.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/mrxvt/mrxvt-0.5.3-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/mrxvt/mrxvt-0.5.3-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mrxvt-0.5.3-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-terms/mrxvt/mrxvt-0.5.3-r3.ebuild,v 1.1 2008/06/26 09:13:01 nelchael Exp $
53
54 inherit eutils
55
56 DESCRIPTION="Multi-tabbed rxvt clone with XFT, transparent background and CJK support"
57 HOMEPAGE="http://materm.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/materm/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~x86"
63
64 LINGUAS_IUSE="linguas_el linguas_ja linguas_ko linguas_th linguas_zh_CN linguas_zh_TW"
65 IUSE="debug png jpeg session truetype menubar utempter xpm ${LINGUAS_IUSE}"
66
67 RDEPEND="png? ( media-libs/libpng )
68 utempter? ( sys-libs/libutempter )
69 jpeg? ( media-libs/jpeg )
70 truetype? ( virtual/xft
71 media-libs/fontconfig
72 media-libs/freetype )
73 x11-libs/libX11
74 x11-libs/libXt
75 xpm? ( x11-libs/libXpm )
76 x11-libs/libXrender"
77
78 DEPEND="${RDEPEND}
79 x11-proto/xproto"
80
81 src_unpack() {
82
83 unpack ${A}
84 cd "${S}"
85 epatch "${FILESDIR}/${P}-no-scroll-with-buffer.patch"
86 epatch "${FILESDIR}/${P}-display-security.patch"
87 epatch "${FILESDIR}/${P}-stop-polling-when-obscured.patch"
88
89 }
90
91 src_compile() {
92
93 local myconf
94
95 # if you want to pass any other flags, use EXTRA_ECONF.
96 if use linguas_el ; then
97 myconf="${myconf} --enable-greek"
98 fi
99 if use linguas_ja ; then
100 # --with-encoding=sjis
101 myconf="${myconf} --enable-kanji --with-encoding=eucj"
102 fi
103 if use linguas_ko ; then
104 myconf="${myconf} --enable-kr --with-encoding=kr"
105 fi
106 if use linguas_th ; then
107 myconf="${myconf} --enable-thai"
108 fi
109 if use linguas_zh_CN ; then
110 # --with-encoding=gbk
111 myconf="${myconf} --enable-gb --with-encoding=gb"
112 fi
113 if use linguas_zh_TW ; then
114 myconf="${myconf} --enable-big5 --with-encoding=big5"
115 fi
116
117 # 2006-03-13 gi1242: mrxvt works best with TERM=rxvt AND correctly set
118 # termcap / terminfo entries. If the rxvt termcap / terminfo entries are
119 # messed up then then it's better to set TERM=xterm.
120 #
121 # Provide support for this by setting the or RXVT_TERM environment variables
122 # before emerging, as done in the rxvt ebuild.
123
124 if [[ -n ${RXVT_TERM} ]]; then
125 myconf="${myconf} --with-term=${RXVT_TERM}"
126 fi
127
128 econf \
129 --enable-everything \
130 --with-atab-extra=25 \
131 $(use_enable debug) \
132 $(use_enable jpeg) \
133 $(use_enable png) \
134 $(use_enable xpm) \
135 $(use_enable session sessionmgr) \
136 $(use_enable truetype xft) \
137 $(use_enable utempter) \
138 $(use_enable menubar) \
139 ${myconf} || die
140
141 emake || die
142
143 }
144
145 src_install() {
146
147 make DESTDIR="${D}" docdir=/usr/share/doc/${PF} install || die
148 # Give mrxvt perms to update utmp
149 fowners root:utmp /usr/bin/mrxvt
150 fperms g+s /usr/bin/mrxvt
151 dodoc AUTHORS CREDITS ChangeLog FAQ NEWS README* TODO
152
153 }
154
155 pkg_postinst() {
156
157 if [[ -z $RXVT_TERM ]]; then
158 einfo
159 einfo "If you experience problems with curses programs, then this is"
160 einfo "most likely because of incorrectly set termcap / terminfo"
161 einfo "entries. To fix this you can dry and run (as user)"
162 einfo " tic /usr/share/doc/${P}/etc/mrxvt.terminfo"
163 einfo "Alternately, run the offending programs with TERM=xterm."
164 einfo
165 einfo "To emerge mrxvt with TERM=xterm by default, set the RXVT_TERM"
166 einfo "environment variable to 'xterm', or your desired default"
167 einfo "terminal name. Alternately you can put 'Mrxvt.termName: xterm'"
168 einfo "in your ~/.mrxvtrc, or /etc/mrxvt/mrxvtrc."
169 einfo
170 fi
171
172 }
173
174
175
176 --
177 gentoo-commits@l.g.o mailing list