[1aaf29e2] | 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;
|
---|
[2c9272e6] | 6 |
|
---|
[0aeb696] | 7 | <!-- Inserted as a reminder to do this. The mention of a test suite
|
---|
| 8 | is usually right before the root user installation commands. Please
|
---|
| 9 | delete these 12 (including one blank) lines after you are done.-->
|
---|
| 10 |
|
---|
| 11 | <!-- Use one of the two mentions below about a test suite,
|
---|
| 12 | delete the line that is not applicable. Of course, if the
|
---|
| 13 | test suite uses syntax other than "make check", revise the
|
---|
| 14 | line to reflect the actual syntax to run the test suite -->
|
---|
| 15 |
|
---|
| 16 | <!-- <para>This package does not come with a test suite.</para> -->
|
---|
| 17 | <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
---|
| 18 |
|
---|
[2c9272e6] | 19 | <!ENTITY libmikmod-download-http "http://mikmod.raphnet.net/files/libmikmod-&libmikmod-version;.tar.gz">
|
---|
[fb2e525] | 20 | <!ENTITY libmikmod-download-ftp "&gentoo-ftp-repo;/libmikmod-&libmikmod-version;.tar.gz">
|
---|
[06a5391] | 21 | <!ENTITY libmikmod-md5sum "705106da305e8de191549f1e7393185c">
|
---|
[069c7db] | 22 | <!ENTITY libmikmod-size "604 KB">
|
---|
[593d644] | 23 | <!ENTITY libmikmod-buildsize "9.9 MB">
|
---|
[069c7db] | 24 | <!ENTITY libmikmod-time "0.3 SBU">
|
---|
[48b7295] | 25 | ]>
|
---|
| 26 |
|
---|
[fd680fb] | 27 | <sect1 id="libmikmod" xreflabel="libmikmod-&libmikmod-version;">
|
---|
[1aaf29e2] | 28 | <?dbhtml filename="libmikmod.html"?>
|
---|
| 29 |
|
---|
| 30 | <sect1info>
|
---|
| 31 | <date>$Date$</date>
|
---|
| 32 | </sect1info>
|
---|
| 33 |
|
---|
| 34 | <title>Libmikmod-&libmikmod-version;</title>
|
---|
| 35 |
|
---|
| 36 | <indexterm zone="libmikmod">
|
---|
| 37 | <primary sortas="a-Libmikmod">Libmikmod</primary>
|
---|
| 38 | </indexterm>
|
---|
| 39 |
|
---|
| 40 | <sect2 role="package">
|
---|
| 41 | <title>Introduction to Libmikmod</title>
|
---|
| 42 |
|
---|
| 43 | <para><application>libmikmod</application> is a sound library capable of
|
---|
[50b692d] | 44 | playing audio samples as well as tracker modules. Supported module formats
|
---|
[1aaf29e2] | 45 | include MOD, S3M, XM, IT, MED, MTM and 669.</para>
|
---|
| 46 |
|
---|
| 47 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 48 | <itemizedlist spacing='compact'>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download (HTTP): <ulink url="&libmikmod-download-http;"/></para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download (FTP): <ulink url="&libmikmod-download-ftp;"/></para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download MD5 sum: &libmikmod-md5sum;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Download size: &libmikmod-size;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Estimated disk space required: &libmikmod-buildsize;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Estimated build time: &libmikmod-time;</para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 70 | <itemizedlist spacing='compact'>
|
---|
| 71 | <listitem>
|
---|
[50b692d] | 72 | <para>Recommended Patch: <ulink
|
---|
[1aaf29e2] | 73 | url="http://mikmod.raphnet.net/files/libmikmod-3.1.11-a.diff"/></para>
|
---|
| 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect3">Libmikmod Dependencies</bridgehead>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a747b3c] | 80 | <para role="optional"><xref linkend="alsa"/>,
|
---|
[50b692d] | 81 | <xref linkend="esound"/>,
|
---|
| 82 | <ulink url="http://www.perex.cz/~perex/ultra/">libGUS</ulink>,
|
---|
| 83 | <ulink url="http://osalp.sourceforge.net/">AFlib</ulink> and
|
---|
[1aaf29e2] | 84 | <ulink url="http://www.anime.net/~sam9407/">SAM9407 driver</ulink></para>
|
---|
| 85 |
|
---|
[0e2aa08] | 86 | <para condition="html" role="usernotes">User Notes:
|
---|
| 87 | <ulink url="&blfs-wiki;/libmikmod"/></para>
|
---|
| 88 |
|
---|
[1aaf29e2] | 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of Libmikmod</title>
|
---|
| 93 |
|
---|
| 94 | <para>Install <application>libmikmod</application> by running the
|
---|
| 95 | following commands:</para>
|
---|
| 96 |
|
---|
| 97 | <screen><userinput>patch -Np1 -i ../libmikmod-3.1.11-a.diff &&
|
---|
[069c7db] | 98 | sed -i -e "s/VERSION=10/VERSION=11/" \
|
---|
[2c9272e6] | 99 | -e "s/sys_asoundlib/alsa_asoundlib/" \
|
---|
| 100 | -e "s/snd_cards/snd_card_load/g" \
|
---|
| 101 | -e "s|sys/asoundlib.h|alsa/asoundlib.h|g" \
|
---|
[14db7cc] | 102 | -e "s/^LIBOBJS/#LIBOBJS/" \
|
---|
[2c9272e6] | 103 | configure.in &&
|
---|
| 104 | autoconf &&
|
---|
| 105 | ./configure --prefix=/usr &&
|
---|
[1aaf29e2] | 106 | make</userinput></screen>
|
---|
[069c7db] | 107 |
|
---|
[1aaf29e2] | 108 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[069c7db] | 109 |
|
---|
[1aaf29e2] | 110 | <screen role="root"><userinput>make install &&
|
---|
[593d644] | 111 | chmod 755 /usr/lib/libmikmod.so.2.0.4 &&
|
---|
| 112 | install -v -m644 -D docs/mikmod.html \
|
---|
[1aaf29e2] | 113 | /usr/share/doc/libmikmod-3.1.11/mikmod.html</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[50b692d] | 120 | <para><command>sed -i -e ...</command>: This increments the package micro
|
---|
[1aaf29e2] | 121 | version and also modifies the <application>ALSA</application> header search
|
---|
[50b692d] | 122 | routine so that the package properly discovers the
|
---|
| 123 | <application>ALSA</application> library. It also fixes a problem
|
---|
[1aaf29e2] | 124 | which makes <application>autoconf</application> fail.</para>
|
---|
| 125 |
|
---|
[50b692d] | 126 | <para><command>autoconf</command>: This generates a new
|
---|
[1aaf29e2] | 127 | <command>configure</command> script, required because of the changes to
|
---|
| 128 | <filename>configure.in</filename>.</para>
|
---|
| 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="content">
|
---|
| 133 | <title>Contents</title>
|
---|
| 134 |
|
---|
| 135 | <segmentedlist>
|
---|
| 136 | <segtitle>Installed Program</segtitle>
|
---|
| 137 | <segtitle>Installed Library</segtitle>
|
---|
| 138 | <segtitle>Installed Directory</segtitle>
|
---|
| 139 |
|
---|
| 140 | <seglistitem>
|
---|
| 141 | <seg>libmikmod-config</seg>
|
---|
[0e2aa08] | 142 | <seg>libmikmod.{so,a}</seg>
|
---|
[1aaf29e2] | 143 | <seg>/usr/share/doc/libmikmod-&libmikmod-version;</seg>
|
---|
| 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
| 146 |
|
---|
| 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
| 150 | <?dbhtml list-presentation="table"?>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="libmikmod-config">
|
---|
| 153 | <term><command>libmikmod-config</command></term>
|
---|
| 154 | <listitem>
|
---|
[50b692d] | 155 | <para>provides version information, compiler, and linker flags
|
---|
[1aaf29e2] | 156 | to programs that utilize <application>libmikmod</application>.</para>
|
---|
| 157 | <indexterm zone="libmikmod libmikmod-config">
|
---|
| 158 | <primary sortas="b-libmikmod-config">libmikmod-config</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="libmikmod-lib">
|
---|
[0e2aa08] | 164 | <term><filename class='libraryfile'>libmikmod.{so,a}</filename></term>
|
---|
[1aaf29e2] | 165 | <listitem>
|
---|
[50b692d] | 166 | <para>contains functions that are required to play various tracker module
|
---|
[1aaf29e2] | 167 | files.</para>
|
---|
| 168 | <indexterm zone="libmikmod libmikmod-lib">
|
---|
[0e2aa08] | 169 | <primary sortas="c-libmikmod">libmikmod.{so,a}</primary>
|
---|
[1aaf29e2] | 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | </variablelist>
|
---|
| 175 |
|
---|
| 176 | </sect2>
|
---|
| 177 |
|
---|
[ae2e4217] | 178 | </sect1>
|
---|