From owner-freebsd-x11@FreeBSD.ORG Thu Feb 2 19:54:47 2006 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D22316A420; Thu, 2 Feb 2006 19:54:47 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E5CD43D45; Thu, 2 Feb 2006 19:54:46 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail.ijs.si [193.2.4.66]) by patsy.ijs.si (Postfix) with ESMTP id C256217B840; Thu, 2 Feb 2006 20:54:45 +0100 (CET) X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([193.2.4.66]) by localhost (patsy.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uqR3a5Caqk3r; Thu, 2 Feb 2006 20:54:43 +0100 (CET) Received: from radagast.ijs.si (radagast.ijs.si [193.2.4.168]) by patsy.ijs.si (Postfix) with ESMTP id 3406917B867; Thu, 2 Feb 2006 20:54:43 +0100 (CET) Received: from localhost.ijs.si (localhost.ijs.si [127.0.0.1]) by radagast.ijs.si (Postfix) with ESMTP id DA06E1703C; Thu, 2 Feb 2006 20:54:42 +0100 (CET) From: Dejan Lesjak To: Joe Marcus Clarke Date: Thu, 2 Feb 2006 20:54:39 +0100 User-Agent: KMail/1.9.1 References: <20060202161851.GA29539@xor.obsecurity.org> <200602021859.27460.dejan.lesjak@ijs.si> <43E25CA1.3000200@marcuscom.com> In-Reply-To: <43E25CA1.3000200@marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602022054.41938.dejan.lesjak@ijs.si> Cc: gnome@freebsd.org, freebsd-x11@freebsd.org, Kris Kennaway Subject: Re: [ports-i386@FreeBSD.org: gtk-2.8.11 failed on i386 6] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 19:54:47 -0000 On Thursday 02 February 2006 20:25, Joe Marcus Clarke wrote: > Dejan Lesjak wrote: > > Perhaps generating and removing cache files should be made responsibility > > of fonts ports? IIRC quite some of them handle it already. That could > > also avoid running fc-cache with default settings thus avoiding > > fonts.cache-1 files under encodings. > > This is doable. I could remove the cache generation and cleaning code > from fontconfig once all font ports have been updated to run fc-cache > themselves. This would require all font ports to depend on fontconfig, > though. I don't think it should be mandatory for all the fonts. I can do it for fonts that come with either of X11 and of those bitstream-vera already does it. One can still install a font port after installing fontcache and if the port doesn't run fc-cache itself now, it will not have cache generated anyway in the present situation. Handbook already has note that running "fc-cache -f" is necessary after installing font. The font ports can also check if fc-cache is present before running it or perhaps simply pipe error to /dev/null so I don't think there is need to explicitly depend on fontcache. One thing that would be neatly handled by current situation is if cache format version would change, but that can be handled by UPDATING entry if it ever happens (or revisions of font ports could be bumped in that case which shouldn't be so horrible as they don't tend to take a lot of time to reinstall). Dejan