From owner-freebsd-gnome@FreeBSD.ORG Sat Aug 17 20:30:44 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 114AF651; Sat, 17 Aug 2013 20:30:44 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C7FE32A71; Sat, 17 Aug 2013 20:30:43 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.7/8.14.7) with ESMTP id r7HKUeuA070813; Sat, 17 Aug 2013 13:30:40 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.7/8.14.7/Submit) id r7HKUeiZ070812; Sat, 17 Aug 2013 13:30:40 -0700 (PDT) (envelope-from sgk) Date: Sat, 17 Aug 2013 13:30:40 -0700 From: Steve Kargl To: Kevin Oberman Subject: Re: fontconfig madness Message-ID: <20130817203040.GA70730@troutmask.apl.washington.edu> References: <20130812192745.GA80894@troutmask.apl.washington.edu> <20130817114412.44885d21@kalimero.tijl.coosemans.org> <20130817163929.GA69757@troutmask.apl.washington.edu> <20130817180056.GA70018@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD GNOME Users , Tijl Coosemans , FreeBSD Ports ML X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 20:30:44 -0000 On Sat, Aug 17, 2013 at 12:45:27PM -0700, Kevin Oberman wrote: > On Sat, Aug 17, 2013 at 11:00 AM, Steve Kargl < > sgk@troutmask.apl.washington.edu> wrote: > > > > > I can't find the site where I got this impression of the deprecation. > > It seems that freetype2 wants to enforce the layout from XDG base > > directory specification. If one looks in /usr/local/etc/fonts/fonts.conf, > > one sees > > > > > > > > /var/db/fontconfig > > fontconfig > > > > ~/.fontconfig > > > > AFAICT, that future is now. > > > > Ahh. I found it and it looks like the behavior you are seeing is not > intended. Yeah, I thought it was strange to have a fontconfig/ directory being dropped in CWD. > *$XDG_CACHE_HOME/fontconfig/*.cache-** and * ~/.fontconfig/*.cache-** is > the conventional repository of font information that isn't found in the > per-directory caches. This file is automatically maintained by fontconfig. > please note that ~/.fontconfig/*.cache-* is deprecated now. it will not be > read by default in the future version. > > fontconfig now assumes that users have an *$XDG_CACHE_HOME *where it will > keep its cache. I'm guessing that the conversion has not happened in > FreeBSD because the version of Gnome is older than this change, so when it > does not find it, it uses the cwd. I assume that XDG_CACHE_HOME should be > in .local, but it is not getting defined. > > This really should be fixed, one way or another. (Your way works, but > getting the newer, preferred directory defined is probably the right answer. I assume the gnome guys will catch up with this issue someday. I have a solution/work-around that works. -- Steve