Skip Menu |

This queue is for tickets about the Cairo CPAN distribution.

Report information
The Basics
Id: 34681
Status: resolved
Priority: 0/
Queue: Cairo

People
Owner: Nobody in particular
Requestors: tcallawa [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.045
Fixed in: (no value)



Subject: Doesn't work with latest cairo headers
CAIRO_FONT_TYPE_ATSUI is no longer valid in upstream Cairo, instead, it should be CAIRO_FONT_TYPE_QUARTZ. A simple patch is attached which gets it building again.
Subject: perl-Cairo-ATSUItoQUARTZ.patch
diff -up Cairo-1.045/Makefile.PL.BAD Cairo-1.045/Makefile.PL --- Cairo-1.045/Makefile.PL.BAD 2008-04-04 16:01:19.000000000 -0400 +++ Cairo-1.045/Makefile.PL 2008-04-04 16:01:31.000000000 -0400 @@ -235,7 +235,7 @@ if ($have_cairo_1_2) { CAIRO_FONT_TYPE_TOY CAIRO_FONT_TYPE_FT CAIRO_FONT_TYPE_WIN32 - CAIRO_FONT_TYPE_ATSUI + CAIRO_FONT_TYPE_QUARTZ /]; $enums{cairo_pattern_type_t} = [qw/
Subject: Support CAIRO_FONT_TYPE_QUARTZ
On Fri Apr 04 16:05:44 2008, tcallawa@redhat.com wrote: Show quoted text
> CAIRO_FONT_TYPE_ATSUI is no longer valid in upstream Cairo, instead, it > should be CAIRO_FONT_TYPE_QUARTZ. A simple patch is attached which gets > it building again.
This was corrected upstream recently: <http://lists.cairographics.org/archives/cairo/2008-March/013490.html>. So I don't think this is the right fix. We do need to figure out a way to allow Perl code to use both names, and maybe emit a warning if the old one is used.
On Fri Apr 04 16:29:32 2008, TSCH wrote: Show quoted text
> We do need to figure out a way to allow Perl code to use both names, and > maybe emit a warning if the old one is used.
I just committed support for the new enum value to CVS.