[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 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
[115fbe4] | 22 | <title>libmad-&libmad-version;</title>
|
---|
[ab10474] | 23 |
|
---|
| 24 | <indexterm zone="libmad">
|
---|
| 25 | <primary sortas="a-Libmad">Libmad</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
[115fbe4] | 29 | <title>Introduction to libmad</title>
|
---|
[ab10474] | 30 |
|
---|
[2eeb8695] | 31 | <para>
|
---|
| 32 | <application>libmad</application> is a high-quality
|
---|
| 33 | MPEG audio decoder capable of 24-bit output.
|
---|
| 34 | </para>
|
---|
[ab10474] | 35 |
|
---|
[ef8290b1] | 36 | &lfs111_checked;
|
---|
[e355f3c6] | 37 |
|
---|
[ab10474] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[2eeb8695] | 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&libmad-download-http;"/>
|
---|
| 43 | </para>
|
---|
[ab10474] | 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
[2eeb8695] | 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&libmad-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
[ab10474] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[2eeb8695] | 51 | <para>
|
---|
| 52 | Download MD5 sum: &libmad-md5sum;
|
---|
| 53 | </para>
|
---|
[ab10474] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[2eeb8695] | 56 | <para>
|
---|
| 57 | Download size: &libmad-size;
|
---|
| 58 | </para>
|
---|
[ab10474] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[2eeb8695] | 61 | <para>
|
---|
| 62 | Estimated disk space required: &libmad-buildsize;
|
---|
| 63 | </para>
|
---|
[ab10474] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[2eeb8695] | 66 | <para>
|
---|
| 67 | Estimated build time: &libmad-time;
|
---|
| 68 | </para>
|
---|
[ab10474] | 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
[a857a42] | 72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 73 | <itemizedlist spacing='compact'>
|
---|
| 74 | <listitem>
|
---|
[2eeb8695] | 75 | <para>
|
---|
| 76 | Required patch: <ulink
|
---|
| 77 | url="&patch-root;/libmad-&libmad-version;-fixes-1.patch"/>
|
---|
| 78 | </para>
|
---|
[a857a42] | 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
| 81 |
|
---|
[0e2aa08] | 82 | <para condition="html" role="usernotes">User Notes:
|
---|
| 83 | <ulink url="&blfs-wiki;/libmad"/></para>
|
---|
| 84 |
|
---|
[ab10474] | 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
[115fbe4] | 88 | <title>Installation of libmad</title>
|
---|
[ab10474] | 89 |
|
---|
[2eeb8695] | 90 | <para>
|
---|
| 91 | Install <application>libmad</application> by running the
|
---|
| 92 | following commands:
|
---|
| 93 | </para>
|
---|
[ab10474] | 94 |
|
---|
[10030e39] | 95 | <screen><userinput>patch -Np1 -i ../libmad-&libmad-version;-fixes-1.patch &&
|
---|
[2fb20a3] | 96 | sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &&
|
---|
[10030e39] | 97 | touch NEWS AUTHORS ChangeLog &&
|
---|
| 98 | autoreconf -fi &&
|
---|
| 99 |
|
---|
[2b940c9] | 100 | ./configure --prefix=/usr --disable-static &&
|
---|
[98e781c] | 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
[2eeb8695] | 103 | <para>
|
---|
| 104 | This package does not come with a test suite.
|
---|
| 105 | </para>
|
---|
[8a8e021] | 106 |
|
---|
[2eeb8695] | 107 | <para>
|
---|
| 108 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 109 | </para>
|
---|
[98e781c] | 110 |
|
---|
[a747b3c] | 111 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[2efa5eb4] | 112 |
|
---|
[2eeb8695] | 113 | <para>
|
---|
| 114 | Some packages check for the <application>pkg-config</application> file
|
---|
| 115 | for <application>libmad</application>. This file is particularly needed
|
---|
| 116 | so that <application>Cdrdao</application> can recognize the installed
|
---|
| 117 | <application>libmad</application>.
|
---|
| 118 | </para>
|
---|
[bccbdaea] | 119 |
|
---|
[2eeb8695] | 120 | <para>
|
---|
| 121 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
[2efa5eb4] | 123 |
|
---|
| 124 | <screen role="root"><userinput>cat > /usr/lib/pkgconfig/mad.pc << "EOF"
|
---|
| 125 | <literal>prefix=/usr
|
---|
| 126 | exec_prefix=${prefix}
|
---|
| 127 | libdir=${exec_prefix}/lib
|
---|
| 128 | includedir=${prefix}/include
|
---|
| 129 |
|
---|
| 130 | Name: mad
|
---|
| 131 | Description: MPEG audio decoder
|
---|
| 132 | Requires:
|
---|
| 133 | Version: &libmad-version;
|
---|
| 134 | Libs: -L${libdir} -lmad
|
---|
| 135 | Cflags: -I${includedir}</literal>
|
---|
| 136 | EOF</userinput></screen>
|
---|
[ab10474] | 137 |
|
---|
[58ab7964] | 138 | </sect2>
|
---|
| 139 |
|
---|
[542fcf4] | 140 | <sect2 role="commands">
|
---|
| 141 | <title>Command Explanations</title>
|
---|
| 142 |
|
---|
[10030e39] | 143 | <para>
|
---|
| 144 | <command>touch NEWS AUTHORS ChangeLog</command>: Prevent autoreconf from
|
---|
| 145 | returning an error.
|
---|
| 146 | </para>
|
---|
| 147 |
|
---|
[2b940c9] | 148 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 149 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 150 |
|
---|
[542fcf4] | 151 | </sect2>
|
---|
| 152 |
|
---|
[58ab7964] | 153 | <sect2 role="content">
|
---|
| 154 | <title>Contents</title>
|
---|
| 155 |
|
---|
[ab10474] | 156 | <segmentedlist>
|
---|
| 157 | <segtitle>Installed Programs</segtitle>
|
---|
[58ab7964] | 158 | <segtitle>Installed Library</segtitle>
|
---|
[ab10474] | 159 | <segtitle>Installed Directories</segtitle>
|
---|
| 160 |
|
---|
| 161 | <seglistitem>
|
---|
| 162 | <seg>None</seg>
|
---|
[2b940c9] | 163 | <seg>libmad.so</seg>
|
---|
[8a8e021] | 164 | <seg>None</seg>
|
---|
[ab10474] | 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="libmad-lib">
|
---|
[4c24eb0a] | 174 | <term><filename class="libraryfile">libmad.so</filename></term>
|
---|
[ab10474] | 175 | <listitem>
|
---|
[2eeb8695] | 176 | <para>
|
---|
[4c24eb0a] | 177 | is a MPEG audio decoder library
|
---|
[2eeb8695] | 178 | </para>
|
---|
[ab10474] | 179 | <indexterm zone="libmad libmad-lib">
|
---|
[2b940c9] | 180 | <primary sortas="c-libmad">libmad.so</primary>
|
---|
[ab10474] | 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | </variablelist>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
[ef0e45e4] | 188 |
|
---|
| 189 | </sect1>
|
---|