Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/xterm/
Date: Sun, 03 Jan 2016 14:19:31
Message-Id: 1451830763.3e99dc00d51faf42098750ba170510229cb7a4e7.polynomial-c@gentoo
1 commit: 3e99dc00d51faf42098750ba170510229cb7a4e7
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 3 14:19:07 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 3 14:19:23 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e99dc00
7
8 x11-terms/xterm: Bump to version 322
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 x11-terms/xterm/Manifest | 1 +
14 x11-terms/xterm/xterm-322.ebuild | 92 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 93 insertions(+)
16
17 diff --git a/x11-terms/xterm/Manifest b/x11-terms/xterm/Manifest
18 index 2ac54b5..ab779ce 100644
19 --- a/x11-terms/xterm/Manifest
20 +++ b/x11-terms/xterm/Manifest
21 @@ -1,3 +1,4 @@
22 DIST xterm-314.tgz 1200426 SHA256 1dbf1e93796c1b71b22b84e82eb58bcf20a14a7f365158819f3b4dbb29fe93f0 SHA512 bce72207b6db288c3873f00b928797dfd2aaea51d183b11d377af008a1a83965bd781c648fd26d88b491197594315b2d2549cfdb44f0dbd856b269aebc31ad9f WHIRLPOOL a9eda394dc47d0d31ab27fe338e3a1d41ef581b1617d324fdb98289374e9d5e4854735ddc4a862323203ec1ecb2788f3ae7e4abe1f3b17b15dadecc6edb9f651
23 DIST xterm-320.tgz 1217356 SHA256 a60dbb574334c081425fa30f011cd9f571e3be7a91e2a84e252461798bce24a7 SHA512 6c234b5564ce1276136bc3ef8ef5d6703ed9dc3af3b0fd7c8c713c0876276fc4bb55cee7137f9a8c45df66531b6bd8eb778bd7660ea35c4aa8aa80ba17ba1263 WHIRLPOOL 2d7b0de46096a7a0426a419007a590bc478d19c7e2ddc3cea2fbfe0998a2f2fe5c6f5da46b5869260207e897a284250fa2cd483d613d65636c01ce366d7b6a5c
24 DIST xterm-321.tgz 1227432 SHA256 ae23b0a2c309d20a676ee05e37241c9d4ae4cd35a88e4764cb179bce3d6186d6 SHA512 a82a3abe5cb8390dd79d547831b73394d512c2f7b6fb303665a3d01870c534f3d285667856805f79af93ee7af65c102ae31430754b86b54ddac9ce5644a192d9 WHIRLPOOL 92470dfc92663435f404526e88551964b9d8de89351230c627476190c6e7e286404f55a56cd75f63fd71a59a06124dabc94895ba00e5243c7cff5a3389de70ba
25 +DIST xterm-322.tgz 1227531 SHA256 9adb41b53f76a3fccaa65d47a87d336094a523985d1d6a6b8cc468375ed109d6 SHA512 12641478cf35daabf45ae4edb0015e2659ca8e9849d56a93765335fc67667ab5ad5eb06c8ca5ed1b90004c22d40a6c57bb624894217b9256d1723154bf5a0c99 WHIRLPOOL bfb2ee3ec96ed9f178ef922b03b947dc2e0072a1787a2c794ac620502ceea7c7bc36d01fc7566ca1ac75dd8c3ba6776d77eadf7a92c0d8040ee39d489bf8e279
26
27 diff --git a/x11-terms/xterm/xterm-322.ebuild b/x11-terms/xterm/xterm-322.ebuild
28 new file mode 100644
29 index 0000000..ace5d27
30 --- /dev/null
31 +++ b/x11-terms/xterm/xterm-322.ebuild
32 @@ -0,0 +1,92 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +inherit eutils flag-o-matic multilib
40 +
41 +DESCRIPTION="Terminal Emulator for X Windows"
42 +HOMEPAGE="http://invisible-island.net/xterm/"
43 +SRC_URI="ftp://invisible-island.net/${PN}/${P}.tgz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +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"
48 +IUSE="+openpty toolbar truetype unicode Xaw3d"
49 +
50 +COMMON_DEPEND="kernel_linux? ( sys-libs/libutempter )
51 + kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
52 + >=sys-libs/ncurses-5.7-r7:0=
53 + x11-apps/xmessage
54 + x11-libs/libX11
55 + x11-libs/libXaw
56 + x11-libs/libXft
57 + x11-libs/libxkbfile
58 + x11-libs/libXmu
59 + x11-libs/libXrender
60 + x11-libs/libXt
61 + unicode? ( x11-apps/luit )
62 + Xaw3d? ( x11-libs/libXaw3d )"
63 +RDEPEND="${COMMON_DEPEND}
64 + media-fonts/font-misc-misc"
65 +DEPEND="${COMMON_DEPEND}
66 + virtual/pkgconfig
67 + x11-proto/kbproto
68 + x11-proto/xproto"
69 +
70 +DOCS=( README{,.i18n} ctlseqs.txt )
71 +
72 +pkg_setup() {
73 + DEFAULTS_DIR="${EPREFIX}"/usr/share/X11/app-defaults
74 +}
75 +
76 +src_configure() {
77 + # 454736
78 + # Workaround for ncurses[tinfo] until upstream fixes their buildsystem using
79 + # something sane like pkg-config or ncurses5-config and stops guessing libs
80 + # Everything gets linked against ncurses anyways, so don't shout
81 + append-libs $(pkg-config --libs ncurses)
82 +
83 + econf \
84 + --libdir="${EPREFIX}"/etc \
85 + --disable-full-tgetent \
86 + --with-app-defaults="${DEFAULTS_DIR}" \
87 + --disable-setuid \
88 + --disable-setgid \
89 + --with-utempter \
90 + --with-x \
91 + $(use_with Xaw3d) \
92 + --disable-imake \
93 + --enable-256-color \
94 + --enable-broken-osc \
95 + --enable-broken-st \
96 + --enable-exec-xterm \
97 + $(use_enable truetype freetype) \
98 + --enable-i18n \
99 + --enable-load-vt-fonts \
100 + --enable-logging \
101 + $(use_enable openpty) \
102 + $(use_enable toolbar) \
103 + $(use_enable unicode mini-luit) \
104 + $(use_enable unicode luit) \
105 + --enable-wide-chars \
106 + --enable-dabbrev \
107 + --enable-warnings
108 +}
109 +
110 +src_install() {
111 + default
112 +
113 + dohtml xterm.log.html
114 + domenu *.desktop
115 +
116 + # Fix permissions -- it grabs them from live system, and they can
117 + # be suid or sgid like they were in pre-unix98 pty or pre-utempter days,
118 + # respectively (#69510).
119 + # (info from Thomas Dickey) - Donnie Berkholz <spyderous@g.o>
120 + fperms 0755 /usr/bin/xterm
121 +
122 + # restore the navy blue
123 + sed -i -e "s:blue2$:blue:" "${D}${DEFAULTS_DIR}"/XTerm-color || die
124 +}