[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 |
|
---|
[fce275e] | 7 | <!ENTITY libmad-download-http "&sourceforge-repo;/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 |
|
---|
| 32 | <para><application>libmad</application> is a high-quality
|
---|
| 33 | MPEG audio decoder capable of 24-bit output.</para>
|
---|
| 34 |
|
---|
[a8d5ef7] | 35 | &lfs70_checked;
|
---|
[e355f3c6] | 36 |
|
---|
[ab10474] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&libmad-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&libmad-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &libmad-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &libmad-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &libmad-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &libmad-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
[0e2aa08] | 59 | <para condition="html" role="usernotes">User Notes:
|
---|
| 60 | <ulink url="&blfs-wiki;/libmad"/></para>
|
---|
| 61 |
|
---|
[ab10474] | 62 | </sect2>
|
---|
| 63 |
|
---|
| 64 | <sect2 role="installation">
|
---|
[115fbe4] | 65 | <title>Installation of libmad</title>
|
---|
[ab10474] | 66 |
|
---|
| 67 | <para>Install <application>libmad</application> by running the
|
---|
| 68 | following commands:</para>
|
---|
| 69 |
|
---|
[542fcf4] | 70 | <screen><userinput>sed -i '/-fforce-mem/d' configure &&
|
---|
| 71 | ./configure --prefix=/usr &&
|
---|
[98e781c] | 72 | make</userinput></screen>
|
---|
| 73 |
|
---|
[8a8e021] | 74 | <para>This package does not come with a test suite.</para>
|
---|
| 75 |
|
---|
[98e781c] | 76 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 77 |
|
---|
[a747b3c] | 78 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[2efa5eb4] | 79 |
|
---|
| 80 | <para>Some packages check for the <application>pkg-config</application> file
|
---|
[115fbe4] | 81 | for <application>libmad</application>. This file is particularly needed so
|
---|
| 82 | that <application>Cdrdao</application> can recognize the installed
|
---|
| 83 | <application>libmad</application>.</para>
|
---|
[bccbdaea] | 84 |
|
---|
[2efa5eb4] | 85 | <para>As the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 86 |
|
---|
| 87 | <screen role="root"><userinput>cat > /usr/lib/pkgconfig/mad.pc << "EOF"
|
---|
| 88 | <literal>prefix=/usr
|
---|
| 89 | exec_prefix=${prefix}
|
---|
| 90 | libdir=${exec_prefix}/lib
|
---|
| 91 | includedir=${prefix}/include
|
---|
| 92 |
|
---|
| 93 | Name: mad
|
---|
| 94 | Description: MPEG audio decoder
|
---|
| 95 | Requires:
|
---|
| 96 | Version: &libmad-version;
|
---|
| 97 | Libs: -L${libdir} -lmad
|
---|
| 98 | Cflags: -I${includedir}</literal>
|
---|
| 99 | EOF</userinput></screen>
|
---|
[ab10474] | 100 |
|
---|
[58ab7964] | 101 | </sect2>
|
---|
| 102 |
|
---|
[542fcf4] | 103 | <sect2 role="commands">
|
---|
| 104 | <title>Command Explanations</title>
|
---|
| 105 |
|
---|
[a41f643] | 106 | <para><command>sed -i '/-fforce-mem/d'</command>: This removes an obsolete
|
---|
[542fcf4] | 107 | compilation option that causes compilation to fail under GCC 4.4.x</para>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
[58ab7964] | 111 | <sect2 role="content">
|
---|
| 112 | <title>Contents</title>
|
---|
| 113 |
|
---|
[ab10474] | 114 | <segmentedlist>
|
---|
| 115 | <segtitle>Installed Programs</segtitle>
|
---|
[58ab7964] | 116 | <segtitle>Installed Library</segtitle>
|
---|
[ab10474] | 117 | <segtitle>Installed Directories</segtitle>
|
---|
| 118 |
|
---|
| 119 | <seglistitem>
|
---|
| 120 | <seg>None</seg>
|
---|
[0e2aa08] | 121 | <seg>libmad.{so,a}</seg>
|
---|
[8a8e021] | 122 | <seg>None</seg>
|
---|
[ab10474] | 123 | </seglistitem>
|
---|
| 124 | </segmentedlist>
|
---|
| 125 |
|
---|
| 126 | <variablelist>
|
---|
| 127 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 128 | <?dbfo list-presentation="list"?>
|
---|
| 129 | <?dbhtml list-presentation="table"?>
|
---|
| 130 |
|
---|
| 131 | <varlistentry id="libmad-lib">
|
---|
[0e2aa08] | 132 | <term><filename class='libraryfile'>libmad.{so,a}</filename></term>
|
---|
[ab10474] | 133 | <listitem>
|
---|
| 134 | <para>is a MPEG audio decoder library.</para>
|
---|
| 135 | <indexterm zone="libmad libmad-lib">
|
---|
[0e2aa08] | 136 | <primary sortas="c-libmad">libmad.{so,a}</primary>
|
---|
[ab10474] | 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
| 140 |
|
---|
| 141 | </variablelist>
|
---|
| 142 |
|
---|
| 143 | </sect2>
|
---|
[ef0e45e4] | 144 |
|
---|
| 145 | </sect1>
|
---|