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 audiofile-download-http "&gnome-download-http;/audiofile/0.3/audiofile-&audiofile-version;.tar.xz">
|
---|
8 | <!ENTITY audiofile-download-ftp "&gnome-download-ftp;/audiofile/0.3/audiofile-&audiofile-version;.tar.xz">
|
---|
9 | <!ENTITY audiofile-md5sum "235dde14742317328f0109e9866a8008">
|
---|
10 | <!ENTITY audiofile-size "520 KB">
|
---|
11 | <!ENTITY audiofile-buildsize "18 MB">
|
---|
12 | <!ENTITY audiofile-time "0.6 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="audiofile" xreflabel="AudioFile-&audiofile-version;">
|
---|
16 | <?dbhtml filename="audiofile.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>AudioFile-&audiofile-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="audiofile">
|
---|
25 | <primary sortas="a-AudioFile">AudioFile</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to AudioFile</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>AudioFile</application> package contains the
|
---|
33 | audio file libraries and two sound file support programs useful
|
---|
34 | to support basic sound file formats.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs111_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&audiofile-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&audiofile-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &audiofile-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &audiofile-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &audiofile-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &audiofile-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
74 | <itemizedlist spacing="compact">
|
---|
75 | <listitem>
|
---|
76 | <para>
|
---|
77 | Required patch:
|
---|
78 | <ulink url="&patch-root;/audiofile-&audiofile-version;-consolidated_patches-1.patch"/>
|
---|
79 | </para>
|
---|
80 | </listitem>
|
---|
81 | </itemizedlist>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect3">AudioFile Dependencies</bridgehead>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
86 | <para role="required">
|
---|
87 | <xref linkend="alsa-lib"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
91 | <para role="recommended">
|
---|
92 | <xref linkend="flac"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
96 | <para role="optional">
|
---|
97 | <xref linkend="asciidoc"/> and
|
---|
98 | <xref linkend="valgrind"/>
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <para condition="html" role="usernotes">User Notes:
|
---|
102 | <ulink url="&blfs-wiki;/audiofile"/>
|
---|
103 | </para>
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2 role="installation">
|
---|
107 | <title>Installation of AudioFile</title>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | Install <application>AudioFile</application> by running the following
|
---|
111 | commands:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <!-- No longer needed with the patch
|
---|
115 | CXXFLAGS="${CXXFLAGS:- -O2 -g} -std=c++98" -->
|
---|
116 |
|
---|
117 | <screen><userinput>patch -Np1 -i ../audiofile-&audiofile-version;-consolidated_patches-1.patch &&
|
---|
118 | autoreconf -fiv &&
|
---|
119 |
|
---|
120 | ./configure --prefix=/usr --disable-static &&
|
---|
121 |
|
---|
122 | make</userinput></screen>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | To test the results, issue: <command>make check</command>.
|
---|
132 | Note that the tests will fail if the --disable-static
|
---|
133 | option is used and tests are executed before
|
---|
134 | <command>make install</command>. You have three options:
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <para>
|
---|
138 | (a) configure without --disable-static, run the tests, but do not
|
---|
139 | install, then start a fresh build using --disable-static just for
|
---|
140 | installing the package.
|
---|
141 | </para>
|
---|
142 |
|
---|
143 | <para>
|
---|
144 | (b) configure with --disable-static, but only run the tests after the
|
---|
145 | package is installed.
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <para>
|
---|
149 | (c) configure with --disable-static, but only run the tests after a
|
---|
150 | DESTDIR install.
|
---|
151 | </para>
|
---|
152 |
|
---|
153 | </sect2>
|
---|
154 |
|
---|
155 | <sect2 role="commands">
|
---|
156 | <title>Command Explanations</title>
|
---|
157 |
|
---|
158 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
159 | href="../../xincludes/static-libraries.xml"/>
|
---|
160 |
|
---|
161 | </sect2>
|
---|
162 |
|
---|
163 | <sect2 role="content">
|
---|
164 | <title>Contents</title>
|
---|
165 |
|
---|
166 | <segmentedlist>
|
---|
167 | <segtitle>Installed Programs</segtitle>
|
---|
168 | <segtitle>Installed Libraries</segtitle>
|
---|
169 | <segtitle>Installed Directories</segtitle>
|
---|
170 |
|
---|
171 | <seglistitem>
|
---|
172 | <seg>
|
---|
173 | sfconvert and sfinfo
|
---|
174 | </seg>
|
---|
175 | <seg>
|
---|
176 | libaudiofile.so
|
---|
177 | </seg>
|
---|
178 | <seg>
|
---|
179 | None
|
---|
180 | </seg>
|
---|
181 | </seglistitem>
|
---|
182 | </segmentedlist>
|
---|
183 |
|
---|
184 | <variablelist>
|
---|
185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
186 | <?dbfo list-presentation="list"?>
|
---|
187 | <?dbhtml list-presentation="table"?>
|
---|
188 |
|
---|
189 | <varlistentry id="sfinfo">
|
---|
190 | <term><command>sfinfo</command></term>
|
---|
191 | <listitem>
|
---|
192 | <para>
|
---|
193 | displays the sound file format, audio encoding, sampling
|
---|
194 | rate and duration for audio formats supported by this library
|
---|
195 | </para>
|
---|
196 | <indexterm zone="audiofile sfinfo">
|
---|
197 | <primary sortas="b-sfinfo">sfinfo</primary>
|
---|
198 | </indexterm>
|
---|
199 | </listitem>
|
---|
200 | </varlistentry>
|
---|
201 |
|
---|
202 | <varlistentry id="sfconvert">
|
---|
203 | <term><command>sfconvert</command></term>
|
---|
204 | <listitem>
|
---|
205 | <para>
|
---|
206 | converts sound file formats where the original format and
|
---|
207 | destination format are supported by this library
|
---|
208 | </para>
|
---|
209 | <indexterm zone="audiofile sfconvert">
|
---|
210 | <primary sortas="b-sfconvert">sfconvert</primary>
|
---|
211 | </indexterm>
|
---|
212 | </listitem>
|
---|
213 | </varlistentry>
|
---|
214 |
|
---|
215 | <varlistentry id="libaudiofile">
|
---|
216 | <term><filename class="libraryfile">libaudiofile.so</filename></term>
|
---|
217 | <listitem>
|
---|
218 | <para>
|
---|
219 | contains functions used by programs to support AIFF,
|
---|
220 | AIFF-compressed, Sun/NeXT, WAV and BIC audio formats
|
---|
221 | </para>
|
---|
222 | <indexterm zone="audiofile libaudiofile">
|
---|
223 | <primary sortas="c-libaudiofile">libaudiofile.so</primary>
|
---|
224 | </indexterm>
|
---|
225 | </listitem>
|
---|
226 | </varlistentry>
|
---|
227 |
|
---|
228 | </variablelist>
|
---|
229 |
|
---|
230 | </sect2>
|
---|
231 |
|
---|
232 | </sect1>
|
---|