From 510aac94b8ec608201c00d9ad14107ea67776bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Sat, 2 Aug 2025 16:39:58 +0200 Subject: [PATCH] lilypond: fix build * texlive 2025 requires also the arabic hyphenation patterns (see #7828) * add paperspecs config file for BUILD() and TEST() * add version to cmd:lilypond which is now used in lilypond doc packages --- media-sound/lilypond/lilypond-2.24.4.recipe | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/media-sound/lilypond/lilypond-2.24.4.recipe b/media-sound/lilypond/lilypond-2.24.4.recipe index aaef651ca..bba78fc09 100644 --- a/media-sound/lilypond/lilypond-2.24.4.recipe +++ b/media-sound/lilypond/lilypond-2.24.4.recipe @@ -19,7 +19,7 @@ PROVIDES=" cmd:convert_ly cmd:etf2ly cmd:lilymidi - cmd:lilypond + cmd:lilypond = $portVersion cmd:lilypond_book cmd:lilypond_invoke_editor cmd:lilysong @@ -96,15 +96,16 @@ BUILD_REQUIRES=" # The following TeX packages are needed for creating tex formats: # (because of texlive packaging, all hyphenation patterns are needed, # the list contains one package from each collection) - tex:dehyph_exptl tex:hyphen_afrikaans tex:hyphen_ancientgreek + tex:hyphen_arabic tex:hyphen_basque tex:hyphen_catalan tex:hyphen_chinese tex:hyphen_croatian tex:hyphen_czech tex:hyphen_english + tex:hyphen_german tex:hyphen_italian tex:hyphen_polish tex:hyphen_portuguese @@ -156,6 +157,9 @@ PATCH() BUILD() { + # workaround for missing paperspecs config file in haikuporter chroot + echo A4,210,297,mm > $(finddir B_SYSTEM_SETTINGS_DIRECTORY)/paperspecs + mkdir -p build cd build @@ -199,6 +203,9 @@ TEST() # update the fontconfig cache to make sure it knows of all installed fonts (needed by xetex) fc-cache -f + # workaround for missing paperspecs config file in haikuporter chroot + echo A4,210,297,mm > $(finddir B_SYSTEM_SETTINGS_DIRECTORY)/paperspecs + cd build make $jobArgs test }