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