Blob Blame History Raw
--- a/setup.orig.py	2020-06-05 11:40:10.000000000 +0200
+++ b/setup.py	2020-07-15 11:07:19.084531962 +0200
@@ -1815,7 +1815,7 @@
     #cairo workaround:
     cython_add(Extension("xpra.client.gtk3.cairo_workaround",
                 ["xpra/client/gtk3/cairo_workaround.pyx"],
-                **pkgconfig("py3cairo")
+                ["@@python3_sitearch@@"]
                 ))
 
 if client_ENABLED or server_ENABLED:
--- a/xpra/client/gtk3/cairo_workaround.orig.pyx	2020-05-10 19:00:53.000000000 +0200
+++ b/xpra/client/gtk3/cairo_workaround.pyx	2020-07-15 11:17:57.586807490 +0200
@@ -61,7 +61,7 @@
     void cairo_surface_flush (cairo_surface_t *surface)
     void cairo_surface_mark_dirty (cairo_surface_t *surface)
 
-cdef extern from "pycairo/py3cairo.h":
+cdef extern from "cairo/include/py3cairo.h":
     ctypedef struct Pycairo_CAPI_t:
         pass
     ctypedef struct PycairoSurface: