Nelson A. de Oliveira wrote:
> Just note that the latest version of ImageMagick on Debian has some
> changes from the version that you are working now (libmagick10 has
> been split into libmagickcore2 and libmagickwand2, for example).
> If possible, it would be good to you use the latest version available
> (it's on unstable right now, version 6.5.1.0-1.1).
Here is a patch against the latest unstable version. I built the package
on Lenny and got the following dependencies:
libmagickcore2_6.5.1.0-1.1_i386.deb
Depends: libbz2-1.0, libc6 (>= 2.7-1), libfontconfig1 (>= 2.4.0),
libfreetype6 (>= 2.3.5), libglib2.0-0 (>= 2.12.0), libgomp1 (>= 4.2.1),
libice6 (>= 1:1.0.0), libjasper1 (>= 1.900.1), libjpeg62, liblcms1 (>=
1.15-1), liblqr-1-0 (>= 0.1.0), libpng12-0 (>= 1.2.13-4), libsm6,
libtiff4, libx11-6, libxext6, libxml2 (>= 2.6.27), libxt6, zlib1g (>=
1:1.2.3.3.dfsg)
libmagickcore2-extra_6.5.1.0-1.1_i386.deb
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), libgomp1 (>= 4.2.1), libgraphviz4 (>=
2.20.0), libgtk2.0-0 (>= 2.12.0), libice6 (>= 1:1.0.0), libilmbase6,
libjpeg62, liblcms1 (>= 1.15-1), liblqr-1-0 (>= 0.1.0), libmagickcore2,
libmagickwand2, 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)
The following dependencies are removed from libmagickcore2:
libcairo2
libdjvulibre21
libgraphviz4
libgtk2.0-0
libilmbase6
libmagickwand2
libopenexr6
librsvg2-2
libwmf0.2-7
There's still a dependency on libglib2.0-0 because of liblqr-1-0.
Interestingly, the dependency on libmagickwand2 was dropped.
Nick
diff -urN imagemagick-6.5.1.0/debian/control
imagemagick-6.5.1.0-nik1/debian/control
--- imagemagick-6.5.1.0/debian/control 2009-07-30 05:13:01.000000000 +0200
+++ imagemagick-6.5.1.0-nik1/debian/control 2009-07-30 06:51:33.000000000
+0200
@@ -55,7 +55,7 @@
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, ${misc:Depends}
-Recommends: ghostscript, gsfonts
+Recommends: ghostscript, gsfonts, libmagickcore2-extra
Description: low-level image manipulation library
The MagickCore API is a low-level interface between the C programming language
and the ImageMagick image processing libraries and is recommended for
@@ -66,6 +66,14 @@
This package contains the C libraries needed to run executables that make
use of MagickCore.
+Package: libmagickcore2-extra
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: low-level image manipulation library - extra codecs
+ This package adds support for SVG, WMF, OpenEXR, DjVu and Graphviz to
+ MagickCore.
+
Package: libmagickcore-dev
Architecture: any
Section: libdevel
diff -urN imagemagick-6.5.1.0/debian/libmagickcore2-extra.install
imagemagick-6.5.1.0-nik1/debian/libmagickcore2-extra.install
--- imagemagick-6.5.1.0/debian/libmagickcore2-extra.install 1970-01-01
01:00:00.000000000 +0100
+++ imagemagick-6.5.1.0-nik1/debian/libmagickcore2-extra.install
2009-07-30 05:22:32.000000000 +0200
@@ -0,0 +1,10 @@
+usr/lib/ImageMagick-*/modules-Q16/coders/djvu.la
+usr/lib/ImageMagick-*/modules-Q16/coders/djvu.so
+usr/lib/ImageMagick-*/modules-Q16/coders/dot.la
+usr/lib/ImageMagick-*/modules-Q16/coders/dot.so
+usr/lib/ImageMagick-*/modules-Q16/coders/exr.la
+usr/lib/ImageMagick-*/modules-Q16/coders/exr.so
+usr/lib/ImageMagick-*/modules-Q16/coders/svg.la
+usr/lib/ImageMagick-*/modules-Q16/coders/svg.so
+usr/lib/ImageMagick-*/modules-Q16/coders/wmf.la
+usr/lib/ImageMagick-*/modules-Q16/coders/wmf.so
diff -urN imagemagick-6.5.1.0/debian/rules imagemagick-6.5.1.0-nik1/debian/rules
--- imagemagick-6.5.1.0/debian/rules 2009-07-30 05:13:01.000000000 +0200
+++ imagemagick-6.5.1.0-nik1/debian/rules 2009-07-30 06:33:54.000000000
+0200
@@ -128,6 +128,10 @@
dh_installdocs
dh_installexamples
dh_install
+ # Remove extra coders
+ while read FILE; do \
+ rm -f debian/libmagickcore2/$$FILE; \
+ done <debian/libmagickcore2-extra.install
dh_installmenu
dh_installman
dh_installmime