source: multimedia/libdriv/nas.xml@ 847ae101

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 847ae101 was 93ffd0f, checked in by Bruce Dubbs <bdubbs@…>, 18 years ago

Fixed typo in nas instructions.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6162 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • 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.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 <keywordset>
34 <keyword role="package">nas-&nas-version;.src.tar</keyword>
35 <keyword role="ftpdir">nas</keyword>
36 </keywordset>
37 </sect1info>
38
39 <title>NAS-&nas-version;</title>
40
41 <indexterm zone="nas">
42 <primary sortas="a-NAS">NAS</primary>
43 </indexterm>
44
45 <sect2 role="package">
46 <title>Introduction to NAS</title>
47
48 <para>The Network Audio System is a network transparent, client/server
49 audio transport system used to read , write and play audio files in many
50 formats including <filename>.au</filename>, <filename>.snd</filename>,
51 <filename>.voc</filename>, <filename>.wav</filename>,
52 <filename>.aiff</filename>, <filename>.aif</filename> and
53 <filename>.iff</filename>. It can be described as the audio equivalent
54 of an <application>X</application> server.</para>
55
56 <bridgehead renderas="sect3">Package Information</bridgehead>
57 <itemizedlist spacing="compact">
58 <listitem>
59 <para>Download (HTTP): <ulink url="&nas-download-http;"/></para>
60 </listitem>
61 <listitem>
62 <para>Download (FTP): <ulink url="&nas-download-ftp;"/></para>
63 </listitem>
64 <listitem>
65 <para>Download MD5 sum: &nas-md5sum;</para>
66 </listitem>
67 <listitem>
68 <para>Download size: &nas-size;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated disk space required: &nas-buildsize;</para>
72 </listitem>
73 <listitem>
74 <para>Estimated build time: &nas-time;</para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
79 <itemizedlist spacing='compact'>
80 <listitem>
81 <para>Required Patch: <ulink
82 url="&patch-root;/nas-&nas-version;-gcc4-1.patch"/></para>
83 </listitem>
84 </itemizedlist>
85
86 <bridgehead renderas="sect3">NAS Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required"><xref linkend="x-window-system"/> and
90 <xref linkend="rman"/> (if using <application>Xorg7</application>)</para>
91
92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/nas"/></para>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of NAS</title>
99
100 <para>Install <application>NAS</application> by running the
101 following commands:</para>
102
103<screen><userinput>patch -Np1 -i ../nas-&nas-version;-gcc4-1.patch &amp;&amp;
104xmkmf &amp;&amp;
105make World</userinput></screen>
106
107 <para>Now, as the <systemitem class="username">root</systemitem>
108 user:</para>
109
110<screen role="root"><userinput>make install install.man &amp;&amp;
111install -v -m755 -d /usr/share/doc/nas-&nas-version;/pdf &amp;&amp;
112install -v -m644 doc/pdf/* /usr/share/doc/nas-&nas-version;/pdf &amp;&amp;
113install -v -m644 doc/{README,actions,*.{ps,txt}} \
114 /usr/share/doc/nas-&nas-version;</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <para><command>xmkmf</command>; <command>make World</command>:
122 These commands use the standard for compiling <application>X</application>
123 based applications.</para>
124
125 </sect2>
126
127 <sect2 role="configuration">
128 <title>Configuring NAS</title>
129
130 <sect3 id="nas-config">
131 <title>Config Files</title>
132
133 <para><filename>/etc/nas/nasd.conf</filename></para>
134
135 <indexterm zone="nas nas-config">
136 <primary sortas="e-etc-nas-nasd.conf">/etc/nas/nasd.conf</primary>
137 </indexterm>
138
139 </sect3>
140
141 <sect3>
142 <title>Configuration Information</title>
143
144 <para>Create the <application>NAS</application> configuration file
145 using the following command:</para>
146
147<screen role="root"><userinput>install -v -m644 /etc/nas/nasd.conf.eg /etc/nas/nasd.conf</userinput></screen>
148
149 <para>Edit the new configuration file to suit your network and system
150 needs.</para>
151
152 </sect3>
153
154 <sect3 id="nas-init">
155 <title>Boot Script</title>
156
157 <note><para>The <application>NAS</application> server cannot run
158 simultaneously with other sound servers, such as <ulink
159 url="http://www.mediaapplicationserver.net/">MAS</ulink> or <ulink
160 url="http://jackit.sourceforge.net/">JACK</ulink>.</para></note>
161
162 <para>Install the <filename>/etc/rc.d/init.d/nas</filename> init script
163 included in the <xref linkend="bootscripts"/>
164 package.</para>
165
166 <indexterm zone="nas nas-init">
167 <primary sortas="f-nas">nas</primary>
168 </indexterm>
169
170<screen role="root"><userinput>make install-nas</userinput></screen>
171
172 <para>The init script uses a default prefix of
173 <filename class="directory">/usr/X11R6</filename>. If you've installed
174 the X Window System into any other prefix, execute the following command
175 to correct the script:</para>
176
177<screen role="root"><userinput>sed -i 's@/usr/X11R6@<replaceable>&lt;PREFIX&gt;</replaceable>@' /etc/rc.d/init.d/nas</userinput></screen>
178
179 <para>The init script uses a default parameter to allow access to all
180 hosts on the network. Review the <command>nasd</command> man page for
181 other available parameters if you need to modify the script.</para>
182
183 </sect3>
184
185 </sect2>
186
187 <sect2 role="content">
188 <title>Contents</title>
189
190 <segmentedlist>
191 <segtitle>Installed Programs</segtitle>
192 <segtitle>Installed Library</segtitle>
193 <segtitle>Installed Directory</segtitle>
194
195 <seglistitem>
196 <seg>auconvert, auctl, audemo, audial, auedit, auinfo, aupanel,
197 auphone, auplay, aurecord, auscope, autool, auwave, checkmail,
198 issndfile, nasd, playbucket, and soundtoh</seg>
199 <seg>libaudio.{so,a}</seg>
200 <seg>/etc/nas and /usr/X11R6/include/audio</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.