From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] kitty: update to 0.28.1, adopt.
Date: Sat, 10 Jun 2023 04:23:00 +0200 [thread overview]
Message-ID: <20230610022300.5oBiFk7u6lFNbYb2ECDakw-ZC6a9G9q8tXLLImUTQfE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44338@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages update/kitty
https://github.com/void-linux/void-packages/pull/44338
kitty: update to 0.28.1, adopt.
add subpackages for components that can be used in remote/headless envs
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
closes #43270 (supercedes)
@emacsomancer can I adopt this from you?
A patch file from https://github.com/void-linux/void-packages/pull/44338.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/kitty-44338.patch --]
[-- Type: text/x-diff, Size: 3474 bytes --]
From 468c3d724d0c20cdbcfb5200b0cdb7519dd14d4d Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Fri, 9 Jun 2023 13:39:30 -0400
Subject: [PATCH] kitty: update to 0.28.1, adopt.
add subpackages for components that can be used in remote/headless envs
nocross because upstream doesn't want to support it (sigh)
---
srcpkgs/kitty-kitten | 1 +
srcpkgs/kitty-shell-integration | 1 +
srcpkgs/kitty/template | 37 ++++++++++++++++++++++++++-------
3 files changed, 31 insertions(+), 8 deletions(-)
create mode 120000 srcpkgs/kitty-kitten
create mode 120000 srcpkgs/kitty-shell-integration
diff --git a/srcpkgs/kitty-kitten b/srcpkgs/kitty-kitten
new file mode 120000
index 000000000000..659fb6b426aa
--- /dev/null
+++ b/srcpkgs/kitty-kitten
@@ -0,0 +1 @@
+kitty
\ No newline at end of file
diff --git a/srcpkgs/kitty-shell-integration b/srcpkgs/kitty-shell-integration
new file mode 120000
index 000000000000..659fb6b426aa
--- /dev/null
+++ b/srcpkgs/kitty-shell-integration
@@ -0,0 +1 @@
+kitty
\ No newline at end of file
diff --git a/srcpkgs/kitty/template b/srcpkgs/kitty/template
index 90eb7261085c..e27fed51114b 100644
--- a/srcpkgs/kitty/template
+++ b/srcpkgs/kitty/template
@@ -1,20 +1,26 @@
# Template file for 'kitty'
pkgname=kitty
-version=0.26.5
-revision=2
+version=0.28.1
+revision=1
pycompile_dirs="usr/lib/kitty"
-hostmakedepends="pkg-config python3 wayland-devel wayland-protocols"
+hostmakedepends="go pkg-config python3 wayland-devel wayland-protocols"
makedepends="gettext-devel glfw-devel harfbuzz-devel libxkbcommon-devel
- python3-devel wayland-devel wayland-protocols librsync-devel libcanberra-devel openssl-devel"
-depends="kitty-terminfo-${version}_${revision}"
+ python3-devel wayland-devel wayland-protocols librsync-devel libcanberra-devel
+ openssl-devel dbus-devel libXcursor-devel libXrandr-devel libXi-devel
+ fontconfig-devel libxcb-devel lcms2-devel"
+depends="kitty-terminfo-${version}_${revision} kitty-shell-integration-${version}_${revision}
+ kitty-kitten-${version}_${revision}"
short_desc="Modern, hackable, featureful, OpenGL based terminal emulator"
-maintainer="Benjamin Slade <slade@jnanam.net>"
-license="GPL-3.0-or-later"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-3.0-only"
homepage="https://sw.kovidgoyal.net/kitty/"
changelog="https://sw.kovidgoyal.net/kitty/changelog.html"
distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz"
-checksum=5544a580314fec7711187ce28162909b5ecff6780071444fe96fb97f8be5c9ad
+checksum=c11c545ca56adf1c26cfd8f5b4a3ba5f149f00542fbf0fa2c4439bd9bf6f78a5
python_version=3
+nopie_files="/usr/bin/kitten"
+nocross="https://github.com/kovidgoyal/kitty/issues/6354"
+
LDFLAGS+=" -Wl,-z,stack-size=2097152"
# TIOCSWINSZ on ppc overflows signed int, used in ioctl()
@@ -27,6 +33,7 @@ do_build() {
if [ "$CROSS_BUILD" ]; then
CFLAGS+=" -I${XBPS_CROSS_BASE}/${py3_inc}"
fi
+ . /void-packages/common/environment/build-style/go.sh
python3 setup.py linux-package --prefix=${DESTDIR}/usr --update-check-interval=0 --verbose
}
@@ -40,3 +47,17 @@ kitty-terminfo_package() {
vmove usr/share/terminfo
}
}
+
+kitty-shell-integration_package() {
+ short_desc+=" - shell integration scripts"
+ pkg_install() {
+ vmove usr/lib/kitty/shell-integration
+ }
+}
+
+kitty-kitten_package() {
+ short_desc+=" - kitten client"
+ pkg_install() {
+ vmove usr/bin/kitten
+ }
+}
next prev parent reply other threads:[~2023-06-10 2:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-09 21:28 [PR PATCH] " classabbyamp
2023-06-10 2:23 ` classabbyamp [this message]
2023-06-13 4:14 ` [PR PATCH] [Updated] " classabbyamp
2023-06-13 4:31 ` classabbyamp
2023-06-14 6:20 ` classabbyamp
2023-06-14 6:23 ` classabbyamp
2023-06-14 6:50 ` [PR PATCH] [Merged]: " classabbyamp
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=20230610022300.5oBiFk7u6lFNbYb2ECDakw-ZC6a9G9q8tXLLImUTQfE@z \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).