On Jul 2, 2006, at 5:56 PM, Michael Wybrow wrote:
I aggree with needing a one-step way of building Universal Binaries. The way we're doing it is phone to errors and requires a lot of checking--it is really a short-term solution. If anyone is going to investigate building GTK 2.8 and all its dependencies outside of fink, then that would be a good time to try configuring and building all of them as universal.
I've just about got a somewhat messy version of a long-term solution up and running. I got my first clean build of gtkmm tonight scripted out and I'm testing the entire script at the moment. The package versions I'm building are:
libiconv-1.9.2 gettext-0.10.40 pkgconfig-0.17.2 glib-2.10.3* jpeg-6b# tiff-3.8.2# libpng-1.2.10# gc6.7* libxml2-2.6.24# libxslt-1.1.16# atk-1.11.4 cairo-1.1.10 pango-1.13.2 gtk+-2.8.20* libsigc++-2.0.17 glibmm-2.10.4 gtkmm-2.6.4
*-denotes a package that requires separate builds and lipo for each target cpu #-denotes a package with libraries already included in the MacOSX.sdk, but for which headers aren't provided
I've discovered that a lot of fink dependencies can be sidestepped, and it seems like the major reasons that fink isn't going universal are a) that libtool becomes a 5-gallon can of worms and b) it makes their dependency tracking nightmare worse.
I haven't tried to build Inkscape yet, but I'd appreciate some comments on the library versions I've selected (arbitrarily).
I'll also mention that I owe a lot to Bryan Berg's work on his mono.universal distribution, which demonstrates a number of techniques for fighting with automake and Apple's linker. If anyone else is interested in taking a look, I'll post the latest versions.
--David H