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

10.0 10.1 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 18a8da63 was 18a8da63, checked in by Bruce Dubbs <bdubbs@…>, 4 years 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
RevLine 
[ab10474]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" [
[48b7295]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[4a21942]6
[8dfc5c3]7 <!ENTITY libmad-download-http "&sourceforge-dl;/mad/libmad-&libmad-version;.tar.gz">
[48b7295]8 <!ENTITY libmad-download-ftp "ftp://ftp.mars.org/pub/mpeg/libmad-&libmad-version;.tar.gz">
[4a21942]9 <!ENTITY libmad-md5sum "1be543bc30c56fb6bea1d7bf6a64e66c">
[e355f3c6]10 <!ENTITY libmad-size "491 KB">
[115fbe4]11 <!ENTITY libmad-buildsize "4.2 MB">
[58ab7964]12 <!ENTITY libmad-time "0.1 SBU">
[48b7295]13]>
14
[ef0e45e4]15<sect1 id="libmad" xreflabel="libmad-&libmad-version;">
[ab10474]16 <?dbhtml filename="libmad.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[115fbe4]23 <title>libmad-&libmad-version;</title>
[ab10474]24
25 <indexterm zone="libmad">
26 <primary sortas="a-Libmad">Libmad</primary>
27 </indexterm>
28
29 <sect2 role="package">
[115fbe4]30 <title>Introduction to libmad</title>
[ab10474]31
[2eeb8695]32 <para>
33 <application>libmad</application> is a high-quality
34 MPEG audio decoder capable of 24-bit output.
35 </para>
[ab10474]36
[18a8da63]37 &lfs10_checked;
[e355f3c6]38
[ab10474]39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[2eeb8695]42 <para>
43 Download (HTTP): <ulink url="&libmad-download-http;"/>
44 </para>
[ab10474]45 </listitem>
46 <listitem>
[2eeb8695]47 <para>
48 Download (FTP): <ulink url="&libmad-download-ftp;"/>
49 </para>
[ab10474]50 </listitem>
51 <listitem>
[2eeb8695]52 <para>
53 Download MD5 sum: &libmad-md5sum;
54 </para>
[ab10474]55 </listitem>
56 <listitem>
[2eeb8695]57 <para>
58 Download size: &libmad-size;
59 </para>
[ab10474]60 </listitem>
61 <listitem>
[2eeb8695]62 <para>
63 Estimated disk space required: &libmad-buildsize;
64 </para>
[ab10474]65 </listitem>
66 <listitem>
[2eeb8695]67 <para>
68 Estimated build time: &libmad-time;
69 </para>
[ab10474]70 </listitem>
71 </itemizedlist>
72
[a857a42]73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing='compact'>
75 <listitem>
[2eeb8695]76 <para>
77 Required patch: <ulink
78 url="&patch-root;/libmad-&libmad-version;-fixes-1.patch"/>
79 </para>
[a857a42]80 </listitem>
81 </itemizedlist>
82
[0e2aa08]83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/libmad"/></para>
85
[ab10474]86 </sect2>
87
88 <sect2 role="installation">
[115fbe4]89 <title>Installation of libmad</title>
[ab10474]90
[2eeb8695]91 <para>
92 Install <application>libmad</application> by running the
93 following commands:
94 </para>
[ab10474]95
[10030e39]96<screen><userinput>patch -Np1 -i ../libmad-&libmad-version;-fixes-1.patch &amp;&amp;
[2fb20a3]97sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &amp;&amp;
[10030e39]98touch NEWS AUTHORS ChangeLog &amp;&amp;
99autoreconf -fi &amp;&amp;
100
[2b940c9]101./configure --prefix=/usr --disable-static &amp;&amp;
[98e781c]102make</userinput></screen>
103
[2eeb8695]104 <para>
105 This package does not come with a test suite.
106 </para>
[8a8e021]107
[2eeb8695]108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
[98e781c]111
[a747b3c]112 <screen role="root"><userinput>make install</userinput></screen>
[2efa5eb4]113
[2eeb8695]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>
[bccbdaea]120
[2eeb8695]121 <para>
122 As the <systemitem class="username">root</systemitem> user:
123 </para>
[2efa5eb4]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>
[ab10474]138
[58ab7964]139 </sect2>
140
[542fcf4]141 <sect2 role="commands">
142 <title>Command Explanations</title>
143
[10030e39]144 <para>
145 <command>touch NEWS AUTHORS ChangeLog</command>: Prevent autoreconf from
146 returning an error.
147 </para>
148
[2b940c9]149 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
150 href="../../xincludes/static-libraries.xml"/>
151
[542fcf4]152 </sect2>
153
[58ab7964]154 <sect2 role="content">
155 <title>Contents</title>
156
[ab10474]157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
[58ab7964]159 <segtitle>Installed Library</segtitle>
[ab10474]160 <segtitle>Installed Directories</segtitle>
161
162 <seglistitem>
163 <seg>None</seg>
[2b940c9]164 <seg>libmad.so</seg>
[8a8e021]165 <seg>None</seg>
[ab10474]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">
[2b940c9]175 <term><filename class='libraryfile'>libmad.so</filename></term>
[ab10474]176 <listitem>
[2eeb8695]177 <para>
178 is a MPEG audio decoder library.
179 </para>
[ab10474]180 <indexterm zone="libmad libmad-lib">
[2b940c9]181 <primary sortas="c-libmad">libmad.so</primary>
[ab10474]182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 </variablelist>
187
188 </sect2>
[ef0e45e4]189
190</sect1>
Note: See TracBrowser for help on using the repository browser.