GNU bug report logs -
#11678
Trunk fails to compile on RHEL 5 machines
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Tue, 12 Jun 2012 01:25:02 UTC
Severity: normal
Tags: patch
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11678 in the body.
You can then email your comments to 11678 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11678
; Package
emacs
.
(Tue, 12 Jun 2012 01:25:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 12 Jun 2012 01:25:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Tags: patch
The Emacs trunk doesn't build on CentOS 5 due to an ImageMagick
problem. Here's a proposed patch. I'm CC:ing this to Manoj
Srivastava, since he reported it on emacs-devel in
<http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00188.html>.
I don't have easy access to CentOS 5 with ImageMagick so I haven't
tested this there, but it does work on Ubuntu 12.04.
=== modified file 'ChangeLog'
--- ChangeLog 2012-06-11 23:17:11 +0000
+++ ChangeLog 2012-06-12 01:13:39 +0000
@@ -1,3 +1,8 @@
+2012-06-12 Paul Eggert <eggert <at> cs.ucla.edu>
+
+ * configure.in: When using ImageMagick, check for
+ MagickMergeImageLayers.
+
2012-06-11 Glenn Morris <rgm <at> gnu.org>
* configure.in (SYSTEM_TYPE): New AC_DEFINE.
=== modified file 'configure.in'
--- configure.in 2012-06-11 23:17:11 +0000
+++ configure.in 2012-06-12 01:13:39 +0000
@@ -1854,7 +1854,7 @@
AC_DEFINE(HAVE_IMAGEMAGICK, 1, [Define to 1 if using imagemagick.])
CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS"
LIBS="$IMAGEMAGICK_LIBS $LIBS"
- AC_CHECK_FUNCS(MagickExportImagePixels)
+ AC_CHECK_FUNCS(MagickExportImagePixels MagickMergeImageLayers)
fi
fi
fi
=== modified file 'etc/ChangeLog'
--- etc/ChangeLog 2012-06-10 13:20:58 +0000
+++ etc/ChangeLog 2012-06-12 01:13:39 +0000
@@ -1,3 +1,7 @@
+2012-06-12 Paul Eggert <eggert <at> cs.ucla.edu>
+
+ * NEWS: Transparency support requires ImageMagic 6.3.8 or later.
+
2012-06-04 Paul Eggert <eggert <at> cs.ucla.edu>
* PROBLEMS (68000 C compiler problems): Remove obsolete section.
=== modified file 'etc/NEWS'
--- etc/NEWS 2012-06-11 14:42:55 +0000
+++ etc/NEWS 2012-06-12 01:13:39 +0000
@@ -81,7 +81,8 @@
treated as images.
*** Images displayed via ImageMagick now support transparency and the
-:background image spec property.
+:background image spec property. Transparency support requires
+ImageMagick 6.3.8 or later.
** String values for `initial-buffer-choice' also apply to emacsclient
frames, if emacsclient is only told to open a new frame without
=== modified file 'src/ChangeLog'
--- src/ChangeLog 2012-06-12 00:30:18 +0000
+++ src/ChangeLog 2012-06-12 01:13:39 +0000
@@ -1,5 +1,8 @@
2012-06-12 Paul Eggert <eggert <at> cs.ucla.edu>
+ * image.c (imagemagick_load_image) [!HAVE_MAGICKMERGEIMAGELAYERS]:
+ Don't invoke MagickMergeImageLayers.
+
* image.c (imagemagick_load_image): Remove unused label.
2012-06-11 Glenn Morris <rgm <at> gnu.org>
=== modified file 'src/image.c'
--- src/image.c 2012-06-12 00:30:18 +0000
+++ src/image.c 2012-06-12 01:13:39 +0000
@@ -7776,6 +7776,7 @@
height = MagickGetImageHeight (image_wand);
width = MagickGetImageWidth (image_wand);
+#if HAVE_MAGICKMERGEIMAGELAYERS
/* Set the canvas background color to the frame or specified
background, and flatten the image. Note: as of ImageMagick
6.6.0, SVG image transparency is not handled properly
@@ -7787,6 +7788,7 @@
DestroyMagickWand (image_wand);
image_wand = new_wand;
}
+#endif
if (! (width <= INT_MAX && height <= INT_MAX
&& check_image_size (f, width, height)))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11678
; Package
emacs
.
(Tue, 12 Jun 2012 10:13:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 11678 <at> debbugs.gnu.org (full text, mbox):
Paul Eggert <eggert <at> cs.ucla.edu> writes:
> The Emacs trunk doesn't build on CentOS 5 due to an ImageMagick
> problem. Here's a proposed patch. I'm CC:ing this to Manoj
> Srivastava, since he reported it on emacs-devel in
> <http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00188.html>.
> I don't have easy access to CentOS 5 with ImageMagick so I haven't
> tested this there, but it does work on Ubuntu 12.04.
I checked in a different commit that uses the deprecated
MagickFlattenImage if MagickMergeImageLayers is unavailable, so that the
transparency functionality is not lost.
bug closed, send any further explanations to
11678 <at> debbugs.gnu.org and Paul Eggert <eggert <at> cs.ucla.edu>
Request was from
Chong Yidong <cyd <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 12 Jun 2012 10:14:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 10 Jul 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 318 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.