[cairo] cairo built against libpng16
pgajdos at suse.cz
pgajdos at suse.cz
Wed Mar 20 02:16:44 PDT 2013
Hi,
simple program attached seems to have different results when
cairo is built against libpng15 and when it is built against
libpng16*):
cairo-libpng15-changeroot> ./cairo-fail tmp.png
PNG image read.
cairo-libpng16-changeroot> ./cairo-fail tmp.png
Error reading PNG image tmp.png: out of memory
The difference between changeroots are really only libpng version:
@@ -141,9 +141,9 @@ libpcrecpp0-8.31-5.1.x86_64
libpcreposix0-8.31-5.1.x86_64
libpixman-1-0-0.28.2-3.1.x86_64
libpixman-1-0-devel-0.28.2-3.1.x86_64
-libpng15-15-1.5.14-1.1.x86_64
-libpng15-compat-devel-1.5.14-1.1.x86_64
-libpng15-devel-1.5.14-1.1.x86_64
+libpng16-16-1.6.0-25.1.x86_64
+libpng16-compat-devel-1.6.0-25.1.x86_64
+libpng16-devel-1.6.0-25.1.x86_64
libpopt0-1.16-20.1.x86_64
libppl9-0.11.2-15.1.x86_64
libppl_c4-0.11.2-15.1.x86_64
cairo-libpng1{5,6}-changeroot> rpm -q cairo-devel
cairo-devel-1.12.14-0.x86_64
Petr
*) This boiled down when building perl-Cairo against cairo(libpng16).
40-th test from CairoSurface.t failed. In turn that means that second
test from the following doesn't succed.
use strict;
use warnings;
use Test::More tests => 2;
use constant IMG_WIDTH => 256;
use constant IMG_HEIGHT => 256;
use Cairo;
my $surf = Cairo::ImageSurface->create ('rgb24', IMG_WIDTH,
IMG_HEIGHT);
is ($surf->write_to_png ('tmp.png'), 'success');
$surf = Cairo::ImageSurface->create_from_png ('tmp.png');
is ($surf->status, 'success');
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.png
Type: image/png
Size: 288 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130320/76412a99/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-fail.c
Type: text/x-c
Size: 405 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130320/76412a99/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130320/76412a99/attachment.pgp>
More information about the cairo
mailing list