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