[ff769b8c] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[48b7295] | 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
[e470a4c] | 5 |
|
---|
[48b7295] | 6 | <!ENTITY flac-download-http "http://prdownloads.sourceforge.net/flac/flac-&flac-version;.tar.gz">
|
---|
| 7 | <!ENTITY flac-download-ftp " ">
|
---|
[55cc98f] | 8 | <!ENTITY flac-md5sum "2bfc127cdda02834d0491ab531a20960">
|
---|
| 9 | <!ENTITY flac-size "1.5 MB">
|
---|
| 10 | <!ENTITY flac-buildsize "49 MB">
|
---|
| 11 | <!ENTITY flac-time "0.7 SBU">
|
---|
[48b7295] | 12 | ]>
|
---|
| 13 |
|
---|
[61cc896] | 14 | <sect1 id="flac" xreflabel="FLAC-&flac-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[dd3f20f0] | 19 | <?dbhtml filename="flac.html"?>
|
---|
[61cc896] | 20 | <title>FLAC-&flac-version;</title>
|
---|
| 21 |
|
---|
[48b7295] | 22 | <sect2>
|
---|
[6f7a497] | 23 | <title>Introduction to
|
---|
| 24 | <application><acronym>FLAC</acronym></application></title>
|
---|
[48b7295] | 25 |
|
---|
| 26 | <para><application><acronym>FLAC</acronym></application> is an audio
|
---|
| 27 | <acronym>CODEC</acronym> similar to <filename>MP3</filename>, but
|
---|
| 28 | lossless, meaning that audio is compressed without losing any
|
---|
| 29 | information.</para>
|
---|
| 30 |
|
---|
| 31 | <sect3><title>Package information</title>
|
---|
| 32 | <itemizedlist spacing='compact'>
|
---|
[06a5391] | 33 | <listitem><para>Download (HTTP):
|
---|
| 34 | <ulink url="&flac-download-http;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download (FTP):
|
---|
| 36 | <ulink url="&flac-download-ftp;"/></para></listitem>
|
---|
| 37 | <listitem><para>Download MD5 sum: &flac-md5sum;</para></listitem>
|
---|
[48b7295] | 38 | <listitem><para>Download size: &flac-size;</para></listitem>
|
---|
[06a5391] | 39 | <listitem><para>Estimated disk space required:
|
---|
| 40 | &flac-buildsize;</para></listitem>
|
---|
| 41 | <listitem><para>Estimated build time:
|
---|
| 42 | &flac-time;</para></listitem></itemizedlist>
|
---|
[48b7295] | 43 | </sect3>
|
---|
| 44 |
|
---|
[e470a4c] | 45 | <sect3><title><application><acronym>FLAC</acronym></application>
|
---|
| 46 | dependencies</title>
|
---|
[48b7295] | 47 | <sect4><title>Optional</title>
|
---|
[faa80ab] | 48 | <para><xref linkend="libogg"/>,
|
---|
[5db3785e] | 49 | <xref linkend="xmms"/>,
|
---|
[faa80ab] | 50 | <xref linkend="NASM"/>,
|
---|
[6f7a497] | 51 | <xref linkend="docbook-utils"/>,
|
---|
[cef3a2f] | 52 | <xref linkend="doxygen"/> and
|
---|
[faa80ab] | 53 | <ulink url="http://valgrind.kde.org/">Valgrind</ulink></para>
|
---|
| 54 | </sect4>
|
---|
[48b7295] | 55 | </sect3>
|
---|
| 56 |
|
---|
| 57 | </sect2>
|
---|
| 58 |
|
---|
| 59 | <sect2>
|
---|
[e470a4c] | 60 | <title>Installation of <application><acronym>FLAC</acronym></application>
|
---|
| 61 | </title>
|
---|
[48b7295] | 62 |
|
---|
| 63 | <para>Install <application><acronym>FLAC</acronym></application> by running the
|
---|
| 64 | following commands:</para>
|
---|
| 65 |
|
---|
[e470a4c] | 66 | <screen><userinput><command>LIBS=-lm ./configure --prefix=/usr &&
|
---|
[55cc98f] | 67 | make</command></userinput></screen>
|
---|
[b03b3db] | 68 |
|
---|
[55cc98f] | 69 | <para>Now, as the root user:</para>
|
---|
| 70 |
|
---|
| 71 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
| 72 |
|
---|
| 73 | <note><para>If you passed the <option>--enable-exhaustive-tests</option> and
|
---|
| 74 | <option>--enable-valgrind-testing</option> parameters to
|
---|
| 75 | <command>configure</command> and then run the <command>make check</command>
|
---|
| 76 | tests, it will take a <emphasis>very</emphasis> long time (about 150 SBUs)
|
---|
| 77 | and use about 375 <acronym>MB</acronym> of disk space.</para></note>
|
---|
[e470a4c] | 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2><title>Command explanations</title>
|
---|
| 82 | <para><command>LIBS=-lm ./configure --prefix=/usr</command>:
|
---|
| 83 | <filename class="libraryfile">libFLAC</filename> uses a function from the math
|
---|
| 84 | library but is not linked with <filename class="libraryfile">libm</filename>.
|
---|
| 85 | Passing the environment variable to <command>configure</command> satisfies
|
---|
| 86 | this dependency.</para>
|
---|
[48b7295] | 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2>
|
---|
| 91 | <title>Contents</title>
|
---|
| 92 |
|
---|
| 93 | <para>The <acronym>FLAC</acronym> package contains
|
---|
| 94 | <command>flac</command>,
|
---|
| 95 | <command>metaflac</command>,
|
---|
| 96 | <filename class="libraryfile">libFLAC</filename>,
|
---|
| 97 | <filename class="libraryfile">libFLAC++</filename>,
|
---|
| 98 | <filename class="libraryfile">libOggFLAC</filename>,
|
---|
| 99 | <filename class="libraryfile">libOggFLAC++</filename> and
|
---|
| 100 | <filename class="libraryfile">libxmms-flac</filename>.</para>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2><title>Description</title>
|
---|
| 105 |
|
---|
| 106 | <sect3><title>flac</title>
|
---|
| 107 | <para><command>flac</command> is a command-line utility for
|
---|
| 108 | encoding, decoding and converting <acronym>FLAC</acronym>
|
---|
| 109 | files.</para></sect3>
|
---|
| 110 |
|
---|
| 111 | <sect3><title>metaflac</title>
|
---|
| 112 | <para><command>metaflac</command> is a program for listing, adding,
|
---|
| 113 | removing, or editing metadata in one or more <acronym>FLAC</acronym>
|
---|
| 114 | files.</para></sect3>
|
---|
| 115 |
|
---|
| 116 | <sect3><title>libFLAC, libFLAC++, libOggFLAC and libOggFLAC++</title>
|
---|
| 117 | <para>These libraries provide native
|
---|
| 118 | <acronym>FLAC</acronym> and Ogg <acronym>FLAC</acronym> C/C++
|
---|
| 119 | <acronym>API</acronym>s for programs utilizing
|
---|
| 120 | <acronym>FLAC</acronym>.</para></sect3>
|
---|
| 121 |
|
---|
| 122 | <sect3><title>libxmms-flac</title>
|
---|
| 123 | <para><filename class="libraryfile">libxmms-flac</filename> is a plugin
|
---|
| 124 | for <application><acronym>XMMS</acronym></application>.</para></sect3>
|
---|
| 125 |
|
---|
| 126 | </sect2>
|
---|
[61cc896] | 127 |
|
---|
| 128 | </sect1>
|
---|