[oe] Moving fontconfig cache out of tmpfs

Stefan Schmidt stefan at datenfreihafen.org
Tue Nov 18 21:00:44 UTC 2008


Hello.

On Mon, 2008-11-17 at 19:47, Leon Woestenberg wrote:
> 
> /var/lib/ looks fine to me.

Luckily fontconfig already has a configure option for the cache dir. Only some
small EXTRA_OECONF fiddeling was needed.

People are fine with this?

diff --git a/packages/fontconfig/fontconfig.inc b/packages/fontconfig/fontconfig.inc
index 252b843..9af3540 100644
--- a/packages/fontconfig/fontconfig.inc
+++ b/packages/fontconfig/fontconfig.inc
@@ -18,7 +18,7 @@ inherit autotools pkgconfig
 
 export HASDOCBOOK="no"
 
-EXTRA_OECONF = " --disable-docs"
+EXTRA_OECONF = " --disable-docs --with-cache-dir=/var/lib/fontconfig"
 EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
 
 # The tarball has some of the patched files as read only, which
diff --git a/packages/fontconfig/fontconfig_2.6.0.bb b/packages/fontconfig/fontconfig_2.6.0.bb
index 3f7eca4..d6c1019 100644
--- a/packages/fontconfig/fontconfig_2.6.0.bb
+++ b/packages/fontconfig/fontconfig_2.6.0.bb
@@ -24,7 +24,7 @@ inherit autotools pkgconfig
 
 export HASDOCBOOK="no"
 
-EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH}"
+EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH} --with-cache-dir=/var/lib/fontconfig"
 EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
 
 # The tarball has some of the patched files as read only, which

regards
Stefan Schmidt




More information about the Openembedded-devel mailing list