[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 |
|
---|
[50b692d] | 85 | <para>Install <application>NAS</application> by running the
|
---|
[d488004] | 86 | following commands:</para>
|
---|
| 87 |
|
---|
[eac3afa] | 88 | <screen><userinput>xmkmf &&
|
---|
[d488004] | 89 | make World</userinput></screen>
|
---|
| 90 |
|
---|
[eac3afa] | 91 | <para>This package does not come with a test suite.</para>
|
---|
| 92 |
|
---|
[9f12e36] | 93 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
[6291d0e] | 94 | user:</para>
|
---|
[d488004] | 95 |
|
---|
[8b972cf] | 96 | <screen role="root"><userinput>make install install.man &&
|
---|
[eac3afa] | 97 | install -v -m755 -d /usr/share/doc/nas-&nas-version;/{html,pdf} &&
|
---|
| 98 | install -v -m644 doc/html/* /usr/share/doc/nas-&nas-version;/html &&
|
---|
[8b972cf] | 99 | install -v -m644 doc/pdf/* /usr/share/doc/nas-&nas-version;/pdf &&
|
---|
| 100 | install -v -m644 doc/{README,actions,*.{ps,txt}} \
|
---|
| 101 | /usr/share/doc/nas-&nas-version;</userinput></screen>
|
---|
[d488004] | 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="commands">
|
---|
| 106 | <title>Command Explanations</title>
|
---|
| 107 |
|
---|
[50b692d] | 108 | <para><command>xmkmf</command>; <command>make World</command>:
|
---|
[d7ecaa6] | 109 | These commands use the standard for compiling <application>X</application>
|
---|
[d488004] | 110 | based applications.</para>
|
---|
| 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="configuration">
|
---|
| 115 | <title>Configuring NAS</title>
|
---|
| 116 |
|
---|
| 117 | <sect3 id="nas-config">
|
---|
| 118 | <title>Config Files</title>
|
---|
| 119 |
|
---|
| 120 | <para><filename>/etc/nas/nasd.conf</filename></para>
|
---|
| 121 |
|
---|
| 122 | <indexterm zone="nas nas-config">
|
---|
| 123 | <primary sortas="e-etc-nas-nasd.conf">/etc/nas/nasd.conf</primary>
|
---|
| 124 | </indexterm>
|
---|
| 125 |
|
---|
| 126 | </sect3>
|
---|
| 127 |
|
---|
| 128 | <sect3>
|
---|
| 129 | <title>Configuration Information</title>
|
---|
| 130 |
|
---|
[9f12e36] | 131 | <para>Create the <application>NAS</application> configuration file
|
---|
[6291d0e] | 132 | using the following command:</para>
|
---|
[d488004] | 133 |
|
---|
| 134 | <screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
|
---|
| 135 |
|
---|
[50b692d] | 136 | <para>Edit the new configuration file to suit your network and system
|
---|
[d488004] | 137 | needs.</para>
|
---|
| 138 |
|
---|
| 139 | </sect3>
|
---|
| 140 |
|
---|
| 141 | <sect3 id="nas-init">
|
---|
| 142 | <title>Boot Script</title>
|
---|
| 143 |
|
---|
[eac3afa] | 144 | <note>
|
---|
| 145 | <para>The <application>NAS</application> server cannot run
|
---|
| 146 | simultaneously with other sound servers, such as <ulink
|
---|
| 147 | url="http://www.mediaapplicationserver.net/">MAS</ulink> or <ulink
|
---|
| 148 | url="http://jackit.sourceforge.net/">JACK</ulink>.</para>
|
---|
| 149 | </note>
|
---|
[86d76d8] | 150 |
|
---|
[d488004] | 151 | <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
|
---|
[eac3afa] | 152 | included in the <xref linkend="bootscripts"/> package.</para>
|
---|
[d488004] | 153 |
|
---|
| 154 | <indexterm zone="nas nas-init">
|
---|
| 155 | <primary sortas="f-nas">nas</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 |
|
---|
| 158 | <screen role="root"><userinput>make install-nas</userinput></screen>
|
---|
| 159 |
|
---|
[9f12e36] | 160 | <para>The init script uses a default prefix of
|
---|
[6291d0e] | 161 | <filename class="directory">/usr/X11R6</filename>. If you've installed
|
---|
[864b24de] | 162 | the <application>X Window System</application> into any other prefix,
|
---|
[dc19fbff] | 163 | execute the following command, replacing
|
---|
| 164 | <replaceable><PREFIX></replaceable> with the installation
|
---|
| 165 | prefix of the <application>X Window System</application>.</para>
|
---|
[6291d0e] | 166 |
|
---|
[93ffd0f] | 167 | <screen role="root"><userinput>sed -i 's@/usr/X11R6@<replaceable><PREFIX></replaceable>@' /etc/rc.d/init.d/nas</userinput></screen>
|
---|
[6291d0e] | 168 |
|
---|
[9f12e36] | 169 | <para>The init script uses a default parameter to allow access to all
|
---|
| 170 | hosts on the network. Review the <command>nasd</command> man page for
|
---|
[6291d0e] | 171 | other available parameters if you need to modify the script.</para>
|
---|
[d488004] | 172 |
|
---|
| 173 | </sect3>
|
---|
| 174 |
|
---|
| 175 | </sect2>
|
---|
| 176 |
|
---|
| 177 | <sect2 role="content">
|
---|
| 178 | <title>Contents</title>
|
---|
| 179 |
|
---|
| 180 | <segmentedlist>
|
---|
| 181 | <segtitle>Installed Programs</segtitle>
|
---|
| 182 | <segtitle>Installed Library</segtitle>
|
---|
| 183 | <segtitle>Installed Directory</segtitle>
|
---|
| 184 |
|
---|
| 185 | <seglistitem>
|
---|
[9f12e36] | 186 | <seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel,
|
---|
| 187 | auphone, auplay, aurecord, auscope, autool, auwave, checkmail,
|
---|
[6291d0e] | 188 | issndfile, nasd, playbucket, and soundtoh</seg>
|
---|
[0e2aa08] | 189 | <seg>libaudio.{so,a}</seg>
|
---|
[eac3afa] | 190 | <seg>/etc/nas, /usr/X11R6/include/audio and
|
---|
| 191 | /usr/share/doc/nas-&nas-version;</seg>
|
---|
[d488004] | 192 | </seglistitem>
|
---|
| 193 | </segmentedlist>
|
---|
| 194 |
|
---|
| 195 | <variablelist>
|
---|
| 196 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 197 | <?dbfo list-presentation="list"?>
|
---|
| 198 | <?dbhtml list-presentation="table"?>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="au-utilities">
|
---|
[0e2aa08] | 201 | <term><command>au{utilities}</command></term>
|
---|
[d488004] | 202 | <listitem>
|
---|
[50b692d] | 203 | <para>are a collection of tools to convert, play, edit, record,
|
---|
[9f12e36] | 204 | and manipulate sound files. See the respective man page for each
|
---|
[6291d0e] | 205 | utility for a full description of each one.</para>
|
---|
[d488004] | 206 | <indexterm zone="nas au-utilities">
|
---|
[0e2aa08] | 207 | <primary sortas="b-au-utilities">au{utilities}</primary>
|
---|
[d488004] | 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="checkmail">
|
---|
| 213 | <term><command>checkmail</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>plays a sound file when the user receives mail.</para>
|
---|
| 216 | <indexterm zone="nas checkmail">
|
---|
| 217 | <primary sortas="b-checkmail">checkmail</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="issndfile">
|
---|
| 223 | <term><command>issndfile</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>checks if a file is in a recognized audio file format.</para>
|
---|
| 226 | <indexterm zone="nas issndfile">
|
---|
| 227 | <primary sortas="b-issndfile">issndfile</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="nasd">
|
---|
| 233 | <term><command>nasd</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>is the Network Audio System server daemon.</para>
|
---|
| 236 | <indexterm zone="nas nasd">
|
---|
| 237 | <primary sortas="b-nasd">nasd</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
| 242 | <varlistentry id="playbucket">
|
---|
| 243 | <term><command>playbucket</command></term>
|
---|
| 244 | <listitem>
|
---|
[50b692d] | 245 | <para>plays, or creates, the bucket corresponding to the
|
---|
[d488004] | 246 | specified file.</para>
|
---|
| 247 | <indexterm zone="nas playbucket">
|
---|
| 248 | <primary sortas="b-playbucket">playbucket</primary>
|
---|
| 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 |
|
---|
| 253 | <varlistentry id="soundtoh">
|
---|
| 254 | <term><command>soundtoh</command></term>
|
---|
| 255 | <listitem>
|
---|
| 256 | <para>converts a sound file to a C language header file.</para>
|
---|
| 257 | <indexterm zone="nas soundtoh">
|
---|
| 258 | <primary sortas="b-soundtoh">soundtoh</primary>
|
---|
| 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
| 263 | <varlistentry id="libaudio">
|
---|
[0e2aa08] | 264 | <term><filename class='libraryfile'>libaudio.{so,a}</filename></term>
|
---|
[d488004] | 265 | <listitem>
|
---|
| 266 | <para>contains API functions to read and write audio files.</para>
|
---|
| 267 | <indexterm zone="nas libaudio">
|
---|
[0e2aa08] | 268 | <primary sortas="c-libaudio">libaudio.{so,a}</primary>
|
---|
[d488004] | 269 | </indexterm>
|
---|
| 270 | </listitem>
|
---|
| 271 | </varlistentry>
|
---|
| 272 |
|
---|
| 273 | </variablelist>
|
---|
| 274 |
|
---|
| 275 | </sect2>
|
---|
[a0d47df] | 276 |
|
---|
| 277 | </sect1>
|
---|