[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>
|
---|
[a747b3c] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">flac-&flac-version;.tar</keyword>
|
---|
[f15e274] | 23 | <keyword role="ftpdir">flac</keyword>
|
---|
[a747b3c] | 24 | </keywordset>
|
---|
[0b67514] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>FLAC-&flac-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="flac">
|
---|
| 30 | <primary sortas="a-FLAC">FLAC</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to FLAC</title>
|
---|
| 35 |
|
---|
[50b692d] | 36 | <para><application>FLAC</application> is an audio CODEC similar to
|
---|
[0b67514] | 37 | MP3, but lossless, meaning that audio is compressed without losing any
|
---|
| 38 | information.</para>
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&flac-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&flac-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &flac-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &flac-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &flac-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &flac-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
[464127ba] | 62 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 63 | <itemizedlist spacing="compact">
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Required patch: <ulink
|
---|
| 66 | url="&patch-root;/flac-&flac-version;-xmms_plugin_fix-1.patch"/></para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
[0b67514] | 70 | <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a747b3c] | 73 | <para role="optional"><xref linkend="libogg"/>,
|
---|
[50b692d] | 74 | <xref linkend="xmms"/>,
|
---|
| 75 | <xref linkend="NASM"/>,
|
---|
| 76 | <xref linkend="docbook-utils"/>,
|
---|
| 77 | <xref linkend="doxygen"/> and
|
---|
[0b67514] | 78 | <ulink url="http://valgrind.kde.org/">Valgrind</ulink></para>
|
---|
| 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of FLAC</title>
|
---|
| 84 |
|
---|
| 85 | <para>Install <application>FLAC</application> by running the
|
---|
| 86 | following commands:</para>
|
---|
| 87 |
|
---|
[464127ba] | 88 | <screen><userinput>patch -Np1 -i ../flac-&flac-version;-xmms_plugin_fix-1.patch &&
|
---|
| 89 | LIBS=-lm ./configure --prefix=/usr &&
|
---|
[0b67514] | 90 | make</userinput></screen>
|
---|
| 91 |
|
---|
[464127ba] | 92 | <para>If you have <application>Valgrind</application> version 3.0.0 or
|
---|
| 93 | higher installed and you plan on running the test suites after passing the
|
---|
| 94 | <option>--enable-valgrind-testing</option> parameter to
|
---|
| 95 | <command>configure</command>, you need to issue the following command to
|
---|
| 96 | change some test scripts:</para>
|
---|
| 97 |
|
---|
| 98 | <screen><userinput>sed -i -e "s/logfile-fd/log-fd/" `grep -lr logfile-fd test/*sh`</userinput></screen>
|
---|
| 99 |
|
---|
| 100 | <para>To test the results, issue: <command>make check</command>. This
|
---|
| 101 | test suite will take quite a while. Note that if you passed the
|
---|
| 102 | <option>--enable-exhaustive-tests</option> and
|
---|
| 103 | <option>--enable-valgrind-testing</option> parameters to
|
---|
| 104 | <command>configure</command> and then run the test suite, it will take a
|
---|
| 105 | <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
|
---|
| 106 | of disk space.</para>
|
---|
| 107 |
|
---|
[0b67514] | 108 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 109 |
|
---|
| 110 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
[50b692d] | 117 | <para><command>LIBS=-lm ./configure --prefix=/usr</command>:
|
---|
| 118 | <filename class="libraryfile">libFLAC</filename> uses a function from the math
|
---|
| 119 | library but is not linked with <filename class="libraryfile">libm</filename>.
|
---|
| 120 | Passing the environment variable to <command>configure</command> satisfies
|
---|
[0b67514] | 121 | this dependency.</para>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
| 129 | <segtitle>Installed Programs</segtitle>
|
---|
| 130 | <segtitle>Installed Libraries</segtitle>
|
---|
| 131 | <segtitle>Installed Directories</segtitle>
|
---|
| 132 |
|
---|
| 133 | <seglistitem>
|
---|
| 134 | <seg>flac and metaflac</seg>
|
---|
[50b692d] | 135 | <seg>libFLAC.[so,a], libFLAC++.[so,a], libOggFLAC.[so,a],
|
---|
[0b67514] | 136 | libOggFLAC++.[so,a], and libxmms-flac.[so,a]</seg>
|
---|
[8a8e021] | 137 | <seg>/usr/share/doc/flac-&flac-version;</seg>
|
---|
[0b67514] | 138 | </seglistitem>
|
---|
| 139 | </segmentedlist>
|
---|
| 140 |
|
---|
| 141 | <variablelist>
|
---|
| 142 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 143 | <?dbfo list-presentation="list"?>
|
---|
| 144 | <?dbhtml list-presentation="table"?>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="flac-prog">
|
---|
| 147 | <term><command>flac</command></term>
|
---|
| 148 | <listitem>
|
---|
[50b692d] | 149 | <para>is a command-line utility for encoding, decoding and
|
---|
[0b67514] | 150 | converting FLAC files.</para>
|
---|
| 151 | <indexterm zone="flac flac-prog">
|
---|
| 152 | <primary sortas="b-flac">flac</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="metaflac">
|
---|
| 158 | <term><command>metaflac</command></term>
|
---|
| 159 | <listitem>
|
---|
[50b692d] | 160 | <para>is a program for listing, adding, removing, or editing
|
---|
[0b67514] | 161 | metadata in one or more FLAC files.</para>
|
---|
| 162 | <indexterm zone="flac metaflac">
|
---|
| 163 | <primary sortas="b-metaflac">metaflac</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="libflac">
|
---|
| 169 | <term><filename class='libraryfile'>lib[,Ogg]FLAC[,++].[so,a]</filename></term>
|
---|
| 170 | <listitem>
|
---|
[50b692d] | 171 | <para>these libraries provide native FLAC and Ogg FLAC C/C++ APIs
|
---|
[0b67514] | 172 | for programs utilizing FLAC.</para>
|
---|
| 173 | <indexterm zone="flac libflac">
|
---|
| 174 | <primary sortas="c-libFLAC">lib[,Ogg]FLAC[,++].[so,a]</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="libxmms-flac">
|
---|
| 180 | <term><filename class='libraryfile'>libxmms-flac.[so,a]</filename></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>is a plugin for <application>XMMS</application>.</para>
|
---|
| 183 | <indexterm zone="flac libxmms-flac">
|
---|
| 184 | <primary sortas="c-libxmms-flac">libxmms-flac.[so,a]</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | </variablelist>
|
---|
| 190 |
|
---|
| 191 | </sect2>
|
---|
[61cc896] | 192 |
|
---|
| 193 | </sect1>
|
---|