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