Opened 11 years ago

Closed 11 years ago

#43114 closed enhancement (fixed)

py-matplotlib: enable cairo backend by default?

Reported by: mojca (Mojca Miklavec) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), petrrr
Port: py-matplotlib

Description

This is more a question for brainstorming than a request. I have a bunch of problems with rendering bugs in matplotlib. It is thus often helpful to compare the native pdf backed with cairo (and sometimes that's the only way, while at other times cairo crashes due to other problems).

I would like to ask if making +cairo option default would make sense. What's the extra burden of dependencies needed for that?

I'm aware that x11 drawn in by py33-cairo +x11 (x11 is default) is an overkill (for matplotlib) for that particular purpose, rdeps even shows python27 being a dependency of cairo->xrender->xorg-libX11->xorg-libxcb->xorg-xcb-proto.

On the other hand cairo is a dependency of soooo many ports that users probably have it installed already anyway.

What do you think/suggest? (I do accept wontfix as an answer ;)

Change History (3)

comment:1 Changed 11 years ago by seanfarley (Sean Farley)

Sorry for the late reply; this got buried in my inbox. I think adding cairo as a default variant is fine. This package is all about rendering so I don't think having a large dependency is that big a deal.

comment:2 Changed 11 years ago by seanfarley (Sean Farley)

Status: newassigned

comment:3 Changed 11 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

Fixed in r118936.

Note: See TracTickets for help on using tickets.