Red Hat Bugzilla – Bug 166489
PyGTK2 needs PyCairo to compile some of its bindings
Last modified: 2013-03-13 00:48:44 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b3) Gecko/20050818 Fedora/1.1-0.2.7.deerpark.alpha2.1 Firefox/1.0+
Description of problem:
PyGTK2 provides bindings for using Gtk/Pango together with Cairo, but these
libraries aren't compiled during rpmbuild because they require that PyCairo is
installed. So I'd like to make a wish that pycairo gets included into Core,
so that these bindings get shipped with the regular PyGTK2 rpm.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Running any of the pango-cairo examples will fail, since it tries to "import pangocairo" which isnt shipped currently with PyGTK2
As I was informed PyCairo might be changing its APIs at some point. Also policy
is that we don't pull things into core unless something in core need it. I
would suggest helping get pycairo into Extras if it is not there already. A
pygtk2-extras can also be added which would build off the same sources as the
pygtk2 package in Core but only pull in the modules that were not built in the
Ok that makes sense. I don't think I am the right person for
managing the rpm in extras, but I'll bring the proposal out somehow.
As a sidenote PyCairo 1.0.0 has been released now.
I've sent a proposal for PyCairo together with spec/SRPM to fedora-extras: