[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 " ">
|
---|
[f95e57bf] | 9 | <!ENTITY flac-md5sum "26703ed2858c1fc9ffc05136d13daa69">
|
---|
| 10 | <!ENTITY flac-size "1.0 MB">
|
---|
| 11 | <!ENTITY flac-buildsize "21 MB (additional 95 MB to run the test suite)">
|
---|
| 12 | <!ENTITY flac-time "0.1 SBU (additional 0.7 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 |
|
---|
[c93c620c] | 37 | &lfs110a_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 |
|
---|
[41f721e] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <itemizedlist spacing="compact">
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>
|
---|
| 78 | Required patch:
|
---|
| 79 | <ulink url="&patch-root;/flac-&flac-version;-security_fixes-1.patch"/>
|
---|
| 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
[0b67514] | 84 | <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[35bf1ea] | 87 | <para role="optional">
|
---|
| 88 | <xref linkend="libogg"/>,
|
---|
| 89 | <!-- <xref linkend="xmms"/>, -->
|
---|
[efdd9de] | 90 | <xref linkend="nasm"/>,
|
---|
[35bf1ea] | 91 | <xref linkend="docbook-utils"/>,
|
---|
| 92 | <xref linkend="doxygen"/> and
|
---|
[f1607a4] | 93 | <xref linkend="valgrind"/>
|
---|
[35bf1ea] | 94 | </para>
|
---|
[0b67514] | 95 |
|
---|
[0e2aa08] | 96 | <para condition="html" role="usernotes">User Notes:
|
---|
| 97 | <ulink url="&blfs-wiki;/flac"/></para>
|
---|
| 98 |
|
---|
[0b67514] | 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="installation">
|
---|
| 102 | <title>Installation of FLAC</title>
|
---|
| 103 |
|
---|
[2eeb8695] | 104 | <para>
|
---|
| 105 | Install <application>FLAC</application> by running the
|
---|
| 106 | following commands:
|
---|
| 107 | </para>
|
---|
[0b67514] | 108 |
|
---|
[41f721e] | 109 | <screen><userinput>patch -Np1 -i ../flac-&flac-version;-security_fixes-1.patch &&
|
---|
| 110 | ./configure --prefix=/usr \
|
---|
| 111 | --disable-thorough-tests \
|
---|
| 112 | --docdir=/usr/share/doc/flac-&flac-version; &&
|
---|
[0b67514] | 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
[2eeb8695] | 115 | <para>
|
---|
| 116 | To test the results, issue: <command>make check</command>. Note that
|
---|
| 117 | if you passed the <option>--enable-exhaustive-tests</option> and
|
---|
| 118 | <option>--enable-valgrind-testing</option> parameters to
|
---|
| 119 | <command>configure</command> and then run the test suite, it will take a
|
---|
| 120 | <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
|
---|
| 121 | of disk space.
|
---|
| 122 | </para>
|
---|
[464127ba] | 123 |
|
---|
[2eeb8695] | 124 | <para>
|
---|
| 125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
[0b67514] | 127 |
|
---|
| 128 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
[2eeb8695] | 135 | <para>
|
---|
| 136 | <parameter>--disable-thorough-tests</parameter>: This parameter is
|
---|
| 137 | used so that the test suite will complete in a reasonable amount of time.
|
---|
| 138 | Remove it if you desire more extensive tests.
|
---|
| 139 | </para>
|
---|
[0b67514] | 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
| 150 |
|
---|
| 151 | <seglistitem>
|
---|
| 152 | <seg>flac and metaflac</seg>
|
---|
[9de0170] | 153 | <seg>libFLAC.so and libFLAC++.so</seg>
|
---|
[086d326] | 154 | <seg>/usr/include/FLAC, /usr/include/FLAC++ and
|
---|
| 155 | /usr/share/doc/flac-&flac-version;</seg>
|
---|
[0b67514] | 156 | </seglistitem>
|
---|
| 157 | </segmentedlist>
|
---|
| 158 |
|
---|
| 159 | <variablelist>
|
---|
| 160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 161 | <?dbfo list-presentation="list"?>
|
---|
| 162 | <?dbhtml list-presentation="table"?>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="flac-prog">
|
---|
| 165 | <term><command>flac</command></term>
|
---|
| 166 | <listitem>
|
---|
[2eeb8695] | 167 | <para>
|
---|
| 168 | is a command-line utility for encoding, decoding and
|
---|
[4c24eb0a] | 169 | converting FLAC files
|
---|
[2eeb8695] | 170 | </para>
|
---|
[0b67514] | 171 | <indexterm zone="flac flac-prog">
|
---|
| 172 | <primary sortas="b-flac">flac</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="metaflac">
|
---|
| 178 | <term><command>metaflac</command></term>
|
---|
| 179 | <listitem>
|
---|
[2eeb8695] | 180 | <para>
|
---|
| 181 | is a program for listing, adding, removing, or editing
|
---|
[4c24eb0a] | 182 | metadata in one or more FLAC files
|
---|
[2eeb8695] | 183 | </para>
|
---|
[0b67514] | 184 | <indexterm zone="flac metaflac">
|
---|
| 185 | <primary sortas="b-metaflac">metaflac</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="libflac">
|
---|
[4c24eb0a] | 191 | <term><filename class="libraryfile">libFLAC{,++}.so</filename></term>
|
---|
[0b67514] | 192 | <listitem>
|
---|
[2eeb8695] | 193 | <para>
|
---|
| 194 | these libraries provide native FLAC and Ogg FLAC C/C++ APIs
|
---|
[4c24eb0a] | 195 | for programs utilizing FLAC
|
---|
[2eeb8695] | 196 | </para>
|
---|
[0b67514] | 197 | <indexterm zone="flac libflac">
|
---|
[9de0170] | 198 | <primary sortas="c-libFLAC">libFLAC{,++}.so</primary>
|
---|
[0b67514] | 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
[9de0170] | 203 | <!--
|
---|
[0b67514] | 204 | <varlistentry id="libxmms-flac">
|
---|
[4c24eb0a] | 205 | <term><filename class="libraryfile">libxmms-flac.{so,a}</filename></term>
|
---|
[0b67514] | 206 | <listitem>
|
---|
[2eeb8695] | 207 | <para>
|
---|
| 208 | is a plugin for <application>XMMS</application>.
|
---|
| 209 | </para>
|
---|
[0b67514] | 210 | <indexterm zone="flac libxmms-flac">
|
---|
[0e2aa08] | 211 | <primary sortas="c-libxmms-flac">libxmms-flac.{so,a}</primary>
|
---|
[0b67514] | 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
[9de0170] | 215 | -->
|
---|
[0b67514] | 216 |
|
---|
| 217 | </variablelist>
|
---|
| 218 |
|
---|
| 219 | </sect2>
|
---|
[61cc896] | 220 |
|
---|
| 221 | </sect1>
|
---|