On Tue, Nov 30, 2004 at 04:37:57PM -0800, Bryce Harrington wrote:
> ---------- Forwarded message ----------
> <rant intensity="50%">
> However, I still have to chase down a dependency: gtk2. I have
> gtk2, of course, but apparently it's not the latest and greatest
> version. So I downloaded that, but now I need other stuff...
> error: Failed dependencies:
> libglib2.0 >= 2.4.0 is needed by libgtk+2.0_0-2.4.9-9mdk
> libpango1.0 >= 1.4.0 is needed by libgtk+2.0_0-2.4.9-9mdk
> libgtk+-x11-2.0_0 = 2.4.9-9mdk is needed by libgtk+2.0_0-2.4.9-9mdk
> Not only is GTK quite pointlessly dynamically linked against libglib
> and pango, but it *itself* is subdivided into two packages, for
> absolutely no good reason.
I think the RPM deps for pango are not detected correctly. I did the
final bits of work on making the static inkscape package, and originally
I wanted to do GTK statically, but it turned out to be very difficult.
Anyway, as an explaination for you as to why GTK wasn't linked
dynamically, here's my email. :) If you have any solutions, I'm all
ears, since I'd like to see Inkscape running on my old redhat 7.2 box.
It seems Pango (which uses all the Glib data types, which translates
into the libs libgobject, libgmodule, etc) cannot operate when compiled
statically. Now, I could have easily missed something, but I had
already spent about 20 hours endlessly recompiling things as I
discovered more deps. I could not get pango operational unless it was
This was also somewhat true for GTK, which uses modules for doing theme
loading, image loading, etc. Again, I could have easily missed
something, but I was sick to death of trying to make it work. :)
I had one version of the static build that had GTK static for everything
but pango (which refused to link against the static GTK when I built it
dynamically... again, I was sick of fighting). So I had a half-static,
half-not inkscape binary. It was amusing since pango worked fine, but
due to the lack of modules, all the themes and fonts for GTK's window
displays on inkscape were toast. Oh well. To make it work, I relaxed
the requirement, and left GTK 2.4 dynamic.
I detailed the process here:
If anyone can get pango/gtk static, I would love to get it working.
Kees Cook @outflux.net