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