From: Simon McVittie Date: Wed, 7 Jan 2015 11:08:31 +0000 (+0000) Subject: Work around Debian #771047: use a non-blank SVG for the regression test X-Git-Tag: debian/3.20141016.1~2 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/7a016ad4185eb9059add6eef1ffe2f9ff09ea684 Work around Debian #771047: use a non-blank SVG for the regression test Inkscape loses the bounding box of a SVG with no content when it converts it to EPS, and ImageMagick does not have a special case for converting SVG to PNG with Inkscape in one step (which Inkscape can do); it prefers to convert SVG to EPS with Inkscape, then EPS to whatever. --- diff --git a/debian/changelog b/debian/changelog index ba22c917d..9cec63260 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,10 @@ ikiwiki (3.20141016.1) UNRELEASED; urgency=medium * blogspam: use the 2.0 JSON API (the 1.0 XML-RPC API has been EOL'd). Closes: #774441 + [ Simon McVittie ] + * Work around imagemagick Debian bug #771047 by using a non-blank SVG + for the regression test, to avoid FTBFS in current unstable + -- Joey Hess Mon, 20 Oct 2014 12:04:49 -0400 ikiwiki (3.20141016) unstable; urgency=medium diff --git a/t/img.t b/t/img.t index 8c10d9b74..2ea3abb24 100755 --- a/t/img.t +++ b/t/img.t @@ -26,7 +26,8 @@ ok(! system("rm -rf t/tmp; mkdir -p t/tmp/in")); ok(! system("cp t/img/redsquare.png t/tmp/in/redsquare.png")); if ($SVGS_WORK) { - writefile("emptysquare.svg", "t/tmp/in", ''); + writefile("emptysquare.svg", "t/tmp/in", + ''); } # using different image sizes for different pages, so the pagenumber selection can be tested easily