FS#62220 - [imagemagick] Unmarked optional dependency on librsvg

Attached to Project: Arch Linux
Opened by mal (mal) - Wednesday, 03 April 2019, 02:44 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 03 April 2019, 03:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Attempting to use `convert` to produce a PNG from an SVG fails when librsvg is not installed. The imagemagick package should be marked as having an optional dependency on librsvg.

imagemagick version: 7.0.8.36-1

Steps to reproduce:
Have an SVG file named input.svg
Run `convert input.svg output.png`
```
convert: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1867.
convert: unable to load module '/usr/lib/ImageMagick-7.0.8/modules-Q16HDRI/coders/svg.la': file not found @ error/module.c/OpenModule/12
86.
convert: unable to open file '/tmp/magick-537167niuJjDviVYvY': No such file or directory @ error/constitute.c/ReadImage/596.
convert: no images defined `favicon.ico' @ error/convert.c/ConvertImageCommand/3300.
```
Install `librsvg` and try again, it succeeds.

Thanks!
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 03 April 2019, 03:28 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Already an optdep (libmagick)

Loading...