[Pkg-gmagick-im-team] Bug#627256: imagemagick: Should recommend "libmagickcore3-extra | librsvg2-bin" instead of just "libmagickcore3-extra"

Axel Beckert abe at debian.org
Wed May 18 23:51:13 UTC 2011


Package: imagemagick
Version: 8:6.6.0.4-3+b1
Severity: normal

Trying to convert a SVG into a PNG file using ImageMagick's convert[1]
without having libmagickcore3-extra[2] installed, results in ugly error
messages since convert seems to try to fallback to librsvg's commandline
tool "rsvg"[3]:

  [1] as fvwm-crystal's menu trigger does if e.g. smuxi-frontend-gnome
      is installed
  [2] which depends on librsvg2-2 and provides SVG support
  [3] available in librsvg2-bin

$ convert /usr/share/pixmaps/smuxi-frontend-gnome.svg /tmp/smuxi-frontend-gnome.png
sh: rsvg: command not found
convert: delegate failed `"rsvg" "%i" "%o"' @ error/delegate.c/InvokeDelegate/1061.
convert: unable to open image `/tmp/magick-XXve3Qqc': oders/svg.la @ error/blob.c/OpenBlob/2489.
convert: unable to open file `/tmp/magick-XXve3Qqc': 
       x1="138.24092"
       id="linearGradient8121"
       xlink:href="#linearGradient8115"
       inkscape:collect="always" />
    <linearGradient
       gradientTransform="matrix(1.1353938,0.382705,-0.3814928,1.1317975,-110.42156,-58.017638)"
       gradientUnits="userSpaceOnUse"
       y2="25.485421"
       x2="142.38217"
       y1="25.485421"
       x1="135.0594"
       id="linearGradient8106"
       xlink:href="#linearGradient8100"
       inkscape:collect="always" />
[more SVG source code snippets]
    <linearGradient
       y2="48.409962"
       x2="17.795244"
       y1="15.976372"
       x1="11.167076"
       gradientUnits="userSpaceOnUse"
       id="linearGradient7063"
       xlink:href="#linearGradie��0�73"
 @ error/constitute.c/ReadImage/572.
convert: missing an image filename `/tmp/smuxi-frontend-gnome.png' @ error/convert.c/ConvertImageCommand/2940.

Installing librsvg2-bin solves this issue. (As does installing
libmagickcore3-extra, but differently.)

So imagemagick should recommend "libmagickcore3-extra | librsvg2-bin"
instead of just "libmagickcore3-extra".

A less ugly error message, especially without parts of SVG source code,
would be fine, too.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (400, 'stable'), (110, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.38-2-powerpc
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages imagemagick depends on:
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.13-4           Embedded GNU C Library: Shared lib
ii  libfontconfig1          2.8.0-2.2        generic font configuration library
ii  libfreetype6            2.4.4-1          FreeType 2 font engine, shared lib
ii  libglib2.0-0            2.28.6-1         The GLib library of C routines
ii  libgomp1                4.6.0-7          GCC OpenMP (GOMP) support library
ii  libice6                 2:1.0.7-1        X11 Inter-Client Exchange library
ii  libjpeg62               6b1-1            The Independent JPEG Group's JPEG 
ii  liblcms1                1.18.dfsg-1.2+b4 Color management library
ii  liblqr-1-0              0.4.1-1          converts plain array images into m
ii  libltdl7                2.4-2            A system independent dlopen wrappe
ii  libmagickcore3          8:6.6.0.4-3+b1   low-level image manipulation libra
ii  libmagickwand3          8:6.6.0.4-3+b1   image manipulation library
ii  libsm6                  2:1.2.0-1        X11 Session Management library
ii  libtiff4                3.9.5-1          Tag Image File Format (TIFF) libra
ii  libx11-6                2:1.4.3-1        X11 client-side library
ii  libxext6                2:1.3.0-1        X11 miscellaneous extension librar
ii  libxt6                  1:1.1.1-1        X11 toolkit intrinsics library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages imagemagick recommends:
ii  ghostscript               9.02~dfsg-2    interpreter for the PostScript lan
pn  libmagickcore3-extra      <none>         (no description available)
ii  netpbm                    2:10.0-12.2+b1 Graphics conversion tools between 
ii  ufraw-batch               0.18-1         batch importer for raw camera imag

Versions of packages imagemagick suggests:
pn  autotrace              <none>            (no description available)
ii  cups-bsd [lpr]         1.4.6-5           Common UNIX Printing System(tm) - 
ii  curl                   7.21.6-1          Get a file from an HTTP, HTTPS or 
ii  enscript               1.6.5.2-1         converts text to Postscript, HTML 
ii  ffmpeg                 4:0.6.2-3         Multimedia player, server, encoder
ii  gimp                   2.6.11-2          The GNU Image Manipulation Program
pn  gnuplot                <none>            (no description available)
pn  grads                  <none>            (no description available)
ii  groff-base             1.21-5            GNU troff text-formatting system (
pn  hp2xx                  <none>            (no description available)
pn  html2ps                <none>            (no description available)
pn  imagemagick-doc        <none>            (no description available)
pn  libwmf-bin             <none>            (no description available)
ii  mplayer                2:1.0~rc4.dfsg1-2 movie player for Unix-like systems
pn  povray                 <none>            (no description available)
pn  radiance               <none>            (no description available)
pn  sane-utils             <none>            (no description available)
ii  texlive-binaries [texl 2009-8            Binaries for TeX Live
pn  transfig               <none>            (no description available)
ii  xdg-utils              1.1.0~rc1-2       desktop integration utilities from

-- no debconf information





More information about the Pkg-gmagick-im-team mailing list