[0b67514] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[48b7295] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[e470a4c] | 6 |
|
---|
[fce275e] | 7 | <!ENTITY flac-download-http "&sourceforge-repo;/flac/flac-&flac-version;.tar.gz">
|
---|
[48b7295] | 8 | <!ENTITY flac-download-ftp " ">
|
---|
[996f4f23] | 9 | <!ENTITY flac-md5sum "153c8b15a54da428d1f0fadc756c22c7">
|
---|
| 10 | <!ENTITY flac-size "1.9 MB">
|
---|
| 11 | <!ENTITY flac-buildsize "205 MB (includes running the test suite)">
|
---|
| 12 | <!ENTITY flac-time "0.6 SBU (additional 8 SBU to run the test suite)">
|
---|
[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 |
|
---|
[50b692d] | 32 | <para><application>FLAC</application> is an audio CODEC similar to
|
---|
[0b67514] | 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 |
|
---|
[77a5859] | 58 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 59 | <itemizedlist spacing="compact">
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Required patch: <ulink
|
---|
| 62 | url="&patch-root;/flac-&flac-version;-gcc43-1.patch"/></para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
| 65 |
|
---|
[0b67514] | 66 | <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a747b3c] | 69 | <para role="optional"><xref linkend="libogg"/>,
|
---|
[50b692d] | 70 | <xref linkend="xmms"/>,
|
---|
| 71 | <xref linkend="NASM"/>,
|
---|
| 72 | <xref linkend="docbook-utils"/>,
|
---|
| 73 | <xref linkend="doxygen"/> and
|
---|
[0b67514] | 74 | <ulink url="http://valgrind.kde.org/">Valgrind</ulink></para>
|
---|
| 75 |
|
---|
[0e2aa08] | 76 | <para condition="html" role="usernotes">User Notes:
|
---|
| 77 | <ulink url="&blfs-wiki;/flac"/></para>
|
---|
| 78 |
|
---|
[0b67514] | 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="installation">
|
---|
| 82 | <title>Installation of FLAC</title>
|
---|
| 83 |
|
---|
| 84 | <para>Install <application>FLAC</application> by running the
|
---|
| 85 | following commands:</para>
|
---|
| 86 |
|
---|
[77a5859] | 87 | <screen><userinput>patch -Np1 -i ../flac-&flac-version;-gcc43-1.patch &&
|
---|
| 88 | ./configure --prefix=/usr --disable-thorough-tests &&
|
---|
[0b67514] | 89 | make</userinput></screen>
|
---|
| 90 |
|
---|
[086d326] | 91 | <para>To test the results, issue: <command>make check</command>. Note that
|
---|
| 92 | if you passed the <option>--enable-exhaustive-tests</option> and
|
---|
[464127ba] | 93 | <option>--enable-valgrind-testing</option> parameters to
|
---|
| 94 | <command>configure</command> and then run the test suite, it will take a
|
---|
| 95 | <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
|
---|
| 96 | of disk space.</para>
|
---|
| 97 |
|
---|
[0b67514] | 98 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 99 |
|
---|
| 100 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="commands">
|
---|
| 105 | <title>Command Explanations</title>
|
---|
| 106 |
|
---|
[086d326] | 107 | <para><parameter>--disable-thorough-tests</parameter>: This parameter is
|
---|
| 108 | used so that the test suite will complete in a reasonable amount of time.
|
---|
| 109 | Remove it if you desire more extensive tests.</para>
|
---|
[0b67514] | 110 |
|
---|
[92dec691] | 111 | <para><option>--enable-sse</option>: This option is off by default and
|
---|
| 112 | should be set on if your machine has SSE capability. One way to find out if
|
---|
| 113 | you have SSE is to issue <command>cat /proc/cpuinfo</command> and see if
|
---|
| 114 | <computeroutput>sse</computeroutput> is listed in the flags.</para>
|
---|
| 115 |
|
---|
[77a5859] | 116 | <para><option>--disable-static</option>: This switch prevents the
|
---|
| 117 | static libraries from being built.</para>
|
---|
| 118 |
|
---|
[0b67514] | 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="content">
|
---|
| 122 | <title>Contents</title>
|
---|
| 123 |
|
---|
| 124 | <segmentedlist>
|
---|
| 125 | <segtitle>Installed Programs</segtitle>
|
---|
| 126 | <segtitle>Installed Libraries</segtitle>
|
---|
| 127 | <segtitle>Installed Directories</segtitle>
|
---|
| 128 |
|
---|
| 129 | <seglistitem>
|
---|
| 130 | <seg>flac and metaflac</seg>
|
---|
[086d326] | 131 | <seg>libFLAC.{so,a}, libFLAC++.{so,a} and libxmms-flac.{so,a}</seg>
|
---|
| 132 | <seg>/usr/include/FLAC, /usr/include/FLAC++ and
|
---|
| 133 | /usr/share/doc/flac-&flac-version;</seg>
|
---|
[0b67514] | 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="flac-prog">
|
---|
| 143 | <term><command>flac</command></term>
|
---|
| 144 | <listitem>
|
---|
[50b692d] | 145 | <para>is a command-line utility for encoding, decoding and
|
---|
[0b67514] | 146 | converting FLAC files.</para>
|
---|
| 147 | <indexterm zone="flac flac-prog">
|
---|
| 148 | <primary sortas="b-flac">flac</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="metaflac">
|
---|
| 154 | <term><command>metaflac</command></term>
|
---|
| 155 | <listitem>
|
---|
[50b692d] | 156 | <para>is a program for listing, adding, removing, or editing
|
---|
[0b67514] | 157 | metadata in one or more FLAC files.</para>
|
---|
| 158 | <indexterm zone="flac metaflac">
|
---|
| 159 | <primary sortas="b-metaflac">metaflac</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="libflac">
|
---|
[086d326] | 165 | <term><filename class='libraryfile'>libFLAC{,++}.{so,a}</filename></term>
|
---|
[0b67514] | 166 | <listitem>
|
---|
[50b692d] | 167 | <para>these libraries provide native FLAC and Ogg FLAC C/C++ APIs
|
---|
[0b67514] | 168 | for programs utilizing FLAC.</para>
|
---|
| 169 | <indexterm zone="flac libflac">
|
---|
[0e2aa08] | 170 | <primary sortas="c-libFLAC">lib{,Ogg}FLAC{,++}.{so,a}</primary>
|
---|
[0b67514] | 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="libxmms-flac">
|
---|
[0e2aa08] | 176 | <term><filename class='libraryfile'>libxmms-flac.{so,a}</filename></term>
|
---|
[0b67514] | 177 | <listitem>
|
---|
| 178 | <para>is a plugin for <application>XMMS</application>.</para>
|
---|
| 179 | <indexterm zone="flac libxmms-flac">
|
---|
[0e2aa08] | 180 | <primary sortas="c-libxmms-flac">libxmms-flac.{so,a}</primary>
|
---|
[0b67514] | 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | </variablelist>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
[61cc896] | 188 |
|
---|
| 189 | </sect1>
|
---|