Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] kitty: update to 0.21.1.
@ 2021-06-18  6:04 not-chicken
  2021-06-18 15:38 ` [PR PATCH] [Closed]: " ahesford
  0 siblings, 1 reply; 2+ messages in thread
From: not-chicken @ 2021-06-18  6:04 UTC (permalink / raw)
  To: ml

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

There is a new pull request by not-chicken against master on the void-packages repository

https://github.com/not-chicken/void-packages billy
https://github.com/void-linux/void-packages/pull/31551

kitty: update to 0.21.1.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From c67f4db364fdbc208219a20f8cfd1f9d678efcd2 Mon Sep 17 00:00:00 2001
From: Lorem <notloremipsum@protonmail.com>
Date: Fri, 18 Jun 2021 11:05:16 +0530
Subject: [PATCH] kitty: update to 0.21.1.

---
 ...ui_text-use-uint8_t-instead-of-u_int.patch | 28 -------------------
 srcpkgs/kitty/template                        |  5 ++--
 2 files changed, 2 insertions(+), 31 deletions(-)
 delete mode 100644 srcpkgs/kitty/patches/0001-freetype_render_ui_text-use-uint8_t-instead-of-u_int.patch

diff --git a/srcpkgs/kitty/patches/0001-freetype_render_ui_text-use-uint8_t-instead-of-u_int.patch b/srcpkgs/kitty/patches/0001-freetype_render_ui_text-use-uint8_t-instead-of-u_int.patch
deleted file mode 100644
index 7771e8857cb9..000000000000
--- a/srcpkgs/kitty/patches/0001-freetype_render_ui_text-use-uint8_t-instead-of-u_int.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 1b760b6c5393b2137410f539d068a84bae1c31ff Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
- <congdanhqx@gmail.com>
-Date: Wed, 21 Apr 2021 19:23:43 +0700
-Subject: [PATCH] freetype_render_ui_text: use uint8_t instead of u_int8_t
-
-uint8_t is a standard type, while u_int8_t isn't. And we're assigning to
-an uint8_t anyway.
----
- kitty/freetype_render_ui_text.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/kitty/freetype_render_ui_text.c b/kitty/freetype_render_ui_text.c
-index 8c8743b8..f22284f4 100644
---- a/kitty/freetype_render_ui_text.c
-+++ b/kitty/freetype_render_ui_text.c
-@@ -504,7 +504,7 @@ render_line(PyObject *self UNUSED, PyObject *args, PyObject *kw) {
-     if (!PyArg_ParseTupleAndKeywords(args, kw, "|sIIzppkkffI", (char**)kwlist, &text, &width, &height, &family, &bold, &italic, &fg, &bg, &x_offset, &y_offset, &right_margin)) return NULL;
-     PyObject *ans = PyBytes_FromStringAndSize(NULL, (Py_ssize_t)width * height * 4);
-     if (!ans) return NULL;
--    uint8_t *buffer = (u_int8_t*) PyBytes_AS_STRING(ans);
-+    uint8_t *buffer = (uint8_t*) PyBytes_AS_STRING(ans);
-     RenderCtx *ctx = (RenderCtx*)create_freetype_render_context(family, bold, italic);
-     if (!ctx) return NULL;
-     if (!render_single_line((FreeTypeRenderCtx)ctx, text, 3 * height / 4, 0, 0xffffffff, buffer, width, height, x_offset, y_offset, right_margin)) {
--- 
-2.31.1.500.gbc6bbdd36b
-
diff --git a/srcpkgs/kitty/template b/srcpkgs/kitty/template
index 5a8dcc8b4fb8..c08d887702bf 100644
--- a/srcpkgs/kitty/template
+++ b/srcpkgs/kitty/template
@@ -1,6 +1,6 @@
 # Template file for 'kitty'
 pkgname=kitty
-version=0.20.1
+version=0.21.1
 revision=1
 pycompile_dirs="usr/lib/kitty"
 hostmakedepends="pkg-config python3 wayland-devel wayland-protocols"
@@ -13,8 +13,7 @@ license="GPL-3.0-or-later"
 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=43596a1c5645fe476e96e748bb3b44afd680d84b4af409cd36b33de19b31933d
-patch_args="-Np1"
+checksum=9d2ce82187e95626f6e4367b69a3142d0788f885873a90c0bef7acb000882b5d
 python_version=3
 LDFLAGS+=" -Wl,-z,stack-size=2097152"
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: kitty: update to 0.21.1.
  2021-06-18  6:04 [PR PATCH] kitty: update to 0.21.1 not-chicken
@ 2021-06-18 15:38 ` ahesford
  0 siblings, 0 replies; 2+ messages in thread
From: ahesford @ 2021-06-18 15:38 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

kitty: update to 0.21.1.
https://github.com/void-linux/void-packages/pull/31551

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-18 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18  6:04 [PR PATCH] kitty: update to 0.21.1 not-chicken
2021-06-18 15:38 ` [PR PATCH] [Closed]: " ahesford

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).