Up North

Personal blog of Mikael Hallendal
  • Home
  • About

Gtk+ natively on Mac OS X

Published by Mikael Hallendal on October 6, 2005 12:18 pm under Programming

As announced on yesterdays Gtk+ meeting we have been working on a port of Gtk+ to Mac OS X. The reason we haven’t announced it earlier is that we wanted to be sure we’ll pull it off before announcing it publically. Anders has been working on this since August and have come a long way in native Gtk+ on Mac OS X.

This one was made for Kris showing the GtkTreeView being rendered without X11.


for-kris-mini.png

We have now come to a point where we feel confident that it’s going to happen all the way. We are currently working on finishing crucial parts absolutely essential to make it easier for others to test it. After that we will focus on cleaning it up, ease and document the build process, draw up a roadmap and todo list to help anyone who wants to join in on the fun to do so.

groups-mini.png

Yesterday after the meeting Mitch got Gimp started to be able to grab the first screenshot of Gimp running natively on Mac OS X.

Read about it in his blog.

gimp-on-os-x.jpg

Finally, in relation to Hubert’s blog post, I’d like to apologize for any hurt feelings. That was never our intention.

Share This

25 Comments so far

  1. darco on October 6th, 2005

    WICKED.

    Now I can make Synfig Studio a native X app! Woo-hoo!!!

  2. hub on October 6th, 2005

    where is the source?

  3. Ruido blanco on October 6th, 2005

    Me gustan las nativas

    ¡Sí! y ¡Sí, sí, sí!.

    Esa junto con esta otra alegran el día a cualquiera.
    …

  4. Mikael Hallendal on October 6th, 2005

    Hub, ah, I forgot to mention that in our todo list, that we are cleaning it and easing the build process in order to make the source easier to use for people.

  5. Rahul Sinha on October 6th, 2005

    Can one hope that there won’t be theming but instead GTK will use native widgets?

    I mean, if we (Mac users) want to theme, we’ll them the whole bit by overriding the native Cocoa widgets. Far more elegant that way than having to theme 10 different toolkits.

    This is a wonderful development, but please please take that opinion under advisement.

    -RS

  6. Anonymous on October 6th, 2005

    Neato burrito. Congratulations on your progress!

  7. MacSlow on October 7th, 2005

    This is a really nice and welcomed development! I second the remarks made by hub and Rahul :)
    Is there maybe already something like an equivalent to gtk-wimp, but for MacOS X? That would be ultra-nice!

    Nevertheless two thumbs up for the progress made sofar!

    Best regards…

    MacSlow

  8. Marcus on October 7th, 2005

    This is awesome!!! Great work!! Especially with widget rendering through Cairo, the Gimp screenshots look awesome.

    As for using native widgets … I think in the case of windows there is a _theme_ that was built which uses native widgets. I imagine the same thing can eventually be done for a Mac. More importantly I think, it would be nice to have native save dialogs and all that. But I think for now the priority is to get it all working at all.

    For now, it would just be great to be able to run Inkscape without having to go through X11 and all that, to be able to write Mono apps with GUIs written in GTK# without having to wait for Cocoa#, to get an open source replacement for iTunes (which seems to impose more restrictions with every new minor revision …)

  9. Distracted Again on October 7th, 2005

    Gtk+ on OSX!

    GTK is being ported to native OSX (No X11), and it’s done enough to show some pretty screenshots:

    Great, soon OSX users will be able to have the best of both worlds - The usability and stability of OSX, and those cool GTK apps that there’s no OSX e

  10. James Henstridge on October 7th, 2005

    Raul: if GTK was using the Mac native widgets, then it would not be GTK, so the answer is no.

    That said, it should be possible to create a GTK theme that uses the native drawing routines similar to what Firefox does on MacOS X. Someone just needs to do the work …

  11. Muthiah Annamalai on October 7th, 2005

    GTK+ is finally got the shot in the arm. A perfectly OS independent toolkit running on
    *NIX, MAC OS X, WIN32.

    It will help my project Octave-GTK, http://octave-gtk.sf.net/ and
    the Octave project too.

    Thanks a bunch guys.

    Cheers
    Muthu

  12. toph's blog on October 7th, 2005

    GTK+ Anwendungen nativ auf Mac OS X

    Anders Carlsson portiert zusammen mit anderen GTK+ auf Mac OS X.
    Es gibt hier noch screenshots und weitere infos.
    Gaim und Gimp werden damit laufen .

  13. namko on October 7th, 2005

    Wonderfull Work.
    Great people !!

  14. giandrea on October 7th, 2005

    James: Firefox for OS X doesn’t use anymore a theme for widgets (like scrollbars and buttons), but it uses native widgets. And soon it will support native widgets for everything: http://weblogs.mozillazine.org/josh/archives/2005/07/intel_mac_build.html

    Perhaps you can implement Aqua widgets too, kinda like what Apple has done for Java’s Swing.

  15. Sebhelyesfarku on October 8th, 2005

    Aqua widgets look gay. I hate those “lickable” scrollbars and buttons.

  16. Magerfettstufe on October 9th, 2005

    Natives GIMP

    Der Herr S., der gerade mal Landurlaub hat und in Hamburg, also nicht in Freiburg weilt, wies mich auf diese kleine Großartigkeit hin. Mikael Hallendal und sein Kollege Anders Carlsson basteln fröhlich daran, GIMP nativ auf OS X laufen zu lassen. Ke…

  17. M-Rick on October 10th, 2005

    OS X GTK themes already exist

    http://art.gnome.org/themes/gtk2/733
    http://art.gnome.org/themes/gtk2/571

  18. Baruch on October 10th, 2005

    I wonder if this is based on GTK+2.0 or the older GTK+1.x?

    The GTK+OSX website says it is based on 1.x and this work is based on that. But most new applications are already 2.x.

  19. Mikael Hallendal on October 10th, 2005

    Hi Baruch, this work is not based on the old 1.x port. We are using Gtk+ HEAD.

  20. David Burnett on October 17th, 2005

    Great to see this being attempted again.

    Where’s the best place to follow progress. This blog, Anders blog (which does not appear to mention it yet), a mailing list ?

  21. Anonymous on October 19th, 2005

    Great work, it looks awesome.

    I have the same question as David, where is the best place to follow progress?

  22. Mikael Hallendal on October 20th, 2005

    You can look here, I’ll definitely post here when we have more information available. Anders will probably blog some as well in the next couple of weeks.

    http://people.imendio.com/ is a good place to follow this.

  23. Asko Kauppi on November 13th, 2005

    One question, when can we try it..?

  24. Filippo on November 14th, 2005

    Hello,

    apparently this is very exciting stuff. Does porting Gtk+ (and Glib and GObject, I imagine) to MacOSX mean that it will be possible to use these libraries without having to cope with the Fink stuff ?

    And what about the libgnomecanvas library, which is also something based on GObject (no dependency on GNOME, contrary to what the name of the lib seems to imply).

    My polyxmass program makes heavy use of Gtk+ *AND* libgnomecanvas, and the sole way I found to use it under MacOSX is to go throught the Fink layer.

    Is this port making it possible to get rid of the Fink layer ?

    Thank you very much for your help,

    Cheers,

    Filippo Rusconi

  25. The Sky is Grey on January 30th, 2006

    OS X–Native GIMP

    On Linux and Windows, The GIMP (GNU Image Manipulation Program) is an outstanding image editor, as good as Photoshop in may areas – not to mention its unbeatable price. However, the user experience on Mac OS X has been somewhat lacking in the pas…

Posting your comment.


  • Categories

    • Community (3)
    • Imendio (26)
    • Life (13)
    • Photography (1)
    • Programming (36)
    • Software (15)
    • Tips (8)
    • Uncategorized (180)
  • Most Popular Posts

    • Gtk+ natively on Mac OS X
    • New Movable Type Theme
    • Removing a remote branch in Git
    • On Nokia 6230 and Palm T5 connectivity
    • Google Calendar and Prism
  • Popular Tags

    c conference git gnome gossip gtk+ guadec Imendio linux loudmouth macosx ruby screencast web xmpp
  • My latest tweets

    • Had a great bike trip yesterday but it feels in the legs today. 1 week ago
    • Just came back from O-Ringen 2008. Finished all five stages. 1 week ago
    • Replaced chain on the MTB after managing to break it on yesterdays ride somehow. 2 weeks ago
    • More updates...
  • Feeds

    • Entries
    • Comments

Copyright © 2008 Mikael Hallendal
WordPress Theme based on Light Theme

Close
  • Social Web
  • E-mail
  • del.icio.us
  • Digg
  • Furl
  • Yahoo! My Web
  • StumbleUpon
  • Google Bookmarks
  • Technorati
  • BlinkList
  • Newsvine
  • ma.gnolia
  • reddit
  • Tailrank
  • 9rules Clips
E-mail It