[cairo] How to make a pycairo release happen ?

Stuart Axon stuaxo2 at yahoo.com
Sat Sep 17 16:11:44 UTC 2016


> pycairo is the easiest way to integrate with Gtk, Pango etc.Does “etc” include Pixman
<http://default-cube.deviantart.com/gallery/54316106/Python-Pixman-Examples>,
FreeType
<http://default-cube.deviantart.com/gallery/56395641/Python-FreeType-Examples>,
FriBidi, HarfBuzz
<http://default-cube.deviantart.com/gallery/59919308/HarfPy-Examples>?

Hi Laurence,    Qahirah looks great, and I'd recommend it for new codebases.  When it comes to the legacy code, e.g. Shoebot it would be great to have pip installable version of pycairo that supports modern Cairo.

Apologies, when I said "Gtk Pango etc" I should have said GLib AFAICT because of this ticket -
https://bugzilla.gnome.org/show_bug.cgi?id=707196

You have to do some conversions when using e.g. cairocffi (and the API that uses seems to have disappeared in some distros)
Maybe a fix for the above ticket would help with Qahirah and CairoCFFI ?    

        
In the meantime, I'm going to try and build some of the various patched pycairos, including your own..
 S++ 

    On Wednesday, September 14, 2016 2:52 PM, Stuart Axon <stuaxo2 at yahoo.com> wrote:
 
 

 Hi,   A question for cairo maintainers, not so much pycairo maintainers as AFAICT there are none.
What needs to happen for there to be a release of PyCairo ?

While there is Qairah, which provides a nicer API and CairoCFFI, there is a lot of legacy code out there, + pycairo is the easiest way to integrate with Gtk, Pango etc.

Problems with PyCairo as is include:
- No support for mesh etc (patched by Vincent A)   https://lists.cairographics.org/archives/cairo/2015-June/026326.html
- Doesn't build on python3.5 out the box (Patched by Ubuntu and FREEBSD) https://bugs.freedesktop.org/show_bug.cgi?id=76759
- Cannot install from Pypi (might need a .whl to work on windows)
 @SimonSapin has collected patches, as I'm sure have others.https://github.com/SimonSapin/pycairo



S++

 
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20160917/2de805fe/attachment.html>


More information about the cairo mailing list