Subject: Re: Running GTK+ applications without X11 under Mac OS X
To: None <>
From: Min Sik Kim <>
List: pkgsrc-users
Date: 01/15/2007 10:04:16
On Jan 15, 2007, at 8:59 AM, Matthias Scheler wrote:

> On Mon, Jan 15, 2007 at 04:37:08AM -0800, Min Sik Kim wrote:
>> I have the following in my mk.conf:
>> PKG_DEFAULT_OPTIONS?=	-x11 quartz
>> glitz, cairo, pango, and gtk2+ must be rebuilt.
> Thanks a lot.
> But is it possible to build those packages with X11 *and* Quartz  
> support?

I don't think so.  gtk2+ supports only one backend.

> 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.