source: multimedia/libdriv/flac.xml@ 35bf1ea

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 35bf1ea was 35bf1ea, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to lame-3.99.3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9151 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.5 KB
Line 
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 "&sourceforge-repo;/flac/flac-&flac-version;.tar.gz">
8 <!ENTITY flac-download-ftp " ">
9 <!ENTITY flac-md5sum "153c8b15a54da428d1f0fadc756c22c7">
10 <!ENTITY flac-size "1.9 MB">
11 <!ENTITY flac-buildsize "205 MB (includes running the test suite)">
12 <!ENTITY flac-time "0.6 SBU (additional 8 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 &lfs70_checked; <!-- tested on x86_64, nasm not used -->
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">Additional Downloads</bridgehead>
61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>Required patch: <ulink
64 url="&patch-root;/flac-&flac-version;-gcc43-1.patch"/></para>
65 </listitem>
66 </itemizedlist> -->
67
68 <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para role="optional">
72 <xref linkend="libogg"/>,
73 <!-- <xref linkend="xmms"/>, -->
74 <xref linkend="NASM"/>,
75 <xref linkend="docbook-utils"/>,
76 <xref linkend="doxygen"/> and
77 <ulink url="http://valgrind.org/">Valgrind</ulink>
78 </para>
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/flac"/></para>
82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of FLAC</title>
87
88 <para>Install <application>FLAC</application> by running the
89 following commands:</para>
90
91<screen><userinput>sed -i 's/#include &lt;stdio.h&gt;/&amp;\n#include &lt;string.h&gt;/' \
92 examples/cpp/encode/file/main.cpp &amp;&amp;
93
94./configure --prefix=/usr --disable-thorough-tests &amp;&amp;
95make</userinput></screen>
96
97 <para>To test the results, issue: <command>make check</command>. Note that
98 if you passed the <option>--enable-exhaustive-tests</option> and
99 <option>--enable-valgrind-testing</option> parameters to
100 <command>configure</command> and then run the test suite, it will take a
101 <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
102 of disk space.</para>
103
104 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
105
106<screen role="root"><userinput>make install</userinput></screen>
107
108 </sect2>
109
110 <sect2 role="commands">
111 <title>Command Explanations</title>
112
113 <para><parameter>--disable-thorough-tests</parameter>: This parameter is
114 used so that the test suite will complete in a reasonable amount of time.
115 Remove it if you desire more extensive tests.</para>
116
117 <para><option>--enable-sse</option>: This option is off by default and
118 should be set on if your machine has SSE capability. One way to find out if
119 you have SSE is to issue <command>cat /proc/cpuinfo</command> and see if
120 <computeroutput>sse</computeroutput> is listed in the flags.</para>
121
122 <para><option>--disable-static</option>: This switch prevents the
123 static libraries from being built.</para>
124
125 </sect2>
126
127 <sect2 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Libraries</segtitle>
133 <segtitle>Installed Directories</segtitle>
134
135 <seglistitem>
136 <seg>flac and metaflac</seg>
137 <seg>libFLAC.{so,a}, libFLAC++.{so,a} and libxmms-flac.{so,a}</seg>
138 <seg>/usr/include/FLAC, /usr/include/FLAC++ and
139 /usr/share/doc/flac-&flac-version;</seg>
140 </seglistitem>
141 </segmentedlist>
142
143 <variablelist>
144 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
145 <?dbfo list-presentation="list"?>
146 <?dbhtml list-presentation="table"?>
147
148 <varlistentry id="flac-prog">
149 <term><command>flac</command></term>
150 <listitem>
151 <para>is a command-line utility for encoding, decoding and
152 converting FLAC files.</para>
153 <indexterm zone="flac flac-prog">
154 <primary sortas="b-flac">flac</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
159 <varlistentry id="metaflac">
160 <term><command>metaflac</command></term>
161 <listitem>
162 <para>is a program for listing, adding, removing, or editing
163 metadata in one or more FLAC files.</para>
164 <indexterm zone="flac metaflac">
165 <primary sortas="b-metaflac">metaflac</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry id="libflac">
171 <term><filename class='libraryfile'>libFLAC{,++}.{so,a}</filename></term>
172 <listitem>
173 <para>these libraries provide native FLAC and Ogg FLAC C/C++ APIs
174 for programs utilizing FLAC.</para>
175 <indexterm zone="flac libflac">
176 <primary sortas="c-libFLAC">lib{,Ogg}FLAC{,++}.{so,a}</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="libxmms-flac">
182 <term><filename class='libraryfile'>libxmms-flac.{so,a}</filename></term>
183 <listitem>
184 <para>is a plugin for <application>XMMS</application>.</para>
185 <indexterm zone="flac libxmms-flac">
186 <primary sortas="c-libxmms-flac">libxmms-flac.{so,a}</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect2>
194
195</sect1>
Note: See TracBrowser for help on using the repository browser.