[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY flac-download-http "https://downloads.xiph.org/releases/flac/flac-&flac-version;.tar.xz">
|
---|
[562cd08] | 8 | <!ENTITY flac-download-ftp " ">
|
---|
[4fab941] | 9 | <!ENTITY flac-md5sum "f3c395e936156c3a63add169dec629a5">
|
---|
| 10 | <!ENTITY flac-size "768 KB">
|
---|
| 11 | <!ENTITY flac-buildsize "22 MB (additional 165 MB to run the test suite)">
|
---|
[4483a9a] | 12 | <!ENTITY flac-time "0.2 SBU (additional 0.6 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 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>FLAC-&flac-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="flac">
|
---|
| 25 | <primary sortas="a-FLAC">FLAC</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to FLAC</title>
|
---|
| 30 |
|
---|
[2eeb8695] | 31 | <para>
|
---|
| 32 | <application>FLAC</application> is an audio CODEC similar to
|
---|
| 33 | MP3, but lossless, meaning that audio is compressed without losing any
|
---|
| 34 | information.
|
---|
| 35 | </para>
|
---|
[0b67514] | 36 |
|
---|
[b5d7180] | 37 | &lfs112_checked;
|
---|
[1c65bfd] | 38 |
|
---|
[0b67514] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[2eeb8695] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&flac-download-http;"/>
|
---|
| 44 | </para>
|
---|
[0b67514] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[2eeb8695] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&flac-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[0b67514] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[2eeb8695] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &flac-md5sum;
|
---|
| 54 | </para>
|
---|
[0b67514] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[2eeb8695] | 57 | <para>
|
---|
| 58 | Download size: &flac-size;
|
---|
| 59 | </para>
|
---|
[0b67514] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[2eeb8695] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &flac-buildsize;
|
---|
| 64 | </para>
|
---|
[0b67514] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[2eeb8695] | 67 | <para>
|
---|
| 68 | Estimated build time: &flac-time;
|
---|
| 69 | </para>
|
---|
[0b67514] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[4483a9a] | 73 | <!--
|
---|
[41f721e] | 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <itemizedlist spacing="compact">
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Required patch:
|
---|
| 80 | <ulink url="&patch-root;/flac-&flac-version;-security_fixes-1.patch"/>
|
---|
| 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
[4483a9a] | 84 | -->
|
---|
[41f721e] | 85 |
|
---|
[0b67514] | 86 | <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[35bf1ea] | 89 | <para role="optional">
|
---|
| 90 | <xref linkend="libogg"/>,
|
---|
[efdd9de] | 91 | <xref linkend="nasm"/>,
|
---|
[35bf1ea] | 92 | <xref linkend="docbook-utils"/>,
|
---|
[4483a9a] | 93 | <xref linkend="doxygen"/>,
|
---|
| 94 | <xref linkend="valgrind"/>, and
|
---|
| 95 | <ulink url="https://xmms.org">xmms</ulink>
|
---|
[35bf1ea] | 96 | </para>
|
---|
[0b67514] | 97 |
|
---|
[0e2aa08] | 98 | <para condition="html" role="usernotes">User Notes:
|
---|
| 99 | <ulink url="&blfs-wiki;/flac"/></para>
|
---|
| 100 |
|
---|
[0b67514] | 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of FLAC</title>
|
---|
| 105 |
|
---|
[2eeb8695] | 106 | <para>
|
---|
| 107 | Install <application>FLAC</application> by running the
|
---|
| 108 | following commands:
|
---|
| 109 | </para>
|
---|
[0b67514] | 110 |
|
---|
[4483a9a] | 111 | <screen><userinput>./configure --prefix=/usr \
|
---|
[41f721e] | 112 | --disable-thorough-tests \
|
---|
| 113 | --docdir=/usr/share/doc/flac-&flac-version; &&
|
---|
[0b67514] | 114 | make</userinput></screen>
|
---|
| 115 |
|
---|
[2eeb8695] | 116 | <para>
|
---|
| 117 | To test the results, issue: <command>make check</command>. Note that
|
---|
| 118 | if you passed the <option>--enable-exhaustive-tests</option> and
|
---|
| 119 | <option>--enable-valgrind-testing</option> parameters to
|
---|
| 120 | <command>configure</command> and then run the test suite, it will take a
|
---|
| 121 | <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
|
---|
| 122 | of disk space.
|
---|
| 123 | </para>
|
---|
[464127ba] | 124 |
|
---|
[2eeb8695] | 125 | <para>
|
---|
| 126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 127 | </para>
|
---|
[0b67514] | 128 |
|
---|
| 129 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="commands">
|
---|
| 134 | <title>Command Explanations</title>
|
---|
| 135 |
|
---|
[2eeb8695] | 136 | <para>
|
---|
| 137 | <parameter>--disable-thorough-tests</parameter>: This parameter is
|
---|
| 138 | used so that the test suite will complete in a reasonable amount of time.
|
---|
| 139 | Remove it if you desire more extensive tests.
|
---|
| 140 | </para>
|
---|
[0b67514] | 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Libraries</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
| 151 |
|
---|
| 152 | <seglistitem>
|
---|
| 153 | <seg>flac and metaflac</seg>
|
---|
[9de0170] | 154 | <seg>libFLAC.so and libFLAC++.so</seg>
|
---|
[086d326] | 155 | <seg>/usr/include/FLAC, /usr/include/FLAC++ and
|
---|
| 156 | /usr/share/doc/flac-&flac-version;</seg>
|
---|
[0b67514] | 157 | </seglistitem>
|
---|
| 158 | </segmentedlist>
|
---|
| 159 |
|
---|
| 160 | <variablelist>
|
---|
| 161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 162 | <?dbfo list-presentation="list"?>
|
---|
| 163 | <?dbhtml list-presentation="table"?>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="flac-prog">
|
---|
| 166 | <term><command>flac</command></term>
|
---|
| 167 | <listitem>
|
---|
[2eeb8695] | 168 | <para>
|
---|
| 169 | is a command-line utility for encoding, decoding and
|
---|
[4c24eb0a] | 170 | converting FLAC files
|
---|
[2eeb8695] | 171 | </para>
|
---|
[0b67514] | 172 | <indexterm zone="flac flac-prog">
|
---|
| 173 | <primary sortas="b-flac">flac</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="metaflac">
|
---|
| 179 | <term><command>metaflac</command></term>
|
---|
| 180 | <listitem>
|
---|
[2eeb8695] | 181 | <para>
|
---|
| 182 | is a program for listing, adding, removing, or editing
|
---|
[4c24eb0a] | 183 | metadata in one or more FLAC files
|
---|
[2eeb8695] | 184 | </para>
|
---|
[0b67514] | 185 | <indexterm zone="flac metaflac">
|
---|
| 186 | <primary sortas="b-metaflac">metaflac</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="libflac">
|
---|
[4c24eb0a] | 192 | <term><filename class="libraryfile">libFLAC{,++}.so</filename></term>
|
---|
[0b67514] | 193 | <listitem>
|
---|
[2eeb8695] | 194 | <para>
|
---|
| 195 | these libraries provide native FLAC and Ogg FLAC C/C++ APIs
|
---|
[4c24eb0a] | 196 | for programs utilizing FLAC
|
---|
[2eeb8695] | 197 | </para>
|
---|
[0b67514] | 198 | <indexterm zone="flac libflac">
|
---|
[9de0170] | 199 | <primary sortas="c-libFLAC">libFLAC{,++}.so</primary>
|
---|
[0b67514] | 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
[9de0170] | 204 | <!--
|
---|
[0b67514] | 205 | <varlistentry id="libxmms-flac">
|
---|
[4c24eb0a] | 206 | <term><filename class="libraryfile">libxmms-flac.{so,a}</filename></term>
|
---|
[0b67514] | 207 | <listitem>
|
---|
[2eeb8695] | 208 | <para>
|
---|
| 209 | is a plugin for <application>XMMS</application>.
|
---|
| 210 | </para>
|
---|
[0b67514] | 211 | <indexterm zone="flac libxmms-flac">
|
---|
[0e2aa08] | 212 | <primary sortas="c-libxmms-flac">libxmms-flac.{so,a}</primary>
|
---|
[0b67514] | 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
[9de0170] | 216 | -->
|
---|
[0b67514] | 217 |
|
---|
| 218 | </variablelist>
|
---|
| 219 |
|
---|
| 220 | </sect2>
|
---|
[61cc896] | 221 |
|
---|
| 222 | </sect1>
|
---|