On 9/15/06, Bob Jamison <rwjj@...127...> wrote: <snip>
Which brings me to my question... Has anyone tried building Inkscape on OSX with Gtk2.10/native? I talked with one of the Gtk/OSX guys, and he thinks that although much work still needs to be done, that it is basically usable and should work well with Inkscape.
I've spent a few nights trying to build inkscape with the native quartz GTK from GTK head. I'll admit up front that I have very little GTK (or Inkscape) development experience, so there was a fair bit of learning over and above the native OSX side of things.
I was successful at compiling GTK+/quartz using darwinports as the basis (only because that was used in the build instructions[1]), and could happily run the gtkdemo app natively. The demo app was a good indication of where things are at - for the most part it was all working except for some graphical glitches around the place, especially in the area of color gradients and the color picker etc.
I didn't have much success with Inkscape. This may be because I was then using Fink for the non-GTK libraries, while pointing to the GTK+/quartz libraries I'd compiled using darwinports. I eventually got Inkscape to compile but couldn't get it (or Inkview) to run to the point of showing anything on the screen. This was a few weeks ago and I tried so many things and got so many different results that I can't remember to give specifics here about what happened.
As I said though, I think it may have more to do with my limited understanding of compiling and linking against GTK+ libraries than anything else.
[1] http://developer.imendio.com/projects/gtk-macosx/build-instructions
I think what this would entail would be to start with Fink as a base, then get the sources from Glib2.12 to Gtk2.10 and build your own. Maybe building Gtkmm would not be necessary.
The official build instructions listed above refer to DarwinPorts, but I'm sure that someone with a bit of understanding of Fink and GTK+ compiling in general should have no problems doing it all in Fink.
It was my intention to document my efforts on the Inkscape wiki but alas, work took over and I ran out of time. I may be able to revisit it in the coming weeks and if I do I will put what I have on the wiki then.
Cheers Derek