aboutsummaryrefslogtreecommitdiffstats
path: root/kde/core/arts.xml
blob: d3c637c607461d18ebd87f1d891d296029f58ce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<sect1 id="kde-core-arts" xreflabel="arts-&arts-version;">
<?dbhtml filename="arts.html" dir="kde"?>
<title>aRts-&arts-version;</title>

<para><screen>Download location (FTP):    <ulink url="&arts-download-ftp;"/>
Version used:               &arts-version;
Package size:               &arts-download-size;
Estimated build disk space: &arts-build-size;
Estimated installed space:  &arts-install-size;
Estimated build time:       &arts-build-time;</screen></para>

<para>The Analog Real-time Synthesizer (aRts) provides sound support for KDE.  
It provides necessary libraries for kdelibs.  The following package is required to install aRts:
<screen><xref linkend="qt"/></screen></para>

<para>It will use the following recommended packages, if installed:
<screen><xref linkend="alsa"/>, <xref linkend="audiofile"/>, and <xref linkend="libvorbis"/></screen></para>

<para>Before starting the build, ensure you have the
<envar>QTDIR</envar> environment variable set
<screen><userinput>export QTDIR=/opt/qt</userinput></screen></para>


<para><screen><userinput>./configure --prefix=&kde-dir; --disable-debug \
     --disable-dependency-tracking &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
ln -sfn &kde-dir; /opt/kde</userinput></screen></para>

<note><para>Another configure option is <userinput>--enable-final</userinput>. 
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><title>aRts Installation Command explanations</title>
<para><userinput>--prefix=&kde-dir;</userinput> : This option tells the
process to install the package in &kde-dir;.  We put aRts here because this
package is required before installing KDE.</para>

<para><userinput>--disable-debug</userinput> : This option causes the
system to be compiled without debugging code.
</para>

<para><userinput>--disable-dependency-tracking</userinput> : This option speeds
up one time builds.</para>

<para><userinput>ln -sfn &kde-dir; /opt/kde</userinput> : This command creates
a link for access to KDE.  If a newer version of KDE is released, the new
system can be built by changing the <userinput>--prefix</userinput> location
and then set up by changing the link as this command does.
</para>

</sect2>

<sect2><title>Configuring aRts</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:
<screen><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"</userinput>
# Begin kde addition to /etc/ld.so.conf

/opt/kde/lib

# End kde addition
<userinput>EOF
ldconfig</userinput></screen></para>
</sect2>
</sect1>