source: multimedia/audioutils/lame.xml@ 9b05403

trunk
Last change on this file since 9b05403 was f86fbfb, checked in by Xi Ruoyao <xry111@…>, 4 weeks ago

lame: Get rid of rpath

This rpath is particularly bad because it's refering the building
directory. So if building in a world-writable directory (like /tmp)
we'll have a security hole...

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 lame-download-http "&sourceforge-dl;/lame/lame-&lame-version;.tar.gz">
8 <!ENTITY lame-download-ftp " ">
9 <!ENTITY lame-md5sum "83e260acbe4389b54fe08e0bdbf7cddb">
10 <!ENTITY lame-size "1.5 MB">
11 <!ENTITY lame-buildsize "9.7 MB">
12 <!ENTITY lame-time "0.1 SBU">
13]>
14
15<sect1 id="lame" xreflabel="LAME-&lame-version;">
16 <?dbhtml filename="lame.html"?>
17
18
19 <title>LAME-&lame-version;</title>
20
21 <indexterm zone="lame">
22 <primary sortas="a-LAME">LAME</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to LAME</title>
27
28 <para>
29 The <application>LAME</application> package contains an MP3
30 encoder and optionally, an MP3 frame analyzer. This is useful
31 for creating and analyzing compressed audio files.
32 </para>
33
34 &lfs121_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&lame-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&lame-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &lame-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &lame-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &lame-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &lame-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">LAME Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para role="optional">
74 <ulink url="https://dmalloc.com/">Dmalloc</ulink>,
75 <ulink url="https://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
76 <xref linkend="libsndfile"/> and
77 <xref linkend="nasm"/>
78 </para>
79
80 <para condition="html" role="usernotes">Editor Notes:
81 <ulink url="&blfs-wiki;/lame"/>
82 </para>
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of LAME</title>
87
88 <!-- Taken from Fedora -->
89 <para>
90 Prevent the source code directory from mistakenly hardcoded as a
91 shared library search path in the installed programs:
92 </para>
93
94<screen><userinput>sed -i -e 's/^\(\s*hardcode_libdir_flag_spec\s*=\).*/\1/' configure</userinput></screen>
95
96 <para>
97 Install <application>LAME</application> by running
98 the following commands:
99 </para>
100
101<screen><userinput>./configure --prefix=/usr --enable-mp3rtp --disable-static &amp;&amp;
102make</userinput></screen>
103
104 <para>
105 To test the results, issue: <command>make test</command>.
106 </para>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role="root"><userinput>make pkghtmldir=/usr/share/doc/lame-&lame-version; install</userinput></screen>
113
114 </sect2>
115
116 <sect2 role="commands">
117 <title>Command Explanations</title>
118
119 <para>
120 <parameter>--enable-mp3rtp</parameter>: This switch enables building
121 the encode-to-RTP program.
122 </para>
123
124 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
125 href="../../xincludes/static-libraries.xml"/>
126
127 <para>
128 <option>--enable-nasm</option>: Enable the use of
129 <xref linkend="nasm"/> to compile optimized assembly routines for
130 32-bit x86. This option has no effect on x86_64.
131 </para>
132
133 </sect2>
134
135 <sect2 role="content">
136 <title>Contents</title>
137
138 <segmentedlist>
139 <segtitle>Installed Programs</segtitle>
140 <segtitle>Installed Library</segtitle>
141 <segtitle>Installed Directories</segtitle>
142
143 <seglistitem>
144 <seg>
145 lame and mp3rtp
146 </seg>
147 <seg>
148 libmp3lame.so
149 </seg>
150 <seg>
151 /usr/include/lame and
152 /usr/share/doc/lame-&lame-version;
153 </seg>
154 </seglistitem>
155 </segmentedlist>
156
157 <variablelist>
158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
159 <?dbfo list-presentation="list"?>
160 <?dbhtml list-presentation="table"?>
161
162 <varlistentry id="lame-prog">
163 <term><command>lame</command></term>
164 <listitem>
165 <para>
166 creates MP3 audio files from raw
167 PCM or <filename>.wav</filename> data
168 </para>
169 <indexterm zone="lame lame-prog">
170 <primary sortas="b-lame">lame</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="mp3rtp">
176 <term><command>mp3rtp</command></term>
177 <listitem>
178 <para>
179 is used to encode MP3 with RTP streaming of the output
180 </para>
181 <indexterm zone="lame mp3rtp">
182 <primary sortas="b-mp3rtp">mp3rtp</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="libmp3lame">
188 <term><filename class="libraryfile">libmp3lame.so</filename></term>
189 <listitem>
190 <para>
191 libraries provide the functions necessary to convert
192 raw PCM and WAV files to MP3 files
193 </para>
194 <indexterm zone="lame libmp3lame">
195 <primary sortas="c-libmp3lame">libmp3lame.so</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 </variablelist>
201
202 </sect2>
203
204</sect1>
Note: See TracBrowser for help on using the repository browser.