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