1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY nas-download-http "http://nas.codebrilliance.com/nas/nas-&nas-version;.src.tar.gz">
|
---|
7 | <!ENTITY nas-download-ftp "ftp://ftp.us.xemacs.org/pub/xemacs/aux/nas-&nas-version;.src.tar.gz">
|
---|
8 | <!ENTITY nas-md5sum "c9918e9c9c95d587a95b455bbabe3b49">
|
---|
9 | <!ENTITY nas-size "1.2 MB">
|
---|
10 | <!ENTITY nas-buildsize "17.1 MB">
|
---|
11 | <!ENTITY nas-time "0.31 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="nas" xreflabel="NAS-&nas-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="nas.html"?>
|
---|
20 | <title>NAS-&nas-version;</title>
|
---|
21 | <indexterm zone="nas">
|
---|
22 | <primary sortas="a-NAS">NAS</primary></indexterm>
|
---|
23 |
|
---|
24 | <sect2>
|
---|
25 | <title>Introduction to <application><acronym>NAS</acronym></application></title>
|
---|
26 |
|
---|
27 | <para>The Network Audio System is a network transparent, client/server audio
|
---|
28 | transport system used to read , write and play audio files in many formats
|
---|
29 | including <filename>.au</filename>, <filename>.snd</filename>,
|
---|
30 | <filename>.voc</filename>, <filename>.wav</filename>,
|
---|
31 | <filename>.aiff</filename>, <filename>.aif</filename> and
|
---|
32 | <filename>.iff</filename>. It can be described as the audio equivalent of an
|
---|
33 | <application>X</application> server.</para>
|
---|
34 |
|
---|
35 | <sect3><title>Package information</title>
|
---|
36 | <itemizedlist spacing='compact'>
|
---|
37 | <listitem><para>Download (HTTP):
|
---|
38 | <ulink url="&nas-download-http;"/></para></listitem>
|
---|
39 | <listitem><para>Download (FTP):
|
---|
40 | <ulink url="&nas-download-ftp;"/></para></listitem>
|
---|
41 | <listitem><para>Download MD5 sum: &nas-md5sum;</para></listitem>
|
---|
42 | <listitem><para>Download size: &nas-size;</para></listitem>
|
---|
43 | <listitem><para>Estimated disk space required:
|
---|
44 | &nas-buildsize;</para></listitem>
|
---|
45 | <listitem><para>Estimated build time:
|
---|
46 | &nas-time;</para></listitem></itemizedlist>
|
---|
47 | </sect3>
|
---|
48 |
|
---|
49 | <!-- <sect3><title>Additional downloads</title>
|
---|
50 | <itemizedlist spacing='compact'>
|
---|
51 | <listitem><para>Required Patch: <ulink
|
---|
52 | url="&patch-root;/nas-&nas-version;-bison_fix-1.patch"/></para></listitem>
|
---|
53 | </itemizedlist></sect3> -->
|
---|
54 |
|
---|
55 | <sect3><title><application>NAS</application> dependencies</title>
|
---|
56 | <sect4><title>Required</title>
|
---|
57 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
|
---|
58 | </sect4>
|
---|
59 | </sect3>
|
---|
60 |
|
---|
61 | </sect2>
|
---|
62 |
|
---|
63 | <sect2>
|
---|
64 | <title>Installation of <application><acronym>NAS</acronym></application></title>
|
---|
65 |
|
---|
66 | <para>Install <application><acronym>NAS</acronym></application> by running the
|
---|
67 | following commands:</para>
|
---|
68 |
|
---|
69 | <screen><userinput><command>xmkmf &&
|
---|
70 | make World</command></userinput></screen>
|
---|
71 |
|
---|
72 | <para>Now, as the root user:</para>
|
---|
73 |
|
---|
74 | <screen><userinput role='root'><command>make install install.man</command></userinput></screen>
|
---|
75 |
|
---|
76 | </sect2>
|
---|
77 |
|
---|
78 | <sect2>
|
---|
79 | <title>Command explanations</title>
|
---|
80 |
|
---|
81 | <para><command>xmkmf</command>; <command>make World</command>: These commands
|
---|
82 | use the standard for compiling <application>X</application> based
|
---|
83 | applications.</para>
|
---|
84 |
|
---|
85 | </sect2>
|
---|
86 |
|
---|
87 | <sect2>
|
---|
88 | <title>Configuring <acronym>NAS</acronym></title>
|
---|
89 |
|
---|
90 | <sect3 id="nas-config"><title>Config files</title>
|
---|
91 | <para><filename>/etc/nas/nasd.conf</filename></para>
|
---|
92 | <indexterm zone="nas nas-config">
|
---|
93 | <primary sortas="e-etc-nas-nasd.conf">/etc/nas/nasd.conf</primary></indexterm>
|
---|
94 | </sect3>
|
---|
95 |
|
---|
96 | <sect3><title>Configuration information</title>
|
---|
97 | <para>Create the <application>NAS</application> configuration file using the
|
---|
98 | following command:</para>
|
---|
99 |
|
---|
100 | <screen><userinput><command>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</command></userinput></screen>
|
---|
101 |
|
---|
102 | <para>Edit the new configuration file to suit your network and system
|
---|
103 | needs.</para>
|
---|
104 | </sect3>
|
---|
105 |
|
---|
106 | <sect3 id="nas-init"><title>Boot script</title>
|
---|
107 | <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
|
---|
108 | included in the <xref linkend="intro-important-bootscripts"/>
|
---|
109 | package.</para>
|
---|
110 | <indexterm zone="nas nas-init">
|
---|
111 | <primary sortas="f-nas">nas</primary></indexterm>
|
---|
112 |
|
---|
113 | <screen><userinput><command>make install-nas</command></userinput></screen>
|
---|
114 |
|
---|
115 | <para>The init script uses a default parameter to allow access to all hosts on
|
---|
116 | the network. Review the <command>nasd</command> man page for other available
|
---|
117 | parameters if you need to modify the script.</para>
|
---|
118 | </sect3>
|
---|
119 |
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2>
|
---|
123 | <title>Contents</title>
|
---|
124 |
|
---|
125 | <segmentedlist>
|
---|
126 | <segtitle>Installed Programs</segtitle>
|
---|
127 | <segtitle>Installed Library</segtitle>
|
---|
128 | <segtitle>Installed Directory</segtitle>
|
---|
129 |
|
---|
130 | <seglistitem>
|
---|
131 | <seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel, auphone,
|
---|
132 | auplay, aurecord, auscope, autool, auwave, checkmail, issndfile, nasd,
|
---|
133 | playbucket and soundtoh</seg>
|
---|
134 | <seg>libaudio.[so,a]</seg>
|
---|
135 | <seg>/etc/nas and /usr/X11R6/include/audio</seg>
|
---|
136 | </seglistitem>
|
---|
137 | </segmentedlist>
|
---|
138 |
|
---|
139 | <variablelist>
|
---|
140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
141 | <?dbfo list-presentation="list"?>
|
---|
142 |
|
---|
143 | <varlistentry id="au-utilities">
|
---|
144 | <term><command>au[utilities]</command></term>
|
---|
145 | <listitem><para>are a collection of tools to convert, play, edit, record,
|
---|
146 | and manipulate sound files. See the respective man page for each utility
|
---|
147 | for a full description of each one.</para>
|
---|
148 | <indexterm zone="nas au-utilities">
|
---|
149 | <primary sortas="b-au-utilities">au[utilities]</primary>
|
---|
150 | </indexterm></listitem>
|
---|
151 | </varlistentry>
|
---|
152 |
|
---|
153 | <varlistentry id="checkmail">
|
---|
154 | <term><command>checkmail</command></term>
|
---|
155 | <listitem><para>plays a sound file when the user receives mail.</para>
|
---|
156 | <indexterm zone="nas checkmail">
|
---|
157 | <primary sortas="b-checkmail">checkmail</primary>
|
---|
158 | </indexterm></listitem>
|
---|
159 | </varlistentry>
|
---|
160 |
|
---|
161 | <varlistentry id="issndfile">
|
---|
162 | <term><command>issndfile</command></term>
|
---|
163 | <listitem><para>checks if a file is in a recognized audio file format.</para>
|
---|
164 | <indexterm zone="nas issndfile">
|
---|
165 | <primary sortas="b-issndfile">issndfile</primary>
|
---|
166 | </indexterm></listitem>
|
---|
167 | </varlistentry>
|
---|
168 |
|
---|
169 | <varlistentry id="nasd">
|
---|
170 | <term><command>nasd</command></term>
|
---|
171 | <listitem><para>is the Network Audio System server daemon.</para>
|
---|
172 | <indexterm zone="nas nasd">
|
---|
173 | <primary sortas="b-nasd">nasd</primary>
|
---|
174 | </indexterm></listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
177 | <varlistentry id="playbucket">
|
---|
178 | <term><command>playbucket</command></term>
|
---|
179 | <listitem><para>plays, or creates, the bucket corresponding to the
|
---|
180 | specified file.</para>
|
---|
181 | <indexterm zone="nas playbucket">
|
---|
182 | <primary sortas="b-playbucket">playbucket</primary>
|
---|
183 | </indexterm></listitem>
|
---|
184 | </varlistentry>
|
---|
185 |
|
---|
186 | <varlistentry id="soundtoh">
|
---|
187 | <term><command>soundtoh</command></term>
|
---|
188 | <listitem><para>converts a sound file to a C language header file.</para>
|
---|
189 | <indexterm zone="nas soundtoh">
|
---|
190 | <primary sortas="b-soundtoh">soundtoh</primary>
|
---|
191 | </indexterm></listitem>
|
---|
192 | </varlistentry>
|
---|
193 |
|
---|
194 | <varlistentry id="libaudio">
|
---|
195 | <term><filename class='libraryfile'>libaudio.[so,a]</filename></term>
|
---|
196 | <listitem><para>contains API functions to read and write audio files.</para>
|
---|
197 | <indexterm zone="nas libaudio">
|
---|
198 | <primary sortas="c-libaudio">libaudio.[so,a]</primary>
|
---|
199 | </indexterm></listitem>
|
---|
200 | </varlistentry>
|
---|
201 |
|
---|
202 | </variablelist>
|
---|
203 |
|
---|
204 | </sect2>
|
---|
205 |
|
---|
206 | </sect1>
|
---|