Project

General

Profile

buildingFauxdacious.htm

Jim Turner, May 31, 2016 22:42

 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2

    
3
<html>
4
<head>
5
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
6
<title>Notes for Building Fauxdacious on Windows</title>
7
</head>
8
<body>
9

    
10
<h2>Notes for Building Fauxdacious on Windows</h2>
11

    
12
<p><em>Jim Turner<br>
13
May 27, 2016<br>from "Building Audacious on Windows", by: John Lindgren<br>
14
May 16, 2015</em></p>
15

    
16
<p>Several patch files should accompany this document.</p>
17

    
18
<h3>Set up system paths</h3>
19

    
20
<p>Under <em>My Computer -> Properties -> Advanced -> Environment Variables</em>, set:</p>
21
<blockquote><p><tt>PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\Python27;C:\GTK\bin;C:\libs\bin;C:\aud\bin<br>
22
PKG_CONFIG_PATH=/C/GTK/lib/pkgconfig:/C/libs/lib/pkgconfig:/C/aud/lib/pkgconfig<br>
23
C_INCLUDE_PATH=/C/GTK/include:/C/libs/include<br>
24
CPLUS_INCLUDE_PATH=/C/GTK/include:/C/libs/include<br>
25
LIBRARY_PATH=/C/GTK/lib:/C/libs/lib</tt></p></blockquote>
26

    
27
<h3>Install MinGW</h3>
28

    
29
<p>Download and run:<br>
30
<a href="http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download">
31
<tt>http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download</tt></a></p>
32

    
33
<p>In the MinGW Installation Manager window, install the following packages:</p>
34
<ul><li>mingw32-base (bin)</li>
35
<li>mingw32-gcc-g++ (bin)</li>
36
<li>mingw-developer-toolkit (bin)</li>
37
<li>mingw32-pthreads-w32 (dev)</li>
38
<li>mingw32-libz (dev)</li></ul>
39

    
40
<p>Edit the file <tt>C:\MinGW\msys\1.0\etc\fstab</tt> to contain only the
41
following line, in lowercase:</p>
42
<blockquote><p><tt>c:/mingw /mingw</tt></p></blockquote>
43

    
44
<p>As of version 4.0.3-1, the MinGW runtime library is missing some mathematical
45
functions that are necessary to build Fauxdacious.  Downgrade the library by
46
running the following in a command prompt window:</p>
47
<blockquote><p><tt>mingw-get upgrade mingw32-mingwrt-dev=3.20-2<br>
48
mingw-get upgrade mingw32-w32api=3.17-2</tt></p></blockquote>
49

    
50
<p>Open the file <tt>C:\MinGW\lib\gcc\mingw32\4.8.1\include\c++\mingw32\bits\c++config.h</tt>
51
and locate the following line:</p>
52
<blockquote><p><tt>/* #undef _GLIBCXX_HAVE_FENV_H */</tt></p></blockquote>
53
<p>Change it to read:</p>
54
<blockquote><p><tt>#define _GLIBCXX_HAVE_FENV_H 1</tt></p></blockquote>
55

    
56
<h3>Install Python</h3>
57

    
58
<p>Download and run:<br>
59
<a href="http://python.org/ftp/python/2.7.6/python-2.7.6.msi">
60
<tt>http://python.org/ftp/python/2.7.6/python-2.7.6.msi</tt></a></p>
61

    
62
<p>Follow the prompts to install with default options to <tt>C:\Python27</tt>.</p>
63

    
64
<h3>Install libpng</h3>
65

    
66
<p>Download and unzip to <tt>C:\libpng</tt>:<br>
67
<a href="http://sourceforge.net/projects/libpng/files/libpng16/1.6.17/libpng-1.6.17.tar.xz/download">
68
<tt>http://sourceforge.net/projects/libpng/files/libpng16/1.6.17/libpng-1.6.17.tar.xz/download</tt></a></p>
69

    
70
<p>In the MinGW shell:</p>
71
<blockquote><p><tt>cd /C/libpng<br>
72
./configure --prefix=/C/GTK<br>
73
make<br>
74
make install</tt></p></blockquote>
75

    
76
<h3>Install libjpeg-turbo</h3>
77

    
78
<p>Download and unzip to <tt>C:\libjpeg</tt>:<br>
79
<a href="http://sourceforge.net/projects/libjpeg-turbo/files/1.4.0/libjpeg-turbo-1.4.0.tar.gz/download">
80
<tt>http://sourceforge.net/projects/libjpeg-turbo/files/1.4.0/libjpeg-turbo-1.4.0.tar.gz/download</tt></a></p>
81

    
82
<p>In the MinGW shell:</p>
83
<blockquote><p><tt>cd /C/libjpeg<br>
84
./configure --prefix=/C/GTK --without-simd --without-turbojpeg<br>
85
make<br>
86
make install</tt></p></blockquote>
87

    
88
<h3>Install libffi</h3>
89

    
90
<p>Download and unzip to <tt>C:\libffi</tt>:<br>
91
<a href="ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz">
92
<tt>ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz</tt></a></p>
93

    
94
<p>In the MinGW shell:</p>
95
<blockquote><p><tt>cd /C/libffi<br>
96
./configure --prefix=/C/GTK --with-gcc-arch=i686<br>
97
make<br>
98
make install</tt></p></blockquote>
99

    
100
<h3>Install GLib</h3>
101

    
102
<p>Download and unzip to <tt>C:\glib</tt>:<br>
103
<a href="http://ftp.gnome.org/pub/GNOME/sources/glib/2.44/glib-2.44.1.tar.xz">
104
<tt>http://ftp.gnome.org/pub/GNOME/sources/glib/2.44/glib-2.44.1.tar.xz</tt></a></p>
105

    
106
<p>Apply the patch <tt>ggettext.c.diff</tt> to <tt>C:\glib\glib\ggettext.c</tt>.<br>
107
Apply the patch <tt>gcontenttype-win32.c.diff</tt> to <tt>C:\glib\gio\gcontenttype-win32.c.diff</tt>.<br>
108
Apply the patch <tt>gwin32appinfo.c.diff</tt> to <tt>C:\glib\gio\gwin32appinfo.c.diff</tt>.<br>
109
Apply the patch <tt>gwin32networking.h.diff</tt> to <tt>C:\glib\gio\gwin32networking.h</tt>.</p>
110

    
111
<p>In the MinGW shell:</p>
112
<blockquote><p><tt>cd /C/glib<br>
113
CFLAGS="-O2 -march=i686" LIBFFI_CFLAGS="-I/C/GTK/lib/libffi-3.2.1/include" LIBFFI_LIBS="-lffi" ZLIB_CFLAGS="" ZLIB_LIBS="-lz" ./configure --prefix=/C/GTK<br>
114
make<br>
115
make install</tt></p></blockquote>
116

    
117
<h3>Install pkg-config</h3>
118

    
119
<p>Download and unzip to <tt>C:\pkgconfig</tt>:<br>
120
<a href="http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz">
121
<tt>http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz</tt></a></p>
122

    
123
<p>In the MinGW shell:</p>
124
<blockquote><p><tt>cd /C/pkgconfig<br>
125
GLIB_CFLAGS="-I/C/GTK/include/glib-2.0 -I/C/GTK/lib/glib-2.0/include" GLIB_LIBS="-lglib-2.0" ./configure --prefix=/C/GTK<br>
126
make<br>
127
make install</tt></p></blockquote>
128

    
129
<p>Copy <tt>C:\GTK\share\aclocal\pkg.m4</tt> to <tt>C:\MinGW\share\aclocal</tt>.</p>
130

    
131
<h3>Install pixman</h3>
132

    
133
<p>Download and unzip to <tt>C:\pixman</tt>:<br>
134
<a href="http://cairographics.org/releases/pixman-0.32.6.tar.gz">
135
<tt>http://cairographics.org/releases/pixman-0.32.6.tar.gz</tt></a></p>
136

    
137
<p>In the MinGW shell:</p>
138
<blockquote><p><tt>cd /C/pixman<br>
139
./configure --prefix=/C/GTK --disable-sse2 --disable-ssse3<br>
140
make<br>
141
make install</tt></p></blockquote>
142

    
143
<h3>Install Cairo</h3>
144

    
145
<p>Download and unzip to <tt>C:\cairo</tt>:<br>
146
<a href="http://cairographics.org/releases/cairo-1.14.2.tar.xz">
147
<tt>http://cairographics.org/releases/cairo-1.14.2.tar.xz</tt></a></p>
148

    
149
<p>In the MinGW shell:</p>
150
<blockquote><p><tt>cd /C/cairo<br>
151
./configure --prefix=/C/GTK --disable-interpreter<br>
152
make<br>
153
make install</tt></p></blockquote>
154

    
155
<h3>Install Pango</h3>
156

    
157
<p>Download and unzip to <tt>C:\pango</tt>:<br>
158
<a href="http://ftp.gnome.org/pub/GNOME/sources/pango/1.36/pango-1.36.8.tar.xz">
159
<tt>http://ftp.gnome.org/pub/GNOME/sources/pango/1.36/pango-1.36.8.tar.xz</tt></a></p>
160

    
161
<p>In the MinGW shell:</p>
162
<blockquote><p><tt>cd /C/pango<br>
163
./configure --prefix=/C/GTK<br>
164
make<br>
165
make install</tt></p></blockquote>
166

    
167
<h3>Install gdk-pixbuf</h3>
168

    
169
<p>Download and unzip to <tt>C:\gdk-pixbuf</tt>:<br>
170
<a href="http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.31/gdk-pixbuf-2.31.4.tar.xz">
171
<tt>http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.31/gdk-pixbuf-2.31.4.tar.xz</tt></a></p>
172

    
173
<p>In the MinGW shell:</p>
174
<blockquote><p><tt>cd /C/gdk-pixbuf<br>
175
./configure --prefix=/C/GTK --without-gdiplus --without-libtiff<br>
176
make<br>
177
make install</tt></p></blockquote>
178

    
179
<h3>Install ATK</h3>
180

    
181
<p>Download and unzip to <tt>C:\atk</tt>:<br>
182
<a href="http://ftp.gnome.org/pub/gnome/sources/atk/2.16/atk-2.16.0.tar.xz">
183
<tt>http://ftp.gnome.org/pub/gnome/sources/atk/2.16/atk-2.16.0.tar.xz</tt></a></p>
184

    
185
<p>In the MinGW shell:</p>
186
<blockquote><p><tt>cd /C/atk<br>
187
./configure --prefix=/C/GTK<br>
188
make<br>
189
make install</tt></p></blockquote>
190

    
191
<h3>Install GTK+</h3>
192

    
193
<p>Download and unzip to <tt>C:\gtksrc</tt>:<br>
194
<a href="http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-2.24.28.tar.xz">
195
<tt>http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-2.24.28.tar.xz</tt></a></p>
196

    
197
<p>In the MinGW shell (<B>with Admin privileges</B>):</p>
198
<blockquote><p><tt>cd /C/gtksrc<br>
199
CFLAGS="-O2 -D_WIN32_WINNT=0x0501" ./configure --prefix=/C/GTK<br>
200
make<br>
201
make install</tt></p></blockquote>
202

    
203
<p><i>It may be necessary to run the MinGW shell with administrative privileges
204
for GTK+ to build successfully.</i></p>
205

    
206
<p>Copy <tt>gtkrc</tt> (accompanying this document) to <tt>C:\GTK\etc\gtk-2.0\gtkrc</tt>.
207

    
208
<h3>Install intltool</h3>
209

    
210
<p>Download and unzip to <tt>C:\intltool</tt>:<br>
211
<a href="http://ftp.gnome.org/pub/GNOME/sources/intltool/0.40/intltool-0.40.6.tar.bz2">
212
<tt>http://ftp.gnome.org/pub/GNOME/sources/intltool/0.40/intltool-0.40.6.tar.bz2</tt></a></p>
213

    
214
<p>In the MinGW shell:</p>
215
<blockquote><p><tt>cd /C/intltool<br>
216
./configure --prefix=/C/GTK<br>
217
make<br>
218
make install</tt></p></blockquote>
219

    
220
<h3>Install GNOME Icon Theme</h3>
221

    
222
<p>Download and unzip to <tt>C:\gnome-icon-theme</tt>:<br>
223
<a href="http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/3.12/gnome-icon-theme-3.12.0.tar.xz">
224
<tt>http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/3.12/gnome-icon-theme-3.12.0.tar.xz</tt></a></p>
225

    
226
<p>In the MinGW shell (<B>with Admin privileges</B>):</p>
227
<blockquote><p><tt>cd /C/gnome-icon-theme<br>
228
./configure --prefix=/C/GTK --disable-icon-mapping<br>
229
make<br>
230
make install</tt></p></blockquote>
231

    
232
<p><i>It may be necessary to run the MinGW shell with administrative privileges
233
for GNOME Icon Theme to install successfully.</i></p>
234

    
235
<h3>Install yasm assembler</h3>
236

    
237
<p>Download yasm.1.3.0-win32.exe (or latest) and rename to c:\libs\bin\yasm.exe</tt>:<br>
238
<a href="http://yasm.tortall.net/Download.html">
239
<tt>http://yasm.tortall.net/Download.html</tt></a></p>
240

    
241
<h3>Install SDL (v1.x)</h3>
242

    
243
<p>Download and unzip to <tt>C:\libsdl</tt>:<br>
244
<a href="http://www.libsdl.org/release/SDL-1.2.15.tar.gz">
245
<tt>http://www.libsdl.org/release/SDL-1.2.15.tar.gz</tt></a></p>
246

    
247
<p>In the MinGW shell:</p>
248
<blockquote><p><tt>cd /C/libsdl<br>
249
./configure --prefix=/C/libs<br>
250
make<br>
251
make install</tt></p></blockquote>
252

    
253
<p>Fauxdacious Note:&nbsp;  The compiled SDL dll does NOT work for all videos (most produce black screen), 
254
but does provide the needed header files, so I ended up also downloading the Win32 binary from here:  <a href="https://www.libsdl.org/download-1.2.php">
255
<tt>https://www.libsdl.org/download-1.2.php</tt></a> and copying the provided SDL.dll file to c:\libs\bin\ (which does work for all videos)!</p>
256

    
257
<h3>Install GNU regex</h3>
258

    
259
<p>Download and unzip to <tt>C:\libs</tt>:<br>
260
<a href="http://sourceforge.net/projects/mingw/files/Other/UserContributed/regex/mingw-regex-2.5.1/mingw-libgnurx-2.5.1-bin.tar.gz/download">
261
<tt>http://sourceforge.net/projects/mingw/files/Other/UserContributed/regex/mingw-regex-2.5.1/mingw-libgnurx-2.5.1-bin.tar.gz/download</tt></a><br>
262
<a href="http://sourceforge.net/projects/mingw/files/Other/UserContributed/regex/mingw-regex-2.5.1/mingw-libgnurx-2.5.1-dev.tar.gz/download">
263
<tt>http://sourceforge.net/projects/mingw/files/Other/UserContributed/regex/mingw-regex-2.5.1/mingw-libgnurx-2.5.1-dev.tar.gz/download</tt></a></p>
264

    
265
<h3>Install libxml</h3>
266

    
267
<p>Download and unzip to <tt>C:\libxml</tt>:<br>
268
<a href="ftp://xmlsoft.org/libxml2/libxml2-2.9.2.tar.gz">
269
<tt>ftp://xmlsoft.org/libxml2/libxml2-2.9.2.tar.gz</tt></a></p>
270

    
271
<p>In the MinGW shell:</p>
272
<blockquote><p><tt>cd /C/libxml<br>
273
./configure --prefix=/C/libs --with-python=no<br>
274
make<br>
275
make install</tt></p></blockquote>
276

    
277
<h3>Install mpg123</h3>
278

    
279
<p>Download and unzip to <tt>C:\mpg123</tt>:<br>
280
<a href="http://mpg123.de/download/mpg123-1.22.1.tar.bz2">
281
<tt>http://mpg123.de/download/mpg123-1.22.1.tar.bz2</tt></a></p>
282

    
283
<p>In the MinGW shell:</p>
284
<blockquote><p><tt>cd /C/mpg123<br>
285
./configure --prefix=/C/libs<br>
286
make<br>
287
make install</tt></p></blockquote>
288

    
289
<h3>Install libfaad</h3>
290

    
291
<p>Download and unzip to <tt>C:\libfaad</tt>:<br>
292
<a href="http://sourceforge.net/projects/faac/files/faad2-src/faad2-2.7/faad2-2.7.tar.bz2/download">
293
<tt>http://sourceforge.net/projects/faac/files/faad2-src/faad2-2.7/faad2-2.7.tar.bz2/download</tt></a></p>
294

    
295
<p>Apply the patch <tt>libfaad-makefile.am.diff</tt> to <tt>C:\libfaad\libfaad\Makefile.am</tt>.<br>
296
Apply the patch <tt>libfaad-main.c.diff</tt> to <tt>C:\libfaad\frontend\main.c</tt>.</p>
297

    
298
<p>In the MinGW shell:</p>
299
<blockquote><p><tt>cd /C/libfaad<br>
300
cp /C/MinGW/share/libtool/config/ltmain.sh .<br>
301
autoreconf<br>
302
./configure --prefix=/C/libs<br>
303
make<br>
304
make install</tt></p></blockquote>
305

    
306
<h3>Install libsndfile</h3>
307

    
308
<p>Download and unzip to <tt>C:\libsndfile</tt>:<br>
309
<a href="http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz">
310
<tt>http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz</tt></a></p>
311

    
312
<p>In the MinGW shell:</p>
313
<blockquote><p><tt>cd /C/libsndfile<br>
314
./configure --prefix=/C/libs<br>
315
make<br>
316
make install</tt></p></blockquote>
317

    
318
<h3>Install libbs2b</h3>
319

    
320
<p>Download and unzip to <tt>C:\libbs2b</tt>:<br>
321
<a href="http://sourceforge.net/projects/bs2b/files/libbs2b/3.1.0/libbs2b-3.1.0.tar.bz2/download">
322
<tt>http://sourceforge.net/projects/bs2b/files/libbs2b/3.1.0/libbs2b-3.1.0.tar.bz2/download</tt></a></p>
323

    
324
<p>Apply the patch <tt>libbs2b-makefile.am.diff</tt> to <tt>C:\libs2b\src\Makefile.am</tt>.</p>
325

    
326
<p>In the MinGW shell:</p>
327
<blockquote><p><tt>cd /C/libbs2b<br>
328
cp /C/MinGW/share/libtool/config/ltmain.sh build-aux<br>
329
autoreconf<br>
330
./configure --prefix=/C/libs<br>
331
make<br>
332
make install</tt></p></blockquote>
333

    
334
<h3>Install libcdio</h3>
335

    
336
<p>Download and unzip to <tt>C:\libcdio</tt>:<br>
337
<a href="http://ftp.gnu.org/gnu/libcdio/libcdio-0.83.tar.gz">
338
<tt>http://ftp.gnu.org/gnu/libcdio/libcdio-0.83.tar.gz</tt></a></p>
339

    
340
<p>Apply the patch <tt>libcdio-util.c.diff</tt> to <tt>C:\libcdio\src\util.c</tt>.</p>
341

    
342
<p>In the MinGW shell:</p>
343
<blockquote><p><tt>cd /C/libcdio<br>
344
./configure --prefix=/C/libs --disable-rock<br>
345
make<br>
346
make install</tt></p></blockquote>
347

    
348
<h3>Install libcddb</h3>
349

    
350
<p>Download and unzip to <tt>C:\libcddb</tt>:<br>
351
<a href="http://sourceforge.net/projects/libcddb/files/libcddb/1.3.2/libcddb-1.3.2.tar.bz2/download">
352
<tt>http://sourceforge.net/projects/libcddb/files/libcddb/1.3.2/libcddb-1.3.2.tar.bz2/download</tt></a></p>
353

    
354
<p>In the MinGW shell:</p>
355
<blockquote><p><tt>cd /C/libcddb<br>
356
./configure --prefix=/C/libs<br>
357
make<br>
358
make install</tt></p></blockquote>
359

    
360
<h3>Install libcue</h3>
361

    
362
<p>Download and unzip to <tt>C:\libcue</tt>:<br>
363
<a href="https://slackbuilds.org/repository/14.1/libraries/libcue/">
364
<tt>https://slackbuilds.org/repository/14.1/libraries/libcue/</tt></a></p>
365

    
366
<p>Apply the patch <tt>libcue-makefile.am.diff</tt> to <tt>C:\libcue\src\libcue\Makefile.am</tt>.</p>
367

    
368
<p>In the MinGW shell:</p>
369
<blockquote><p><tt>cd /C/libcue<br>
370
rm -f config/ltmain.sh<br>
371
cp /C/MinGW/share/libtool/config/ltmain.sh config<br>
372
autoreconf<br>
373
./configure --prefix=/C/libs<br>
374
make<br>
375
make install</tt></p></blockquote>
376

    
377
<p>Fauxdacious Note:&nbsp;  This is under new management so the URL changed from the Audacious notes (the new URL is shown above)</p>
378

    
379
<h3>Install LAME</h3>
380

    
381
<p>Download and unzip to <tt>C:\lame</tt>:<br>
382
<a href="http://sourceforge.net/projects/lame/files/lame/3.99/lame-3.99.5.tar.gz/download">
383
<tt>http://sourceforge.net/projects/lame/files/lame/3.99/lame-3.99.5.tar.gz/download</tt></a></p>
384

    
385
<p>In the MinGW shell:</p>
386
<blockquote><p><tt>cd /C/lame<br>
387
sed -i -e '/xmmintrin\.h/d' configure  &nbsp;&nbsp;#LAME won't compile w/o this change (see:  <a href="http://blfs-dev.linuxfromscratch.narkive.com/9JWdWm7K/i686-lame-fails-to-build-for-me"><tt>http://blfs-dev.linuxfromscratch.narkive.com/9JWdWm7K/i686-lame-fails-to-build-for-me</tt></a>)!<br>
388
./configure --prefix=/C/libs<br>
389
make<br>
390
make install</tt></p></blockquote>
391

    
392
<h3>Install libflac</h3>
393

    
394
<p>Download and unzip to <tt>C:\libflac</tt>:<br>
395
<a href="http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz">
396
<tt>http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz</tt></a></p>
397

    
398
<p>In the MinGW shell:</p>
399
<blockquote><p><tt>cd /C/libflac<br>
400
./configure --prefix=/C/libs --disable-sse --disable-ogg<br>
401
make<br>
402
make install</tt></p></blockquote>
403

    
404
<h3>Install libogg</h3>
405

    
406
<p>Download and unzip to <tt>C:\libogg</tt>:<br>
407
<a href="http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz">
408
<tt>http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz</tt></a></p>
409

    
410
<p>In the MinGW shell:</p>
411
<blockquote><p><tt>cd /C/libogg<br>
412
./configure --prefix=/C/libs<br>
413
make<br>
414
make install</tt></p></blockquote>
415

    
416
<h3>Install libvorbis</h3>
417

    
418
<p>Download and unzip to <tt>C:\libvorbis</tt>:<br>
419
<a href="http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz">
420
<tt>http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz</tt></a></p>
421

    
422
<p>In the MinGW shell:</p>
423
<blockquote><p><tt>cd /C/libvorbis<br>
424
./configure --prefix=/C/libs<br>
425
make<br>
426
make install</tt></p></blockquote>
427

    
428
<h3>Install libneon</h3>
429

    
430
<p>Download and unzip to <tt>C:\libneon</tt>:<br>
431
<a href="http://www.webdav.org/neon/neon-0.30.1.tar.gz">
432
<tt>http://www.webdav.org/neon/neon-0.30.1.tar.gz</tt></a></p>
433

    
434
<p>In the MinGW shell:</p>
435
<blockquote><p><tt>cd /C/libneon<br>
436
./configure --prefix=/C/libs --enable-shared<br>
437
make<br>
438
make install</tt></p></blockquote>
439

    
440
<h3>Install libsamplerate</h3>
441

    
442
<p>Download and unzip to <tt>C:\libsamplerate</tt>:<br>
443
<a href="http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz">
444
<tt>http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz</tt></a></p>
445

    
446
<p>In the MinGW shell:</p>
447
<blockquote><p><tt>cd /C/libsamplerate<br>
448
./configure --prefix=/C/libs<br>
449
make<br>
450
make install</tt></p></blockquote>
451

    
452
<h3>Install libwavpack</h3>
453

    
454
<p>Download and unzip to <tt>C:\libwavpack</tt>:<br>
455
<a href="http://www.wavpack.com/wavpack-4.70.0.tar.bz2">
456
<tt>http://www.wavpack.com/wavpack-4.70.0.tar.bz2</tt></a></p>
457

    
458
<p>Apply the patch <tt>wavpack.pc.in.diff</tt> to <tt>C:\libwavpack\wavpack.pc.in</tt>.<br>
459
Apply the patch <tt>libwavpack-utils.c.diff</tt> to <tt>C:\libwavpack\cli\utils.c</tt>.</p>
460

    
461
<p>In the MinGW shell:</p>
462
<blockquote><p><tt>cd /C/libwavpack<br>
463
./configure --prefix=/C/libs<br>
464
make<br>
465
make install</tt></p></blockquote>
466

    
467
<h3>Install FFmpeg</h3>
468

    
469
<p>Download and unzip latest version to <tt>C:\ffmpeg</tt>:<br>
470
<a href="http://ffmpeg.org/releases/">
471
<tt>http://ffmpeg.org/releases/</tt></a></p>
472

    
473
<p>In the MinGW shell:</p>
474
<blockquote><p><tt>cd /C/ffmpeg<br>
475
./configure --prefix=/C/libs --enable-shared --enable-ffplay --enable-gpl --enable-postproc --enable-nonfree --cpu=i686<br>
476
make<br>
477
make install</tt></p></blockquote>
478

    
479
<p>Fauxdacious Note:&nbsp;  (I think this is the flag list, if it complains about one, then reconfigure without that one).&nbsp;  When trying to get all videos to play (which ended up with SDL being the culprit), I ended up 
480
also fetching the "Shared" and "Dev" versions from here:&nbsp;  <a href="https://ffmpeg.zeranoe.com/builds/">
481
<tt>https://ffmpeg.zeranoe.com/builds/</tt></a> and copying the .a and .dll (and ffplay.exe) files over the ones I compiled into c:\libs\, however, if you get videos playing with ffplay, you can SKIP all this!</p>
482

    
483
<h3>Install Libbinio</h3>
484

    
485
<p>Download and unzip to <tt>C:\libbinio</tt>:<br>
486
<a href="https://sourceforge.net/projects/libbinio/files/latest/download">
487
<tt>https://sourceforge.net/projects/libbinio/files/latest/download</tt></a></p>
488

    
489
<p>In the MinGW shell:</p>
490
<blockquote><p><tt>cd /C/libbinio<br>
491
Edit /C/libbinio/src/binwrap.cpp and ADD "#include &lt;stdio.h&gt;" (see:  <a href="https://github.com/repoforge/rpms/blob/master/specs/libbinio/libbinio-1.4-includes.patch"><tt>https://github.com/repoforge/rpms/blob/master/specs/libbinio/libbinio-1.4-includes.patch</tt></a>)!<br>
492
cp /C/MinGW/share/libtool/config/ltmain.sh .<br>
493
autoreconf<br>
494
./configure --prefix=/C/libs<br>
495
make<br>
496
make install</tt></p></blockquote>
497

    
498
<h3>Install libmms</h3>
499

    
500
<p>Download and unzip to <tt>C:\libmms</tt>:<br>
501
<a href="http://sourceforge.net/projects/libmms/files/libmms/0.6.4/libmms-0.6.4.tar.gz/download">
502
<tt>http://sourceforge.net/projects/libmms/files/libmms/0.6.4/libmms-0.6.4.tar.gz/download</tt></a></p>
503

    
504
<p>Apply the patch <tt>libmms-strndup.diff</tt> (it changes multiple files).</p>
505

    
506
<p>In the MinGW shell:</p>
507
<blockquote><p><tt>cd /C/libmms<br>
508
cp /C/MinGW/share/libtool/config/ltmain.sh .<br>
509
autoreconf<br>
510
./configure --prefix=/C/libs<br>
511
make<br>
512
make install</tt></p></blockquote>
513

    
514
<h3>Install libmodplug</h3>
515

    
516
<p>Download and unzip to <tt>C:\libmodplug</tt>:<br>
517
<a href="http://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.8.5/libmodplug-0.8.8.5.tar.gz/download">
518
<tt>http://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.8.5/libmodplug-0.8.8.5.tar.gz/download</tt></a></p>
519

    
520
<p>In the MinGW shell:</p>
521
<blockquote><p><tt>cd /C/libmodplug<br>
522
./configure --prefix=/C/libs<br>
523
make<br>
524
make install</tt></p></blockquote>
525

    
526
<h3>Install libsidplayfp</h3>
527

    
528
<p>Download and unzip to <tt>C:\libsidplayfp</tt>:<br>
529
<a href="http://sourceforge.net/projects/sidplay-residfp/files/libsidplayfp/1.7/libsidplayfp-1.7.2.tar.gz/download">
530
<tt>http://sourceforge.net/projects/sidplay-residfp/files/libsidplayfp/1.7/libsidplayfp-1.7.2.tar.gz/download</tt></a></p>
531

    
532
<p>In the MinGW shell:</p>
533
<blockquote><p><tt>cd /C/libsidplayfp<br>
534
./configure --prefix=/C/libs<br>
535
make<br>
536
make install</tt></p></blockquote>
537

    
538
<h3>Install FluidSynth</h3>
539

    
540
<p>Download and unzip to <tt>C:\fluidsynth</tt>:<br>
541
<a href="http://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.bz2/download">
542
<tt>http://sourceforge.net/projects/fluidsynth/files/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.bz2/download</tt></a></p>
543

    
544
<p>Apply the patch <tt>fluidsynth.diff</tt> (it changes multiple files).</p>
545

    
546
<p>In the MinGW shell:</p>
547
<blockquote><p><tt>cd /C/fluidsynth<br>
548
./autogen.sh<br>
549
./configure --prefix=/C/libs<br>
550
make<br>
551
make install</tt></p></blockquote>
552

    
553
<h3>Install Fauxdacious</h3>
554

    
555
<p>Download and unzip to <tt>C:\fauxdacious</tt>:<br>
556
<a href="http://phoenixcomm.net/~jturner/">
557
<tt>http://phoenixcomm.net/~jturner/</tt></a></p>
558

    
559
<p>In the MinGW shell:</p>
560
<blockquote><p><tt>cd /C/fauxdacious<br>
561
Fauxdacious Note:&nbsp;  You should make sure that the "-win32.*" versions of the image files are used in /C/fauxdacious/src/images/about-logo.*!</B><br>
562
./configure --prefix=/C/aud --with-buildstamp=Fauxdacious<br>
563
make<br>
564
make install</tt></p></blockquote>
565

    
566
<h3>Install Fauxdacious Plugins</h3>
567

    
568
<p>Download and unzip to <tt>C:\fauxdacious-plugins</tt>:<br>
569
<a href="http://phoenixcomm.net/~jturner/">
570
<tt>http://phoenixcomm.net/~jturner/</tt></a></p>
571

    
572
<p>In the MinGW shell:</p>
573
<blockquote><p><tt>cd /C/fauxdacious-plugins<br>
574
./configure --prefix=/C/aud --with-libsdl=1<br>
575
<B>Fauxdacious NOTE:&nbsp;  You must either edit the file /C/fauxdacious-plugins/src/ffaudio/Makefile and REMOVE "-lX11" from the "LIBS" line -OR- copy the file "Makefile.win32" over the aformentioned Makefile before compiling!</B><br>
576
make<br>
577
make install<br>
578
cd /C/fauxdacious-plugins/src/waveout #(to add the new Windows native audio output plugin)<br>
579
make<br>
580
make install</tt></p></blockquote>
581

    
582
<p>NOTE:&nbsp;  I had to go into Windows Explorer and make the directoriy c:\aud owned by me and give myself "full control" to prevent Windows from making the dll files READONLY and preventing me from recompiling and subsequent "make install"s fail w/"permission denied"!</p>
583
</body>
584
</html>