Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-terms/xterm: ChangeLog xterm-281.ebuild
Date: Tue, 26 Jun 2012 17:30:22
Message-Id: 20120626173006.E85702004B@flycatcher.gentoo.org
1 ssuominen 12/06/26 17:30:06
2
3 Modified: ChangeLog
4 Added: xterm-281.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha111/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.358 x11-terms/xterm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-terms/xterm/ChangeLog?rev=1.358&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-terms/xterm/ChangeLog?rev=1.358&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-terms/xterm/ChangeLog?r1=1.357&r2=1.358
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v
20 retrieving revision 1.357
21 retrieving revision 1.358
22 diff -u -r1.357 -r1.358
23 --- ChangeLog 24 Jun 2012 19:47:33 -0000 1.357
24 +++ ChangeLog 26 Jun 2012 17:30:06 -0000 1.358
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-terms/xterm
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v 1.357 2012/06/24 19:47:33 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v 1.358 2012/06/26 17:30:06 ssuominen Exp $
30 +
31 +*xterm-281 (26 Jun 2012)
32 +
33 + 26 Jun 2012; Samuli Suominen <ssuominen@g.o> +xterm-281.ebuild:
34 + Version bump.
35
36 24 Jun 2012; Agostino Sarubbo <ago@g.o> xterm-279.ebuild:
37 Stable for x86, wrt bug #419473
38
39
40
41 1.1 x11-terms/xterm/xterm-281.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-terms/xterm/xterm-281.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-terms/xterm/xterm-281.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xterm-281.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-281.ebuild,v 1.1 2012/06/26 17:30:06 ssuominen Exp $
51
52 EAPI=4
53 inherit eutils multilib
54
55 DESCRIPTION="Terminal Emulator for X Windows"
56 HOMEPAGE="http://dickey.his.com/xterm/"
57 SRC_URI="ftp://invisible-island.net/${PN}/${P}.tgz"
58
59 LICENSE="MIT"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
62 IUSE="toolbar truetype unicode Xaw3d"
63
64 COMMON_DEPEND="kernel_linux? ( sys-libs/libutempter )
65 kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
66 >=sys-libs/ncurses-5.7-r7
67 x11-apps/xmessage
68 x11-libs/libX11
69 x11-libs/libXaw
70 x11-libs/libXft
71 x11-libs/libxkbfile
72 x11-libs/libXmu
73 x11-libs/libXrender
74 x11-libs/libXt
75 unicode? ( x11-apps/luit )
76 Xaw3d? ( x11-libs/libXaw3d )"
77 RDEPEND="${COMMON_DEPEND}
78 media-fonts/font-misc-misc"
79 DEPEND="${COMMON_DEPEND}
80 virtual/pkgconfig
81 x11-proto/kbproto
82 x11-proto/xproto"
83
84 pkg_setup() {
85 DEFAULTS_DIR="${EPREFIX}"/usr/share/X11/app-defaults
86 }
87
88 src_configure() {
89 # looking for reason why crosscompile failed? try restoring this:
90 # --x-libraries="${ROOT}usr/$(get_libdir)"
91 # -ssuominen, 2011
92
93 econf \
94 --libdir="${EPREFIX}"/etc \
95 --disable-full-tgetent \
96 --with-app-defaults=${DEFAULTS_DIR} \
97 --disable-setuid \
98 --disable-setgid \
99 --with-utempter \
100 --with-x \
101 $(use_with Xaw3d) \
102 --disable-imake \
103 --enable-256-color \
104 --enable-broken-osc \
105 --enable-broken-st \
106 --enable-exec-xterm \
107 $(use_enable truetype freetype) \
108 --enable-i18n \
109 --enable-load-vt-fonts \
110 --enable-logging \
111 $(use_enable toolbar) \
112 $(use_enable unicode mini-luit) \
113 $(use_enable unicode luit) \
114 --enable-wide-chars \
115 --enable-dabbrev \
116 --enable-warnings
117 }
118
119 src_install() {
120 emake DESTDIR="${D}" install
121 dodoc README{,.i18n} ctlseqs.txt
122 dohtml xterm.log.html
123 domenu *.desktop
124
125 # Fix permissions -- it grabs them from live system, and they can
126 # be suid or sgid like they were in pre-unix98 pty or pre-utempter days,
127 # respectively (#69510).
128 # (info from Thomas Dickey) - Donnie Berkholz <spyderous@g.o>
129 fperms 0755 /usr/bin/xterm
130
131 # restore the navy blue
132 sed -i -e "s:blue2$:blue:" "${ED}"${DEFAULTS_DIR}/XTerm-color
133 }