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 E88EA158086 for ; Tue, 4 Jan 2022 07:51:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8EF6E07DB; Tue, 4 Jan 2022 07:51:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1FABCE07D7 for ; Tue, 4 Jan 2022 07:51:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E202342C4D for ; Tue, 4 Jan 2022 07:51:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA97F239 for ; Tue, 4 Jan 2022 07:51:24 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1641282605.56b9600fe85c75041ae61f0d21a8c55ffa3935c7.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty-shell-integration/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-terms/kitty-shell-integration/Manifest x11-terms/kitty-shell-integration/kitty-shell-integration-0.24.0.ebuild x11-terms/kitty-shell-integration/metadata.xml X-VCS-Directories: x11-terms/kitty-shell-integration/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 56b9600fe85c75041ae61f0d21a8c55ffa3935c7 X-VCS-Branch: master Date: Tue, 4 Jan 2022 07:51:24 +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: ef06d9b3-55fc-4f6e-b098-74082c858f4c X-Archives-Hash: ae4e01281b873f6a573680a3553600f8 commit: 56b9600fe85c75041ae61f0d21a8c55ffa3935c7 Author: Ionen Wolkens gentoo org> AuthorDate: Mon Nov 8 13:47:04 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Jan 4 07:50:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b9600f x11-terms/kitty-shell-integration: initial import, version 0.24.0 Upstream now recommends to split kitty into three packages (kitty, kitty-terminfo, kitty-shell-integration). Go ahead and use this to match what's expected / documentation. Similarly to kitty-terminfo, this is to provide scripts on a remote machine without installing the entire terminal and its GUI dependencies. Not particularly familiar with zsh and fish, so actual users of the shells are welcome to send suggestions if anything is mishandled, albeit integration seems to work on both. Signed-off-by: Ionen Wolkens gentoo.org> x11-terms/kitty-shell-integration/Manifest | 1 + .../kitty-shell-integration-0.24.0.ebuild | 34 ++++++++++++++++++++++ x11-terms/kitty-shell-integration/metadata.xml | 20 +++++++++++++ 3 files changed, 55 insertions(+) diff --git a/x11-terms/kitty-shell-integration/Manifest b/x11-terms/kitty-shell-integration/Manifest new file mode 100644 index 000000000000..23dfe1ff9b95 --- /dev/null +++ b/x11-terms/kitty-shell-integration/Manifest @@ -0,0 +1 @@ +DIST kitty-0.24.0.tar.xz 4503616 BLAKE2B 5a42b4815d25ff9e3a1f9fb6673e4e58ec3b59b5f81dc4098ef24408580d070e92a181e84167f5a343ffc3a9af33556823153d463eaa8e406f31c032ed8bab37 SHA512 b851ed56d16f9a39d47810bf27c2bc8cbb52d476376c4090045db90c1ad0bc7db6fd9e97edd6ce50a6d69e716671e1e909aab889ecac368857ad5c07f68a76af diff --git a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.24.0.ebuild b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.24.0.ebuild new file mode 100644 index 000000000000..fc3c61131372 --- /dev/null +++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.24.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Shell integration scripts for kitty, a GPU-based terminal emulator" +HOMEPAGE="https://sw.kovidgoyal.net/kitty/" +SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz" +S="${WORKDIR}/kitty-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" # intended to be ran on the full kitty package + +src_compile() { :; } + +src_install() { + # install the whole directory in the upstream suggested location + # for consistency (i.e. less variation between distros if someone + # ssh into Gentoo), then set symlinks to autoload where possible + # (these exit immediately if KITTY_SHELL_INTEGRATION is unset) + insinto /usr/share/kitty + doins -r shell-integration + + dosym -r {/usr/share/kitty/shell-integration/bash,/etc/bash/bashrc.d}/kitty.bash + + dosym -r /usr/share/{kitty/shell-integration/fish,fish}/vendor_completions.d/kitty.fish + dosym -r /usr/share/{kitty/shell-integration/fish,fish}/vendor_conf.d/kitty-shell-integration.fish + + dosym -r /usr/share/{kitty/shell-integration/zsh/completions,zsh/site-functions}/_kitty + # zsh integration is handled automatically without needing to modify rc files, + # but may require user intervention depending on zsh invocation or if remote +} diff --git a/x11-terms/kitty-shell-integration/metadata.xml b/x11-terms/kitty-shell-integration/metadata.xml new file mode 100644 index 000000000000..60597e252fe3 --- /dev/null +++ b/x11-terms/kitty-shell-integration/metadata.xml @@ -0,0 +1,20 @@ + + + + + ionen@gentoo.org + Ionen Wolkens + + + pabloorduna98@gmail.com + Pablo Orduna + + + proxy-maint@gentoo.org + Proxy Maintainers + + + + kovidgoyal/kitty + +