source: multimedia/libdriv/libmad.xml@ 3ff7901

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 3ff7901 was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 9 months ago

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...

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