Friday 8 April 2005
Sane build
By hub, Friday 8 April 2005 at 19:26 :: Gtk MacOS X
Today, part of my NDF, I started working on Gtk+ for MacOS X. So I had build a sane environment to get started.
Random caveats:
- Fink only has glib 2.4. So have to build glib and atk as well.
- On MacOS X, it is not
LD_LIBRARY_PATH
butDYLD_LIBRARY_PATH
. Go figure why they do it differently on MacOS X, but this is a noticeable difference. - Freetype2 package from Fink is broken as it put
freetype-config
somewhere in/sw/lib/freetype2/bin/freetype-config
. And no I can't usefreetype-config
to findfreetype-config
path unlike someone suggested, as a joke, on#gtk
. Playing withPATH
helps. Bug 1179574 - CVS needs insane amount of disk space in
/tmp
. 70MB was not enough to import. I removetetex
as this machine is now head-less...
Here are the steps:
- get all the dependencies to be build. glib, atk and pango with Freetype2 backend are done.
- hack the configure to detect MacOS X. Almost done.
- port gdk by writing and Carbon and CoreGraphics backend.
- Have all the samples running.
- Make it a Framework for nice MacOS X integration.
- Write an ATSUI backend for Pango.
- Move to gtk 2.8. This may happen sooner depending on the time line.
Sorry, there is no screenshot.