From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] kitty: update to 0.14.3
Date: Tue, 30 Jul 2019 21:19:48 +0200 [thread overview]
Message-ID: <20190730191948.adOmy9rQzT16yOS_Sb44VDiFYvWlw7Vr7QSLW7_dKT0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13397@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
There is an updated pull request by SolitudeSF against master on the void-packages repository
https://github.com/SolitudeSF/void-packages kitty
https://github.com/void-linux/void-packages/pull/13397
kitty: update to 0.14.3
A patch file from https://github.com/void-linux/void-packages/pull/13397.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kitty-13397.patch --]
[-- Type: text/x-diff, Size: 3455 bytes --]
From e41b75cd049f5e1add32199b0b39a6f24ba432ca Mon Sep 17 00:00:00 2001
From: SolitudeSF <solitudesf@protonmail.com>
Date: Mon, 29 Jul 2019 09:18:00 +0300
Subject: [PATCH] kitty: update to 0.14.3
---
srcpkgs/kitty/patches/musl.patch | 37 ++++++++++++++++++++++++++++++++
srcpkgs/kitty/template | 7 +++---
2 files changed, 41 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/kitty/patches/musl.patch
diff --git a/srcpkgs/kitty/patches/musl.patch b/srcpkgs/kitty/patches/musl.patch
new file mode 100644
index 00000000000..99b86547a7b
--- /dev/null
+++ b/srcpkgs/kitty/patches/musl.patch
@@ -0,0 +1,37 @@
+From 9cbb726566f14454b24d05e6e94c640997fc77ff Mon Sep 17 00:00:00 2001
+From: Kovid Goyal <kovid@kovidgoyal.net>
+Date: Tue, 30 Jul 2019 06:20:54 +0530
+Subject: [PATCH] Fix #1865
+
+---
+ glfw/linux_joystick.c | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/glfw/linux_joystick.c b/glfw/linux_joystick.c
+index d40bf0233..70a86f6f3 100644
+--- a/glfw/linux_joystick.c
++++ b/glfw/linux_joystick.c
+@@ -144,10 +144,10 @@ static bool openJoystickDevice(const char* path)
+ char absBits[(ABS_CNT + 7) / 8] = {0};
+ struct input_id id;
+
+- if (ioctl(linjs.fd, EVIOCGBIT(0, sizeof(evBits)), evBits) < 0 ||
+- ioctl(linjs.fd, EVIOCGBIT(EV_KEY, sizeof(keyBits)), keyBits) < 0 ||
+- ioctl(linjs.fd, EVIOCGBIT(EV_ABS, sizeof(absBits)), absBits) < 0 ||
+- ioctl(linjs.fd, EVIOCGID, &id) < 0)
++ if (ioctl(linjs.fd, (int32_t)EVIOCGBIT(0, sizeof(evBits)), evBits) < 0 ||
++ ioctl(linjs.fd, (int32_t)EVIOCGBIT(EV_KEY, sizeof(keyBits)), keyBits) < 0 ||
++ ioctl(linjs.fd, (int32_t)EVIOCGBIT(EV_ABS, sizeof(absBits)), absBits) < 0 ||
++ ioctl(linjs.fd, (int32_t)EVIOCGID, &id) < 0)
+ {
+ _glfwInputError(GLFW_PLATFORM_ERROR,
+ "Linux: Failed to query input device: %s",
+@@ -165,7 +165,7 @@ static bool openJoystickDevice(const char* path)
+
+ char name[256] = "";
+
+- if (ioctl(linjs.fd, EVIOCGNAME(sizeof(name)), name) < 0)
++ if (ioctl(linjs.fd, (int32_t)EVIOCGNAME(sizeof(name)), name) < 0)
+ strncpy(name, "Unknown", sizeof(name));
+
+ char guid[33] = "";
diff --git a/srcpkgs/kitty/template b/srcpkgs/kitty/template
index 5e07ef7ea69..7d06fcfaa3f 100644
--- a/srcpkgs/kitty/template
+++ b/srcpkgs/kitty/template
@@ -1,11 +1,11 @@
# Template file for 'kitty'
pkgname=kitty
-version=0.14.2
+version=0.14.3
revision=1
pycompile_dirs="usr/lib/kitty"
hostmakedepends="ncurses pkg-config python3 wayland-devel wayland-protocols"
makedepends="gettext-devel glfw-devel harfbuzz-devel libxkbcommon-devel
- python3-devel wayland-devel wayland-protocols"
+ python3-devel wayland-devel wayland-protocols libcanberra-devel"
depends="kitty-terminfo-${version}_${revision}"
short_desc="Modern, hackable, featureful, OpenGL based terminal emulator"
maintainer="Benjamin Slade <slade@jnanam.net>"
@@ -13,7 +13,8 @@ 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=9eb32808425867dd63580718bc1b97bbd9046d4024279837c6132eb1ef37f189
+checksum=f5e522a6e477acd8b4a9637261f20dc66d6f7b9e9229a4a957f10811708b8d8b
+patch_args="-Np1"
pycompile_version="$py3_ver"
LDFLAGS+=" -Wl,-z,stack-size=2097152"
next prev parent reply other threads:[~2019-07-30 19:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-29 6:26 [PR PATCH] " voidlinux-github
2019-07-30 10:20 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-30 10:20 ` voidlinux-github
2019-07-30 19:19 ` voidlinux-github [this message]
2019-07-30 19:19 ` voidlinux-github
2019-07-30 20:47 ` voidlinux-github
2019-07-30 20:47 ` voidlinux-github
2019-07-31 10:45 ` voidlinux-github
2019-07-31 10:45 ` voidlinux-github
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=20190730191948.adOmy9rQzT16yOS_Sb44VDiFYvWlw7Vr7QSLW7_dKT0@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).