From e3994e517ebfe1623a2441f1976b5bc4e5d9a57b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 24 Apr 2017 15:32:24 +0200 Subject: [PATCH] INSTALL: merge into doc/user.xml --- INSTALL | 200 --------------------------------------------------- README.md | 3 +- doc/user.xml | 99 ++++++++++++++++++------- 3 files changed, 74 insertions(+), 228 deletions(-) delete mode 100644 INSTALL diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 78b157ed1..000000000 --- a/INSTALL +++ /dev/null @@ -1,200 +0,0 @@ - Music Player Daemon (MPD) - INSTALL - - -Introduction ------------- - -This document is a very small amount of documentation about what is needed to -install MPD. If more information is desired, read the user manual: - - http://www.musicpd.org/doc/user/ - -Dependencies ------------- - -gcc 4.7 or later - http://gcc.gnu.org/ -clang 3.2 or later - http://clang.llvm.org/ -Any other C++11 compliant compiler should also work. - -Boost 1.46 - http://www.boost.org/ - - -Optional Output Dependencies ----------------------------- - -You will need at least one of these to compile MPD. - -Most of these are available as packages on major distributions. Be sure to -install both the library package as well as the development package. - -AO - http://www.xiph.org/ao/ -A portable library that abstracts many audio output types as one API. Should -be used only if there is no native plugin available or if the native plugin -doesn't work. You will need libao. - -ALSA - http://www.alsa-project.org/ -The Advanced Linux Sound Architecture. Recommended audio output if you use -Linux. You will need libasound. - -FIFO -This is a mostly undocumented, developer plugin to transmit raw data. - -OSS - http://www.opensound.com -Open Sound System. - -PulseAudio - http://www.pulseaudio.org/ -An advanced sound daemon. You will need libpulse. - -JACK - http://www.jackaudio.org/ -A low-latency sound daemon. - -libshout - http://www.icecast.org/ -For streaming to an Icecast or Shoutcast server. -You also need an encoder: either libvorbisenc (ogg), or liblame (mp3). - -OpenAL - http://kcat.strangesoft.net/openal.html -Open Audio Library - - -Optional Input Dependencies ---------------------------- - -You will need at least one of these to compile MPD. - -Most of these are available as packages on major distributions. Be sure to -install both the library package as well as the development package. - -MAD - http://www.underbit.com/products/mad/ -For MP3 support. You will need libmad, and optionally libid3tag if you want -ID3 tag support. - -libmpg123 - http://www.mpg123.de/ -Alternative for MP3 support. - -Ogg Vorbis - http://www.xiph.org/ogg/vorbis/ -For Ogg Vorbis support. You will need libogg and libvorbis. - -libopus - http://www.opus-codec.org/ -Opus codec support - -FLAC - http://flac.sourceforge.net/ -For FLAC support. You will need version 1.2 or higher of libFLAC. - -Audio File - http://www.68k.org/~michael/audiofile/ -For WAVE, AIFF, and AU support. You will need libaudiofile. - -FAAD2 - http://www.audiocoding.com/ -For MP4/AAC support. - -libmpcdec - http://www.musepack.net/ -For Musepack support. - -MikMod - http://mikmod.raphnet.net/ -For MOD support. You will need libmikmod. - -libavcodec, libavformat (ffmpeg or libav) - http://ffmpeg.mplayerhq.hu/ http://libav.org/ -Multi-codec library. - -libsidplay2 - http://sidplay2.sourceforge.net/ -For C64 SID support. - -libfluidsynth - http://fluidsynth.resonance.org/ -For MIDI support. - -libwildmidi 0.2.3 - http://wildmidi.sourceforge.net/ -For MIDI support. - -libsndfile - http://www.mega-nerd.com/libsndfile/ -WAVE, AIFF, and many others. - -libwavpack - http://www.wavpack.com/ -For WavPack playback. - -libadplug - http://adplug.sourceforge.net/ -For AdLib playback. - - -Optional Miscellaneous Dependencies ------------------------------------ - -libsamplerate - http://www.mega-nerd.com/SRC/ -For advanced samplerate conversions. - -libcurl - http://curl.haxx.se/ -For playing HTTP streams. - -libmms - https://launchpad.net/libmms -For playing MMS streams. - -libcdio - http://www.gnu.org/software/libcdio/ -For playing audio CDs. - -libsystemd-daemon - http://freedesktop.org/wiki/Software/systemd/ -For systemd activation. - - -pkg-config ----------- - -MPD uses pkg-config to locate most external libraries. If you do not -have pkg-config, or if your version of the library does not ship the -".pc" file, you have to provide the library's build options in -environment variables. These variables are documented in "./configure ---help". Example: - - FLAC_CFLAGS=-I/usr/include/FLAC FLAC_LIBS=-lFLAC ./configure - - -Download --------- - -Get the latest release from of MPD from . - -Compile -------- - -1) unpack the archive - -$ tar xf mpd-x.x.x.tar.xz - -2) change to directory created - -$ cd mpd-x.x.x - -3) Run configure script (this will determine what dependencies you have) - -$ ./configure - -4) Compile - -$ make - -Install (Optional) -------- - -(as root) -$ make install - -Run ---- - -1) run mpd: - -$ mpd - -First default is $XDG_CONFIG_HOME/mpd/mpd.conf then ~/.mpdconf then -~/.mpd/mpd.conf then /etc/mpd.conf. If neither of these exist a mpd -configuration file must be specified at runtime. - -A sample config file is included with the source of MPD, mpdconf.example. - -The first time MPD is run it will attempt to discover all music in your -music root, recursively. This can be affected by the symbolic link -options specified in the example mpd.conf. - -Using MPD ---------- - -You can download many different interfaces for MPD at - - http://www.musicpd.org/clients/ diff --git a/README.md b/README.md index f605dd461..ea588710d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely. -For basic installation information see the INSTALL file. +For basic installation instructions +[read the manual](https://www.musicpd.org/doc/user/install.html). # Users diff --git a/doc/user.xml b/doc/user.xml index c19ef8db1..9a93123f3 100644 --- a/doc/user.xml +++ b/doc/user.xml @@ -80,8 +80,35 @@ cd mpd-version - Make sure that all the required libraries and build tools are - installed. The INSTALL file has a list. + In any case, you need: + + + + + + a C++14 compiler (e.g. gcc 4.9 or clang 3.9) + + + + + + Boost 1.46 + + + + + + pkg-config + + + + + + Each plugin usually needs a codec library, which you also need + to install. Check the plugin reference for details about + required libraries. @@ -2161,7 +2188,9 @@ run <varname>cdio_paranoia</varname> - Plays audio CDs. The URI has the form: + Plays audio CDs using libcdio. + The URI has the form: "cdda://[DEVICE][/TRACK]". The simplest form cdda:// plays the whole disc in the default drive. @@ -2197,7 +2226,8 @@ run <varname>curl</varname> - Opens remote files or streams over HTTP. + Opens remote files or streams over HTTP using libcurl. @@ -2290,7 +2320,8 @@ run <varname>mms</varname> - Plays streams with the MMS protocol. + Plays streams with the MMS protocol using libmms. @@ -2346,7 +2377,8 @@ run <varname>adplug</varname> - Decodes AdLib files. + Decodes AdLib files using libadplug. @@ -2377,8 +2409,8 @@ run <varname>audiofile</varname> - Decodes WAV and AIFF files using - libaudiofile. + Decodes WAV and AIFF files using libaudiofile. @@ -2386,7 +2418,8 @@ run <varname>faad</varname> - Decodes AAC files using libfaad. + Decodes AAC files using libfaad. @@ -2394,8 +2427,8 @@ run <varname>ffmpeg</varname> - Decodes various codecs using - FFmpeg. + Decodes various codecs using FFmpeg. @@ -2446,7 +2479,7 @@ run Decodes FLAC files using - libFLAC. + libFLAC. @@ -2566,7 +2599,8 @@ run <varname>mad</varname> - Decodes MP3 files using libmad. + Decodes MP3 files using libmad. @@ -2646,8 +2680,8 @@ run <varname>mpcdec</varname> - Decodes Musepack files using - libmpcdec. + Decodes Musepack files using libmpcdec. @@ -2655,7 +2689,17 @@ run <varname>mpg123</varname> - Decodes MP3 files using libmpg123. + Decodes MP3 files using libmpg123. + + + +
+ <varname>opus</varname> + + + Decodes Opus files using libopus.
@@ -2675,8 +2719,8 @@ run <varname>sidplay</varname> - C64 SID decoder based on - libsidplay. + C64 SID decoder based on libsidplay. @@ -2732,8 +2776,8 @@ run <varname>sndfile</varname> - Decodes WAV and AIFF files using - libsndfile. + Decodes WAV and AIFF files using libsndfile. @@ -2741,8 +2785,8 @@ run <varname>vorbis</varname> - Decodes Ogg-Vorbis files using - libvorbis. + Decodes Ogg-Vorbis files using libvorbis. @@ -2751,7 +2795,7 @@ run Decodes WavPack files using - libwavpack. + libwavpack. @@ -3575,7 +3619,7 @@ run -
+
<varname>jack</varname> @@ -3855,7 +3899,7 @@ run
-
+
<varname>openal</varname> @@ -4006,7 +4050,7 @@ run The pulse plugin connects to a PulseAudio - server. + server. Requires libpulse. @@ -4194,7 +4238,8 @@ run url="http://www.shoutcast.com/">ShoutCast or IceCast - server. It forwards tags to this server. + server using libshout. It forwards + tags to this server.