GTK2 & Cairo "Quartz" Variant
Ryan Schmidt
ryandesign at macports.org
Mon Mar 19 01:57:59 PDT 2007
On Mar 19, 2007, at 02:00, Nathan Brazil wrote:
> Hi. I noticed the following lines in GTK2's Portfile:
>
> pre-configure {
> if {[variant_isset quartz]} {
> if { ![file exists ${prefix}/include/cairo/cairo-quartz.h] } {
> ui_msg "\nYou must first build cairo with the quartz
> variant enabled. Please\nuninstall (or deactivate) the cairo port
> and reinstall by running:\n\n\"port install cairo +quartz\"\n"
> exit 1
> }
> }
>
> ...
>
> variant quartz { configure.args-append --enable-gdktarget=quartz }
>
> Does this mean if I enable the quartz variant, I can compile GTK
> applications w/o X11?
Note that cairo 1.4.0 has been released and that the cairo portfile
will soon be updated -- just as soon as we can figure out how to
enable the quartz backend without having to disable the xlib backend,
which is unfortunately the current situation with 1.4.0 [1]. 1.4.0
has completely replaced the quartz backend with what used to be
called the nquartz (or "new quartz") backend. You'll have to see
whether this new 1.4.0 quartz is still compatible with gtk2's quartz
requirements.
[1] http://lists.freedesktop.org/archives/cairo/2007-March/010015.html
More information about the macports-users
mailing list