PyCairo don compile in my test.
I have a patch, now compile, but i don't know if this is the right solution.

Gonzalo Odiard
? config.guess
? config.sub
? ltmain.sh
? pycairo-patch.txt
? cairo/pycairo-context.c.ori
Index: cairo/pycairo-context.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo-context.c,v
retrieving revision 1.82
diff -r1.82 pycairo-context.c
203a204
> /* 
233c234
< 
---
> */
353c354
<     cairo_get_dash_count (o->ctx, &count);
---
>     cairo_get_dash_count (o->ctx);
358,362c359,364
<     status = cairo_get_dash (o->ctx, dashes, &offset);
<     if (status != CAIRO_STATUS_SUCCESS) {
<       Pycairo_Check_Status (status);
<       goto exit;
<     }
---
>     cairo_get_dash (o->ctx, dashes, &offset);
>     RETURN_NULL_IF_CAIRO_CONTEXT_ERROR(o->ctx);
> //    if (status != CAIRO_STATUS_SUCCESS) {
> //    Pycairo_Check_Status (status);
> //    goto exit;
> //    }
386c388
<     cairo_get_dash_count (o->ctx, &count);
---
>     cairo_get_dash_count (o->ctx);
1317,1318c1319,1320
<     {"copy_clip_rectangles", (PyCFunction)pycairo_copy_clip_rectangles,
<                                                               METH_NOARGS},
---
> //    {"copy_clip_rectangles", (PyCFunction)pycairo_copy_clip_rectangles,
> //                                                              METH_NOARGS},
_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar

Reply via email to