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 | <!ENTITY flac-download-http "http://prdownloads.sourceforge.net/flac/flac-&flac-version;.tar.gz">
|
---|
8 | <!ENTITY flac-download-ftp " ">
|
---|
9 | <!ENTITY flac-md5sum "2bfc127cdda02834d0491ab531a20960">
|
---|
10 | <!ENTITY flac-size "1.5 MB">
|
---|
11 | <!ENTITY flac-buildsize "49 MB">
|
---|
12 | <!ENTITY flac-time "0.7 SBU">
|
---|
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 | <keywordset>
|
---|
22 | <keyword role="package">flac-&flac-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">flac</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>FLAC-&flac-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="flac">
|
---|
30 | <primary sortas="a-FLAC">FLAC</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to FLAC</title>
|
---|
35 |
|
---|
36 | <para><application>FLAC</application> is an audio CODEC similar to
|
---|
37 | MP3, but lossless, meaning that audio is compressed without losing any
|
---|
38 | information.</para>
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>Download (HTTP): <ulink url="&flac-download-http;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download (FTP): <ulink url="&flac-download-ftp;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download MD5 sum: &flac-md5sum;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download size: &flac-size;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated disk space required: &flac-buildsize;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated build time: &flac-time;</para>
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
63 | <itemizedlist spacing="compact">
|
---|
64 | <listitem>
|
---|
65 | <para>Required patch: <ulink
|
---|
66 | url="&patch-root;/flac-&flac-version;-xmms_plugin_fix-1.patch"/></para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
73 | <para role="optional"><xref linkend="libogg"/>,
|
---|
74 | <xref linkend="xmms"/>,
|
---|
75 | <xref linkend="NASM"/>,
|
---|
76 | <xref linkend="docbook-utils"/>,
|
---|
77 | <xref linkend="doxygen"/> and
|
---|
78 | <ulink url="http://valgrind.kde.org/">Valgrind</ulink></para>
|
---|
79 |
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2 role="installation">
|
---|
83 | <title>Installation of FLAC</title>
|
---|
84 |
|
---|
85 | <para>Install <application>FLAC</application> by running the
|
---|
86 | following commands:</para>
|
---|
87 |
|
---|
88 | <screen><userinput>patch -Np1 -i ../flac-&flac-version;-xmms_plugin_fix-1.patch &&
|
---|
89 | LIBS=-lm ./configure --prefix=/usr &&
|
---|
90 | make</userinput></screen>
|
---|
91 |
|
---|
92 | <para>If you have <application>Valgrind</application> version 3.0.0 or
|
---|
93 | higher installed and you plan on running the test suites after passing the
|
---|
94 | <option>--enable-valgrind-testing</option> parameter to
|
---|
95 | <command>configure</command>, you need to issue the following command to
|
---|
96 | change some test scripts:</para>
|
---|
97 |
|
---|
98 | <screen><userinput>sed -i -e "s/logfile-fd/log-fd/" `grep -lr logfile-fd test/*sh`</userinput></screen>
|
---|
99 |
|
---|
100 | <para>To test the results, issue: <command>make check</command>. This
|
---|
101 | test suite will take quite a while. Note that if you passed the
|
---|
102 | <option>--enable-exhaustive-tests</option> and
|
---|
103 | <option>--enable-valgrind-testing</option> parameters to
|
---|
104 | <command>configure</command> and then run the test suite, it will take a
|
---|
105 | <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
|
---|
106 | of disk space.</para>
|
---|
107 |
|
---|
108 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
109 |
|
---|
110 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
111 |
|
---|
112 | </sect2>
|
---|
113 |
|
---|
114 | <sect2 role="commands">
|
---|
115 | <title>Command Explanations</title>
|
---|
116 |
|
---|
117 | <para><command>LIBS=-lm ./configure --prefix=/usr</command>:
|
---|
118 | <filename class="libraryfile">libFLAC</filename> uses a function from the math
|
---|
119 | library but is not linked with <filename class="libraryfile">libm</filename>.
|
---|
120 | Passing the environment variable to <command>configure</command> satisfies
|
---|
121 | this dependency.</para>
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2 role="content">
|
---|
126 | <title>Contents</title>
|
---|
127 |
|
---|
128 | <segmentedlist>
|
---|
129 | <segtitle>Installed Programs</segtitle>
|
---|
130 | <segtitle>Installed Libraries</segtitle>
|
---|
131 | <segtitle>Installed Directories</segtitle>
|
---|
132 |
|
---|
133 | <seglistitem>
|
---|
134 | <seg>flac and metaflac</seg>
|
---|
135 | <seg>libFLAC.[so,a], libFLAC++.[so,a], libOggFLAC.[so,a],
|
---|
136 | libOggFLAC++.[so,a], and libxmms-flac.[so,a]</seg>
|
---|
137 | <seg>/usr/share/doc/flac-&flac-version;</seg>
|
---|
138 | </seglistitem>
|
---|
139 | </segmentedlist>
|
---|
140 |
|
---|
141 | <variablelist>
|
---|
142 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
143 | <?dbfo list-presentation="list"?>
|
---|
144 | <?dbhtml list-presentation="table"?>
|
---|
145 |
|
---|
146 | <varlistentry id="flac-prog">
|
---|
147 | <term><command>flac</command></term>
|
---|
148 | <listitem>
|
---|
149 | <para>is a command-line utility for encoding, decoding and
|
---|
150 | converting FLAC files.</para>
|
---|
151 | <indexterm zone="flac flac-prog">
|
---|
152 | <primary sortas="b-flac">flac</primary>
|
---|
153 | </indexterm>
|
---|
154 | </listitem>
|
---|
155 | </varlistentry>
|
---|
156 |
|
---|
157 | <varlistentry id="metaflac">
|
---|
158 | <term><command>metaflac</command></term>
|
---|
159 | <listitem>
|
---|
160 | <para>is a program for listing, adding, removing, or editing
|
---|
161 | metadata in one or more FLAC files.</para>
|
---|
162 | <indexterm zone="flac metaflac">
|
---|
163 | <primary sortas="b-metaflac">metaflac</primary>
|
---|
164 | </indexterm>
|
---|
165 | </listitem>
|
---|
166 | </varlistentry>
|
---|
167 |
|
---|
168 | <varlistentry id="libflac">
|
---|
169 | <term><filename class='libraryfile'>lib[,Ogg]FLAC[,++].[so,a]</filename></term>
|
---|
170 | <listitem>
|
---|
171 | <para>these libraries provide native FLAC and Ogg FLAC C/C++ APIs
|
---|
172 | for programs utilizing FLAC.</para>
|
---|
173 | <indexterm zone="flac libflac">
|
---|
174 | <primary sortas="c-libFLAC">lib[,Ogg]FLAC[,++].[so,a]</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <varlistentry id="libxmms-flac">
|
---|
180 | <term><filename class='libraryfile'>libxmms-flac.[so,a]</filename></term>
|
---|
181 | <listitem>
|
---|
182 | <para>is a plugin for <application>XMMS</application>.</para>
|
---|
183 | <indexterm zone="flac libxmms-flac">
|
---|
184 | <primary sortas="c-libxmms-flac">libxmms-flac.[so,a]</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | </variablelist>
|
---|
190 |
|
---|
191 | </sect2>
|
---|
192 |
|
---|
193 | </sect1>
|
---|