From owner-freebsd-gnome@FreeBSD.ORG Sun Aug 31 14:47:28 2003 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 41F5216A4C0 for ; Sun, 31 Aug 2003 14:47:28 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3407F43FAF for ; Sun, 31 Aug 2003 14:47:27 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-22-23.client.attbi.com[12.234.22.23](untrusted sender)) by comcast.net (sccrmhc11) with SMTP id <20030831214726011008sf2oe>; Sun, 31 Aug 2003 21:47:26 +0000 Date: Sun, 31 Aug 2003 14:47:24 -0700 (PDT) From: Doug Barton To: Joe Marcus Clarke In-Reply-To: <1062311821.20426.31.camel@shumai.marcuscom.com> Message-ID: <20030831144312.R68829@znfgre.qbhto.arg> References: <20030830193903.H25519@znfgre.qbhto.arg> <1062311821.20426.31.camel@shumai.marcuscom.com> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD GNOME Users Subject: Re: gdk-pixbuf has indirect gettext dependency 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: Sun, 31 Aug 2003 21:47:28 -0000 On Sun, 31 Aug 2003, Joe Marcus Clarke wrote: > On Sat, 2003-08-30 at 22:43, Doug Barton wrote: > > Howdy, > > > > I was doing the gettext dance on one of my systems today, and discovered > > that gdk-pixbuf has an indirect dependency on gettext, seemingly > > inherited through gtk. So the following procedure: > > > > install a bunch of stuff > > gettext is updated, and bumps .so version number > > uninstall gettext, glib, gtk > > reinstall above > > try to run any app linked with gdk-pixbuf *BOOM* > > This is why I recommended people do a portupgrade -rf -m BATCH=yes That's a circular argument... "Things are difficult, so use portupgrade." "We don't want to make things simpler, because portupgrade exists to let you do complex things." Not to mention those of us who don't use portupgrade.... > > The solution seems to be adding a direct dependency on gettext in > > gdk-pixbuf's Makefile. This should be a no-op in the clean build case, > > since gtk requires gettext too. > > There are a _lot_ of such ports. Adding explicit dependencies to all > ports will be messy and time-consuming. Well, I'm not suggesting that you do it for all of them... but by the same token, couldn't you do something magical with the gtk stuff to make this explicit? That'd catch most of the dramatic foot-shooting cases right there. As for messy, sorry, I don't buy that one. The only time adding the explicit dependency actually makes a difference is in the upgrade case, which is where you need it most. Doug -- This .signature sanitized for your protection