From owner-freebsd-gnome@FreeBSD.ORG Thu Jun 24 05:10:03 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B98C16A4CE for ; Thu, 24 Jun 2004 05:10:03 +0000 (GMT) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id B730643D2D for ; Thu, 24 Jun 2004 05:10:02 +0000 (GMT) (envelope-from johnmary@adelphia.net) Received: from 68-169-191-75.losaca.adelphia.net ([68.169.191.75]) by mta9.adelphia.netESMTP <20040624051002.VVFL23406.mta9.adelphia.net@68-169-191-75.losaca.adelphia.net>; Thu, 24 Jun 2004 01:10:02 -0400 Received: by 68-169-191-75.losaca.adelphia.net (Postfix, from userid 1001) id 5907B6150; Wed, 23 Jun 2004 22:10:15 -0700 (PDT) Date: Wed, 23 Jun 2004 22:10:14 -0700 From: John Merryweather Cooper To: Joe Marcus Clarke Message-ID: <20040624051014.GB12820@borgdemon.losaca.adelphia.net> References: <1088040025.91312.14.camel@shumai.marcuscom.com> <20040624030021.GA56728@borgdemon.losaca.adelphia.net> <1088049270.91312.19.camel@shumai.marcuscom.com> <20040624044920.GA12820@borgdemon.losaca.adelphia.net> <1088052939.91312.25.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1088052939.91312.25.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.2.1i Phone: 1-509-338-9391 WWW-Home-Page: http://www.borgsdemons.com/ cc: FreeBSD GNOME Users cc: John Merryweather Cooper Subject: Re: HEADS UP: New gconf key policy X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 05:10:03 -0000 On Thu, Jun 24, 2004 at 12:55:39AM -0400, Joe Marcus Clarke wrote: > On Thu, 2004-06-24 at 00:49, John Merryweather Cooper wrote: > > On Wed, Jun 23, 2004 at 11:54:30PM -0400, Joe Marcus Clarke wrote: > > > On Wed, 2004-06-23 at 23:00, John Merryweather Cooper wrote: > > > > On Wed, Jun 23, 2004 at 09:20:25PM -0400, Joe Marcus Clarke wrote: > > > > > Please take a look at the latest update to archivers/fileroller, and let > > > > > me know what you think. This is the new gconf policy I think we need to > > > > > adopt if we're to survive the upcoming gconf changes in GNOME 2.8 (it's > > > > > similar to the way we handle OMF files now). This will also make gconf > > > > > handling much more robust with respect to plists. > > > > > > > > > > The one downside I see with this is that we will miss Makefile bugs that > > > > > prevent proper schema installation. One way around that is to add a > > > > > pkg-install script to each port that installs gconf schemas, and do > > > > > gconf registration there. This may be more work than it's worth, > > > > > though. > > > > > > > > > > What are people's thoughts on this? Thanks. > > > > > > > > > > Joe > > > > > > > > > > -- > > > > > PGP Key : http://www.marcuscom.com/pgp.asc > > > > > > > > Well, there seems to be an increasing amount of post-install tasks in > > > > GNOME ports, so I think the idiom of using a pkg-install script for > > > > each port is a good one. > > > > > > So far, there are only two (counting gconf) post-[de]install handlers > > > that are being added the plists. I've written an omf.pl script (in my > > > CVS repo) to handle automatically adding OMF handlers. I plan on doing > > > the same for gconf. Given that, a pkg-install script might add more > > > repo bloat that we need at this time. > > > > > > > Turning to a design issue, do you see the > > > > changes to gconf handling as making debugging of gconf-related > > > > issues easier or harder. I'm having a devil of a time wrestling an > > > > update of comms/gfax into working order because of gconf issues. > > > > > > I don't think it will make gconf issues any harder to troubleshoot. > > > Like I said, it will "mask" the problem we see occasionally when a > > > developer messes up one of the Makefiles, and schemas are not properly > > > installed. > > > > > > What gconf problems are you having? > > > > > > Joe > > > > > > > > > > > jmc > > > > > > > -- > > > PGP Key : http://www.marcuscom.com/pgp.asc > > > > See attached patch to make comms/gfax into 0.6.0 (the gtk#) version. > > > > Everything compiles and installs fine, but attempting to start gfax > > gives errors about not being able to find two key values. I'd be > > more specific, but I'm rebuilding GNOME right now and so my X is > > unavailable to me. > > Well, this looks like a problem. From the gfax root Makefile: > > env GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule $(SCHEMA) > > This should probably be: > > GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 > --makefile-install-rule $(SCHEMA) > > And of course, don't forget to install the schema file so you can remove > the keys upon deinstall (something this application doesn't seem to do). > > Joe > > > > > jmc > -- > PGP Key : http://www.marcuscom.com/pgp.asc I'll make those changes. Interestingly, the line there was taken straight from the original Makefile. Is this a case of having a relocatable PREFIX and the author of gfax assuming a given location (e.g., some default locatin that results when GCONF_CONFIG_SOURCE is set to ""? jmc