1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 flac-download-http "https://downloads.xiph.org/releases/flac/flac-&flac-version;.tar.xz">
|
---|
8 | <!ENTITY flac-download-ftp " ">
|
---|
9 | <!ENTITY flac-md5sum "7cab20b46e0bc859234bf5ba7da81625">
|
---|
10 | <!ENTITY flac-size "1.0 MB">
|
---|
11 | <!ENTITY flac-buildsize "22 MB (additional 163 MB to run the test suite)">
|
---|
12 | <!ENTITY flac-time "0.2 SBU (additional 0.6 SBU to run the test suite)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="flac" xreflabel="FLAC-&flac-version;">
|
---|
16 | <?dbhtml filename="flac.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>FLAC-&flac-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="flac">
|
---|
22 | <primary sortas="a-FLAC">FLAC</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to FLAC</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | <application>FLAC</application> is an audio CODEC similar to
|
---|
30 | MP3, but lossless, meaning that audio is compressed without losing any
|
---|
31 | information.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs122_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>
|
---|
40 | Download (HTTP): <ulink url="&flac-download-http;"/>
|
---|
41 | </para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url="&flac-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download MD5 sum: &flac-md5sum;
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download size: &flac-size;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Estimated disk space required: &flac-buildsize;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated build time: &flac-time;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <!--
|
---|
71 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
72 |
|
---|
73 | <itemizedlist spacing="compact">
|
---|
74 | <listitem>
|
---|
75 | <para>
|
---|
76 | Required patch:
|
---|
77 | <ulink url="&patch-root;/flac-&flac-version;-security_fixes-1.patch"/>
|
---|
78 | </para>
|
---|
79 | </listitem>
|
---|
80 | </itemizedlist>
|
---|
81 | -->
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
86 | <para role="optional">
|
---|
87 | <xref linkend="libogg"/>,
|
---|
88 | <xref linkend="docbook-utils"/>,
|
---|
89 | <xref linkend="doxygen"/>, and
|
---|
90 | <xref linkend="valgrind"/>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="installation">
|
---|
96 | <title>Installation of FLAC</title>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | Install <application>FLAC</application> by running the
|
---|
100 | following commands:
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <screen><userinput>./configure --prefix=/usr \
|
---|
104 | --disable-thorough-tests \
|
---|
105 | --docdir=/usr/share/doc/flac-&flac-version; &&
|
---|
106 | make</userinput></screen>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | To test the results, issue: <command>make check</command>. Note that
|
---|
110 | if you passed the <option>--enable-exhaustive-tests</option> and
|
---|
111 | <option>--enable-valgrind-testing</option> parameters to
|
---|
112 | <command>configure</command> and then run the test suite, it will take a
|
---|
113 | <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
|
---|
114 | of disk space.
|
---|
115 | </para>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2 role="commands">
|
---|
126 | <title>Command Explanations</title>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | <parameter>--disable-thorough-tests</parameter>: This parameter is
|
---|
130 | used so that the test suite will complete in a reasonable amount of time.
|
---|
131 | Remove it if you desire more extensive tests.
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | </sect2>
|
---|
135 |
|
---|
136 | <sect2 role="content">
|
---|
137 | <title>Contents</title>
|
---|
138 |
|
---|
139 | <segmentedlist>
|
---|
140 | <segtitle>Installed Programs</segtitle>
|
---|
141 | <segtitle>Installed Libraries</segtitle>
|
---|
142 | <segtitle>Installed Directories</segtitle>
|
---|
143 |
|
---|
144 | <seglistitem>
|
---|
145 | <seg>flac and metaflac</seg>
|
---|
146 | <seg>libFLAC.so and libFLAC++.so</seg>
|
---|
147 | <seg>/usr/include/FLAC, /usr/include/FLAC++ and
|
---|
148 | /usr/share/doc/flac-&flac-version;</seg>
|
---|
149 | </seglistitem>
|
---|
150 | </segmentedlist>
|
---|
151 |
|
---|
152 | <variablelist>
|
---|
153 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
154 | <?dbfo list-presentation="list"?>
|
---|
155 | <?dbhtml list-presentation="table"?>
|
---|
156 |
|
---|
157 | <varlistentry id="flac-prog">
|
---|
158 | <term><command>flac</command></term>
|
---|
159 | <listitem>
|
---|
160 | <para>
|
---|
161 | is a command-line utility for encoding, decoding and
|
---|
162 | converting FLAC files
|
---|
163 | </para>
|
---|
164 | <indexterm zone="flac flac-prog">
|
---|
165 | <primary sortas="b-flac">flac</primary>
|
---|
166 | </indexterm>
|
---|
167 | </listitem>
|
---|
168 | </varlistentry>
|
---|
169 |
|
---|
170 | <varlistentry id="metaflac">
|
---|
171 | <term><command>metaflac</command></term>
|
---|
172 | <listitem>
|
---|
173 | <para>
|
---|
174 | is a program for listing, adding, removing, or editing
|
---|
175 | metadata in one or more FLAC files
|
---|
176 | </para>
|
---|
177 | <indexterm zone="flac metaflac">
|
---|
178 | <primary sortas="b-metaflac">metaflac</primary>
|
---|
179 | </indexterm>
|
---|
180 | </listitem>
|
---|
181 | </varlistentry>
|
---|
182 |
|
---|
183 | <varlistentry id="libflac">
|
---|
184 | <term><filename class="libraryfile">libFLAC{,++}.so</filename></term>
|
---|
185 | <listitem>
|
---|
186 | <para>
|
---|
187 | these libraries provide native FLAC and Ogg FLAC C/C++ APIs
|
---|
188 | for programs utilizing FLAC
|
---|
189 | </para>
|
---|
190 | <indexterm zone="flac libflac">
|
---|
191 | <primary sortas="c-libFLAC">libFLAC{,++}.so</primary>
|
---|
192 | </indexterm>
|
---|
193 | </listitem>
|
---|
194 | </varlistentry>
|
---|
195 |
|
---|
196 | <!--
|
---|
197 | <varlistentry id="libxmms-flac">
|
---|
198 | <term><filename class="libraryfile">libxmms-flac.{so,a}</filename></term>
|
---|
199 | <listitem>
|
---|
200 | <para>
|
---|
201 | is a plugin for <application>XMMS</application>.
|
---|
202 | </para>
|
---|
203 | <indexterm zone="flac libxmms-flac">
|
---|
204 | <primary sortas="c-libxmms-flac">libxmms-flac.{so,a}</primary>
|
---|
205 | </indexterm>
|
---|
206 | </listitem>
|
---|
207 | </varlistentry>
|
---|
208 | -->
|
---|
209 |
|
---|
210 | </variablelist>
|
---|
211 |
|
---|
212 | </sect2>
|
---|
213 |
|
---|
214 | </sect1>
|
---|