On Wed, Oct 15, 2008 at 03:01:37PM +0200, Martin Costabel wrote: > Michal Suchanek wrote: > [] > > When I install gqview gtk+2-shlibs is installed but I have to install > > gtk+2 for gqview to work. > > > > Shouldn't the shlibs package provide enough configuration for the > > shlibs to work? > > > > (gqview:15788): GdkPixbuf-WARNING **: Cannot open pixbuf loader module > > file '/sw/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory > > I had the same problem with the "surfer" package. > > I don't see an easy solution now, except for uniting the gtk+2 and > gtk+2-shlibs packages into one package. The situation is: > > The library libgdk_pixbuf-2.0.0.dylib needs the file > /sw/etc/gtk-2.0/gdk-pixbuf.loaders for working. The latter is produced > by the script /sw/sbin/update-gdk-pixbuf-loaders which runs the > executable /sw/bin/gdk-pixbuf-query-loaders which is linked with > libgdk_pixbuf-2.0.0.dylib. > > If you separate these things out into different packages, you need > circular dependencies to make everything run: In order to produce > /sw/etc/gtk-2.0/gdk-pixbuf.loaders, you need libgdk_pixbuf-2.0.0.dylib > installed, but the latter dylib won't work without the former. > > In any case, already now the gtk+2-shlibs package contains a lot of > stuff that will make it impossible to have several versions of it > coexist. A couple more files in /sw/bin and /sw/sbin won't change much.
Everything in my gtk+2-shlibs looks pretty versioned, sometimes even more-so than the package-name itself (one of the many headaches of the pangocairo project:/ Much of gtk+2 looks versioned as well, so it could move over without a problem. I figured for now I'd just work on upgrading and not making long-standing problems any worse until we figured out good solutions. One solution along your idea would be to have the scripts be named with a version suffix (update-gdk-pixbuf-loaders-2) in the gtk+2-shlibs package (and have them do whatever PostInst necessary) and then leave gtk+2 itself with unversioned symlinks to those versioned scripts. Heck, could adjust things that use the scripts to use the versioned name directly and let gtk+2 itself fade away. This is actually just one example of several where a -shlibs needs to use its matched "versionless" tool at runtime:/ Also hits anything that has client libraries that interact with a daemon. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel