pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kitty: add upgrade candidate



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Wed Oct 11 21:52:20 2023 +0200
Changeset:	7d49ab0eec56fcfb3308e23f6ae2729bacfd9dec

Modified Files:
	Makefile
Added Files:
	kitty/DESCR
	kitty/Makefile
	kitty/PLIST
	kitty/distinfo
	kitty/options.mk
	kitty/patches/patch-glfw_wl__init.c
	kitty/patches/patch-kitty_binary.h
	kitty/patches/patch-kitty_threading.h

Log Message:
kitty: add upgrade candidate

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7d49ab0eec56fcfb3308e23f6ae2729bacfd9dec

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                              |   1 +
 kitty/DESCR                           |   1 +
 kitty/Makefile                        |  91 +++++
 kitty/PLIST                           | 720 ++++++++++++++++++++++++++++++++++
 kitty/distinfo                        |   8 +
 kitty/options.mk                      |  18 +
 kitty/patches/patch-glfw_wl__init.c   |  20 +
 kitty/patches/patch-kitty_binary.h    |  19 +
 kitty/patches/patch-kitty_threading.h |  24 ++
 9 files changed, 902 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 9b83cf132e..52c73c414d 100644
--- a/Makefile
+++ b/Makefile
@@ -1874,6 +1874,7 @@ SUBDIR+=	kibana
 SUBDIR+=	kind
 SUBDIR+=	kinfocenter
 SUBDIR+=	kissme
+SUBDIR+=	kitty
 SUBDIR+=	kivaloo
 SUBDIR+=	klatexformula
 SUBDIR+=	klayout
diff --git a/kitty/DESCR b/kitty/DESCR
new file mode 100644
index 0000000000..9afc791793
--- /dev/null
+++ b/kitty/DESCR
@@ -0,0 +1 @@
+kitty - the fast, featureful, GPU based terminal emulator
diff --git a/kitty/Makefile b/kitty/Makefile
new file mode 100644
index 0000000000..fcd97b96e2
--- /dev/null
+++ b/kitty/Makefile
@@ -0,0 +1,91 @@
+# $NetBSD: Makefile,v 1.43 2023/08/14 05:25:34 wiz Exp $
+
+DISTNAME=	kitty-0.30.1
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_GITHUB:=kovidgoyal/}
+GITHUB_PROJECT=	kitty
+GITHUB_RELEASE=	v${PKGVERSION_NOREV}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://sw.kovidgoyal.net/kitty/index.html
+COMMENT=	GPU based terminal emulator
+LICENSE=	gnu-gpl-v3
+
+TOOL_DEPENDS+=	go121>=1.21<1.22:../../lang/go121
+
+USE_LANGUAGES=	c
+USE_TOOLS+=	gmake pkg-config
+
+USE_CXX_FEATURES+=	has_include
+
+# go
+MKPIE_SUPPORTED=	no
+CHECK_RELRO_SKIP+=	bin/kitten
+CHECK_WRKREF_SKIP+=	bin/kitten
+
+# don't force LTO
+BUILDLINK_TRANSFORM+=	rm:-flto
+# code is not perfect
+BUILDLINK_TRANSFORM+=	rm:-Werror
+BUILDLINK_TRANSFORM+=	rm:-pedantic-errors
+
+# kitty's homegrown packaging expects the functionality of tic(1) that
+# comes with ncurses.
+USE_NCURSES=	yes
+
+CHECK_INTERPRETER_SKIP=	lib/kitty/shell-integration/ssh/askpass.py
+
+INSTALLATION_DIRS+=	${PKGMANDIR}/man1 ${PKGMANDIR}/man5
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+PY_PATCHPLIST=			yes
+
+pre-configure:
+	cd ${BUILDLINK_DIR}/bin && ${LN} -s ${PREFIX}/bin/go121 go
+
+do-build:
+	cd ${WRKSRC} && ${MAKE_ENV} ${PYTHONBIN} setup.py linux-package
+
+do-install:
+	cd ${WRKSRC} && ${MAKE_ENV} ${PYTHONBIN} setup.py linux-package \
+	    --prefix ${DESTDIR}${PREFIX}
+	${MV} ${DESTDIR}${PREFIX}/share/man/man1/kitty.1 \
+	    ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/kitty.1 || ${TRUE}
+	${MV} ${DESTDIR}${PREFIX}/share/man/man5/kitty.conf.5 \
+	    ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/kitty.conf.5 || ${TRUE}
+# pkgsrc framwork only handles optimization level 1 files correctly
+	${FIND} ${DESTDIR} -type f -name *.opt-2.pyc -print0 | ${XARGS} -0 ${RM} -rf
+	${FIND} ${DESTDIR} -name '*.orig' -exec rm -rf '{}' ';'
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.endif
+
+.include "options.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/lcms2/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/xxhash/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/harfbuzz/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../net/librsync/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXi/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/libxkbcommon/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../lang/python/tool.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+.include "../../mk/bsd.pkg.mk"
diff --git a/kitty/PLIST b/kitty/PLIST
new file mode 100644
index 0000000000..c352982fd7
--- /dev/null
+++ b/kitty/PLIST
@@ -0,0 +1,720 @@
+@comment $NetBSD$
+bin/kitten
+bin/kitty
+lib/kitty/__main__.py
+lib/kitty/__main__.pyc
+lib/kitty/__main__.pyo
+lib/kitty/kittens/__init__.py
+lib/kitty/kittens/__init__.pyc
+lib/kitty/kittens/__init__.pyo
+lib/kitty/kittens/ask/__init__.py
+lib/kitty/kittens/ask/__init__.pyc
+lib/kitty/kittens/ask/__init__.pyo
+lib/kitty/kittens/ask/main.py
+lib/kitty/kittens/ask/main.pyc
+lib/kitty/kittens/ask/main.pyo
+lib/kitty/kittens/broadcast/__init__.py
+lib/kitty/kittens/broadcast/__init__.pyc
+lib/kitty/kittens/broadcast/__init__.pyo
+lib/kitty/kittens/broadcast/main.py
+lib/kitty/kittens/broadcast/main.pyc
+lib/kitty/kittens/broadcast/main.pyo
+lib/kitty/kittens/clipboard/__init__.py
+lib/kitty/kittens/clipboard/__init__.pyc
+lib/kitty/kittens/clipboard/__init__.pyo
+lib/kitty/kittens/clipboard/main.py
+lib/kitty/kittens/clipboard/main.pyc
+lib/kitty/kittens/clipboard/main.pyo
+lib/kitty/kittens/diff/__init__.py
+lib/kitty/kittens/diff/__init__.pyc
+lib/kitty/kittens/diff/__init__.pyo
+lib/kitty/kittens/diff/main.py
+lib/kitty/kittens/diff/main.pyc
+lib/kitty/kittens/diff/main.pyo
+lib/kitty/kittens/hints/__init__.py
+lib/kitty/kittens/hints/__init__.pyc
+lib/kitty/kittens/hints/__init__.pyo
+lib/kitty/kittens/hints/main.py
+lib/kitty/kittens/hints/main.pyc
+lib/kitty/kittens/hints/main.pyo
+lib/kitty/kittens/hyperlinked_grep/__init__.py
+lib/kitty/kittens/hyperlinked_grep/__init__.pyc
+lib/kitty/kittens/hyperlinked_grep/__init__.pyo
+lib/kitty/kittens/hyperlinked_grep/main.py
+lib/kitty/kittens/hyperlinked_grep/main.pyc
+lib/kitty/kittens/hyperlinked_grep/main.pyo
+lib/kitty/kittens/icat/__init__.py
+lib/kitty/kittens/icat/__init__.pyc
+lib/kitty/kittens/icat/__init__.pyo
+lib/kitty/kittens/icat/main.py
+lib/kitty/kittens/icat/main.pyc
+lib/kitty/kittens/icat/main.pyo
+lib/kitty/kittens/mouse_demo/__init__.py
+lib/kitty/kittens/mouse_demo/__init__.pyc
+lib/kitty/kittens/mouse_demo/__init__.pyo
+lib/kitty/kittens/mouse_demo/main.py
+lib/kitty/kittens/mouse_demo/main.pyc
+lib/kitty/kittens/mouse_demo/main.pyo
+lib/kitty/kittens/panel/__init__.py
+lib/kitty/kittens/panel/__init__.pyc
+lib/kitty/kittens/panel/__init__.pyo
+lib/kitty/kittens/panel/main.py
+lib/kitty/kittens/panel/main.pyc
+lib/kitty/kittens/panel/main.pyo
+lib/kitty/kittens/query_terminal/__init__.py
+lib/kitty/kittens/query_terminal/__init__.pyc
+lib/kitty/kittens/query_terminal/__init__.pyo
+lib/kitty/kittens/query_terminal/main.py
+lib/kitty/kittens/query_terminal/main.pyc
+lib/kitty/kittens/query_terminal/main.pyo
+lib/kitty/kittens/remote_file/__init__.py
+lib/kitty/kittens/remote_file/__init__.pyc
+lib/kitty/kittens/remote_file/__init__.pyo
+lib/kitty/kittens/remote_file/main.py
+lib/kitty/kittens/remote_file/main.pyc
+lib/kitty/kittens/remote_file/main.pyo
+lib/kitty/kittens/resize_window/__init__.py
+lib/kitty/kittens/resize_window/__init__.pyc
+lib/kitty/kittens/resize_window/__init__.pyo
+lib/kitty/kittens/resize_window/main.py
+lib/kitty/kittens/resize_window/main.pyc
+lib/kitty/kittens/resize_window/main.pyo
+lib/kitty/kittens/runner.py
+lib/kitty/kittens/runner.pyc
+lib/kitty/kittens/runner.pyo
+lib/kitty/kittens/show_key/__init__.py
+lib/kitty/kittens/show_key/__init__.pyc
+lib/kitty/kittens/show_key/__init__.pyo
+lib/kitty/kittens/show_key/main.py
+lib/kitty/kittens/show_key/main.pyc
+lib/kitty/kittens/show_key/main.pyo
+lib/kitty/kittens/ssh/__init__.py
+lib/kitty/kittens/ssh/__init__.pyc
+lib/kitty/kittens/ssh/__init__.pyo
+lib/kitty/kittens/ssh/main.py
+lib/kitty/kittens/ssh/main.pyc
+lib/kitty/kittens/ssh/main.pyo
+lib/kitty/kittens/ssh/utils.py
+lib/kitty/kittens/ssh/utils.pyc
+lib/kitty/kittens/ssh/utils.pyo
+lib/kitty/kittens/themes/__init__.py
+lib/kitty/kittens/themes/__init__.pyc
+lib/kitty/kittens/themes/__init__.pyo
+lib/kitty/kittens/themes/main.py
+lib/kitty/kittens/themes/main.pyc
+lib/kitty/kittens/themes/main.pyo
+lib/kitty/kittens/transfer/__init__.py
+lib/kitty/kittens/transfer/__init__.pyc
+lib/kitty/kittens/transfer/__init__.pyo
+lib/kitty/kittens/transfer/main.py
+lib/kitty/kittens/transfer/main.pyc
+lib/kitty/kittens/transfer/main.pyo
+lib/kitty/kittens/transfer/rsync.so
+lib/kitty/kittens/transfer/utils.py
+lib/kitty/kittens/transfer/utils.pyc
+lib/kitty/kittens/transfer/utils.pyo
+lib/kitty/kittens/tui/__init__.py
+lib/kitty/kittens/tui/__init__.pyc
+lib/kitty/kittens/tui/__init__.pyo
+lib/kitty/kittens/tui/dircolors.py
+lib/kitty/kittens/tui/dircolors.pyc
+lib/kitty/kittens/tui/dircolors.pyo
+lib/kitty/kittens/tui/handler.py
+lib/kitty/kittens/tui/handler.pyc
+lib/kitty/kittens/tui/handler.pyo
+lib/kitty/kittens/tui/images.py
+lib/kitty/kittens/tui/images.pyc
+lib/kitty/kittens/tui/images.pyo
+lib/kitty/kittens/tui/line_edit.py
+lib/kitty/kittens/tui/line_edit.pyc
+lib/kitty/kittens/tui/line_edit.pyo
+lib/kitty/kittens/tui/loop.py
+lib/kitty/kittens/tui/loop.pyc
+lib/kitty/kittens/tui/loop.pyo
+lib/kitty/kittens/tui/operations.py
+lib/kitty/kittens/tui/operations.pyc
+lib/kitty/kittens/tui/operations.pyo
+lib/kitty/kittens/tui/operations_stub.py
+lib/kitty/kittens/tui/operations_stub.pyc
+lib/kitty/kittens/tui/operations_stub.pyo
+lib/kitty/kittens/tui/path_completer.py
+lib/kitty/kittens/tui/path_completer.pyc
+lib/kitty/kittens/tui/path_completer.pyo
+lib/kitty/kittens/tui/progress.py
+lib/kitty/kittens/tui/progress.pyc
+lib/kitty/kittens/tui/progress.pyo
+lib/kitty/kittens/tui/spinners.py
+lib/kitty/kittens/tui/spinners.pyc
+lib/kitty/kittens/tui/spinners.pyo
+lib/kitty/kittens/tui/utils.py
+lib/kitty/kittens/tui/utils.pyc
+lib/kitty/kittens/tui/utils.pyo
+lib/kitty/kittens/unicode_input/__init__.py
+lib/kitty/kittens/unicode_input/__init__.pyc
+lib/kitty/kittens/unicode_input/__init__.pyo
+lib/kitty/kittens/unicode_input/main.py
+lib/kitty/kittens/unicode_input/main.pyc
+lib/kitty/kittens/unicode_input/main.pyo
+lib/kitty/kitty/__init__.py
+lib/kitty/kitty/__init__.pyc
+lib/kitty/kitty/__init__.pyo
+lib/kitty/kitty/actions.py
+lib/kitty/kitty/actions.pyc
+lib/kitty/kitty/actions.pyo
+lib/kitty/kitty/alpha_blend.glsl
+lib/kitty/kitty/bash.py
+lib/kitty/kitty/bash.pyc
+lib/kitty/kitty/bash.pyo
+lib/kitty/kitty/bgimage_fragment.glsl
+lib/kitty/kitty/bgimage_vertex.glsl
+lib/kitty/kitty/border_fragment.glsl
+lib/kitty/kitty/border_vertex.glsl
+lib/kitty/kitty/borders.py
+lib/kitty/kitty/borders.pyc
+lib/kitty/kitty/borders.pyo
+lib/kitty/kitty/boss.py
+lib/kitty/kitty/boss.pyc
+lib/kitty/kitty/boss.pyo
+lib/kitty/kitty/cell_defines.glsl
+lib/kitty/kitty/cell_fragment.glsl
+lib/kitty/kitty/cell_vertex.glsl
+lib/kitty/kitty/child.py
+lib/kitty/kitty/child.pyc
+lib/kitty/kitty/child.pyo
+lib/kitty/kitty/choose_entry.py
+lib/kitty/kitty/choose_entry.pyc
+lib/kitty/kitty/choose_entry.pyo
+lib/kitty/kitty/cli.py
+lib/kitty/kitty/cli.pyc
+lib/kitty/kitty/cli.pyo
+lib/kitty/kitty/cli_stub.py
+lib/kitty/kitty/cli_stub.pyc
+lib/kitty/kitty/cli_stub.pyo
+lib/kitty/kitty/client.py
+lib/kitty/kitty/client.pyc
+lib/kitty/kitty/client.pyo
+lib/kitty/kitty/clipboard.py
+lib/kitty/kitty/clipboard.pyc
+lib/kitty/kitty/clipboard.pyo
+lib/kitty/kitty/conf/__init__.py
+lib/kitty/kitty/conf/__init__.pyc
+lib/kitty/kitty/conf/__init__.pyo
+lib/kitty/kitty/conf/generate.py
+lib/kitty/kitty/conf/generate.pyc
+lib/kitty/kitty/conf/generate.pyo
+lib/kitty/kitty/conf/types.py
+lib/kitty/kitty/conf/types.pyc
+lib/kitty/kitty/conf/types.pyo
+lib/kitty/kitty/conf/utils.py
+lib/kitty/kitty/conf/utils.pyc
+lib/kitty/kitty/conf/utils.pyo
+lib/kitty/kitty/config.py
+lib/kitty/kitty/config.pyc
+lib/kitty/kitty/config.pyo
+lib/kitty/kitty/constants.py
+lib/kitty/kitty/constants.pyc
+lib/kitty/kitty/constants.pyo
+lib/kitty/kitty/debug_config.py
+lib/kitty/kitty/debug_config.pyc
+lib/kitty/kitty/debug_config.pyo
+lib/kitty/kitty/entry_points.py
+lib/kitty/kitty/entry_points.pyc
+lib/kitty/kitty/entry_points.pyo
+lib/kitty/kitty/fast_data_types.so
+lib/kitty/kitty/file_transmission.py
+lib/kitty/kitty/file_transmission.pyc
+lib/kitty/kitty/file_transmission.pyo
+lib/kitty/kitty/fonts/__init__.py
+lib/kitty/kitty/fonts/__init__.pyc
+lib/kitty/kitty/fonts/__init__.pyo
+lib/kitty/kitty/fonts/box_drawing.py
+lib/kitty/kitty/fonts/box_drawing.pyc
+lib/kitty/kitty/fonts/box_drawing.pyo
+lib/kitty/kitty/fonts/core_text.py
+lib/kitty/kitty/fonts/core_text.pyc
+lib/kitty/kitty/fonts/core_text.pyo
+lib/kitty/kitty/fonts/fontconfig.py
+lib/kitty/kitty/fonts/fontconfig.pyc
+lib/kitty/kitty/fonts/fontconfig.pyo
+lib/kitty/kitty/fonts/list.py
+lib/kitty/kitty/fonts/list.pyc
+lib/kitty/kitty/fonts/list.pyo
+lib/kitty/kitty/fonts/render.py
+lib/kitty/kitty/fonts/render.pyc
+lib/kitty/kitty/fonts/render.pyo
+${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
+lib/kitty/kitty/guess_mime_type.py
+lib/kitty/kitty/guess_mime_type.pyc
+lib/kitty/kitty/guess_mime_type.pyo
+lib/kitty/kitty/key_encoding.py
+lib/kitty/kitty/key_encoding.pyc
+lib/kitty/kitty/key_encoding.pyo
+lib/kitty/kitty/key_names.py
+lib/kitty/kitty/key_names.pyc
+lib/kitty/kitty/key_names.pyo
+lib/kitty/kitty/keys.py
+lib/kitty/kitty/keys.pyc
+lib/kitty/kitty/keys.pyo
+lib/kitty/kitty/launch.py
+lib/kitty/kitty/launch.pyc
+lib/kitty/kitty/launch.pyo
+lib/kitty/kitty/launcher/kitty
+lib/kitty/kitty/layout/__init__.py
+lib/kitty/kitty/layout/__init__.pyc
+lib/kitty/kitty/layout/__init__.pyo
+lib/kitty/kitty/layout/base.py
+lib/kitty/kitty/layout/base.pyc
+lib/kitty/kitty/layout/base.pyo
+lib/kitty/kitty/layout/grid.py
+lib/kitty/kitty/layout/grid.pyc
+lib/kitty/kitty/layout/grid.pyo
+lib/kitty/kitty/layout/interface.py
+lib/kitty/kitty/layout/interface.pyc
+lib/kitty/kitty/layout/interface.pyo
+lib/kitty/kitty/layout/splits.py
+lib/kitty/kitty/layout/splits.pyc
+lib/kitty/kitty/layout/splits.pyo
+lib/kitty/kitty/layout/stack.py
+lib/kitty/kitty/layout/stack.pyc
+lib/kitty/kitty/layout/stack.pyo
+lib/kitty/kitty/layout/tall.py
+lib/kitty/kitty/layout/tall.pyc
+lib/kitty/kitty/layout/tall.pyo
+lib/kitty/kitty/layout/vertical.py
+lib/kitty/kitty/layout/vertical.pyc
+lib/kitty/kitty/layout/vertical.pyo
+lib/kitty/kitty/linear2srgb.glsl
+lib/kitty/kitty/main.py
+lib/kitty/kitty/main.pyc
+lib/kitty/kitty/main.pyo
+lib/kitty/kitty/marks.py
+lib/kitty/kitty/marks.pyc
+lib/kitty/kitty/marks.pyo
+lib/kitty/kitty/multiprocessing.py
+lib/kitty/kitty/multiprocessing.pyc
+lib/kitty/kitty/multiprocessing.pyo
+lib/kitty/kitty/notify.py
+lib/kitty/kitty/notify.pyc
+lib/kitty/kitty/notify.pyo
+lib/kitty/kitty/open_actions.py
+lib/kitty/kitty/open_actions.pyc
+lib/kitty/kitty/open_actions.pyo
+lib/kitty/kitty/options/__init__.py
+lib/kitty/kitty/options/__init__.pyc
+lib/kitty/kitty/options/__init__.pyo
+lib/kitty/kitty/options/definition.py
+lib/kitty/kitty/options/definition.pyc
+lib/kitty/kitty/options/definition.pyo
+lib/kitty/kitty/options/parse.py
+lib/kitty/kitty/options/parse.pyc
+lib/kitty/kitty/options/parse.pyo
+lib/kitty/kitty/options/types.py
+lib/kitty/kitty/options/types.pyc
+lib/kitty/kitty/options/types.pyo
+lib/kitty/kitty/options/utils.py
+lib/kitty/kitty/options/utils.pyc
+lib/kitty/kitty/options/utils.pyo
+lib/kitty/kitty/os_window_size.py
+lib/kitty/kitty/os_window_size.pyc
+lib/kitty/kitty/os_window_size.pyo
+lib/kitty/kitty/rc/__init__.py
+lib/kitty/kitty/rc/__init__.pyc
+lib/kitty/kitty/rc/__init__.pyo
+lib/kitty/kitty/rc/base.py
+lib/kitty/kitty/rc/base.pyc
+lib/kitty/kitty/rc/base.pyo
+lib/kitty/kitty/rc/close_tab.py
+lib/kitty/kitty/rc/close_tab.pyc
+lib/kitty/kitty/rc/close_tab.pyo
+lib/kitty/kitty/rc/close_window.py
+lib/kitty/kitty/rc/close_window.pyc
+lib/kitty/kitty/rc/close_window.pyo
+lib/kitty/kitty/rc/create_marker.py
+lib/kitty/kitty/rc/create_marker.pyc
+lib/kitty/kitty/rc/create_marker.pyo
+lib/kitty/kitty/rc/detach_tab.py
+lib/kitty/kitty/rc/detach_tab.pyc
+lib/kitty/kitty/rc/detach_tab.pyo
+lib/kitty/kitty/rc/detach_window.py
+lib/kitty/kitty/rc/detach_window.pyc
+lib/kitty/kitty/rc/detach_window.pyo
+lib/kitty/kitty/rc/disable_ligatures.py
+lib/kitty/kitty/rc/disable_ligatures.pyc
+lib/kitty/kitty/rc/disable_ligatures.pyo
+lib/kitty/kitty/rc/env.py
+lib/kitty/kitty/rc/env.pyc
+lib/kitty/kitty/rc/env.pyo
+lib/kitty/kitty/rc/focus_tab.py
+lib/kitty/kitty/rc/focus_tab.pyc
+lib/kitty/kitty/rc/focus_tab.pyo
+lib/kitty/kitty/rc/focus_window.py
+lib/kitty/kitty/rc/focus_window.pyc
+lib/kitty/kitty/rc/focus_window.pyo
+lib/kitty/kitty/rc/get_colors.py
+lib/kitty/kitty/rc/get_colors.pyc
+lib/kitty/kitty/rc/get_colors.pyo
+lib/kitty/kitty/rc/get_text.py
+lib/kitty/kitty/rc/get_text.pyc
+lib/kitty/kitty/rc/get_text.pyo
+lib/kitty/kitty/rc/goto_layout.py
+lib/kitty/kitty/rc/goto_layout.pyc
+lib/kitty/kitty/rc/goto_layout.pyo
+lib/kitty/kitty/rc/kitten.py
+lib/kitty/kitty/rc/kitten.pyc
+lib/kitty/kitty/rc/kitten.pyo
+lib/kitty/kitty/rc/last_used_layout.py
+lib/kitty/kitty/rc/last_used_layout.pyc
+lib/kitty/kitty/rc/last_used_layout.pyo
+lib/kitty/kitty/rc/launch.py
+lib/kitty/kitty/rc/launch.pyc
+lib/kitty/kitty/rc/launch.pyo
+lib/kitty/kitty/rc/ls.py
+lib/kitty/kitty/rc/ls.pyc
+lib/kitty/kitty/rc/ls.pyo
+lib/kitty/kitty/rc/new_window.py
+lib/kitty/kitty/rc/new_window.pyc
+lib/kitty/kitty/rc/new_window.pyo
+lib/kitty/kitty/rc/remove_marker.py
+lib/kitty/kitty/rc/remove_marker.pyc
+lib/kitty/kitty/rc/remove_marker.pyo
+lib/kitty/kitty/rc/resize_os_window.py
+lib/kitty/kitty/rc/resize_os_window.pyc
+lib/kitty/kitty/rc/resize_os_window.pyo
+lib/kitty/kitty/rc/resize_window.py
+lib/kitty/kitty/rc/resize_window.pyc
+lib/kitty/kitty/rc/resize_window.pyo
+lib/kitty/kitty/rc/scroll_window.py
+lib/kitty/kitty/rc/scroll_window.pyc
+lib/kitty/kitty/rc/scroll_window.pyo
+lib/kitty/kitty/rc/select_window.py
+lib/kitty/kitty/rc/select_window.pyc
+lib/kitty/kitty/rc/select_window.pyo
+lib/kitty/kitty/rc/send_text.py
+lib/kitty/kitty/rc/send_text.pyc
+lib/kitty/kitty/rc/send_text.pyo
+lib/kitty/kitty/rc/set_background_image.py
+lib/kitty/kitty/rc/set_background_image.pyc
+lib/kitty/kitty/rc/set_background_image.pyo
+lib/kitty/kitty/rc/set_background_opacity.py
+lib/kitty/kitty/rc/set_background_opacity.pyc
+lib/kitty/kitty/rc/set_background_opacity.pyo
+lib/kitty/kitty/rc/set_colors.py
+lib/kitty/kitty/rc/set_colors.pyc
+lib/kitty/kitty/rc/set_colors.pyo
+lib/kitty/kitty/rc/set_enabled_layouts.py
+lib/kitty/kitty/rc/set_enabled_layouts.pyc
+lib/kitty/kitty/rc/set_enabled_layouts.pyo
+lib/kitty/kitty/rc/set_font_size.py
+lib/kitty/kitty/rc/set_font_size.pyc
+lib/kitty/kitty/rc/set_font_size.pyo
+lib/kitty/kitty/rc/set_spacing.py
+lib/kitty/kitty/rc/set_spacing.pyc
+lib/kitty/kitty/rc/set_spacing.pyo
+lib/kitty/kitty/rc/set_tab_color.py
+lib/kitty/kitty/rc/set_tab_color.pyc
+lib/kitty/kitty/rc/set_tab_color.pyo
+lib/kitty/kitty/rc/set_tab_title.py
+lib/kitty/kitty/rc/set_tab_title.pyc
+lib/kitty/kitty/rc/set_tab_title.pyo
+lib/kitty/kitty/rc/set_user_vars.py
+lib/kitty/kitty/rc/set_user_vars.pyc
+lib/kitty/kitty/rc/set_user_vars.pyo
+lib/kitty/kitty/rc/set_window_logo.py
+lib/kitty/kitty/rc/set_window_logo.pyc
+lib/kitty/kitty/rc/set_window_logo.pyo
+lib/kitty/kitty/rc/set_window_title.py
+lib/kitty/kitty/rc/set_window_title.pyc
+lib/kitty/kitty/rc/set_window_title.pyo
+lib/kitty/kitty/rc/signal_child.py
+lib/kitty/kitty/rc/signal_child.pyc
+lib/kitty/kitty/rc/signal_child.pyo
+lib/kitty/kitty/remote_control.py
+lib/kitty/kitty/remote_control.pyc
+lib/kitty/kitty/remote_control.pyo
+lib/kitty/kitty/rgb.py
+lib/kitty/kitty/rgb.pyc
+lib/kitty/kitty/rgb.pyo
+lib/kitty/kitty/search_query_parser.py
+lib/kitty/kitty/search_query_parser.pyc
+lib/kitty/kitty/search_query_parser.pyo
+lib/kitty/kitty/session.py
+lib/kitty/kitty/session.pyc
+lib/kitty/kitty/session.pyo
+lib/kitty/kitty/shaders.py
+lib/kitty/kitty/shaders.pyc
+lib/kitty/kitty/shaders.pyo
+lib/kitty/kitty/shell_integration.py
+lib/kitty/kitty/shell_integration.pyc
+lib/kitty/kitty/shell_integration.pyo
+lib/kitty/kitty/shm.py
+lib/kitty/kitty/shm.pyc
+lib/kitty/kitty/shm.pyo
+lib/kitty/kitty/short_uuid.py
+lib/kitty/kitty/short_uuid.pyc
+lib/kitty/kitty/short_uuid.pyo
+lib/kitty/kitty/tab_bar.py
+lib/kitty/kitty/tab_bar.pyc
+lib/kitty/kitty/tab_bar.pyo
+lib/kitty/kitty/tabs.py
+lib/kitty/kitty/tabs.pyc
+lib/kitty/kitty/tabs.pyo
+lib/kitty/kitty/terminfo.py
+lib/kitty/kitty/terminfo.pyc
+lib/kitty/kitty/terminfo.pyo
+lib/kitty/kitty/tint_fragment.glsl
+lib/kitty/kitty/tint_vertex.glsl
+lib/kitty/kitty/types.py
+lib/kitty/kitty/types.pyc
+lib/kitty/kitty/types.pyo
+lib/kitty/kitty/typing.py
+lib/kitty/kitty/typing.pyc
+lib/kitty/kitty/typing.pyo
+lib/kitty/kitty/update_check.py
+lib/kitty/kitty/update_check.pyc
+lib/kitty/kitty/update_check.pyo
+lib/kitty/kitty/utils.py
+lib/kitty/kitty/utils.pyc
+lib/kitty/kitty/utils.pyo
+lib/kitty/kitty/window.py
+lib/kitty/kitty/window.pyc
+lib/kitty/kitty/window.pyo
+lib/kitty/kitty/window_list.py
+lib/kitty/kitty/window_list.pyc
+lib/kitty/kitty/window_list.pyo
+lib/kitty/logo/beam-cursor.png
+lib/kitty/logo/beam-cursor%2x.png@localhost
+lib/kitty/logo/kitty-128.png
+lib/kitty/logo/kitty.png
+lib/kitty/shell-integration/bash/kitty.bash
+lib/kitty/shell-integration/fish/vendor_completions.d/clone-in-kitty.fish
+lib/kitty/shell-integration/fish/vendor_completions.d/kitten.fish
+lib/kitty/shell-integration/fish/vendor_completions.d/kitty.fish
+lib/kitty/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish
+lib/kitty/shell-integration/ssh/bootstrap-utils.sh
+lib/kitty/shell-integration/ssh/bootstrap.py
+lib/kitty/shell-integration/ssh/bootstrap.sh
+lib/kitty/shell-integration/ssh/kitten
+lib/kitty/shell-integration/ssh/kitty
+lib/kitty/shell-integration/zsh/.zshenv
+lib/kitty/shell-integration/zsh/completions/_kitty
+lib/kitty/shell-integration/zsh/kitty-integration
+lib/kitty/shell-integration/zsh/kitty.zsh
+lib/kitty/terminfo/kitty.termcap
+lib/kitty/terminfo/kitty.terminfo
+lib/kitty/terminfo/x/xterm-kitty
+man/man1/kitty.1
+man/man5/kitty.conf.5
+share/applications/kitty-open.desktop
+share/applications/kitty.desktop
+share/doc/kitty/html/.buildinfo
+share/doc/kitty/html/.nojekyll
+share/doc/kitty/html/_downloads/1792bad15b12979994cd6ecc54c967a6/rowcolumn-diacritics.txt
+share/doc/kitty/html/_downloads/433dadebd0bf504f8b008985378086ce/kitty.conf
+share/doc/kitty/html/_downloads/a489ebbb52d84eeb19a12b2fda7debda/diff.conf
+share/doc/kitty/html/_images/diff.png
+share/doc/kitty/html/_images/hints_mode.png
+share/doc/kitty/html/_images/panel.png
+share/doc/kitty/html/_images/remote_file.png
+share/doc/kitty/html/_images/screenshot.png
+share/doc/kitty/html/_images/social_previews/summary_actions_1745a1bd.png
+share/doc/kitty/html/_images/social_previews/summary_binary_478594b0.png
+share/doc/kitty/html/_images/social_previews/summary_build_7ee1e14e.png
+share/doc/kitty/html/_images/social_previews/summary_changelog_439aee19.png
+share/doc/kitty/html/_images/social_previews/summary_clipboard_673291d1.png
+share/doc/kitty/html/_images/social_previews/summary_color-stack_587105f7.png
+share/doc/kitty/html/_images/social_previews/summary_conf_6d817f14.png
+share/doc/kitty/html/_images/social_previews/summary_deccara_77e64daf.png
+share/doc/kitty/html/_images/social_previews/summary_desktop-notifications_9e55697a.png
+share/doc/kitty/html/_images/social_previews/summary_faq_6acfb156.png
+share/doc/kitty/html/_images/social_previews/summary_file-transfer-protocol_67d60cd4.png
+share/doc/kitty/html/_images/social_previews/summary_generated_launch_2c8ae1a7.png
+share/doc/kitty/html/_images/social_previews/summary_generated_rc_1e263193.png
+share/doc/kitty/html/_images/social_previews/summary_generated_ssh-copy_26aa9e71.png
+share/doc/kitty/html/_images/social_previews/summary_glossary_e93f6fff.png
+share/doc/kitty/html/_images/social_previews/summary_graphics-protocol_96eb2627.png
+share/doc/kitty/html/_images/social_previews/summary_index_cb55e922.png
+share/doc/kitty/html/_images/social_previews/summary_integrations_89a2636c.png
+share/doc/kitty/html/_images/social_previews/summary_intro_vid_14889341.png
+share/doc/kitty/html/_images/social_previews/summary_invocation_05c40da8.png
+share/doc/kitty/html/_images/social_previews/summary_keyboard-protocol_37967379.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_broadcast_4dfe59be.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_clipboard_93006611.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_custom_264d6309.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_diff_56ec1326.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_hints_cf0d0da9.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_hyperlinked_grep_bce050dc.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_icat_8f870112.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_intro_2aa247aa.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_panel_60319d79.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_query_terminal_bcf6bdb9.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_remote_file_c5782e6e.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_ssh_d0cb65fa.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_themes_72ee7bcd.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_transfer_009949a9.png
+share/doc/kitty/html/_images/social_previews/summary_kittens_unicode_input_f1ba948b.png
+share/doc/kitty/html/_images/social_previews/summary_launch_717c78bb.png
+share/doc/kitty/html/_images/social_previews/summary_layouts_49b07683.png
+share/doc/kitty/html/_images/social_previews/summary_marks_66066db1.png
+share/doc/kitty/html/_images/social_previews/summary_open_actions_c69b3759.png
+share/doc/kitty/html/_images/social_previews/summary_overview_249bd848.png
+share/doc/kitty/html/_images/social_previews/summary_performance_76c80d2e.png
+share/doc/kitty/html/_images/social_previews/summary_pipe_168d77ad.png
+share/doc/kitty/html/_images/social_previews/summary_press-mentions_3ce20e22.png
+share/doc/kitty/html/_images/social_previews/summary_protocol-extensions_ea5204ed.png
+share/doc/kitty/html/_images/social_previews/summary_quickstart_9d1a56df.png
+share/doc/kitty/html/_images/social_previews/summary_rc_protocol_ea1138ef.png
+share/doc/kitty/html/_images/social_previews/summary_remote-control_7371e6b3.png
+share/doc/kitty/html/_images/social_previews/summary_shell-integration_4b2a7549.png
+share/doc/kitty/html/_images/social_previews/summary_support_daeae705.png
+share/doc/kitty/html/_images/social_previews/summary_underlines_c33f785f.png
+share/doc/kitty/html/_images/social_previews/summary_unscroll_98a1c6ca.png
+share/doc/kitty/html/_images/splits.png
+share/doc/kitty/html/_images/themes.png
+share/doc/kitty/html/_images/transfer.png
+share/doc/kitty/html/_images/unicode.png
+share/doc/kitty/html/_sources/actions.rst.txt
+share/doc/kitty/html/_sources/binary.rst.txt
+share/doc/kitty/html/_sources/build.rst.txt
+share/doc/kitty/html/_sources/changelog.rst.txt
+share/doc/kitty/html/_sources/clipboard.rst.txt
+share/doc/kitty/html/_sources/color-stack.rst.txt
+share/doc/kitty/html/_sources/conf.rst.txt
+share/doc/kitty/html/_sources/deccara.rst.txt
+share/doc/kitty/html/_sources/desktop-notifications.rst.txt
+share/doc/kitty/html/_sources/faq.rst.txt
+share/doc/kitty/html/_sources/file-transfer-protocol.rst.txt
+share/doc/kitty/html/_sources/generated/launch.rst.txt
+share/doc/kitty/html/_sources/generated/rc.rst.txt
+share/doc/kitty/html/_sources/generated/ssh-copy.rst.txt
+share/doc/kitty/html/_sources/glossary.rst.txt
+share/doc/kitty/html/_sources/graphics-protocol.rst.txt
+share/doc/kitty/html/_sources/index.rst.txt
+share/doc/kitty/html/_sources/integrations.rst.txt
+share/doc/kitty/html/_sources/intro_vid.rst.txt
+share/doc/kitty/html/_sources/invocation.rst.txt
+share/doc/kitty/html/_sources/keyboard-protocol.rst.txt
+share/doc/kitty/html/_sources/kittens/broadcast.rst.txt
+share/doc/kitty/html/_sources/kittens/clipboard.rst.txt
+share/doc/kitty/html/_sources/kittens/custom.rst.txt
+share/doc/kitty/html/_sources/kittens/diff.rst.txt
+share/doc/kitty/html/_sources/kittens/hints.rst.txt
+share/doc/kitty/html/_sources/kittens/hyperlinked_grep.rst.txt
+share/doc/kitty/html/_sources/kittens/icat.rst.txt
+share/doc/kitty/html/_sources/kittens/panel.rst.txt
+share/doc/kitty/html/_sources/kittens/query_terminal.rst.txt
+share/doc/kitty/html/_sources/kittens/remote_file.rst.txt
+share/doc/kitty/html/_sources/kittens/ssh.rst.txt
+share/doc/kitty/html/_sources/kittens/themes.rst.txt
+share/doc/kitty/html/_sources/kittens/transfer.rst.txt
+share/doc/kitty/html/_sources/kittens/unicode_input.rst.txt
+share/doc/kitty/html/_sources/kittens_intro.rst.txt
+share/doc/kitty/html/_sources/launch.rst.txt
+share/doc/kitty/html/_sources/layouts.rst.txt
+share/doc/kitty/html/_sources/marks.rst.txt
+share/doc/kitty/html/_sources/open_actions.rst.txt
+share/doc/kitty/html/_sources/overview.rst.txt
+share/doc/kitty/html/_sources/performance.rst.txt
+share/doc/kitty/html/_sources/pipe.rst.txt
+share/doc/kitty/html/_sources/press-mentions.rst.txt
+share/doc/kitty/html/_sources/protocol-extensions.rst.txt
+share/doc/kitty/html/_sources/quickstart.rst.txt
+share/doc/kitty/html/_sources/rc_protocol.rst.txt
+share/doc/kitty/html/_sources/remote-control.rst.txt
+share/doc/kitty/html/_sources/shell-integration.rst.txt
+share/doc/kitty/html/_sources/support.rst.txt
+share/doc/kitty/html/_sources/underlines.rst.txt
+share/doc/kitty/html/_sources/unscroll.rst.txt
+share/doc/kitty/html/_static/basic.css
+share/doc/kitty/html/_static/check-solid.svg
+share/doc/kitty/html/_static/clipboard.min.js
+share/doc/kitty/html/_static/copy-button.svg
+share/doc/kitty/html/_static/copybutton.css
+share/doc/kitty/html/_static/copybutton.js
+share/doc/kitty/html/_static/copybutton_funcs.js
+share/doc/kitty/html/_static/custom.css
+share/doc/kitty/html/_static/custom.js
+share/doc/kitty/html/_static/debug.css
+share/doc/kitty/html/_static/doctools.js
+share/doc/kitty/html/_static/documentation_options.js
+share/doc/kitty/html/_static/file.png
+share/doc/kitty/html/_static/kitty.svg
+share/doc/kitty/html/_static/language_data.js
+share/doc/kitty/html/_static/minus.png
+share/doc/kitty/html/_static/plus.png
+share/doc/kitty/html/_static/poster.png
+share/doc/kitty/html/_static/pygments.css
+share/doc/kitty/html/_static/scripts/furo.js
+share/doc/kitty/html/_static/scripts/furo.js.map
+share/doc/kitty/html/_static/searchtools.js
+share/doc/kitty/html/_static/skeleton.css
+share/doc/kitty/html/_static/sphinx_highlight.js
+share/doc/kitty/html/_static/styles/furo-extensions.css
+share/doc/kitty/html/_static/styles/furo-extensions.css.map
+share/doc/kitty/html/_static/styles/furo.css
+share/doc/kitty/html/_static/styles/furo.css.map
+share/doc/kitty/html/_static/tabs.css
+share/doc/kitty/html/_static/tabs.js
+share/doc/kitty/html/_static/timestamps.css
+share/doc/kitty/html/_static/timestamps.js
+share/doc/kitty/html/actions.html
+share/doc/kitty/html/binary.html
+share/doc/kitty/html/build.html
+share/doc/kitty/html/changelog.html
+share/doc/kitty/html/clipboard.html
+share/doc/kitty/html/color-stack.html
+share/doc/kitty/html/conf.html
+share/doc/kitty/html/deccara.html
+share/doc/kitty/html/desktop-notifications.html
+share/doc/kitty/html/faq.html
+share/doc/kitty/html/file-transfer-protocol.html
+share/doc/kitty/html/generated/launch.html
+share/doc/kitty/html/generated/rc.html
+share/doc/kitty/html/generated/ssh-copy.html
+share/doc/kitty/html/genindex.html
+share/doc/kitty/html/glossary.html
+share/doc/kitty/html/graphics-protocol.html
+share/doc/kitty/html/index.html
+share/doc/kitty/html/integrations.html
+share/doc/kitty/html/intro_vid.html
+share/doc/kitty/html/invocation.html
+share/doc/kitty/html/keyboard-protocol.html
+share/doc/kitty/html/kittens/broadcast.html
+share/doc/kitty/html/kittens/clipboard.html
+share/doc/kitty/html/kittens/custom.html
+share/doc/kitty/html/kittens/diff.html
+share/doc/kitty/html/kittens/hints.html
+share/doc/kitty/html/kittens/hyperlinked_grep.html
+share/doc/kitty/html/kittens/icat.html
+share/doc/kitty/html/kittens/panel.html
+share/doc/kitty/html/kittens/query_terminal.html
+share/doc/kitty/html/kittens/remote_file.html
+share/doc/kitty/html/kittens/ssh.html
+share/doc/kitty/html/kittens/themes.html
+share/doc/kitty/html/kittens/transfer.html
+share/doc/kitty/html/kittens/unicode_input.html
+share/doc/kitty/html/kittens_intro.html
+share/doc/kitty/html/launch.html
+share/doc/kitty/html/layouts.html
+share/doc/kitty/html/marks.html
+share/doc/kitty/html/objects.inv
+share/doc/kitty/html/open_actions.html
+share/doc/kitty/html/overview.html
+share/doc/kitty/html/performance.html
+share/doc/kitty/html/pipe.html
+share/doc/kitty/html/press-mentions.html
+share/doc/kitty/html/protocol-extensions.html
+share/doc/kitty/html/quickstart.html
+share/doc/kitty/html/rc_protocol.html
+share/doc/kitty/html/remote-control.html
+share/doc/kitty/html/search.html
+share/doc/kitty/html/searchindex.js
+share/doc/kitty/html/shell-integration.html
+share/doc/kitty/html/support.html
+share/doc/kitty/html/underlines.html
+share/doc/kitty/html/unscroll.html
+share/icons/hicolor/256x256/apps/kitty.png
+share/icons/hicolor/scalable/apps/kitty.svg
+share/terminfo/x/xterm-kitty
diff --git a/kitty/distinfo b/kitty/distinfo
new file mode 100644
index 0000000000..9b8693a0ca
--- /dev/null
+++ b/kitty/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.21 2022/11/13 15:44:52 pin Exp $
+
+BLAKE2s (kitty-0.30.1.tar.xz) = 6af548b7b8553218f511504f5a6ea9c53dc153cdb93c45ad23bdf9fa85694c2d
+SHA512 (kitty-0.30.1.tar.xz) = e5fd68b8acf3eae8f53a2c27101d998eb0d8eff1571de1b03ab431bceafcab0efae821590684ec48b5ed6e3d86fb984d9e04784022ba50c0378d37a68598f9ed
+Size (kitty-0.30.1.tar.xz) = 7799076 bytes
+SHA1 (patch-glfw_wl__init.c) = d3bfa4c4a4b6a524a3a5fddd234368022bcb5c95
+SHA1 (patch-kitty_binary.h) = e8e6e9b16a1bd7d0304bca919ad10dd932142da5
+SHA1 (patch-kitty_threading.h) = 04886ab09ac2ab6f4925cd20e739e6b634299d55
diff --git a/kitty/options.mk b/kitty/options.mk
new file mode 100644
index 0000000000..95f5076594
--- /dev/null
+++ b/kitty/options.mk
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2020/02/26 15:47:34 nia Exp $
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.kitty
+PKG_SUPPORTED_OPTIONS=		wayland
+
+.include "../../devel/wayland/platform.mk"
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS=		wayland
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=	wayland
+.if !empty(PKG_OPTIONS:Mwayland)
+PLIST.wayland=	yes
+.  include "../../devel/wayland/buildlink3.mk"
+.  include "../../devel/wayland-protocols/buildlink3.mk"
+.endif
diff --git a/kitty/patches/patch-glfw_wl__init.c b/kitty/patches/patch-glfw_wl__init.c
new file mode 100644
index 0000000000..a9e352e07d
--- /dev/null
+++ b/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
+ 
+ 
diff --git a/kitty/patches/patch-kitty_binary.h b/kitty/patches/patch-kitty_binary.h
new file mode 100644
index 0000000000..38a8d2e50c
--- /dev/null
+++ b/kitty/patches/patch-kitty_binary.h
@@ -0,0 +1,19 @@
+$NetBSD$
+
+Avoid symbol conflict on NetBSD.
+
+--- kitty/binary.h.orig	2023-10-05 11:08:03.000000000 +0000
++++ kitty/binary.h
+@@ -8,6 +8,7 @@
+ 
+ #include <stdint.h>
+ 
++#ifndef __NetBSD__
+ static inline uint16_t
+ be16dec(const void *pp) {
+     uint8_t const *p = (uint8_t const *)pp;
+@@ -91,3 +92,4 @@ le64enc(void *pp, uint64_t u) {
+     le32enc(p, (uint32_t)(u & 0xffffffffU));
+     le32enc(p + 4, (uint32_t)(u >> 32));
+ }
++#endif
diff --git a/kitty/patches/patch-kitty_threading.h b/kitty/patches/patch-kitty_threading.h
new file mode 100644
index 0000000000..986ac39169
--- /dev/null
+++ b/kitty/patches/patch-kitty_threading.h
@@ -0,0 +1,24 @@
+$NetBSD: patch-kitty_threading.h,v 1.2 2019/12/14 22:08:10 nia Exp $
+
+Support NetBSD.
+
+--- kitty/threading.h.orig	2019-11-27 04:25:00.000000000 +0000
++++ kitty/threading.h
+@@ -17,6 +17,8 @@ extern int pthread_setname_np(const char
+ #elif defined(FREEBSD_SET_NAME)
+ // Function has a different name on FreeBSD
+ void pthread_set_name_np(pthread_t tid, const char *name);
++#elif defined(__NetBSD__)
++int pthread_setname_np(pthread_t thread, const char *name, void *arg);
+ #else
+ // Need _GNU_SOURCE for pthread_setname_np on linux and that causes other issues on systems with old glibc
+ extern int pthread_setname_np(pthread_t, const char *name);
+@@ -30,6 +32,8 @@ set_thread_name(const char *name) {
+ #elif defined(FREEBSD_SET_NAME)
+     pthread_set_name_np(pthread_self(), name);
+     ret = 0;
++#elif defined(__NetBSD__)
++    ret = pthread_setname_np(pthread_self(), "%s", (char *)name);
+ #else
+     ret = pthread_setname_np(pthread_self(), name);
+ #endif



Home | Main Index | Thread Index | Old Index