[oe] Moving fontconfig cache out of tmpfs

Koen Kooi k.kooi at student.utwente.nl
Tue Nov 18 21:44:56 UTC 2008


On 18-11-08 22:00, Stefan Schmidt wrote:
> 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.

Does it create the dir at runtime, or do we have to package it?

regards,

Koen

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