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