svn commit: r433087 - in head/x11-fonts: linux-c6-fontconfig linux-c7-fontconfig

Alexander Leidinger Alexander at leidinger.net
Thu Feb 2 09:32:31 UTC 2017


Quoting Tijl Coosemans <tijl at freebsd.org> (from Wed, 1 Feb 2017  
20:10:41 +0000 (UTC)):

> Author: tijl
> Date: Wed Feb  1 20:10:41 2017
> New Revision: 433087
> URL: https://svnweb.freebsd.org/changeset/ports/433087
>
> Log:
>   Generate fontconfig cache on installation.  This prevents cache creation
>   in every user's home directory when they first run an X11 Linux program.

The idea behind the previous version was that the linux code doesn't  
create it's own cache (to not have to run the linux fc-cache on each  
change in the fonts directories) but to use the FreeBSD cache via  
fall-through. This only works when the linux fontconfig and the  
FreeBSD fontconfig are compatible enough in terms of cache directory  
file format. I remember to have updated the linux fontconfig port with  
a own hand-rolled linux-version of fontconfig in the past as the  
linux_base at that time didn't had a compatible enough fontconfig  
version (but I don't remember if the config file was incompatible or  
the cache...).

Could it be that a simple ln of the linux /var/db/fontconfig to the  
FreeBSD location would solve this issue without the need to run the  
linux fc-cache on each font directory change?

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander at Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild at FreeBSD.org  : PGP 0x8F31830F9F2772BF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20170202/9636b1ed/attachment.sig>


More information about the svn-ports-all mailing list