GTK+ OS X framework
Finally we have a binary build for the native GTK+ Mac OS X port! You can check it out here. The download is an installer that comes with frameworks for GTK+ and friends. The installed frameworks can be used directly in the Xcode IDE and come with a project template that sets all the necessary flags and variables to build against the frameworks.
You can also use the frameworks for building normal autotools based projects. This requires a bit of magic, so you will need a special jhbuild setup for it to work, which is currently work in progress but should be ready soon.
What is missing still is support for creating standalone apps, i.e. packages that contain the run-time parts of the frameworks needed to run the app. Also note that this is a beta version so please let me know if you run into any problems so we can work them out.
The binaries are Intel only, and require Mac OS X 10.4 or newer. Note that the Xcode integration is only tested with 3.x so feedback on using 2.5 is appreciated.
Comments
Cool! Be great if there was a gtkmm framework too.
Posted by: foo | September 24, 2008 01:09 PM
It's quite easy to extend the build to produce more frameworks from the GNOME stack, so I might look into that once the basic stuff is solid and done.
Posted by: Richard | September 24, 2008 01:26 PM
Great! I just wanted to try to compile it myself today! Thanks!
Posted by: Jakob S | September 24, 2008 01:35 PM
Awesome! Any chance for Universal or PowerPC-specific binaries?
Posted by: Sandy | September 24, 2008 02:43 PM
thank you. I was trying to do the same thing... but you did first. thank you..btw, it would be cool have a TODO list online so people interested can help you..
Posted by: giskard | September 24, 2008 03:41 PM
@Sandy, it would certainly be possible, but I won't spend time on it myself, at least not in the near future. I tried to do it automatically in the same jhbuild setup as we normally build but it required a bit of manual work so I gave up the idea for now.
@giskard, I plan to add a page on the developer site with plans/TODO items etc soon.
Posted by: Richard | September 24, 2008 04:58 PM
That is great news! Thank you for your work and keep up the good things!
Posted by: kenjiru | September 24, 2008 07:50 PM
There is a problem with the gtkapplication package. When installing as a network user, the installer (running as root via sudo) does not have permission to create files in user directories. This appears to impact the postflight and the gtktemplate directory. Apple's installer error is "The Installer could not create the folder /var/tmp/gtktemplate". (which is linked into a user directory) I completed the installation by running installer from the command-line as root.
Posted by: Ryan | September 24, 2008 09:24 PM
@Ryan, ah good catch. I'll see what I can do about that, thanks for reporting the problem!
Posted by: Richard | September 25, 2008 09:39 AM
The screenhots lately and the new ones at the GTK+ OS X Developer page don't show the Quartz theme. Has it been abandoned?
I too can't test this because I'm (for now stuck) on PowerPC.
Posted by: smoke_tetsu | September 26, 2008 06:54 PM
The quartz theme is not really usable yet, that's why it's not used
Posted by: Richard | September 26, 2008 07:01 PM
Is there any way to cross-compile for macos from linux (like mingw32 for windows)? I'd rather not have to deal with proprietary operating systems.
Posted by: foo | September 28, 2008 08:45 AM
Congrats on the release! Keep it up, we appreciate the effort :)
Posted by: Panos | September 28, 2008 11:42 AM
@foo: No, not that I'm aware of.
@Panos: Thanks :)
Posted by: Richard | September 30, 2008 10:58 AM
I'm working on a gtk+ based game called GtkMoo(Alpha Stage) for Mac OS, and other unix based OS.
(See gtk-moo.sourceforge.net).
There are few bugs I would like to report:
1. Image fails to load during run time.(png, jpeg)
But, when the appliaction is executed through XCode using Build and Run, image loads.
2. xpm files don't show up at all, nothing is displayed if we use a xpm image or include it in source.
3. Lastly, can you help me on making standalone application like the way GIMP and other gtk+ apps on MAC OS do. Can you refer any tutorial or something.
Finally, thanks for taking time in reading this message, please mail me at:
rohit_yadav@users.sourceforge.net
Posted by: Rohit Yadav | October 20, 2008 08:35 PM