diff options
| author | Paul Eggert | 2016-09-26 13:35:56 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-09-26 13:35:56 -0700 |
| commit | fffa49b136b02052073fa584cf7b9fe99b1bf951 (patch) | |
| tree | 6065ab2578cfdd73012045e8911a065ab9e0fe0c /nt | |
| parent | 2914d52129032c471a6754f4a3961a9dffdc7b18 (diff) | |
| parent | cf9e174ae1d3b1428982204b0786a7db13d94ab7 (diff) | |
| download | emacs-fffa49b136b02052073fa584cf7b9fe99b1bf951.tar.gz emacs-fffa49b136b02052073fa584cf7b9fe99b1bf951.zip | |
Merge from origin/emacs-25
cf9e174 Document the optional zlib library in MS-Windows builds
84eb144 ; * admin/notes/unicode: Mention BidiCharacterTest.txt.
73c67dd Fix tagging of DEFUN by etags
ea1960b Avoid resetting track-mouse by mouse clicks
505fef3 Improve nt/README.W32 instructions
1229cc4 Document that desktop file overrides frame parameters
f0eb70d ; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release
# Conflicts:
# ChangeLog.2
# admin/notes/unicode
# lisp/ldefs-boot.el
Diffstat (limited to 'nt')
| -rw-r--r-- | nt/INSTALL | 9 | ||||
| -rw-r--r-- | nt/INSTALL.W64 | 10 | ||||
| -rw-r--r-- | nt/README.W32 | 79 |
3 files changed, 87 insertions, 11 deletions
diff --git a/nt/INSTALL b/nt/INSTALL index 99a2f3988f9..fff0eb6f8d9 100644 --- a/nt/INSTALL +++ b/nt/INSTALL | |||
| @@ -784,6 +784,15 @@ build will run on Windows 9X and newer systems). | |||
| 784 | You need the libiconv-X.Y.Z-N-mingw32-dev.tar.lzma tarball from that | 784 | You need the libiconv-X.Y.Z-N-mingw32-dev.tar.lzma tarball from that |
| 785 | site. | 785 | site. |
| 786 | 786 | ||
| 787 | * Optional support for decompressing text | ||
| 788 | |||
| 789 | Emacs can decompress text if compiled with the zlib library. | ||
| 790 | Prebuilt binaries of zlib DLL (for 32-bit builds of Emacs) are | ||
| 791 | available from the ezwinports site; see above for the URL. | ||
| 792 | |||
| 793 | (This library is also a prerequisite for several image libraries, so | ||
| 794 | you may already have it; look for zlib1.dll or libz-1.dll.) | ||
| 795 | |||
| 787 | 796 | ||
| 788 | This file is part of GNU Emacs. | 797 | This file is part of GNU Emacs. |
| 789 | 798 | ||
diff --git a/nt/INSTALL.W64 b/nt/INSTALL.W64 index e109c6f0f23..40670a6a878 100644 --- a/nt/INSTALL.W64 +++ b/nt/INSTALL.W64 | |||
| @@ -64,13 +64,15 @@ packages (you can copy and paste it into the shell with Shift + Insert): | |||
| 64 | mingw-w64-x86_64-libjpeg-turbo \ | 64 | mingw-w64-x86_64-libjpeg-turbo \ |
| 65 | mingw-w64-x86_64-librsvg \ | 65 | mingw-w64-x86_64-librsvg \ |
| 66 | mingw-w64-x86_64-libxml2 \ | 66 | mingw-w64-x86_64-libxml2 \ |
| 67 | mingw-w64-x86_64-gnutls | 67 | mingw-w64-x86_64-gnutls \ |
| 68 | mingw-w64-x86_64-zlib | ||
| 68 | 69 | ||
| 69 | The packages include the base developer tools (autoconf, automake, grep, make, | 70 | The packages include the base developer tools (autoconf, automake, grep, make, |
| 70 | etc.), the compiler toolchain (gcc, gdb, etc.), several image libraries, an | 71 | etc.), the compiler toolchain (gcc, gdb, etc.), several image libraries, an |
| 71 | XML library, and the GnuTLS (transport layer security) library. Only the | 72 | XML library, the GnuTLS (transport layer security) library, and zlib for |
| 72 | first three packages are required (base-devel, toolchain, xpm-nox); the rest | 73 | decompressing text. Only the first three packages are required (base-devel, |
| 73 | are optional. | 74 | toolchain, xpm-nox); the rest are optional. You can select only part of the |
| 75 | libraries if you don't need them all. | ||
| 74 | 76 | ||
| 75 | You now have a complete build environment for Emacs. | 77 | You now have a complete build environment for Emacs. |
| 76 | 78 | ||
diff --git a/nt/README.W32 b/nt/README.W32 index 71a0738969a..a061596da55 100644 --- a/nt/README.W32 +++ b/nt/README.W32 | |||
| @@ -139,19 +139,21 @@ See the end of the file for license conditions. | |||
| 139 | libraries. These libraries are all available on the following sites: | 139 | libraries. These libraries are all available on the following sites: |
| 140 | 140 | ||
| 141 | 1. http://sourceforge.net/projects/ezwinports/files/ | 141 | 1. http://sourceforge.net/projects/ezwinports/files/ |
| 142 | -- leaner, more up-to-date builds, only for 32-bit Emacs | 142 | -- up-to-date builds, self-contained archives, only for 32-bit Emacs |
| 143 | 2. http://www.gtk.org/download/win32.php | 143 | 2. The MSYS2 project -- for 64-bit Emacs: |
| 144 | http://www.gtk.org/download/win64.php | 144 | http://msys2.github.io/ |
| 145 | -- the GTK project site; offers much fatter builds, but includes | 145 | https://sourceforge.net/projects/msys2/files/REPOS/MINGW/x86_64/ |
| 146 | 64-bit DLLs (from the 2nd URL) | 146 | 3. GnuWin32 project -- very old 32-bit builds, not recommended |
| 147 | 3. GnuWin32 project -- very old builds, not recommended | ||
| 148 | 147 | ||
| 149 | The libraries to download are mentioned below. Some libraries | 148 | The libraries to download are mentioned below. Some libraries |
| 150 | depend on others that need to be downloaded separately from the same | 149 | depend on others that need to be downloaded separately from the same |
| 151 | site; please consult the download instructions on each site for the | 150 | site; please consult the download instructions on each site for the |
| 152 | details. In general, the ezwinports site mentioned above has all | 151 | details. In general, the ezwinports site mentioned above has all |
| 153 | the dependencies bundled in the same zip archive, so installing from | 152 | the dependencies bundled in the same zip archive, so installing from |
| 154 | there is the easiest. | 153 | there is the easiest. For MSYS2 builds, we recommend that you |
| 154 | install and use the 'pacman' utility (available from the MSYS2 | ||
| 155 | site), see the instructions below -- it will automatically install | ||
| 156 | all the dependencies. | ||
| 155 | 157 | ||
| 156 | Emacs will find these libraries if the directory they are installed | 158 | Emacs will find these libraries if the directory they are installed |
| 157 | in is on the PATH or in the same directory where you have emacs.exe. | 159 | in is on the PATH or in the same directory where you have emacs.exe. |
| @@ -210,6 +212,69 @@ See the end of the file for license conditions. | |||
| 210 | You can get pre-built binaries (including any required DLL and the | 212 | You can get pre-built binaries (including any required DLL and the |
| 211 | header files) at http://sourceforge.net/projects/ezwinports/files/. | 213 | header files) at http://sourceforge.net/projects/ezwinports/files/. |
| 212 | 214 | ||
| 215 | |||
| 216 | * zlib support | ||
| 217 | |||
| 218 | zlib provides support for decompressing text, which is necessary for | ||
| 219 | the zlib-decompress-region primitive. | ||
| 220 | |||
| 221 | Prebuilt binaries of zlib DLL (for 32-bit builds of Emacs) are | ||
| 222 | available from the ezwinports site; see above for the URL. For the | ||
| 223 | 64-bit DLL, see the instructions below for installing from MSYS2 | ||
| 224 | site. | ||
| 225 | |||
| 226 | (This library is also a prerequisite for several image libraries, so | ||
| 227 | you may already have it; look for zlib1.dll or libz-1.dll.) | ||
| 228 | |||
| 229 | * Installing 64-bit optional libraries from the MSYS2 site | ||
| 230 | |||
| 231 | We recommend that you use the 'pacman' utility to download the | ||
| 232 | libraries you need and all of their dependencies. If you don't have | ||
| 233 | 'pacman' installed, proceed as follows: | ||
| 234 | |||
| 235 | . Install the MSYS2 64-bit (x86_64) installer, named | ||
| 236 | msys2-x86_64-YYYYMMDD.exe (where "YYYYMMDD" is the release date, | ||
| 237 | like 20160205) from http://msys2.github.io/. | ||
| 238 | |||
| 239 | . Run the installer, select the installation directory, make sure | ||
| 240 | "Run MSYS2 now" checkbox is checked, and click "Finish". A Bash | ||
| 241 | window will open. | ||
| 242 | |||
| 243 | . Type into the Bash window the following command: | ||
| 244 | |||
| 245 | pacman -Sy pacman | ||
| 246 | |||
| 247 | When asked whether to proceed with installation, type Y. | ||
| 248 | |||
| 249 | To install the optional libraries, start the MSYS2 Bash window and | ||
| 250 | type the following command: | ||
| 251 | |||
| 252 | pacman -S PACKAGES | ||
| 253 | |||
| 254 | where PACKAGES is the list of packages you want to install. The | ||
| 255 | full list is as follows: | ||
| 256 | |||
| 257 | mingw-w64-x86_64-xpm-nox mingw-w64-x86_64-libtiff mingw-w64-x86_64-giflib | ||
| 258 | mingw-w64-x86_64-libpng mingw-w64-x86_64-libjpeg-turbo | ||
| 259 | mingw-w64-x86_64-librsvg mingw-w64-x86_64-libxml2 mingw-w64-x86_64-gnutls | ||
| 260 | mingw-w64-x86_64-zlib | ||
| 261 | |||
| 262 | You can type any subset of this list. Once again, when asked | ||
| 263 | whether to proceed with installation, answer Y. | ||
| 264 | |||
| 265 | Alternatively, you could install the packages manually from this | ||
| 266 | page: | ||
| 267 | |||
| 268 | https://sourceforge.net/projects/msys2/files/REPOS/MINGW/x86_64/ | ||
| 269 | |||
| 270 | However, the packages there are not self-contained, so you will need | ||
| 271 | to download all their dependencies as well. | ||
| 272 | |||
| 273 | After the installation, if you will be installing Emacs in a | ||
| 274 | directory different from where the DLLs were installed, we recommend | ||
| 275 | to add the directory with DLLs to your PATH, so that Emacs will be | ||
| 276 | able to find those DLLs. | ||
| 277 | |||
| 213 | * Uninstalling Emacs | 278 | * Uninstalling Emacs |
| 214 | 279 | ||
| 215 | If you should need to uninstall Emacs, simply delete all the files | 280 | If you should need to uninstall Emacs, simply delete all the files |