From owner-freebsd-gnome@FreeBSD.ORG Wed Dec 1 21:38:17 2010 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97FA51065670 for ; Wed, 1 Dec 2010 21:38:17 +0000 (UTC) (envelope-from kris@pcbsd.org) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.freebsd.org (Postfix) with ESMTP id 2DDF68FC17 for ; Wed, 1 Dec 2010 21:38:16 +0000 (UTC) Received: from imp09 ([10.20.200.9]) by mta11.charter.net (InterMail vM.7.09.02.04 201-2219-117-106-20090629) with ESMTP id <20101201213816.NDFL4123.mta11.charter.net@imp09>; Wed, 1 Dec 2010 16:38:16 -0500 Received: from moorefam.homeunix.org ([96.38.85.215]) by imp09 with smtp.charter.net id dxe61f00G4elNjk05xeArv; Wed, 01 Dec 2010 16:38:15 -0500 X-Authority-Analysis: v=1.0 c=1 a=RW80CeWoRwcA:10 a=kj9zAlcOel0A:10 a=x2m3GPe0AAAA:8 a=CE3zJD__3Ehk5WCh3-cA:9 a=6kzXBIpQikaCvcCYZ5AA:7 a=bKQb1NhJiGvVxwS1oB1_KdOSmRgA:4 a=CjuIK1q_8ugA:10 a=ojoE9Ho-aYQA:10 Received: by moorefam.homeunix.org (sSMTP sendmail emulation); Wed, 01 Dec 2010 16:38:05 -0500 Date: Wed, 1 Dec 2010 16:38:05 -0500 From: Kris Moore To: Koop Mast Message-ID: <20101201213805.GA58095@pcbsd.org> References: <20101201171131.GE50226@pcbsd.org> <20101201193603.05e5200f@headache.rainbow-runner.nl> <20101201203201.GD53743@pcbsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101201203201.GD53743@pcbsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: ken@pcbsd.org, freebsd-gnome@freebsd.org Subject: Re: graphics/gdk-pixbuf2 loader.cache issues X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2010 21:38:17 -0000 On Wed, Dec 01, 2010 at 03:32:01PM -0500, Kris Moore wrote: > On Wed, Dec 01, 2010 at 07:36:03PM +0100, Koop Mast wrote: > > On Wed, 1 Dec 2010 12:11:31 -0500 > > Kris Moore wrote: > > > > > > > > > > > I'm building a lot of packages which use the new graphics/gdk-pixbuf2 port, and it looks like its > > > now a requirement that the command "gdk-pixbuf-query-loaders --update-cache" is run before using > > > any gdk app, otherwise we get runtime errors such as: > > > "/usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" not found. > > > > > > In some cases the apps just stop working at this point, otherwise they may startup but with > > > missing graphics, screen corruption, etc. > > > > > > Since this file seems to be needed now, shouldn't the package automatically run that > > > command when it installs? Is anybody else seeing this? > > > > There is a @exec line in the plist that should run this command. And I just did a small test, and it generated that file when installing from a package. I'm not sure whats going on. The only issue I heard of regarding gdk-pixbuf2 was that the librsvg2 port didn't register its gdk-pixbuf2 module. But I fixed that last week. > > I'll do some more digging into this then. It also works for me when I add / remove the package on > the system, but in my other case it was doing things in a chroot environment, maybe thats causing > some weirdness somehow :) > > -- > Kris Moore > PC-BSD Software Ok, I may have solved it here. On our particular builds we are parsing the output of pkg_info -L <> which naturally doesn't list the auto-generated loaders.cache file. Which in turn meant it wasn't getting copied over properly. I should be able to fix this locally. Sorry about the noise! -- Kris Moore PC-BSD Software