summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-10 17:44:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-10 17:44:07 +0000
commit674d2ecbe5bc32b93a6dea746044dfbbd12393f7 (patch)
tree122975ea08cbe0afc1196968919fae0b028529a8
parentrm (diff)
downloadgentoo-2-674d2ecbe5bc32b93a6dea746044dfbbd12393f7.tar.gz
gentoo-2-674d2ecbe5bc32b93a6dea746044dfbbd12393f7.tar.bz2
gentoo-2-674d2ecbe5bc32b93a6dea746044dfbbd12393f7.zip
Version bump wrt #336745 by Jeroen Roovers. Pass --enable-exec-xterm wrt #315353 by Dimitrios Christidis.
(Portage version: 2.2_rc78/cvs/Linux x86_64)
-rw-r--r--x11-terms/xterm/ChangeLog8
-rw-r--r--x11-terms/xterm/xterm-262.ebuild79
2 files changed, 86 insertions, 1 deletions
diff --git a/x11-terms/xterm/ChangeLog b/x11-terms/xterm/ChangeLog
index d5a27257da03..f727351d259b 100644
--- a/x11-terms/xterm/ChangeLog
+++ b/x11-terms/xterm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-terms/xterm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v 1.293 2010/04/14 14:40:03 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v 1.294 2010/09/10 17:44:07 ssuominen Exp $
+
+*xterm-262 (10 Sep 2010)
+
+ 10 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> +xterm-262.ebuild:
+ Version bump wrt #336745 by Jeroen Roovers. Pass --enable-exec-xterm wrt
+ #315353 by Dimitrios Christidis.
*xterm-256 (14 Apr 2010)
diff --git a/x11-terms/xterm/xterm-262.ebuild b/x11-terms/xterm/xterm-262.ebuild
new file mode 100644
index 000000000000..5069a109571b
--- /dev/null
+++ b/x11-terms/xterm/xterm-262.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-262.ebuild,v 1.1 2010/09/10 17:44:07 ssuominen Exp $
+
+EAPI=2
+inherit multilib
+
+DESCRIPTION="Terminal Emulator for X Windows"
+HOMEPAGE="http://dickey.his.com/xterm/"
+SRC_URI="ftp://invisible-island.net/${PN}/${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="toolbar truetype unicode Xaw3d"
+
+COMMON_DEPEND="x11-libs/libX11
+ x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/libXmu
+ x11-libs/libxkbfile
+ x11-libs/libXft
+ x11-libs/libXaw
+ x11-apps/xmessage
+ unicode? ( x11-apps/luit )
+ Xaw3d? ( x11-libs/Xaw3d )
+ sys-libs/libutempter"
+RDEPEND="${COMMON_DEPEND}
+ media-fonts/font-misc-misc"
+DEPEND="${COMMON_DEPEND}
+ x11-proto/xproto
+ x11-proto/kbproto"
+
+pkg_setup() {
+ DEFAULTS_DIR=/usr/share/X11/app-defaults
+}
+
+src_configure() {
+ econf \
+ --libdir=/etc \
+ --x-libraries="${ROOT}usr/$(get_libdir)" \
+ --disable-full-tgetent \
+ --with-app-defaults=${DEFAULTS_DIR} \
+ --disable-setuid \
+ --disable-setgid \
+ --with-utempter \
+ --with-x \
+ $(use_with Xaw3d) \
+ --disable-imake \
+ --enable-256-color \
+ --enable-broken-osc \
+ --enable-broken-st \
+ --enable-exec-xterm \
+ $(use_enable truetype freetype) \
+ --enable-i18n \
+ --enable-load-vt-fonts \
+ --enable-logging \
+ $(use_enable toolbar) \
+ $(use_enable unicode mini-luit) \
+ $(use_enable unicode luit) \
+ --enable-wide-chars \
+ --enable-dabbrev \
+ --enable-warnings
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README{,.i18n} ctlseqs.txt
+ dohtml xterm.log.html
+
+ # Fix permissions -- it grabs them from live system, and they can
+ # be suid or sgid like they were in pre-unix98 pty or pre-utempter days,
+ # respectively (#69510).
+ # (info from Thomas Dickey) - Donnie Berkholz <spyderous@gentoo.org>
+ fperms 0755 /usr/bin/xterm
+
+ # restore the navy blue
+ sed -i -e "s:blue2$:blue:" "${D}"${DEFAULTS_DIR}/XTerm-color
+}