diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-09-14 19:37:35 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-09-14 19:37:35 +0300 |
commit | 56ab0c4a4c99766c041a12f737353c9b889d1750 (patch) | |
tree | 578a58fea6da5312c3a522d4a3c58d7c2d5b16a3 /nt | |
parent | bc5485edeff0ccb3fbcc7fe6b6f13c666699e959 (diff) | |
download | emacs-56ab0c4a4c99766c041a12f737353c9b889d1750.tar.gz |
Support lcms2 in MS-Windows builds
* lisp/term/w32-win.el (dynamic-library-alist): Include
association for the lcms2 library.
* src/lcms.c [WINDOWSNT]: Include windows.h and w32.h. Use
DEF_DLL_FN to define pointers to dynamically loaded lcms2
functions.
(cmsCIE2000DeltaE, cmsCIECAM02Init, cmsCIECAM02Forward)
(cmsCIECAM02Done): New macros.
(init_lcms_functions, Flcms2_available_p): New functions.
(Flcms_cie_de2000, Flcms_cam02_ucs) [WINDOWSNT]: Call
init_lcms_functions.
(syms_of_lcms2): Defsubr lcms2-available-p.
* src/w32fns.c (syms_of_w32fns): DEFSYM Qlcms2.
* configure.ac: Include lcms2 in the final report and in
emacs_config_features.
* nt/INSTALL:
* nt/INSTALL.W64: Update with the information about lcms2 library.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/INSTALL | 9 | ||||
-rw-r--r-- | nt/INSTALL.W64 | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/nt/INSTALL b/nt/INSTALL index b7f47a5d7c2..c6182c22cef 100644 --- a/nt/INSTALL +++ b/nt/INSTALL @@ -486,6 +486,8 @@ build will run on Windows 9X and newer systems). Does Emacs use a gif library? yes Does Emacs use a png library? yes Does Emacs use -lrsvg-2? yes + Does Emacs use cairo? no + Does Emacs use -llcms2? yes Does Emacs use imagemagick? no Does Emacs support sound? no Does Emacs use -lgpm? no @@ -797,6 +799,13 @@ build will run on Windows 9X and newer systems). (This library is also a prerequisite for several image libraries, so you may already have it; look for zlib1.dll or libz-1.dll.) +* Optional support for lcms2 library + + Emacs can expose some capabilities of the Little CMS color + management engine to Lisp programs using the lcms2 library. + Prebuilt binaries of lcms2 DLL (for 32-bit builds of Emacs) are + available from the ezwinports site and from the MSYS2 project. + This file is part of GNU Emacs. diff --git a/nt/INSTALL.W64 b/nt/INSTALL.W64 index b40f2238b5e..cb134735738 100644 --- a/nt/INSTALL.W64 +++ b/nt/INSTALL.W64 @@ -63,6 +63,7 @@ packages (you can copy and paste it into the shell with Shift + Insert): mingw-w64-x86_64-libpng \ mingw-w64-x86_64-libjpeg-turbo \ mingw-w64-x86_64-librsvg \ + mingw-w64-x86_64-liblcms2 \ mingw-w64-x86_64-libxml2 \ mingw-w64-x86_64-gnutls \ mingw-w64-x86_64-zlib |