source: multimedia/libdriv/libmad.xml@ 8dfc5c3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8dfc5c3 was 8dfc5c3, checked in by Krejzi <krejzi@…>, 7 years ago

Fix some URLs

  • Switch to https:// scheme where possible to avoid redirects
  • Unify all kernel.org, Sourceforge and GNU URLs
  • Fix python and perl module URLs to be consistent
  • Fix github provided URLs to properly download tarballs instead of vFOO.tar.gz
  • Use upstream locations for some packages or better/shorter URLs if available
  • Add https:// URLs for gnupg packages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19022 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • 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 "ftp://ftp.mars.org/pub/mpeg/libmad-&libmad-version;.tar.gz">
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 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libmad-&libmad-version;</title>
24
25 <indexterm zone="libmad">
26 <primary sortas="a-Libmad">Libmad</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libmad</title>
31
32 <para><application>libmad</application> is a high-quality
33 MPEG audio decoder capable of 24-bit output.</para>
34
35 &lfs80_checked;
36
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
59 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
60 <itemizedlist spacing='compact'>
61 <listitem>
62 <para>Required patch: <ulink
63 url="&patch-root;/libmad-&libmad-version;-fixes-1.patch"/></para>
64 </listitem>
65 </itemizedlist>
66
67 <para condition="html" role="usernotes">User Notes:
68 <ulink url="&blfs-wiki;/libmad"/></para>
69
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of libmad</title>
74
75 <para>Install <application>libmad</application> by running the
76 following commands:</para>
77
78<screen><userinput>patch -Np1 -i ../libmad-&libmad-version;-fixes-1.patch &amp;&amp;
79sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &amp;&amp;
80touch NEWS AUTHORS ChangeLog &amp;&amp;
81autoreconf -fi &amp;&amp;
82
83./configure --prefix=/usr --disable-static &amp;&amp;
84make</userinput></screen>
85
86 <para>This package does not come with a test suite.</para>
87
88 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
89
90 <screen role="root"><userinput>make install</userinput></screen>
91
92 <para>Some packages check for the <application>pkg-config</application> file
93 for <application>libmad</application>. This file is particularly needed so
94 that <application>Cdrdao</application> can recognize the installed
95 <application>libmad</application>.</para>
96
97 <para>As the <systemitem class="username">root</systemitem> user:</para>
98
99<screen role="root"><userinput>cat &gt; /usr/lib/pkgconfig/mad.pc &lt;&lt; "EOF"
100<literal>prefix=/usr
101exec_prefix=${prefix}
102libdir=${exec_prefix}/lib
103includedir=${prefix}/include
104
105Name: mad
106Description: MPEG audio decoder
107Requires:
108Version: &libmad-version;
109Libs: -L${libdir} -lmad
110Cflags: -I${includedir}</literal>
111EOF</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <para>
119 <command>touch NEWS AUTHORS ChangeLog</command>: Prevent autoreconf from
120 returning an error.
121 </para>
122
123 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
124 href="../../xincludes/static-libraries.xml"/>
125
126 </sect2>
127
128 <sect2 role="content">
129 <title>Contents</title>
130
131 <segmentedlist>
132 <segtitle>Installed Programs</segtitle>
133 <segtitle>Installed Library</segtitle>
134 <segtitle>Installed Directories</segtitle>
135
136 <seglistitem>
137 <seg>None</seg>
138 <seg>libmad.so</seg>
139 <seg>None</seg>
140 </seglistitem>
141 </segmentedlist>
142
143 <variablelist>
144 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
145 <?dbfo list-presentation="list"?>
146 <?dbhtml list-presentation="table"?>
147
148 <varlistentry id="libmad-lib">
149 <term><filename class='libraryfile'>libmad.so</filename></term>
150 <listitem>
151 <para>is a MPEG audio decoder library.</para>
152 <indexterm zone="libmad libmad-lib">
153 <primary sortas="c-libmad">libmad.so</primary>
154 </indexterm>
155 </listitem>
156 </varlistentry>
157
158 </variablelist>
159
160 </sect2>
161
162</sect1>
Note: See TracBrowser for help on using the repository browser.