Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361781 - dev-python/pycairo-1.8.10: Broken cairo.version_info
Summary: dev-python/pycairo-1.8.10: Broken cairo.version_info
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-03 11:33 UTC by Sebastian 'seezer' Goth
Modified: 2011-04-24 20:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild that applies the fixing patch (pycairo-1.8.10-r1.ebuild,2.23 KB, text/plain)
2011-04-03 11:34 UTC, Sebastian 'seezer' Goth
Details
Corresponding patch (pycairo-1.8.10-version_info.patch,286 bytes, patch)
2011-04-03 11:35 UTC, Sebastian 'seezer' Goth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 'seezer' Goth 2011-04-03 11:33:31 UTC
There is a (already fixed) bug in pycairo that breaks wxpython.

pycairo reports it's own version as (1,10,8) where (1,8,10) would be correct.
That breaks tests in /usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/lib/wxcairo.py line 330.

See the original bugreport on pycairo:
https://bugs.freedesktop.org/show_bug.cgi?id=31653

Fix is already in cairo's git:
http://cgit.freedesktop.org/py2cairo/patch/?id=3953265c398ccbd600b4d788f7c8f9a8e0e644a2

Reproducible: Always

Steps to Reproduce:
Try to call wxpython's ContextFromDC()
Comment 1 Sebastian 'seezer' Goth 2011-04-03 11:34:40 UTC
Created attachment 268317 [details]
Ebuild that applies the fixing patch
Comment 2 Sebastian 'seezer' Goth 2011-04-03 11:35:24 UTC
Created attachment 268319 [details, diff]
Corresponding patch
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-24 20:31:39 UTC
Fixed in dev-python/pycairo-1.10.0.