[96570d92] | 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" [
|
---|
[8d8631b5] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[4774914f] | 6 |
|
---|
[bcd2922] | 7 | <!ENTITY mpg123-download-http "&sourceforge-repo;/mpg123/mpg123-&mpg123-version;.tar.bz2">
|
---|
[4e88613] | 8 | <!ENTITY mpg123-download-ftp " ">
|
---|
[696c217] | 9 | <!ENTITY mpg123-md5sum "0703bf3b104910ba41c658a4d1080c9b">
|
---|
[03d30cf] | 10 | <!ENTITY mpg123-size "784 KB">
|
---|
[696c217] | 11 | <!ENTITY mpg123-buildsize "13 MB">
|
---|
[a079a897] | 12 | <!ENTITY mpg123-time "0.2 SBU">
|
---|
[8d8631b5] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="mpg123" xreflabel="mpg123-&mpg123-version;">
|
---|
[96570d92] | 16 | <?dbhtml filename="mpg123.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Mpg123-&mpg123-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="mpg123">
|
---|
| 26 | <primary sortas="a-Mpg123">Mpg123</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Mpg123</title>
|
---|
| 31 |
|
---|
[4067d492] | 32 | <para>
|
---|
[bcd2922] | 33 | The <application>Mpg123</application> package contains a console-based MP3
|
---|
[4067d492] | 34 | player. It claims to be the fastest MP3 decoder for Unix.
|
---|
| 35 | </para>
|
---|
[96570d92] | 36 |
|
---|
[6a9e822] | 37 | &lfs73_checked;
|
---|
[eadb367] | 38 |
|
---|
[96570d92] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[bcd2922] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&mpg123-download-http;"/>
|
---|
| 44 | </para>
|
---|
[96570d92] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[bcd2922] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&mpg123-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[96570d92] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[bcd2922] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &mpg123-md5sum;
|
---|
| 54 | </para>
|
---|
[96570d92] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[bcd2922] | 57 | <para>
|
---|
| 58 | Download size: &mpg123-size;
|
---|
| 59 | </para>
|
---|
[96570d92] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[bcd2922] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &mpg123-buildsize;
|
---|
| 64 | </para>
|
---|
[96570d92] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[bcd2922] | 67 | <para>
|
---|
| 68 | Estimated build time: &mpg123-time;
|
---|
| 69 | </para>
|
---|
[96570d92] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Mpg123 Dependencies</bridgehead>
|
---|
| 74 |
|
---|
[4067d492] | 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para role="recommended">
|
---|
[bcd2922] | 77 | <xref linkend="alsa-lib"/>
|
---|
[4067d492] | 78 | </para>
|
---|
| 79 |
|
---|
[b571b5e] | 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 81 | <para role="optional">
|
---|
[4067d492] | 82 | <xref linkend="esound"/>,
|
---|
[5b38e37] | 83 | <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink>,
|
---|
| 84 | <xref linkend="pulseaudio"/>,
|
---|
[4067d492] | 85 | <ulink url="http://jackaudio.org">JACK</ulink>,
|
---|
[bcd2922] | 86 | <ulink url="http://www.portaudio.com">PortAudio</ulink> and
|
---|
[4067d492] | 87 | <xref linkend="sdl"/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <para condition="html" role="usernotes">
|
---|
| 91 | User Notes: <ulink url="&blfs-wiki;/mpg123"/>
|
---|
| 92 | </para>
|
---|
[96570d92] | 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of Mpg123</title>
|
---|
| 97 |
|
---|
[4067d492] | 98 | <para>
|
---|
[bcd2922] | 99 | Install <application>Mpg123</application> by running the following
|
---|
[4067d492] | 100 | commands:
|
---|
| 101 | </para>
|
---|
[96570d92] | 102 |
|
---|
[696c217] | 103 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[e5dd69a0] | 104 | make</userinput></screen>
|
---|
[96570d92] | 105 |
|
---|
[bcd2922] | 106 | <para>
|
---|
| 107 | This package does not come with a test suite.
|
---|
| 108 | </para>
|
---|
[42c15ad0] | 109 |
|
---|
[4067d492] | 110 | <para>
|
---|
| 111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 112 | </para>
|
---|
[96570d92] | 113 |
|
---|
[e5dd69a0] | 114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[5b38e37] | 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="commands">
|
---|
| 119 | <title>Command Explanations</title>
|
---|
| 120 |
|
---|
| 121 | <para>
|
---|
| 122 | <parameter>--with-module-suffix=.so</parameter>: This switch tells
|
---|
| 123 | <command>mpg123</command> to load modules with
|
---|
| 124 | <filename class="extension">.so</filename> extension. Useful if you
|
---|
| 125 | don't want to keep <filename class="extension">.la</filename> files.
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
[96570d92] | 128 | </sect2>
|
---|
| 129 |
|
---|
| 130 | <sect2 role="content">
|
---|
| 131 | <title>Contents</title>
|
---|
| 132 |
|
---|
| 133 | <segmentedlist>
|
---|
[bcd2922] | 134 | <segtitle>Installed Program</segtitle>
|
---|
[4591404] | 135 | <segtitle>Installed Library</segtitle>
|
---|
[bcd2922] | 136 | <segtitle>Installed Directory</segtitle>
|
---|
[96570d92] | 137 |
|
---|
| 138 | <seglistitem>
|
---|
[bcd2922] | 139 | <seg>
|
---|
| 140 | mpg123
|
---|
| 141 | </seg>
|
---|
[4067d492] | 142 | <seg>
|
---|
[4591404] | 143 | libmpg123.so
|
---|
[4067d492] | 144 | </seg>
|
---|
[bcd2922] | 145 | <seg>
|
---|
| 146 | /usr/lib/mpg123
|
---|
| 147 | </seg>
|
---|
[96570d92] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="mpg123-prog">
|
---|
| 157 | <term><command>mpg123</command></term>
|
---|
| 158 | <listitem>
|
---|
[bcd2922] | 159 | <para>
|
---|
| 160 | is used for playing MP3 files via the console.
|
---|
| 161 | </para>
|
---|
[96570d92] | 162 | <indexterm zone="mpg123 mpg123-prog">
|
---|
| 163 | <primary sortas="b-mpg123">mpg123</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
[4067d492] | 168 | <varlistentry id="libmpg123">
|
---|
| 169 | <term><filename class="libraryfile">libmpg123.so</filename></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>
|
---|
[bcd2922] | 172 | contains the <application>Mpg123</application> API functions.
|
---|
[4067d492] | 173 | </para>
|
---|
| 174 | <indexterm zone="mpg123 libmpg123">
|
---|
| 175 | <primary sortas="c-libmpg123">libmpg123.so</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
[bcd2922] | 179 |
|
---|
[96570d92] | 180 | </variablelist>
|
---|
[bcd2922] | 181 |
|
---|
[96570d92] | 182 | </sect2>
|
---|
[bcd2922] | 183 |
|
---|
[f45b1953] | 184 | </sect1>
|
---|