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