aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorEli Zaretskii2010-12-31 14:38:06 +0200
committerEli Zaretskii2010-12-31 14:38:06 +0200
commit5be1c984b7839d528cf9e83c68b9055c29bed751 (patch)
treebd7d1c8021a0f2b48edb6e58beb3ce195cbea162 /admin
parent89dc29d9c8e7957d047e9e9abe95334d70982814 (diff)
downloademacs-5be1c984b7839d528cf9e83c68b9055c29bed751.tar.gz
emacs-5be1c984b7839d528cf9e83c68b9055c29bed751.zip
Fix bug #7716 with PNG image support libraries on Windows.
src/image.c <Qlibpng_version>: New variable. (syms_of_image): Intern and staticpro it. Set its value to the version of PNG library we were compiled with. (my_png_error, png_load): Avoid GCC warnings about direct access to png_ptr->jmpbuf. lisp/term/w32-win.el (image-library-alist): Set up correctly for libpng versions both before and after 1.4.0. admin/nt/README.W32: Update the information about PNG support libraries. nt/INSTALL: Update the information about PNG support libraries.
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog5
-rw-r--r--admin/nt/README.W3224
2 files changed, 21 insertions, 8 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 56166ffa7ce..de3fc5f52d3 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,8 @@
12010-12-31 Eli Zaretskii <eliz@gnu.org>
2
3 * nt/README.W32: Update the information about PNG support libraries.
4 (Bug#7716)
5
12010-05-07 Chong Yidong <cyd@stupidchicken.com> 62010-05-07 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * Version 23.2 released. 8 * Version 23.2 released.
diff --git a/admin/nt/README.W32 b/admin/nt/README.W32
index 9f1df8abd3a..b8d2610b655 100644
--- a/admin/nt/README.W32
+++ b/admin/nt/README.W32
@@ -119,14 +119,19 @@ See the end of the file for license conditions.
119 libXpm library from X11R7.3. 119 libXpm library from X11R7.3.
120 120
121 Emacs can also support some other image formats with appropriate 121 Emacs can also support some other image formats with appropriate
122 libraries. These libraries are all available as part of GTK, or from 122 libraries. These libraries are all available as part of GTK
123 gnuwin32.sourceforge.net. Emacs will find them if the directory they 123 download for Windows (http://www.gtk.org/download-windows.html), or
124 are installed in is on the PATH. 124 from the GnuWin32 project. Emacs will find them if the directory
125 125 they are installed in is on the PATH.
126 PNG: requires the PNG reference library 1.2 or later, which will 126
127 be named libpng13d.dll, libpng13.dll, libpng12d.dll, libpng12.dll 127 PNG: requires the PNG reference library 1.4 or later, which will
128 or libpng.dll. LibPNG requires zlib, which should come from the same 128 be named libpng14.dll or libpng14-14.dll. LibPNG requires zlib,
129 source as you got libpng. 129 which should come from the same source as you got libpng.
130 Starting with Emacs 23.3, the precompiled Emacs binaries are
131 built with libpng 1.4.x and later, and are incompatible with
132 earlier versions of libpng DLLs. So if you have libpng 1.2.x,
133 the PNG support will not work, and you will have to download
134 newer versions.
130 135
131 JPEG: requires the Independant JPEG Group's libjpeg 6b or later, 136 JPEG: requires the Independant JPEG Group's libjpeg 6b or later,
132 which will be called jpeg62.dll, libjpeg.dll, jpeg-62.dll or jpeg.dll. 137 which will be called jpeg62.dll, libjpeg.dll, jpeg-62.dll or jpeg.dll.
@@ -137,6 +142,9 @@ See the end of the file for license conditions.
137 GIF: requires libungif or giflib 4.1 or later, which will be 142 GIF: requires libungif or giflib 4.1 or later, which will be
138 called giflib4.dll, libungif4.dll or libungif.dll. 143 called giflib4.dll, libungif4.dll or libungif.dll.
139 144
145 If you have image support DLLs under different names, customize the
146 value of `image-library-alist'.
147
140 In addition, Emacs can be compiled to support SVG. This precompiled 148 In addition, Emacs can be compiled to support SVG. This precompiled
141 distribution has not been compiled that way, since the SVG library 149 distribution has not been compiled that way, since the SVG library
142 or one or more of its extensive dependencies appear to be 150 or one or more of its extensive dependencies appear to be