[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 |
|
---|
[0beae4b] | 7 | <!ENTITY flac-download-http "http://downloads.xiph.org/releases/flac/flac-&flac-version;.tar.xz">
|
---|
| 8 | <!ENTITY flac-download-ftp "ftp://downloads.xiph.org/pub/xiph/releases/flac/flac-&flac-version;.tar.xz">
|
---|
| 9 | <!ENTITY flac-md5sum "13b5c214cee8373464d3d65dee362cdd">
|
---|
| 10 | <!ENTITY flac-size "1.1 MB">
|
---|
| 11 | <!ENTITY flac-buildsize "22 MB (additional 77 MB to run the test suite)">
|
---|
| 12 | <!ENTITY flac-time "0.3 SBU (additional 0.9 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 |
|
---|
[607c1e67] | 36 | &lfs76_checked;
|
---|
[1c65bfd] | 37 |
|
---|
[0b67514] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&flac-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&flac-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &flac-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &flac-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &flac-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &flac-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[072e488] | 60 | <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[77a5859] | 61 | <itemizedlist spacing="compact">
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Required patch: <ulink
|
---|
| 64 | url="&patch-root;/flac-&flac-version;-gcc43-1.patch"/></para>
|
---|
| 65 | </listitem>
|
---|
[072e488] | 66 | </itemizedlist> -->
|
---|
[77a5859] | 67 |
|
---|
[0b67514] | 68 | <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[35bf1ea] | 71 | <para role="optional">
|
---|
| 72 | <xref linkend="libogg"/>,
|
---|
| 73 | <!-- <xref linkend="xmms"/>, -->
|
---|
[efdd9de] | 74 | <xref linkend="nasm"/>,
|
---|
[35bf1ea] | 75 | <xref linkend="docbook-utils"/>,
|
---|
| 76 | <xref linkend="doxygen"/> and
|
---|
[f1607a4] | 77 | <xref linkend="valgrind"/>
|
---|
[35bf1ea] | 78 | </para>
|
---|
[0b67514] | 79 |
|
---|
[0e2aa08] | 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/flac"/></para>
|
---|
| 82 |
|
---|
[0b67514] | 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of FLAC</title>
|
---|
| 87 |
|
---|
| 88 | <para>Install <application>FLAC</application> by running the
|
---|
| 89 | following commands:</para>
|
---|
| 90 |
|
---|
[607c1e67] | 91 | <screen><userinput>./configure --prefix=/usr --disable-thorough-tests &&
|
---|
[0b67514] | 92 | make</userinput></screen>
|
---|
| 93 |
|
---|
[086d326] | 94 | <para>To test the results, issue: <command>make check</command>. Note that
|
---|
| 95 | if you passed the <option>--enable-exhaustive-tests</option> and
|
---|
[464127ba] | 96 | <option>--enable-valgrind-testing</option> parameters to
|
---|
| 97 | <command>configure</command> and then run the test suite, it will take a
|
---|
| 98 | <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
|
---|
| 99 | of disk space.</para>
|
---|
| 100 |
|
---|
[0b67514] | 101 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 102 |
|
---|
| 103 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="commands">
|
---|
| 108 | <title>Command Explanations</title>
|
---|
| 109 |
|
---|
[086d326] | 110 | <para><parameter>--disable-thorough-tests</parameter>: This parameter is
|
---|
| 111 | used so that the test suite will complete in a reasonable amount of time.
|
---|
| 112 | Remove it if you desire more extensive tests.</para>
|
---|
[0b67514] | 113 |
|
---|
[92dec691] | 114 | <para><option>--enable-sse</option>: This option is off by default and
|
---|
| 115 | should be set on if your machine has SSE capability. One way to find out if
|
---|
| 116 | you have SSE is to issue <command>cat /proc/cpuinfo</command> and see if
|
---|
| 117 | <computeroutput>sse</computeroutput> is listed in the flags.</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>
|
---|
[9de0170] | 131 | <seg>libFLAC.so and libFLAC++.so</seg>
|
---|
[086d326] | 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">
|
---|
[9de0170] | 165 | <term><filename class='libraryfile'>libFLAC{,++}.so</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">
|
---|
[9de0170] | 170 | <primary sortas="c-libFLAC">libFLAC{,++}.so</primary>
|
---|
[0b67514] | 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
[9de0170] | 175 | <!--
|
---|
[0b67514] | 176 | <varlistentry id="libxmms-flac">
|
---|
[0e2aa08] | 177 | <term><filename class='libraryfile'>libxmms-flac.{so,a}</filename></term>
|
---|
[0b67514] | 178 | <listitem>
|
---|
| 179 | <para>is a plugin for <application>XMMS</application>.</para>
|
---|
| 180 | <indexterm zone="flac libxmms-flac">
|
---|
[0e2aa08] | 181 | <primary sortas="c-libxmms-flac">libxmms-flac.{so,a}</primary>
|
---|
[0b67514] | 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
[9de0170] | 185 | -->
|
---|
[0b67514] | 186 |
|
---|
| 187 | </variablelist>
|
---|
| 188 |
|
---|
| 189 | </sect2>
|
---|
[61cc896] | 190 |
|
---|
| 191 | </sect1>
|
---|