[oe] Moving fontconfig cache out of tmpfs

Carsten Haitzler (The Rasterman) raster at rasterman.com
Tue Nov 18 21:52:31 UTC 2008


On Tue, 18 Nov 2008 22:00:44 +0100 Stefan Schmidt <stefan at datenfreihafen.org>
babbled:

> 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?

thumbsup++ :)

> 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
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster at rasterman.com





More information about the Openembedded-devel mailing list