Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > best way to port GTK and GIMP for Mac OS X?

best way to port GTK and GIMP for Mac OS X?
Thread Tools
proteron
Guest
Status:
Reply With Quote
Dec 15, 2000, 08:54 AM
 
posting from <a href=www.macgimp.org>www.macgimp.org&lt ;/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&lt ;/a>
     
Dedicated MacNNer
Join Date: Oct 1999
Status: Offline
Reply With Quote
Dec 17, 2000, 12:37 PM
 
Better question is...why? You won't gain anything by porting GTK to Quartz. Just run it under X11. It'll behave just as crappy if GTK were ported to Quartz.

Perhaps you can port GIMP to GNUstep instead |-p
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:20 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2