From: Daniil Ryvkin Subject: Re: [maintainer update] x11/kitty update 0.47.4 -> 0.48.0 To: yaydn@protonmail.com Cc: "ports@openbsd.org" Date: Sun, 19 Jul 2026 13:55:03 +0300 On Sun, Jul 19, 2026 at 05:59:46AM +0000, yaydn@protonmail.com wrote: > På søndag 19. juli 2026 kl. 03:36, skrev Daniil Ryvkin > : > > > Update x11/kitty from 0.47.4 to 0.48.0. > > > > Wayland backend is disabled as OpenBSD Mesa EGL does not support > > EGL_PLATFORM_WAYLAND_EXT, making it non-functional for OpenGL clients. > > > > Tested on amd64. > > > > Built/tested on current/amd64 with privsep. > > $ cd /usr/ports/x11/kitty/ && make build package test ; make port-lib-depends-check check-shlib-syms > > ===> Regression tests for kitty-0.48.0 > mkdir -p /usr/ports/pobj/kitty-0.48.0/tmp/cache > cd /usr/ports/pobj/kitty-0.48.0/github.com/kovidgoyal/kitty@v0.48.0 && /usr/bin/env -i CC=cc GO386=softfloat GOCACHE="/usr/ports/pobj/kitty-0.48.0/go-cache" GOTOOLCHAIN=local TMPDIR="/usr/ports/pobj/kitty-0.48.0/github.com/kovidgoyal/kitty@v0.48.0" GOPROXY=file:///usr/ports/pobj/kitty-0.48.0/go_modules GO111MODULE=on GOPATH="/usr/ports/pobj/kitty-0.48.0/go:/usr/local/go-pkg" PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool" PATH='/usr/ports/pobj/kitty-0.48.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local' LOCALBASE='/usr/local' X11BASE='/usr/X11R6' CFLAGS='-O2 -pipe -DOPENSSL_clear_free=freezero' TRUEPREFIX='/usr/local' DESTDIR='' HOME='/kitty-0.48.0_writes_to_HOME' PICFLAG="-fpic" BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644 DIRMODE=755 INSTALL_COPY=-c INSTALL_STRIP= MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/usr/ports/pobj/kitty-0.48.0/bin/install -c -m 755" BSD_INSTALL_SCRIPT="/usr/ports/pobj/kitty-0.48.0/bin/install -c -m 755" BSD_INSTALL_DATA="/usr/ports/pobj/kitty-0.48.0/bin/install -c -m 644" BSD_INSTALL_MAN="/usr/ports/pobj/kitty-0.48.0/bin/install -c -m 644" BSD_INSTALL_PROGRAM_DIR="/usr/ports/pobj/kitty-0.48.0/bin/install -d -m 755" BSD_INSTALL_SCRIPT_DIR="/usr/ports/pobj/kitty-0.48.0/bin/install -d -m 755" BSD_INSTALL_DATA_DIR="/usr/ports/pobj/kitty-0.48.0/bin/install -d -m 755" BSD_INSTALL_MAN_DIR="/usr/ports/pobj/kitty-0.48.0/bin/install -d -m 755" CI=true TMPDIR=/usr/ports/pobj/kitty-0.48.0/tmp KITTY_CACHE_DIRECTORY=/usr/ports/pobj/kitty-0.48.0/tmp/cache LC_CTYPE=en_US.UTF-8 go test -modcacherw -trimpath -v -buildvcs=false -p=1 -ldflags="-s -w" github.com/kovidgoyal/kitty > ? github.com/kovidgoyal/kitty [no test files] > > kitty-0.48.0(x11/kitty): > Extra: canberra.2 > -- > // Not sure on the WANTLIB, but checks fine. > > > # TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap kitty > kitty-0.48.0: ok > -- > > Ran on sway with xwayland. Makes sense while the graphics stack has mixed > disabled wayland and xenocara(X11)/wayland/arcan enabled or gl > acceleration otherwise works in non-X11(baremetal or xwayland*) for OpenBSD. > > Builds fine; no nits or grammer/spelling issues that I can find. Not > sure on the canberra.2 WANTLIB though. > > Hope this helps. May you have a cool one. > -- > yaydn > Thanks for testing canberra is loaded dynamically via dlopen(), so moved it from lIB_DEPENDS/WANTLIB to RUN_DEPENDS. Updated diff attached. Index: x11/kitty/Makefile =================================================================== RCS file: /cvs/ports/x11/kitty/Makefile,v diff -u -p -u -p -r1.32 Makefile --- x11/kitty/Makefile 23 Jun 2026 07:11:15 -0000 1.32 +++ x11/kitty/Makefile 19 Jul 2026 10:51:49 -0000 @@ -4,7 +4,7 @@ ONLY_FOR_ARCHS = aarch64 amd64 COMMENT = fast, feature full, GPU-based terminal emulator -MODPY_DISTV = 0.47.4 +MODPY_DISTV = 0.48.0 MODGO_MODNAME = github.com/kovidgoyal/kitty MODGO_VERSION = v${MODPY_DISTV} DISTNAME = kitty-${MODGO_VERSION} @@ -17,11 +17,11 @@ MAINTAINER = Daniil Ryvkin Tuple[List[str], List[str]]: + + + def compile_glfw(compilation_database: CompilationDatabase, build_dsym: bool = False) -> None: +- modules = 'cocoa' if is_macos else 'x11 wayland' ++ modules = 'cocoa' if is_macos else ('x11' if is_openbsd else 'x11 wayland') + for module in modules.split(): + try: + genv = glfw.init_env(env, pkg_config, pkg_version, at_least_version, test_compile, module) +@@ -1388,8 +1384,6 @@ def build_launcher(args: Options, launcher_dir: str = libs += ['-lasan'] if not is_macos and env.compiler_type is not CompilerType.clang else [] if args.profile: libs.append('-lprofiler') @@ -62,7 +71,7 @@ Index: setup.py if bundle_type.endswith('-freeze'): cppflags.append('-DFOR_BUNDLE') cppflags.append(f'-DPYVER="{sysconfig.get_python_version()}"') -@@ -1451,7 +1445,7 @@ def build_launcher(args: Options, launcher_dir: str = +@@ -1454,7 +1448,7 @@ def build_launcher(args: Options, launcher_dir: str = # Packaging {{{ def copy_man_pages(ddir: str) -> None: @@ -71,7 +80,7 @@ Index: setup.py safe_makedirs(mandir) man_levels = '15' with suppress(FileNotFoundError): -@@ -1509,8 +1503,8 @@ def create_linux_bundle_gunk(ddir: str, args: Options) +@@ -1512,8 +1506,8 @@ def create_linux_bundle_gunk(ddir: str, args: Options) kitten_exe = os.path.join(os.path.dirname(str(launcher)), 'kitten') if os.path.exists(kitten_exe): os.environ['KITTEN_EXE_FOR_DOCS'] = kitten_exe @@ -82,7 +91,7 @@ Index: setup.py else: if args.skip_building_kitten: skip_docs = True -@@ -1521,7 +1515,8 @@ def create_linux_bundle_gunk(ddir: str, args: Options) +@@ -1524,7 +1518,8 @@ def create_linux_bundle_gunk(ddir: str, args: Options) raise SystemExit(f'kitten binary not found at: {kitten_exe}') if not skip_docs: copy_man_pages(ddir) Index: x11/kitty/pkg/PLIST =================================================================== RCS file: /cvs/ports/x11/kitty/pkg/PLIST,v diff -u -p -u -p -r1.10 PLIST --- x11/kitty/pkg/PLIST 22 Jun 2026 13:02:15 -0000 1.10 +++ x11/kitty/pkg/PLIST 19 Jul 2026 10:51:50 -0000 @@ -553,7 +553,6 @@ lib/kitty/kitty/fonts/features.py lib/kitty/kitty/fonts/fontconfig.py lib/kitty/kitty/fonts/list.py lib/kitty/kitty/fonts/render.py -@so lib/kitty/kitty/glfw-wayland.so @so lib/kitty/kitty/glfw-x11.so lib/kitty/kitty/graphics_fragment.glsl lib/kitty/kitty/graphics_vertex.glsl