2005-05-12 03:18:58 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-06-29 06:09:39 +08:00
|
|
|
|
2006-04-27 18:48:30 +08:00
|
|
|
<!-- Inserted as a reminder to do this. The mention of a test suite
|
|
|
|
is usually right before the root user installation commands. Please
|
|
|
|
delete these 12 (including one blank) lines after you are done.-->
|
|
|
|
|
|
|
|
<!-- Use one of the two mentions below about a test suite,
|
|
|
|
delete the line that is not applicable. Of course, if the
|
|
|
|
test suite uses syntax other than "make check", revise the
|
|
|
|
line to reflect the actual syntax to run the test suite -->
|
|
|
|
|
|
|
|
<!-- <para>This package does not come with a test suite.</para> -->
|
|
|
|
<!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
|
|
|
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY nas-download-http "http://nas.codebrilliance.com/nas/nas-&nas-version;.src.tar.gz">
|
|
|
|
<!ENTITY nas-download-ftp "ftp://ftp.us.xemacs.org/pub/xemacs/aux/nas-&nas-version;.src.tar.gz">
|
2005-04-20 05:05:51 +08:00
|
|
|
<!ENTITY nas-md5sum "c9918e9c9c95d587a95b455bbabe3b49">
|
|
|
|
<!ENTITY nas-size "1.2 MB">
|
2005-09-10 08:23:21 +08:00
|
|
|
<!ENTITY nas-buildsize "17.8 MB">
|
2006-05-18 22:50:56 +08:00
|
|
|
<!ENTITY nas-time "0.3 SBU">
|
2004-06-14 07:30:44 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-15 23:59:34 +08:00
|
|
|
<sect1 id="nas" xreflabel="NAS-&nas-version;">
|
2005-05-12 03:18:58 +08:00
|
|
|
<?dbhtml filename="nas.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>NAS-&nas-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="nas">
|
|
|
|
<primary sortas="a-NAS">NAS</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to NAS</title>
|
|
|
|
|
2006-06-22 00:26:07 +08:00
|
|
|
<para>The Network Audio System is a network transparent, client/server
|
|
|
|
audio transport system used to read , write and play audio files in many
|
2006-05-18 13:36:34 +08:00
|
|
|
formats including <filename>.au</filename>, <filename>.snd</filename>,
|
2005-05-31 05:53:21 +08:00
|
|
|
<filename>.voc</filename>, <filename>.wav</filename>,
|
|
|
|
<filename>.aiff</filename>, <filename>.aif</filename> and
|
2006-06-22 00:26:07 +08:00
|
|
|
<filename>.iff</filename>. It can be described as the audio equivalent
|
2006-05-18 13:36:34 +08:00
|
|
|
of an <application>X</application> server.</para>
|
2005-05-12 03:18:58 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&nas-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&nas-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &nas-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &nas-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &nas-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &nas-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem>
|
2005-05-31 05:53:21 +08:00
|
|
|
<para>Required Patch: <ulink
|
2005-09-10 08:23:21 +08:00
|
|
|
url="&patch-root;/nas-&nas-version;-gcc4-1.patch"/></para>
|
2005-05-12 03:18:58 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2005-05-12 03:53:54 +08:00
|
|
|
<bridgehead renderas="sect3">NAS Dependencies</bridgehead>
|
2005-05-12 03:18:58 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2006-05-18 22:50:56 +08:00
|
|
|
<para role="required"><xref linkend="x-window-system"/> and
|
2006-05-19 00:11:53 +08:00
|
|
|
<xref linkend="rman"/> (if using <application>Xorg7</application>)</para>
|
2005-05-12 03:18:58 +08:00
|
|
|
|
2006-04-11 02:37:19 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/nas"/></para>
|
|
|
|
|
2005-05-12 03:18:58 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of NAS</title>
|
|
|
|
|
2005-05-31 05:53:21 +08:00
|
|
|
<para>Install <application>NAS</application> by running the
|
2005-05-12 03:18:58 +08:00
|
|
|
following commands:</para>
|
|
|
|
|
2005-09-10 08:23:21 +08:00
|
|
|
<screen><userinput>patch -Np1 -i ../nas-&nas-version;-gcc4-1.patch &&
|
|
|
|
xmkmf &&
|
2005-05-12 03:18:58 +08:00
|
|
|
make World</userinput></screen>
|
|
|
|
|
2006-06-22 00:26:07 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem>
|
2006-05-18 13:36:34 +08:00
|
|
|
user:</para>
|
2005-05-12 03:18:58 +08:00
|
|
|
|
2005-09-10 08:23:21 +08:00
|
|
|
<screen role="root"><userinput>make install install.man &&
|
|
|
|
install -v -m755 -d /usr/share/doc/nas-&nas-version;/pdf &&
|
|
|
|
install -v -m644 doc/pdf/* /usr/share/doc/nas-&nas-version;/pdf &&
|
|
|
|
install -v -m644 doc/{README,actions,*.{ps,txt}} \
|
|
|
|
/usr/share/doc/nas-&nas-version;</userinput></screen>
|
2005-05-12 03:18:58 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2005-05-31 05:53:21 +08:00
|
|
|
<para><command>xmkmf</command>; <command>make World</command>:
|
2005-05-30 23:59:12 +08:00
|
|
|
These commands use the standard for compiling <application>X</application>
|
2005-05-12 03:18:58 +08:00
|
|
|
based applications.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="configuration">
|
|
|
|
<title>Configuring NAS</title>
|
|
|
|
|
|
|
|
<sect3 id="nas-config">
|
|
|
|
<title>Config Files</title>
|
|
|
|
|
|
|
|
<para><filename>/etc/nas/nasd.conf</filename></para>
|
|
|
|
|
|
|
|
<indexterm zone="nas nas-config">
|
|
|
|
<primary sortas="e-etc-nas-nasd.conf">/etc/nas/nasd.conf</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Configuration Information</title>
|
|
|
|
|
2006-06-22 00:26:07 +08:00
|
|
|
<para>Create the <application>NAS</application> configuration file
|
2006-05-18 13:36:34 +08:00
|
|
|
using the following command:</para>
|
2005-05-12 03:18:58 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
|
|
|
|
|
2005-05-31 05:53:21 +08:00
|
|
|
<para>Edit the new configuration file to suit your network and system
|
2005-05-12 03:18:58 +08:00
|
|
|
needs.</para>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 id="nas-init">
|
|
|
|
<title>Boot Script</title>
|
|
|
|
|
2006-05-19 00:11:53 +08:00
|
|
|
<note><para>The <application>NAS</application> server cannot run
|
|
|
|
simultaneously with other sound servers, such as <ulink
|
|
|
|
url="http://www.mediaapplicationserver.net/">MAS</ulink> or <ulink
|
|
|
|
url="http://jackit.sourceforge.net/">JACK</ulink>.</para></note>
|
2006-05-18 22:50:56 +08:00
|
|
|
|
2005-05-12 03:18:58 +08:00
|
|
|
<para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
|
2005-12-29 09:38:36 +08:00
|
|
|
included in the <xref linkend="bootscripts"/>
|
2005-05-12 03:18:58 +08:00
|
|
|
package.</para>
|
|
|
|
|
|
|
|
<indexterm zone="nas nas-init">
|
|
|
|
<primary sortas="f-nas">nas</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install-nas</userinput></screen>
|
|
|
|
|
2006-06-22 00:26:07 +08:00
|
|
|
<para>The init script uses a default prefix of
|
2006-05-18 13:36:34 +08:00
|
|
|
<filename class="directory">/usr/X11R6</filename>. If you've installed
|
|
|
|
the X Window System into any other prefix, execute the following command
|
|
|
|
to correct the script:</para>
|
|
|
|
|
2006-06-21 00:58:50 +08:00
|
|
|
<screen role="root"><userinput>sed -i 's@/usr/X11R6@<replaceable><PREFIX></replaceable>@' /etc/rc.d/init.d/nas</userinput></screen>
|
2006-05-18 13:36:34 +08:00
|
|
|
|
2006-06-22 00:26:07 +08:00
|
|
|
<para>The init script uses a default parameter to allow access to all
|
|
|
|
hosts on the network. Review the <command>nasd</command> man page for
|
2006-05-18 13:36:34 +08:00
|
|
|
other available parameters if you need to modify the script.</para>
|
2005-05-12 03:18:58 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2006-06-22 00:26:07 +08:00
|
|
|
<seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel,
|
|
|
|
auphone, auplay, aurecord, auscope, autool, auwave, checkmail,
|
2006-05-18 13:36:34 +08:00
|
|
|
issndfile, nasd, playbucket, and soundtoh</seg>
|
2006-04-11 02:37:19 +08:00
|
|
|
<seg>libaudio.{so,a}</seg>
|
2005-05-12 03:18:58 +08:00
|
|
|
<seg>/etc/nas and /usr/X11R6/include/audio</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="au-utilities">
|
2006-04-11 02:37:19 +08:00
|
|
|
<term><command>au{utilities}</command></term>
|
2005-05-12 03:18:58 +08:00
|
|
|
<listitem>
|
2005-05-31 05:53:21 +08:00
|
|
|
<para>are a collection of tools to convert, play, edit, record,
|
2006-06-22 00:26:07 +08:00
|
|
|
and manipulate sound files. See the respective man page for each
|
2006-05-18 13:36:34 +08:00
|
|
|
utility for a full description of each one.</para>
|
2005-05-12 03:18:58 +08:00
|
|
|
<indexterm zone="nas au-utilities">
|
2006-04-11 02:37:19 +08:00
|
|
|
<primary sortas="b-au-utilities">au{utilities}</primary>
|
2005-05-12 03:18:58 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="checkmail">
|
|
|
|
<term><command>checkmail</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>plays a sound file when the user receives mail.</para>
|
|
|
|
<indexterm zone="nas checkmail">
|
|
|
|
<primary sortas="b-checkmail">checkmail</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="issndfile">
|
|
|
|
<term><command>issndfile</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>checks if a file is in a recognized audio file format.</para>
|
|
|
|
<indexterm zone="nas issndfile">
|
|
|
|
<primary sortas="b-issndfile">issndfile</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="nasd">
|
|
|
|
<term><command>nasd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is the Network Audio System server daemon.</para>
|
|
|
|
<indexterm zone="nas nasd">
|
|
|
|
<primary sortas="b-nasd">nasd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="playbucket">
|
|
|
|
<term><command>playbucket</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:53:21 +08:00
|
|
|
<para>plays, or creates, the bucket corresponding to the
|
2005-05-12 03:18:58 +08:00
|
|
|
specified file.</para>
|
|
|
|
<indexterm zone="nas playbucket">
|
|
|
|
<primary sortas="b-playbucket">playbucket</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="soundtoh">
|
|
|
|
<term><command>soundtoh</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>converts a sound file to a C language header file.</para>
|
|
|
|
<indexterm zone="nas soundtoh">
|
|
|
|
<primary sortas="b-soundtoh">soundtoh</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libaudio">
|
2006-04-11 02:37:19 +08:00
|
|
|
<term><filename class='libraryfile'>libaudio.{so,a}</filename></term>
|
2005-05-12 03:18:58 +08:00
|
|
|
<listitem>
|
|
|
|
<para>contains API functions to read and write audio files.</para>
|
|
|
|
<indexterm zone="nas libaudio">
|
2006-04-11 02:37:19 +08:00
|
|
|
<primary sortas="c-libaudio">libaudio.{so,a}</primary>
|
2005-05-12 03:18:58 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2003-02-11 04:33:55 +08:00
|
|
|
|
|
|
|
</sect1>
|