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