From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 11 11:34:07 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 699D41065673 for ; Fri, 11 Apr 2008 11:34:07 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 05E9F8FC18 for ; Fri, 11 Apr 2008 11:34:06 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1JkHW9-000H1W-Al; Fri, 11 Apr 2008 15:34:05 +0400 To: Alexander Leidinger References: <200804090052.10898.aline@riseup.net> <200804091752.57284.aline@riseup.net> <62101822@bb.ipt.ru> <200804101126.11075.aline@riseup.net> <53131614@bb.ipt.ru> <20080411102617.14135enja01ozeo0@webmail.leidinger.net> From: Boris Samorodov Date: Fri, 11 Apr 2008 15:34:04 +0400 In-Reply-To: <20080411102617.14135enja01ozeo0@webmail.leidinger.net> (Alexander Leidinger's message of "Fri\, 11 Apr 2008 10\:26\:17 +0200") Message-ID: <49601619@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: CALL FOR TESTERS: linux-f8 infrastructure ports X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2008 11:34:07 -0000 On Fri, 11 Apr 2008 10:26:17 +0200 Alexander Leidinger wrote: > Quoting Boris Samorodov (from Thu, 10 Apr 2008 18:35:13 +0400): > > On Thu, 10 Apr 2008 11:26:07 -0300 Aline de Freitas wrote: > > > >> I was looking in the old linux-fontconfig port, and realize that there is a > >> custom fonts.conf in the files dir. So, sure, that was the trick. > >> Then, I've put > >> this stuff in the new linux-f8-fontconfig, and yes, it works! > > > > Good news, thanks! I'll take care of it later (tomorrow?). > AFAIR the reason for the fonts.conf in there was, that the updated > native fontconfig was incompatible for the config file with the linux > one. The goal is that the linux fontconfig uses the native fontconfig > configuration. We need to investigate this further. Maybe the versions > are still incompatible. As for me I think that they should be compatible (as I recall the configuration file format changed at fontconfig 2.4.0). > Note, if you run fc-cache, I think this will create some files in the > directories where the fonts are. This should not be done with the > linux version of fc-cache, as this will overwrite the files from the > native fc-config run. Ideally they should be compatible, but I prefer > if the fc-cache runs is done by the font ports, not by the > linux-fontconfig ports. I don't think it is a good idea that the linux > ports influence the native ports. Agreed. > Bottom line: I don't think it is as easy as the patch suggests. There > needs to be some more investigation (Does linux fontconfig fall > through to the right file for the native fontconfig configuration? Are > they compatible? ...). I can't reproduce font problems which Aline has (seems because I have some fonts at !/.fonts). But his success (and a patch where font directories were listed) gave me some food too think. And now I'm sure that all we need is to provide at /compat/linux/etc a link to the directory with native FreeBSD configuration of fontconfig. Then only native fc-cache, fonts, font ports, font directories will be used. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve