Re: Cache and config files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tom,

Thanks for the message.  You are indeed right.  I pushed a fix out.  Please check:

http://cgit.freedesktop.org/fontconfig/commit/

Also, I highly recommend upgrading to 2.7.3.

behdad

On 11/09/2009 12:33 PM, Dalton, Tom wrote:
> Hi,
>
> I'm using the fontconfig-2.7.1 for linux. When I run ./configure --help, it says that the default cachedir is /var/cache/fontconfig and that the default confdir is /etc/fonts. However, this has misled me somewhat - I have installed a newer copy of fontconfig than the defautl on my RHEL system, and I installed it to a non-standard location by setting the --prefix=X configure flag. However, this has also changed the cache and config dirs that seem to be hardcoded into the binaries. If I want to install my new version on to a new machine, then when I run many fontconfig operations, it tries to recreate the ${prefix}/var/cache/fontconfig directory.
>
> So the default for the cache dir is not strictly /var/cache/fontconfig but actually ${prefix}/var/cache/fontconfig, and similarly for the conf dir. (But only if you change prefix, as the default for prefix is supposedly /usr/local). If I want my new version to use the 'normal' cache and conf dirs then as well as setting my prefix, I also have to set --with-cache-dir=/var/cache/fontconfig and --with-conf-dir=/etc/fonts.
>
> Is this correct? If so then I think it's a (minor) bug with the documentation...
>
> Regards,
>
> Tom Dalton
>
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/fontconfig
>
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux