From owner-freebsd-emulation@FreeBSD.ORG Wed May 13 11:32:24 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 A680B1065672 for ; Wed, 13 May 2009 11:32:24 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4168FC0A for ; Wed, 13 May 2009 11:32:24 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E3DA.dip.t-dialin.net [217.226.227.218]) by redbull.bpaserver.net (Postfix) with ESMTP id D6ADB2E0BC; Wed, 13 May 2009 13:32:17 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 289CE292660; Wed, 13 May 2009 13:32:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1242214334; bh=DbbYp4l06xLkk6QjA96dC1doh55I+AJAAgk7zL1F7/w=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=nn02383kpJpGDXrGwW380agfpBcF+o51uYV9+jsAQJNfwc88zE6LbpxjAisPH4DZG eE9J2HkTSOu5rwUCS5sQtod/iK7K+H02yol9RZTHU92ibxIsow8oJf+b7BghWfcBOV YF4OYeXfafgp1bxQWrGmjE5/cC1sfmScuoCeenLcAf6KBWuDSx4sCGNHQT7fdXs0L9 Nh1Glq+wmRC0cepICbPSR4fi19Qp/1+GfZktrWTRlPNX+NRlJ28ZnDPlagEFUq2v7A JmpTR2eOENDyoZ4C+QUQEvEl9UEVzP3XyEx5piBlyj2OwaVOFJbpHliLu/NbuLaKN5 Fa0vRU7vS615w== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n4DBWD1v031291; Wed, 13 May 2009 13:32:13 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 13 May 2009 13:32:13 +0200 Message-ID: <20090513133213.197930aa10bc4fk0@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 13 May 2009 13:32:13 +0200 From: Alexander Leidinger To: Boris Samorodov References: <69348750@bb.ipt.ru> <20090513084832.14297i6jsuyofcg8@webmail.leidinger.net> <37172311@bb.ipt.ru> In-Reply-To: <37172311@bb.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: D6ADB2E0BC.DFE43 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-15.4, required 6, autolearn=not spam, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No 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 11:32:25 -0000 Quoting Boris Samorodov (from Wed, 13 May 2009 11:22:32 +0400): > 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. Isn't there only one cache file? It depends upon which fonts are installed. On one machine I have fonts which you will not find in ports (or for free at all, I think... they are very old and I got them in a commercial package). I don't think this is an option. >> 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... Yes. > And what about users of 7.x which use F8 linux ports and won't be > able to use F10 ports? Did you test f10 on 7.x? I would say f8+ is not supported on 7.1 or less, for 7.2 I don't know the current status. Fallback: run fc-cache manually (we can not support everything, f4 until 7.x is EOL and f10 for 8.x is already a lot). >> 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. :-( This would at least be a working solution, and not counting the amount of work involved it is also the right solution. I think this is something for after 8.0. Bye, Alexander. -- Uh-oh -- WHY am I suddenly thinking of a VENERABLE religious leader frolicking on a FORT LAUDERDALE weekend? http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137