1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
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)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="flac" xreflabel="FLAC-&flac-version;">
|
---|
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 |
|
---|
32 | <para><application>FLAC</application> is an audio CODEC similar to
|
---|
33 | MP3, but lossless, meaning that audio is compressed without losing any
|
---|
34 | information.</para>
|
---|
35 |
|
---|
36 | &lfs77_checked; &gcc5_checked;
|
---|
37 |
|
---|
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>
|
---|
63 | <para role="optional">
|
---|
64 | <xref linkend="libogg"/>,
|
---|
65 | <!-- <xref linkend="xmms"/>, -->
|
---|
66 | <xref linkend="nasm"/>,
|
---|
67 | <xref linkend="docbook-utils"/>,
|
---|
68 | <xref linkend="doxygen"/> and
|
---|
69 | <xref linkend="valgrind"/>
|
---|
70 | </para>
|
---|
71 |
|
---|
72 | <para condition="html" role="usernotes">User Notes:
|
---|
73 | <ulink url="&blfs-wiki;/flac"/></para>
|
---|
74 |
|
---|
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 |
|
---|
83 | <screen><userinput>./configure --prefix=/usr \
|
---|
84 | --disable-thorough-tests &&
|
---|
85 | make</userinput></screen>
|
---|
86 |
|
---|
87 | <para>To test the results, issue: <command>make check</command>. Note that
|
---|
88 | if you passed the <option>--enable-exhaustive-tests</option> and
|
---|
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 |
|
---|
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 |
|
---|
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>
|
---|
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>
|
---|
119 | <seg>libFLAC.so and libFLAC++.so</seg>
|
---|
120 | <seg>/usr/include/FLAC, /usr/include/FLAC++ and
|
---|
121 | /usr/share/doc/flac-&flac-version;</seg>
|
---|
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>
|
---|
133 | <para>is a command-line utility for encoding, decoding and
|
---|
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>
|
---|
144 | <para>is a program for listing, adding, removing, or editing
|
---|
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">
|
---|
153 | <term><filename class='libraryfile'>libFLAC{,++}.so</filename></term>
|
---|
154 | <listitem>
|
---|
155 | <para>these libraries provide native FLAC and Ogg FLAC C/C++ APIs
|
---|
156 | for programs utilizing FLAC.</para>
|
---|
157 | <indexterm zone="flac libflac">
|
---|
158 | <primary sortas="c-libFLAC">libFLAC{,++}.so</primary>
|
---|
159 | </indexterm>
|
---|
160 | </listitem>
|
---|
161 | </varlistentry>
|
---|
162 |
|
---|
163 | <!--
|
---|
164 | <varlistentry id="libxmms-flac">
|
---|
165 | <term><filename class='libraryfile'>libxmms-flac.{so,a}</filename></term>
|
---|
166 | <listitem>
|
---|
167 | <para>is a plugin for <application>XMMS</application>.</para>
|
---|
168 | <indexterm zone="flac libxmms-flac">
|
---|
169 | <primary sortas="c-libxmms-flac">libxmms-flac.{so,a}</primary>
|
---|
170 | </indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 | -->
|
---|
174 |
|
---|
175 | </variablelist>
|
---|
176 |
|
---|
177 | </sect2>
|
---|
178 |
|
---|
179 | </sect1>
|
---|