source: multimedia/libdriv/flac.xml@ f3ebc751

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 f3ebc751 was 464127ba, checked in by Randy McMurchy <randy@…>, 19 years ago

Added a patch to fix the XMMS plugin and added a sed command to fix the Valgrind testing in the FLAC instructions

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

  • Property mode set to 100644
File size: 6.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY flac-download-http "http://prdownloads.sourceforge.net/flac/flac-&flac-version;.tar.gz">
8 <!ENTITY flac-download-ftp " ">
9 <!ENTITY flac-md5sum "2bfc127cdda02834d0491ab531a20960">
10 <!ENTITY flac-size "1.5 MB">
11 <!ENTITY flac-buildsize "49 MB">
12 <!ENTITY flac-time "0.7 SBU">
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 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&flac-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&flac-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &flac-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &flac-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &flac-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &flac-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
59 <itemizedlist spacing="compact">
60 <listitem>
61 <para>Required patch: <ulink
62 url="&patch-root;/flac-&flac-version;-xmms_plugin_fix-1.patch"/></para>
63 </listitem>
64 </itemizedlist>
65
66 <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
67
68 <bridgehead renderas="sect4">Optional</bridgehead>
69 <para><xref linkend="libogg"/>,
70 <xref linkend="xmms"/>,
71 <xref linkend="NASM"/>,
72 <xref linkend="docbook-utils"/>,
73 <xref linkend="doxygen"/> and
74 <ulink url="http://valgrind.kde.org/">Valgrind</ulink></para>
75
76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of FLAC</title>
80
81 <para>Install <application>FLAC</application> by running the
82 following commands:</para>
83
84<screen><userinput>patch -Np1 -i ../flac-&flac-version;-xmms_plugin_fix-1.patch &amp;&amp;
85LIBS=-lm ./configure --prefix=/usr &amp;&amp;
86make</userinput></screen>
87
88 <para>If you have <application>Valgrind</application> version 3.0.0 or
89 higher installed and you plan on running the test suites after passing the
90 <option>--enable-valgrind-testing</option> parameter to
91 <command>configure</command>, you need to issue the following command to
92 change some test scripts:</para>
93
94<screen><userinput>sed -i -e "s/logfile-fd/log-fd/" `grep -lr logfile-fd test/*sh`</userinput></screen>
95
96 <para>To test the results, issue: <command>make check</command>. This
97 test suite will take quite a while. Note that if you passed the
98 <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><command>LIBS=-lm ./configure --prefix=/usr</command>:
114 <filename class="libraryfile">libFLAC</filename> uses a function from the math
115 library but is not linked with <filename class="libraryfile">libm</filename>.
116 Passing the environment variable to <command>configure</command> satisfies
117 this dependency.</para>
118
119 </sect2>
120
121 <sect2 role="content">
122 <title>Contents</title>
123
124 <segmentedlist>
125 <segtitle>Installed Programs</segtitle>
126 <segtitle>Installed Libraries</segtitle>
127 <segtitle>Installed Directories</segtitle>
128
129 <seglistitem>
130 <seg>flac and metaflac</seg>
131 <seg>libFLAC.[so,a], libFLAC++.[so,a], libOggFLAC.[so,a],
132 libOggFLAC++.[so,a], and libxmms-flac.[so,a]</seg>
133 <seg>/usr/share/doc/flac-&flac-version;</seg>
134 </seglistitem>
135 </segmentedlist>
136
137 <variablelist>
138 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
139 <?dbfo list-presentation="list"?>
140 <?dbhtml list-presentation="table"?>
141
142 <varlistentry id="flac-prog">
143 <term><command>flac</command></term>
144 <listitem>
145 <para>is a command-line utility for encoding, decoding and
146 converting FLAC files.</para>
147 <indexterm zone="flac flac-prog">
148 <primary sortas="b-flac">flac</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="metaflac">
154 <term><command>metaflac</command></term>
155 <listitem>
156 <para>is a program for listing, adding, removing, or editing
157 metadata in one or more FLAC files.</para>
158 <indexterm zone="flac metaflac">
159 <primary sortas="b-metaflac">metaflac</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="libflac">
165 <term><filename class='libraryfile'>lib[,Ogg]FLAC[,++].[so,a]</filename></term>
166 <listitem>
167 <para>these libraries provide native FLAC and Ogg FLAC C/C++ APIs
168 for programs utilizing FLAC.</para>
169 <indexterm zone="flac libflac">
170 <primary sortas="c-libFLAC">lib[,Ogg]FLAC[,++].[so,a]</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="libxmms-flac">
176 <term><filename class='libraryfile'>libxmms-flac.[so,a]</filename></term>
177 <listitem>
178 <para>is a plugin for <application>XMMS</application>.</para>
179 <indexterm zone="flac libxmms-flac">
180 <primary sortas="c-libxmms-flac">libxmms-flac.[so,a]</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 </variablelist>
186
187 </sect2>
188
189</sect1>
Note: See TracBrowser for help on using the repository browser.