[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">
|
---|
[86d76d8] | 24 | <!ENTITY nas-time "0.3 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>
|
---|
| 33 | </sect1info>
|
---|
| 34 |
|
---|
| 35 | <title>NAS-&nas-version;</title>
|
---|
| 36 |
|
---|
| 37 | <indexterm zone="nas">
|
---|
| 38 | <primary sortas="a-NAS">NAS</primary>
|
---|
| 39 | </indexterm>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="package">
|
---|
| 42 | <title>Introduction to NAS</title>
|
---|
| 43 |
|
---|
[9f12e36] | 44 | <para>The Network Audio System is a network transparent, client/server
|
---|
| 45 | audio transport system used to read , write and play audio files in many
|
---|
[6291d0e] | 46 | formats including <filename>.au</filename>, <filename>.snd</filename>,
|
---|
[50b692d] | 47 | <filename>.voc</filename>, <filename>.wav</filename>,
|
---|
| 48 | <filename>.aiff</filename>, <filename>.aif</filename> and
|
---|
[9f12e36] | 49 | <filename>.iff</filename>. It can be described as the audio equivalent
|
---|
[6291d0e] | 50 | of an <application>X</application> server.</para>
|
---|
[d488004] | 51 |
|
---|
| 52 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 53 | <itemizedlist spacing="compact">
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download (HTTP): <ulink url="&nas-download-http;"/></para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Download (FTP): <ulink url="&nas-download-ftp;"/></para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Download MD5 sum: &nas-md5sum;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Download size: &nas-size;</para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Estimated disk space required: &nas-buildsize;</para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Estimated build time: &nas-time;</para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 | <itemizedlist spacing='compact'>
|
---|
| 76 | <listitem>
|
---|
[50b692d] | 77 | <para>Required Patch: <ulink
|
---|
[8b972cf] | 78 | url="&patch-root;/nas-&nas-version;-gcc4-1.patch"/></para>
|
---|
[d488004] | 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
| 81 |
|
---|
[93d50f5] | 82 | <bridgehead renderas="sect3">NAS Dependencies</bridgehead>
|
---|
[d488004] | 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[86d76d8] | 85 | <para role="required"><xref linkend="x-window-system"/> and
|
---|
[1df7be9] | 86 | <xref linkend="rman"/> (if using <application>Xorg7</application>)</para>
|
---|
[d488004] | 87 |
|
---|
[0e2aa08] | 88 | <para condition="html" role="usernotes">User Notes:
|
---|
| 89 | <ulink url="&blfs-wiki;/nas"/></para>
|
---|
| 90 |
|
---|
[d488004] | 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of NAS</title>
|
---|
| 95 |
|
---|
[50b692d] | 96 | <para>Install <application>NAS</application> by running the
|
---|
[d488004] | 97 | following commands:</para>
|
---|
| 98 |
|
---|
[8b972cf] | 99 | <screen><userinput>patch -Np1 -i ../nas-&nas-version;-gcc4-1.patch &&
|
---|
| 100 | xmkmf &&
|
---|
[d488004] | 101 | make World</userinput></screen>
|
---|
| 102 |
|
---|
[9f12e36] | 103 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
[6291d0e] | 104 | user:</para>
|
---|
[d488004] | 105 |
|
---|
[8b972cf] | 106 | <screen role="root"><userinput>make install install.man &&
|
---|
| 107 | install -v -m755 -d /usr/share/doc/nas-&nas-version;/pdf &&
|
---|
| 108 | install -v -m644 doc/pdf/* /usr/share/doc/nas-&nas-version;/pdf &&
|
---|
| 109 | install -v -m644 doc/{README,actions,*.{ps,txt}} \
|
---|
| 110 | /usr/share/doc/nas-&nas-version;</userinput></screen>
|
---|
[d488004] | 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
[50b692d] | 117 | <para><command>xmkmf</command>; <command>make World</command>:
|
---|
[d7ecaa6] | 118 | These commands use the standard for compiling <application>X</application>
|
---|
[d488004] | 119 | based applications.</para>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="configuration">
|
---|
| 124 | <title>Configuring NAS</title>
|
---|
| 125 |
|
---|
| 126 | <sect3 id="nas-config">
|
---|
| 127 | <title>Config Files</title>
|
---|
| 128 |
|
---|
| 129 | <para><filename>/etc/nas/nasd.conf</filename></para>
|
---|
| 130 |
|
---|
| 131 | <indexterm zone="nas nas-config">
|
---|
| 132 | <primary sortas="e-etc-nas-nasd.conf">/etc/nas/nasd.conf</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 |
|
---|
| 135 | </sect3>
|
---|
| 136 |
|
---|
| 137 | <sect3>
|
---|
| 138 | <title>Configuration Information</title>
|
---|
| 139 |
|
---|
[9f12e36] | 140 | <para>Create the <application>NAS</application> configuration file
|
---|
[6291d0e] | 141 | using the following command:</para>
|
---|
[d488004] | 142 |
|
---|
| 143 | <screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
|
---|
| 144 |
|
---|
[50b692d] | 145 | <para>Edit the new configuration file to suit your network and system
|
---|
[d488004] | 146 | needs.</para>
|
---|
| 147 |
|
---|
| 148 | </sect3>
|
---|
| 149 |
|
---|
| 150 | <sect3 id="nas-init">
|
---|
| 151 | <title>Boot Script</title>
|
---|
| 152 |
|
---|
[1df7be9] | 153 | <note><para>The <application>NAS</application> server cannot run
|
---|
| 154 | simultaneously with other sound servers, such as <ulink
|
---|
| 155 | url="http://www.mediaapplicationserver.net/">MAS</ulink> or <ulink
|
---|
| 156 | url="http://jackit.sourceforge.net/">JACK</ulink>.</para></note>
|
---|
[86d76d8] | 157 |
|
---|
[d488004] | 158 | <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
|
---|
[5254d12] | 159 | included in the <xref linkend="bootscripts"/>
|
---|
[d488004] | 160 | package.</para>
|
---|
| 161 |
|
---|
| 162 | <indexterm zone="nas nas-init">
|
---|
| 163 | <primary sortas="f-nas">nas</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 |
|
---|
| 166 | <screen role="root"><userinput>make install-nas</userinput></screen>
|
---|
| 167 |
|
---|
[9f12e36] | 168 | <para>The init script uses a default prefix of
|
---|
[6291d0e] | 169 | <filename class="directory">/usr/X11R6</filename>. If you've installed
|
---|
[864b24de] | 170 | the <application>X Window System</application> into any other prefix,
|
---|
[dc19fbff] | 171 | execute the following command, replacing
|
---|
| 172 | <replaceable><PREFIX></replaceable> with the installation
|
---|
| 173 | prefix of the <application>X Window System</application>.</para>
|
---|
[6291d0e] | 174 |
|
---|
[93ffd0f] | 175 | <screen role="root"><userinput>sed -i 's@/usr/X11R6@<replaceable><PREFIX></replaceable>@' /etc/rc.d/init.d/nas</userinput></screen>
|
---|
[6291d0e] | 176 |
|
---|
[9f12e36] | 177 | <para>The init script uses a default parameter to allow access to all
|
---|
| 178 | hosts on the network. Review the <command>nasd</command> man page for
|
---|
[6291d0e] | 179 | other available parameters if you need to modify the script.</para>
|
---|
[d488004] | 180 |
|
---|
| 181 | </sect3>
|
---|
| 182 |
|
---|
| 183 | </sect2>
|
---|
| 184 |
|
---|
| 185 | <sect2 role="content">
|
---|
| 186 | <title>Contents</title>
|
---|
| 187 |
|
---|
| 188 | <segmentedlist>
|
---|
| 189 | <segtitle>Installed Programs</segtitle>
|
---|
| 190 | <segtitle>Installed Library</segtitle>
|
---|
| 191 | <segtitle>Installed Directory</segtitle>
|
---|
| 192 |
|
---|
| 193 | <seglistitem>
|
---|
[9f12e36] | 194 | <seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel,
|
---|
| 195 | auphone, auplay, aurecord, auscope, autool, auwave, checkmail,
|
---|
[6291d0e] | 196 | issndfile, nasd, playbucket, and soundtoh</seg>
|
---|
[0e2aa08] | 197 | <seg>libaudio.{so,a}</seg>
|
---|
[d488004] | 198 | <seg>/etc/nas and /usr/X11R6/include/audio</seg>
|
---|
| 199 | </seglistitem>
|
---|
| 200 | </segmentedlist>
|
---|
| 201 |
|
---|
| 202 | <variablelist>
|
---|
| 203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 204 | <?dbfo list-presentation="list"?>
|
---|
| 205 | <?dbhtml list-presentation="table"?>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="au-utilities">
|
---|
[0e2aa08] | 208 | <term><command>au{utilities}</command></term>
|
---|
[d488004] | 209 | <listitem>
|
---|
[50b692d] | 210 | <para>are a collection of tools to convert, play, edit, record,
|
---|
[9f12e36] | 211 | and manipulate sound files. See the respective man page for each
|
---|
[6291d0e] | 212 | utility for a full description of each one.</para>
|
---|
[d488004] | 213 | <indexterm zone="nas au-utilities">
|
---|
[0e2aa08] | 214 | <primary sortas="b-au-utilities">au{utilities}</primary>
|
---|
[d488004] | 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="checkmail">
|
---|
| 220 | <term><command>checkmail</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>plays a sound file when the user receives mail.</para>
|
---|
| 223 | <indexterm zone="nas checkmail">
|
---|
| 224 | <primary sortas="b-checkmail">checkmail</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="issndfile">
|
---|
| 230 | <term><command>issndfile</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>checks if a file is in a recognized audio file format.</para>
|
---|
| 233 | <indexterm zone="nas issndfile">
|
---|
| 234 | <primary sortas="b-issndfile">issndfile</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
| 239 | <varlistentry id="nasd">
|
---|
| 240 | <term><command>nasd</command></term>
|
---|
| 241 | <listitem>
|
---|
| 242 | <para>is the Network Audio System server daemon.</para>
|
---|
| 243 | <indexterm zone="nas nasd">
|
---|
| 244 | <primary sortas="b-nasd">nasd</primary>
|
---|
| 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
| 248 |
|
---|
| 249 | <varlistentry id="playbucket">
|
---|
| 250 | <term><command>playbucket</command></term>
|
---|
| 251 | <listitem>
|
---|
[50b692d] | 252 | <para>plays, or creates, the bucket corresponding to the
|
---|
[d488004] | 253 | specified file.</para>
|
---|
| 254 | <indexterm zone="nas playbucket">
|
---|
| 255 | <primary sortas="b-playbucket">playbucket</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
| 260 | <varlistentry id="soundtoh">
|
---|
| 261 | <term><command>soundtoh</command></term>
|
---|
| 262 | <listitem>
|
---|
| 263 | <para>converts a sound file to a C language header file.</para>
|
---|
| 264 | <indexterm zone="nas soundtoh">
|
---|
| 265 | <primary sortas="b-soundtoh">soundtoh</primary>
|
---|
| 266 | </indexterm>
|
---|
| 267 | </listitem>
|
---|
| 268 | </varlistentry>
|
---|
| 269 |
|
---|
| 270 | <varlistentry id="libaudio">
|
---|
[0e2aa08] | 271 | <term><filename class='libraryfile'>libaudio.{so,a}</filename></term>
|
---|
[d488004] | 272 | <listitem>
|
---|
| 273 | <para>contains API functions to read and write audio files.</para>
|
---|
| 274 | <indexterm zone="nas libaudio">
|
---|
[0e2aa08] | 275 | <primary sortas="c-libaudio">libaudio.{so,a}</primary>
|
---|
[d488004] | 276 | </indexterm>
|
---|
| 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
| 279 |
|
---|
| 280 | </variablelist>
|
---|
| 281 |
|
---|
| 282 | </sect2>
|
---|
[a0d47df] | 283 |
|
---|
| 284 | </sect1>
|
---|