gdk-pixbuf has indirect gettext dependency

Joe Marcus Clarke marcus at marcuscom.com
Sat Aug 30 23:37:07 PDT 2003


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
gettext so that they can get to all the ports with implicit dependencies
on gettext.

> 
> fails, since gdk-pixbuf won't be able to find the old version of
> libintl.so.
> 
> 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.  I appreciate the problem here
(it's a huge PITA, and I believe I was quoted as saying, "I'm not going
to make any friends with this commit" on IRC), but thankfully, there is
a decent way to handle this with portupgrade.

Joe

> 
> HTH,
> 
> Doug
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030831/687466ac/attachment.bin


More information about the freebsd-gnome mailing list