Subject: | test failures due to a missing rsvg_init() call |
Hi,
after Debian updated its version of libgsf to 1.14.4, Image-LibRSVG
tests 23-27 started to fail. This is because libgsf now mandates a call
to gsf_init(), so applications using LibRSVG must now call rsvg_init()
to accomplish this. Please see Debian bugs #430805 and #431104,
http://bugs.debian.org/430805 and http://bugs.debian.org/431104 for details.
The attached patch adds a rsvg_init() call to the Image::LibRSVG
constructor. This fixes the test failures. Please consider including it
or something similar.
Thanks for your work on Image-LibRSVG,
--
Niko Tyni (on behalf of the Debian Perl Group)
ntyni@iki.fi
Subject: | 430805.patch |
--- LibRSVG.xs 2007/07/03 07:05:37 1.1
+++ LibRSVG.xs 2007/07/03 07:05:52
@@ -383,6 +383,7 @@
CODE:
Newz(0, RETVAL, 1, SVGLibRSVG);
RETVAL->pixbuf = NULL;
+ rsvg_init();
OUTPUT:
RETVAL