ImageMagick fix for bug#7955.
authorGlenn Morris <rgm@gnu.org>
Tue, 12 Apr 2011 03:55:07 +0000 (20:55 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 12 Apr 2011 03:55:07 +0000 (20:55 -0700)
* configure.in: Require ImageMagick >= 6.2.8.  (Bug#7955)

* etc/NEWS: Mention ImageMagick version.

ChangeLog
configure.in
etc/NEWS

index b766dbe..a63fbc9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-12  Glenn Morris  <rgm@gnu.org>
+
+       * configure.in: Require ImageMagick >= 6.2.8.  (Bug#7955)
+
 2011-04-09  Paul Eggert  <eggert@cs.ucla.edu>
 
        * lib/allocator.c: New file, automatically generated by gnulib.
index fef19f2..3d99873 100644 (file)
@@ -1805,7 +1805,10 @@ fi
 HAVE_IMAGEMAGICK=no
 if test "${HAVE_X11}" = "yes"; then
   if test "${with_imagemagick}" != "no"; then
-    IMAGEMAGICK_MODULE="Wand"
+    ## 6.2.8 is the earliest version known to work, but earlier versions
+    ## might work - let us know if you find one.
+    ## 6.0.7 does not work.  See bug#7955.
+    IMAGEMAGICK_MODULE="Wand >= 6.2.8"
     PKG_CHECK_MODULES(IMAGEMAGICK, $IMAGEMAGICK_MODULE, HAVE_IMAGEMAGICK=yes, :)
     AC_SUBST(IMAGEMAGICK_CFLAGS)
     AC_SUBST(IMAGEMAGICK_LIBS)
index 08d94a4..869e952 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -131,8 +131,10 @@ for this.
 ** ImageMagick support.
 It is now possible to use the ImageMagick library to load many new
 image formats in Emacs.  By default, Emacs links with the ImageMagick
-libraries if they are present at build time.  To disable this, use
-the configure option `--without-imagemagick'.
+libraries if they are present at build time.  This needs ImageMagick
+6.2.8 or newer (versions newer than 6.0.7 _may_ work but have not been
+tested).  To disable ImageMagick support, use the configure option
+`--without-imagemagick'.  
 
 The new function `imagemagick-types' returns a list of image file
 extensions that your installation of ImageMagick supports.  The