<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY audacious-download-http
           "http://distfiles.audacious-media-player.org/audacious-&audacious-version;.tar.bz2">
  <!ENTITY audacious-download-ftp         " ">
  <!ENTITY audacious-md5sum               "8705fa8ac872e7d9f4b4ad867a0d1937">
  <!ENTITY audacious-size                 "440 KB">
  <!ENTITY audacious-buildsize            "14 MB">
  <!ENTITY audacious-time                 "0.2 SBU">

  <!ENTITY audacious-plugins-download
           "http://distfiles.audacious-media-player.org/audacious-plugins-&audacious-plugins-version;.tar.bz2">
  <!ENTITY audacious-plugins-md5sum       "1ba5ef956eb7b4018ff6a9f2ea404354">
  <!ENTITY audacious-plugins-size         "1.7 MB">
  <!ENTITY audacious-plugins-buildsize    "41 MB">
  <!ENTITY audacious-plugins-time         "0.5 SBU">
]>

<sect1 id="audacious" xreflabel="Audacious-&audacious-version;">
  <?dbhtml filename="audacious.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-02-27 19:21:33 -0500 (Fri, 27 Feb 2015) $</date>
  </sect1info>

  <title>Audacious-&audacious-version;</title>

  <indexterm zone="audacious">
    <primary sortas="a-Audacious">Audacious</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to Audacious</title>

    <para>
      <application>Audacious</application> is a <application>GTK+</application>
      based audio player.
    </para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&audacious-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&audacious-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &audacious-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &audacious-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &audacious-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &audacious-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    <itemizedlist spacing="compact">
    <title>Required Plugins</title>
      <listitem>
        <para>
          Download (HTTP): <ulink url="&audacious-plugins-download;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &audacious-plugins-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &audacious-plugins-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &audacious-plugins-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &audacious-plugins-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Audacious Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="gtk3"/>,
      <xref linkend="libxml2"/> (plugins),
      <xref linkend="xorg-env"/> (plugins), and
      <xref linkend="x-window-system"/> (runtime)
    </para>

    <bridgehead renderas="sect4">Recommended</bridgehead>
    <para role="optional">
      <xref linkend="alsa"/> and
      <xref linkend="dbus"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="valgrind"/>,
      <xref linkend="pcre"/> or
      <ulink url="http://www.geocities.jp/kosako3/oniguruma/">Oniguruma</ulink> and
      <ulink url="http://www.atheme.org/project/libguess">libguess</ulink>
    </para>

    <bridgehead renderas="sect4">Optional (for Plugins)</bridgehead>
    <para role="optional">
      <xref linkend="curl"/>,
      <xref linkend="neon"/> (for online mpg3 and ogg radio),
      <xref linkend="lame"/>,
      <xref linkend="flac"/>,
      <xref linkend="libvorbis"/>,
      <xref linkend="faad2"/>,
      <xref linkend="ffmpeg"/>,
      <xref linkend="sdl"/>,
      <xref linkend="mpg123"/>,
      <xref linkend="libnotify"/>,
      <xref linkend='pulseaudio'/>,
      <xref linkend="libsndfile"/>,
      <xref linkend='libsamplerate'/>,
      <ulink url="http://www.lirc.org/">LIRC</ulink>,
      <ulink url="http://ftp.gnu.org/gnu/libcdio/">libcdio</ulink>
      (both libcdio and libcdio-paranoia are needed to play CDs),
      <ulink url="http://libcddb.sourceforge.net/">libcddb</ulink>
      (to identify CDs),
      <ulink url="http://sourceforge.net/projects/modplug-xmms/">libmodplug</ulink>,
      <ulink url="http://sourceforge.net/projects/libmms">libmms</ulink>,
      <ulink url="http://jackit.sourceforge.net/">JACK</ulink>
      (requires <xref linkend="libsamplerate"/>),
      <ulink url="http://sourceforge.net/apps/trac/fluidsynth/">FluidSynth</ulink>,
      <ulink url="http://sourceforge.net/projects/libcue/">libcue</ulink>,
      <ulink url="http://sourceforge.net/projects/bs2b/">The Bauer
      stereophonic-to-binaural DSP (bs2b) library</ulink>,
      <ulink url="http://sourceforge.net/projects/libbinio/">libbinio</ulink>
      (to build the AdPlug plugin), and
      <ulink url="http://www.wavpack.com/">WavPack</ulink>
    </para>

    <para condition="html" role="usernotes">
      User Notes: <ulink url="&blfs-wiki;/audacious"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of Audacious</title>

    <para>
      Install <application>Audacious</application> by running the following
      commands (you may wish to change the stamp to another string):
    </para>

<screen><userinput>TPUT=/bin/true ./configure --prefix=/usr \
                           --with-buildstamp="BLFS" &amp;&amp;
make</userinput></screen>
<!--
    <para>
      If you have <xref linkend="doxygen"/> installed and wish to build the
      API documentation, issue <command>doxygen</command>.
    </para>-->

    <para>
      This package does not come with a test suite.
    </para>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>make install</userinput></screen>
<!--
    <para>
      If you built the API documentation, install it as the
      <systemitem class="username">root</systemitem> user by issuing:
    </para>

<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/audacious-&audacious-version;/api &amp;&amp;
install -v -m644    doc/html/* \
                    /usr/share/doc/audacious-&audacious-version;/api</userinput></screen>-->
  </sect2>

  <sect2 role="installation">
    <title>Installation of Audacious Plugins</title>
<!--
    <note>
      <para>
        If <application>Xorg</application> is not installed in
        <filename class="directory">/usr</filename>, tell the linker
        where to find it:
      </para>

<screen><userinput>export LIBRARY_PATH=$XORG_PREFIX/lib</userinput></screen>

    </note>-->

    <para>
      Install the required plugins package by unpacking the tarball, changing
      into the newly created directory, and issuing the following
      commands:
    </para>

<screen><userinput>TPUT=/bin/true ./configure --prefix=/usr &amp;&amp;
make</userinput></screen>

    <para>
      This package does not come with a test suite.
    </para>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>make install</userinput></screen>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="../../xincludes/update-icons-and-desktop.xml"/>
  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <para>
      <parameter>TPUT=/bin/true</parameter>: the default is for
      <command>make</command> to output text in color. This is fine if you're
      building in a terminal, but if you script the build process and pipe the
      output from <command>make</command> to a log file then the control
      characters used to color the text can make the logfile unreadable. This
      option stops it coloring the text.
    </para>

    <para><parameter>--with-buildstamp</parameter>: This switch appends 
    the given text to the version string.</para>

    <para><option>--disable-mp3</option>: Use this for the plugins if you have
    not installed mpg123 and do not wish to play mp3 files.</para>

    <para><option>--enable-valgrind</option>: Allow better Valgrind leak checks.</para>

  </sect2>

  <sect2 role="configuration">
    <title>Configuring Audacious</title>

    <para>
      If you prefer the old, smaller Winamp/XMMS interface, click on View&gt;
      Interface&gt; Winamp Classic Interface.
    </para>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          audacious and audtool
        </seg>
        <seg>
          libaudcore.so, libaudgui.so, libaudtag.so, and several plugin
          libraries under /usr/lib/audacious/ sub-directories
        </seg>
        <seg>
          /usr/include/audacious,
          /usr/include/libaudcore,
          /usr/include/libaudgui,
          /usr/lib/audacious and
          /usr/share/audacious
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="audacious-prog">
        <term><command>audacious</command></term>
        <listitem>
          <para>
            is a GTK+2 port of <application>XMMS</application> based on the
            <application>Beep Media Player</application>.
          </para>
          <indexterm zone="audacious audacious-prog">
            <primary sortas="b-audacious">audacious</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="audtool">
        <term><command>audtool</command></term>
        <listitem>
          <para>
            is a small tool to modify the behavior of a running
            <command>audacious</command> instance.
          </para>
          <indexterm zone="audacious audtool">
            <primary sortas="b-audtool">audtool</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
