glfs/kde/core/arts.xml
Igor Živković 0f7ddd7dc1 kde update - part 1
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1806 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-02-15 08:24:56 +00:00

106 lines
3.6 KiB
XML

<sect1 id="kde-core-arts" xreflabel="aRts-&arts-version;">
<?dbhtml filename="arts.html" dir="kde"?>
<title>aRts-&arts-version;</title>
<sect2><title>Introduction to <application><acronym>aRts</acronym></application></title>
<para>The Analog Real-time Synthesizer (<acronym>aRts</acronym>)
provides sound support for <acronym>KDE</acronym>. It provides necessary
libraries for kdelibs.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink url="&arts-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink url="&arts-download-ftp;"/></para></listitem>
<listitem><para>Download size: &arts-size;</para></listitem>
<listitem><para>Estimated Disk space required: &arts-buildsize;</para></listitem>
<listitem><para>Estimated build time: &arts-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>aRts</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="qt"/></para></sect4>
<sect4><title>Optional</title>
<para>
<xref linkend="libogg"/>,
<xref linkend="libvorbis"/>,
<xref linkend="alsa"/>,
<xref linkend="audiofile"/>,
<xref linkend="pkgconfig"/>,
<xref linkend="GLib2"/>,
<xref linkend="libmad"/>,
<xref linkend="esound"/> and
<ulink url="http://www.mediaapplicationserver.net/">MAS</ulink>
</para></sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>aRts</application></title>
<para>Before starting the build, ensure you have the
<envar>QTDIR</envar> environment variable set:</para>
<screen><userinput><command>export QTDIR=/opt/qt</command></userinput></screen>
<para>Install <application>aRts</application> by running the
following commands:</para>
<screen><userinput><command>./configure --prefix=&kde-dir; --disable-debug \
--disable-dependency-tracking &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
ln -sfn &kde-dir; /opt/kde</command></userinput></screen>
<note><para>Another configure option is <parameter>--enable-final</parameter>.
This option can speed up the build process, but requires a lot of memory. If
you have less than 256MB of RAM, this option may cause swapping and
significantly slow compilation.</para></note>
</sect2>
<sect2><title>Command explanations</title>
<para><parameter>--prefix=&kde-dir;</parameter> : This option tells the
process to install the package in <filename
class="directory">&kde-dir;</filename>. We put aRts here because this
package is required before installing <acronym>KDE</acronym>.</para>
<para><parameter>--disable-debug</parameter> : This option causes the
system to be compiled without debugging code.
</para>
<para><parameter>--disable-dependency-tracking</parameter> : This option speeds
up one time builds.</para>
<para><command>ln -sfn &kde-dir; /opt/kde</command> : This parameter creates
a link for access to <acronym>KDE</acronym>. If a newer version of
<acronym>KDE</acronym> is released, the new
system can be built by changing the <parameter>--prefix</parameter> location
and then set up by changing the link as this parameter does.
</para>
</sect2>
<sect2><title>Configuring aRts</title>
<sect3><title>Configuration Information</title>
<para>The library directory <filename class="directory">/opt/kde/lib</filename>
should appear in <filename>/etc/ld.so.conf</filename>
so that ldd can find the shared libraries. The following command will add it
if it is missing:</para>
<screen><userinput><command>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
# Begin kde addition to /etc/ld.so.conf
/opt/kde/lib
# End kde addition
EOF
ldconfig</command></userinput></screen>
</sect3>
</sect2>
</sect1>