[MacPorts] #48233: py-cairo should support a +x11 variant

MacPorts noreply at macports.org
Mon Jul 6 23:34:59 PDT 2015


#48233: py-cairo should support a +x11 variant
-----------------------------+--------------------
  Reporter:  jens.troeger@…  |      Owner:  sean@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.3
Resolution:                  |   Keywords:
      Port:  py-cairo        |
-----------------------------+--------------------

Comment (by jeremyhu@…):

 Replying to [comment:17 jens.troeger@…]:
 > Why does it matter to the Python bindings whether Cairo is built with
 +x11 or +Quartz?

 I don't know the inner workings of the package.  I just see that it does
 because it's using the cairo_xlib_surface_get_depth function from
 libcairo, so presumably, it's making a python binding for that function.
 If they wanted, they could just make the optional symbols weak and check
 for availability at runtime, but that is beyond the scope of MacPorts.

 I think we just need to add an x11 variant and hopefully there is
 functionality in py-cairo to disable support for the X11 backend even if
 it's available in the base cairo.

-- 
Ticket URL: <https://trac.macports.org/ticket/48233#comment:22>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list