source: archive/nas.xml@ 510328e

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 510328e was 510328e, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Cleanup XI. Multimedia

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