[d488004] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[48b7295] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[4f6275fd] | 6 |
|
---|
[48b7295] | 7 | <!ENTITY nas-download-http "http://nas.codebrilliance.com/nas/nas-&nas-version;.src.tar.gz">
|
---|
| 8 | <!ENTITY nas-download-ftp "ftp://ftp.us.xemacs.org/pub/xemacs/aux/nas-&nas-version;.src.tar.gz">
|
---|
[2bd903b] | 9 | <!ENTITY nas-md5sum "c9918e9c9c95d587a95b455bbabe3b49">
|
---|
| 10 | <!ENTITY nas-size "1.2 MB">
|
---|
[8b972cf] | 11 | <!ENTITY nas-buildsize "17.8 MB">
|
---|
[2bd903b] | 12 | <!ENTITY nas-time "0.31 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
| 14 |
|
---|
[c5cc8b3] | 15 | <sect1 id="nas" xreflabel="NAS-&nas-version;">
|
---|
[d488004] | 16 | <?dbhtml filename="nas.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[a747b3c] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">nas-&nas-version;.src.tar</keyword>
|
---|
[f15e274] | 23 | <keyword role="ftpdir">nas</keyword>
|
---|
[a747b3c] | 24 | </keywordset>
|
---|
[d488004] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>NAS-&nas-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="nas">
|
---|
| 30 | <primary sortas="a-NAS">NAS</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to NAS</title>
|
---|
| 35 |
|
---|
| 36 | <para>The Network Audio System is a network transparent, client/server audio
|
---|
[50b692d] | 37 | transport system used to read , write and play audio files in many formats
|
---|
| 38 | including <filename>.au</filename>, <filename>.snd</filename>,
|
---|
| 39 | <filename>.voc</filename>, <filename>.wav</filename>,
|
---|
| 40 | <filename>.aiff</filename>, <filename>.aif</filename> and
|
---|
| 41 | <filename>.iff</filename>. It can be described as the audio equivalent of an
|
---|
[d488004] | 42 | <application>X</application> server.</para>
|
---|
| 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (HTTP): <ulink url="&nas-download-http;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download (FTP): <ulink url="&nas-download-ftp;"/></para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download MD5 sum: &nas-md5sum;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download size: &nas-size;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated disk space required: &nas-buildsize;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Estimated build time: &nas-time;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 67 | <itemizedlist spacing='compact'>
|
---|
| 68 | <listitem>
|
---|
[50b692d] | 69 | <para>Required Patch: <ulink
|
---|
[8b972cf] | 70 | url="&patch-root;/nas-&nas-version;-gcc4-1.patch"/></para>
|
---|
[d488004] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[93d50f5] | 74 | <bridgehead renderas="sect3">NAS Dependencies</bridgehead>
|
---|
[d488004] | 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[a747b3c] | 77 | <para role="required">X (<xref linkend="xfree86"/> or
|
---|
| 78 | <xref linkend="xorg"/>)</para>
|
---|
[d488004] | 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of NAS</title>
|
---|
| 84 |
|
---|
[50b692d] | 85 | <para>Install <application>NAS</application> by running the
|
---|
[d488004] | 86 | following commands:</para>
|
---|
| 87 |
|
---|
[8b972cf] | 88 | <screen><userinput>patch -Np1 -i ../nas-&nas-version;-gcc4-1.patch &&
|
---|
| 89 | xmkmf &&
|
---|
[d488004] | 90 | make World</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 93 |
|
---|
[8b972cf] | 94 | <screen role="root"><userinput>make install install.man &&
|
---|
| 95 | install -v -m755 -d /usr/share/doc/nas-&nas-version;/pdf &&
|
---|
| 96 | install -v -m644 doc/pdf/* /usr/share/doc/nas-&nas-version;/pdf &&
|
---|
| 97 | install -v -m644 doc/{README,actions,*.{ps,txt}} \
|
---|
| 98 | /usr/share/doc/nas-&nas-version;</userinput></screen>
|
---|
[d488004] | 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="commands">
|
---|
| 103 | <title>Command Explanations</title>
|
---|
| 104 |
|
---|
[50b692d] | 105 | <para><command>xmkmf</command>; <command>make World</command>:
|
---|
[d7ecaa6] | 106 | These commands use the standard for compiling <application>X</application>
|
---|
[d488004] | 107 | based applications.</para>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="configuration">
|
---|
| 112 | <title>Configuring NAS</title>
|
---|
| 113 |
|
---|
| 114 | <sect3 id="nas-config">
|
---|
| 115 | <title>Config Files</title>
|
---|
| 116 |
|
---|
| 117 | <para><filename>/etc/nas/nasd.conf</filename></para>
|
---|
| 118 |
|
---|
| 119 | <indexterm zone="nas nas-config">
|
---|
| 120 | <primary sortas="e-etc-nas-nasd.conf">/etc/nas/nasd.conf</primary>
|
---|
| 121 | </indexterm>
|
---|
| 122 |
|
---|
| 123 | </sect3>
|
---|
| 124 |
|
---|
| 125 | <sect3>
|
---|
| 126 | <title>Configuration Information</title>
|
---|
| 127 |
|
---|
| 128 | <para>Create the <application>NAS</application> configuration file using the
|
---|
| 129 | following command:</para>
|
---|
| 130 |
|
---|
| 131 | <screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
|
---|
| 132 |
|
---|
[50b692d] | 133 | <para>Edit the new configuration file to suit your network and system
|
---|
[d488004] | 134 | needs.</para>
|
---|
| 135 |
|
---|
| 136 | </sect3>
|
---|
| 137 |
|
---|
| 138 | <sect3 id="nas-init">
|
---|
| 139 | <title>Boot Script</title>
|
---|
| 140 |
|
---|
| 141 | <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
|
---|
[5254d12] | 142 | included in the <xref linkend="bootscripts"/>
|
---|
[d488004] | 143 | package.</para>
|
---|
| 144 |
|
---|
| 145 | <indexterm zone="nas nas-init">
|
---|
| 146 | <primary sortas="f-nas">nas</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 |
|
---|
| 149 | <screen role="root"><userinput>make install-nas</userinput></screen>
|
---|
| 150 |
|
---|
[50b692d] | 151 | <para>The init script uses a default parameter to allow access to all hosts on
|
---|
[d488004] | 152 | the network. Review the <command>nasd</command> man page for other available
|
---|
| 153 | parameters if you need to modify the script.</para>
|
---|
| 154 |
|
---|
| 155 | </sect3>
|
---|
| 156 |
|
---|
| 157 | </sect2>
|
---|
| 158 |
|
---|
| 159 | <sect2 role="content">
|
---|
| 160 | <title>Contents</title>
|
---|
| 161 |
|
---|
| 162 | <segmentedlist>
|
---|
| 163 | <segtitle>Installed Programs</segtitle>
|
---|
| 164 | <segtitle>Installed Library</segtitle>
|
---|
| 165 | <segtitle>Installed Directory</segtitle>
|
---|
| 166 |
|
---|
| 167 | <seglistitem>
|
---|
[50b692d] | 168 | <seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel, auphone,
|
---|
| 169 | auplay, aurecord, auscope, autool, auwave, checkmail, issndfile, nasd,
|
---|
[d488004] | 170 | playbucket, and soundtoh</seg>
|
---|
| 171 | <seg>libaudio.[so,a]</seg>
|
---|
| 172 | <seg>/etc/nas and /usr/X11R6/include/audio</seg>
|
---|
| 173 | </seglistitem>
|
---|
| 174 | </segmentedlist>
|
---|
| 175 |
|
---|
| 176 | <variablelist>
|
---|
| 177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 178 | <?dbfo list-presentation="list"?>
|
---|
| 179 | <?dbhtml list-presentation="table"?>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="au-utilities">
|
---|
| 182 | <term><command>au[utilities]</command></term>
|
---|
| 183 | <listitem>
|
---|
[50b692d] | 184 | <para>are a collection of tools to convert, play, edit, record,
|
---|
| 185 | and manipulate sound files. See the respective man page for each utility
|
---|
[d488004] | 186 | for a full description of each one.</para>
|
---|
| 187 | <indexterm zone="nas au-utilities">
|
---|
| 188 | <primary sortas="b-au-utilities">au[utilities]</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | <varlistentry id="checkmail">
|
---|
| 194 | <term><command>checkmail</command></term>
|
---|
| 195 | <listitem>
|
---|
| 196 | <para>plays a sound file when the user receives mail.</para>
|
---|
| 197 | <indexterm zone="nas checkmail">
|
---|
| 198 | <primary sortas="b-checkmail">checkmail</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
| 203 | <varlistentry id="issndfile">
|
---|
| 204 | <term><command>issndfile</command></term>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para>checks if a file is in a recognized audio file format.</para>
|
---|
| 207 | <indexterm zone="nas issndfile">
|
---|
| 208 | <primary sortas="b-issndfile">issndfile</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="nasd">
|
---|
| 214 | <term><command>nasd</command></term>
|
---|
| 215 | <listitem>
|
---|
| 216 | <para>is the Network Audio System server daemon.</para>
|
---|
| 217 | <indexterm zone="nas nasd">
|
---|
| 218 | <primary sortas="b-nasd">nasd</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="playbucket">
|
---|
| 224 | <term><command>playbucket</command></term>
|
---|
| 225 | <listitem>
|
---|
[50b692d] | 226 | <para>plays, or creates, the bucket corresponding to the
|
---|
[d488004] | 227 | specified file.</para>
|
---|
| 228 | <indexterm zone="nas playbucket">
|
---|
| 229 | <primary sortas="b-playbucket">playbucket</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
| 234 | <varlistentry id="soundtoh">
|
---|
| 235 | <term><command>soundtoh</command></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>converts a sound file to a C language header file.</para>
|
---|
| 238 | <indexterm zone="nas soundtoh">
|
---|
| 239 | <primary sortas="b-soundtoh">soundtoh</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="libaudio">
|
---|
| 245 | <term><filename class='libraryfile'>libaudio.[so,a]</filename></term>
|
---|
| 246 | <listitem>
|
---|
| 247 | <para>contains API functions to read and write audio files.</para>
|
---|
| 248 | <indexterm zone="nas libaudio">
|
---|
| 249 | <primary sortas="c-libaudio">libaudio.[so,a]</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
| 254 | </variablelist>
|
---|
| 255 |
|
---|
| 256 | </sect2>
|
---|
[a0d47df] | 257 |
|
---|
| 258 | </sect1>
|
---|