Re: Lablgtk2 and gtk-osx

Pascal Cuoq <[email protected]> Thu, 24 Sep 2009 10:29:18 +0200
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
> From: Aaron Bohannon <[email protected]>
>> Am I supposed to be able to also install lablgtk2 using macports?
>>
>> After doing the the steps you described for gtk2 and pango-devel, I
>> get the error below when installing lablgtk2.
>>
>> - Aaron
>>
> [...]
>> ml_gdk.c:30:22: error: gdk/gdkx.h: No such file or directory
>

On Sep 22, 2009, at 4:03 AM, Jacques Garrigue wrote:
>
> And it looks like the version in the ports expects the X11 version of
> gtk. So it is a better idea to install it by hand.
> If you intend to install unison, you are better off with the svn
> version, as it contains a patch for using it with the quartz version
> of Gtk (some old features of Gtk don't work with quartz...)

While I recommend you follow Jacques' advice and use the SVN version,
I should point out that autodetection of gtk-quartz (and support  
thereof)
was released in lablgtk 2.12.0. Unfortunately the version
referenced in MacPorts is still 2.10.1. So if for some reason you
only want to install a numbered release with the quartz back-end,
you can, and if you have the possibility to update the lablgtk2 port
file, it would be nice for all the people who have gtk-quartz out  
there...

Pascal