mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user