source: multimedia/libdriv/libmad.xml@ 18a8da63

10.0 10.1 11.0 11.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 18a8da63 was 18a8da63, checked in by Bruce Dubbs <bdubbs@…>, 21 months ago

More tags, mostly multimedia

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

  • Property mode set to 100644
File size: 5.1 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 libmad-download-http "&sourceforge-dl;/mad/libmad-&libmad-version;.tar.gz">
8 <!ENTITY libmad-download-ftp "ftp://ftp.mars.org/pub/mpeg/libmad-&libmad-version;.tar.gz">
9 <!ENTITY libmad-md5sum "1be543bc30c56fb6bea1d7bf6a64e66c">
10 <!ENTITY libmad-size "491 KB">
11 <!ENTITY libmad-buildsize "4.2 MB">
12 <!ENTITY libmad-time "0.1 SBU">
13]>
14
15<sect1 id="libmad" xreflabel="libmad-&libmad-version;">
16 <?dbhtml filename="libmad.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libmad-&libmad-version;</title>
24
25 <indexterm zone="libmad">
26 <primary sortas="a-Libmad">Libmad</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libmad</title>
31
32 <para>
33 <application>libmad</application> is a high-quality
34 MPEG audio decoder capable of 24-bit output.
35 </para>
36
37 &lfs10_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libmad-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libmad-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libmad-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libmad-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libmad-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libmad-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing='compact'>
75 <listitem>
76 <para>
77 Required patch: <ulink
78 url="&patch-root;/libmad-&libmad-version;-fixes-1.patch"/>
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/libmad"/></para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of libmad</title>
90
91 <para>
92 Install <application>libmad</application> by running the
93 following commands:
94 </para>
95
96<screen><userinput>patch -Np1 -i ../libmad-&libmad-version;-fixes-1.patch &amp;&amp;
97sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &amp;&amp;
98touch NEWS AUTHORS ChangeLog &amp;&amp;
99autoreconf -fi &amp;&amp;
100
101./configure --prefix=/usr --disable-static &amp;&amp;
102make</userinput></screen>
103
104 <para>
105 This package does not come with a test suite.
106 </para>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112 <screen role="root"><userinput>make install</userinput></screen>
113
114 <para>
115 Some packages check for the <application>pkg-config</application> file
116 for <application>libmad</application>. This file is particularly needed
117 so that <application>Cdrdao</application> can recognize the installed
118 <application>libmad</application>.
119 </para>
120
121 <para>
122 As the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>cat &gt; /usr/lib/pkgconfig/mad.pc &lt;&lt; "EOF"
126<literal>prefix=/usr
127exec_prefix=${prefix}
128libdir=${exec_prefix}/lib
129includedir=${prefix}/include
130
131Name: mad
132Description: MPEG audio decoder
133Requires:
134Version: &libmad-version;
135Libs: -L${libdir} -lmad
136Cflags: -I${includedir}</literal>
137EOF</userinput></screen>
138
139 </sect2>
140
141 <sect2 role="commands">
142 <title>Command Explanations</title>
143
144 <para>
145 <command>touch NEWS AUTHORS ChangeLog</command>: Prevent autoreconf from
146 returning an error.
147 </para>
148
149 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
150 href="../../xincludes/static-libraries.xml"/>
151
152 </sect2>
153
154 <sect2 role="content">
155 <title>Contents</title>
156
157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
159 <segtitle>Installed Library</segtitle>
160 <segtitle>Installed Directories</segtitle>
161
162 <seglistitem>
163 <seg>None</seg>
164 <seg>libmad.so</seg>
165 <seg>None</seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="libmad-lib">
175 <term><filename class='libraryfile'>libmad.so</filename></term>
176 <listitem>
177 <para>
178 is a MPEG audio decoder library.
179 </para>
180 <indexterm zone="libmad libmad-lib">
181 <primary sortas="c-libmad">libmad.so</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 </variablelist>
187
188 </sect2>
189
190</sect1>
Note: See TracBrowser for help on using the repository browser.