Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65934 - imagemagick uses incompatible option when converting svg using inkscape

Attached to Project: Arch Linux
Opened by npt (npt) - Sunday, 22 March 2020, 16:22 GMT
Last edited by Antonio Rojas (arojas) - Monday, 04 May 2020, 17:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: ImageMagick's convert function uses Inkscape to convert from svg if available. Upstream has silently switched to Inkscape 1.0+ and uses the backward incompatible `--export-file` option instead of `--export-png` used in Inkscape <1.0.

This change has been introduced in commit 828adf0cfd07b983865bb0ae581b68bb89829eae , first released in ImageMagick 7.0.10-1.

Please revert the commit in downstream patch until Arch switches to Inkscape 1.0+.

Additional info:
* package version(s) imagemagick-7.0.10.1-1, inkscape-0.92.4-14

The convert command properly used Inkscape in version imagemagick-7.0.9.27-1 and prior.

Steps to reproduce:
- install inkscape
- $ convert -verbose a.svg a.png
'inkscape' '/tmp/magick-443566-sJln1kISOjC' --export-file='/tmp/magick-443566SBysLxIqwpbB.png' --export-dpi='96' --export-background='rgb(100%,100%,100%)' --export-background-opacity='1' > '/tmp/magick-443566Kwm6if25c5lC' 2>&1
...
- if you run the inkscape command, it complains about unknown `export-file` option; imagemagick falls back to other svg decoding
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 04 May 2020, 17:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  imagemagick 7.0.10.10-2
Comment by npt (npt) - Monday, 04 May 2020, 16:28 GMT
  • Field changed: Percent Complete (100% → 0%)
Inkscape 1.0 is now in the repos - the temporary fix should now be dropped from imagemagick's PKGBUILD to make it work.
Comment by npt (npt) - Monday, 04 May 2020, 16:32 GMT
Actually, imagemagick seems have have switched back to `--export-png` in their files, and the correct option for Inkscape 1.0+ is now `--export-filename` (not `--export-file` as before).

Loading...