Commit 95ef6905 authored by Bilal Akhtar's avatar Bilal Akhtar

Imported Upstream version 2.5.0

parent 2debbc92
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -13,7 +13,7 @@ install-extra:
${INSTALL_FAILED}; \
fi; \
done
for i in audacious2.desktop; do \
for i in audacious.desktop; do \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${datadir}/applications && ${INSTALL} -m 644 $$i ${DESTDIR}${datadir}/applications/$$i; then \
${INSTALL_OK}; \
......@@ -35,7 +35,7 @@ uninstall-extra:
fi \
fi; \
done
for i in audacious2.desktop; do \
for i in audacious.desktop; do \
if test -f ${DESTDIR}${datadir}/applications/$$i; then \
if rm -f ${DESTDIR}${datadir}/applications/$$i; then \
${DELETE_OK}; \
......
......@@ -177,14 +177,20 @@ dnl Check for Gtk+/GLib and pals
dnl ============================
AUD_CHECK_MODULE([GLIB], [glib-2.0], [>= 2.12.0], [Glib2])
AUD_CHECK_MODULE([GTHREAD], [gthread-2.0], [>= 2.12.0], [gthread-2.0])
AUD_CHECK_MODULE([GTK], [gtk+-2.0], [>= 2.8.0], [Gtk+2])
if test $use_gtk3 = yes ; then
AUD_CHECK_MODULE([GTK], [gtk+-3.0], [>= 3.0.0], [Gtk+3])
else
AUD_CHECK_MODULE([GTK], [gtk+-2.0], [>= 2.8.0], [Gtk+2])
fi
AUD_CHECK_MODULE([PANGO], [pango], [>= 1.8.0], [Pango])
AUD_CHECK_MODULE([CAIRO], [cairo], [>= 1.2.4], [Cairo])
dnl Check for libmowgli
dnl ===================
AUD_CHECK_MODULE([MOWGLI], [libmowgli], [>= 0.7.0], [libmowgli],
AUD_CHECK_MODULE([MOWGLI], [libmowgli], [>= 0.9], [libmowgli],
[http://www.atheme.org/projects/mowgli.shtml])
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -33,7 +33,7 @@ Icon=audacious
Categories=AudioVideo;Audio;Player;GTK;
Exec=audacious2 %U
TryExec=audacious2
Exec=audacious %U
TryExec=audacious
Terminal=false
MimeType=application/x-ogg;audio/midi;audio/mp3;audio/mpeg;audio/mpegurl;audio/ogg;audio/prs.sid;audio/x-flac;audio/x-it;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-s3m;audio/x-scpls;audio/x-stm;audio/x-wav;audio/x-xm;application/ogg;audio/x-vorbis+ogg;application/xspf+xml;application/x-cue;
MimeType=application/ogg;application/x-cue;application/x-ogg;application/xspf+xml;audio/midi;audio/mp3;audio/mpeg;audio/mpegurl;audio/ogg;audio/prs.sid;audio/x-flac;audio/x-it;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-s3m;audio/x-scpls;audio/x-stm;audio/x-vorbis+ogg;audio/x-wav;audio/x-xm;x-content/audio-cdda;
This diff is collapsed.
......@@ -6,20 +6,9 @@
/* Define to 1 if your system is a PowerPC. */
#undef ARCH_POWERPC
/* Location of the desktop file */
#undef AUDACIOUS_DESKTOP_FILE
/* Build stamp */
#undef BUILDSTAMP
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
#undef CRAY_STACKSEG_END
/* Define to 1 if using `alloca.c'. */
#undef C_ALLOCA
/* Location of D-Bus services directory */
#undef DBUS_SERVICES_DIR
......@@ -30,21 +19,19 @@
language is requested. */
#undef ENABLE_NLS
/* Define to 1 if you have `alloca', as a function or macro. */
#undef HAVE_ALLOCA
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
#undef HAVE_ALLOCA_H
/* Define to 1 if your system has AltiVec. */
#undef HAVE_ALTIVEC
/* Define to 1 if your system has an altivec.h file. */
#undef HAVE_ALTIVEC_H
/* Define to 1 if you have the <argz.h> header file. */
#undef HAVE_ARGZ_H
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
CoreFoundation framework. */
#undef HAVE_CFLOCALECOPYCURRENT
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
the CoreFoundation framework. */
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
/* Define if the GNU dcgettext() function is already present or preinstalled.
*/
......@@ -56,194 +43,63 @@
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define to 1 if you have the `feof_unlocked' function. */
#undef HAVE_FEOF_UNLOCKED
/* Define to 1 if you have the `fgets_unlocked' function. */
#undef HAVE_FGETS_UNLOCKED
/* Define to 1 if you have the <fnmatch.h> header file. */
#undef HAVE_FNMATCH_H
/* Define to 1 if you have the <fts.h> header file. */
#undef HAVE_FTS_H
/* Define to 1 if you have the `getcwd' function. */
#undef HAVE_GETCWD
/* Define to 1 if you have the `getc_unlocked' function. */
#undef HAVE_GETC_UNLOCKED
/* Define to 1 if you have the `getegid' function. */
#undef HAVE_GETEGID
/* Define to 1 if you have the `geteuid' function. */
#undef HAVE_GETEUID
/* Define to 1 if you have the `getgid' function. */
#undef HAVE_GETGID
/* Define to 1 if you have the `getmntinfo' function. */
#undef HAVE_GETMNTINFO
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define to 1 if you have the `getuid' function. */
#undef HAVE_GETUID
/* Define if you have the iconv() function. */
/* Define if you have the iconv() function and it works. */
#undef HAVE_ICONV
/* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
declares uintmax_t. */
#undef HAVE_INTTYPES_H_WITH_UINTMAX
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#undef HAVE_LANGINFO_CODESET
/* Define if your <locale.h> file defines LC_MESSAGES. */
#undef HAVE_LC_MESSAGES
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
/* Define to 1 if you have the `lrintf' function. */
#undef HAVE_LRINTF
/* Define to 1 if you have the `lstat' function. */
#undef HAVE_LSTAT
/* Define to 1 if you have the <malloc.h> header file. */
#undef HAVE_MALLOC_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `mempcpy' function. */
#undef HAVE_MEMPCPY
/* Define to 1 if you have the `mkdtemp' function. */
#undef HAVE_MKDTEMP
/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP
/* Define to 1 if you have the `munmap' function. */
#undef HAVE_MUNMAP
/* Define to 1 if you have the <nl_types.h> header file. */
#undef HAVE_NL_TYPES_H
/* Define to 1 if you have the <regex.h> header file. */
#undef HAVE_REGEX_H
/* Define to 1 if you have the `putenv' function. */
#undef HAVE_PUTENV
/* Define to 1 if you have the <rxposix.h> header file. */
#undef HAVE_RXPOSIX_H
/* Define to 1 if you have the `setenv' function. */
#undef HAVE_SETENV
/* Define to 1 if you have the <rx/rxposix.h> header file. */
#undef HAVE_RX_RXPOSIX_H
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE
/* Define to 1 if you have the `signalfd' function. */
#undef HAVE_SIGNALFD
/* Define to 1 if you have the `sigwait' function. */
#undef HAVE_SIGWAIT
/* Define to 1 if your system has SSE2 support */
#undef HAVE_SSE2
/* Define to 1 if you have the `statvfs' function. */
#undef HAVE_STATVFS
/* Define to 1 if you have the <stddef.h> header file. */
#undef HAVE_STDDEF_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
uintmax_t. */
#undef HAVE_STDINT_H_WITH_UINTMAX
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the `stpcpy' function. */
#undef HAVE_STPCPY
/* Define to 1 if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define to 1 if you have the `strdup' function. */
#undef HAVE_STRDUP
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the `strtoul' function. */
#undef HAVE_STRTOUL
/* Define to 1 if you have the <sys/errno.h> header file. */
#undef HAVE_SYS_ERRNO_H
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define to 1 if you have the <sys/signalfd.h> header file. */
#undef HAVE_SYS_SIGNALFD_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the `tsearch' function. */
#undef HAVE_TSEARCH
/* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
#undef HAVE_UINTMAX_T
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have the unsigned long long type. */
#undef HAVE_UNSIGNED_LONG_LONG
/* Define to 1 if you have the <wchar.h> header file. */
#undef HAVE_WCHAR_H
/* Define to 1 if you have the `__argz_count' function. */
#undef HAVE___ARGZ_COUNT
/* Define to 1 if you have the `__argz_next' function. */
#undef HAVE___ARGZ_NEXT
/* Define to 1 if you have the `__argz_stringify' function. */
#undef HAVE___ARGZ_STRINGIFY
/* Define to 1 if you have the `__fsetlocking' function. */
#undef HAVE___FSETLOCKING
/* Define as const if the declaration of iconv() needs const. */
#undef ICONV_CONST
/* Define if integer division by zero raises signal SIGFPE. */
#undef INTDIV0_RAISES_SIGFPE
/* Name of package */
#undef PACKAGE
......@@ -265,20 +121,9 @@
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
#undef PRI_MACROS_BROKEN
/* Define the shared module suffix extension on your platform. */
#undef SHARED_SUFFIX
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at runtime.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
......@@ -291,7 +136,7 @@
/* Define if D-Bus support enabled */
#undef USE_DBUS
/* Define if session management should be used. */
/* Define if session management should be used */
#undef USE_EGGSM
/* If this macro is defined, use GNU regex library. */
......@@ -349,22 +194,3 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#undef inline
#endif
/* Define to `long int' if <sys/types.h> does not define. */
#undef off_t
/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t
/* Define to unsigned long or unsigned long long if <stdint.h> and
<inttypes.h> don't define. */
#undef uintmax_t
This diff is collapsed.
......@@ -6,8 +6,8 @@ dnl Require autoconf 2.59 or later
AC_PREREQ([2.59])
dnl Initialize
AC_INIT([audacious], [2.4.4], [bugs+audacious@atheme.org])
AC_COPYRIGHT([(C) 2005-2011 Audacious Development Team])
AC_INIT([audacious], [2.5.0])
AC_COPYRIGHT([(C) 2005-2011 Audacious Team])
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AC_GNU_SOURCE
......@@ -27,6 +27,7 @@ AC_SUBST([VERSION], [AC_PACKAGE_VERSION])
AC_DEFINE_UNQUOTED([PACKAGE], "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED([VERSION], "$VERSION", [Version number of package])
BUILDSYS_INIT
BUILDSYS_PROG_IMPLIB
BUILDSYS_SHARED_LIB
IMPLIB_LIBS=""
......@@ -45,6 +46,14 @@ dnl Large file support
dnl ==================
CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
dnl Activation of text console (MS-Windows ONLY)
dnl ============================================
AC_ARG_ENABLE([text-console],
[AS_HELP_STRING([--enable-text-console],[Enable text console for MS-Windows hosts])],
[use_text_console=$withval],
[use_text_console=no]
)
dnl Plugin stuff
dnl ========================
SHARED_SUFFIX="$PLUGIN_SUFFIX"
......@@ -52,10 +61,16 @@ AC_SUBST([SHARED_SUFFIX])
AC_DEFINE_UNQUOTED([SHARED_SUFFIX], "${SHARED_SUFFIX}",
[Define the shared module suffix extension on your platform.])
AC_MSG_CHECKING([if you are running Apple-GCC])
AC_MSG_CHECKING([for Windows or Macintosh])
case "$target" in
*-apple-*)
AC_MSG_RESULT([yes, sorry you poor bastard])
*mingw*)
AC_MSG_RESULT([Windows])
if test "x$use_text_console" = "xno"; then
LDFLAGS="$LDFLAGS -Wl,-subsystem,windows"
fi
;;
*apple*)
AC_MSG_RESULT([Macintosh])
LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework Carbon"
;;
*)
......@@ -63,11 +78,9 @@ case "$target" in
;;
esac
dnl GNU gettext
dnl ===========
AM_GNU_GETTEXT
AM_GNU_GETTEXT_VERSION([0.14.0])
AM_GNU_GETTEXT([external])
if test "$MSGFMT" = ":" ; then
AC_MSG_ERROR([msgfmt was not found! You may need to install gettext.])
......@@ -76,13 +89,18 @@ fi
dnl Checks common for core and plugins
dnl ==================================
AC_ARG_ENABLE([gtk3],
[AS_HELP_STRING([--enable-gtk3], [Use GTK3 instead of GTK2])],
[use_gtk3=yes], [use_gtk3=no])
AUD_COMMON_PROGS
dnl Check for headers and functions
dnl ===============================
AC_CHECK_HEADERS([unistd.h fcntl.h sys/ioctl.h fnmatch.h limits.h wchar.h fts.h execinfo.h sys/signalfd.h sys/errno.h])
AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul lrintf signalfd lstat])
AC_CHECK_HEADERS([unistd.h fcntl.h limits.h fts.h execinfo.h sys/errno.h regex.h rxposix.h rx/rxposix.h])
AC_CHECK_FUNCS([sigwait])
### ---------------------------------------------------------------------------
......@@ -156,10 +174,16 @@ dnl regex support (gnu/oniguruma/pcre)
dnl ==================================
REGEX_LIBS=
REGEX_CFLAGS=
regex_selected=
AC_ARG_WITH([regexlib],
[AS_HELP_STRING([--with-regexlib[=gnu/oniguruma/pcre]],[Use the chosen regex library (def: gnu)])],
[
case $withval in
[regex_selected=$withval],
[regex_selected=gnu]
)
case $regex_selected in
pcre)
AUD_CHECK_MODULE([LIBPCRE], [libpcre], [>= 6.7], [PCRE])
AC_DEFINE([USE_REGEX_PCRE], 1, [If this macro is defined, use PCRE regex library.])
......@@ -177,26 +201,47 @@ case $withval in
;;
*)
AC_DEFINE([USE_REGEX_GNU], 1, [If this macro is defined, use GNU regex library.])
AC_CHECK_LIB(c, regcomp, REGEX_LIBS="-lc",
[AC_CHECK_LIB(regex, regcomp, REGEX_LIBS="-lregex",
[AC_CHECK_LIB(rx, regcomp, REGEX_LIBS="-lrx",
AC_MSG_ERROR([Cannot find GNU regex library.])
)]
)]
)
;;
esac
],[
AC_DEFINE([USE_REGEX_GNU], 1, [If this macro is defined, use GNU regex library.])
])
AC_MSG_CHECKING([regex library type])
AC_MSG_RESULT($regex_selected)
AC_SUBST([REGEX_LIBS])
AC_SUBST([REGEX_CFLAGS])
### ---------------------------------------------------------------------------
dnl Pthread support
dnl ===============
PTHREAD_LIBS=
PTHREAD_CFLAGS=
AC_CHECK_LIB(pthread, pthread_create, PTHREAD_LIBS="-lpthread",
[AC_CHECK_LIB(pthreads, pthread_create, PTHREAD_LIBS="-lpthreads",
[AC_CHECK_LIB(pthreadGC2, pthread_create, PTHREAD_LIBS="-lpthreadGC2")]
)]
)
AC_SUBST([PTHREAD_LIBS])
AC_SUBST([PTHREAD_CFLAGS])
### ---------------------------------------------------------------------------
dnl Session management support
dnl ==========================
AS_AC_EXPAND([desktop_file], "${datadir}/applications/audacious2.desktop")
AC_DEFINE_UNQUOTED([AUDACIOUS_DESKTOP_FILE], "${desktop_file}", [Location of the desktop file])
AUD_ARG_ENABLE([sm], [yes],
[session management],
[
PKG_CHECK_MODULES([SM], [sm >= 1.0], [
AC_DEFINE([USE_EGGSM], 1, [Define if session management should be used.])
enable_sm="yes"
],[
enable_sm="no"
......@@ -211,7 +256,15 @@ AUD_ARG_ENABLE([sm], [yes],
AC_SUBST([ICE_CFLAGS])
AC_SUBST([ICE_LIBS])
PKG_CHECK_MODULES(GLIB214, glib-2.0 >= 2.14, enable_sm=$enable_sm,
enable_sm=no)
if test $enable_sm = yes ; then
AC_DEFINE(USE_EGGSM, 1, Define if session management should be used)
fi
])
AUD_CONDITIONAL([USE_EGGSM], [enable_sm])
### ---------------------------------------------------------------------------
......@@ -303,7 +356,13 @@ fi
localedir="$datadir/locale"
AC_SUBST([localedir])
AUDACIOUS_DEFINES="$CFLAGS -DDATA_DIR=\\\"$datadir/audacious\\\" -DPLUGIN_DIR=\\\"$plugindir\\\" -DPLUGINSUBS=$pluginsubs -DLOCALEDIR=\\\"$localedir\\\""
AUDACIOUS_DEFINES="-DPLUGINSUBS=$pluginsubs"
AUDACIOUS_DEFINES="$AUDACIOUS_DEFINES -DHARDCODE_BINDIR=\\\"$bindir\\\""
AUDACIOUS_DEFINES="$AUDACIOUS_DEFINES -DHARDCODE_DATADIR=\\\"$datadir/audacious\\\""
AUDACIOUS_DEFINES="$AUDACIOUS_DEFINES -DHARDCODE_PLUGINDIR=\\\"$plugindir\\\""
AUDACIOUS_DEFINES="$AUDACIOUS_DEFINES -DHARDCODE_LOCALEDIR=\\\"$localedir\\\""
AUDACIOUS_DEFINES="$AUDACIOUS_DEFINES -DHARDCODE_DESKTOPFILE=\\\"${datadir}/applications/audacious.desktop\\\""
AUDACIOUS_DEFINES="$AUDACIOUS_DEFINES -DHARDCODE_ICONFILE=\\\"${datadir}/pixmaps/audacious.png\\\""
AC_SUBST([AUDACIOUS_DEFINES])
......@@ -315,8 +374,8 @@ AC_CONFIG_FILES([
audclient.pc
buildsys.mk
extra.mk
man/audtool2.1
man/audacious2.1
man/audtool.1
man/audacious.1
])
BUILDSYS_TOUCH_DEPS
......
{\rtf1\ansi\fs24
{\b Notes for Building Audacious on Windows}
\par
\par {John Lindgren}
\par {April 5, 2011}
\par
\par {This is not intended to be a complete set of instructions, but merely an outline. Use at your own risk, etc., etc.}
\par
\par {Several patch files should accompany this document.}
\par
\par {\ul Install MinGW}
\par
\par {Download and run:}
\par {\fs20 https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110316/mingw-get-inst-20110316.exe/download}
\par
\par {When prompted, use these options:}
\par {\fs20 Use pre-packaged repository catalogues}
\par {\fs20 C++ compiler}
\par {\fs20 MinGW Developer Toolkit}
\par
\par {Copy }{\fs20 C:\\MinGW\\lib\\libiconv.*}{ to }{\fs20 C:\\MinGW\\msys\\1.0\\lib}{.}
\par {Apply the patch }{\fs20 libintl.h.diff}{ to }{\fs20 C:\\MinGW\\include\\libintl.h}{.}
\par
\par {\ul Install GTK+}
\par
\par {Download and unzip to }{\fs20 C:\\GTK}{:}
\par {\fs20 http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-bundle_2.16.5-20090731_win32.zip}
\par
\par {This is the last version to support Windows 2000. If you only care about XP or later, you can use a newer version.}
\par
\par {Copy }{\fs20 C:\\GTK\\share\\themes\\MS-Windows\\gtk-2.0\\gtkrc}{ to }{\fs20 C:\\GTK\\etc\\gtk-2.0}{. Apply the patch }{\fs20 gtkrc.diff}{.}
\par {Copy }{\fs20 C:\\GTK\\share\\aclocal\\pkg.m4}{ to }{\fs20 C:\\MinGW\\share\\aclocal}{.}
\par
\par {\ul Install SDL}
\par
\par {Download and unzip to }{\fs20 C:\\SDL}{:}
\par {\fs20 http://www.libsdl.org/release/SDL-1.2.14-win32.zip}
\par {\fs20 http://www.libsdl.org/release/SDL-devel-1.2.14-mingw32.tar.gz}
\par
\par {Apply the patch }{\fs20 sdl-config.diff}{ to }{\fs20 C:\\SDL\\bin\\sdl-config}{.}
\par {Copy }{\fs20 C:\\SDL\\share\\aclocal\\sdl.m4}{ to }{\fs20 C:\\MinGW\\share\\aclocal}{.}
\par
\par {\ul Set up system paths}
\par
\par {Under }{\fs20 My Computer -> Properties -> Advanced -> Environment Variables}{, set:}
\par {\fs20 PATH=C:\\MinGW\\bin;C:\\MinGW\\msys\\1.0\\bin;C:\\GTK\\bin;C:\\SDL\\bin;C:\\aud\\bin}
\par {\fs20 PKG_CONFIG_PATH=/C/GTK/lib/pkgconfig:/C/aud/lib/pkgconfig}
\par {\fs20 C_INCLUDE_PATH=/C/GTK/include:/C/aud/include}
\par {\fs20 CPLUS_INCLUDE_PATH=/C/GTK/include:/C/aud/include}
\par {\fs20 LIBRARY_PATH=/C/GTK/lib:/C/aud/lib}
\par
\par {\ul Install libxml}
\par
\par {Download and unzip to C:\\aud:}
\par {\fs20 http://sourceforge.net/projects/mingw/files/MSYS/libxml2/libxml2-2.7.6-1/libxml2-2.7.6-1-msys-1.0.13-dev.tar.lzma/download}
\par {\fs20 http://sourceforge.net/projects/mingw/files/MSYS/libxml2/libxml2-2.7.6-1/libxml2-2.7.6-1-msys-1.0.13-dll-2.tar.lzma/download}
\par
\par {Apply the patch }{\fs20 xml2-config.diff}{ to }{\fs20 C:\\aud\\bin\\xml2-config}{.}
\par
\par {\ul Install regex}
\par
\par {Download and unzip to }{\fs20 C:\\aud}{:}
\par {\fs20 http://sourceforge.net/projects/mingw/files/UserContributed/regex/mingw-regex-2.5.1/mingw-libgnurx-2.5.1-dev.tar.gz/download}
\par {\fs20 http://sourceforge.net/projects/mingw/files/UserContributed/regex/mingw-regex-2.5.1/mingw-libgnurx-2.5.1-bin.tar.gz/download}
\par
\par {\ul Install libmowgli}
\par
\par {Download and unzip to }{\fs20 C:\\libmowgli}{:}
\par {\fs20 http://distfiles.atheme.org/libmowgli-0.9.50.tar.bz2}
\par
\par {In the MinGW shell:}
\par {\fs20 cd /C/libmowgli}
\par {\fs20 ./configure --prefix=/C/aud}
\par {\fs20 make}
\par {\fs20 make install}
\par
\par {\ul Install libmcs}
\par
\par {Download and unzip to }{\fs20 C:\\libmcs}{:}
\par {\fs20 http://hg.atheme.org/libmcs/libmcs/archive/tip.tar.bz2}
\par
\par {In the MinGW shell:}
\par {\fs20 cd /C/libmcs}
\par {\fs20 ./autogen.sh}
\par {\fs20 ./configure --prefix=/C/aud}
\par {\fs20 make}
\par {\fs20 make install}
\par
\par {\ul Install libfaad}
\par
\par {Download and unzip to }{\fs20 C:\\libfaad}{:}
\par {\fs20 http://sourceforge.net/projects/faac/files/faad2-src/faad2-2.7/faad2-2.7.tar.bz2/download}
\par
\par {Apply the patch }{\fs20 libfaad-main.c.diff}{ to }{\fs20 C:\\libfaad\\frontend\\main.c}{.}
\par
\par {In the MinGW shell:}
\par {\fs20 cd /C/libfaad}
\par {\fs20 ./configure --prefix=/C/aud}
\par {\fs20 make}
\par {\fs20 make install}