Commit 35d79008 authored by Mateusz Łukasik's avatar Mateusz Łukasik

Imported Upstream version 3.6.2

parent 9f04ff69
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>
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>
Stephen Sokolow <deitarion@gmail.com>
Ben Tucker <ben@tucker.org>
Tony Vroon <chainsaw@gentoo.org>
Yoshiki Yazawa <yaz@cc.or.rim.jp>
Translators
-----------
Dutch - Tony Vroon
Hungarian - Dvornik László
German - Michael Hanselmann
Matthias Debus
Greek - Kouzinopoulos Haris
Stavros Giannouris
Stathis Kamperis
Italian - Diego Petteno
Japanese - Dai
Finnish - Pauli Virtanen
Matti Hämäläinen
-
Based on:
BMP - beep media player (C) GPL 2003-2005
Authors alphabetically
----------------------
Artem Baguinski <artm@v2.nl>
Edward Brocklesby <ejb@goth.net>
Chong Kai Xiong <descender@phreaker.net>
Milosz Derezynski <m.derezynski@arcor.de>
David Lau <coder_sku@users.sourceforge.net>
Ole Andre Vadla Ravnaas <oleavr@jblinux.net>
Michiel Sikkes <michiel@eyesopened.nl>
Patch Authors
-------------
Andrei Badea
Peter Behroozi
Bernard Blackham
Oliver Blin
David Le Brun
Tomas Bzatek
Liviu Danicel
Jon Dowland
Artur Frysiak
Sebastian Kapfer
Lukas Koberstein
Dan Korostelev
Oliver Lehmann
Jolan Luff
Mike Lundy
Michael Marineau
Tim-Philipp Muller
Julien Portalier
Andrew Ruder
Olivier Samyn
John Spray
Takashi Iwai
Martijn Vernooij
Thierry Vignaud
Translators
-----------
Brazilian Portuguese - Philipi Pinto <philipi@gmx.net>
Breton - Thierry Vignaud <tvignaud@mandrakesoft.com>
Czech - Jan Narovec <jnarovec@students.zcu.cz>
Dutch - Laurens Buhler <masterpe@xs4all.nl>
German - Matthias Debus <psic4t@netbands.de>
Georgian - George Machitidze <giomac@global-erty.net>
Greek - Kouzinopoulos Haris <haris@mpa.gr>
Stavros Giannouris <stavrosg2002@freemail.gr>
Finnish - Pauli Virtanen <pauli.virtanen@hut.fi>
French - David Le Brun <david@dyn-ns.net>
Hindi - Dhananjaya Sharma <dysxhi@yahoo.co.in>
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>
Lithuanian - Rimas Kudelis <rq@akl.lt>
Macedonian - Arangel Angov <ufo@linux.net.mk>
Polish - Jacek Wolszczak <shutdownrunner@o2.pl>
Romanian - Liviu Danicel <liviu.danicel@spymac.com>
Russian - Pavlo Bohmat <bohm@ukr.net>
Dan Korostelev <dan@ats.energo.ru>
Vitaly Lipatov <lav@altlinux.ru>
Maxim Musatov <m1kc@yandex.ru>
Simplified Chinese - Chong Kai Xiong <descender@phreaker.net>
Traditional Chinese - Chao-Hsiung Liao <pesder.liao@msa.hinet.net>
Slovak - Pavel Kanzelsberger <kanzels@zmail.sk>
Spanish - Francisco Javier F. Serrador <serrador@cvs.gnome.org>
Swedish - Martin Persenius <martin@persenius.net>
Ukrainian - Mykola Lynnyk<definer@users.sf.net>
Welsh - Edward Brocklesby <ejb@goth.net>
(Based on XMMS from Rhoslyn Prys <rhoslyn.prys@meddal.org.uk>)
(please tell us if we left your name out)
-
Based on:
XMMS - X Multimedia System (C)1998-2003
Main Programming: Peter Alm
Additional Programming: Håvard Kvålen
Derrik Pates
With Additional Help: Sean Atkinson
Jorn Baayen
James M. Cape
Anders Carlsson (effect plugins)
Chun-Chung Chen (xfont patch)
Tim Ferguson (joystick plugin)
Ben Gertzfield
Vesa Halttunen
Logan Hanks
Eric L. Hernes (FreeBSD patches)
Ville Herva
higway (MMX)
Michael Hipp and others (MPG123 engine)
Olle Hällnäs (compiling fixes)
David Jacoby
Osamu Kayasono (3DNow!)
Lyle B Kempler
J. Nick Koston (MikMod plugin)
Aaron Lehmann
Johan Levin (echo + stereo plugin)
Eric Lindvall
Colin Marquardt
Willem Monsuwe
John Riddoch (Solaris plugin)
Josip Rodin
Pablo Saratxaga (i18n)
Carl van Schaik (pro logic plugin)
Jörg Schuler
Charles Sielski (irman plugin)
Espen Skoglund
Matthieu Sozeau (ALSA plugin)
Kimura Takuhiro (3DNow!)
Zinx Verituse
Ryan Weaver (RPMs among other things)
Chris Wilson
Dave Yearke
Stephan K. Zitz
Default skin: Leonard "Blayde" Tan
Robin Sylvestre (Equalizer and Playlist)
Thomas Nilsson (New titles, and cleanups)
Homepage and Graphics: Thomas Nilsson
Support and Docs: Olle Hällnäs
The buildsystem and framework for installing and managing plugins is:
The build system and framework for installing and managing plugins is:
Copyright (c) 2005-2007 Audacious development team.
Copyright © 2001-2015 Audacious developers
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions, and the following disclaimer.
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions, and the following disclaimer in the
documentation provided with the distribution.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
Neither the name of the author nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This software is provided “as is” and without any warranty, express or
implied. In no event shall the authors be liable for any damages arising
from the use of this software.
------------------------------------------------------------------------------
The plugins themselves are distributed under their own distribution terms,
read the sourcecode for plugin-specific licensing details.
The plugins themselves are distributed under their own distribution terms.
Read the source code for individual copyright holders and licensing details.
dnl Add $1 to CFLAGS and CXXFLAGS if supported
dnl ------------------------------------------
dnl ==========================================
AC_DEFUN([AUD_CHECK_CFLAGS],[
AC_MSG_CHECKING([whether the C/C++ compiler supports $1])
......@@ -15,25 +15,30 @@ AC_DEFUN([AUD_CHECK_CFLAGS],[
])
])
dnl Add $1 to CXXFLAGS if supported
dnl ===============================
AC_DEFUN([AUD_CHECK_CXXFLAGS],[
AC_MSG_CHECKING([whether the C++ compiler supports $1])
AC_LANG_PUSH([C++])
OLDCXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS $1 -Werror"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[return 0;])],[
AC_MSG_RESULT(yes)
CXXFLAGS="$OLDCXXFLAGS $1"
],[
AC_MSG_RESULT(no)
CXXFLAGS="$OLDCXXFLAGS"
])
AC_LANG_POP([C++])
])
dnl **
dnl ** Common checks
dnl **
AC_DEFUN([AUD_COMMON_PROGS], [
dnl Check for C and C++ compilers
dnl =============================
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([AC_C_BIGENDIAN])
AC_REQUIRE([AC_SYS_LARGEFILE])
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -std=gnu99 -ffast-math -Wall -pipe"
CXXFLAGS="$CXXFLAGS -Wall -pipe"
AUD_CHECK_CFLAGS(-Wtype-limits)
fi
dnl Check platform
dnl ==============
......@@ -44,6 +49,7 @@ AC_MSG_CHECKING([operating system type])
HAVE_LINUX=no
HAVE_MSWINDOWS=no
HAVE_DARWIN=no
case "$target" in
*linux*)
......@@ -54,6 +60,10 @@ case "$target" in
AC_MSG_RESULT(Windows)
HAVE_MSWINDOWS=yes
;;
*darwin*)
AC_MSG_RESULT(Darwin)
HAVE_DARWIN=yes
;;
*)
AC_MSG_RESULT(other UNIX)
;;
......@@ -61,6 +71,38 @@ esac
AC_SUBST(HAVE_MSWINDOWS)
AC_SUBST(HAVE_LINUX)
AC_SUBST(HAVE_DARWIN)
dnl Check for C and C++ compilers
dnl =============================
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([AC_C_BIGENDIAN])
AC_REQUIRE([AC_SYS_LARGEFILE])
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -std=gnu99 -ffast-math -Wall -pipe"
if test "x$HAVE_DARWIN" = "xyes"; then
CXXFLAGS="$CXXFLAGS -stdlib=libc++ -std=gnu++11 -ffast-math -Wall -pipe"
LDFLAGS="$LDFLAGS -lc++ -stdlib=libc++"
else
CXXFLAGS="$CXXFLAGS -std=gnu++11 -ffast-math -Wall -pipe"
fi
AUD_CHECK_CFLAGS(-Wtype-limits)
AUD_CHECK_CXXFLAGS(-Woverloaded-virtual)
fi
dnl On Mac, check for Objective-C and -C++ compilers
dnl ================================================
if test "x$HAVE_DARWIN" = "xyes"; then
AC_PROG_OBJC
AC_PROG_OBJCPP
AC_PROG_OBJCXX
AC_PROG_OBJCXXCPP
OBJCXXFLAGS="$OBJCXXFLAGS -stdlib=libc++ -std=c++11"
fi
dnl Enable "-Wl,-z,defs" only on Linux
dnl ==================================
......@@ -74,6 +116,26 @@ if test $HAVE_MSWINDOWS = yes ; then
CFLAGS="$CFLAGS -march=i686"
fi
dnl Byte order
dnl ==========
AC_C_BIGENDIAN([BIGENDIAN=1], [BIGENDIAN=0],
[AC_MSG_ERROR([Unknown machine byte order])],
[AC_MSG_ERROR([Universal builds are not supported, sorry])])
AC_SUBST([BIGENDIAN])
dnl Prevent symbol collisions
dnl =========================
if test "x$HAVE_MSWINDOWS" = "xyes" ; then
EXPORT="__declspec(dllexport)"
elif test "x$GCC" = "xyes" ; then
CFLAGS="$CFLAGS -fvisibility=hidden"
CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
EXPORT="__attribute__((visibility(\"default\")))"
else
AC_MSG_ERROR([Unknown syntax for EXPORT keyword])
fi
AC_DEFINE_UNQUOTED([EXPORT], [$EXPORT], [Define to compiler syntax for public symbols])
dnl Checks for various programs
dnl ===========================
AC_PROG_LN_S
......@@ -93,7 +155,20 @@ dnl =======================
PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.32)
PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= 2.32)
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.4)
dnl GTK+ support
dnl =============
AC_ARG_ENABLE(gtk,
AS_HELP_STRING(--disable-gtk, [Disable GTK+ support (default=enabled)]),
USE_GTK=$enableval, USE_GTK=yes)
if test $USE_GTK = yes ; then
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.24)
AC_DEFINE(USE_GTK, 1, [Define if GTK+ support enabled])
fi
AC_SUBST(USE_GTK)
if test $HAVE_MSWINDOWS = yes ; then
PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.32)
......@@ -110,4 +185,23 @@ AC_SUBST(GMODULE_LIBS)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
dnl Qt support
dnl ==========
AC_ARG_ENABLE(qt,
AS_HELP_STRING(--enable-qt, [Enable Qt support (default=disabled)]),
USE_QT=$enableval, USE_QT=no)
if test $USE_QT = yes ; then
PKG_CHECK_MODULES([QT], [Qt5Core Qt5Gui Qt5Widgets])
AC_DEFINE(USE_QT, 1, [Define if Qt support enabled])
# needed if Qt was built with -reduce-relocations
QT_CFLAGS="$QT_CFLAGS -fPIC"
fi
AC_SUBST(USE_QT)
AC_SUBST(QT_CFLAGS)
AC_SUBST(QT_LIBS)
])
......@@ -7,6 +7,9 @@
language is requested. */
#undef ENABLE_NLS
/* Define to compiler syntax for public symbols */
#undef EXPORT
/* Define if FLAC output part should be built */
#undef FILEWRITER_FLAC
......@@ -28,6 +31,9 @@
*/
#undef HAVE_DCGETTEXT
/* Define if using FFmpeg */
#undef HAVE_FFMPEG
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
......@@ -37,18 +43,15 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if using libav */
#undef HAVE_LIBAV
/* Define to 1 if you have the <lirc/lirc_client.h> header file. */
#undef HAVE_LIRC_LIRC_CLIENT_H
/* Define to 1 if you have the <memory.h> header file. */