Commit Graph

696 Commits

Author SHA1 Message Date
Eric Wong a792dc5b93 autotools: add pthreads linker support
This is needed for people that don't use any of the following:
JACK, ALSA, libmikmod, Shout.
2008-10-06 18:52:48 +02:00
Max Kellermann 798eeeee63 require a C99 compiler
C99 will soon have its 10th birthday.  Let's not beat the dead C89
horse, and raise the compiler requirements.  From now on, we need a
C99 compiler.  This adds "-std=gnu99" to the GCC compiler options, in
case GCC is used.
2008-09-29 15:51:02 +02:00
Max Kellermann 9899ab5ac2 properly configure the M4 macro directory
Add information about the M4 macro dir ./m4/ to both configure.ac and
Makefile.am.
2008-09-23 22:38:46 +02:00
Eric Wollesen 5f8eebd122 shout: added mp3 encoder
[mk: moved this patch after "Refactor and cleanup of shout Ogg and MP3
audio outputs".  The original commit message follows, although it is
outdated:]

Creation of shout_mp3 audio output plugin. Basically I just copied the
existing shout plugin and replaced ogg with lame. Uses lame for mp3
encoding. Next step is to pull common functionality out of each shout
plugin and share it between them.

Configuration options for "shout_mp3" are the same as for "shout".
2008-09-12 16:05:23 +02:00
Eric Wollesen 4970c42c86 shout: introduce pluggable encoder API
I've perhaps gone a bit overboard, but here's the current rundown:

Both Ogg and MP3 use the "shout" audio output plugin.  The shout audio
output plugin itself has two new plugins, one for the Ogg encoder,
and another for the MP3 (LAME) encoder.

Configuration for an Ogg stream doesn't change.  For an MP3 stream,
configuration is the same as Ogg, with two exceptions.  First, you must
specify the optional "encoding" parameter, which should be set to "mp3".
See mpd.conf(5) for more details.  Second, the "quality" parameter is
reversed for LAME, such that 1 is high quality for LAME, whereas 10 is
high quality for Ogg.

I've decomposed the code so that all libshout related operations
are done in audioOutput_shout.c, all Ogg specific functions are in
audioOutput_shout_ogg.c, and of course then all LAME specific functions
are handled in audioOutput_shout_mp3.c.

To develop encoder plugins for the shout audio output plugin, I basically
just mimicked the plugin system used for audio outputs.  This might be
overkill, but hopefully if anyone ever wants to support some other sort
of stream, like maybe AAC, FLAC, or WMA (hey it could happen), they will
hopefully be all set.

The Ogg encoder is slightly less optimal under this configuration.
It used to send shout data directly out of its ogg_page structures.  Now,
in the interest of encapsulation, it copies the data from its ogg_page
structures into a buffer provided by the shout audio output plugin (see
audioOutput_shout_ogg.c, line 77.)  I suspect the performance impact
is negligible.

As for metadata, I'm pretty sure they'll both work.  I wrote up a test
scaffold that would create a fake tag, and tell the plugin to send it
out to the stream every few seconds.  It seemed to work fine.  Of course,
if something does break, I'll be glad to fix it.

Lastly, I've renamed lots of things into snake_case, in keeping with
normalperson's wishes in that regard.

[mk: moved the MP3 patch after this one.  Splitted this patch into
several parts; the others were already applied before this one.  Fixed
a bunch GCC warnings and wrong whitespace modifications.  Made it
compile with mpd-mk by adapting to its prototypes]
2008-09-12 16:04:40 +02:00
Eric Wong b67bb05d05 build: enable -Wcast-qual -Wwrite-strings CFLAGS
We're pretty careful about using const these days, so
enable these warnings to keep us that way.
2008-09-07 18:37:29 +02:00
Eric Wong 5c26e73226 Point the contact email to musicpd-dev-team
Warren hasn't been active in development in a while and probably
doesn't have much time to answer user questions.  So point the
mailing contact to the public mailing lists where any developer
can see and answer.
2008-08-28 20:40:17 +02:00
Max Kellermann a383f45117 enable -Wpointer-arith, -Wstrict-prototypes
Also enable -Wunused-parameter - this forces us to add the gcc
"unused" attribute to a lot of parameters (mostly library callback
functions), but it's worth it during code refactorizations.
2008-08-26 08:27:02 +02:00
Jim Ramsay 72434d212c Die if a specific backend is requested but not found.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7382 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-06-16 13:43:03 +00:00
Eric Wong 4e4441fd32 configure: better CFLAGS checking
needed for compatibility with older gcc.  Also, threw in
some warnings for things I find offensive
(declaration-after-statement, shadow)

git-svn-id: https://svn.musicpd.org/mpd/trunk@7299 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-04-12 04:16:22 +00:00
Max Kellermann 913b2b8399 configure: output ipv6 support option result
[ew: rewrote commit message as it was confusing]

git-svn-id: https://svn.musicpd.org/mpd/trunk@7237 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-04-12 04:07:31 +00:00
Max Kellermann 86d6ba077b provide switches for TCP and unix sockets
autoconf flags for enabling and disabling TCP and unix domain socket
support.  Embedded machines without a TCP stack may be better off
without TCP support.

git-svn-id: https://svn.musicpd.org/mpd/trunk@7236 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-04-12 04:07:24 +00:00
Max Kellermann fe36122c8c enable more warnings
enable -Wextra (excluding -Wno-unused-parameter,
-Wno-deprecated-declarations).

git-svn-id: https://svn.musicpd.org/mpd/trunk@7225 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-04-12 04:06:11 +00:00
J. Alexander Treuman 08ca0ae2e8 Check for pkg-config unconditionally. It might not be needed if we disable
a ton of optional functionality, but it's getting hard to keep track of it
all.  So let's just be lazy.

git-svn-id: https://svn.musicpd.org/mpd/trunk@6653 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-24 21:31:08 +00:00
J. Alexander Treuman f31b7b4677 Updating some ./configure --help text.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6652 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-24 21:26:44 +00:00
J. Alexander Treuman db47ab163a Adding WavPack support. Patch courtesy Kodest.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6651 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-24 20:40:04 +00:00
J. Alexander Treuman b496239e76 Adding FIFO audio output. This is pretty much identical to the old one,
except that it now uses a timer for throttling.

git-svn-id: https://svn.musicpd.org/mpd/trunk@6621 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-13 14:15:30 +00:00
J. Alexander Treuman d5596a1cf0 Define HAVE_ZEROCONF if Avahi or Bonjour support is enabled, so that we can
silence a warning about an unused variable without using stupid checks for
HAVE_AVAHI || HAVE_BONJOUR.

git-svn-id: https://svn.musicpd.org/mpd/trunk@6471 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-03 19:44:19 +00:00
J. Alexander Treuman 4025498488 Cleaning up zeroconf configure magic.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6464 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-03 00:03:20 +00:00
J. Alexander Treuman e41601c98b Check if we need -ldns_sd for Bonjour.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6463 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-02 22:58:51 +00:00
Patrik Weiskircher b91af54d2a Added Bonjour zeroconf support. This works now natively on MacOS X.
I couldn't test mDNSResponder support on Linux, as Debian doesn't include it - but should work as well.

git-svn-id: https://svn.musicpd.org/mpd/trunk@6453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-02 17:06:08 +00:00
J. Alexander Treuman dd83898064 Requiring autoconf 2.60. This is needed for the new C99 and POSIX type
checks that are now used.

git-svn-id: https://svn.musicpd.org/mpd/trunk@6447 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-01 18:32:25 +00:00
J. Alexander Treuman aaea59e501 Bumping version numbers to 0.14.0.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6402 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-05-30 20:12:32 +00:00
J. Alexander Treuman 72cbcef0c0 Forgot a change to configure.ac in one of the previous commits.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6401 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-05-30 20:08:24 +00:00
J. Alexander Treuman 0f8ab01c3e Adding a null output plugin.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6393 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-05-30 16:52:56 +00:00
J. Alexander Treuman 1bf233dd37 Removing Sun audio support from configure and ChangeLog. Turns out the
plugin itself was never actually committed, so support for it was never
there.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5822 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-04-04 15:58:42 +00:00
J. Alexander Treuman ed5f2c195a Don't use -L$libdir -I$includedir. $libdir and $includedir are paths for
installing libs/includes, and apparently even the defaults can break cross
compiles (see bug #1454).

git-svn-id: https://svn.musicpd.org/mpd/trunk@5789 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-03-31 17:34:46 +00:00
J. Alexander Treuman 6450bbc096 Bumping version numbers to 0.13.0. Future 0.12.x releases will be made
from a branch of 0.12.1.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5666 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-03-20 18:46:04 +00:00
J. Alexander Treuman afa3ccc3b1 Forgot a || in that last commit. Oops.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5455 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-02-27 20:24:45 +00:00
J. Alexander Treuman 45f00b7161 LSR and Zeroconf support both use PKG_CHECK_MODULES, and thus require
PKG_PROG_PKG_CONFIG to be done first.  But this is only done if PulseAudio
and JACK aren't explitily disabled.  Therefore, using ./configure
--disable-pulse --disable-jack will make it so that neither LSR nor
Zeroconf can be found.  This is the second time this bug has come up (first
being when JACK was added), so can people please start adding to the test
around PKG_PROG_PKG_CONFIG when they add new features that need
PKG_CHECK_MODULES?

git-svn-id: https://svn.musicpd.org/mpd/trunk@5453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-02-27 20:02:29 +00:00
Avuton Olrich 79ef8ba248 Add libsamplerate support, old resampling is still an option, but this sounds much better for those who need it and don't want to use pulseaudio. Reviewed by shank/avuton.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5316 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-02-02 03:51:07 +00:00
Eric Wong 8d11eaff55 configure.ac: no longer drop MPD_CFLAGS if shout is enabled
I'm an idiot for not noticing that :x

git-svn-id: https://svn.musicpd.org/mpd/trunk@5256 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-01-14 04:25:21 +00:00
Eric Wong 6f341e9a3b configure.ac: get rid of scary message about OggFLAC with FLAC 1.1.3
We don't need to check for libOggFLAC with FLAC 1.1.3
because FLAC 1.1.3 can be recompiled to enable/disable
OggFLAC support without recompiling mpd.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5255 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-01-14 04:25:19 +00:00
Eric Wong 8cc1048d72 configure.ac: shell portability fix (test -a)
-a and -o flags for 'test' are not consistently supported
across many platforms and not specified by POSIX

git-svn-id: https://svn.musicpd.org/mpd/trunk@5240 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-01-14 02:08:03 +00:00
Jim Ramsay 5d79aced8c Added zeroconf service publishing using avahi
git-svn-id: https://svn.musicpd.org/mpd/trunk@5238 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-01-11 20:41:17 +00:00
J. Alexander Treuman 469ff63093 Do PKG_PROG_PKG_CONFIG if either pulse or jack is enabled. This is because
if you don't explicitly call it, then it is implied by the first use of
PKG_CHECK_MODULES (and no later ones).  This results in the check only
being done in the test for pulse, which is skipped when --disable-pulse is
used.  This will fix the bug mentioned in the previous commit.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5142 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-12-17 23:42:36 +00:00
J. Alexander Treuman 0435a8c7c1 Cleaning up the JACK/PulseAudio configure magic to be more consistent with
each other.   Hopefully this will also fix a bug where --enable-jack
--disable-pulse would result in both JACK and PulseAudio being disabled.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5141 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-12-17 21:30:24 +00:00
Warren Dukes 29c7681ca4 jack patch from anarch (and some type fixes for mp4 and acc plugins)
git-svn-id: https://svn.musicpd.org/mpd/trunk@4912 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-10-18 02:49:13 +00:00
J. Alexander Treuman a9a97e39e5 Bumping version numbers to 0.12.1
git-svn-id: https://svn.musicpd.org/mpd/trunk@4895 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-10-10 20:45:55 +00:00
J. Alexander Treuman 4d6db2eb37 Bumping version numbers to 0.12.0.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4819 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-22 14:05:01 +00:00
J. Alexander Treuman cb8da28ad7 Updating version numbers to rc4.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4778 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-15 01:38:56 +00:00
Eric Wong 6f0926ff3f configure.ac: replace double quotes AC_MSG_ERROR with brackets
double quotes are printed out in the corresponding shell code

git-svn-id: https://svn.musicpd.org/mpd/trunk@4770 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-13 08:03:37 +00:00
Eric Wong a077a38a85 configure.ac: fix tremor detection usage
git-svn-id: https://svn.musicpd.org/mpd/trunk@4761 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-11 23:41:07 +00:00
Eric Wong 12d253118d configure.ac: fix an obvious typo for setting mpcdec libs
git-svn-id: https://svn.musicpd.org/mpd/trunk@4739 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-06 09:29:06 +00:00
J. Alexander Treuman c81f4e2c04 Bumping version to rc3
git-svn-id: https://svn.musicpd.org/mpd/trunk@4675 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-24 12:25:22 +00:00
Avuton Olrich f79a70d1b9 Fix warnings for -Wmissing-prototypes
Add -Wmissing-prototypes if compiling with gcc
Static where possible

git-svn-id: https://svn.musicpd.org/mpd/trunk@4657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-20 00:50:44 +00:00
J. Alexander Treuman 459e096581 Bumping some version numbers to rc2
git-svn-id: https://svn.musicpd.org/mpd/trunk@4653 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-18 01:39:30 +00:00
J. Alexander Treuman 0cacc35943 Bump some more version numbers to rc1 now that it won't break the protocol.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4611 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-10 22:21:14 +00:00
Eric Wong b46b2c9f69 Separate PROTOCOL_VERSION from VERSION
So we can have VERSION=0.12.0rc1 and keep the
clients seeing 0.12.0

git-svn-id: https://svn.musicpd.org/mpd/trunk@4608 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-10 21:15:06 +00:00
J. Alexander Treuman c062fca22d The configure.ac version is used in the mpd reply, and using rc1 breaks some clients. Reverting last commit.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4607 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-10 20:41:21 +00:00
J. Alexander Treuman 131fcea17d 0.12.0 -> 0.12.0rc1
git-svn-id: https://svn.musicpd.org/mpd/trunk@4606 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-10 20:32:08 +00:00
Eric Wong 8e8d4fc6fd configure.ac: fix a typo
git-svn-id: https://svn.musicpd.org/mpd/trunk@4542 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-04 07:40:53 +00:00
J. Alexander Treuman 8dcc3d31ac Remove the fifo plugin. It's currently useless for the average user, and making it more presentable isn't something I'm willing to do before 0.12. It will likely be added back after 0.12, along with some very experimental stuff to make it more usable.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4472 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-26 20:51:50 +00:00
Avuton Olrich bf3848ef94 Put mp4ff back into the tree
git-svn-id: https://svn.musicpd.org/mpd/trunk@4461 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-26 03:05:50 +00:00
Eric Wong fe76580ce4 configure.ac: don't always try to add local lib/include paths
Only add them if --prefix= wasn't specified, and only allow
one path of each to be added.  This way Fink and Darwinports
users won't have libs from *both* (which would conflict).

Testing from OSX (Fink and/or Darwinports) users would be greatly
appreciated, as would testers from other non-GNU/Linux systems.

git-svn-id: https://svn.musicpd.org/mpd/trunk@4432 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-22 23:28:30 +00:00
Eric Wong 7f363eb9c1 Cleanup some now unnecessary variables from the id3/mad removal
git-svn-id: https://svn.musicpd.org/mpd/trunk@4431 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-22 23:28:26 +00:00
J. Alexander Treuman 8a938bc8d3 Nicer formatting for ./configure --help
git-svn-id: https://svn.musicpd.org/mpd/trunk@4426 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-22 01:48:36 +00:00
J. Alexander Treuman c4d1344f8c Adding fifo output plugin
git-svn-id: https://svn.musicpd.org/mpd/trunk@4423 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-22 00:25:46 +00:00
Avuton Olrich 9f6364af45 Remove the internal mp4ff dependency
git-svn-id: https://svn.musicpd.org/mpd/trunk@4401 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-19 15:54:53 +00:00
Eric Wong 47037c6ac9 Some more autotools fixes/hacks/workarounds
autogen.sh:
Detect more strange paths for aclocal on different
packaging systems.  This should help encourage more
people to run svn code on their systems.

configure.ac:
Tested on FreeBSD (6.1).  Darwin, OpenBSD, NetBSD info
gleaned off the Makefile distributed with git.

m4/shout.m4:
The Shout 2.2 port on a FreeBSD 6.1 machine seemed
problematic when it's compiled against pthreads, so this is
a gross hack to force -lpthread on it

git-svn-id: https://svn.musicpd.org/mpd/trunk@4390 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-18 09:55:15 +00:00
Eric Wong 7e3bca3aa3 configure.ac: oops, unbreak configure :x
git-svn-id: https://svn.musicpd.org/mpd/trunk@4385 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-17 08:37:57 +00:00
Eric Wong b545a7e57d Fix some autotools related problems
Huge thanks to gnarlie for helping me find and diagnose
several problems stemming from autogen.sh on FreeBSD 6.1

We require autoconf 2.58 for autogen.sh, but it seems like
that's always been the case, we just never caught it before :/

"bash ./configure" just about sums up what I want to do right now...

git-svn-id: https://svn.musicpd.org/mpd/trunk@4384 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-17 08:22:50 +00:00
Avuton Olrich e570f13d74 If no input plugin is supported, fail to configure.
(useless daemon)

git-svn-id: https://svn.musicpd.org/mpd/trunk@4376 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-16 21:58:52 +00:00
Avuton Olrich 2001db8c18 Remove hosted libid3tag & libmad
git-svn-id: https://svn.musicpd.org/mpd/trunk@4369 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-16 17:49:15 +00:00
Eric Wong b59aa75720 remove the glib library dependency
We never used many features from it, so there's no point in
keeping it and forcing people to install a non-standard library.
It may be standard on many GNU/Linux distributions, but there
are many other UNIXes out there.  This makes life much easier
for people cross-compiling (like me :)

git-svn-id: https://svn.musicpd.org/mpd/trunk@4361 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-16 16:50:54 +00:00
Eric Wong 6735acbf32 configure.ac: remove uncessary grep usage
git-svn-id: https://svn.musicpd.org/mpd/trunk@4349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-15 09:42:28 +00:00
J. Alexander Treuman 2fa7125cce Change shank's email address
git-svn-id: https://svn.musicpd.org/mpd/trunk@4333 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-14 19:37:45 +00:00
J. Alexander Treuman 09698f917c Add PulseAudio support
git-svn-id: https://svn.musicpd.org/mpd/trunk@4316 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-13 19:03:49 +00:00
R.Ramkumar 3e8009ffca configure.ac: fix configure failing with newer faad2
Patch-by: R.Ramkumar <andyetitmoves@gmail.com>:
> MPD's configure seems to fail with newer versions of faad2 (Atleast
> mine from CVS does, I don't know how long this has been a problem
> for). MPD checks for faacDecInit2 which has been #define'd to
> NeAACDecInit2, and hence AC_CHECK_LIB fails. I am enclosing a patch
> which checks for the latter as a fallback. Hope that fixes things :)

This looks reasonable, but I haven't tested it myself [normalperson]

git-svn-id: https://svn.musicpd.org/mpd/trunk@4297 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-07-04 22:07:34 +00:00
Eric Wong 96a3939ed0 configure.ac: set -Wall if we detect gcc-$VERSION or gcc$VERSION
git-svn-id: https://svn.musicpd.org/mpd/trunk@4252 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-05 23:24:54 +00:00
Eric Wong 5cbfdf3517 correctly check for setenv() function
git-svn-id: https://svn.musicpd.org/mpd/trunk@4245 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-04 11:36:06 +00:00
Eric Wong 02975fca00 configure.ac: fix a bash-ism in generated ./configure
git-svn-id: https://svn.musicpd.org/mpd/trunk@4243 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-06-04 09:04:08 +00:00
Eric Wong 6963502213 merge with mpd/trunk up to r3925
git-svn-id: https://svn.musicpd.org/mpd/trunk@3926 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-16 06:52:46 +00:00
Qball Cow a34c4af172 Configure fix, so when no glib found it gives a error, and another race condition fix in the master proces patch.
git-svn-id: https://svn.musicpd.org/mpd/trunk@3730 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-12-14 10:32:48 +00:00
Qball Cow 32e5f4ca2b DJWLindenaar balanced tree and master process patch
git-svn-id: https://svn.musicpd.org/mpd/trunk@3669 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-11-16 14:43:04 +00:00
Qball Cow f1d24a4b92 Ticho's configure.ac patch
git-svn-id: https://svn.musicpd.org/mpd/trunk@3506 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-10-07 16:29:03 +00:00
Qball Cow edcfbef90d Patch to make the configure flag for mpd-mad and mpd-libid3tag more logic (from ticho)
git-svn-id: https://svn.musicpd.org/mpd/trunk@3477 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-09-08 21:08:02 +00:00
Eric Wong 9d52ff3444 disable shout if tremor is used because tremor is only an encoder
git-svn-id: https://svn.musicpd.org/mpd/trunk@3454 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-26 00:51:49 +00:00
Eric Wong 1a3254f73c patch for using Tremor to decode Ogg-Vorbis
* autotools support is included, the floating point Vorbis decoder
remains the default.
* close bug #353
* Thanks to Hannes Reich for the patch

git-svn-id: https://svn.musicpd.org/mpd/trunk@3453 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-25 08:07:28 +00:00
Warren Dukes 65ec1dc320 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3452 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-25 00:08:41 +00:00
Warren Dukes ef444e6cbe --enable-ao enables ao, doesn't disable ao support
git-svn-id: https://svn.musicpd.org/mpd/trunk@3412 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-08-02 11:55:40 +00:00
Eric Wong a196714eaa update musepack decoding code to use the newer mpcdec library
libmusepack is deprecated


git-svn-id: https://svn.musicpd.org/mpd/trunk@3408 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-07-30 10:28:43 +00:00
Eric Wong bf9d8a0bbe actually disable shout if ogg-vorbis is disabled, instead of just
warning and not doing anything about it

git-svn-id: https://svn.musicpd.org/mpd/trunk@3381 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-30 08:36:56 +00:00
Warren Dukes e554b920d5 pretty up configure output a bit
git-svn-id: https://svn.musicpd.org/mpd/trunk@3119 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-24 00:10:14 +00:00
Warren Dukes 99bf823d5f add support sun configure stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@3118 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-23 02:45:37 +00:00
Warren Dukes 63f152466b OS X tweaks
git-svn-id: https://svn.musicpd.org/mpd/trunk@3095 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-17 02:33:40 +00:00
Warren Dukes c1057f0c34 slight tweak of avuton's idea of causing an error when no audio output's found
git-svn-id: https://svn.musicpd.org/mpd/trunk@3093 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-17 00:56:31 +00:00
Avuton Olrich 70865740fb Update the configure.ac to make sure it can't be compiled without an output target.
git-svn-id: https://svn.musicpd.org/mpd/trunk@3092 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-16 23:30:18 +00:00
Warren Dukes 92f1bb82f7 some broken OS X stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@3075 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 21:33:55 +00:00
Warren Dukes 8936789631 add OS X configure stuff and added a skeleton audioOutput plugin for OS X
git-svn-id: https://svn.musicpd.org/mpd/trunk@3074 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 19:23:09 +00:00
Warren Dukes 4503d1550f don't actually require libao
git-svn-id: https://svn.musicpd.org/mpd/trunk@3065 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-13 15:36:46 +00:00
Avuton Olrich a653bd76d4 Update the configure.ac to allow only compiling with ALSA output plugin
git-svn-id: https://svn.musicpd.org/mpd/trunk@3016 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 17:34:40 +00:00
Warren Dukes 7808fea94a todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@3010 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-03-05 12:29:00 +00:00
Warren Dukes 37f2a0a86c add ALSA_CFLAGS and _LIBS to MPD_*
git-svn-id: https://svn.musicpd.org/mpd/trunk@2934 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-03 04:33:52 +00:00
Warren Dukes 7af79aab14 fix alsa configure stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@2933 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-03 04:26:38 +00:00
Avuton Olrich 004c9394f7 - Clarify MPC to musepack (MPC) as not to confuse new MPD customers
- Error on no audio output target
- Allow to compile without oss (should be able to compile with any one audio output target)
- TODO update

git-svn-id: https://svn.musicpd.org/mpd/trunk@2930 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-02 10:27:24 +00:00
Warren Dukes 92ad6c47fb configure now checks for libmusepack
git-svn-id: https://svn.musicpd.org/mpd/trunk@2920 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-01 04:15:41 +00:00
Warren Dukes 716e9a8fb5 use alsa m4 stuff to generate configure
git-svn-id: https://svn.musicpd.org/mpd/trunk@2916 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-02-01 01:17:04 +00:00
Warren Dukes 2a1defe6a2 fix --enable-mod
git-svn-id: https://svn.musicpd.org/mpd/trunk@2913 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-01-31 00:06:23 +00:00
Warren Dukes 9999a20c12 this should fix compile bugs #350 and #351
git-svn-id: https://svn.musicpd.org/mpd/trunk@2884 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-01-16 16:03:14 +00:00
Warren Dukes c5d27d8eaa merge changes from metadata-rewrite branch
git-svn-id: https://svn.musicpd.org/mpd/trunk@2589 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-10 21:58:27 +00:00
Warren Dukes baf8efff5b disable shout support if vorbis not found
git-svn-id: https://svn.musicpd.org/mpd/trunk@2477 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-02 17:20:07 +00:00
Warren Dukes fb2c5f5d5f oops, forgot to commit changes to configure.ac
git-svn-id: https://svn.musicpd.org/mpd/trunk@2414 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-30 04:19:30 +00:00
Warren Dukes 413bf61ea1 fix a snafoo in configure.ac
git-svn-id: https://svn.musicpd.org/mpd/trunk@2306 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 23:12:52 +00:00
Warren Dukes cffe4c00db todo and configure script updates
git-svn-id: https://svn.musicpd.org/mpd/trunk@2301 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-22 19:47:05 +00:00
Warren Dukes 0bd64e7b9e bump version to 0.12.0
git-svn-id: https://svn.musicpd.org/mpd/trunk@2243 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-10-16 16:23:02 +00:00
Warren Dukes 2a1fa4fd25 shout configure/auto* stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@2059 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-08-20 13:57:11 +00:00
Warren Dukes cdb6372049 1) fix bug, id3_tag_parse does may return NULL if there's an error in decoding the id3v2 tag
2) in the same place, delete the id3Tag (fixes a memory leak)
3) version: 0.12.0 -> 0.11.4

git-svn-id: https://svn.musicpd.org/mpd/trunk@1903 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-24 02:54:19 +00:00
Warren Dukes d0a5ea60b3 bump version to 0.12.0 for next development cycle
git-svn-id: https://svn.musicpd.org/mpd/trunk@1901 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-23 16:45:48 +00:00
Warren Dukes 233afb7c07 1) bumb version to 0.11.3
2) Update changelog for 0.11.3
3) Merge avuton's mpdconf.example changes

git-svn-id: https://svn.musicpd.org/mpd/trunk@1875 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-18 12:48:17 +00:00
Warren Dukes 69ef939247 bump version number
git-svn-id: https://svn.musicpd.org/mpd/trunk@1787 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-04 02:09:03 +00:00
Warren Dukes 021f7d8704 bump version number
git-svn-id: https://svn.musicpd.org/mpd/trunk@1573 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-19 22:43:42 +00:00
Warren Dukes e1a94f917d actually, scratch the last change
git-svn-id: https://svn.musicpd.org/mpd/trunk@1524 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17 15:36:37 +00:00
Warren Dukes 4ab66ad1b7 check in configure script if iconv() needs CONST
git-svn-id: https://svn.musicpd.org/mpd/trunk@1523 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17 15:32:34 +00:00
Warren Dukes 561cbada93 add LIBMIKMOD_LDADD to MPD_LIBS
git-svn-id: https://svn.musicpd.org/mpd/trunk@1520 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-17 11:11:06 +00:00
Warren Dukes d9f5cca9b8 mod_plugin, just for tarzeau
git-svn-id: https://svn.musicpd.org/mpd/trunk@1263 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-31 20:59:55 +00:00
Warren Dukes 1ad2c17ddf oops forgot forte C++ fixes in configure.ac
git-svn-id: https://svn.musicpd.org/mpd/trunk@1227 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-29 12:38:54 +00:00
Warren Dukes c743057774 todo updates
git-svn-id: https://svn.musicpd.org/mpd/trunk@1079 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-19 03:52:15 +00:00
Warren Dukes 1be91059b0 ok, after starting good, this is a little less blocky for playing streams
git-svn-id: https://svn.musicpd.org/mpd/trunk@1073 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-18 20:27:12 +00:00
Warren Dukes 4db513dddb check for main in libiconv, cause it doesn't define iconv_open, but libiconv_open
git-svn-id: https://svn.musicpd.org/mpd/trunk@991 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-11 16:16:52 +00:00
Warren Dukes 011757d89c use AM_LANGINFO_CODESET in configure.ac, old configure.ac wasn't checking
for CODESET

git-svn-id: https://svn.musicpd.org/mpd/trunk@990 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-11 15:17:20 +00:00
Warren Dukes 7091235a68 add --disable-audio configure option
git-svn-id: https://svn.musicpd.org/mpd/trunk@679 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11 04:49:27 +00:00
Warren Dukes 8c4bc2d2d4 bump version number up to 0.11.0
git-svn-id: https://svn.musicpd.org/mpd/trunk@660 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-10 18:00:59 +00:00
Warren Dukes 995a5deb28 update stuff for 0.10.3 release
git-svn-id: https://svn.musicpd.org/mpd/trunk@561 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-31 17:14:26 +00:00
Warren Dukes 9e382536dc allow to disable alsa
git-svn-id: https://svn.musicpd.org/mpd/trunk@551 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-30 21:18:03 +00:00
Warren Dukes 4965fa019e minor fix ups for types
git-svn-id: https://svn.musicpd.org/mpd/trunk@460 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-25 03:06:56 +00:00
Warren Dukes 1de1bfe314 fix and detect differences between faad2 1.1 and 2.0
git-svn-id: https://svn.musicpd.org/mpd/trunk@459 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-25 01:08:13 +00:00
Warren Dukes 3b2f4b4980 check for mad and id3tag headers
git-svn-id: https://svn.musicpd.org/mpd/trunk@448 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-24 04:04:35 +00:00
Warren Dukes f32cc27dde forgot to set CPPFLAGS for some AC_CHECK_HEADERS, where it uses CPPFLAGS
for presence

git-svn-id: https://svn.musicpd.org/mpd/trunk@446 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-24 03:42:24 +00:00
Warren Dukes a720e2ae75 add more info to configuration output
git-svn-id: https://svn.musicpd.org/mpd/trunk@425 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-23 23:20:21 +00:00
Warren Dukes 9ab67e7581 more autconf fun
git-svn-id: https://svn.musicpd.org/mpd/trunk@343 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-21 14:03:45 +00:00
Warren Dukes 590323e341 more faad autoconf checks
git-svn-id: https://svn.musicpd.org/mpd/trunk@342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-21 13:47:45 +00:00
Warren Dukes 09880de539 fix for iconv
git-svn-id: https://svn.musicpd.org/mpd/trunk@339 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-21 06:17:32 +00:00
Warren Dukes 278985b2fd more fun with LOCALE and LANGINFO
git-svn-id: https://svn.musicpd.org/mpd/trunk@299 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-19 15:56:31 +00:00
Warren Dukes 2320970c6f version bump
git-svn-id: https://svn.musicpd.org/mpd/trunk@278 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-18 16:40:50 +00:00
Warren Dukes deb06d9c6f weee
git-svn-id: https://svn.musicpd.org/mpd/trunk@274 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-18 04:39:26 +00:00
Warren Dukes 84292aeaea MP4/AAC, not just AAC
git-svn-id: https://svn.musicpd.org/mpd/trunk@273 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-18 04:36:28 +00:00
Warren Dukes 91450723b2 bunch of autotool cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@271 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-18 03:29:25 +00:00
Warren Dukes e7151f941c configure script clean ups
git-svn-id: https://svn.musicpd.org/mpd/trunk@268 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-17 18:13:29 +00:00
Warren Dukes bf769906f3 import mp4ff, since its not installed correctly by faad2
git-svn-id: https://svn.musicpd.org/mpd/trunk@265 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-17 17:19:52 +00:00
Warren Dukes f114fbd437 fix a few snafoo's in configure.ac
Add initial stuff for AAC support, now we just need to write the decoder

git-svn-id: https://svn.musicpd.org/mpd/trunk@264 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-17 03:10:17 +00:00
Warren Dukes e2d2baece9 update to 0.15.1 of libmad and libid3tag
git-svn-id: https://svn.musicpd.org/mpd/trunk@196 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-04 23:19:57 +00:00
Warren Dukes 0d22fa6e64 ok, don't use AC_CHECK_LIBM, just use my own homebrewed version
git-svn-id: https://svn.musicpd.org/mpd/trunk@192 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 18:17:14 +00:00
Warren Dukes 0a79b8a808 use AC_CHECK_LIBM instead
git-svn-id: https://svn.musicpd.org/mpd/trunk@191 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 18:09:48 +00:00
Warren Dukes afa0cd7883 check to see if we need -lm
git-svn-id: https://svn.musicpd.org/mpd/trunk@190 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-03 17:57:55 +00:00
Warren Dukes 138aa54df3 make changes suggested by ruran
git-svn-id: https://svn.musicpd.org/mpd/trunk@25 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-02-24 16:16:54 +00:00