source: multimedia/libdriv/flac.xml@ 41f721e

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 41f721e was 41f721e, checked in by Ken Moffat <ken@…>, 3 years ago

Security fixes for flac and libssh2.
Also note the unfixed vulnerability in xdg-utils mailto
(thanks to Arch for noticing this).

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24429 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 "https://downloads.xiph.org/releases/flac/flac-&flac-version;.tar.xz">
8 <!ENTITY flac-download-ftp " ">
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)">
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>
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>
37
38 &lfs101_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&flac-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&flac-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &flac-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &flac-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &flac-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &flac-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch:
80 <ulink url="&patch-root;/flac-&flac-version;-security_fixes-1.patch"/>
81 </para>
82 </listitem>
83 </itemizedlist>
84
85 <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
86
87 <bridgehead renderas="sect4">Optional</bridgehead>
88 <para role="optional">
89 <xref linkend="libogg"/>,
90 <!-- <xref linkend="xmms"/>, -->
91 <xref linkend="nasm"/>,
92 <xref linkend="docbook-utils"/>,
93 <xref linkend="doxygen"/> and
94 <xref linkend="valgrind"/>
95 </para>
96
97 <para condition="html" role="usernotes">User Notes:
98 <ulink url="&blfs-wiki;/flac"/></para>
99
100 </sect2>
101
102 <sect2 role="installation">
103 <title>Installation of FLAC</title>
104
105 <para>
106 Install <application>FLAC</application> by running the
107 following commands:
108 </para>
109
110<screen><userinput>patch -Np1 -i ../flac-&flac-version;-security_fixes-1.patch &amp;&amp;
111./configure --prefix=/usr \
112 --disable-thorough-tests \
113 --docdir=/usr/share/doc/flac-&flac-version; &amp;&amp;
114make</userinput></screen>
115
116 <para>
117 To test the results, issue: <command>make check</command>. Note that
118 if you passed the <option>--enable-exhaustive-tests</option> and
119 <option>--enable-valgrind-testing</option> parameters to
120 <command>configure</command> and then run the test suite, it will take a
121 <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
122 of disk space.
123 </para>
124
125 <para>
126 Now, as the <systemitem class="username">root</systemitem> user:
127 </para>
128
129<screen role="root"><userinput>make install</userinput></screen>
130
131 </sect2>
132
133 <sect2 role="commands">
134 <title>Command Explanations</title>
135
136 <para>
137 <parameter>--disable-thorough-tests</parameter>: This parameter is
138 used so that the test suite will complete in a reasonable amount of time.
139 Remove it if you desire more extensive tests.
140 </para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Libraries</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>flac and metaflac</seg>
154 <seg>libFLAC.so and libFLAC++.so</seg>
155 <seg>/usr/include/FLAC, /usr/include/FLAC++ and
156 /usr/share/doc/flac-&flac-version;</seg>
157 </seglistitem>
158 </segmentedlist>
159
160 <variablelist>
161 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
162 <?dbfo list-presentation="list"?>
163 <?dbhtml list-presentation="table"?>
164
165 <varlistentry id="flac-prog">
166 <term><command>flac</command></term>
167 <listitem>
168 <para>
169 is a command-line utility for encoding, decoding and
170 converting FLAC files
171 </para>
172 <indexterm zone="flac flac-prog">
173 <primary sortas="b-flac">flac</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="metaflac">
179 <term><command>metaflac</command></term>
180 <listitem>
181 <para>
182 is a program for listing, adding, removing, or editing
183 metadata in one or more FLAC files
184 </para>
185 <indexterm zone="flac metaflac">
186 <primary sortas="b-metaflac">metaflac</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="libflac">
192 <term><filename class="libraryfile">libFLAC{,++}.so</filename></term>
193 <listitem>
194 <para>
195 these libraries provide native FLAC and Ogg FLAC C/C++ APIs
196 for programs utilizing FLAC
197 </para>
198 <indexterm zone="flac libflac">
199 <primary sortas="c-libFLAC">libFLAC{,++}.so</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204<!--
205 <varlistentry id="libxmms-flac">
206 <term><filename class="libraryfile">libxmms-flac.{so,a}</filename></term>
207 <listitem>
208 <para>
209 is a plugin for <application>XMMS</application>.
210 </para>
211 <indexterm zone="flac libxmms-flac">
212 <primary sortas="c-libxmms-flac">libxmms-flac.{so,a}</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216-->
217
218 </variablelist>
219
220 </sect2>
221
222</sect1>
Note: See TracBrowser for help on using the repository browser.