[cairo] cairo 1.4.0 with quartz

Carl Worth cworth at cworth.org
Wed Mar 7 22:36:58 PST 2007


On Thu, 8 Mar 2007 00:28:52 -0600, Ryan Schmidt wrote:
> On Mar 5, 2007, at 10:49, Carl Worth wrote:
> > There's no reason cairo shouldn't allow you to build it with any
> > combination of the available backends.
>
> FYI: The Quartz problem remains in 1.4.0. --enable-atsui now works by
> itself (at least, it compiles properly even when --enable-quartz is
> not used), but trying to --enable-quartz without using --disable-xlib
...
> In file included from /opt/local/include/X11/extensions/Xrender.h:29,
>                   from ../src/cairo-xlib-xrender.h:44,
>                   from cairo-boilerplate.c:864:
> /opt/local/include/X11/extensions/render.h:31: error: conflicting
> types for 'Picture'

Yeah, we didn't quite fix that yet, sorry.

But note that the only problem is in cairo-boilerplate.c which is not
part of the cairo library itself. You should be able to whack the
Makefiles (or Makefile.am files) to not descend into boilerplate/ and
things should work just fine, (you just won't be able to run the test
or perf suites).

Or you can maybe just build with "make -k" and push past the problem
and still get a functional library out of the deal.

So, yeah, this is a nuisance, but you should be able to get past
it. (And yes, we do still need to do the obvious thing and split up
the parts of cairo-boilerplate.c that each depend on an independent
definition of "Picture" to exist in separate files).

And I sure wich system libraries wouldn't pollute the namespace so
badly like that. I'd even feel more comfortable in my indignation if
it were only proprietary or ancient libraries that did this, but this
is the modern, X render library giving us Picture here *sigh*, (though
admittedly, it _is_ just maintaining naming consistency with the
ancient and very namespace-polluting Xlib conventions).

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070307/40c62715/attachment.pgp


More information about the cairo mailing list