sphinx-pre-install: add dependencies for ImageMagick to work with svg
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 17 Jul 2017 21:46:40 +0000 (18:46 -0300)
committerJonathan Corbet <corbet@lwn.net>
Sun, 23 Jul 2017 21:51:35 +0000 (15:51 -0600)
commit8e7d5d15e73fde2b22649783d4f0fa4495a1582f
treed28912f50e57eac09261d203152550b08eb652e3
parent5d88953c32a64737a7879d9ff1263dc622f9aee0
sphinx-pre-install: add dependencies for ImageMagick to work with svg

ImageMagick actually uses librsvg for conversions when converiting
from SVG (actually, it uses rsvg-convert). That causes the build to
fail with:

WARNING: Error #1 when calling: /usr/bin/convert /home/mchehab/docs/Documentation/media/uapi/v4l/selection.svg /home/mchehab/docs/Documentation/output/latex/selection.pdf
convert: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1919.
convert: unable to open file `/tmp/magick-8883oOQfHzrA5trM': No such file or directory @ error/constitute.c/ReadImage/544.

Add the corresponding dependencies.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/sphinx-pre-install