Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/xterm/
Date: Mon, 04 Oct 2021 03:50:53
Message-Id: 1633319404.09abfd715164bdd9f442b5dd37e295763181e8f9.sam@gentoo
1 commit: 09abfd715164bdd9f442b5dd37e295763181e8f9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 4 03:50:04 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 4 03:50:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09abfd71
7
8 x11-terms/xterm: add 369
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 x11-terms/xterm/Manifest | 1 +
13 x11-terms/xterm/xterm-369.ebuild | 99 ++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 100 insertions(+)
15
16 diff --git a/x11-terms/xterm/Manifest b/x11-terms/xterm/Manifest
17 index f71b6dbca56..aafe202c6a0 100644
18 --- a/x11-terms/xterm/Manifest
19 +++ b/x11-terms/xterm/Manifest
20 @@ -1,3 +1,4 @@
21 DIST xterm-366.tgz 1445992 BLAKE2B 4724851b84ae0682b39e5f1b070ba9f04c627511aa20a5b1c76e740666e14436a0095d8a1be4f6ad54eb1e5d841ef766b0bf4d840ebddcaea0889285f1377900 SHA512 ffab7e0970b92a25488bd57da2dfe2856279208c489a632e0e92788deec2a4f99510f76e1c88e55f389dfe984c323add0fab31b04d2a1d774ce6d3b2c9c642ef
22 DIST xterm-367.tgz 1448562 BLAKE2B 29b38ba3b48c843ecbf22d209a05afb4e9a6d52cf8f14efa18ed5dd02b26cc11c107bfb17260cb62f68fc318cb08e5147b5f12e8779ca63151c7b712ada60b7e SHA512 86fd6ed4e4aa0201349edd67d8bf00d3b93a19640307372011f9bdcd26fdb453267d1ab092a0639902e419b00c175d793b196884b6e65e546650e1b83a4461c4
23 DIST xterm-368.tgz 1451700 BLAKE2B 3fe939b8248e8839ba8b73b0971ab380e5f6528f51bd1993cc26d53755177fd5537cdbf2044f7fedad20663b3a7b42bc7f8b1c138233d44eb91472840f8448e1 SHA512 ea2f27722795c47a406cf4956ecdd05bae19aee621a0183aa167d188a90767a859ce41c6d1b1352b5ebd94d920360d3f26248ec0bb2068c253583d460baeafda
24 +DIST xterm-369.tgz 1461310 BLAKE2B 0b807b07c71af39df6b38b16b45f8f24a77e00bf41243c1109cf25c7ff448729b0ed64d62a99e954e0939e4f8ac6298afdc61b4098cf489eadbef55940e0f277 SHA512 b574e75e8bc7918f6e637534a39ebbc72cfbc74e4ff3e2b914962722b9c6e60adee49d74ebe1e778bcb35556e04098baa4465d1694fde61fbcca6434e6e706a7
25
26 diff --git a/x11-terms/xterm/xterm-369.ebuild b/x11-terms/xterm/xterm-369.ebuild
27 new file mode 100644
28 index 00000000000..360ff3a4776
29 --- /dev/null
30 +++ b/x11-terms/xterm/xterm-369.ebuild
31 @@ -0,0 +1,99 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit desktop flag-o-matic toolchain-funcs
38 +
39 +DESCRIPTION="Terminal Emulator for X Windows"
40 +HOMEPAGE="https://invisible-island.net/xterm/"
41 +SRC_URI="ftp://ftp.invisible-island.net/${PN}/${P}.tgz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
46 +IUSE="+openpty sixel toolbar truetype unicode Xaw3d xinerama"
47 +
48 +BDEPEND="virtual/pkgconfig
49 + x11-base/xorg-proto"
50 +DEPEND="kernel_linux? ( sys-libs/libutempter )
51 + kernel_FreeBSD? ( sys-libs/libutempter )
52 + media-libs/fontconfig:1.0
53 + >=sys-libs/ncurses-5.7-r7:0=
54 + x11-apps/xmessage
55 + x11-libs/libICE
56 + x11-libs/libX11
57 + x11-libs/libXaw
58 + x11-libs/libXft
59 + x11-libs/libxkbfile
60 + x11-libs/libXmu
61 + x11-libs/libXrender
62 + x11-libs/libXt
63 + unicode? ( x11-apps/luit )
64 + Xaw3d? ( x11-libs/libXaw3d )
65 + xinerama? ( x11-libs/libXinerama )"
66 +RDEPEND="${DEPEND}
67 + media-fonts/font-misc-misc
68 + x11-apps/rgb"
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 $($(tc-getPKG_CONFIG) --libs ncurses)
82 +
83 + local myeconfargs=(
84 + --disable-full-tgetent
85 + --disable-imake
86 + --disable-setgid
87 + --disable-setuid
88 + --enable-256-color
89 + --enable-broken-osc
90 + --enable-broken-st
91 + --enable-dabbrev
92 + --enable-exec-xterm
93 + --enable-i18n
94 + --enable-load-vt-fonts
95 + --enable-logging
96 + --enable-screen-dumps
97 + --enable-warnings
98 + --enable-wide-chars
99 + --libdir="${EPREFIX}"/etc
100 + --with-app-defaults="${DEFAULTS_DIR}"
101 + --with-utempter
102 + --with-x
103 + $(use_enable openpty)
104 + $(use_enable sixel sixel-graphics)
105 + $(use_enable toolbar)
106 + $(use_enable truetype freetype)
107 + $(use_enable unicode luit)
108 + $(use_enable unicode mini-luit)
109 + $(use_with Xaw3d)
110 + $(use_with xinerama)
111 + )
112 + econf "${myeconfargs[@]}"
113 +}
114 +
115 +src_install() {
116 + default
117 +
118 + docinto html
119 + dodoc xterm.log.html
120 + domenu *.desktop
121 +
122 + # Fix permissions -- it grabs them from live system, and they can
123 + # be suid or sgid like they were in pre-unix98 pty or pre-utempter days,
124 + # respectively (#69510).
125 + # (info from Thomas Dickey) - Donnie Berkholz <spyderous@g.o>
126 + fperms 0755 /usr/bin/xterm
127 +
128 + # restore the navy blue
129 + sed -i -e 's:blue2$:blue:' "${D}${DEFAULTS_DIR}"/XTerm-color || die
130 +}