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