From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id 95C851582EF for ; Sat, 08 Mar 2025 06:35:28 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7DEAF3406C2 for ; Sat, 08 Mar 2025 06:35:28 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 796B111027C; Sat, 08 Mar 2025 06:35:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 72D8311027C for ; Sat, 08 Mar 2025 06:35:27 +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 20B1D335DEB for ; Sat, 08 Mar 2025 06:35:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C2AB280C for ; Sat, 08 Mar 2025 06:35:25 +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: <1741415673.1d360467caa08923d2df2ff65848388346cb4697.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.40.0.ebuild X-VCS-Directories: x11-terms/kitty-shell-integration/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 1d360467caa08923d2df2ff65848388346cb4697 X-VCS-Branch: master Date: Sat, 08 Mar 2025 06:35:25 +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: a4c8df77-cc21-4112-80a6-e5a9dc69e92a X-Archives-Hash: c42572380fcdef5fdfd6082b30147c88 commit: 1d360467caa08923d2df2ff65848388346cb4697 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Mar 8 06:22:01 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Mar 8 06:34:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d360467 x11-terms/kitty-shell-integration: add 0.40.0 Signed-off-by: Ionen Wolkens gentoo.org> x11-terms/kitty-shell-integration/Manifest | 1 + .../kitty-shell-integration-0.40.0.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/x11-terms/kitty-shell-integration/Manifest b/x11-terms/kitty-shell-integration/Manifest index 4d6da601a38b..cf5a2d02ff39 100644 --- a/x11-terms/kitty-shell-integration/Manifest +++ b/x11-terms/kitty-shell-integration/Manifest @@ -1 +1,2 @@ DIST kitty-0.39.1.tar.xz 8942308 BLAKE2B cb9eec3a8e568ef2caa5d50b52d13c2a0acc5f090dce40d0a6ae1bd4c2d78164506e6416d0d915f2c0028af1d7bbbc8b98bc81b2ff8831f3ce9e33374a0f27a9 SHA512 50d8e083e63fb5ccee5d6a4d7a3d07e775fe609307ad724527cd50ab33a7023d4e6694dd08ce322e643806fdcf92c0e990f14212ad168dbf4f39b8a666634000 +DIST kitty-0.40.0.tar.xz 9000332 BLAKE2B cd0fe553b0500e914d9b410176bf0a0420d97a6842b5794c90fd6f5904f7105408b124f475bd4df4859430d81d1ff17d842d658ce12d3696aa2fdc5fac82183f SHA512 9e10c38f117030ed0a0b38a65d8cd3921bba120ab5d1475850e87e3c5e342773b7f5844ea50ea341bf1bd083270a608da87de18f521a6b9d6b23c36ec64a3df5 diff --git a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.40.0.ebuild b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.40.0.ebuild new file mode 100644 index 000000000000..180d8106dfee --- /dev/null +++ b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.40.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022-2025 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~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/90-}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 + + # this is used internally by the ssh kitten and is not useful there + rm -r "${ED}"/usr/share/kitty/shell-integration/ssh || die +}