xorg-font: do not call 'fc-cache' during do_install
authorMarcin Juszkiewicz <hrw@koansoftware.com>
Mon, 2 Feb 2009 15:22:41 +0000 (16:22 +0100)
committerMarcin Juszkiewicz <hrw@koansoftware.com>
Mon, 2 Feb 2009 15:25:52 +0000 (16:25 +0100)
We package only fonts so 'fc-cache' run is not required (and breaks for
some fonts).

Still needed is adding call of 'fc-cache' (or rather 'update-fonts' from
'font-update-common' package) on target device.

packages/xorg-font/xorg-font-common.inc

index 429b990..c2ea41e 100644 (file)
@@ -19,6 +19,7 @@ do_configure_prepend() {
         fi
 }
 
+EXTRA_OEMAKE += "FCCACHE=/bin/true"
 do_install_append() {
        find ${D}${libdir}/X11/fonts -type f -name fonts.dir | xargs rm -f
        find ${D}${libdir}/X11/fonts -type f -name fonts.scale | xargs rm -f