source: multimedia/audioutils/lame.xml@ 656e4130

kde5-14686 systemd-13485
Last change on this file since 656e4130 was 12cb8c2d, checked in by Krejzi <krejzi@…>, 10 years ago

Checks and fixes.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14029 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[96570d92]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[8d8631b5]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[911d4c74]6
[c627795]7 <!ENTITY lame-download-http "&sourceforge-repo;/lame/lame-&lame-version;.tar.gz">
[8d8631b5]8 <!ENTITY lame-download-ftp " ">
[c627795]9 <!ENTITY lame-md5sum "84835b313d4a8b68f5349816d33e07ce">
[35bf1ea]10 <!ENTITY lame-size "1.4 MB">
[c627795]11 <!ENTITY lame-buildsize "11 MB">
[35bf1ea]12 <!ENTITY lame-time "0.3 SBU">
[8d8631b5]13]>
14
[5db3785e]15<sect1 id="lame" xreflabel="LAME-&lame-version;">
[15b9d663]16 <?dbhtml filename="lame.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>LAME-&lame-version;</title>
24
25 <indexterm zone="lame">
26 <primary sortas="a-LAME">LAME</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to LAME</title>
31
[c627795]32 <para>
33 The <application>LAME</application> package contains an MP3
34 encoder and optionally, an MP3 frame analyzer. This is useful
35 for creating and analyzing compressed audio files.
36 </para>
[15b9d663]37
[12cb8c2d]38 &lfs76_checked;
[e355f3c6]39
[15b9d663]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[c627795]43 <para>
44 Download (HTTP): <ulink url="&lame-download-http;"/>
45 </para>
[15b9d663]46 </listitem>
47 <listitem>
[c627795]48 <para>
49 Download (FTP): <ulink url="&lame-download-ftp;"/>
50 </para>
[15b9d663]51 </listitem>
52 <listitem>
[c627795]53 <para>
54 Download MD5 sum: &lame-md5sum;
55 </para>
[15b9d663]56 </listitem>
57 <listitem>
[c627795]58 <para>
59 Download size: &lame-size;
60 </para>
[15b9d663]61 </listitem>
62 <listitem>
[c627795]63 <para>
64 Estimated disk space required: &lame-buildsize;
65 </para>
[15b9d663]66 </listitem>
67 <listitem>
[c627795]68 <para>
69 Estimated build time: &lame-time;
70 </para>
[15b9d663]71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">LAME Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
[35bf1ea]77 <para role="optional">
[c627795]78 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
[4a64872f]79 <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
[c627795]80 <xref linkend="libsndfile"/> and
[efdd9de]81 <xref linkend="nasm"/>
[35bf1ea]82 </para>
[15b9d663]83
[0e2aa08]84 <para condition="html" role="usernotes">User Notes:
[c627795]85 <ulink url="&blfs-wiki;/lame"/>
86 </para>
[15b9d663]87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of LAME</title>
91
[3844cf2]92 <para>
[aedf4d7]93 First, if you are using i686, fix a compile problem inroduced by
94 <application>&gcc-490;</application>:
[3844cf2]95 </para>
96
[45b5355]97<screen role="nodump"><userinput>sed -i -e '/xmmintrin\.h/d' configure</userinput></screen>
[3844cf2]98
[c627795]99 <para>
100 Install <application>LAME</application> by running
101 the following commands:
102 </para>
[15b9d663]103
[f5084dd]104<screen><userinput>./configure --prefix=/usr --enable-mp3rtp --disable-static &amp;&amp;
[15b9d663]105make</userinput></screen>
106
[c627795]107 <para>
108 To test the results, issue: <command>make test</command>.
109 </para>
[b61b128]110
[c627795]111 <para>
112 Now, as the <systemitem class="username">root</systemitem> user:
113 </para>
[15b9d663]114
[24f2d4b]115<screen role="root"><userinput>make pkghtmldir=/usr/share/doc/lame-&lame-version; install</userinput></screen>
[15b9d663]116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
[45b5355]122 <para>
123 <option>sed -i -e '/xmmintrin\.h/d' configure</option> : with
124 gcc-4.9.0, 32-bit i686 builds fail in <filename>xmm_quantize_sub.c</filename>
125 with an error message <literal>error: inlining failed in call to always_inline
126 '_mm_loadu_ps'</literal>. This sed makes it appear as if
127 <filename>xmmintrin.h</filename> is not present. Do not use this on other
128 versions of gcc, or on x86_64.
129 </para>
130
[c627795]131 <para>
132 <option>--enable-mp3rtp</option>: This switch enables building
133 of the encode-to-RTP program.
134 </para>
[1ade38d]135
[f5084dd]136 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
137 href="../../xincludes/static-libraries.xml"/>
[c627795]138
139 <para>
140 <option>--enable-nasm</option>: Enable the use of
[efdd9de]141 <xref linkend="nasm"/> to compile optimized assembly routines.
[c627795]142 </para>
143
[15b9d663]144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Library</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
[c627795]155 <seg>
156 lame and mp3rtp
157 </seg>
158 <seg>
159 libmp3lame.so
160 </seg>
161 <seg>
[755bb92]162 /usr/include/lame and
163 /usr/share/doc/lame-&lame-version;
[c627795]164 </seg>
[15b9d663]165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="lame-prog">
174 <term><command>lame</command></term>
175 <listitem>
[c627795]176 <para>
177 creates MP3 audio files from raw
178 PCM or <filename>.wav</filename> data.
179 </para>
[15b9d663]180 <indexterm zone="lame lame-prog">
181 <primary sortas="b-lame">lame</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="mp3rtp">
187 <term><command>mp3rtp</command></term>
188 <listitem>
[c627795]189 <para>
190 is used to encode MP3 with RTP streaming of the output.
191 </para>
[15b9d663]192 <indexterm zone="lame mp3rtp">
193 <primary sortas="b-mp3rtp">mp3rtp</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="libmp3lame">
[755bb92]199 <term><filename class="libraryfile">libmp3lame.so</filename></term>
[15b9d663]200 <listitem>
[c627795]201 <para>
202 libraries provide the functions necessary to convert
203 raw PCM and WAV files to MP3 files.
204 </para>
[15b9d663]205 <indexterm zone="lame libmp3lame">
[c627795]206 <primary sortas="c-libmp3lame">libmp3lame.so</primary>
[15b9d663]207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 </variablelist>
212
213 </sect2>
[f45b1953]214
215</sect1>
Note: See TracBrowser for help on using the repository browser.