posting from <a href=www.macgimp.org>www.macgimp.org< ;/a>:
What's the best way to go about compiling GIMP natively for
OS X? What's needed is to build an wrapper for GTK with Cocoa that calls Quartz directly."
various suggestions follow:
rewrite gtk 'classes' to use some cocoa classes - Jean-Alexis Montignies
better to port the applications from X11 to Quartz and much better to include Quartz and
X11 inside new applications - Avery
alternative is to skip both frameworks and build GTK right on the raw iron of Quartz and the
Window Server - anon
NuTCracker is a sum of tools, which helps to port X11-UNIX to NT, with nearly Windows
look. -Dieter
Think in terms of XFree4.0! Quartz/Cocoa is only a special graphical card, isn't it? -anon
If we use Project Builder, it should compile a GDK framework containing C, C++, Java and
Obj-C. Here are the ways to access Quartz :
- QuickDraw calls
- QuickTime calls
- OpenGL calls
- Application Kit
(Java or ObjC) Framework
I wrote some test program and found there's no problem in wraping Objective C code with
C interface, make new window and drawing on it works well. -mtek
[we need to build] a wrapper lib that understands X-Calls (only these used by GTK) and
that uses Aqua & Quartz. -anonymous
Check out
www.stepwise.com for examples of wrapping C in Obj-C.
for more details see <a href=www.macgimp.org>www.macgimp.org< ;/a>