On 2020/07/10 22:05, Christopher Zimmermann wrote: > Hi, > > since pango dropped support for .pcf fonts we need to start shipping .otb > fonts for pango/harfbuzz. > > OK?
OK sthen@ > Christopher > > > -- > http://gmerlin.de > OpenPGP: http://gmerlin.de/christopher.pub > CB07 DA40 B0B6 571D 35E2 0DEF 87E2 92A7 13E5 DEE1 > Index: Makefile > =================================================================== > RCS file: /cvs/ports/fonts/terminus-font/Makefile,v > retrieving revision 1.17 > diff -u -p -r1.17 Makefile > --- Makefile 25 May 2020 04:30:13 -0000 1.17 > +++ Makefile 10 Jul 2020 20:04:39 -0000 > @@ -4,7 +4,7 @@ COMMENT = fixed width fonts especially > > DISTNAME = terminus-font-4.47 > CATEGORIES = fonts x11 > -REVISION = 1 > +REVISION = 2 > > HOMEPAGE = http://terminus-font.sourceforge.net/ > > @@ -45,13 +45,20 @@ PATCH_LIST = patch-* ${FLAVOR_PATCHES} > > PKG_ARCH = * > > -do-install: > +post-build: > + cd ${WRKSRC} && \ > + for bdf in ter-u???.bdf; do \ > + ${X11BASE}/bin/fonttosfnt -o `basename $$bdf .bdf`.otb $$bdf; \ > + done > ${GZIP_CMD} ${WRKSRC}/*.pcf > + > +do-install: > ${X11BASE}/bin/mkfontdir ${WRKSRC} > egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \ > sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias > ${INSTALL_DATA_DIR} ${FONTDIR} > ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${FONTDIR} > + ${INSTALL_DATA} ${WRKSRC}/*.otb ${FONTDIR} > ${INSTALL_DATA} ${WRKBUILD}/fonts.alias ${FONTDIR}/fonts.alias-terminus > > ${INSTALL_DATA_DIR} ${PREFIX}/share/misc/pcvtfonts > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/fonts/terminus-font/pkg/PLIST,v > retrieving revision 1.5 > diff -u -p -r1.5 PLIST > --- pkg/PLIST 17 Mar 2019 15:24:15 -0000 1.5 > +++ pkg/PLIST 10 Jul 2020 20:04:39 -0000 > @@ -220,23 +220,43 @@ share/fonts/terminus/ter-p28b.pcf.gz > share/fonts/terminus/ter-p28n.pcf.gz > share/fonts/terminus/ter-p32b.pcf.gz > share/fonts/terminus/ter-p32n.pcf.gz > +@comment share/fonts/terminus/ter-u12b.otb > @comment share/fonts/terminus/ter-u12b.pcf.gz > +share/fonts/terminus/ter-u12n.otb > share/fonts/terminus/ter-u12n.pcf.gz > +share/fonts/terminus/ter-u14b.otb > share/fonts/terminus/ter-u14b.pcf.gz > +share/fonts/terminus/ter-u14n.otb > share/fonts/terminus/ter-u14n.pcf.gz > +share/fonts/terminus/ter-u14v.otb > +share/fonts/terminus/ter-u16b.otb > share/fonts/terminus/ter-u16b.pcf.gz > +share/fonts/terminus/ter-u16n.otb > share/fonts/terminus/ter-u16n.pcf.gz > +share/fonts/terminus/ter-u16v.otb > +share/fonts/terminus/ter-u18b.otb > share/fonts/terminus/ter-u18b.pcf.gz > +share/fonts/terminus/ter-u18n.otb > share/fonts/terminus/ter-u18n.pcf.gz > +share/fonts/terminus/ter-u20b.otb > share/fonts/terminus/ter-u20b.pcf.gz > +share/fonts/terminus/ter-u20n.otb > share/fonts/terminus/ter-u20n.pcf.gz > +share/fonts/terminus/ter-u22b.otb > share/fonts/terminus/ter-u22b.pcf.gz > +share/fonts/terminus/ter-u22n.otb > share/fonts/terminus/ter-u22n.pcf.gz > +share/fonts/terminus/ter-u24b.otb > share/fonts/terminus/ter-u24b.pcf.gz > +share/fonts/terminus/ter-u24n.otb > share/fonts/terminus/ter-u24n.pcf.gz > +share/fonts/terminus/ter-u28b.otb > share/fonts/terminus/ter-u28b.pcf.gz > +share/fonts/terminus/ter-u28n.otb > share/fonts/terminus/ter-u28n.pcf.gz > +share/fonts/terminus/ter-u32b.otb > share/fonts/terminus/ter-u32b.pcf.gz > +share/fonts/terminus/ter-u32n.otb > share/fonts/terminus/ter-u32n.pcf.gz > @comment share/fonts/terminus/ter-x12b.pcf.gz > share/fonts/terminus/ter-x12n.pcf.gz