summaryrefslogtreecommitdiff
path: root/x11/kitty
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-02-26 15:47:13 +0000
committernia <nia@pkgsrc.org>2020-02-26 15:47:13 +0000
commit69f8c3f4181b2153c5c67a9879c6454cf730f493 (patch)
treed4f0003c5fbcbee66c473776e86bea3f94edc45b /x11/kitty
parent6afe8752164141cb8903c7527a810b870b956835 (diff)
downloadpkgsrc-69f8c3f4181b2153c5c67a9879c6454cf730f493.tar.gz
kitty: Update to 0.16.0
0.16.0 [2020-01-28] - A new Marks feature that allows highlighting and scrolling to arbitrary text in the terminal window. - hints kitten: Allow pressing ctrl+shift+p>n to quickly open the selected file at the selected line in vim or a configurable editor (#2268) - Allow having more than one full height window in the tall layout (#2276) - Allow choosing OpenType features for individual fonts via the font_features option. (#2248) - Wayland: Fix a freeze in rare circumstances when having multiple OS Windows (#2307 and #1722) - Wayland: Fix window titles being set to very long strings on the order of 8KB causing a crash (#1526) - Add an option force_ltr to turn off the display of text in RTL scripts in right-to-left order (#2293) - Allow opening new tabs/windows before the current tab/window as well as after it with the launch --location option. - Add a resize_in_steps option that can be used to resize the OS window in steps as large as character cells (#2131) - When triple-click+dragging to select multiple lines, extend the selection of the first line to match the rest on the left (#2284) - macOS: Add a titlebar-only setting to hide_window_decorations to only hide the title bar (#2286) - Fix a segfault when using kitty --debug-config with maps (#2270) - goto_tab now maps numbers larger than the last tab to the last tab (#2291) - Fix URL detection not working for urls of the form scheme:///url (#2292) - When windows are semi-transparent and all contain graphics, correctly render them. (#2310)
Diffstat (limited to 'x11/kitty')
-rw-r--r--x11/kitty/Makefile7
-rw-r--r--x11/kitty/PLIST6
-rw-r--r--x11/kitty/distinfo11
-rw-r--r--x11/kitty/patches/patch-glfw_wl__init.c20
4 files changed, 35 insertions, 9 deletions
diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile
index 6225278880d..b8abf8fb511 100644
--- a/x11/kitty/Makefile
+++ b/x11/kitty/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2020/01/12 23:00:26 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2020/02/26 15:47:13 nia Exp $
-DISTNAME= kitty-0.15.1
+DISTNAME= kitty-0.16.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=kovidgoyal/}
GITHUB_PROJECT= kitty
@@ -34,7 +34,7 @@ SUBST_SED.python+= -e "s,sphinx-build,sphinx-build-${PYVERSSUFFIX},g"
REPLACE_PYTHON+= kitty/launcher/kitty
-INSTALLATION_DIRS+= man/man1
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
PYTHON_VERSIONS_INCOMPATIBLE= 27
PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
@@ -57,6 +57,7 @@ do-install:
.include "../../fonts/fontconfig/buildlink3.mk"
.endif
+.include "options.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
diff --git a/x11/kitty/PLIST b/x11/kitty/PLIST
index 394c451000a..0dea23508f2 100644
--- a/x11/kitty/PLIST
+++ b/x11/kitty/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2020/01/08 12:31:45 nia Exp $
+@comment $NetBSD: PLIST,v 1.7 2020/02/26 15:47:13 nia Exp $
bin/kitty
lib/kitty/__main__.py
lib/kitty/kittens/__init__.py
@@ -72,6 +72,7 @@ lib/kitty/kitty/fonts/core_text.py
lib/kitty/kitty/fonts/fontconfig.py
lib/kitty/kitty/fonts/list.py
lib/kitty/kitty/fonts/render.py
+${PLIST.wayland}lib/kitty/kitty/glfw-wayland.so
lib/kitty/kitty/glfw-x11.so
lib/kitty/kitty/graphics_fragment.glsl
lib/kitty/kitty/graphics_vertex.glsl
@@ -82,6 +83,7 @@ lib/kitty/kitty/launch.py
lib/kitty/kitty/launcher/kitty
lib/kitty/kitty/layout.py
lib/kitty/kitty/main.py
+lib/kitty/kitty/marks.py
lib/kitty/kitty/notify.py
lib/kitty/kitty/remote_control.py
lib/kitty/kitty/rgb.py
@@ -128,6 +130,7 @@ share/doc/kitty/html/_sources/kittens/icat.rst.txt
share/doc/kitty/html/_sources/kittens/panel.rst.txt
share/doc/kitty/html/_sources/kittens/unicode-input.rst.txt
share/doc/kitty/html/_sources/launch.rst.txt
+share/doc/kitty/html/_sources/marks.rst.txt
share/doc/kitty/html/_sources/performance.rst.txt
share/doc/kitty/html/_sources/pipe.rst.txt
share/doc/kitty/html/_sources/protocol-extensions.rst.txt
@@ -170,6 +173,7 @@ share/doc/kitty/html/kittens/icat.html
share/doc/kitty/html/kittens/panel.html
share/doc/kitty/html/kittens/unicode-input.html
share/doc/kitty/html/launch.html
+share/doc/kitty/html/marks.html
share/doc/kitty/html/objects.inv
share/doc/kitty/html/performance.html
share/doc/kitty/html/pipe.html
diff --git a/x11/kitty/distinfo b/x11/kitty/distinfo
index 98e2e33cbeb..7197dce26be 100644
--- a/x11/kitty/distinfo
+++ b/x11/kitty/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2020/01/08 12:31:45 nia Exp $
+$NetBSD: distinfo,v 1.5 2020/02/26 15:47:13 nia Exp $
-SHA1 (kitty-0.15.1.tar.xz) = dfcf5ce07095dd4c129a47cbac0a5294d1f0d047
-RMD160 (kitty-0.15.1.tar.xz) = 26a367fed4183ebdfabf289808731b69b524cf0b
-SHA512 (kitty-0.15.1.tar.xz) = e32fe719b4fc7c45b324e4372e0dca3e482f81b245b8bf4eb2b643dccc8541a8d1f93b0f73d5777a7b51cd62a720468036bcb848797e0cba2dad71bba005f9e1
-Size (kitty-0.15.1.tar.xz) = 2974348 bytes
+SHA1 (kitty-0.16.0.tar.xz) = 271160ac54bcb809d6e6e1412d4a85f3323f4841
+RMD160 (kitty-0.16.0.tar.xz) = 1441da4497e7629139c7447426dce72827867979
+SHA512 (kitty-0.16.0.tar.xz) = 24dedfc58c5d33aa18da85f904952129f39cd54afb70282c7572b57514b1deebfb532414913e0efc3a5c0352a81406cd7ddef99490dbd9186dc61eab7af3975b
+Size (kitty-0.16.0.tar.xz) = 2974592 bytes
+SHA1 (patch-glfw_wl__init.c) = d3bfa4c4a4b6a524a3a5fddd234368022bcb5c95
SHA1 (patch-kitty_threading.h) = 04886ab09ac2ab6f4925cd20e739e6b634299d55
diff --git a/x11/kitty/patches/patch-glfw_wl__init.c b/x11/kitty/patches/patch-glfw_wl__init.c
new file mode 100644
index 00000000000..a9e352e07df
--- /dev/null
+++ b/x11/kitty/patches/patch-glfw_wl__init.c
@@ -0,0 +1,20 @@
+$NetBSD: patch-glfw_wl__init.c,v 1.1 2020/02/26 15:47:14 nia Exp $
+
+Support non-evdev platforms.
+
+--- glfw/wl_init.c.orig 2019-11-27 04:25:00.000000000 +0000
++++ glfw/wl_init.c
+@@ -48,8 +48,11 @@
+ #elif __has_include(<dev/evdev/input.h>)
+ #include <dev/evdev/input.h>
+ #endif
+-#else
+-#include <linux/input.h>
++#endif
++#ifndef BTN_LEFT
++#define BTN_LEFT (0x110)
++#define BTN_RIGHT (0x111)
++#define BTN_MIDDLE (0x112)
+ #endif
+
+