[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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 " ">
|
---|
[21df254] | 9 | <!ENTITY flac-md5sum "7cab20b46e0bc859234bf5ba7da81625">
|
---|
[fb45bfd] | 10 | <!ENTITY flac-size "1.0 MB">
|
---|
[21df254] | 11 | <!ENTITY flac-buildsize "22 MB (additional 163 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 |
|
---|
[5efdd78] | 34 | &lfs122_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 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of FLAC</title>
|
---|
| 97 |
|
---|
[2eeb8695] | 98 | <para>
|
---|
| 99 | Install <application>FLAC</application> by running the
|
---|
| 100 | following commands:
|
---|
| 101 | </para>
|
---|
[0b67514] | 102 |
|
---|
[4483a9a] | 103 | <screen><userinput>./configure --prefix=/usr \
|
---|
[41f721e] | 104 | --disable-thorough-tests \
|
---|
| 105 | --docdir=/usr/share/doc/flac-&flac-version; &&
|
---|
[0b67514] | 106 | make</userinput></screen>
|
---|
| 107 |
|
---|
[2eeb8695] | 108 | <para>
|
---|
| 109 | To test the results, issue: <command>make check</command>. Note that
|
---|
| 110 | if you passed the <option>--enable-exhaustive-tests</option> and
|
---|
| 111 | <option>--enable-valgrind-testing</option> parameters to
|
---|
| 112 | <command>configure</command> and then run the test suite, it will take a
|
---|
| 113 | <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
|
---|
| 114 | of disk space.
|
---|
| 115 | </para>
|
---|
[464127ba] | 116 |
|
---|
[2eeb8695] | 117 | <para>
|
---|
| 118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
[0b67514] | 120 |
|
---|
| 121 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="commands">
|
---|
| 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
[2eeb8695] | 128 | <para>
|
---|
| 129 | <parameter>--disable-thorough-tests</parameter>: This parameter is
|
---|
| 130 | used so that the test suite will complete in a reasonable amount of time.
|
---|
| 131 | Remove it if you desire more extensive tests.
|
---|
| 132 | </para>
|
---|
[0b67514] | 133 |
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="content">
|
---|
| 137 | <title>Contents</title>
|
---|
| 138 |
|
---|
| 139 | <segmentedlist>
|
---|
| 140 | <segtitle>Installed Programs</segtitle>
|
---|
| 141 | <segtitle>Installed Libraries</segtitle>
|
---|
| 142 | <segtitle>Installed Directories</segtitle>
|
---|
| 143 |
|
---|
| 144 | <seglistitem>
|
---|
| 145 | <seg>flac and metaflac</seg>
|
---|
[9de0170] | 146 | <seg>libFLAC.so and libFLAC++.so</seg>
|
---|
[086d326] | 147 | <seg>/usr/include/FLAC, /usr/include/FLAC++ and
|
---|
| 148 | /usr/share/doc/flac-&flac-version;</seg>
|
---|
[0b67514] | 149 | </seglistitem>
|
---|
| 150 | </segmentedlist>
|
---|
| 151 |
|
---|
| 152 | <variablelist>
|
---|
| 153 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 154 | <?dbfo list-presentation="list"?>
|
---|
| 155 | <?dbhtml list-presentation="table"?>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="flac-prog">
|
---|
| 158 | <term><command>flac</command></term>
|
---|
| 159 | <listitem>
|
---|
[2eeb8695] | 160 | <para>
|
---|
| 161 | is a command-line utility for encoding, decoding and
|
---|
[4c24eb0a] | 162 | converting FLAC files
|
---|
[2eeb8695] | 163 | </para>
|
---|
[0b67514] | 164 | <indexterm zone="flac flac-prog">
|
---|
| 165 | <primary sortas="b-flac">flac</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="metaflac">
|
---|
| 171 | <term><command>metaflac</command></term>
|
---|
| 172 | <listitem>
|
---|
[2eeb8695] | 173 | <para>
|
---|
| 174 | is a program for listing, adding, removing, or editing
|
---|
[4c24eb0a] | 175 | metadata in one or more FLAC files
|
---|
[2eeb8695] | 176 | </para>
|
---|
[0b67514] | 177 | <indexterm zone="flac metaflac">
|
---|
| 178 | <primary sortas="b-metaflac">metaflac</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="libflac">
|
---|
[4c24eb0a] | 184 | <term><filename class="libraryfile">libFLAC{,++}.so</filename></term>
|
---|
[0b67514] | 185 | <listitem>
|
---|
[2eeb8695] | 186 | <para>
|
---|
| 187 | these libraries provide native FLAC and Ogg FLAC C/C++ APIs
|
---|
[4c24eb0a] | 188 | for programs utilizing FLAC
|
---|
[2eeb8695] | 189 | </para>
|
---|
[0b67514] | 190 | <indexterm zone="flac libflac">
|
---|
[9de0170] | 191 | <primary sortas="c-libFLAC">libFLAC{,++}.so</primary>
|
---|
[0b67514] | 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
[9de0170] | 196 | <!--
|
---|
[0b67514] | 197 | <varlistentry id="libxmms-flac">
|
---|
[4c24eb0a] | 198 | <term><filename class="libraryfile">libxmms-flac.{so,a}</filename></term>
|
---|
[0b67514] | 199 | <listitem>
|
---|
[2eeb8695] | 200 | <para>
|
---|
| 201 | is a plugin for <application>XMMS</application>.
|
---|
| 202 | </para>
|
---|
[0b67514] | 203 | <indexterm zone="flac libxmms-flac">
|
---|
[0e2aa08] | 204 | <primary sortas="c-libxmms-flac">libxmms-flac.{so,a}</primary>
|
---|
[0b67514] | 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
[9de0170] | 208 | -->
|
---|
[0b67514] | 209 |
|
---|
| 210 | </variablelist>
|
---|
| 211 |
|
---|
| 212 | </sect2>
|
---|
[61cc896] | 213 |
|
---|
| 214 | </sect1>
|
---|