[0b67514] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[48b7295] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[e470a4c] | 6 |
|
---|
[48b7295] | 7 | <!ENTITY flac-download-http "http://prdownloads.sourceforge.net/flac/flac-&flac-version;.tar.gz">
|
---|
| 8 | <!ENTITY flac-download-ftp " ">
|
---|
[55cc98f] | 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">
|
---|
[48b7295] | 13 | ]>
|
---|
| 14 |
|
---|
[61cc896] | 15 | <sect1 id="flac" xreflabel="FLAC-&flac-version;">
|
---|
[0b67514] | 16 | <?dbhtml filename="flac.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>FLAC-&flac-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="flac">
|
---|
| 26 | <primary sortas="a-FLAC">FLAC</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to FLAC</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>FLAC</application> is an audio CODEC similar to
|
---|
| 33 | MP3, but lossless, meaning that audio is compressed without losing any
|
---|
| 34 | information.</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&flac-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&flac-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &flac-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &flac-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &flac-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &flac-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 61 | <para><xref linkend="libogg"/>,
|
---|
| 62 | <xref linkend="xmms"/>,
|
---|
| 63 | <xref linkend="NASM"/>,
|
---|
| 64 | <xref linkend="docbook-utils"/>,
|
---|
| 65 | <xref linkend="doxygen"/> and
|
---|
| 66 | <ulink url="http://valgrind.kde.org/">Valgrind</ulink></para>
|
---|
| 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2 role="installation">
|
---|
| 71 | <title>Installation of FLAC</title>
|
---|
| 72 |
|
---|
| 73 | <para>Install <application>FLAC</application> by running the
|
---|
| 74 | following commands:</para>
|
---|
| 75 |
|
---|
| 76 | <screen><userinput>LIBS=-lm ./configure --prefix=/usr &&
|
---|
| 77 | make</userinput></screen>
|
---|
| 78 |
|
---|
| 79 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 80 |
|
---|
| 81 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | <note>
|
---|
| 84 | <para>If you passed the <option>--enable-exhaustive-tests</option> and
|
---|
| 85 | <option>--enable-valgrind-testing</option> parameters to
|
---|
| 86 | <command>configure</command> and then run the
|
---|
| 87 | <command>make check</command> tests, it will take a
|
---|
| 88 | <emphasis>very</emphasis> long time (about 150 SBUs) and use
|
---|
| 89 | about 375 MB of disk space.</para>
|
---|
| 90 | </note>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="commands">
|
---|
| 95 | <title>Command Explanations</title>
|
---|
| 96 |
|
---|
| 97 | <para><command>LIBS=-lm ./configure --prefix=/usr</command>:
|
---|
| 98 | <filename class="libraryfile">libFLAC</filename> uses a function from the math
|
---|
| 99 | library but is not linked with <filename class="libraryfile">libm</filename>.
|
---|
| 100 | Passing the environment variable to <command>configure</command> satisfies
|
---|
| 101 | this dependency.</para>
|
---|
| 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="content">
|
---|
| 106 | <title>Contents</title>
|
---|
| 107 |
|
---|
| 108 | <segmentedlist>
|
---|
| 109 | <segtitle>Installed Programs</segtitle>
|
---|
| 110 | <segtitle>Installed Libraries</segtitle>
|
---|
| 111 | <segtitle>Installed Directories</segtitle>
|
---|
| 112 |
|
---|
| 113 | <seglistitem>
|
---|
| 114 | <seg>flac and metaflac</seg>
|
---|
| 115 | <seg>libFLAC.[so,a], libFLAC++.[so,a], libOggFLAC.[so,a],
|
---|
| 116 | libOggFLAC++.[so,a], and libxmms-flac.[so,a]</seg>
|
---|
[b849a36] | 117 | <seg>Not determined at this time</seg>
|
---|
[0b67514] | 118 | </seglistitem>
|
---|
| 119 | </segmentedlist>
|
---|
| 120 |
|
---|
| 121 | <variablelist>
|
---|
| 122 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 123 | <?dbfo list-presentation="list"?>
|
---|
| 124 | <?dbhtml list-presentation="table"?>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="flac-prog">
|
---|
| 127 | <term><command>flac</command></term>
|
---|
| 128 | <listitem>
|
---|
| 129 | <para>is a command-line utility for encoding, decoding and
|
---|
| 130 | converting FLAC files.</para>
|
---|
| 131 | <indexterm zone="flac flac-prog">
|
---|
| 132 | <primary sortas="b-flac">flac</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="metaflac">
|
---|
| 138 | <term><command>metaflac</command></term>
|
---|
| 139 | <listitem>
|
---|
| 140 | <para>is a program for listing, adding, removing, or editing
|
---|
| 141 | metadata in one or more FLAC files.</para>
|
---|
| 142 | <indexterm zone="flac metaflac">
|
---|
| 143 | <primary sortas="b-metaflac">metaflac</primary>
|
---|
| 144 | </indexterm>
|
---|
| 145 | </listitem>
|
---|
| 146 | </varlistentry>
|
---|
| 147 |
|
---|
| 148 | <varlistentry id="libflac">
|
---|
| 149 | <term><filename class='libraryfile'>lib[,Ogg]FLAC[,++].[so,a]</filename></term>
|
---|
| 150 | <listitem>
|
---|
| 151 | <para>these libraries provide native FLAC and Ogg FLAC C/C++ APIs
|
---|
| 152 | for programs utilizing FLAC.</para>
|
---|
| 153 | <indexterm zone="flac libflac">
|
---|
| 154 | <primary sortas="c-libFLAC">lib[,Ogg]FLAC[,++].[so,a]</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="libxmms-flac">
|
---|
| 160 | <term><filename class='libraryfile'>libxmms-flac.[so,a]</filename></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>is a plugin for <application>XMMS</application>.</para>
|
---|
| 163 | <indexterm zone="flac libxmms-flac">
|
---|
| 164 | <primary sortas="c-libxmms-flac">libxmms-flac.[so,a]</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | </variablelist>
|
---|
| 170 |
|
---|
| 171 | </sect2>
|
---|
[61cc896] | 172 |
|
---|
| 173 | </sect1>
|
---|