aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2013-10-10 18:30:21 +0300
committerEli Zaretskii2013-10-10 18:30:21 +0300
commita5dab1594a1bbd76ad7fe016268bb91007e5be39 (patch)
tree4bb93c7962e2084f7e09ff85621359a2335c9381 /lisp
parentdb1386987b5c2ccbfa28d4638b822afc5a8eedbb (diff)
downloademacs-a5dab1594a1bbd76ad7fe016268bb91007e5be39.tar.gz
emacs-a5dab1594a1bbd76ad7fe016268bb91007e5be39.zip
MS-Windows follow-up to 2013-10-10T01:03:11Z!rgm@gnu.org: support giflib 5.x.
src/image.c (GIFLIB_MAJOR): Define to 4 if undefined. (GIFLIB_MINOR, GIFLIB_RELEASE): Define to zero if undefined. (GifErrorString) [GIFLIB_MAJOR >= 5]: Define a function pointer. (gif_load): For giflib v5.x and later, display the error message produced by giflib when its functions fail. (syms_of_image) <Qlibgif_version> [HAVE_NTGUI]: New DEFSYM. lisp/term/w32-win.el (dynamic-library-alist): Define separate lists of GIF DLLs for versions before and after 5.0.0 of giflib. Fixes: debbugs:15531
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/term/w32-win.el14
2 files changed, 19 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bb675ce5088..a06055ddb9b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12013-10-10 Eli Zaretskii <eliz@gnu.org>
2
3 * term/w32-win.el (dynamic-library-alist): Define separate lists
4 of GIF DLLs for versions before and after 5.0.0 of giflib.
5 (Bug#15531)
6
12013-10-10 João Távora <joaotavora@gmail.com> 72013-10-10 João Távora <joaotavora@gmail.com>
2 8
3 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is 9 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index 892ac9749d6..9690a5a7d75 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -223,7 +223,19 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
223 "libpng13d.dll" "libpng13.dll")) 223 "libpng13d.dll" "libpng13.dll"))
224 '(jpeg "jpeg62.dll" "libjpeg.dll" "jpeg-62.dll" "jpeg.dll") 224 '(jpeg "jpeg62.dll" "libjpeg.dll" "jpeg-62.dll" "jpeg.dll")
225 '(tiff "libtiff3.dll" "libtiff.dll") 225 '(tiff "libtiff3.dll" "libtiff.dll")
226 '(gif "giflib4.dll" "libungif4.dll" "libungif.dll") 226 ;; Versions of giflib 5.0.0 and later changed signatures of
227 ;; several functions used by Emacs, which makes those versions
228 ;; incompatible with previous ones. We select the correct
229 ;; libraries according to the version of giflib we were
230 ;; compiled against. (If we were compiled without GIF support,
231 ;; libgif-version's value is -1.)
232 (if (>= libgif-version 50000)
233 ;; Yes, giflib 5.x uses 6 as the major version of the API,
234 ;; thus "libgif-6.dll" below (giflib 4.x used 5 as the
235 ;; major API version).
236 ;; giflib5.dll is from the lua-files project.
237 '(gif "libgif-6.dll" "giflib5.dll")
238 '(gif "libgif-5.dll" "giflib4.dll" "libungif4.dll" "libungif.dll"))
227 '(svg "librsvg-2-2.dll") 239 '(svg "librsvg-2-2.dll")
228 '(gdk-pixbuf "libgdk_pixbuf-2.0-0.dll") 240 '(gdk-pixbuf "libgdk_pixbuf-2.0-0.dll")
229 '(glib "libglib-2.0-0.dll") 241 '(glib "libglib-2.0-0.dll")