On 15/10/2008, Martin Costabel <[EMAIL PROTECTED]> 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.
Then it is wrong to split these into separate packages. > > 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. You can have both gtk 1.2 and gtk 2. If there is ever need for different versions of gtk2 to exist in parallel it can be achieved by program suffix (assuming the gtk configure script supports it correctly). Since the library needs the executables installing two different versions of shlibs in parallel won't work anyway even if the packages technically don't conflict. Note that there is probably the same issue with pango executables and shlibs on which gtk2 depends. Thanks Michal ------------------------------------------------------------------------- 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