Commit b0ae81fa authored by Cyril Lavier's avatar Cyril Lavier

Imported Upstream version 3.2

parent 44c8fe77
Audacious (C) GPL 2005-2008
Audacious (C) GPL 2005-2009
Authors listed alphabetically, by last name:
--------------------------------------------
George Averill <nhjm449@gmail.com>
Kieran Clancy <clancy.kieran+audacious@gmail.com>
Michael Färber <0102@gmx.at>
Matti Hämäläinen <ccr@tnsp.org>
Giacomo Lozito <james@develia.org>
William Pitcock <nenolod@nenolod.net>
Tomasz Moń <desowin@gmail.com>
William Pitcock <nenolod@sacredspiral.co.uk>
Derek Pomery <nemo@m8y.org>
Mohammed Sameer <msameer@foolab.org>
Jonathan Schleifer <js-audacious@webkeks.org>
Andrew O. Shadoura <bugzilla@tut.by>
Aaron Sheldon <asheldon at uiuc.edu>
Stephen Sokolow <deitarion@gmail.com>
Ben Tucker <ben@tucker.org>
Tony Vroon <chainsaw@gentoo.org>
Yoshiki Yazawa <yaz@cc.or.rim.jp>
......@@ -21,7 +22,7 @@ Translators
-----------
Dutch - Tony Vroon
Hungarian - Laszlo Dvornik
Hungarian - Dvornik László
German - Michael Hanselmann
Matthias Debus
Greek - Kouzinopoulos Haris
......@@ -29,6 +30,8 @@ Greek - Kouzinopoulos Haris
Stathis Kamperis
Italian - Diego Petteno
Japanese - Dai
Finnish - Pauli Virtanen
Matti Hämäläinen
-
......@@ -89,7 +92,7 @@ Greek - Kouzinopoulos Haris <haris@mpa.gr>
Finnish - Pauli Virtanen <pauli.virtanen@hut.fi>
French - David Le Brun <david@dyn-ns.net>
Hindi - Dhananjaya Sharma <dysxhi@yahoo.co.in>
Hungarian - Laszlo Dvornik <dvornik@gnome.hu>
Hungarian - Dvornik László <dvornik@gnome.hu>
Italian - Alessio D'Ascanio <otaku@fastwebnet.it>
Japanese - Takeshi Aihana <aihana@gnome.gr.jp>
Korean - DongCheon Park <dcpark@kaist.ac.kr>
......
This diff is collapsed.
The atheme.org mercurial repository is available for anonymous read-only
access.
To retrieve the audacious-plugins development branch from hg.atheme.org, do:
$ hg clone http://hg.atheme.org/audacious-plugins/ audacious-plugins-devel
To retrieve the audacious-plugins stable branch from hg.atheme.org, do:
$ hg clone http://hg.atheme.org/release/audacious-plugins-$VERSION/
Where $VERSION is the stable major version, for example the latest
fixes and updates to 1.5-series of plugins would be in:
$ hg clone http://hg.atheme.org/release/audacious-plugins-1.5/
dnl ** ADD_PKG_REQUIRES([requirement])
dnl ** Adds a dependency to package's pkg-config file.
AC_DEFUN([ADD_PC_REQUIRES], [
if test "x$PC_REQUIRES" = "x"; then
PC_REQUIRES="$1"
else
PC_REQUIRES="$PC_REQUIRES, $1"
fi
AC_SUBST([PC_REQUIRES])
])
dnl ** AUD_CHECK_MODULE([define name], [module], [version required],
dnl ** [informational name], [additional error message])
dnl **
......@@ -21,7 +8,6 @@ dnl **
dnl ** AUD_CHECK_MODULE([GLIB], [gtk+-2.0], [>= 2.8.0], [Gtk+2], [See http://www.gtk.org/])
AC_DEFUN([AUD_CHECK_MODULE], [
PKG_CHECK_MODULES([$1], [$2 $3], [
ADD_PC_REQUIRES([$2 $3])
],[
PKG_CHECK_EXISTS([$2], [
cv_pkg_version=`$PKG_CONFIG --modversion "$2" 2>/dev/null`
......@@ -142,6 +128,23 @@ define([aud_get_plugin_dirs_defined],[1])dnl
])dnl
dnl Add $1 to CFLAGS and CXXFLAGS if supported
dnl ------------------------------------------
AC_DEFUN([AUD_CHECK_CFLAGS],[
AC_MSG_CHECKING([whether the C/C++ compiler supports $1])
OLDCFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $1 -Werror"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[return 0;])],[
AC_MSG_RESULT(yes)
CFLAGS="$OLDCFLAGS $1"
CXXFLAGS="$CXXFLAGS $1"
],[
AC_MSG_RESULT(no)
CFLAGS="$OLDCFLAGS"
])
])
dnl **
dnl ** Common checks
......@@ -150,20 +153,34 @@ AC_DEFUN([AUD_COMMON_PROGS], [
dnl Check for C and C++ compilers
dnl =============================
AUD_CHECK_GNU_MAKE
AC_PROG_CC
AC_PROG_CXX
AM_PROG_AS
AC_ISC_POSIX
AC_C_BIGENDIAN
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([AM_PROG_AS])
AC_REQUIRE([AC_C_BIGENDIAN])
AC_REQUIRE([AC_SYS_LARGEFILE])
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -Wall -pipe"
CXXFLAGS="$CXXFLAGS -pipe -Wall"
CFLAGS="$CFLAGS -std=gnu99 -Wall -pipe"
CXXFLAGS="$CXXFLAGS -Wall -pipe"
AUD_CHECK_CFLAGS(-Wtype-limits)
fi
dnl Enable "-Wl,-z,defs" only on Linux
dnl ==============================
AC_MSG_CHECKING([for Linux])
case "$target" in
*linux*)
AC_MSG_RESULT([yes])
LDFLAGS="$LDFLAGS -Wl,-z,defs"
;;
*)
AC_MSG_RESULT([no])
;;
esac
dnl Checks for various programs
dnl ===========================
AUD_CHECK_GNU_MAKE
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PATH_PROG([RM], [rm])
......@@ -172,78 +189,14 @@ AC_PATH_PROG([CP], [cp])
AC_PATH_PROG([AR], [ar])
AC_PATH_PROG([TR], [tr])
AC_PATH_PROG([RANLIB], [ranlib])
AC_PATH_PROG([WINDRES], [windres])
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])
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.4.0], [libmowgli],
[http://www.atheme.org/projects/mowgli.shtml])
dnl Check for libmcs
dnl ================
AUD_CHECK_MODULE([LIBMCS], [libmcs], [>= 0.7], [libmcs],
[http://www.atheme.org/projects/mcs.shtml])
dnl SSE2 support
dnl ============
AUD_ARG_ENABLE([sse2], [yes], [SSE2 support],
[
AC_MSG_CHECKING([SSE2 support])
aud_my_save_CFLAGS="$CFLAGS"
CFLAGS="-msse2"
AC_TRY_RUN([
#include <emmintrin.h>
int main()
{
_mm_setzero_pd();
asm volatile("xorpd %xmm0,%xmm0\n\t");
return 0;
}
],[
AC_MSG_RESULT([yes])
AC_DEFINE([HAVE_SSE2], 1, [Define to 1 if your system has SSE2 support])
SIMD_CFLAGS="-msse2"
],[
AC_MSG_RESULT([no])
enable_sse2="no"
])
AC_SUBST([SIMD_CFLAGS])
CFLAGS="$aud_my_save_CFLAGS"
])
dnl AltiVec support
dnl ===============
AUD_ARG_ENABLE([altivec], [yes], [AltiVec support],
[
AC_CHECK_HEADERS([altivec.h],
[
AC_DEFINE([HAVE_ALTIVEC], 1, [Define to 1 if your system has AltiVec.])
AC_DEFINE([HAVE_ALTIVEC_H], 1, [Define to 1 if your system has an altivec.h file.])
AC_DEFINE([ARCH_POWERPC], 1, [Define to 1 if your system is a PowerPC.])
case $target in
*-apple-*)
SIMD_CFLAGS="-mpim-altivec"
;;
*)
SIMD_CFLAGS="-maltivec"
;;
esac
AC_SUBST([SIMD_CFLAGS])
],[
enable_altivec="no"
])
])
AUD_CHECK_MODULE([GLIB], [glib-2.0], [>= 2.16], [Glib2])
AUD_CHECK_MODULE([GTHREAD], [gthread-2.0], [>= 2.16], [GThread])
AUD_CHECK_MODULE([PANGO], [pango], [>= 1.20], [Pango])
AUD_CHECK_MODULE([CAIRO], [cairo], [>= 1.6], [Cairo])
])
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
......@@ -3,21 +3,6 @@
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
/* Define to 1 if your system is a PowerPC. */
#undef ARCH_POWERPC
/* Config dir to use */
#undef BMP_RCPATH
/* Path to OSS DSP, really just a data pipe, default is /dev/dsp. */
#undef DEV_DSP
/* Path to OSS mixer, default is /dev/mixer. */
#undef DEV_MIXER
/* Define to disable per user plugin directory */
#undef DISABLE_USER_PLUGIN_DIR
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#undef ENABLE_NLS
......@@ -31,33 +16,23 @@
/* Define if Vorbis output part should be built */
#undef FILEWRITER_VORBIS
/* 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 MacOS X function CFLocaleCopyCurrent in the
CoreFoundation framework. */
#undef HAVE_CFLOCALECOPYCURRENT
/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
#undef HAVE_CARBON_CARBON_H
/* Define to 1 if you have the <CoreServices/CoreServices.h> header file. */
#undef HAVE_CORESERVICES_CORESERVICES_H
/* 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.
*/
#undef HAVE_DCGETTEXT
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define to 1 if you have the <fnmatch.h> header file. */
#undef HAVE_FNMATCH_H
/* Define to 1 if you have the `fcntl' function. */
#undef HAVE_FCNTL
/* Define to 1 if you have the <fts.h> header file. */
#undef HAVE_FTS_H
/* Define to 1 if you have the `getmntinfo' function. */
#undef HAVE_GETMNTINFO
/* Define to 1 if you have the `fsync' function. */
#undef HAVE_FSYNC
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
......@@ -65,26 +40,14 @@
/* Define if you have HardSID for libSIDPlay 2 */
#undef HAVE_HARDSID_BUILDER
/* Define if you have the iconv() function. */
/* Define if you have the iconv() function and it works. */
#undef HAVE_ICONV
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* indidaces if libmtp 0.3.0 is installed */
#undef HAVE_LIBMTP_030
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
/* Define to 1 if you have the <linux/joystick.h> header file. */
#undef HAVE_LINUX_JOYSTICK_H
/* Define to 1 if you have the `lrintf' function. */
#undef HAVE_LRINTF