<?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 gnome-media-download-http "&gnome-download-http;/gnome-media/2.32/gnome-media-&gnome-media-version;.tar.bz2">
  <!ENTITY gnome-media-download-ftp  "&gnome-download-ftp;/gnome-media/2.32/gnome-media-&gnome-media-version;.tar.bz2">
  <!ENTITY gnome-media-md5sum        "06fc8c67add34c98bc484e0dbc404d41">
  <!ENTITY gnome-media-size          "2.7 MB">
  <!ENTITY gnome-media-buildsize     "38 MB">
  <!ENTITY gnome-media-time          "0.5 SBU">
]>

<sect1 id="gnome-media" xreflabel="GNOME Media-&gnome-media-version;">
  <?dbhtml filename="gnome-media.html"?>

  <sect1info>
    <othername>$LastChangedBy$</othername>
    <date>$Date$</date>
  </sect1info>

  <title>GNOME Media-&gnome-media-version;</title>

  <indexterm zone="gnome-media">
    <primary sortas="a-GNOME Media">GNOME Media</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to GNOME Media</title>

    <para>The <application>GNOME Media</application> package contains
    <application>GNOME</application>'s media applications.</para>

    &lfs70_checked;

    <para>This is a legacy GNOME-2 package which has been deprecated by the
    GNOME developers and will be removed from the book in due course. If you
    are not building a GNOME desktop, this can provide a volume control / mixer
    application, but you may wish to consider simpler alternatives:</para>

    <para><ulink url="http://volumecontrol.sourceforge.net/">volumecontrol</ulink>,
    is a simple volume control and mixer which requires
    <xref linkend="gtk2"/>, and
    <xref linkend="alsa-utils"/>. Use ./autogen.sh to configure it.</para>

    <para><ulink url="http://gvolwheel.sourceforge.net/">gvolwheel</ulink>
    provides a volume control in a tray icon, for minimalist desktops. It uses
    <xref linkend="intltool"/>, <xref linkend="perl-xml-parser"/>, and there are
    different versions for <xref linkend="gtk2"/> (0.7) or
    <xref linkend="gtk3"/> (0.9).</para>

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

    <bridgehead renderas="sect3">GNOME Media Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="libcanberra"/>,
      <xref linkend="GConf"/>,
      <xref linkend="gnome-doc-utils"/>
      <xref linkend="gstreamer"/>,
      <xref linkend="gtk2"/>, and
      <xref linkend="which"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="gst-plugins-base"/> (required to build the sound mixer and
         recorder),
      <xref linkend="libglade"/>,
      <!-- libunique in the book will be updated to 3.0 during the gnome-3 changes,
      that version is too new -->
      <xref linkend="pulseaudio"/> (with
      <ulink url="&gnome-download-http;/libunique/1.1/libunique-1.1.6.tar.bz2">libunique-1</ulink>),
      and <xref linkend="rarian"/>
    </para>

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

  </sect2>

  <sect2 role="installation">
    <title>Installation of GNOME Media</title>

    <para>Install <application>GNOME Media</application> by
    running the following commands:</para>

<screen><userinput>./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
            --sysconfdir=&gnome-old-etc-dir; \
            --localstatedir=/var/lib \
            --libexecdir=$(pkg-config \
                --variable=prefix ORBit-2.0)/lib/gnome-media &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>

  </sect2>

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

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/gnome-old-prefix.xml"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/gnome-old-sysconfdir.xml"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../../xincludes/scrollkeeper-dir.xml"/>

    <para><parameter>--libexecdir=$(pkg-config --variable=prefix
    ORBit-2.0)/lib/gnome-media</parameter>: This parameter causes the libexec
    files to be installed in the preferred location of
    <filename class="directory">$GNOME_PREFIX/lib/gnome-media</filename> instead
    of <filename class="directory">$GNOME_PREFIX/libexec</filename>.</para>

    <para><option>--disable-scrollkeeper</option>: Use this parameter if you
    wish to disable the updates to the scrollkeeper database.</para>

  </sect2>

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

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

      <seglistitem>
        <seg>gnome-audio-profiles-properties, gnome-sound-recorder,
        gnome-volume-control, and gstreamer-properties</seg>
        <seg>libgnome-media-profiles.{so,a}</seg>
        <seg><envar>$GNOME_PREFIX</envar>/{include/gnome-media/profiles,
        share/{gnome-media/{pixmaps,sounds},gnome-sound-recorder/ui,
        gnome/help/{gnome-audio-profiles/*,gnome-sound-recorder/*,
        gnome-volume-control/*,gstreamer-properties/*},
        gstreamer-properties/icons,omf/{gnome-audio-profiles,
        gnome-sound-recorder,gnome-volume-control,gstreamer-properties},
        sounds/gnome/default/alerts}}</seg>
      </seglistitem>
    </segmentedlist>

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

      <varlistentry id="gnome-sound-recorder">
        <term><command>gnome-sound-recorder</command></term>
        <listitem>
          <para>is <application>GNOME</application>'s recorder.</para>
          <indexterm zone="gnome-media gnome-sound-recorder">
            <primary sortas="b-gnome-sound-recorder">gnome-sound-recorder</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="gnome-volume-control">
        <term><command>gnome-volume-control</command></term>
        <listitem>
          <para>is <application>GNOME</application>'s mixer with volume
          applet.</para>
          <indexterm zone="gnome-media gnome-volume-control">
            <primary sortas="b-gnome-volume-control">gnome-volume-control</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="gstreamer-properties">
        <term><command>gstreamer-properties</command></term>
        <listitem>
          <para>is a GUI front-end to <application>GStreamer</application>'s
          audio/video input/output parameters.</para>
          <indexterm zone="gnome-media gstreamer-properties">
            <primary sortas="b-gstreamer-properties">gstreamer-properties</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>