[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 |
|
---|
| 21 | <title>NAS-&nas-version;</title>
|
---|
| 22 |
|
---|
| 23 | <indexterm zone="nas">
|
---|
| 24 | <primary sortas="a-NAS">NAS</primary>
|
---|
| 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
| 28 | <title>Introduction to NAS</title>
|
---|
| 29 |
|
---|
[9f12e36] | 30 | <para>The Network Audio System is a network transparent, client/server
|
---|
| 31 | audio transport system used to read , write and play audio files in many
|
---|
[6291d0e] | 32 | formats including <filename>.au</filename>, <filename>.snd</filename>,
|
---|
[50b692d] | 33 | <filename>.voc</filename>, <filename>.wav</filename>,
|
---|
| 34 | <filename>.aiff</filename>, <filename>.aif</filename> and
|
---|
[9f12e36] | 35 | <filename>.iff</filename>. It can be described as the audio equivalent
|
---|
[6291d0e] | 36 | of an <application>X</application> server.</para>
|
---|
[d488004] | 37 |
|
---|
[e2bf0c5] | 38 | <para><application>NAS</application> is an older sound server included
|
---|
[a41f643] | 39 | in BLFS primarily because it is an optional dependency for several
|
---|
[e2bf0c5] | 40 | packages. Unless you know you need <application>NAS</application>, it
|
---|
| 41 | is probably not needed at all.</para>
|
---|
| 42 |
|
---|
[d0151ee] | 43 | <para>There may be a more recent release available from the
|
---|
| 44 | <application>NAS</application> home page. You can check
|
---|
| 45 | <ulink url="http://nas.codebrilliance.com/"/> and probably use the
|
---|
| 46 | existing BLFS instructions. Note that versions other than the one shown
|
---|
| 47 | in the download URLs have not been tested in a BLFS environment.</para>
|
---|
| 48 |
|
---|
[d488004] | 49 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 50 | <itemizedlist spacing="compact">
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download (HTTP): <ulink url="&nas-download-http;"/></para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download (FTP): <ulink url="&nas-download-ftp;"/></para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Download MD5 sum: &nas-md5sum;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Download size: &nas-size;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Estimated disk space required: &nas-buildsize;</para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Estimated build time: &nas-time;</para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
[eac3afa] | 71 | <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[d488004] | 72 | <itemizedlist spacing='compact'>
|
---|
| 73 | <listitem>
|
---|
[50b692d] | 74 | <para>Required Patch: <ulink
|
---|
[8b972cf] | 75 | url="&patch-root;/nas-&nas-version;-gcc4-1.patch"/></para>
|
---|
[d488004] | 76 | </listitem>
|
---|
[eac3afa] | 77 | </itemizedlist> -->
|
---|
[d488004] | 78 |
|
---|
[93d50f5] | 79 | <bridgehead renderas="sect3">NAS Dependencies</bridgehead>
|
---|
[d488004] | 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[eac3afa] | 82 | <para role="required"><xref linkend="x-window-system"/></para>
|
---|
| 83 |
|
---|
| 84 | <!-- <xref linkend="rman"/> (if using <application>Xorg7</application>) -->
|
---|
[d488004] | 85 |
|
---|
[0e2aa08] | 86 | <para condition="html" role="usernotes">User Notes:
|
---|
| 87 | <ulink url="&blfs-wiki;/nas"/></para>
|
---|
| 88 |
|
---|
[d488004] | 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of NAS</title>
|
---|
| 93 |
|
---|
[e05cd03f] | 94 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[f67fa9df] | 95 | href="../../xincludes/X11R6_symlink.xml"/>
|
---|
| 96 |
|
---|
[50b692d] | 97 | <para>Install <application>NAS</application> by running the
|
---|
[d488004] | 98 | following commands:</para>
|
---|
| 99 |
|
---|
[eac3afa] | 100 | <screen><userinput>xmkmf &&
|
---|
[d488004] | 101 | make World</userinput></screen>
|
---|
| 102 |
|
---|
[eac3afa] | 103 | <para>This package does not come with a test suite.</para>
|
---|
| 104 |
|
---|
[9f12e36] | 105 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
[6291d0e] | 106 | user:</para>
|
---|
[d488004] | 107 |
|
---|
[e2bf0c5] | 108 | <screen role="root"><userinput>make XPLIB= install install.man &&
|
---|
[eac3afa] | 109 | install -v -m755 -d /usr/share/doc/nas-&nas-version;/{html,pdf} &&
|
---|
| 110 | install -v -m644 doc/html/* /usr/share/doc/nas-&nas-version;/html &&
|
---|
[8b972cf] | 111 | install -v -m644 doc/pdf/* /usr/share/doc/nas-&nas-version;/pdf &&
|
---|
| 112 | install -v -m644 doc/{README,actions,*.{ps,txt}} \
|
---|
| 113 | /usr/share/doc/nas-&nas-version;</userinput></screen>
|
---|
[d488004] | 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[e2bf0c5] | 120 | <para><command>xmkmf</command>: <command>make World</command>:
|
---|
| 121 | These commands use the standard for compiling <application>Imake</application>
|
---|
[d488004] | 122 | based applications.</para>
|
---|
| 123 |
|
---|
[a41f643] | 124 | <para><option>XPLIB=</option>: This option is necessary to prevent the
|
---|
[104733c] | 125 | build system from trying to link to an unused and deprecated library.</para>
|
---|
[e2bf0c5] | 126 |
|
---|
[d488004] | 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="configuration">
|
---|
| 130 | <title>Configuring NAS</title>
|
---|
| 131 |
|
---|
| 132 | <sect3 id="nas-config">
|
---|
| 133 | <title>Config Files</title>
|
---|
| 134 |
|
---|
| 135 | <para><filename>/etc/nas/nasd.conf</filename></para>
|
---|
| 136 |
|
---|
| 137 | <indexterm zone="nas nas-config">
|
---|
| 138 | <primary sortas="e-etc-nas-nasd.conf">/etc/nas/nasd.conf</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 |
|
---|
| 141 | </sect3>
|
---|
| 142 |
|
---|
| 143 | <sect3>
|
---|
| 144 | <title>Configuration Information</title>
|
---|
| 145 |
|
---|
[9f12e36] | 146 | <para>Create the <application>NAS</application> configuration file
|
---|
[6291d0e] | 147 | using the following command:</para>
|
---|
[d488004] | 148 |
|
---|
| 149 | <screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
|
---|
| 150 |
|
---|
[50b692d] | 151 | <para>Edit the new configuration file to suit your network and system
|
---|
[d488004] | 152 | needs.</para>
|
---|
| 153 |
|
---|
| 154 | </sect3>
|
---|
| 155 |
|
---|
| 156 | <sect3 id="nas-init">
|
---|
| 157 | <title>Boot Script</title>
|
---|
| 158 |
|
---|
[eac3afa] | 159 | <note>
|
---|
| 160 | <para>The <application>NAS</application> server cannot run
|
---|
| 161 | simultaneously with other sound servers, such as <ulink
|
---|
| 162 | url="http://www.mediaapplicationserver.net/">MAS</ulink> or <ulink
|
---|
| 163 | url="http://jackit.sourceforge.net/">JACK</ulink>.</para>
|
---|
| 164 | </note>
|
---|
[86d76d8] | 165 |
|
---|
[d488004] | 166 | <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
|
---|
[eac3afa] | 167 | included in the <xref linkend="bootscripts"/> package.</para>
|
---|
[d488004] | 168 |
|
---|
| 169 | <indexterm zone="nas nas-init">
|
---|
| 170 | <primary sortas="f-nas">nas</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 |
|
---|
| 173 | <screen role="root"><userinput>make install-nas</userinput></screen>
|
---|
| 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>
|
---|