From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BD738158086 for ; Sat, 8 Jan 2022 10:29:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1EDCF2BC014; Sat, 8 Jan 2022 10:29:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3BB52BC014 for ; Sat, 8 Jan 2022 10:29:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26913342DFD for ; Sat, 8 Jan 2022 10:29:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B520C286 for ; Sat, 8 Jan 2022 10:29:38 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1641637763.92126d7ad3a853e5a8854a99842e02c1ac465805.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/st-terminfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-terms/st-terminfo/Manifest x11-terms/st-terminfo/metadata.xml x11-terms/st-terminfo/st-terminfo-0.8.5.ebuild x11-terms/st-terminfo/st-terminfo-9999.ebuild X-VCS-Directories: x11-terms/st-terminfo/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 92126d7ad3a853e5a8854a99842e02c1ac465805 X-VCS-Branch: master Date: Sat, 8 Jan 2022 10:29:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 15fb4594-5cd3-4860-8a57-85c3b3618ffb X-Archives-Hash: c0a97e276f656a94a5257345ee5b86a3 commit: 92126d7ad3a853e5a8854a99842e02c1ac465805 Author: Ferenc Erki gmail com> AuthorDate: Sat Jan 8 10:19:57 2022 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sat Jan 8 10:29:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92126d7a x11-terms/st-terminfo: initial import This reverts commit 3215a06f5a0b44e99ab9619656f740daa4dbeee4. PR: https://github.com/gentoo/gentoo/pull/18326 Bug: https://bugs.gentoo.org/592332 Co-authored-by: Ferenc Erki gmail.com> Signed-off-by: Ferenc Erki gmail.com> Signed-off-by: Georgy Yakovlev gentoo.org> x11-terms/st-terminfo/Manifest | 1 + x11-terms/st-terminfo/metadata.xml | 8 ++++ x11-terms/st-terminfo/st-terminfo-0.8.5.ebuild | 51 ++++++++++++++++++++++++++ x11-terms/st-terminfo/st-terminfo-9999.ebuild | 51 ++++++++++++++++++++++++++ 4 files changed, 111 insertions(+) diff --git a/x11-terms/st-terminfo/Manifest b/x11-terms/st-terminfo/Manifest new file mode 100644 index 000000000000..589989ed4491 --- /dev/null +++ b/x11-terms/st-terminfo/Manifest @@ -0,0 +1 @@ +DIST st-0.8.5.tar.gz 47829 BLAKE2B 9c036b39605dcc69c03fd5a67e911545eb41e3e748efbcf4761770b2a9bf9f158fc1da1fc140b84fb9939fcb35ce126de444cd567806c350e8e2905907bdf645 SHA512 45cc51f9fc343bd80a48f23f5b00e41e0cc01a538474e0578dd02f02ce92cb560e0e7464ec47fd7de4d39483b23fda212c3e7c64233e8a3f4ab6862144d76323 diff --git a/x11-terms/st-terminfo/metadata.xml b/x11-terms/st-terminfo/metadata.xml new file mode 100644 index 000000000000..2f82d0bb8eb7 --- /dev/null +++ b/x11-terms/st-terminfo/metadata.xml @@ -0,0 +1,8 @@ + + + + + gyakovlev@gentoo.org + Georgy Yakovlev + + diff --git a/x11-terms/st-terminfo/st-terminfo-0.8.5.ebuild b/x11-terms/st-terminfo/st-terminfo-0.8.5.ebuild new file mode 100644 index 000000000000..05cc1126c2b2 --- /dev/null +++ b/x11-terms/st-terminfo/st-terminfo-0.8.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Terminfo for x11-terms/st" +HOMEPAGE="https://st.suckless.org/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.suckless.org/st" +else + SRC_URI="https://dl.suckless.org/st/st-${PV}.tar.gz" + S="${WORKDIR}/st-${PV}" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT-with-advertising" +SLOT="0" + +BDEPEND=">=sys-libs/ncurses-6.0" + +RESTRICT="test" + +src_prepare() { + mkdir -v terminfo || die "Failed to create terminfo directory" + default +} + +src_configure() { + : +} + +src_compile() { + tic -sxo terminfo st.info || die "Failed to translate terminfo file" +} + +src_install() { + insinto "/usr/share/st" + doins -r terminfo + + newenvd - "51${PN}" <<-_EOF_ + TERMINFO_DIRS="/usr/share/st/terminfo" + COLON_SEPARATED="TERMINFO_DIRS" + _EOF_ +} + +pkg_postinst() { + ewarn "Please run env-update and then source /etc/profile in any open shells" + ewarn "to update terminfo settings. Relogin to update it for any new shells." +} diff --git a/x11-terms/st-terminfo/st-terminfo-9999.ebuild b/x11-terms/st-terminfo/st-terminfo-9999.ebuild new file mode 100644 index 000000000000..05cc1126c2b2 --- /dev/null +++ b/x11-terms/st-terminfo/st-terminfo-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Terminfo for x11-terms/st" +HOMEPAGE="https://st.suckless.org/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.suckless.org/st" +else + SRC_URI="https://dl.suckless.org/st/st-${PV}.tar.gz" + S="${WORKDIR}/st-${PV}" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT-with-advertising" +SLOT="0" + +BDEPEND=">=sys-libs/ncurses-6.0" + +RESTRICT="test" + +src_prepare() { + mkdir -v terminfo || die "Failed to create terminfo directory" + default +} + +src_configure() { + : +} + +src_compile() { + tic -sxo terminfo st.info || die "Failed to translate terminfo file" +} + +src_install() { + insinto "/usr/share/st" + doins -r terminfo + + newenvd - "51${PN}" <<-_EOF_ + TERMINFO_DIRS="/usr/share/st/terminfo" + COLON_SEPARATED="TERMINFO_DIRS" + _EOF_ +} + +pkg_postinst() { + ewarn "Please run env-update and then source /etc/profile in any open shells" + ewarn "to update terminfo settings. Relogin to update it for any new shells." +}