Gentoo Archives: gentoo-commits

From: "Donnie Berkholz (dberkholz)" <dberkholz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/xterm: ChangeLog xterm-232.ebuild
Date: Thu, 31 Jan 2008 03:21:32
Message-Id: E1JKPzV-0003IB-9K@stork.gentoo.org
1 dberkholz 08/01/31 03:21:29
2
3 Modified: ChangeLog
4 Added: xterm-232.ebuild
5 Log:
6 Bump.
7 (Portage version: 2.1.4)
8
9 Revision Changes Path
10 1.224 x11-terms/xterm/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/xterm/ChangeLog?rev=1.224&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/xterm/ChangeLog?rev=1.224&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/xterm/ChangeLog?r1=1.223&r2=1.224
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v
19 retrieving revision 1.223
20 retrieving revision 1.224
21 diff -u -r1.223 -r1.224
22 --- ChangeLog 11 Jan 2008 08:06:45 -0000 1.223
23 +++ ChangeLog 31 Jan 2008 03:21:28 -0000 1.224
24 @@ -1,6 +1,11 @@
25 # ChangeLog for x11-terms/xterm
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v 1.223 2008/01/11 08:06:45 dberkholz Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v 1.224 2008/01/31 03:21:28 dberkholz Exp $
29 +
30 +*xterm-232 (31 Jan 2008)
31 +
32 + 31 Jan 2008; Donnie Berkholz <dberkholz@g.o>; +xterm-232.ebuild:
33 + Bump.
34
35 *xterm-231 (11 Jan 2008)
36
37
38
39
40 1.1 x11-terms/xterm/xterm-232.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/xterm/xterm-232.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/xterm/xterm-232.ebuild?rev=1.1&content-type=text/plain
44
45 Index: xterm-232.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-232.ebuild,v 1.1 2008/01/31 03:21:28 dberkholz Exp $
50
51 inherit flag-o-matic
52
53 DESCRIPTION="Terminal Emulator for X Windows"
54 HOMEPAGE="http://dickey.his.com/xterm/"
55 SRC_URI="ftp://invisible-island.net/${PN}/${P}.tgz"
56
57 LICENSE="X11"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
60 IUSE="truetype Xaw3d unicode toolbar paste64"
61
62 RDEPEND="x11-libs/libX11
63 x11-libs/libXrender
64 x11-libs/libXt
65 x11-libs/libXmu
66 x11-libs/libxkbfile
67 x11-libs/libXft
68 x11-libs/libXaw
69 x11-apps/xmessage
70 unicode? ( x11-apps/luit )
71 Xaw3d? ( x11-libs/Xaw3d )
72 sys-libs/libutempter"
73 DEPEND="${RDEPEND}
74 x11-proto/xproto"
75
76 pkg_setup() {
77 DEFAULTS_DIR="/usr/share/X11/app-defaults"
78 }
79
80 src_compile() {
81 filter-flags "-fstack-protector"
82 replace-flags "-Os" "-O2" # work around gcc-4.1.1-r[01] bugs
83
84 econf --libdir=/etc \
85 --with-x \
86 --with-utempter \
87 --disable-setuid \
88 --disable-full-tgetent \
89 --disable-imake \
90 --disable-narrowproto \
91 --enable-ansi-color \
92 --enable-256-color \
93 --enable-broken-osc \
94 --enable-broken-st \
95 --enable-load-vt-fonts \
96 --enable-i18n \
97 --enable-wide-chars \
98 --enable-doublechars \
99 --enable-warnings \
100 --enable-tcap-query \
101 --enable-logging \
102 --enable-dabbrev \
103 --with-app-defaults=${DEFAULTS_DIR} \
104 $(use_enable toolbar) \
105 $(use_enable truetype freetype) \
106 $(use_enable unicode luit) $(use_enable unicode mini-luit) \
107 $(use_with Xaw3d) \
108 $(use_enable paste64)
109
110 emake || die "emake failed."
111 }
112
113 # Parallel make causes File exists error and dies. Forcing -j1 for now.
114 src_install() {
115 emake -j1 DESTDIR="${D}" install || die "emake install failed."
116 dodoc README{,.i18n} ctlseqs.txt
117 dohtml xterm.log.html
118
119 # Fix permissions -- it grabs them from live system, and they can
120 # be suid or sgid like they were in pre-unix98 pty or pre-utempter days,
121 # respectively (#69510).
122 # (info from Thomas Dickey) - Donnie Berkholz <spyderous@g.o>
123 fperms 0755 /usr/bin/xterm
124
125 # restore the navy blue
126 sed -i "s:blue2$:blue:" "${D}"${DEFAULTS_DIR}/XTerm-color
127
128 # Fix for bug #91453 at Thomas Dickey's suggestion:
129 echo "*allowWindowOps: false" >> "${D}"/${DEFAULTS_DIR}/XTerm
130 echo "*allowWindowOps: false" >> "${D}"/${DEFAULTS_DIR}/UXTerm
131 }
132
133 pkg_postinst() {
134 if use paste64 ; then
135 elog "bracketed paste mode requires the allowWindowOps resource to be true"
136 elog "which is false by default for security reasons (see bug #91453)."
137 elog "To be able to use it add 'allowWindowOps: true' to your resources"
138 fi
139 }
140
141
142
143 --
144 gentoo-commits@l.g.o mailing list