Bug 167621
Summary: | Review Request: PyCairo - Python bindings for Cairo | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jacob Kroon <jacob.kroon> |
Component: | Package Review | Assignee: | Greg DeKoenigsberg <gdk> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora-extras-list, michel.salim |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.spacecentre.se/jacob/pycairo/ | ||
Whiteboard: | |||
Fixed In Version: | pycairo-1.0.2-1.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-01-15 14:37:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jacob Kroon
2005-09-06 12:34:18 UTC
PyCairo has 3 optional libraries it checks for when configuring: * cairo.gtk * cairo.svg * Numeric Support cairo.gtk ========= This module is was introduced because PyGTK (for a while) lacked a method for creating a Cairo-context from a GtkDrawable. PyGTK 2.8.0 handles this now, so this module is deprecated now I believe. cairo.svg ========= Running configure gives me: checking for libsvg-cairo >= 0.1.6... I haven't figured out where this library lives, but I don't see it in any of the Fedora repos (it is not librsvg2). I haven't found a flag for configure to disable it. Numeric Support =============== This is handled by BuildRequire:ing python-numeric. Currently I'm just using "./configure" without flags. I don't "--without-pygtk", cause I am not sure if its necessary. Numeric support is also handled, and that leaves libsvg-support. Anyone got any ideas? Note: I can't actually sponsor anyone, being rather new myself. - Shouldn't the package name be pycairo, in keeping with upstream? - pygtk is pretty much always installed on a Fedora system - the configuration tools are mostly written in Python. Just BuildRequire: on pygtk2-devel Hope that helps! Will look at the package later today - not in front of a Linux box right now. - Michel The package is really called "pycairo", not "PyCairo", I just wrote PyCairo for the inital package submission message to FE. I'm not sure pygtk2 always gets installed, for instance if you do a "minimal" install, haven't verified this though. - Jacob Try this: $ rpm -q --whatrequires pygtk2 on any system you have to hand. Most of the system-config-* tools use it, as do hwbrowser and switchdesk-gui. I'd have no qualms about including pygtk2 support at all. I just did reinstall of FC4 minimal install, no gtk2/pygtk2 gets installed , also for instance system-config-display requires pygtk2 and gtk (rpm -q --requires system-config-display), so keeping it in pycairo seems like a good idea to me at least. (In reply to comment #3) > > I'm not sure pygtk2 always gets installed, for instance if you do a "minimal" > install, haven't verified this though. I would suspect it does not always get installed - gtk2 is an X11 library, installs without X11 won't have it. jrb (Jonathan Blandford I think) has already imported pycairo into core, so this bug is redundant now, so I'll close it soon. |