[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 |
|
---|
[d0151ee] | 7 | <!-- <!ENTITY nas-download-http "http://nas.codebrilliance.com/nas/nas-&nas-version;.src.tar.gz">
|
---|
| 8 | <!ENTITY nas-download-ftp "&gentoo-ftp-repo;/nas-&nas-version;.src.tar.gz"> -->
|
---|
[fce275e] | 9 | <!ENTITY nas-download-http "&sourceforge-repo;/nas/nas-&nas-version;.src.tar.gz">
|
---|
[d0151ee] | 10 | <!ENTITY nas-download-ftp "&sources-anduin-ftp;/n/nas-&nas-version;.src.tar.gz">
|
---|
[eac3afa] | 11 | <!ENTITY nas-md5sum "aac031fae04f53bcd1e033b380b1b29d">
|
---|
| 12 | <!ENTITY nas-size "1.4 MB">
|
---|
| 13 | <!ENTITY nas-buildsize "18 MB">
|
---|
[86d76d8] | 14 | <!ENTITY nas-time "0.3 SBU">
|
---|
[48b7295] | 15 | ]>
|
---|
| 16 |
|
---|
[c5cc8b3] | 17 | <sect1 id="nas" xreflabel="NAS-&nas-version;">
|
---|
[d488004] | 18 | <?dbhtml filename="nas.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>NAS-&nas-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="nas">
|
---|
| 28 | <primary sortas="a-NAS">NAS</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to NAS</title>
|
---|
| 33 |
|
---|
[9f12e36] | 34 | <para>The Network Audio System is a network transparent, client/server
|
---|
| 35 | audio transport system used to read , write and play audio files in many
|
---|
[6291d0e] | 36 | formats including <filename>.au</filename>, <filename>.snd</filename>,
|
---|
[50b692d] | 37 | <filename>.voc</filename>, <filename>.wav</filename>,
|
---|
| 38 | <filename>.aiff</filename>, <filename>.aif</filename> and
|
---|
[9f12e36] | 39 | <filename>.iff</filename>. It can be described as the audio equivalent
|
---|
[6291d0e] | 40 | of an <application>X</application> server.</para>
|
---|
[d488004] | 41 |
|
---|
[d0151ee] | 42 | <para>There may be a more recent release available from the
|
---|
| 43 | <application>NAS</application> home page. You can check
|
---|
| 44 | <ulink url="http://nas.codebrilliance.com/"/> and probably use the
|
---|
| 45 | existing BLFS instructions. Note that versions other than the one shown
|
---|
| 46 | in the download URLs have not been tested in a BLFS environment.</para>
|
---|
| 47 |
|
---|
[d488004] | 48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 49 | <itemizedlist spacing="compact">
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download (HTTP): <ulink url="&nas-download-http;"/></para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download (FTP): <ulink url="&nas-download-ftp;"/></para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Download MD5 sum: &nas-md5sum;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Download size: &nas-size;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Estimated disk space required: &nas-buildsize;</para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>Estimated build time: &nas-time;</para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
[eac3afa] | 70 | <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[d488004] | 71 | <itemizedlist spacing='compact'>
|
---|
| 72 | <listitem>
|
---|
[50b692d] | 73 | <para>Required Patch: <ulink
|
---|
[8b972cf] | 74 | url="&patch-root;/nas-&nas-version;-gcc4-1.patch"/></para>
|
---|
[d488004] | 75 | </listitem>
|
---|
[eac3afa] | 76 | </itemizedlist> -->
|
---|
[d488004] | 77 |
|
---|
[93d50f5] | 78 | <bridgehead renderas="sect3">NAS Dependencies</bridgehead>
|
---|
[d488004] | 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[eac3afa] | 81 | <para role="required"><xref linkend="x-window-system"/></para>
|
---|
| 82 |
|
---|
| 83 | <!-- <xref linkend="rman"/> (if using <application>Xorg7</application>) -->
|
---|
[d488004] | 84 |
|
---|
[0e2aa08] | 85 | <para condition="html" role="usernotes">User Notes:
|
---|
| 86 | <ulink url="&blfs-wiki;/nas"/></para>
|
---|
| 87 |
|
---|
[d488004] | 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of NAS</title>
|
---|
| 92 |
|
---|
[f67fa9df] | 93 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 94 | href="../../xincludes/X11R6_symlink.xml"/>
|
---|
| 95 |
|
---|
[50b692d] | 96 | <para>Install <application>NAS</application> by running the
|
---|
[d488004] | 97 | following commands:</para>
|
---|
| 98 |
|
---|
[eac3afa] | 99 | <screen><userinput>xmkmf &&
|
---|
[d488004] | 100 | make World</userinput></screen>
|
---|
| 101 |
|
---|
[eac3afa] | 102 | <para>This package does not come with a test suite.</para>
|
---|
| 103 |
|
---|
[9f12e36] | 104 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
[6291d0e] | 105 | user:</para>
|
---|
[d488004] | 106 |
|
---|
[8b972cf] | 107 | <screen role="root"><userinput>make install install.man &&
|
---|
[eac3afa] | 108 | install -v -m755 -d /usr/share/doc/nas-&nas-version;/{html,pdf} &&
|
---|
| 109 | install -v -m644 doc/html/* /usr/share/doc/nas-&nas-version;/html &&
|
---|
[8b972cf] | 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 |
|
---|
[9f12e36] | 142 | <para>Create the <application>NAS</application> configuration file
|
---|
[6291d0e] | 143 | using the following command:</para>
|
---|
[d488004] | 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 |
|
---|
[eac3afa] | 155 | <note>
|
---|
| 156 | <para>The <application>NAS</application> server cannot run
|
---|
| 157 | simultaneously with other sound servers, such as <ulink
|
---|
| 158 | url="http://www.mediaapplicationserver.net/">MAS</ulink> or <ulink
|
---|
| 159 | url="http://jackit.sourceforge.net/">JACK</ulink>.</para>
|
---|
| 160 | </note>
|
---|
[86d76d8] | 161 |
|
---|
[d488004] | 162 | <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
|
---|
[eac3afa] | 163 | included in the <xref linkend="bootscripts"/> package.</para>
|
---|
[d488004] | 164 |
|
---|
| 165 | <indexterm zone="nas nas-init">
|
---|
| 166 | <primary sortas="f-nas">nas</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 |
|
---|
| 169 | <screen role="root"><userinput>make install-nas</userinput></screen>
|
---|
| 170 |
|
---|
[9f12e36] | 171 | <para>The init script uses a default parameter to allow access to all
|
---|
| 172 | hosts on the network. Review the <command>nasd</command> man page for
|
---|
[6291d0e] | 173 | other available parameters if you need to modify the script.</para>
|
---|
[d488004] | 174 |
|
---|
| 175 | </sect3>
|
---|
| 176 |
|
---|
| 177 | </sect2>
|
---|
| 178 |
|
---|
| 179 | <sect2 role="content">
|
---|
| 180 | <title>Contents</title>
|
---|
| 181 |
|
---|
| 182 | <segmentedlist>
|
---|
| 183 | <segtitle>Installed Programs</segtitle>
|
---|
| 184 | <segtitle>Installed Library</segtitle>
|
---|
| 185 | <segtitle>Installed Directory</segtitle>
|
---|
| 186 |
|
---|
| 187 | <seglistitem>
|
---|
[9f12e36] | 188 | <seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel,
|
---|
| 189 | auphone, auplay, aurecord, auscope, autool, auwave, checkmail,
|
---|
[6291d0e] | 190 | issndfile, nasd, playbucket, and soundtoh</seg>
|
---|
[0e2aa08] | 191 | <seg>libaudio.{so,a}</seg>
|
---|
[eac3afa] | 192 | <seg>/etc/nas, /usr/X11R6/include/audio and
|
---|
| 193 | /usr/share/doc/nas-&nas-version;</seg>
|
---|
[d488004] | 194 | </seglistitem>
|
---|
| 195 | </segmentedlist>
|
---|
| 196 |
|
---|
| 197 | <variablelist>
|
---|
| 198 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 199 | <?dbfo list-presentation="list"?>
|
---|
| 200 | <?dbhtml list-presentation="table"?>
|
---|
| 201 |
|
---|
| 202 | <varlistentry id="au-utilities">
|
---|
[0e2aa08] | 203 | <term><command>au{utilities}</command></term>
|
---|
[d488004] | 204 | <listitem>
|
---|
[50b692d] | 205 | <para>are a collection of tools to convert, play, edit, record,
|
---|
[9f12e36] | 206 | and manipulate sound files. See the respective man page for each
|
---|
[6291d0e] | 207 | utility for a full description of each one.</para>
|
---|
[d488004] | 208 | <indexterm zone="nas au-utilities">
|
---|
[0e2aa08] | 209 | <primary sortas="b-au-utilities">au{utilities}</primary>
|
---|
[d488004] | 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
| 214 | <varlistentry id="checkmail">
|
---|
| 215 | <term><command>checkmail</command></term>
|
---|
| 216 | <listitem>
|
---|
| 217 | <para>plays a sound file when the user receives mail.</para>
|
---|
| 218 | <indexterm zone="nas checkmail">
|
---|
| 219 | <primary sortas="b-checkmail">checkmail</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="issndfile">
|
---|
| 225 | <term><command>issndfile</command></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>checks if a file is in a recognized audio file format.</para>
|
---|
| 228 | <indexterm zone="nas issndfile">
|
---|
| 229 | <primary sortas="b-issndfile">issndfile</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
| 234 | <varlistentry id="nasd">
|
---|
| 235 | <term><command>nasd</command></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>is the Network Audio System server daemon.</para>
|
---|
| 238 | <indexterm zone="nas nasd">
|
---|
| 239 | <primary sortas="b-nasd">nasd</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="playbucket">
|
---|
| 245 | <term><command>playbucket</command></term>
|
---|
| 246 | <listitem>
|
---|
[50b692d] | 247 | <para>plays, or creates, the bucket corresponding to the
|
---|
[d488004] | 248 | specified file.</para>
|
---|
| 249 | <indexterm zone="nas playbucket">
|
---|
| 250 | <primary sortas="b-playbucket">playbucket</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
| 255 | <varlistentry id="soundtoh">
|
---|
| 256 | <term><command>soundtoh</command></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>converts a sound file to a C language header file.</para>
|
---|
| 259 | <indexterm zone="nas soundtoh">
|
---|
| 260 | <primary sortas="b-soundtoh">soundtoh</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 |
|
---|
| 265 | <varlistentry id="libaudio">
|
---|
[0e2aa08] | 266 | <term><filename class='libraryfile'>libaudio.{so,a}</filename></term>
|
---|
[d488004] | 267 | <listitem>
|
---|
| 268 | <para>contains API functions to read and write audio files.</para>
|
---|
| 269 | <indexterm zone="nas libaudio">
|
---|
[0e2aa08] | 270 | <primary sortas="c-libaudio">libaudio.{so,a}</primary>
|
---|
[d488004] | 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
| 275 | </variablelist>
|
---|
| 276 |
|
---|
| 277 | </sect2>
|
---|
[a0d47df] | 278 |
|
---|
| 279 | </sect1>
|
---|