[yocto] add dejavu-fonts to image

idealsim idealsim at laposte.net
Fri Oct 14 01:08:37 PDT 2016


Ok, i will test this week end and let you know !

Otherwise, if you build qt5.7 perhaps you can have the same issue like 
me with sdk, see here for more details :

https://github.com/graugans/meta-udoo/issues/20

regards


Le 13/10/2016 à 18:12, Michel D'HOOGE a écrit :
> After solving all the QA issues, this bbappend creates RPM packages with fonts in the expected folder. I didn't try to generate an image but I'm quite confident about the result.
> Michel
>
>
> do_install() {
>      install -d ${D}${libdir}/fonts/
>      find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${libdir}/fonts/ \;
>      install -d ${D}${sysconfdir}/fonts/conf.d/
>      install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
> }
>
> FILES_${PN}-sans            = "${libdir}/fonts/DejaVuSans.ttf ${libdir}/fonts/DejaVuSans-*.ttf"
> FILES_${PN}-sans-mono       = "${libdir}/fonts/DejaVuSansMono*.ttf"
> FILES_${PN}-sans-condensed  = "${libdir}/fonts/DejaVuSansCondensed*.ttf"
> FILES_${PN}-serif           = "${libdir}/fonts/DejaVuSerif.ttf ${libdir}/fonts/DejaVuSerif-*.ttf"
> FILES_${PN}-serif-condensed = "${libdir}/fonts/DejaVuSerifCondensed*.ttf"
> FILES_${PN}-mathtexgyre     = "${libdir}/fonts/DejaVuMathTeXGyre.ttf"




More information about the yocto mailing list