1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY flac-download-http "http://prdownloads.sourceforge.net/flac/flac-&flac-version;.tar.gz">
|
---|
7 | <!ENTITY flac-download-ftp " ">
|
---|
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">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="flac" xreflabel="FLAC-&flac-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="flac.html"?>
|
---|
20 | <title>FLAC-&flac-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to
|
---|
24 | <application><acronym>FLAC</acronym></application></title>
|
---|
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'>
|
---|
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>
|
---|
38 | <listitem><para>Download size: &flac-size;</para></listitem>
|
---|
39 | <listitem><para>Estimated disk space required:
|
---|
40 | &flac-buildsize;</para></listitem>
|
---|
41 | <listitem><para>Estimated build time:
|
---|
42 | &flac-time;</para></listitem></itemizedlist>
|
---|
43 | </sect3>
|
---|
44 |
|
---|
45 | <sect3><title><application><acronym>FLAC</acronym></application>
|
---|
46 | dependencies</title>
|
---|
47 | <sect4><title>Optional</title>
|
---|
48 | <para><xref linkend="libogg"/>,
|
---|
49 | <xref linkend="xmms"/>,
|
---|
50 | <xref linkend="NASM"/>,
|
---|
51 | <xref linkend="docbook-utils"/>,
|
---|
52 | <xref linkend="doxygen"/> and
|
---|
53 | <ulink url="http://valgrind.kde.org/">Valgrind</ulink></para>
|
---|
54 | </sect4>
|
---|
55 | </sect3>
|
---|
56 |
|
---|
57 | </sect2>
|
---|
58 |
|
---|
59 | <sect2>
|
---|
60 | <title>Installation of <application><acronym>FLAC</acronym></application>
|
---|
61 | </title>
|
---|
62 |
|
---|
63 | <para>Install <application><acronym>FLAC</acronym></application> by running the
|
---|
64 | following commands:</para>
|
---|
65 |
|
---|
66 | <screen><userinput><command>LIBS=-lm ./configure --prefix=/usr &&
|
---|
67 | make</command></userinput></screen>
|
---|
68 |
|
---|
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>
|
---|
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>
|
---|
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>
|
---|
127 |
|
---|
128 | </sect1>
|
---|