aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2015-09-29 19:34:25 +0300
committerEli Zaretskii2015-09-29 19:34:25 +0300
commitb425b3ffb82fbcf07985a27ebe90715af3c1eac4 (patch)
tree62a5a867ef2d1a030da63421519374d73c4a588b
parent2211052bbf0ca2290216bf0f95348a7d71d4a5c7 (diff)
downloademacs-b425b3ffb82fbcf07985a27ebe90715af3c1eac4.tar.gz
emacs-b425b3ffb82fbcf07985a27ebe90715af3c1eac4.zip
nt/INSTALL: Remove references to GTK site
That site no longer offers Windows downloads.
-rw-r--r--nt/INSTALL90
1 files changed, 24 insertions, 66 deletions
diff --git a/nt/INSTALL b/nt/INSTALL
index 446f2f8e93a..759be326b19 100644
--- a/nt/INSTALL
+++ b/nt/INSTALL
@@ -239,7 +239,7 @@ build will run on Windows 9X and newer systems).
239 . pkg-config (invoked by the configure script to look for optional 239 . pkg-config (invoked by the configure script to look for optional
240 packages) 240 packages)
241 241
242 Available from http://www.gtk.org/download/win32.php 242 Available from http://sourceforge.net/projects/ezwinports/files/.
243 243
244 . gzip (needed to compress files during "make install") 244 . gzip (needed to compress files during "make install")
245 245
@@ -621,12 +621,8 @@ build will run on Windows 9X and newer systems).
621 621
622 For PNG images, we recommend to use versions 1.4.x and later of 622 For PNG images, we recommend to use versions 1.4.x and later of
623 libpng, because previous versions had security issues. You can find 623 libpng, because previous versions had security issues. You can find
624 precompiled libraries and headers on the GTK download page for 624 precompiled libraries and headers on the ezwinports site,
625 Windows (http://www.gtk.org/download/win32.php for 32-bit builds and 625 http://sourceforge.net/projects/ezwinports/files/.
626 http://www.gtk.org/download/win64.php for 64-bit builds). The
627 ezwinports site, http://sourceforge.net/projects/ezwinports/files/
628 also offers PNG (as well as other image libraries), which are
629 usually newer.
630 626
631 Versions 1.4.0 and later of libpng are binary incompatible with 627 Versions 1.4.0 and later of libpng are binary incompatible with
632 earlier versions, so Emacs will only look for libpng libraries which 628 earlier versions, so Emacs will only look for libpng libraries which
@@ -663,70 +659,32 @@ build will run on Windows 9X and newer systems).
663 libtiffN.dll or libtiff-N.dll or libtiff.dll. These can be found on 659 libtiffN.dll or libtiff-N.dll or libtiff.dll. These can be found on
664 the ezwinports site. 660 the ezwinports site.
665 661
666 Pre-built versions of librsvg and its dependencies can be found in 662 Pre-built versions of librsvg and its dependencies can be found
667 one of these places: 663 here:
668 664
669 1. http://sourceforge.net/projects/ezwinports/files/ 665 http://sourceforge.net/projects/ezwinports/files/
670 666
671 This site includes a minimal (as much as possible for librsvg) 667 This site includes a minimal (as much as possible for librsvg)
672 build of the library and its dependencies; it is also more 668 build of the library and its dependencies; it is also more
673 up-to-date with the latest upstream versions. However, it 669 up-to-date with the latest upstream versions. However, it
674 currently only offers 32-bit builds. For building Emacs, you 670 currently only offers 32-bit builds. For building Emacs, you need
675 need to download from this site all of the following *-bin.zip 671 to download from this site all of the following *-bin.zip
676 archives: 672 archives:
677 673
678 librsvg, gdk-pixbuf, cairo, glib 674 librsvg, gdk-pixbuf, cairo, glib
679 675
680 The 'bin' archives on this site include both header files and the 676 The 'bin' archives on this site include both header files and the
681 libraries needed for building with librsvg and for running Emacs. 677 libraries needed for building with librsvg and for running Emacs.
682 The librsvg archive includes all the shared libraries needed to 678 The librsvg archive includes all the shared libraries needed to
683 run Emacs with SVG support; the other 3 packages are required 679 run Emacs with SVG support; the other 3 packages are required
684 because the compiler needs to see their header files when 680 because the compiler needs to see their header files when building
685 building Emacs. 681 Emacs.
686
687 2. GTK project download site for Windows (see above for 2 URLs,
688 either for 32-bit builds or 64-bit builds)
689
690 This is the official Windows download site of the GTK project.
691 Its builds of librsvg are fatter, but are currently the only
692 alternative for 64-bit builds. The easiest way to obtain the
693 dependencies required for building from this site is to download
694 a pre-bundled GTK+ development environment for Windows. If you
695 would nevertheless like to download only the packages that are
696 strictly required, then, as of the time of this writing, here's
697 the list of GTK+ packages you will need:
698
699 librsvg, pango, freetype-2.4.11, freetype-2.4.2, croco, cairo,
700 glib, gdk-pixbuf, fontconfig, libpng-1.4.x, libpng-1.5.x,
701 libffi, libxml2, zlib
702
703 The GTK download page provides 2 separate archives for each
704 package: a 'bin' (binary) archive with programs and DLLs, and a
705 'dev' (development) archive with header files, import libraries,
706 and pkg-config files; download and install both archives for each
707 package you need. (Sources of each package are available in a
708 separate, 3rd archive.)
709
710 As you see, some libraries for using this site's librsvg are
711 needed in more than one version -- this is because librsvg and
712 some of its dependencies were linked against different versions
713 of those libraries, and will look only for those DLLs when you
714 invoke SVG function. So there's a bit of "DLL hell" involved
715 here, but at least in theory this should work, as each library
716 will dynamically link only against its dependencies, even if
717 another version of the same library is already loaded. In
718 particular, at least 2 different versions of libpng will have to
719 be installed on your machine. When you install these libpng
720 versions, be sure to keep the header files and the pkg-config
721 files in sync, i.e. install both the 'bin' and 'dev' archives of
722 the same libpng version together.
723 682
724 To use librsvg at runtime, ensure that librsvg and its dependencies 683 To use librsvg at runtime, ensure that librsvg and its dependencies
725 are on your PATH, or in the same directory as the emacs.exe binary. 684 are on your PATH, or in the same directory as the emacs.exe binary.
726 If you are downloading from the ezwinports site, you only need to 685 If you are downloading from the ezwinports site, you only need to
727 install a single archive, librsvg-X.Y.Z-w32-bin.zip, which includes 686 install a single archive, librsvg-X.Y.Z-w32-bin.zip, which includes
728 all the dependency DLLs. For the GTK project site, download the 687 all the dependency DLLs.
729 'bin' archives for each of the libraries mentioned above.
730 688
731 If you think you've got all the dependencies and SVG support is 689 If you think you've got all the dependencies and SVG support is
732 still not working, check your PATH for other libraries that shadow 690 still not working, check your PATH for other libraries that shadow