summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-terms/xterm/Manifest1
-rw-r--r--x11-terms/xterm/xterm-321.ebuild92
2 files changed, 93 insertions, 0 deletions
diff --git a/x11-terms/xterm/Manifest b/x11-terms/xterm/Manifest
index 3b52bfb0328..4ab3ac0aee0 100644
--- a/x11-terms/xterm/Manifest
+++ b/x11-terms/xterm/Manifest
@@ -2,3 +2,4 @@ DIST xterm-314.tgz 1200426 SHA256 1dbf1e93796c1b71b22b84e82eb58bcf20a14a7f365158
DIST xterm-318.tgz 1208968 SHA256 e71f2b0fb11d6c723c1f9af10fc01048b776f44c1636aa1b71e5eff77deb81d7 SHA512 d1ff9b4359a49f47cc9e5e7d6311242b7beef57e554389fe3033f69263b871ad5ba89d74b428d79564f013efced2d2d36cfac987aed8ab873722fdeb8fd6abf6 WHIRLPOOL 3712f84d50f3b281793ac7a2ffd9e604f663218d4a99f064c5b5d899ee11581a1bcdfdabf5f4be6c9c619f8069ed84777f64a50922b1d9e1bb28d84cc5e0831d
DIST xterm-319.tgz 1216710 SHA256 e3b3ef8c3f3f0288e830ead85a49616f63f284abac430f032d9b87ffe471227d SHA512 ae1d18a281ae456b527dae942f690267e4745441465496c1ad47764df03bf4c7ee8a739502d0eb5c02295b9383f3fa9e2575918cfe409259381d42c16240620d WHIRLPOOL d561053d2d4e874e741f5f538b90eb700556e438a06709a832b82f64c820b4f991bacfd6708c6ec87d7982ff1c90d89cf09c4b9a8e5441113e76927075191564
DIST xterm-320.tgz 1217356 SHA256 a60dbb574334c081425fa30f011cd9f571e3be7a91e2a84e252461798bce24a7 SHA512 6c234b5564ce1276136bc3ef8ef5d6703ed9dc3af3b0fd7c8c713c0876276fc4bb55cee7137f9a8c45df66531b6bd8eb778bd7660ea35c4aa8aa80ba17ba1263 WHIRLPOOL 2d7b0de46096a7a0426a419007a590bc478d19c7e2ddc3cea2fbfe0998a2f2fe5c6f5da46b5869260207e897a284250fa2cd483d613d65636c01ce366d7b6a5c
+DIST xterm-321.tgz 1227432 SHA256 ae23b0a2c309d20a676ee05e37241c9d4ae4cd35a88e4764cb179bce3d6186d6 SHA512 a82a3abe5cb8390dd79d547831b73394d512c2f7b6fb303665a3d01870c534f3d285667856805f79af93ee7af65c102ae31430754b86b54ddac9ce5644a192d9 WHIRLPOOL 92470dfc92663435f404526e88551964b9d8de89351230c627476190c6e7e286404f55a56cd75f63fd71a59a06124dabc94895ba00e5243c7cff5a3389de70ba
diff --git a/x11-terms/xterm/xterm-321.ebuild b/x11-terms/xterm/xterm-321.ebuild
new file mode 100644
index 00000000000..ace5d2730cb
--- /dev/null
+++ b/x11-terms/xterm/xterm-321.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib
+
+DESCRIPTION="Terminal Emulator for X Windows"
+HOMEPAGE="http://invisible-island.net/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 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="+openpty toolbar truetype unicode Xaw3d"
+
+COMMON_DEPEND="kernel_linux? ( sys-libs/libutempter )
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
+ >=sys-libs/ncurses-5.7-r7:0=
+ 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}
+ virtual/pkgconfig
+ x11-proto/kbproto
+ x11-proto/xproto"
+
+DOCS=( README{,.i18n} ctlseqs.txt )
+
+pkg_setup() {
+ DEFAULTS_DIR="${EPREFIX}"/usr/share/X11/app-defaults
+}
+
+src_configure() {
+ # 454736
+ # Workaround for ncurses[tinfo] until upstream fixes their buildsystem using
+ # something sane like pkg-config or ncurses5-config and stops guessing libs
+ # Everything gets linked against ncurses anyways, so don't shout
+ append-libs $(pkg-config --libs ncurses)
+
+ econf \
+ --libdir="${EPREFIX}"/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 openpty) \
+ $(use_enable toolbar) \
+ $(use_enable unicode mini-luit) \
+ $(use_enable unicode luit) \
+ --enable-wide-chars \
+ --enable-dabbrev \
+ --enable-warnings
+}
+
+src_install() {
+ default
+
+ 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 || die
+}