[Pkg-gmagick-im-team] Bug#478538: [imagemagick] New patch

Nick Wellnhofer wellnhofer at aevum.de
Wed Jul 29 21:01:40 UTC 2009


Here is a new version of the patch that moves more ImageMagick coders
into the -extra package and makes libmagick10 recommend
libmagick10-extra (instead of suggest).

When you build the new binary packages the dependencies look like this:

$ dpkg -I libmagick10_6.3.7.9.dfsg2-1~lenny1_i386.deb
 new debian package, version 2.0.
 size 3826756 bytes: control archive= 8810 bytes.
     847 bytes,    18 lines      control
   26432 bytes,   308 lines      md5sums
     135 bytes,     7 lines   *  postinst             #!/bin/sh
     132 bytes,     7 lines   *  postrm               #!/bin/sh
      48 bytes,     2 lines      shlibs
 Package: libmagick10
 Source: imagemagick
 Version: 7:6.3.7.9.dfsg2-1~lenny1
 Architecture: i386
 Maintainer: Luciano Bello <luciano at debian.org>
 Installed-Size: 11376
 Depends: libbz2-1.0, libc6 (>= 2.7-1), libfontconfig1 (>= 2.4.0),
libfreetype6 (>= 2.3.5), libice6 (>= 1:1.0.0), libjasper1 (>= 1.900.1),
libjpeg62, liblcms1 (>= 1.15-1), libpng12-0 (>= 1.2.13-4), libsm6,
libtiff4, libx11-6, libxext6, libxml2 (>= 2.6.27), libxt6, zlib1g (>=
1:1.1.4)
 Recommends: ghostscript, gsfonts, libmagick10-extra
 Suggests: html2ps
 Section: libs
 Priority: optional
 Homepage: http://www.imagemagick.org/
 Description: image manipulation library

$ dpkg -I libmagick10-extra_6.3.7.9.dfsg2-1~lenny1_i386.deb
 new debian package, version 2.0.
 size 202732 bytes: control archive= 1214 bytes.
     968 bytes,    16 lines      control
    1450 bytes,    17 lines      md5sums
 Package: libmagick10-extra
 Source: imagemagick
 Version: 7:6.3.7.9.dfsg2-1~lenny1
 Architecture: i386
 Maintainer: Luciano Bello <luciano at debian.org>
 Installed-Size: 524
 Depends: libbz2-1.0, libc6 (>= 2.7-1), libcairo2 (>= 1.2.4),
libdjvulibre21 (>= 3.5.20), libfontconfig1 (>= 2.4.0), libfreetype6 (>=
2.3.5), libglib2.0-0 (>= 2.12.0), libgraphviz4 (>= 2.20.0), libgtk2.0-0
(>= 2.12.0), libice6 (>= 1:1.0.0), libilmbase6, libjpeg62, liblcms1 (>=
1.15-1), libmagick10, libopenexr6 (>= 1.6.1), librsvg2-2 (>= 2.18.1),
libsm6, libtiff4, libwmf0.2-7 (>= 0.2.8.4), libx11-6, libxext6, libxml2
(>= 2.6.27), libxt6, zlib1g (>= 1:1.1.4)
 Suggests: libwmf-bin
 Section: libs
 Priority: optional
 Homepage: http://www.imagemagick.org/
 Description: image manipulation library - extra codecs


The following dependencies are split out:

libcairo2
libdjvulibre21
libglib2.0-0
libgraphviz4
libgtk2.0-0
libilmbase6
libopenexr6
librsvg2-2
libwmf0.2-7


Then install the packages without -extra and try to convert an SVG file:

$ sudo dpkg -i libmagick10_6.3.7.9.dfsg2-1~lenny1_i386.deb
$ sudo dpkg -i imagemagick_6.3.7.9.dfsg2-1~lenny1_i386.deb
$ convert Debian-OpenLogo.svg Debian-OpenLogo.png
sh: wmf2eps: command not found
convert: Delegate failed `"wmf2eps" -o "%o" "%i"'.
convert: unable to open image `/tmp/magick-XXoJZlAK': No such file or
directory.
convert: UnableToOpenBlob `/tmp/magick-XXoJZlAK': No such file or directory.
convert: missing an image filename `Debian-OpenLogo.png'.


Install libmagick10-extra and try again:

$ sudo dpkg -i libmagick10-extra_6.3.7.9.dfsg2-1~lenny1_i386.deb
$ convert Debian-OpenLogo.svg Debian-OpenLogo.png
$ file Debian-OpenLogo.png
Debian-OpenLogo.png: PNG image, 109 x 144, 16-bit/color RGBA, non-interlaced


Nick

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: imagemagick-6.3.7.9.dfsg2-nik2.diff
URL: <http://lists.alioth.debian.org/pipermail/pkg-gmagick-im-team/attachments/20090729/081f1eb2/attachment.asc>


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