source: archive/nas.xml@ d9cbb3b

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d9cbb3b was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 9.8 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 <sect1info>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>NAS-&nas-version;</title>
25
26 <indexterm zone="nas">
27 <primary sortas="a-NAS">NAS</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to NAS</title>
32
33 <para>The Network Audio System is a network transparent, client/server
34 audio transport system used to read , write and play audio files in many
35 formats including <filename>.au</filename>, <filename>.snd</filename>,
36 <filename>.voc</filename>, <filename>.wav</filename>,
37 <filename>.aiff</filename>, <filename>.aif</filename> and
38 <filename>.iff</filename>. It can be described as the audio equivalent
39 of an <application>X</application> server.</para>
40
41 <para><application>NAS</application> is an older sound server included
42 in BLFS primarily because it is an optional dependency for several
43 packages. Unless you know you need <application>NAS</application>, it
44 is probably not needed at all.</para>
45
46 <para>There may be a more recent release available from the
47 <application>NAS</application> home page. You can check
48 <ulink url="http://nas.codebrilliance.com/"/> and probably use the
49 existing BLFS instructions. Note that versions other than the one shown
50 in the download URLs have not been tested in a BLFS environment.</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"/></para>
86
87 <!-- <xref linkend="rman"/> (if using <application>Xorg7</application>) -->
88
89 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/nas"/></para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of NAS</title>
96
97 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
98 href="../../xincludes/X11R6_symlink.xml"/>
99
100 <para>Install <application>NAS</application> by running the
101 following commands:</para>
102
103<screen><userinput>xmkmf &amp;&amp;
104make World</userinput></screen>
105
106 <para>This package does not come with a test suite.</para>
107
108 <para>Now, as the <systemitem class="username">root</systemitem>
109 user:</para>
110
111<screen role="root"><userinput>make XPLIB= install install.man &amp;&amp;
112install -v -m755 -d /usr/share/doc/nas-&nas-version;/{html,pdf} &amp;&amp;
113install -v -m644 doc/html/* /usr/share/doc/nas-&nas-version;/html &amp;&amp;
114install -v -m644 doc/pdf/* /usr/share/doc/nas-&nas-version;/pdf &amp;&amp;
115install -v -m644 doc/{README,actions,*.{ps,txt}} \
116 /usr/share/doc/nas-&nas-version;</userinput></screen>
117
118 </sect2>
119
120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
123 <para><command>xmkmf</command>: <command>make World</command>:
124 These commands use the standard for compiling <application>Imake</application>
125 based applications.</para>
126
127 <para><option>XPLIB=</option>: This option is necessary to prevent the
128 build system from trying to link to an unused and deprecated library.</para>
129
130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring NAS</title>
134
135 <sect3 id="nas-config">
136 <title>Config Files</title>
137
138 <para><filename>/etc/nas/nasd.conf</filename></para>
139
140 <indexterm zone="nas nas-config">
141 <primary sortas="e-etc-nas-nasd.conf">/etc/nas/nasd.conf</primary>
142 </indexterm>
143
144 </sect3>
145
146 <sect3>
147 <title>Configuration Information</title>
148
149 <para>Create the <application>NAS</application> configuration file
150 using the following command:</para>
151
152<screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
153
154 <para>Edit the new configuration file to suit your network and system
155 needs.</para>
156
157 </sect3>
158
159 <sect3 id="nas-init">
160 <title>Boot Script</title>
161
162 <note>
163 <para>The <application>NAS</application> server cannot run
164 simultaneously with other sound servers, such as <ulink
165 url="http://www.mediaapplicationserver.net/">MAS</ulink> or <ulink
166 url="http://jackit.sourceforge.net/">JACK</ulink>.</para>
167 </note>
168
169 <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
170 included in the <xref linkend="bootscripts"/> package.</para>
171
172 <indexterm zone="nas nas-init">
173 <primary sortas="f-nas">nas</primary>
174 </indexterm>
175
176<screen role="root"><userinput>make install-nas</userinput></screen>
177
178 <para>The init script uses a default parameter to allow access to all
179 hosts on the network. Review the <command>nasd</command> man page for
180 other available parameters if you need to modify the script.</para>
181
182 </sect3>
183
184 </sect2>
185
186 <sect2 role="content">
187 <title>Contents</title>
188
189 <segmentedlist>
190 <segtitle>Installed Programs</segtitle>
191 <segtitle>Installed Library</segtitle>
192 <segtitle>Installed Directory</segtitle>
193
194 <seglistitem>
195 <seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel,
196 auphone, auplay, aurecord, auscope, autool, auwave, checkmail,
197 issndfile, nasd, playbucket, and soundtoh</seg>
198 <seg>libaudio.{so,a}</seg>
199 <seg>/etc/nas, /usr/X11R6/include/audio and
200 /usr/share/doc/nas-&nas-version;</seg>
201 </seglistitem>
202 </segmentedlist>
203
204 <variablelist>
205 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
206 <?dbfo list-presentation="list"?>
207 <?dbhtml list-presentation="table"?>
208
209 <varlistentry id="au-utilities">
210 <term><command>au{utilities}</command></term>
211 <listitem>
212 <para>are a collection of tools to convert, play, edit, record,
213 and manipulate sound files. See the respective man page for each
214 utility for a full description of each one.</para>
215 <indexterm zone="nas au-utilities">
216 <primary sortas="b-au-utilities">au{utilities}</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="checkmail">
222 <term><command>checkmail</command></term>
223 <listitem>
224 <para>plays a sound file when the user receives mail.</para>
225 <indexterm zone="nas checkmail">
226 <primary sortas="b-checkmail">checkmail</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="issndfile">
232 <term><command>issndfile</command></term>
233 <listitem>
234 <para>checks if a file is in a recognized audio file format.</para>
235 <indexterm zone="nas issndfile">
236 <primary sortas="b-issndfile">issndfile</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="nasd">
242 <term><command>nasd</command></term>
243 <listitem>
244 <para>is the Network Audio System server daemon.</para>
245 <indexterm zone="nas nasd">
246 <primary sortas="b-nasd">nasd</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="playbucket">
252 <term><command>playbucket</command></term>
253 <listitem>
254 <para>plays, or creates, the bucket corresponding to the
255 specified file.</para>
256 <indexterm zone="nas playbucket">
257 <primary sortas="b-playbucket">playbucket</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="soundtoh">
263 <term><command>soundtoh</command></term>
264 <listitem>
265 <para>converts a sound file to a C language header file.</para>
266 <indexterm zone="nas soundtoh">
267 <primary sortas="b-soundtoh">soundtoh</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry id="libaudio">
273 <term><filename class='libraryfile'>libaudio.{so,a}</filename></term>
274 <listitem>
275 <para>contains API functions to read and write audio files.</para>
276 <indexterm zone="nas libaudio">
277 <primary sortas="c-libaudio">libaudio.{so,a}</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
282 </variablelist>
283
284 </sect2>
285
286</sect1>
Note: See TracBrowser for help on using the repository browser.