diff options
| author | Claudio Bley | 2013-11-01 10:52:22 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-11-01 10:52:22 +0200 |
| commit | d14c81eec79c626f017e015c7ecf24d7662504bc (patch) | |
| tree | d1d11da65e91b55be23b665b5b601bee5dfc5b15 /lisp | |
| parent | 983d0df5e186d445d2b1936536363e9343fd0c60 (diff) | |
| download | emacs-d14c81eec79c626f017e015c7ecf24d7662504bc.tar.gz emacs-d14c81eec79c626f017e015c7ecf24d7662504bc.zip | |
Support newer versions of libjpeg on MS-Windows.
src/image.c (Qlibjpeg_version): New variable.
(syms_of_image): DEFSYM and initialize it.
lisp/term/w32-win.el (dynamic-library-alist): Support newer versions
of libjpeg starting with v7: look only for the DLL from the
version against which Emacs was built.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/term/w32-win.el | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e99950276d8..eecc10efbb9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-11-01 Claudio Bley <claudio.bley@googlemail.com> | ||
| 2 | |||
| 3 | * term/w32-win.el (dynamic-library-alist): Support newer versions | ||
| 4 | of libjpeg starting with v7: look only for the DLL from the | ||
| 5 | version against which Emacs was built. | ||
| 6 | |||
| 1 | 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com> | 7 | 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com> |
| 2 | 8 | ||
| 3 | * progmodes/ruby-mode.el (ruby-indent-tabs-mode) | 9 | * progmodes/ruby-mode.el (ruby-indent-tabs-mode) |
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 9690a5a7d75..bf5f1b6435c 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el | |||
| @@ -221,8 +221,17 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") | |||
| 221 | '(png "libpng12d.dll" "libpng12.dll" "libpng3.dll" "libpng.dll" | 221 | '(png "libpng12d.dll" "libpng12.dll" "libpng3.dll" "libpng.dll" |
| 222 | ;; these are libpng 1.2.8 from GTK+ | 222 | ;; these are libpng 1.2.8 from GTK+ |
| 223 | "libpng13d.dll" "libpng13.dll")) | 223 | "libpng13d.dll" "libpng13.dll")) |
| 224 | '(jpeg "jpeg62.dll" "libjpeg.dll" "jpeg-62.dll" "jpeg.dll") | ||
| 225 | '(tiff "libtiff3.dll" "libtiff.dll") | 224 | '(tiff "libtiff3.dll" "libtiff.dll") |
| 225 | (if (> libjpeg-version 62) | ||
| 226 | ;; Versions of libjpeg after 6b are incompatible with | ||
| 227 | ;; earlier versions, and each of versions 7, 8, and 9 is | ||
| 228 | ;; also incompatible with the preceding ones (the core data | ||
| 229 | ;; structures used for communications with the library | ||
| 230 | ;; gained additional members with each new version). So we | ||
| 231 | ;; must use only the version of the library which Emacs was | ||
| 232 | ;; compiled against. | ||
| 233 | (list 'jpeg (format "libjpeg-%d.dll" (/ libjpeg-version 10))) | ||
| 234 | '(jpeg "jpeg62.dll" "libjpeg.dll" "jpeg-62.dll" "jpeg.dll")) | ||
| 226 | ;; Versions of giflib 5.0.0 and later changed signatures of | 235 | ;; Versions of giflib 5.0.0 and later changed signatures of |
| 227 | ;; several functions used by Emacs, which makes those versions | 236 | ;; several functions used by Emacs, which makes those versions |
| 228 | ;; incompatible with previous ones. We select the correct | 237 | ;; incompatible with previous ones. We select the correct |