source: multimedia/libdriv/libmad.xml@ 6feca4d

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 6feca4d was 14891a90, checked in by Xi Ruoyao <xry111@…>, 12 months ago

treewide: More "User Notes" clean up

Remove links to pages w/o real contents.

  • Property mode set to 100644
File size: 4.9 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
[dc1a45e]33 &lfs113_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
[ab10474]79 </sect2>
80
81 <sect2 role="installation">
[115fbe4]82 <title>Installation of libmad</title>
[ab10474]83
[2eeb8695]84 <para>
85 Install <application>libmad</application> by running the
86 following commands:
87 </para>
[ab10474]88
[10030e39]89<screen><userinput>patch -Np1 -i ../libmad-&libmad-version;-fixes-1.patch &amp;&amp;
[2fb20a3]90sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac &amp;&amp;
[10030e39]91touch NEWS AUTHORS ChangeLog &amp;&amp;
92autoreconf -fi &amp;&amp;
93
[2b940c9]94./configure --prefix=/usr --disable-static &amp;&amp;
[98e781c]95make</userinput></screen>
96
[2eeb8695]97 <para>
98 This package does not come with a test suite.
99 </para>
[8a8e021]100
[2eeb8695]101 <para>
102 Now, as the <systemitem class="username">root</systemitem> user:
103 </para>
[98e781c]104
[a747b3c]105 <screen role="root"><userinput>make install</userinput></screen>
[2efa5eb4]106
[2eeb8695]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>
[bccbdaea]113
[2eeb8695]114 <para>
115 As the <systemitem class="username">root</systemitem> user:
116 </para>
[2efa5eb4]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>
[ab10474]131
[58ab7964]132 </sect2>
133
[542fcf4]134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
[10030e39]137 <para>
138 <command>touch NEWS AUTHORS ChangeLog</command>: Prevent autoreconf from
139 returning an error.
140 </para>
141
[2b940c9]142 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
143 href="../../xincludes/static-libraries.xml"/>
144
[542fcf4]145 </sect2>
146
[58ab7964]147 <sect2 role="content">
148 <title>Contents</title>
149
[ab10474]150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
[58ab7964]152 <segtitle>Installed Library</segtitle>
[ab10474]153 <segtitle>Installed Directories</segtitle>
154
155 <seglistitem>
156 <seg>None</seg>
[2b940c9]157 <seg>libmad.so</seg>
[8a8e021]158 <seg>None</seg>
[ab10474]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">
[4c24eb0a]168 <term><filename class="libraryfile">libmad.so</filename></term>
[ab10474]169 <listitem>
[2eeb8695]170 <para>
[4c24eb0a]171 is a MPEG audio decoder library
[2eeb8695]172 </para>
[ab10474]173 <indexterm zone="libmad libmad-lib">
[2b940c9]174 <primary sortas="c-libmad">libmad.so</primary>
[ab10474]175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 </variablelist>
180
181 </sect2>
[ef0e45e4]182
183</sect1>
Note: See TracBrowser for help on using the repository browser.