GTK+OSX for Mac OS X Aqua
Scott Sheppard writes "GTK+OSX has released a native Mac OS X Aqua port of the Linux-based GTK+ open source graphical user interface library. GTK+ (GIMP Toolkit) is a popular widget library supporting graphical applications for Linux. GTK+OSX version 0.1 is an alpha release intended for developers."
This could make The Gimp cozy for MacHeads without installing XDarwin and OroborOSX. Looking good!
GTK+OSX has released a native Macintosh Aqua port of the Linux-based GTK+ open source graphical user interface library. GTK+ (GIMP Toolkit) is a popular widget library supporting graphical applications for Linux. GTK+OSX version 0.1 is an alpha release intended for developers.
/ Jun19.html). "We wanted an easy-to-maintain design, that would play nice with the Linux and Windows versions of GTK+", says Rowe. "That meant choosing Carbon and C, rather than Cocoa and Objective C."
h tml
"This is great news for the Mac OS X developer community," says Macworld UK contributing editor Scott Sheppard. "It means that many popular Linux programs can be ported to run natively with Mac OS X's Aqua user interface, avoiding the hassle of users having to run an X server."
GTK+OSX is a spin-off from the Film Gimp project (www.FilmGimp.org). GTK+ is utilized by Film Gimp and many other Linux programs including those of GNU and GNOME. Mac OS X users greeted Mac Film Gimp with enthusiasm at its release earlier in December. But, that X-based compatibility version was merely the first step. GTK+OSX is being developed as the underpinnings for a native Aqua-based Mac OS X port of Film Gimp, scheduled for Q2 2003.
GTK+OSX project manager Robin Rowe is also the release manager for Film Gimp. "As soon as we released the Fink-based version of Film Gimp we began looking for ways to port natively to Mac OS X", says Rowe. "Andy and I began researching different ways of doing that, either switching to another toolkit or making GTK+ run directly on Aqua."
GTK+OSX lead developer Andy Prock is also the Mac port lead for Film Gimp. "My curiosity got the better of me", says Prock. "I discovered an abandoned GTK+ for OS 9 Sourceforge project called gtk-mac, and that became the basis for GTK+OSX". GTK+ co-maintainer Owen Taylor says, "The GTK+ team is happy to see the GTK+OSX project working on bringing the power and flexibility of GTK+ to OS X."
GTK+ has not been available running natively on Macintosh, although there is a native port of GTK+ for Windows. Mac Film Gimp and other GTK+ applications currently use Fink and the XDarwin X server, a technology that enables X Windows programs to run on the Mac almost seamlessly. The relationship between Darwin/Aqua is roughly the same as Linux/X. Both Linux and Darwin are open source, but the Macintosh Aqua interface is not. A fully open source alternative is Darwin/XDarwin. XDarwin enables X to run on Darwin, and it can run "rootless" on the Aqua desktop if a user wishes to run both. However, there's overhead and complexity to running two graphics interfaces simultaneously. That's why it is desirable to have GTK+ run natively on Mac Aqua without X.
Apple offers four GUI toolkits: Cocoa, Java2, Carbon, and Classic. Carbon and Cocoa are both native Aqua interfaces. Aqua renders utilizing Quartz, a technology Apple based upon NeXT Display Postscript. For GTK+OSX a Carbon-based design was chosen over Cocoa because Rowe was influenced by Patrick Beard's description of the challenges Mozilla Chimera experienced working with Cocoa and Objective C (see http://www.opensourceprogrammers.org/meeting/2002
A three-step process was mapped for developing the GTK+OSX library. First, do the trivial GTK+ program Hello World, then a mid-sized Linux application, then major applications such as Film Gimp. Rowe had written an article about porting the Linux-based Gothello GTK+ program to Windows (see http://linuxjournal.com/article.php?sid=5574), making it an obvious choice as a test program for a Mac port. Mac Gothello is the first real program to utilize GTK+OSX. Both are available for download at the GTK+OSX site at SourceForge.
* Pricing and Availability
Free at http://gtk-osx.sourceforge.net. GTK+OSX is available as source tarball (gz). Download version 0.1 or higher, about 8mb. Optional Mac Gothello download is about 1mb. GTK+OSX has an active mailing list.
* Further Information
http://gtk-osx.sourceforge.net
Robin Rowe, GTK+OSX project manager, 510-235-2397, Robin.Rowe@MovieEditor.com
Full rez screenshots: http://gtk-osx.sourceforge.net/docs/applications.
Its easier to compile The Gimp for OS X/GTK than to create a separate tree for an Aqua version of The Gimp. This goes for a horde of other gtk applications as well. Now if only they would make a Gnome library for Aqua I could use Gnome applets in my dock. This is good stuff. Im looking forward to throwing out Photoshop in favour of The Gimp.
GTK is a widget toolkit, it can be targeted to any rendering engine, X-windows, GDI etc.
BTW, this article is about GTK running natively on OS-X, which means it utilises the Aqua rendering engine. So there.
I don't think so!
Although it is pricey, all the "MacHeads" still are trained on (and prefer) Adobe Photoshop. Unfortunately, that is still a superior product when it comes to image manipulation. Yes, GIMP has come quite a ways (and I use it for personal stuff since Adobe P.S. is so pricey), but it is hard to compete with a product that does such a great job and that has become an industry standard.
Nice thought, but it ain't gonna happen! Too many graphi designers have spent too many years of their lives learning how to use all of the features of Photoshop
Although I think it is great that GTK is now on Mac, I don't think it will change "things" that much
Just my $0.02 cents
HallmarkOrnaments.Com
This is probably a stupid question, but:
There are programs like FreeCIV that use GTK. How long until I can natively compile FreeCIV, or some other arbitary *nix program on OS X, without needing an X server?
Score:-1, Funny
Aqua is just a look. Quartz is the rendering engine.
How will this affect those of us with existing XFree86 and Fink applications? I currently use Gnome and Gtk for my X applications... is this an entirely-standalone product, or could it possibly integrate well with an existing Gtk install?
Edmund White
http://flickr.com/ewwhite
I've been looking into cross platform toolkits myself recently. A major issue where the Mac is concerned is that it's not just the look, it's the feel; there are lots of nuances that will annoy Mac users if you don't get them right.
The screenshot shows a menu bar at the top of the Othello window, which breaks the most obvious rule of all - Mac app windows don't have a menu bar on them, instead there's a single menu bar up the top which changes depending upon the focus.
There's some specific gotchas in the wxWindows wiki, here.
Don't get me wrong, the GTK port is an achievement and I'm sure it will be very useful to a lot of people. But we'll never get to the point where someone can produce a decent Mac app by taking their Unix sources and recompiling.
That's enough outta you, mister. Your black turtleneck and beret are being confiscated!
Pffft.
The article doesn't mention much about the technical details and does not even tell us which version of GTK+ this port is based on. Unfortunately it seems to be a port of the older GTK+ version 1.2. This is a surprising at first glance since the 2.0 version of GTK+ is much better prepared for different rendering backends (and comes with GDK versions for Win32, linux-fb and DirectFB). Since this port is closely related to FilmGimp, which is unfortunately still dealing with the outdated 1.2 version, this choice becomes clear. Hopefully this project will soon lead to a GTK+-2.x port or Mac users will have to deal with outdated and mostly unmaintained GTK+ applications.
Because GTK lets you write apps for Linux, Windows and now MacOS X, whereas Aqua is OS X only?
Also, how are you comparing GTK to Aqua? Looks? Have you got extensive programming experience of both? Or are you just assuming it's worse?
I think you could make a good case that GTK is superior to Aqua (as a widget toolkit).
GTK2 is much better than GTK1 bear in mind (I think they ported gtk1). I personally think the most common theme engines look much better than Aqua, because the flat, clean look appeals to me. Seeing screenshots of Aqua apps makes me glad I'm not using it, I mean every effing widget is full of stripey lines: I find it incredibly visually distracting. Of course GTK is natively themable (Aqua is not without some horrid hacks) and has been for some time, so if you must have an Aqua style GUI you can have one, but I much prefer for instance Mist which is stylish without getting in your way.
Programming wise, although I don't know much about MacOS coding, I do know that GTK2 has more bindings than Aqua (it's based on object oriented C meaning it's incredibly easy to bind to other languages), can have multiple backends (which is where it gets its display portability from), with the X backend can be network transparent, uses FreeType for superior text antialiasing (OS X has heavier, fuzzier AA at small sizes), has full accessibility support (aqua may have this too, i dunno) and of course is open source (which is why this is possible in the first place).
So - if you have credible arguments for why Aqua is better as a toolkit than GTK, let's hear them. And no, "I like animated buttons" is not a credible argument, you can have them with GTK too if you write a theme that uses them.
I think you missed something pretty important. GTK is the native OS widgets for Linux (well, originally written for, you can use Qt as well). What they have actually ported is GDK, which is a display system abstraction library. A GTK program will never use Windows/MacOS widgets natively because that is not its purpose, if you want that you should be using a widget toolkit abstraction lib like SWT or wxWindows. Or you could of course write a theme engine for GTK that simulates other platforms.
I wonder what Adobe's take on this is, with the GIMP on the horizon? I wonder what percentage of Photoshop installations are legal viewed from both PC and Mac perspectives. Anyone know that stat, roughly? Course it's a hard number to calculate.
slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
And Mac OS X gets Gentoo in a sleeper hold! But Gentoo breaks it. Oh, kick to the midsection.
C'mmon.. can we please stop making absolute statements? Especially with no foundation?
-
ping -f 255.255.255.255 # if only
Macs are less expensive to own over the long term than PC's. The main factor that affects this is the power usage/requirements of the computer.
t mlm l
Check out ArsTechnica.com here to see a comparison of PowerPC and Intel pwer requirements:
http://arstechnica.com/cpu/02q2/ppc970/ppc970-1.h
http://arstechnica.com/wankerdesk/3q02/powerpc.ht
Guy, I'm tellin' ya, you get what you pay for. Mercedes Benz isn't the fast car in the automarket, but they are one of the nicest; same analogy goes for Apple; not the fastest, but one of the nicest. Your Mac OS X box (not iMac) will grow with you for several years. My Blue and White 500MHz G3 is plenty fast enough for playing Quake and cruising the internet.
helloworld.c Controller.m Which API would you rather use?
I write in my journal
If you're going to compare APIs you should at least make use of the features of each, and use languages of similar levels. No, ObjC is not a low level language either.
GTK UI construction in C is verbose yeah, but so is anything in C. You can make GTK apps very simply if you use the right bindings and use Glade (equivalent to .nib files), ditto for any part of the GNOME apis. Oh and I'd much rather not use Objective-C for anything, I find it incredibly hard to read, and I know many languages. I'm sure I could learn it if I wanted to, but I don't, language neutral APIs are generally much nicer imho.
Oh and I'd much rather not use Objective-C for anything, I find it incredibly hard to read...
;-)
Like Python is easy on the eyes? My kingdom for a damn semicolon!
I write in my journal
Don't think Gimp. Think OpenOffice. Think Mozilla. Think apps that people actually want on the Mac. I've believed for a long time that Apple should be pushing really hard to make these two applications not only available, but downright pervasive on the Mac. This will eliminate Apple's indentured servitude to Microsoft and allow them to push forward in any direction they like without Microsoft threatening to pull the plug on Office (and to a lesser extent, IE) every time Apple tiptoes in a direction that offends Bill's delicate sensibilities.
Native GTK for Mac OS is a good way to kickstart apps like Moz and OO on the platform without requiring XFree86 to be installed first (which works wonderfully, but is a bit too hackish for nontechnical Mac users). Then Apple and others can begin working on making the integration more and more native-looking.
Tired of FB/Google censorship? Visit UNCENSORED!
True, and false. Apple emphasizes Cocoa and doesn't provide a built-in X server, but that doesn't mean they're hostile to the concept of running X apps. They even link to the XFree86 Darwin port.
I don't see any point in fighting it, and I don't see any point for open source efforts to waste any time on doing something Apple doesn't want in the first place.
There's nothing to fight, and even if there were, Apple doesn't control what software you run. By that reasoning developing Mozilla for Windows is pointless since Microsoft doesn't like it.
How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.