x11-terms/kitty: skip searching for fonts

Font search works fine for me (not sure why it is failing in
bug #971276 exactly), but this can be generally flaky depending
on the user's font settings, other installed fonts, possibly
the fontconfig version, and whether cache is properly generated
or not.

And then kitty-0.46.1 did change the way it searches for them
compared to 0.46.0, so that it broke for someone is not entirely
surprising.

This may be worth improving upstream, but for us it ultimately does
not need to copy it given we symlink the system's font in src_install
rather than duplicate it. So just preemptively touch the file so
kitty will think it already has it which *should* avoid all issues.

Closes: https://bugs.gentoo.org/971276
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-03-17 00:46:31 -04:00
parent 98822a162f
commit 3effae1a25
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -119,6 +119,10 @@ src_prepare() {
sed -i setup.py "${sedargs[@]}" || die
# skip flaky font search, file is replaced in src_install (bug #971276)
mkdir fonts || die
:> fonts/SymbolsNerdFontMono-Regular.ttf || die
local skiptests=(
# broken with nspawn defaults, skip for convenience (bug #954176)
kitty_tests/crypto.py
+4
View File
@@ -119,6 +119,10 @@ src_prepare() {
sed -i setup.py "${sedargs[@]}" || die
# skip flaky font search, file is replaced in src_install (bug #971276)
mkdir fonts || die
:> fonts/SymbolsNerdFontMono-Regular.ttf || die
local skiptests=(
# broken with nspawn defaults, skip for convenience (bug #954176)
kitty_tests/crypto.py