Gentoo Archives: gentoo-commits

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