Trivial consistency fixes
[mingw-xscripts.git] / SETUP
blob05735a2f3218b12493895818053932919f616aa0
2 -------------------------------------------------------------------------------
4 zlib DLL
5 http://www.zlib.net/
7     mkdir zlib123-dll
8     unzip zlib123-dll.zip -d zlib123-dll
9     cd zlib123-dll && sh ../install-zlib.sh
11 -------------------------------------------------------------------------------
13 libiconv
14 http://www.gnu.org/software/libiconv/
16     # There is a circular dependency between gettext and libiconv.  As
17     # suggested by the libiconv documentation, we'll have to build
18     # libiconv, then build gettext and then rebuild libiconv.
20     # First time
21     cross-configure --disable-nls
22     cross-make && cross-make install
24     # Second time
25     cross-make distclean
26     cross-configure && cross-make && cross-make install
28 -------------------------------------------------------------------------------
30 gettext
31 http://www.gnu.org/software/gettext/
33     # gettext 0.16.1 fails to build with MinGW due to some conflicting
34     # macro definitions.  This is fixed in 0.17, but for 0.16.1 you'll
35     # have to apply a patch to gettext-runtime/intl/localename.c[*].
36     #
37     # [*] http://cvs.savannah.gnu.org/viewvc/gettext/gettext-runtime/intl/localename.c?root=gettext&r1=1.15&r2=1.16&view=patch
39     # Only build DLLs, no tools nor documentation.
40     cd gettext-runtime 
42     cross-configure --disable-java
43     cross-make && cross-make install
45 -------------------------------------------------------------------------------
47 DirectX development headers
48 http://www.libsdl.org/extras/win32/common/
50     # These are not strictly necessary, however, making SDL use
51     # DirectSound significantly reduces audio latency which is
52     # unreasonably high with the WaveOut default.
53     tar -xzf directx-devel.tar.gz -C "$MINGW_PREFIX"
55 -------------------------------------------------------------------------------
57 SDL
58 http://www.libsdl.org/
60      cross-configure && cross-make && cross-make install
62 -------------------------------------------------------------------------------
64 libpng
65 http://www.libpng.org/pub/png/libpng.html
67     cross-configure && cross-make && cross-make install-strip
69 -------------------------------------------------------------------------------
71 libjpeg
72 http://gnuwin32.sourceforge.net/packages/jpeg.htm
74     # The headers from upstream have conflicts with some of MinGW's
75     # own headers.  After a couple of unsuccessful attempts I have
76     # given up on trying to build libjpeg manually and have decided to
77     # use a version from the GnuWin32 project.
79     # Get the "Binaries" (bin) and "Developer files" (lib) ZIP
80     # archives.
82     unzip "$binarchive" bin/jpeg62.dll -d "$MINGW_PREFIX"
83     unzip "$libarchive" 'include/*.h' lib/libjpeg.dll.a -d "$MINGW_PREFIX"
85 -------------------------------------------------------------------------------
87 libogg
88 http://xiph.org/downloads/
90     cross-configure && cross-make && cross-make install
92 -------------------------------------------------------------------------------
94 libvorbis
95 http://xiph.org/downloads/
97     # There is a bug in libvorbis 1.2.0 with library dependencies.
98     # Apply changes suggested in the respective bug report[*], comment
99     # out the ./configure bit in autogen.sh and then run autogen.sh to
100     # regenerate all necessary files.
101     #
102     # [*] https://trac.xiph.org/ticket/884#comment:3
104     cross-configure && cross-make && cross-make install
106 -------------------------------------------------------------------------------
108 FreeType
109 http://www.freetype.org/
111     # Same problem as libvorbis;  fixed in FreeType > v2.3.5.
113     cross-configure && cross-make && cross-make install
115 -------------------------------------------------------------------------------
117 SDL_ttf
118 http://www.libsdl.org/projects/SDL_ttf/
120     cross-configure && cross-make && cross-make install
122 -------------------------------------------------------------------------------