2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-08-12 03:22:16 +08:00
|
|
|
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY flac-download-http "http://prdownloads.sourceforge.net/flac/flac-&flac-version;.tar.gz">
|
|
|
|
<!ENTITY flac-download-ftp " ">
|
2005-02-14 23:12:36 +08:00
|
|
|
<!ENTITY flac-md5sum "c6ccddccf8ad344065698047c2fc7280">
|
2004-10-29 05:14:29 +08:00
|
|
|
<!ENTITY flac-size "1.4 MB">
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY flac-buildsize "33 MB">
|
|
|
|
<!ENTITY flac-time "0.71 SBU">
|
|
|
|
]>
|
|
|
|
|
2003-09-21 00:52:04 +08:00
|
|
|
<sect1 id="flac" xreflabel="FLAC-&flac-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 11:24:31 +08:00
|
|
|
<?dbhtml filename="flac.html"?>
|
2003-09-21 00:52:04 +08:00
|
|
|
<title>FLAC-&flac-version;</title>
|
|
|
|
|
2004-06-14 07:30:44 +08:00
|
|
|
<sect2>
|
2004-11-17 06:17:10 +08:00
|
|
|
<title>Introduction to
|
|
|
|
<application><acronym>FLAC</acronym></application></title>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
|
|
|
<para><application><acronym>FLAC</acronym></application> is an audio
|
|
|
|
<acronym>CODEC</acronym> similar to <filename>MP3</filename>, but
|
|
|
|
lossless, meaning that audio is compressed without losing any
|
|
|
|
information.</para>
|
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2005-02-14 23:12:36 +08:00
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&flac-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&flac-download-ftp;"/></para></listitem>
|
|
|
|
<listitem><para>Download MD5 sum: &flac-md5sum;</para></listitem>
|
2004-06-14 07:30:44 +08:00
|
|
|
<listitem><para>Download size: &flac-size;</para></listitem>
|
2005-02-14 23:12:36 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
|
|
|
&flac-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&flac-time;</para></listitem></itemizedlist>
|
2004-06-14 07:30:44 +08:00
|
|
|
</sect3>
|
|
|
|
|
2004-08-12 03:22:16 +08:00
|
|
|
<sect3><title><application><acronym>FLAC</acronym></application>
|
|
|
|
dependencies</title>
|
2004-06-14 07:30:44 +08:00
|
|
|
<sect4><title>Optional</title>
|
2004-10-31 08:03:02 +08:00
|
|
|
<para><xref linkend="libogg"/>,
|
2005-01-26 00:48:26 +08:00
|
|
|
<xref linkend="xmms"/>,
|
2004-10-31 08:03:02 +08:00
|
|
|
<xref linkend="NASM"/>,
|
2004-11-17 06:17:10 +08:00
|
|
|
<xref linkend="docbook-utils"/>,
|
2005-01-26 00:02:00 +08:00
|
|
|
<xref linkend="doxygen"/> and
|
2004-10-31 08:03:02 +08:00
|
|
|
<ulink url="http://valgrind.kde.org/">Valgrind</ulink></para>
|
|
|
|
</sect4>
|
2004-06-14 07:30:44 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2004-08-12 03:22:16 +08:00
|
|
|
<title>Installation of <application><acronym>FLAC</acronym></application>
|
|
|
|
</title>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
|
|
|
<para>Install <application><acronym>FLAC</acronym></application> by running the
|
|
|
|
following commands:</para>
|
|
|
|
|
2004-08-12 03:22:16 +08:00
|
|
|
<screen><userinput><command>LIBS=-lm ./configure --prefix=/usr &&
|
|
|
|
make &&
|
|
|
|
make install</command></userinput></screen>
|
2004-06-26 19:09:13 +08:00
|
|
|
|
2004-08-12 03:22:16 +08:00
|
|
|
<note><para>If you run the <command>make check</command> tests, it will take a
|
2004-11-17 06:17:10 +08:00
|
|
|
<emphasis>very</emphasis> long time (about 34 SBUs) and use about 100
|
|
|
|
<acronym>MB</acronym> of disk space.</para></note>
|
2004-08-12 03:22:16 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2><title>Command explanations</title>
|
|
|
|
<para><command>LIBS=-lm ./configure --prefix=/usr</command>:
|
|
|
|
<filename class="libraryfile">libFLAC</filename> uses a function from the math
|
|
|
|
library but is not linked with <filename class="libraryfile">libm</filename>.
|
|
|
|
Passing the environment variable to <command>configure</command> satisfies
|
|
|
|
this dependency.</para>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<para>The <acronym>FLAC</acronym> package contains
|
|
|
|
<command>flac</command>,
|
|
|
|
<command>metaflac</command>,
|
|
|
|
<filename class="libraryfile">libFLAC</filename>,
|
|
|
|
<filename class="libraryfile">libFLAC++</filename>,
|
|
|
|
<filename class="libraryfile">libOggFLAC</filename>,
|
|
|
|
<filename class="libraryfile">libOggFLAC++</filename> and
|
|
|
|
<filename class="libraryfile">libxmms-flac</filename>.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
|
|
|
|
<sect3><title>flac</title>
|
|
|
|
<para><command>flac</command> is a command-line utility for
|
|
|
|
encoding, decoding and converting <acronym>FLAC</acronym>
|
|
|
|
files.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>metaflac</title>
|
|
|
|
<para><command>metaflac</command> is a program for listing, adding,
|
|
|
|
removing, or editing metadata in one or more <acronym>FLAC</acronym>
|
|
|
|
files.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>libFLAC, libFLAC++, libOggFLAC and libOggFLAC++</title>
|
|
|
|
<para>These libraries provide native
|
|
|
|
<acronym>FLAC</acronym> and Ogg <acronym>FLAC</acronym> C/C++
|
|
|
|
<acronym>API</acronym>s for programs utilizing
|
|
|
|
<acronym>FLAC</acronym>.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>libxmms-flac</title>
|
|
|
|
<para><filename class="libraryfile">libxmms-flac</filename> is a plugin
|
|
|
|
for <application><acronym>XMMS</acronym></application>.</para></sect3>
|
|
|
|
|
|
|
|
</sect2>
|
2003-09-21 00:52:04 +08:00
|
|
|
|
|
|
|
</sect1>
|