Commit 05ba4d56 authored by Alessio Treglia's avatar Alessio Treglia

Imported Upstream version 3.4

parent 3c84f340
syntax: glob
aclocal.m4
autom4te.cache
buildsys.mk
config.h
config.h.in
config.log
config.status
configure
extra.mk
.deps
*.a
*.mo
*.o
*.so
*~
*.patch
*.diff
......@@ -160,7 +160,7 @@ AC_REQUIRE([AC_C_BIGENDIAN])
AC_REQUIRE([AC_SYS_LARGEFILE])
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -std=gnu99 -Wall -pipe"
CFLAGS="$CFLAGS -std=gnu99 -ffast-math -Wall -pipe"
CXXFLAGS="$CXXFLAGS -Wall -pipe"
AUD_CHECK_CFLAGS(-Wtype-limits)
fi
......
This source diff could not be displayed because it is too large. You can view the blob instead.
#!/bin/sh
# compatibility script for automake <= 1.12
# users of automake >= 1.13 should run 'autoreconf' instead
aclocal -I m4
autoheader
autoconf
This diff is collapsed.
......@@ -37,9 +37,6 @@
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define if you have HardSID for libSIDPlay 2 */
#undef HAVE_HARDSID_BUILDER
/* Define if you have the iconv() function and it works. */
#undef HAVE_ICONV
......@@ -58,22 +55,6 @@
/* Whether we have ne_set_connect_timeout */
#undef HAVE_NE_SET_CONNECT_TIMEOUT
/* Define if you have reSID for libSIDPlay 2 */
#undef HAVE_RESID_BUILDER
/* Define if you have and want to use libSIDPlay1 */
#undef HAVE_SIDPLAY1
/* Define if you have and want to use libSIDPlay2 */
#undef HAVE_SIDPLAY2
/* Define if using new libSIDPlay2 with COM-style API. */
#undef HAVE_SIDPLAY2_COMI
/* Define if using libSIDPlay+reSID with Antti Lankila's distortion patches.
*/
#undef HAVE_SIDPLAY2_DISTORTION
/* Define to 1 if you have the <soundcard.h> header file. */
#undef HAVE_SOUNDCARD_H
......@@ -134,9 +115,6 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define if building with IPv6 support */
#undef USE_IPV6
/* Version number of package */
#undef VERSION
......
......@@ -2,7 +2,7 @@
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2010 Free Software Foundation, Inc.
# Copyright 1996-2013 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
......@@ -25,7 +25,7 @@
# known workaround is to choose shorter directory names for the build
# directory and/or the installation directory.
# All known linkers require a `.a' archive for static linking (except MSVC,
# All known linkers require a '.a' archive for static linking (except MSVC,
# which needs '.lib').
libext=a
shrext=.so
......@@ -57,13 +57,6 @@ else
aix*)
wl='-Wl,'
;;
darwin*)
case $cc_basename in
xlc*)
wl='-Wl,'
;;
esac
;;
mingw* | cygwin* | pw32* | os2* | cegcc*)
;;
hpux9* | hpux10* | hpux11*)
......@@ -72,9 +65,7 @@ else
irix5* | irix6* | nonstopux*)
wl='-Wl,'
;;
newsos6)
;;
linux* | k*bsd*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu)
case $cc_basename in
ecc*)
wl='-Wl,'
......@@ -85,17 +76,26 @@ else
lf95*)
wl='-Wl,'
;;
pgcc | pgf77 | pgf90)
nagfor*)
wl='-Wl,-Wl,,'
;;
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
wl='-Wl,'
;;
ccc*)
wl='-Wl,'
;;
xl* | bgxl* | bgf* | mpixl*)
wl='-Wl,'
;;
como)
wl='-lopt='
;;
*)
case `$CC -V 2>&1 | sed 5q` in
*Sun\ F* | *Sun*Fortran*)
wl=
;;
*Sun\ C*)
wl='-Wl,'
;;
......@@ -103,13 +103,24 @@ else
;;
esac
;;
newsos6)
;;
*nto* | *qnx*)
;;
osf3* | osf4* | osf5*)
wl='-Wl,'
;;
rdos*)
;;
solaris*)
wl='-Wl,'
case $cc_basename in
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
wl='-Qoption ld '
;;
*)
wl='-Wl,'
;;
esac
;;
sunos4*)
wl='-Qoption ld '
......@@ -171,15 +182,14 @@ if test "$with_gnu_ld" = yes; then
fi
;;
amigaos*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
# that the semantics of dynamic libraries on AmigaOS, at least up
# to version 4, is to share data among multiple programs linked
# with the same dynamic library. Since this doesn't match the
# behavior of shared libraries on other platforms, we cannot use
# them.
ld_shlibs=no
case "$host_cpu" in
powerpc)
;;
m68k)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
;;
esac
;;
beos*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
......@@ -198,11 +208,13 @@ if test "$with_gnu_ld" = yes; then
ld_shlibs=no
fi
;;
haiku*)
;;
interix[3-9]*)
hardcode_direct=no
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
gnu* | linux* | k*bsd*-gnu)
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
......@@ -325,10 +337,14 @@ else
fi
;;
amigaos*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# see comment about different semantics on the GNU ld section
ld_shlibs=no
case "$host_cpu" in
powerpc)
;;
m68k)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
;;
esac
;;
bsdi[45]*)
;;
......@@ -342,24 +358,15 @@ else
;;
darwin* | rhapsody*)
hardcode_direct=no
if test "$GCC" = yes ; then
if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then
:
else
case $cc_basename in
xlc*)
;;
*)
ld_shlibs=no
;;
esac
ld_shlibs=no
fi
;;
dgux*)
hardcode_libdir_flag_spec='-L$libdir'
;;
freebsd1*)
ld_shlibs=no
;;
freebsd2.2*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
......@@ -420,6 +427,8 @@ else
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
*nto* | *qnx*)
;;
openbsd*)
if test -f /usr/libexec/ld.so; then
hardcode_direct=yes
......@@ -515,7 +524,12 @@ case "$host_os" in
library_names_spec='$libname$shrext'
;;
amigaos*)
library_names_spec='$libname.a'
case "$host_cpu" in
powerpc*)
library_names_spec='$libname$shrext' ;;
m68k)
library_names_spec='$libname.a' ;;
esac
;;
beos*)
library_names_spec='$libname$shrext'
......@@ -534,8 +548,6 @@ case "$host_os" in
dgux*)
library_names_spec='$libname$shrext'
;;
freebsd1*)
;;
freebsd* | dragonfly*)
case "$host_os" in
freebsd[123]*)
......@@ -547,6 +559,9 @@ case "$host_os" in
gnu*)
library_names_spec='$libname$shrext'
;;
haiku*)
library_names_spec='$libname$shrext'
;;
hpux9* | hpux10* | hpux11*)
case $host_cpu in
ia64*)
......@@ -582,7 +597,7 @@ case "$host_os" in
;;
linux*oldld* | linux*aout* | linux*coff*)
;;
linux* | k*bsd*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu)
library_names_spec='$libname$shrext'
;;
knetbsd*-gnu)
......@@ -594,7 +609,7 @@ case "$host_os" in
newsos6)
library_names_spec='$libname$shrext'
;;
nto-qnx*)
*nto* | *qnx*)
library_names_spec='$libname$shrext'
;;
openbsd*)
......@@ -625,6 +640,9 @@ case "$host_os" in
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
library_names_spec='$libname$shrext'
;;
tpf*)
library_names_spec='$libname$shrext'
;;
uts4*)
library_names_spec='$libname$shrext'
;;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -29,9 +29,6 @@ BINIO_CFLAGS ?= @BINIO_CFLAGS@
BINIO_LIBS ?= @BINIO_LIBS@
BS2B_CFLAGS ?= @BS2B_CFLAGS@
BS2B_LIBS ?= @BS2B_LIBS@
BUILDERS_CFLAGS ?= @BUILDERS_CFLAGS@
BUILDERS_LDFLAGS ?= @BUILDERS_LDFLAGS@
BUILDERS_LIBS ?= @BUILDERS_LIBS@
CAIRO_CFLAGS ?= @CAIRO_CFLAGS@
CAIRO_LIBS ?= @CAIRO_LIBS@
CDIO_LIBS ?= @CDIO_LIBS@
......@@ -87,10 +84,8 @@ SAMPLERATE_CFLAGS ?= @SAMPLERATE_CFLAGS@
SAMPLERATE_LIBS ?= @SAMPLERATE_LIBS@
SDL_CFLAGS ?= @SDL_CFLAGS@
SDL_LIBS ?= @SDL_LIBS@
SIDPLAY1_CFLAGS ?= @SIDPLAY1_CFLAGS@
SIDPLAY1_LIBS ?= @SIDPLAY1_LIBS@
SIDPLAY2_CFLAGS ?= @SIDPLAY2_CFLAGS@
SIDPLAY2_LIBS ?= @SIDPLAY2_LIBS@
SIDPLAYFP_CFLAGS ?= @SIDPLAYFP_CFLAGS@
SIDPLAYFP_LIBS ?= @SIDPLAYFP_LIBS@
SNDFILE_CFLAGS ?= @SNDFILE_CFLAGS@
SNDFILE_LIBS ?= @SNDFILE_LIBS@
SNDIO_LIBS ?= @SNDIO_LIBS@
......
AC_DEFUN([AM_PATH_SIDPLAY],
[
XS_ARG_WITH([sidplay1], [libSIDPlay1], [XS_PATH_LIBSIDPLAY1])
if test "x$xs_have_sidplay1" = "xyes"; then
AC_DEFINE([HAVE_SIDPLAY1])
fi
XS_ARG_WITH([sidplay2], [libSIDPlay2], [XS_PATH_LIBSIDPLAY2])
if test "x$xs_have_sidplay2" = "xyes"; then
AC_DEFINE([HAVE_SIDPLAY2])
AC_LANG_PUSH([C++])
XS_BUILDERS_CHECK
xs_builders_available="no"
XS_BUILDERS_FIND([reSID], [resid-builder], [resid.h], [ReSIDBuilder])
XS_BUILDERS_FIND([HardSID], [hardsid-builder], [hardsid.h], [HardSIDBuilder])
if test "x$xs_builders_available" = "xno"; then
AC_MSG_WARN([No builder modules were found in the sidbuilders directory!]);
xs_have_sidplay2=no
fi
fi
if test "x$xs_have_sidplay2" = "xyes"; then
dnl *** Check for new COMI API
AC_MSG_CHECKING([libSIDPlay2 API style])
tmp_CPPFLAGS="$CPPFLAGS"
if test -d "$xs_sidplay2_includes"; then
CPPFLAGS="$CPPFLAGS -I${xs_sidplay2_includes}"
fi
AC_EGREP_HEADER([::Iid], [sidplay/sidplay2.h],
[xs_have_sidplay2_api="yes"],
[
AC_EGREP_HEADER([SIDIID], [sidplay/sidplay2.h],
[xs_have_sidplay2_api="yes"],
[xs_have_sidplay2_api="(old style API)"])
]
)
if test "x$xs_have_sidplay2_api" = "xyes"; then
AC_LINK_IFELSE([
AC_LANG_PROGRAM(
[#include <sidplay/sidunknown.h>],
[ISidUnknown *i;])
], [
xs_have_sidplay2_api="(new COMI style API)"
AC_DEFINE([HAVE_SIDPLAY2_COMI], [1], [Define if using new libSIDPlay2 with COM-style API.])
],[
xs_have_sidplay2_api="(broken version!)"
])
fi
AC_MSG_RESULT([$xs_have_sidplay2_api])
AC_LANG_POP([C++])
dnl *** Check for distortion patch
AC_MSG_CHECKING([libSIDPlay2+reSID distortion patch])
AC_EGREP_HEADER([minimumfetresistance], [sidplay/sidtypes.h], [
xs_have_distortion="yes"
AC_DEFINE([HAVE_SIDPLAY2_DISTORTION], [1], [Define if using libSIDPlay+reSID with Antti Lankila's distortion patches.])
],[
xs_have_distortion="no"
])
AC_MSG_RESULT([$xs_have_distortion])
CPPFLAGS="$tmp_CPPFLAGS"
fi
if test "x$xs_have_sidplay1" = "xyes" || test "x$xs_have_sidplay2" = "xyes"; then
m4_ifvaln([$1], [$1], [:])
m4_ifvaln([$2], [else $2])
fi
])
This diff is collapsed.
#!/bin/sh
if ! test -d .git
then
echo This script must be run in a Git repository
exit 1
fi
RELEASENAME=`git describe --tags`
if test -e $RELEASENAME
then
echo $RELEASENAME already exists, not overwriting
exit 1
fi
echo "Exporting HEAD to $RELEASENAME ..."
git archive --format=tar --prefix=$RELEASENAME/ HEAD | tar x || exit 1
echo "Running autoreconf ..."
cd $RELEASENAME || exit 1
autoreconf || exit 1
rm -rf .gitignore .hgignore aclocal.m4 autom4te.cache
echo "Building $RELEASENAME.tar.bz2 ..."
cd .. || exit 1
tar cfj $RELEASENAME.tar.bz2 $RELEASENAME || exit 1
......@@ -12,11 +12,12 @@ LOCALES = be.po \
cs.po \
de.po \
el.po \
es.po \
es_AR.po \
es_MX.po \
es.po \
et.po \
eu.po \
fi.po \
fr.po \
gl.po \
hu.po \
......@@ -31,8 +32,10 @@ LOCALES = be.po \
pt_BR.po \
pt_PT.po \
ru.po \
si.po \
sk.po \
sr_RS.po \
ta.po \
uk.po \
zh_CN.po \
zh_TW.po
......
......@@ -28,7 +28,6 @@ src/cairo-spectrum/cairo-spectrum.c
src/cdaudio-ng/cdaudio-ng.c
src/cd-menu-items/cd-menu-items.c
src/compressor/plugin.c
src/console/abstract_file.cxx
src/console/Ay_Apu.cxx
src/console/Ay_Emu.cxx
src/console/Blip_Buffer.cxx
......@@ -40,7 +39,6 @@ src/console/Fir_Resampler.cxx
src/console/Gbs_Emu.cxx
src/console/Gme_File.cxx
src/console/Gym_Emu.cxx
src/console/Gzip_File.cxx
src/console/Gzip_Reader.cxx
src/console/Hes_Emu.cxx
src/console/Kss_Emu.cxx
......@@ -68,6 +66,7 @@ src/filewriter/vorbis.c
src/flacng/metadata.c
src/flacng/plugin.c
src/gio/gio.c
src/gl-spectrum/gl-spectrum.c
src/gnomeshortcuts/gnomeshortcuts.c
src/gtkui/columns.c
src/gtkui/layout.c
......@@ -93,14 +92,15 @@ src/mpris2/plugin.c
src/neon/neon.c
src/notify/event.c
src/notify/notify.c
src/notify/osd.c
src/oss4/plugin.c
src/pls/pls.c
src/psf/plugin.c
src/pulse_audio/pulse_audio.c
src/resample/resample.c
src/scrobbler/configure.c
src/scrobbler/plugin.c
src/scrobbler/scrobbler.c
src/scrobbler2/config_window.c
src/scrobbler2/scrobbler.c
src/scrobbler2/scrobbler_communication.c
src/sdlout/plugin.c
src/search-tool/search-tool.c
src/skins/plugin.c
......@@ -114,6 +114,7 @@ src/skins/util.c
src/sndfile/plugin.c
src/sndio/sndio.c
src/song_change/song_change.c
src/sox-resampler/sox-resampler.c
src/speed-pitch/speed-pitch.c
src/statusicon/statusicon.c
src/stereo_plugin/stereo.c
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -61,12 +61,12 @@ it.po)
ja.po)
LANGUAGE="Japanese"
;;
ky.po)
LANGUAGE="Kirgyz"
;;
ko.po)
LANGUAGE="Korean"
;;
ky.po)
LANGUAGE="Kirgyz"
;;
lt.po)
LANGUAGE="Lithuanian"
;;
......@@ -91,6 +91,9 @@ ro.po)
ru.po)
LANGUAGE="Russian"
;;
si.po)
LANGUAGE="Sinhala"
;;
sk.po)
LANGUAGE="Slovak"
;;
......@@ -100,6 +103,9 @@ sr_RS.po)
sr@latin.po)
LANGUAGE="Serbian (Latin)"
;;
ta.po)
LANGUAGE="Tamil"
;;
tr.po)
LANGUAGE="Turkish"
;;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.