Github messages for voidlinux
 help / color / mirror / Atom feed
From: sirkhancision <sirkhancision@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] kitty: update to 0.27.1.
Date: Wed, 05 Apr 2023 20:09:57 +0200	[thread overview]
Message-ID: <20230405180957.oPFnM7l8Xz-uRJm_GGCi5YgGxDCaXs8YmugADlNjws0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43270@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

There is an updated pull request by sirkhancision against master on the void-packages repository

https://github.com/sirkhancision/void-packages kitty
https://github.com/void-linux/void-packages/pull/43270

kitty: update to 0.27.1.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

A patch file from https://github.com/void-linux/void-packages/pull/43270.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kitty-43270.patch --]
[-- Type: text/x-diff, Size: 3880 bytes --]

From 673cc6507b736cd61e3f7d65200b7034513060bd Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Mon, 3 Apr 2023 00:47:37 -0300
Subject: [PATCH] kitty: update to 0.27.1.

---
 srcpkgs/kitty-kitten            |  1 +
 srcpkgs/kitty-shell-integration |  1 +
 srcpkgs/kitty/template          | 40 ++++++++++++++++++++++++---------
 3 files changed, 32 insertions(+), 10 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..48e790a943fc 100644
--- a/srcpkgs/kitty/template
+++ b/srcpkgs/kitty/template
@@ -1,33 +1,38 @@
 # Template file for 'kitty'
 pkgname=kitty
-version=0.26.5
-revision=2
+version=0.27.1
+revision=1
 pycompile_dirs="usr/lib/kitty"
-hostmakedepends="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}"
+hostmakedepends="go pkg-config python3 wayland-devel wayland-protocols"
+makedepends="dbus-devel fontconfig-devel freetype-devel gettext-devel glfw-devel harfbuzz-devel lcms2-devel libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel libcanberra-devel libpng-devel librsync-devel librsync-devel libxcb-devel libxkbcommon-devel openssl-devel ncurses-devel python3-devel python3-setuptools wayland-devel wayland-protocols zlib-devel"
+depends="kitty-terminfo-${version}_${revision} kitty-shell-integration-${version}_${revision} python3-Pygments"
+checkdepends="dejavu-fonts-ttf python3-pytest"
 short_desc="Modern, hackable, featureful, OpenGL based terminal emulator"
 maintainer="Benjamin Slade <slade@jnanam.net>"
-license="GPL-3.0-or-later"
+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=e57672c5ba1973be139548eb772ff13d79c29b0ed67cbbe4418c87b6f1b1a901
 python_version=3
 LDFLAGS+=" -Wl,-z,stack-size=2097152"
+nopie_files="/usr/bin/kitten"
 
 # TIOCSWINSZ on ppc overflows signed int, used in ioctl()
 # glibc defines it with ulong, musl with int (should be harmless)
 case "$XBPS_TARGET_MACHINE" in
-	ppc*-musl) CFLAGS+=" -Wno-error=overflow";;
+ppc*-musl) CFLAGS+=" -Wno-error=overflow" ;;
 esac
 
 do_build() {
 	if [ "$CROSS_BUILD" ]; then
 		CFLAGS+=" -I${XBPS_CROSS_BASE}/${py3_inc}"
 	fi
-	python3 setup.py linux-package --prefix=${DESTDIR}/usr --update-check-interval=0 --verbose
+	python3 setup.py linux-package --prefix=${DESTDIR}/usr --update-check-interval=0 --ignore-compiler-warnings --verbose
+}
+
+do_check() {
+	pytest -v --ignore kitty_tests/file_transmission.py kitty_tests/crypto.py
 }
 
 do_install() {
@@ -36,7 +41,22 @@ do_install() {
 
 kitty-terminfo_package() {
 	short_desc+=" - terminfo data"
+	depends="ncurses"
 	pkg_install() {
 		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+=" - standalone executable"
+	pkg_install() {
+		vmove usr/bin/kitten
+	}
+}

  parent reply	other threads:[~2023-04-05 18:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-04 20:24 [PR PATCH] " sirkhancision
2023-04-04 20:35 ` classabbyamp
2023-04-05 18:09 ` sirkhancision [this message]
2023-04-05 18:55 ` [PR REVIEW] " classabbyamp
2023-04-05 18:55 ` classabbyamp
2023-04-05 18:55 ` classabbyamp
2023-04-05 19:03 ` sirkhancision
2023-04-05 19:10 ` [PR PATCH] [Updated] " sirkhancision
2023-04-05 19:22 ` [PR REVIEW] " classabbyamp
2023-04-05 19:29 ` sirkhancision
2023-04-05 19:33 ` paper42
2023-04-07 19:11 ` sirkhancision
2023-04-07 19:12 ` classabbyamp
2023-06-14  6:50 ` [PR PATCH] [Closed]: " 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=20230405180957.oPFnM7l8Xz-uRJm_GGCi5YgGxDCaXs8YmugADlNjws0@z \
    --to=sirkhancision@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).