[cairo] pyCairo Quartz support

Baz brian.ewins at gmail.com
Mon Nov 19 09:45:31 PST 2007


(pulling this back onto the mailing list)

On Nov 19, 2007 4:28 PM, Bobby Powers <bobbypowers at gmail.com> wrote:
> On Nov 19, 2007, at 4:35 AM, Baz wrote:
> Its possible you've run into this bug:
> https://bugzilla.mozilla.org/show_bug.cgi?id=402527
>
> ...which was fixed a couple of nights ago. Are you using cairo from
> git, or a release? This bug was in the 1.5.2 release but not 1.4.10.
>
> ah yes!  it certainly was this bug.  I was using the source from the 1.5.2
> release, and I just went through and removed the offending '/ 65535.' from
> the twelve lines, and it works great now.

Cool!

[snip]
> so what should I do about submitting my changes to add Quartz support to
> pyCairo?  I don't currently have git installed (and wouldn't have write
> access anyway), I've been working with the 1.4.0 release of pyCairo.  If
> there have been a lot of changes since then, I could try working with git,
> but I'd rather spend my time in other ways ;)

This is a good question... you might want to raise a bug against pycairo:
https://bugs.freedesktop.org/enter_bug.cgi?product=pycairo

I'm not sure who maintains pycairo - it seems to have been untouched
for the last 8 months and is still languishing in cvs. Anyone?

In any case, a prerequisite for adding quartz support to the binding
should really be to mark quartz as supported. I have a patch series
sitting around to do that, it adds in the documentation sections for
quartz and adds (IIRC) 'since 1.6' to the relevant apis. I've not
applied this because we don't have all the tests passing yet (I'll
take that to another thread). However, the API has been stable for
some time, it could just be done.


More information about the cairo mailing list