Hello Thiery! charis 6.000 breaks dependency build of devilutionX. Extracting CharisSIL-6.000: .......... done ===> devilutionX-1.2.1 depends on file: /usr/local/share/fonts/CharisSIL/CharisSIL-B.ttf - not found *** Error code 1 I've noticed that font names have changed from 5.000: > .for type in B BI I R to 6.000: > +.for type in Bold BoldItalic Italic Regular PLIST_FILES+= ${FONTSDIR}/${PORTNAME}-${type}.ttf --- devilutionX are looking for CharisSIL-B.ttf and now it is called CharisSIL-Bold.ttf What is the best way to solve this? Cheers
Fix committed, thanks for the report!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ccb30d4faa30a69709e3959468e6838fb87b6709 commit ccb30d4faa30a69709e3959468e6838fb87b6709 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2021-07-02 14:15:00 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2021-07-02 14:15:00 +0000 games/devilutionX: chase the upgrade of x11-fonts/charis PR: 256932 Reported by: eduardo@ (devilutionX’s maintainer) games/devilutionX/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
(In reply to Thierry Thomas from comment #1) 1. PORTREVISION=1 --- /!\ devilutionX-1: Makefile errors /!\ Defining both PORTVERSION and DISTVERSION is wrong, only set one, if necessary, set DISTNAME *** Error code 1 --- 2. "_MY_DEPENDS=CharisSIL>0:x11-fonts/charis" looks nice 3. But keep in mind CXXFLAGS: CXXFLAGS+=-DTTF_FONT_NAME=\\\"${LOCALBASE}/share/fonts/CharisSIL/CharisSIL-B.ttf\\\" it needs to be changed to: CXXFLAGS+=-DTTF_FONT_NAME=\\\"${LOCALBASE}/share/fonts/CharisSIL/CharisSIL-Bold.ttf\\\" so that "Shows Credits" menu works otherwise it won't show sliding text appear. I've pointed CXXFLAGS to CharisSIL-Bold.ttf and it works ok.