summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-10-14 20:53:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-10-14 20:53:52 +0000
commit786a3255c5cf0a393093ad2bf44447fb764fe4e1 (patch)
tree8cdad0986da37b1dffbfd45e2fe4557d7e613cd4 /x11-terms
parentold (diff)
downloadgentoo-2-786a3255c5cf0a393093ad2bf44447fb764fe4e1.tar.gz
gentoo-2-786a3255c5cf0a393093ad2bf44447fb764fe4e1.tar.bz2
gentoo-2-786a3255c5cf0a393093ad2bf44447fb764fe4e1.zip
Version bump.
(Portage version: 2.2.0_alpha64/cvs/Linux x86_64)
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/xterm/ChangeLog7
-rw-r--r--x11-terms/xterm/xterm-276.ebuild85
2 files changed, 91 insertions, 1 deletions
diff --git a/x11-terms/xterm/ChangeLog b/x11-terms/xterm/ChangeLog
index 718d63c472db..6dcd384f8b83 100644
--- a/x11-terms/xterm/ChangeLog
+++ b/x11-terms/xterm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-terms/xterm
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v 1.338 2011/10/14 20:51:33 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/ChangeLog,v 1.339 2011/10/14 20:53:52 ssuominen Exp $
+
+*xterm-276 (14 Oct 2011)
+
+ 14 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> +xterm-276.ebuild:
+ Version bump.
14 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -xterm-267.ebuild,
-xterm-269.ebuild, -xterm-270.ebuild, -xterm-274.ebuild:
diff --git a/x11-terms/xterm/xterm-276.ebuild b/x11-terms/xterm/xterm-276.ebuild
new file mode 100644
index 000000000000..ec445367de4b
--- /dev/null
+++ b/x11-terms/xterm/xterm-276.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-276.ebuild,v 1.1 2011/10/14 20:53:52 ssuominen Exp $
+
+EAPI=4
+inherit eutils 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="sys-libs/libutempter
+ >=sys-libs/ncurses-5.6-r2
+ x11-apps/xmessage
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXft
+ x11-libs/libxkbfile
+ x11-libs/libXmu
+ x11-libs/libXrender
+ x11-libs/libXt
+ unicode? ( x11-apps/luit )
+ Xaw3d? ( x11-libs/libXaw3d )"
+RDEPEND="${COMMON_DEPEND}
+ media-fonts/font-misc-misc"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig
+ x11-proto/kbproto
+ x11-proto/xproto"
+
+pkg_setup() {
+ DEFAULTS_DIR=/usr/share/X11/app-defaults
+}
+
+src_configure() {
+ # looking for reason why crosscompile failed? try restoring this:
+ # --x-libraries="${ROOT}usr/$(get_libdir)"
+ # -ssuominen, 2011
+
+ econf \
+ --libdir=/etc \
+ --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
+ dodoc README{,.i18n} ctlseqs.txt
+ dohtml xterm.log.html
+ domenu *.desktop
+
+ # 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
+}