glfs/multimedia/libdriv/libmad.xml
Pierre Labastie e1e58be454 Remove all ftp urls
neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...
2023-10-15 21:43:08 +02:00

184 lines
4.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libmad-download-http "&sourceforge-dl;/mad/libmad-&libmad-version;.tar.gz">
<!ENTITY libmad-download-ftp " ">
<!ENTITY libmad-md5sum "1be543bc30c56fb6bea1d7bf6a64e66c">
<!ENTITY libmad-size "491 KB">
<!ENTITY libmad-buildsize "4.2 MB">
<!ENTITY libmad-time "0.1 SBU">
]>
<sect1 id="libmad" xreflabel="libmad-&libmad-version;">
<?dbhtml filename="libmad.html"?>
<title>libmad-&libmad-version;</title>
<indexterm zone="libmad">
<primary sortas="a-Libmad">Libmad</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libmad</title>
<para>
<application>libmad</application> is a high-quality
MPEG audio decoder capable of 24-bit output.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libmad-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libmad-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libmad-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libmad-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libmad-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libmad-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>
Required patch: <ulink
url="&patch-root;/libmad-&libmad-version;-fixes-1.patch"/>
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of libmad</title>
<para>
Install <application>libmad</application> by running the
following commands:
</para>
<screen><userinput>patch -Np1 -i ../libmad-&libmad-version;-fixes-1.patch &amp;&amp;
sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &amp;&amp;
touch NEWS AUTHORS ChangeLog &amp;&amp;
autoreconf -fi &amp;&amp;
./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<para>
Some packages check for the <application>pkg-config</application> file
for <application>libmad</application>. This file is particularly needed
so that <application>Cdrdao</application> can recognize the installed
<application>libmad</application>.
</para>
<para>
As the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>cat &gt; /usr/lib/pkgconfig/mad.pc &lt;&lt; "EOF"
<literal>prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: mad
Description: MPEG audio decoder
Requires:
Version: &libmad-version;
Libs: -L${libdir} -lmad
Cflags: -I${includedir}</literal>
EOF</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>touch NEWS AUTHORS ChangeLog</command>: Prevent autoreconf from
returning an error.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>None</seg>
<seg>libmad.so</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libmad-lib">
<term><filename class="libraryfile">libmad.so</filename></term>
<listitem>
<para>
is a MPEG audio decoder library
</para>
<indexterm zone="libmad libmad-lib">
<primary sortas="c-libmad">libmad.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>