From owner-freebsd-emulation@FreeBSD.ORG Wed May 13 07:22:33 2009 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 A622410656AC for ; Wed, 13 May 2009 07:22:33 +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 61DA68FC17 for ; Wed, 13 May 2009 07:22:33 +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 1M48nQ-000FnV-79; Wed, 13 May 2009 11:22:32 +0400 To: Alexander Leidinger References: <69348750@bb.ipt.ru> <20090513084832.14297i6jsuyofcg8@webmail.leidinger.net> From: Boris Samorodov Date: Wed, 13 May 2009 11:22:32 +0400 In-Reply-To: <20090513084832.14297i6jsuyofcg8@webmail.leidinger.net> (Alexander Leidinger's message of "Wed\, 13 May 2009 08\:48\:32 +0200") Message-ID: <37172311@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: [linux] fontconfig and it's cache files 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: Wed, 13 May 2009 07:22:34 -0000 On Wed, 13 May 2009 08:48:32 +0200 Alexander Leidinger wrote: > Quoting Boris Samorodov (from Tue, 12 May 2009 16:22:25 +0400): > > It seems to me that the best way to go is to populate > > $LINUXBASE/var/cache when installing linux fontconfig > > and remove it when deinstalling. As for -f10- linux > > ports we may use a native fontconfig cache files until > > new version starts to be incompatible. > > > > What do you think? > Running the linux fc-config is not a clean solution, because it will > not be re-run when a new font is installed. Yea, hence the question. > Unfortunately I have no better idea... Would it be good to create a default fc-cache files and install them with a port/package? We may add more fc-cache files upon users requests. > at least for F10 we would have the good behavior. In > the light of the upcomming 8.0 release, I would say go ahead with this > idea. This will work until the fonts cache database structure changes... And what about users of 7.x which use F8 linux ports and won't be able to use F10 ports? > I don't know if we should extend the fc-cache running in the font > ports to also run the linux one if present or not. This is maybe > something to discuss after 8.0-RELEASE is out the door. Well, me too don't have an elegant solution. :-( WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve