summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-23 01:39:37 +0100
committerSam James <sam@gentoo.org>2024-05-23 02:35:17 +0100
commit5379ee90f68182a24e598fe1765874c93a52be35 (patch)
tree6ee4ad70e59fd25e0754bc3410b22a94724b770c /x11-terms/xterm
parentdev-perl/Class-XSAccessor: EAPI 8, rely on eclass impls (diff)
downloadgentoo-5379ee90f68182a24e598fe1765874c93a52be35.tar.gz
gentoo-5379ee90f68182a24e598fe1765874c93a52be35.tar.bz2
gentoo-5379ee90f68182a24e598fe1765874c93a52be35.zip
x11-terms/xterm: add 392
Closes: https://bugs.gentoo.org/932154 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-terms/xterm')
-rw-r--r--x11-terms/xterm/Manifest2
-rw-r--r--x11-terms/xterm/xterm-392.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/x11-terms/xterm/Manifest b/x11-terms/xterm/Manifest
index 07054479e50b..4262e8b3a632 100644
--- a/x11-terms/xterm/Manifest
+++ b/x11-terms/xterm/Manifest
@@ -4,3 +4,5 @@ DIST xterm-390.tgz 1580899 BLAKE2B 0f8f894cac4511ae1eb982ec9a2b94171d3967f061b3d
DIST xterm-390.tgz.asc 729 BLAKE2B a095355c7e1d7ad01e6a693a111e5d7145ed4ae7ae870862e85d631b56e1af2a4b5f3feaf599b83ef677543d6f24bbffbc1ad4ccf1b2ba2eb13d83d065518e79 SHA512 44093a1fd6db3902253bc66611ad21d6807faa92f248cf23e46e60556cd7e86f8a77d9b4c7ba167b3bbb8607ae49d7569e10c92589cb86203aadd4024db3162b
DIST xterm-391.tgz 1584678 BLAKE2B 6f40a766955817c5af1685a3ca8f4e44c337cb22b8395ee581c433ea42cb054a11a6baa7f7e067392a56e307c06d9931c5f6c8f87edac54c16aba0b4756b6ea0 SHA512 60a6bcdb194e37ee716995b4d252ebe2adb9f2b7321936449b877455887c120be3f96dccbc6c7ef60de23286e926a07677780db2ce02ed89da4e39537aa820e1
DIST xterm-391.tgz.asc 729 BLAKE2B 0905d0c3d756fc80ab21b29038af12c8be4e2385175ed3ce2e7072267d41559e611cc5b6d55173538607ee46d2ac82c68b40410126d002efd5e6ea6a36ad3970 SHA512 f18caf1ccaf1066de48abc9a0394c6143c8663187e3b2de22090a89a69b5da67b05c9ca1017fe17a100a911784a7f3174ac7081ad46317dfaeb7d24828a341ca
+DIST xterm-392.tgz 1584968 BLAKE2B 2dbdc8a60922cd1d3d452b004645673c0fda9e2905c1157be0ee092f024c3871f1808720fac0db65901ffc3849b7c52e2e30f97bd6e411d27352c848b94e9755 SHA512 41d19b3b8429ed193e37a926a62fe92083bf1b6675de6deac6b0ba408a0022f3592452378ac3b38d69c74312c61fbeff0e3255061bef7b810faa99ba1e09ed08
+DIST xterm-392.tgz.asc 729 BLAKE2B 49a2c9c1ae4f741cfadea2a66c7647e28e69700612f2078d7caa40ccf2b76f835c919aa94a99c69f9ccd9f67c6b732e750bbe1f164b53c2c28a6ffe37b28bac4 SHA512 73d3d3362cd50887a575cb44f79b04654da4f16c05ed5c5b9f7ddb3e223972a79de946fa6c010fea0901466d1b5e5caf39b39ea88c84ed4b48514a126ba1c017
diff --git a/x11-terms/xterm/xterm-392.ebuild b/x11-terms/xterm/xterm-392.ebuild
new file mode 100644
index 000000000000..cd361e1d8205
--- /dev/null
+++ b/x11-terms/xterm/xterm-392.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/thomasdickey.asc
+inherit desktop flag-o-matic toolchain-funcs verify-sig xdg
+
+DESCRIPTION="Terminal Emulator for X Windows"
+HOMEPAGE="https://invisible-island.net/xterm/"
+SRC_URI="https://invisible-island.net/archives/${PN}/${P}.tgz"
+SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${P}.tgz.asc )"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="+openpty sixel toolbar truetype unicode Xaw3d xinerama"
+
+DEPEND="
+ kernel_linux? ( sys-libs/libutempter )
+ media-libs/fontconfig:1.0
+ >=sys-libs/ncurses-5.7-r7:=
+ x11-apps/xmessage
+ x11-libs/libICE
+ 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 )
+ xinerama? ( x11-libs/libXinerama )"
+RDEPEND="${DEPEND}
+ media-fonts/font-misc-misc
+ x11-apps/rgb"
+DEPEND+=" x11-base/xorg-proto"
+BDEPEND="
+ virtual/pkgconfig
+ verify-sig? ( sec-keys/openpgp-keys-thomasdickey )
+"
+
+DOCS=( README{,.i18n} ctlseqs.txt )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-384-unconditional-gnusource.patch
+)
+
+src_configure() {
+ DEFAULTS_DIR="${EPREFIX}"/usr/share/X11/app-defaults
+
+ # bug #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 $($(tc-getPKG_CONFIG) --libs ncurses)
+
+ local myeconfargs=(
+ --disable-full-tgetent
+ --disable-imake
+ --disable-setgid
+ --disable-setuid
+ --enable-256-color
+ --enable-broken-osc
+ --enable-broken-st
+ --enable-dabbrev
+ --enable-exec-xterm
+ --enable-i18n
+ --enable-load-vt-fonts
+ --enable-logging
+ --enable-screen-dumps
+ --enable-warnings
+ --enable-wide-chars
+ --libdir="${EPREFIX}"/etc
+ --with-app-defaults="${DEFAULTS_DIR}"
+ --with-icon-theme=hicolor
+ --with-icondir="${EPREFIX}"/usr/share/icons
+ --with-utempter
+ --with-x
+ $(use_enable openpty)
+ $(use_enable sixel sixel-graphics)
+ $(use_enable toolbar)
+ $(use_enable truetype freetype)
+ $(use_enable unicode luit)
+ $(use_enable unicode mini-luit)
+ $(use_with Xaw3d)
+ $(use_with xinerama)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ docinto html
+ dodoc xterm.log.html
+ sed -i -e 's/_48x48//g' *.desktop || die
+ 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
+}