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