From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty-shell-integration/
Date: Tue, 4 Jan 2022 07:51:24 +0000 (UTC) [thread overview]
Message-ID: <1641282605.56b9600fe85c75041ae61f0d21a8c55ffa3935c7.ionen@gentoo> (raw)
commit: 56b9600fe85c75041ae61f0d21a8c55ffa3935c7
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 8 13:47:04 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> 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 <ionen <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ionen@gentoo.org</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>pabloorduna98@gmail.com</email>
+ <name>Pablo Orduna</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">kovidgoyal/kitty</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2022-01-04 7:51 UTC|newest]
Thread overview: 132+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-04 7:51 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-04 7:51 [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty-shell-integration/ Ionen Wolkens
2022-01-06 9:10 Ionen Wolkens
2022-01-12 7:50 Georgy Yakovlev
2022-01-13 8:06 Ionen Wolkens
2022-02-03 11:31 Ionen Wolkens
2022-02-05 23:39 Ionen Wolkens
2022-02-28 8:27 Ionen Wolkens
2022-03-02 10:07 Ionen Wolkens
2022-03-03 11:59 Ionen Wolkens
2022-03-14 11:43 Ionen Wolkens
2022-03-14 11:43 Ionen Wolkens
2022-04-11 23:20 Ionen Wolkens
2022-04-11 23:20 Ionen Wolkens
2022-05-13 14:51 Ionen Wolkens
2022-05-26 6:07 Ionen Wolkens
2022-05-26 6:07 Ionen Wolkens
2022-05-26 6:07 Ionen Wolkens
2022-06-02 15:07 Ionen Wolkens
2022-06-07 9:50 Ionen Wolkens
2022-06-07 9:50 Ionen Wolkens
2022-06-16 13:16 Ionen Wolkens
2022-06-18 9:31 Ionen Wolkens
2022-08-29 5:09 Ionen Wolkens
2022-08-29 20:26 Ionen Wolkens
2022-09-05 6:59 Ionen Wolkens
2022-09-08 18:23 Ionen Wolkens
2022-09-08 18:23 Ionen Wolkens
2022-09-22 9:22 Ionen Wolkens
2022-10-07 4:38 Ionen Wolkens
2022-10-09 0:29 Ionen Wolkens
2022-10-15 6:47 Jakov Smolić
2022-10-17 8:42 Ionen Wolkens
2022-10-27 22:19 Ionen Wolkens
2022-11-01 20:39 Ionen Wolkens
2022-11-07 15:59 Ionen Wolkens
2022-11-17 14:58 Ionen Wolkens
2023-01-31 13:46 Ionen Wolkens
2023-02-07 11:48 Ionen Wolkens
2023-02-13 11:46 Ionen Wolkens
2023-03-01 15:20 Joonas Niilola
2023-03-25 1:20 Ionen Wolkens
2023-03-28 20:13 Ionen Wolkens
2023-04-15 9:12 Ionen Wolkens
2023-04-21 10:27 Ionen Wolkens
2023-04-24 3:43 Ionen Wolkens
2023-07-10 9:16 Ionen Wolkens
2023-07-17 7:09 Ionen Wolkens
2023-07-25 5:16 Joonas Niilola
2023-07-25 5:26 Joonas Niilola
2023-07-28 1:23 Ionen Wolkens
2023-07-28 1:23 Ionen Wolkens
2023-08-10 6:23 Joonas Niilola
2023-08-10 6:23 Joonas Niilola
2023-08-11 4:59 Ionen Wolkens
2023-09-18 3:41 Ionen Wolkens
2023-10-05 15:23 Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2023-10-18 6:29 Joonas Niilola
2023-10-18 6:29 Joonas Niilola
2023-10-25 7:58 Ionen Wolkens
2023-11-08 10:33 Ionen Wolkens
2023-11-08 10:33 Ionen Wolkens
2023-12-05 6:52 Joonas Niilola
2023-12-05 6:52 Joonas Niilola
2024-01-19 6:40 Ionen Wolkens
2024-01-26 4:29 Ionen Wolkens
2024-02-12 9:15 Ionen Wolkens
2024-02-13 8:05 Joonas Niilola
2024-02-13 8:05 Joonas Niilola
2024-02-22 6:16 Ionen Wolkens
2024-02-22 20:33 Arthur Zamarin
2024-03-04 6:45 Joonas Niilola
2024-03-04 6:56 Joonas Niilola
2024-03-12 15:07 Arthur Zamarin
2024-03-12 17:33 Ionen Wolkens
2024-03-12 17:33 Ionen Wolkens
2024-03-21 5:26 Ionen Wolkens
2024-03-25 13:00 Ionen Wolkens
2024-04-12 7:53 Joonas Niilola
2024-04-12 7:53 Joonas Niilola
2024-04-15 2:40 Ionen Wolkens
2024-04-19 6:49 Ionen Wolkens
2024-04-22 14:41 Ionen Wolkens
2024-04-27 12:11 Ionen Wolkens
2024-05-01 23:18 Ionen Wolkens
2024-05-06 4:58 Joonas Niilola
2024-05-06 5:08 Joonas Niilola
2024-05-12 20:25 Ionen Wolkens
2024-05-25 11:21 Ionen Wolkens
2024-05-31 12:16 Ionen Wolkens
2024-06-06 13:20 Ionen Wolkens
2024-06-22 6:04 Ionen Wolkens
2024-06-28 14:45 Ionen Wolkens
2024-06-29 6:22 Joonas Niilola
2024-06-29 6:22 Joonas Niilola
2024-08-17 11:25 Ionen Wolkens
2024-08-24 8:54 Ionen Wolkens
2024-08-30 14:59 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2024-09-06 5:45 Ionen Wolkens
2024-09-11 10:16 Ionen Wolkens
2024-09-25 5:03 Ionen Wolkens
2024-09-25 11:55 Joonas Niilola
2024-09-25 11:55 Joonas Niilola
2024-09-27 5:33 Ionen Wolkens
2024-10-03 16:11 Arthur Zamarin
2024-10-03 16:12 Arthur Zamarin
2024-10-30 20:00 Ionen Wolkens
2024-10-30 20:00 Ionen Wolkens
2024-12-16 7:06 Ionen Wolkens
2024-12-26 5:13 Ionen Wolkens
2025-01-05 10:22 Ionen Wolkens
2025-01-06 6:54 Joonas Niilola
2025-01-13 6:54 Joonas Niilola
2025-01-16 5:18 Ionen Wolkens
2025-01-16 5:18 Ionen Wolkens
2025-02-01 9:55 Ionen Wolkens
2025-02-01 9:55 Ionen Wolkens
2025-02-10 6:30 Ionen Wolkens
2025-02-13 7:14 Joonas Niilola
2025-02-13 7:14 Joonas Niilola
2025-02-26 8:47 Ionen Wolkens
2025-02-26 20:31 Arthur Zamarin
2025-02-27 12:30 Ionen Wolkens
2025-03-08 6:35 Ionen Wolkens
2025-03-18 4:58 Ionen Wolkens
2025-03-29 1:32 Ionen Wolkens
2025-04-03 4:58 Ionen Wolkens
2025-04-03 4:58 Ionen Wolkens
2025-04-23 8:52 Sam James
2025-04-23 16:42 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1641282605.56b9600fe85c75041ae61f0d21a8c55ffa3935c7.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox