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 | <!-- Inserted as a reminder to do this. The mention of a test suite
|
---|
8 | is usually right before the root user installation commands. Please
|
---|
9 | delete these 12 (including one blank) lines after you are done.-->
|
---|
10 |
|
---|
11 | <!-- Use one of the two mentions below about a test suite,
|
---|
12 | delete the line that is not applicable. Of course, if the
|
---|
13 | test suite uses syntax other than "make check", revise the
|
---|
14 | line to reflect the actual syntax to run the test suite -->
|
---|
15 |
|
---|
16 | <!-- <para>This package does not come with a test suite.</para> -->
|
---|
17 | <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
---|
18 |
|
---|
19 | <!ENTITY nas-download-http "http://nas.codebrilliance.com/nas/nas-&nas-version;.src.tar.gz">
|
---|
20 | <!ENTITY nas-download-ftp "ftp://ftp.us.xemacs.org/pub/xemacs/aux/nas-&nas-version;.src.tar.gz">
|
---|
21 | <!ENTITY nas-md5sum "c9918e9c9c95d587a95b455bbabe3b49">
|
---|
22 | <!ENTITY nas-size "1.2 MB">
|
---|
23 | <!ENTITY nas-buildsize "17.8 MB">
|
---|
24 | <!ENTITY nas-time "0.3 SBU">
|
---|
25 | ]>
|
---|
26 |
|
---|
27 | <sect1 id="nas" xreflabel="NAS-&nas-version;">
|
---|
28 | <?dbhtml filename="nas.html"?>
|
---|
29 |
|
---|
30 | <sect1info>
|
---|
31 | <othername>$LastChangedBy$</othername>
|
---|
32 | <date>$Date$</date>
|
---|
33 | </sect1info>
|
---|
34 |
|
---|
35 | <title>NAS-&nas-version;</title>
|
---|
36 |
|
---|
37 | <indexterm zone="nas">
|
---|
38 | <primary sortas="a-NAS">NAS</primary>
|
---|
39 | </indexterm>
|
---|
40 |
|
---|
41 | <sect2 role="package">
|
---|
42 | <title>Introduction to NAS</title>
|
---|
43 |
|
---|
44 | <para>The Network Audio System is a network transparent, client/server
|
---|
45 | audio transport system used to read , write and play audio files in many
|
---|
46 | formats including <filename>.au</filename>, <filename>.snd</filename>,
|
---|
47 | <filename>.voc</filename>, <filename>.wav</filename>,
|
---|
48 | <filename>.aiff</filename>, <filename>.aif</filename> and
|
---|
49 | <filename>.iff</filename>. It can be described as the audio equivalent
|
---|
50 | of an <application>X</application> server.</para>
|
---|
51 |
|
---|
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 |
|
---|
74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
75 | <itemizedlist spacing='compact'>
|
---|
76 | <listitem>
|
---|
77 | <para>Required Patch: <ulink
|
---|
78 | url="&patch-root;/nas-&nas-version;-gcc4-1.patch"/></para>
|
---|
79 | </listitem>
|
---|
80 | </itemizedlist>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect3">NAS Dependencies</bridgehead>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
85 | <para role="required"><xref linkend="x-window-system"/> and
|
---|
86 | <xref linkend="rman"/> (if using <application>Xorg7</application>)</para>
|
---|
87 |
|
---|
88 | <para condition="html" role="usernotes">User Notes:
|
---|
89 | <ulink url="&blfs-wiki;/nas"/></para>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2 role="installation">
|
---|
94 | <title>Installation of NAS</title>
|
---|
95 |
|
---|
96 | <para>Install <application>NAS</application> by running the
|
---|
97 | following commands:</para>
|
---|
98 |
|
---|
99 | <screen><userinput>patch -Np1 -i ../nas-&nas-version;-gcc4-1.patch &&
|
---|
100 | xmkmf &&
|
---|
101 | make World</userinput></screen>
|
---|
102 |
|
---|
103 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
104 | user:</para>
|
---|
105 |
|
---|
106 | <screen role="root"><userinput>make install install.man &&
|
---|
107 | install -v -m755 -d /usr/share/doc/nas-&nas-version;/pdf &&
|
---|
108 | install -v -m644 doc/pdf/* /usr/share/doc/nas-&nas-version;/pdf &&
|
---|
109 | install -v -m644 doc/{README,actions,*.{ps,txt}} \
|
---|
110 | /usr/share/doc/nas-&nas-version;</userinput></screen>
|
---|
111 |
|
---|
112 | </sect2>
|
---|
113 |
|
---|
114 | <sect2 role="commands">
|
---|
115 | <title>Command Explanations</title>
|
---|
116 |
|
---|
117 | <para><command>xmkmf</command>; <command>make World</command>:
|
---|
118 | These commands use the standard for compiling <application>X</application>
|
---|
119 | based applications.</para>
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="configuration">
|
---|
124 | <title>Configuring NAS</title>
|
---|
125 |
|
---|
126 | <sect3 id="nas-config">
|
---|
127 | <title>Config Files</title>
|
---|
128 |
|
---|
129 | <para><filename>/etc/nas/nasd.conf</filename></para>
|
---|
130 |
|
---|
131 | <indexterm zone="nas nas-config">
|
---|
132 | <primary sortas="e-etc-nas-nasd.conf">/etc/nas/nasd.conf</primary>
|
---|
133 | </indexterm>
|
---|
134 |
|
---|
135 | </sect3>
|
---|
136 |
|
---|
137 | <sect3>
|
---|
138 | <title>Configuration Information</title>
|
---|
139 |
|
---|
140 | <para>Create the <application>NAS</application> configuration file
|
---|
141 | using the following command:</para>
|
---|
142 |
|
---|
143 | <screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
|
---|
144 |
|
---|
145 | <para>Edit the new configuration file to suit your network and system
|
---|
146 | needs.</para>
|
---|
147 |
|
---|
148 | </sect3>
|
---|
149 |
|
---|
150 | <sect3 id="nas-init">
|
---|
151 | <title>Boot Script</title>
|
---|
152 |
|
---|
153 | <note><para>The <application>NAS</application> server cannot run
|
---|
154 | simultaneously with other sound servers, such as <ulink
|
---|
155 | url="http://www.mediaapplicationserver.net/">MAS</ulink> or <ulink
|
---|
156 | url="http://jackit.sourceforge.net/">JACK</ulink>.</para></note>
|
---|
157 |
|
---|
158 | <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
|
---|
159 | included in the <xref linkend="bootscripts"/>
|
---|
160 | package.</para>
|
---|
161 |
|
---|
162 | <indexterm zone="nas nas-init">
|
---|
163 | <primary sortas="f-nas">nas</primary>
|
---|
164 | </indexterm>
|
---|
165 |
|
---|
166 | <screen role="root"><userinput>make install-nas</userinput></screen>
|
---|
167 |
|
---|
168 | <para>The init script uses a default prefix of
|
---|
169 | <filename class="directory">/usr/X11R6</filename>. If you've installed
|
---|
170 | the <application>X Window System</application> into any other prefix,
|
---|
171 | execute the following command, replacing
|
---|
172 | <replaceable><PREFIX></replaceable> with the installation
|
---|
173 | prefix of the <application>X Window System</application>.</para>
|
---|
174 |
|
---|
175 | <screen role="root"><userinput>sed -i 's@/usr/X11R6@<replaceable><PREFIX></replaceable>@' /etc/rc.d/init.d/nas</userinput></screen>
|
---|
176 |
|
---|
177 | <para>The init script uses a default parameter to allow access to all
|
---|
178 | hosts on the network. Review the <command>nasd</command> man page for
|
---|
179 | other available parameters if you need to modify the script.</para>
|
---|
180 |
|
---|
181 | </sect3>
|
---|
182 |
|
---|
183 | </sect2>
|
---|
184 |
|
---|
185 | <sect2 role="content">
|
---|
186 | <title>Contents</title>
|
---|
187 |
|
---|
188 | <segmentedlist>
|
---|
189 | <segtitle>Installed Programs</segtitle>
|
---|
190 | <segtitle>Installed Library</segtitle>
|
---|
191 | <segtitle>Installed Directory</segtitle>
|
---|
192 |
|
---|
193 | <seglistitem>
|
---|
194 | <seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel,
|
---|
195 | auphone, auplay, aurecord, auscope, autool, auwave, checkmail,
|
---|
196 | issndfile, nasd, playbucket, and soundtoh</seg>
|
---|
197 | <seg>libaudio.{so,a}</seg>
|
---|
198 | <seg>/etc/nas and /usr/X11R6/include/audio</seg>
|
---|
199 | </seglistitem>
|
---|
200 | </segmentedlist>
|
---|
201 |
|
---|
202 | <variablelist>
|
---|
203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
204 | <?dbfo list-presentation="list"?>
|
---|
205 | <?dbhtml list-presentation="table"?>
|
---|
206 |
|
---|
207 | <varlistentry id="au-utilities">
|
---|
208 | <term><command>au{utilities}</command></term>
|
---|
209 | <listitem>
|
---|
210 | <para>are a collection of tools to convert, play, edit, record,
|
---|
211 | and manipulate sound files. See the respective man page for each
|
---|
212 | utility for a full description of each one.</para>
|
---|
213 | <indexterm zone="nas au-utilities">
|
---|
214 | <primary sortas="b-au-utilities">au{utilities}</primary>
|
---|
215 | </indexterm>
|
---|
216 | </listitem>
|
---|
217 | </varlistentry>
|
---|
218 |
|
---|
219 | <varlistentry id="checkmail">
|
---|
220 | <term><command>checkmail</command></term>
|
---|
221 | <listitem>
|
---|
222 | <para>plays a sound file when the user receives mail.</para>
|
---|
223 | <indexterm zone="nas checkmail">
|
---|
224 | <primary sortas="b-checkmail">checkmail</primary>
|
---|
225 | </indexterm>
|
---|
226 | </listitem>
|
---|
227 | </varlistentry>
|
---|
228 |
|
---|
229 | <varlistentry id="issndfile">
|
---|
230 | <term><command>issndfile</command></term>
|
---|
231 | <listitem>
|
---|
232 | <para>checks if a file is in a recognized audio file format.</para>
|
---|
233 | <indexterm zone="nas issndfile">
|
---|
234 | <primary sortas="b-issndfile">issndfile</primary>
|
---|
235 | </indexterm>
|
---|
236 | </listitem>
|
---|
237 | </varlistentry>
|
---|
238 |
|
---|
239 | <varlistentry id="nasd">
|
---|
240 | <term><command>nasd</command></term>
|
---|
241 | <listitem>
|
---|
242 | <para>is the Network Audio System server daemon.</para>
|
---|
243 | <indexterm zone="nas nasd">
|
---|
244 | <primary sortas="b-nasd">nasd</primary>
|
---|
245 | </indexterm>
|
---|
246 | </listitem>
|
---|
247 | </varlistentry>
|
---|
248 |
|
---|
249 | <varlistentry id="playbucket">
|
---|
250 | <term><command>playbucket</command></term>
|
---|
251 | <listitem>
|
---|
252 | <para>plays, or creates, the bucket corresponding to the
|
---|
253 | specified file.</para>
|
---|
254 | <indexterm zone="nas playbucket">
|
---|
255 | <primary sortas="b-playbucket">playbucket</primary>
|
---|
256 | </indexterm>
|
---|
257 | </listitem>
|
---|
258 | </varlistentry>
|
---|
259 |
|
---|
260 | <varlistentry id="soundtoh">
|
---|
261 | <term><command>soundtoh</command></term>
|
---|
262 | <listitem>
|
---|
263 | <para>converts a sound file to a C language header file.</para>
|
---|
264 | <indexterm zone="nas soundtoh">
|
---|
265 | <primary sortas="b-soundtoh">soundtoh</primary>
|
---|
266 | </indexterm>
|
---|
267 | </listitem>
|
---|
268 | </varlistentry>
|
---|
269 |
|
---|
270 | <varlistentry id="libaudio">
|
---|
271 | <term><filename class='libraryfile'>libaudio.{so,a}</filename></term>
|
---|
272 | <listitem>
|
---|
273 | <para>contains API functions to read and write audio files.</para>
|
---|
274 | <indexterm zone="nas libaudio">
|
---|
275 | <primary sortas="c-libaudio">libaudio.{so,a}</primary>
|
---|
276 | </indexterm>
|
---|
277 | </listitem>
|
---|
278 | </varlistentry>
|
---|
279 |
|
---|
280 | </variablelist>
|
---|
281 |
|
---|
282 | </sect2>
|
---|
283 |
|
---|
284 | </sect1>
|
---|