source: archive/nas.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 9.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 "&gentoo-ftp-repo;/nas-&nas-version;.src.tar.gz"> -->
9 <!ENTITY nas-download-http "&sourceforge-repo;/nas/nas-&nas-version;.src.tar.gz">
10 <!ENTITY nas-download-ftp "&sources-anduin-ftp;/n/nas-&nas-version;.src.tar.gz">
11 <!ENTITY nas-md5sum "d975efefba50b985446bb2c2cb4ee91f">
12 <!ENTITY nas-size "1.4 MB">
13 <!ENTITY nas-buildsize "17 MB">
14 <!ENTITY nas-time "0.3 SBU">
15]>
16
17<sect1 id="nas" xreflabel="NAS-&nas-version;">
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
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
32 formats including <filename>.au</filename>, <filename>.snd</filename>,
33 <filename>.voc</filename>, <filename>.wav</filename>,
34 <filename>.aiff</filename>, <filename>.aif</filename> and
35 <filename>.iff</filename>. It can be described as the audio equivalent
36 of an <application>X</application> server.</para>
37
38 <para><application>NAS</application> is an older sound server included
39 in BLFS primarily because it is an optional dependency for several
40 packages. Unless you know you need <application>NAS</application>, it
41 is probably not needed at all.</para>
42
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
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
71 <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
72 <itemizedlist spacing='compact'>
73 <listitem>
74 <para>Required Patch: <ulink
75 url="&patch-root;/nas-&nas-version;-gcc4-1.patch"/></para>
76 </listitem>
77 </itemizedlist> -->
78
79 <bridgehead renderas="sect3">NAS Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required"><xref linkend="x-window-system"/></para>
83
84 <!-- <xref linkend="rman"/> (if using <application>Xorg7</application>) -->
85
86 <para condition="html" role="usernotes">User Notes:
87 <ulink url="&blfs-wiki;/nas"/></para>
88
89 </sect2>
90
91 <sect2 role="installation">
92 <title>Installation of NAS</title>
93
94 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
95 href="../../xincludes/X11R6_symlink.xml"/>
96
97 <para>Install <application>NAS</application> by running the
98 following commands:</para>
99
100<screen><userinput>xmkmf &amp;&amp;
101make World</userinput></screen>
102
103 <para>This package does not come with a test suite.</para>
104
105 <para>Now, as the <systemitem class="username">root</systemitem>
106 user:</para>
107
108<screen role="root"><userinput>make XPLIB= install install.man &amp;&amp;
109install -v -m755 -d /usr/share/doc/nas-&nas-version;/{html,pdf} &amp;&amp;
110install -v -m644 doc/html/* /usr/share/doc/nas-&nas-version;/html &amp;&amp;
111install -v -m644 doc/pdf/* /usr/share/doc/nas-&nas-version;/pdf &amp;&amp;
112install -v -m644 doc/{README,actions,*.{ps,txt}} \
113 /usr/share/doc/nas-&nas-version;</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <para><command>xmkmf</command>: <command>make World</command>:
121 These commands use the standard for compiling <application>Imake</application>
122 based applications.</para>
123
124 <para><option>XPLIB=</option>: This option is necessary to prevent the
125 build system from trying to link to an unused and deprecated library.</para>
126
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
146 <para>Create the <application>NAS</application> configuration file
147 using the following command:</para>
148
149<screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
150
151 <para>Edit the new configuration file to suit your network and system
152 needs.</para>
153
154 </sect3>
155
156 <sect3 id="nas-init">
157 <title>Boot Script</title>
158
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>
165
166 <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
167 included in the <xref linkend="bootscripts"/> package.</para>
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
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
177 other available parameters if you need to modify the script.</para>
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>
192 <seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel,
193 auphone, auplay, aurecord, auscope, autool, auwave, checkmail,
194 issndfile, nasd, playbucket, and soundtoh</seg>
195 <seg>libaudio.{so,a}</seg>
196 <seg>/etc/nas, /usr/X11R6/include/audio and
197 /usr/share/doc/nas-&nas-version;</seg>
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">
207 <term><command>au{utilities}</command></term>
208 <listitem>
209 <para>are a collection of tools to convert, play, edit, record,
210 and manipulate sound files. See the respective man page for each
211 utility for a full description of each one.</para>
212 <indexterm zone="nas au-utilities">
213 <primary sortas="b-au-utilities">au{utilities}</primary>
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>
251 <para>plays, or creates, the bucket corresponding to the
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">
270 <term><filename class='libraryfile'>libaudio.{so,a}</filename></term>
271 <listitem>
272 <para>contains API functions to read and write audio files.</para>
273 <indexterm zone="nas libaudio">
274 <primary sortas="c-libaudio">libaudio.{so,a}</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 </variablelist>
280
281 </sect2>
282
283</sect1>
Note: See TracBrowser for help on using the repository browser.