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