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