2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-11-10 14:46:18 +08:00
|
|
|
|
|
|
|
<!ENTITY libmikmod-download-http "http://mikmod.raphnet.net/files/libmikmod-&libmikmod-version;.tar.gz">
|
|
|
|
<!ENTITY libmikmod-download-ftp "ftp://ftp.raphnet.net/pub/libmikmod/libmikmod-&libmikmod-version;.tar.gz">
|
2005-02-14 23:12:36 +08:00
|
|
|
<!ENTITY libmikmod-md5sum "705106da305e8de191549f1e7393185c">
|
2005-04-22 10:27:56 +08:00
|
|
|
<!ENTITY libmikmod-size "604 KB">
|
|
|
|
<!ENTITY libmikmod-buildsize "9.5 MB">
|
|
|
|
<!ENTITY libmikmod-time "0.3 SBU">
|
2004-06-14 07:30:44 +08:00
|
|
|
]>
|
|
|
|
|
2003-11-15 14:39:18 +08:00
|
|
|
<sect1 id="libmikmod" xreflabel="libmikmod-&libmikmod-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2005-04-19 14:43:04 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2005-04-19 14:43:04 +08:00
|
|
|
|
2004-05-07 11:24:31 +08:00
|
|
|
<?dbhtml filename="libmikmod.html"?>
|
2003-11-15 14:39:18 +08:00
|
|
|
<title>libmikmod-&libmikmod-version;</title>
|
|
|
|
|
2005-04-22 10:27:56 +08:00
|
|
|
<indexterm zone="libmikmod">
|
|
|
|
<primary sortas="a-libmikmod">libmikmod</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2004-06-14 07:30:44 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>libmikmod</application></title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<application>libmikmod</application> is a sound library capable of
|
|
|
|
playing audio samples as well as tracker modules. Supported module
|
|
|
|
formats include <acronym>MOD</acronym>, <acronym>S3M</acronym>,
|
|
|
|
<acronym>XM</acronym>, <acronym>IT</acronym>, <acronym>MED</acronym>,
|
|
|
|
<acronym>MTM</acronym> and <acronym>669</acronym>.</para>
|
|
|
|
|
2005-04-19 14:43:04 +08:00
|
|
|
<sect3>
|
|
|
|
<title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem><para>Download (HTTP): <ulink url="&libmikmod-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP): <ulink url="&libmikmod-download-ftp;"/></para></listitem>
|
|
|
|
<listitem><para>Download MD5 sum: &libmikmod-md5sum;</para></listitem>
|
|
|
|
<listitem><para>Download size: &libmikmod-size;</para></listitem>
|
|
|
|
<listitem><para>Estimated disk space required: &libmikmod-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time: &libmikmod-time;</para></listitem>
|
|
|
|
</itemizedlist>
|
2004-06-14 07:30:44 +08:00
|
|
|
</sect3>
|
|
|
|
|
2005-04-19 14:43:04 +08:00
|
|
|
<sect3>
|
|
|
|
<title><application>libmikmod</application> dependencies</title>
|
|
|
|
|
|
|
|
<sect4>
|
|
|
|
<title>Optional</title>
|
2004-11-10 14:46:18 +08:00
|
|
|
<para><xref linkend="alsa"/>,
|
2005-04-19 14:43:04 +08:00
|
|
|
<xref linkend="esound"/>,
|
|
|
|
<ulink url="http://www.perex.cz/~perex/ultra/">libGUS</ulink>,
|
|
|
|
<ulink url="http://osalp.sourceforge.net/">AFlib</ulink> and
|
|
|
|
<ulink url="http://www.anime.net/~sam9407/">SAM9407 driver</ulink></para>
|
2004-11-10 14:46:18 +08:00
|
|
|
</sect4>
|
2004-06-14 07:30:44 +08:00
|
|
|
</sect3>
|
|
|
|
|
2005-04-22 10:27:56 +08:00
|
|
|
<sect3>
|
|
|
|
<title>Additional downloads</title>
|
|
|
|
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem><para>Recommended Patch: <ulink
|
|
|
|
url="http://mikmod.raphnet.net/files/libmikmod-3.1.11-a.diff"/></para></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</sect3>
|
|
|
|
|
2004-06-14 07:30:44 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>libmikmod</application></title>
|
|
|
|
|
|
|
|
<para>Install <application>libmikmod</application> by running the
|
|
|
|
following commands:</para>
|
|
|
|
|
2005-04-22 10:27:56 +08:00
|
|
|
<screen><userinput><command>patch -Np1 -i ../libmikmod-3.1.11-a.diff &&
|
|
|
|
sed -i -e "s/VERSION=10/VERSION=11/" \
|
2004-11-10 14:46:18 +08:00
|
|
|
-e "s/sys_asoundlib/alsa_asoundlib/" \
|
|
|
|
-e "s/snd_cards/snd_card_load/g" \
|
|
|
|
-e "s|sys/asoundlib.h|alsa/asoundlib.h|g" \
|
2005-04-19 14:43:04 +08:00
|
|
|
-e "s/^LIBOBJS/#LIBOBJS/" \
|
2004-11-10 14:46:18 +08:00
|
|
|
configure.in &&
|
|
|
|
autoconf &&
|
|
|
|
./configure --prefix=/usr &&
|
2005-04-22 10:27:56 +08:00
|
|
|
make</command></userinput></screen>
|
|
|
|
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>make install &&
|
2004-08-12 07:18:18 +08:00
|
|
|
chmod 755 /usr/lib/libmikmod.so.2.0.4</command></userinput></screen>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2004-11-10 15:13:43 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
|
|
|
<para><command>sed -i -e ...</command>: This increments the package micro
|
|
|
|
version and also modifies the <application>ALSA</application> header search
|
|
|
|
routine so that the package properly discovers the
|
2005-04-19 14:43:04 +08:00
|
|
|
<application>ALSA</application> library. It also fixes a problem
|
|
|
|
which makes <application>autoconf</application> fail.</para>
|
2004-11-10 15:13:43 +08:00
|
|
|
|
|
|
|
<para><command>autoconf</command>: This generates a new
|
|
|
|
<command>configure</command> script, required because of the changes to
|
|
|
|
<filename>configure.in</filename>.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2004-06-14 07:30:44 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2005-04-22 10:27:56 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
2005-04-22 14:23:56 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-04-22 10:27:56 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>libmikmod-config</seg>
|
|
|
|
<seg>libmikmod.[so,a]</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
|
|
|
<varlistentry id="libmikmod-config">
|
|
|
|
<term><command>libmikmod-config</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>provides version information, compiler, and linker flags
|
2005-04-22 14:23:56 +08:00
|
|
|
to programs that utilize <application>libmikmod</application>.</para>
|
2005-04-22 10:27:56 +08:00
|
|
|
<indexterm zone="libmikmod libmikmod-config">
|
|
|
|
<primary sortas="b-libmikmod-config">libmikmod-config</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libmikmod-lib">
|
|
|
|
<term><filename class='libraryfile'>libmikmod.[so,a]</filename></term>
|
|
|
|
<listitem>
|
2005-04-22 14:23:56 +08:00
|
|
|
<para>contains functions that are required to play various tracker module
|
|
|
|
files.</para>
|
2005-04-22 10:27:56 +08:00
|
|
|
<indexterm zone="libmikmod libmikmod-lib">
|
|
|
|
<primary sortas="c-libmikmod">libmikmod.[so,a]</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
|
|
|
</sect2>
|
2003-11-15 14:39:18 +08:00
|
|
|
</sect1>
|