Subject: Re: Running GTK+ applications without X11 under Mac OS X
To: None <pkgsrc-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: pkgsrc-users
Date: 01/15/2007 22:16:09
On Mon, Jan 15, 2007 at 10:04:16AM -0800, Min Sik Kim wrote:
> >But is it possible to build those packages with X11 *and* Quartz
> >support?
>
> I don't think so. gtk2+ supports only one backend.
I see.
> >At least the "xchat" package tries to include "gdkx.h" which doesn't
> >exist if the above packages are built without X11 support.
>
> The inclusion of gdkx.h must be guarded using #ifdef GDK_WINDOWING_X11.
It looks like "xchat" needs to be compiled "--disable-xlib". What is
the best way in "pkgsrc" to check whether GTK+ 2.x uses X11 or Quartz?
Kind regards
--
Matthias Scheler http://zhadum.org.uk/