source: multimedia/libdriv/libmad.xml@ 9dfe7f2

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 9dfe7f2 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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