diff options
Diffstat (limited to 'x11-terms/xterm')
-rw-r--r-- | x11-terms/xterm/Manifest | 3 | ||||
-rw-r--r-- | x11-terms/xterm/xterm-388.ebuild | 110 |
2 files changed, 113 insertions, 0 deletions
diff --git a/x11-terms/xterm/Manifest b/x11-terms/xterm/Manifest index ea9772e72f69..09185f5af02c 100644 --- a/x11-terms/xterm/Manifest +++ b/x11-terms/xterm/Manifest @@ -3,7 +3,10 @@ DIST xterm-384.tgz 1539955 BLAKE2B aef38aa61da46c29eacd15c239975cf8fecf140968c72 DIST xterm-384.tgz.asc 729 BLAKE2B 604ec0856dfdf06994f89d2725f3fa61d472c85cbc1a31075272d65ec8dedaef6040133ff9d03c4d0b866c66be98dbdab9c8716d3dad75578f37e5f437872911 SHA512 91eec76c3a0a2359275aad40b1df32035cf73c2d461cebfbcf7c3af1bee4274b66364e29c07b4bef24db9627a944d8c81ac76f6cf3cea193b28edbf411080d60 DIST xterm-386.tgz 1545960 BLAKE2B afcd7f991d0f915c3317bb449359b122360018e22c37d36c257c3fcf6a08ca75b84da16ceb8f594c64760b5c746513a79cf9a8f1217bbf4ee59a5b96fb0c8d9b SHA512 b0508d8e2d440e347d467201c9e8eb528756c9e693a506d0be8996e3050451f4f535b5d70d68994cc2af38e10f175105889b879e55ef7b37180e71255f3db741 DIST xterm-386.tgz.asc 729 BLAKE2B 37097533aa8e92e4162fc37e073085f14e3b3b1dd1823e61eade197638baa8bf4b55fd3e26fdbb25ce0df9dc22bd4803f3d05ec79aa0bb1a7ba223f7047c9c22 SHA512 2ddb0f2dedc0f032990d16daac449e7f03a281728a775b2f0412e1242a0becd4a5a44c0768b86ecc697aa96bc92cdc23756ef83988f1ade74ebc007701a152b3 +DIST xterm-388.tgz 1548336 BLAKE2B fe003ee6a234bf978a3b85ab840f59470239b3584e20e379a62ee45fd70d8e1083cc04f2f2194697cd900a74e3a0c17d67cab07b3b9b32addf23d093464d3ec1 SHA512 7ded1c32b18e629222c9109dc9eb206511762447f07a1043fb63802f036d6d685d332697edd46556c07e6fb5ca95f9bcf836c48d05bd72d626bb90dfa1bfc21a +DIST xterm-388.tgz.asc 729 BLAKE2B 22c15b4ee2aec490bf793ab6893b50a7d4fd48f182066012528df53df9684040664177df07aa1d798e5992e6969f11cd0f6fcf3f1cb666f50c4e68d18cfb690c SHA512 60d45780deba965b11bfe63a173d7413a76c05f043666aa41973296745976fd51380bebb6b6a120983c206889d550fb35895233492c674bc04555957829e4563 EBUILD xterm-384-r1.ebuild 2988 BLAKE2B cca264e0e4168af218a25bd01006d3704a4fb93a972082702de2670e446fcd86d519d1b678114d9b65b893ce7b875d6e2c4e05f2fdba302a1660f9916d895df8 SHA512 27d545d6145d8973e54db137cb8385f3b15c0d69429c3004221c19140b30fc939973076728a986f570b0921caa2debdde2f900d40239e2c8f5ff59002b5a537d EBUILD xterm-384.ebuild 2913 BLAKE2B 159f66dee586ff3e397cbe27ec7c7d746e19b2e6fa2ff27088fb69f3146b80829a3768b3a72faa5071b666a831543a9ea01d07a573318b26168cd5bcddf1d251 SHA512 aee03a9e98b7b082c761c90bfc0f002ae7c538d683cd8e7b1cd30141fe4e55e38d5b456e0cd2cfb26f4e86ee0487f3f8bd2a147490bee0911abd2e02e7c9e55b EBUILD xterm-386.ebuild 2988 BLAKE2B cca264e0e4168af218a25bd01006d3704a4fb93a972082702de2670e446fcd86d519d1b678114d9b65b893ce7b875d6e2c4e05f2fdba302a1660f9916d895df8 SHA512 27d545d6145d8973e54db137cb8385f3b15c0d69429c3004221c19140b30fc939973076728a986f570b0921caa2debdde2f900d40239e2c8f5ff59002b5a537d +EBUILD xterm-388.ebuild 2988 BLAKE2B cca264e0e4168af218a25bd01006d3704a4fb93a972082702de2670e446fcd86d519d1b678114d9b65b893ce7b875d6e2c4e05f2fdba302a1660f9916d895df8 SHA512 27d545d6145d8973e54db137cb8385f3b15c0d69429c3004221c19140b30fc939973076728a986f570b0921caa2debdde2f900d40239e2c8f5ff59002b5a537d MISC metadata.xml 552 BLAKE2B 1de52230aa9b681cee30dd4ee4651521bf9474cb2a99168fd6c8f13e0918cf185dbddd3dc6f97e0c81118680294e9c4d74137378763b021a07d8ce0a1430e18c SHA512 019a08f2f03a270da7a33bf1b0e9bb42864b806990884b9f2c19110238ad5d5fd18bc896e9fa7cde130b4ccf3f7003db43f6b485caf5b021f5d5e36f279f9d36 diff --git a/x11-terms/xterm/xterm-388.ebuild b/x11-terms/xterm/xterm-388.ebuild new file mode 100644 index 000000000000..24958735469f --- /dev/null +++ b/x11-terms/xterm/xterm-388.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2023 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 +} |