diff options
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/xterm/Manifest | 1 | ||||
-rw-r--r-- | x11-terms/xterm/xterm-322.ebuild | 92 |
2 files changed, 93 insertions, 0 deletions
diff --git a/x11-terms/xterm/Manifest b/x11-terms/xterm/Manifest index 2ac54b5b4486..ab779cee062e 100644 --- a/x11-terms/xterm/Manifest +++ b/x11-terms/xterm/Manifest @@ -1,3 +1,4 @@ DIST xterm-314.tgz 1200426 SHA256 1dbf1e93796c1b71b22b84e82eb58bcf20a14a7f365158819f3b4dbb29fe93f0 SHA512 bce72207b6db288c3873f00b928797dfd2aaea51d183b11d377af008a1a83965bd781c648fd26d88b491197594315b2d2549cfdb44f0dbd856b269aebc31ad9f WHIRLPOOL a9eda394dc47d0d31ab27fe338e3a1d41ef581b1617d324fdb98289374e9d5e4854735ddc4a862323203ec1ecb2788f3ae7e4abe1f3b17b15dadecc6edb9f651 DIST xterm-320.tgz 1217356 SHA256 a60dbb574334c081425fa30f011cd9f571e3be7a91e2a84e252461798bce24a7 SHA512 6c234b5564ce1276136bc3ef8ef5d6703ed9dc3af3b0fd7c8c713c0876276fc4bb55cee7137f9a8c45df66531b6bd8eb778bd7660ea35c4aa8aa80ba17ba1263 WHIRLPOOL 2d7b0de46096a7a0426a419007a590bc478d19c7e2ddc3cea2fbfe0998a2f2fe5c6f5da46b5869260207e897a284250fa2cd483d613d65636c01ce366d7b6a5c DIST xterm-321.tgz 1227432 SHA256 ae23b0a2c309d20a676ee05e37241c9d4ae4cd35a88e4764cb179bce3d6186d6 SHA512 a82a3abe5cb8390dd79d547831b73394d512c2f7b6fb303665a3d01870c534f3d285667856805f79af93ee7af65c102ae31430754b86b54ddac9ce5644a192d9 WHIRLPOOL 92470dfc92663435f404526e88551964b9d8de89351230c627476190c6e7e286404f55a56cd75f63fd71a59a06124dabc94895ba00e5243c7cff5a3389de70ba +DIST xterm-322.tgz 1227531 SHA256 9adb41b53f76a3fccaa65d47a87d336094a523985d1d6a6b8cc468375ed109d6 SHA512 12641478cf35daabf45ae4edb0015e2659ca8e9849d56a93765335fc67667ab5ad5eb06c8ca5ed1b90004c22d40a6c57bb624894217b9256d1723154bf5a0c99 WHIRLPOOL bfb2ee3ec96ed9f178ef922b03b947dc2e0072a1787a2c794ac620502ceea7c7bc36d01fc7566ca1ac75dd8c3ba6776d77eadf7a92c0d8040ee39d489bf8e279 diff --git a/x11-terms/xterm/xterm-322.ebuild b/x11-terms/xterm/xterm-322.ebuild new file mode 100644 index 000000000000..ace5d2730cb1 --- /dev/null +++ b/x11-terms/xterm/xterm-322.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 +} |