mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
50b692dd00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4518 af4574ff-66df-0310-9fd7-8a98e5e911e0
251 lines
7.9 KiB
XML
251 lines
7.9 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!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">
|
|
<!ENTITY nas-md5sum "c9918e9c9c95d587a95b455bbabe3b49">
|
|
<!ENTITY nas-size "1.2 MB">
|
|
<!ENTITY nas-buildsize "17.1 MB">
|
|
<!ENTITY nas-time "0.31 SBU">
|
|
]>
|
|
|
|
<sect1 id="nas" xreflabel="NAS-&nas-version;">
|
|
<?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>
|
|
|
|
<para>The Network Audio System is a network transparent, client/server audio
|
|
transport system used to read , write and play audio files in many formats
|
|
including <filename>.au</filename>, <filename>.snd</filename>,
|
|
<filename>.voc</filename>, <filename>.wav</filename>,
|
|
<filename>.aiff</filename>, <filename>.aif</filename> and
|
|
<filename>.iff</filename>. It can be described as the audio equivalent of an
|
|
<application>X</application> server.</para>
|
|
|
|
<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>
|
|
<para>Required Patch: <ulink
|
|
url="&patch-root;/nas-&nas-version;-bison_fix-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
-->
|
|
|
|
<bridgehead renderas="sect3">NAS Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of NAS</title>
|
|
|
|
<para>Install <application>NAS</application> by running the
|
|
following commands:</para>
|
|
|
|
<screen><userinput>xmkmf &&
|
|
make World</userinput></screen>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install install.man</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><command>xmkmf</command>; <command>make World</command>:
|
|
These commands use the standard for compiling <application>X</application>
|
|
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>
|
|
|
|
<para>Create the <application>NAS</application> configuration file using the
|
|
following command:</para>
|
|
|
|
<screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
|
|
|
|
<para>Edit the new configuration file to suit your network and system
|
|
needs.</para>
|
|
|
|
</sect3>
|
|
|
|
<sect3 id="nas-init">
|
|
<title>Boot Script</title>
|
|
|
|
<para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
|
|
included in the <xref linkend="intro-important-bootscripts"/>
|
|
package.</para>
|
|
|
|
<indexterm zone="nas nas-init">
|
|
<primary sortas="f-nas">nas</primary>
|
|
</indexterm>
|
|
|
|
<screen role="root"><userinput>make install-nas</userinput></screen>
|
|
|
|
<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 other available
|
|
parameters if you need to modify the script.</para>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel, auphone,
|
|
auplay, aurecord, auscope, autool, auwave, checkmail, issndfile, nasd,
|
|
playbucket, and soundtoh</seg>
|
|
<seg>libaudio.[so,a]</seg>
|
|
<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">
|
|
<term><command>au[utilities]</command></term>
|
|
<listitem>
|
|
<para>are a collection of tools to convert, play, edit, record,
|
|
and manipulate sound files. See the respective man page for each utility
|
|
for a full description of each one.</para>
|
|
<indexterm zone="nas au-utilities">
|
|
<primary sortas="b-au-utilities">au[utilities]</primary>
|
|
</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>
|
|
<para>plays, or creates, the bucket corresponding to the
|
|
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">
|
|
<term><filename class='libraryfile'>libaudio.[so,a]</filename></term>
|
|
<listitem>
|
|
<para>contains API functions to read and write audio files.</para>
|
|
<indexterm zone="nas libaudio">
|
|
<primary sortas="c-libaudio">libaudio.[so,a]</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|