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