Since the last update the kitty port requires graphics/linux-slang, which pulls in the entire rl9 Linux base and requires the Linux module to be loaded into the kernel. That is too heavy-handed. The port needs an option to compile without slang, and that option needs to be turned off by default.
Hi, thanks for the PR. It is impossible to compile the port without shader-slang. I can only make it a build dependency.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=aac6578ac275a85f7267cb8650192bd3721bdd30 commit aac6578ac275a85f7267cb8650192bd3721bdd30 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2026-10-13 15:21:24 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2026-10-13 15:48:23 +0000 x11/kitty: Add option CUSTOM_SHADERS - The new option enables custom shaders in Kitty and is off by default (to avoid the dependency on Linuxator at runtime). - Add a patch to fix the error message when the user has added custom shaders in the config file, but shader-slang is not installed - Pet portfmt - Bump PORTREVISION (list of dependencies changed) PR: 299339 x11/kitty/Makefile | 15 +++++++++------ x11/kitty/files/patch-kitty_shaders_slang.py (new) | 11 +++++++++++ 2 files changed, 20 insertions(+), 6 deletions(-)
Fixed. Thank you for the PR!
Thanks Nicola for the fast fix. Unfortunately emulators/linux-rl9 still gets pulled in as a run dependency with 'CUSTOM_SHADERS=off'. It appears that 'USES= linux:rl9' is responsible. x11/kitty % make showconfig | grep SHADERS CUSTOM_SHADERS=off: Enable custom shaders x11/kitty % make run-depends-list | grep -e linux /usr/ports/emulators/linux_base-rl9 As far as I can tell, graphics/linux-slang is the only run dependency that requires emulators/linux-rl9 as a run dependency, none of the other run dependencies depend on it. With CUSTOM_SHADERS=off it shouldn't require linux-rl9 as a run dependency. With 'CUSTOM_SHADERS=off' or '=on', x11/kitty itself doesn't require emulators/linux-rl9 as a build dependency either: x11/kitty % make build-depends-list | grep linux /usr/ports/graphics/linux-slang Best regards.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f6ad0eb6e98dc0854436fbd3d857076da1cebc44 commit f6ad0eb6e98dc0854436fbd3d857076da1cebc44 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2026-10-14 08:29:55 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2026-10-14 08:29:55 +0000 x11/kitty: Remove dependency on linux:rl9 - Linuxator is an indirect dependency only when custom shaders are enabled. - Bump PORTREVISION PR: 299339 x11/kitty/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Fixed. Thank you, Tom.