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

Alexander Leidinger Alexander at leidinger.net
Thu Feb 2 15:48:01 UTC 2017


Quoting Tijl Coosemans <tijl at freebsd.org> (from Thu, 2 Feb 2017  
13:54:21 +0100):

> On Thu, 02 Feb 2017 10:09:56 +0100 Alexander Leidinger  
> <Alexander at leidinger.net> wrote:

>> 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?
>
> The config files aren't fully compatible and the Linux fc-cache prints
> some errors about that but they can be ignored it seems.
>
> The cache files have names ending in -<arch>.cache-<version> where <arch>
> is le32d4 on i386 and le64 on amd64 and <version> is 7 on FreeBSD, 3 on
> CentOS 6 and 4 on CentOS 7, so a simple link doesn't work.

Argh.

> The commit also doesn't fully solve the problem.  The amd64 package only
> generates le64 cache files so running an i386 Linux program may still
> create cache files in the user home directory.  This also happens when
> users update their fonts because font ports don't run Linux fc-cache on
> installation.
>
> The only real solution is to build our own Linux fontconfig package using
> devel/linux-*-devtools.

Instead of linux-devtools I would prefer this (ok, 6 years old, so  
maybe a little bit outdated on the linux side of things, but the  
principle still stands):
http://www.leidinger.net/blog/2011/02/25/howto-creating-your-own-updated-linux-rpm-for-the-freebsd-linuxulator/
= use a real linux in a VM
The reason for this is, that we should stay as close as possible to a  
real linux when we build something, and we can't guarantee this via  
linux-devtools.

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-head/attachments/20170202/ba9495d5/attachment.sig>


More information about the svn-ports-head mailing list