r3143 - in trunk: BOOK BOOK/introduction/welcome BOOK/multimedia/libdriv BOOK/multimedia/videoutils patches

randy at linuxfromscratch.org randy at linuxfromscratch.org
Fri Dec 24 17:25:18 PST 2004


Author: randy
Date: 2004-12-24 18:25:17 -0700 (Fri, 24 Dec 2004)
New Revision: 3143

Added:
   trunk/patches/MPlayer-1.0pre6-kernel_2.6-1.patch
Removed:
   trunk/patches/MPlayer-1.0pre5try2-kernel_2.6-1.patch
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/libmpeg3.xml
   trunk/BOOK/multimedia/videoutils/mplayer.xml
Log:
Updated to MPlayer-1.0pre6

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-12-25 00:26:52 UTC (rev 3142)
+++ trunk/BOOK/general.ent	2004-12-25 01:25:17 UTC (rev 3143)
@@ -1,8 +1,8 @@
-<!ENTITY day          "22">
+<!ENTITY day          "24">
 <!ENTITY month        "12">
 <!ENTITY year         "2004">
 <!ENTITY version      "svn-&year;&month;&day;">
-<!ENTITY releasedate  "December &day;nd, &year;">
+<!ENTITY releasedate  "December &day;th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "cvs">                  <!-- cvs|[release #] -->
 <!ENTITY lfs-version  "stable">               <!-- stable|testing|unstable] -->
@@ -435,7 +435,7 @@
 <!-- Chapter 39 --> 
 <!ENTITY ffmpeg-version               "0.4.9-pre1">
 <!ENTITY avifile-version              "0.7.41">  
-<!ENTITY mplayer-version              "1.0pre5"> 
+<!ENTITY mplayer-version              "1.0pre6"> 
 <!ENTITY xine-ui-version              "0.99.2">  
 <!ENTITY transcode-version            "0.6.12"> 
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-12-25 00:26:52 UTC (rev 3142)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-12-25 01:25:17 UTC (rev 3143)
@@ -22,6 +22,9 @@
 
 <itemizedlist>
 
+<listitem><para>December 24th, 2004 [randy]: Updated to 
+MPlayer-1.0pre6</para></listitem>
+
 <listitem><para>December 22nd, 2004 [randy]: Updated to Gnumeric-1.4.1, 
 Dillo-0.8.3 and Avifile-0.7.41.</para></listitem>
 

Modified: trunk/BOOK/multimedia/libdriv/libmpeg3.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/libmpeg3.xml	2004-12-25 00:26:52 UTC (rev 3142)
+++ trunk/BOOK/multimedia/libdriv/libmpeg3.xml	2004-12-25 01:25:17 UTC (rev 3143)
@@ -2,7 +2,7 @@
    "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
- 
+
   <!ENTITY libmpeg3-download-http "http://prdownloads.sourceforge.net/heroines/libmpeg3-&libmpeg3-version;-src.tar.bz2">
   <!ENTITY libmpeg3-download-ftp  " ">
   <!ENTITY libmpeg3-size          "612 KB">
@@ -16,7 +16,7 @@
 <date>$Date$</date>
 </sect1info>
 <?dbhtml filename="libmpeg3.html"?>
-<title>libmpeg3-&libmpeg3-version;</title>
+<title><application>libmpeg3</application>-&libmpeg3-version;</title>
 
 <sect2>
 <title>Introduction to <application>libmpeg3</application></title>
@@ -26,11 +26,15 @@
 
 <sect3><title>Package information</title>
 <itemizedlist spacing='compact'>
-<listitem><para>Download (HTTP): <ulink url="&libmpeg3-download-http;"/></para></listitem>
-<listitem><para>Download (FTP): <ulink url="&libmpeg3-download-ftp;"/></para></listitem>
+<listitem><para>Download (HTTP): 
+<ulink url="&libmpeg3-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): 
+<ulink url="&libmpeg3-download-ftp;"/></para></listitem>
 <listitem><para>Download size: &libmpeg3-size;</para></listitem>
-<listitem><para>Estimated Disk space required: &libmpeg3-buildsize;</para></listitem>
-<listitem><para>Estimated build time: &libmpeg3-time;</para></listitem></itemizedlist>
+<listitem><para>Estimated disk space required: 
+&libmpeg3-buildsize;</para></listitem>
+<listitem><para>Estimated build time: 
+&libmpeg3-time;</para></listitem></itemizedlist>
 </sect3>
 
 <sect3><title>Additional downloads</title>
@@ -43,7 +47,8 @@
 
 <sect3><title><application>libmpeg3</application> dependencies</title>
 <sect4><title>Required</title>
-<para><xref linkend="NASM"/></para></sect4>
+<para><xref linkend="NASM"/></para>
+</sect4>
 </sect3>
 
 </sect2>

Modified: trunk/BOOK/multimedia/videoutils/mplayer.xml
===================================================================
--- trunk/BOOK/multimedia/videoutils/mplayer.xml	2004-12-25 00:26:52 UTC (rev 3142)
+++ trunk/BOOK/multimedia/videoutils/mplayer.xml	2004-12-25 01:25:17 UTC (rev 3143)
@@ -5,9 +5,9 @@
 
   <!ENTITY mplayer-download-http "http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.bz2">
   <!ENTITY mplayer-download-ftp  "ftp://ftp1.mplayerhq.hu/MPlayer/releases/MPlayer-&mplayer-version;.tar.bz2">
-  <!ENTITY mplayer-size          "5.1 MB">
-  <!ENTITY mplayer-buildsize     "74 MB (additional 19 MB for CODECs)">
-  <!ENTITY mplayer-time          "1.80 SBU">
+  <!ENTITY mplayer-size          "5.6 MB">
+  <!ENTITY mplayer-buildsize     "82 MB (additional 22 MB for essential CODECs)">
+  <!ENTITY mplayer-time          "2.18 SBU">
   <!ENTITY mplayer-default-codec "essential-20041107.tar.bz2">
   <!ENTITY mplayer-default-skin  "Blue-1.4.tar.bz2">
   <!ENTITY mplayer-default-font  "font-arial-iso-8859-1">
@@ -19,7 +19,7 @@
 <date>$Date$</date>
 </sect1info>
 <?dbhtml filename="mplayer.html"?>
-<title>MPlayer-&mplayer-version;</title>
+<title><application>MPlayer</application>-&mplayer-version;</title>
 
 <sect2>
 <title>Introduction to <application>MPlayer</application></title>
@@ -32,18 +32,23 @@
 <application>MPlayer</application> can play video files without an 
 <application>X</application> window system installed.</para>
 
-<para>For a full list of file formats, <acronym>CODEC</acronym>s and 
+<para>For <application>MPlayer</application> general information and available 
+features, including a full list of file formats, <acronym>CODEC</acronym>s and 
 output devices supported by <application>MPlayer</application>, visit the 
-<ulink url="http://www.mplayerhq.hu/DOCS/HTML/en/features.html">
+<ulink url="http://www1.mplayerhq.hu/homepage/design7/info.html">
 <application>MPlayer</application> web site</ulink>.</para>
 
 <sect3><title>Package information</title>
 <itemizedlist spacing='compact'>
-<listitem><para>Download (HTTP): <ulink url="&mplayer-download-http;"/></para></listitem>
-<listitem><para>Download (FTP): <ulink url="&mplayer-download-ftp;"/></para></listitem>
+<listitem><para>Download (HTTP): 
+<ulink url="&mplayer-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): 
+<ulink url="&mplayer-download-ftp;"/></para></listitem>
 <listitem><para>Download size: &mplayer-size;</para></listitem>
-<listitem><para>Estimated Disk space required: &mplayer-buildsize;</para></listitem>
-<listitem><para>Estimated build time: &mplayer-time;</para></listitem></itemizedlist>
+<listitem><para>Estimated disk space required: 
+&mplayer-buildsize;</para></listitem>
+<listitem><para>Estimated build time: 
+&mplayer-time;</para></listitem></itemizedlist>
 </sect3>
 
 <sect3><title>Additional downloads</title>
@@ -56,8 +61,8 @@
 <para><emphasis><acronym>CODEC</acronym>s</emphasis></para>
 <itemizedlist spacing='compact'>
 <listitem><para>Proprietary <acronym>CODEC</acronym>s: <ulink 
-url="http://www.mplayerhq.hu/MPlayer/releases/codecs/&mplayer-default-codec;"/></para>
-</listitem>
+url="http://www.mplayerhq.hu/MPlayer/releases/codecs/&mplayer-default-codec;"/>
+</para></listitem>
 <listitem><para>Additional <acronym>CODEC</acronym>s: <ulink 
 url="http://www.mplayerhq.hu/MPlayer/releases/codecs/"/></para>
 </listitem></itemizedlist>
@@ -85,52 +90,64 @@
 </sect3>
 
 <sect3><title><application>MPlayer</application> dependencies</title>
-<sect4><title>Optional</title>
-<para>
-X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
-<xref linkend="libpng"/>,
-<xref linkend="libjpeg"/>,
-<xref linkend="GTK"/>,
-<ulink url="http://www.directfb.org/">DirectFB</ulink>,
-<ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
-<xref linkend="freetype2"/>,
-<xref linkend="fontconfig"/>,
-<xref linkend="libungif"/> or <xref linkend="giflib"/>,
-<xref linkend="libogg"/>
-<xref linkend="libvorbis"/>,
-<xref linkend="aalib"/>,
-<xref linkend="sdl"/>,
-<xref linkend="xvid"/>,
-<xref linkend="arts"/>,
-<xref linkend="alsa"/>,
-<xref linkend="esound"/>,
-<xref linkend="LZO"/>,
-<xref linkend="libmad"/>,
-<xref linkend="CDParanoia"/>,
-<xref linkend="libdv"/>,
-<xref linkend="libdvdread"/>,
-<xref linkend="nas"/>,
-<xref linkend="samba3"/>,
-<xref linkend="lame"/>,
-<xref linkend="xmms"/>,
-<xref linkend="flac"/>,
-<xref linkend="libfame"/>,
-<ulink url="http://www.theora.org/">Theora</ulink>,
-<ulink url="http://prdownloads.sourceforge.net/zapping/mp1e-1.9.3.tar.bz2">MP1E</ulink>,
-<ulink url="http://faac.sourceforge.net/">FAAD2</ulink>,
-<ulink url="http://www.ggi-project.org/">GGI</ulink>,
-<ulink url="http://fribidi.sourceforge.net/">FriBidi</ulink>,
-<ulink url="http://www.unrarlib.org/">unrarlib</ulink>,
-<ulink url="http://www.lirc.org/">LIRC</ulink>,
-<ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink>, 
+<sect4><title>Optional input drivers and libraries</title>
+<para><xref linkend="CDParanoia"/>, 
+<xref linkend="libdv"/>, 
+<xref linkend="libdvdread"/>, 
+<xref linkend="samba3"/>, 
+<ulink url="http://www.live.com/mplayer/">LIVE.COM Streaming Media</ulink>, 
+<ulink url="http://www.matroska.org/downloads/linux.html">libmatroska</ulink> 
+and <ulink url="http://www.metzlerbros.org/dvb/">DVB</ulink></para>
+</sect4>
+
+<sect4><title>Optional audio output drivers and libraries</title>
+<para><xref linkend="alsa"/>, 
+<xref linkend="arts"/>, 
+<xref linkend="esound"/>, 
+<xref linkend="nas"/>, 
+<xref linkend="sdl"/> (also used for video output), 
+<xref linkend="xmms"/>, 
+<ulink url="http://0pointer.de/lennart/projects/polypaudio/">polypaudio</ulink>, 
+<ulink url="http://bio2jack.sourceforge.net/">bio2jack</ulink> (requires 
+<ulink url="http://jackit.sourceforge.net/">JACK</ulink>)</para>
+</sect4>
+
+<sect4><title>Optional video output drivers and libraries</title>
+<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), 
+<xref linkend="libpng"/>, 
+<xref linkend="libjpeg"/>, 
+<xref linkend="libungif"/> or <xref linkend="giflib"/>, 
+<xref linkend="GTK"/>, 
+<xref linkend="freetype2"/>, 
+<xref linkend="fontconfig"/>, 
+<xref linkend="aalib"/>, 
+<ulink url="http://www.directfb.org/">DirectFB</ulink>, 
+<ulink url="http://www.svgalib.org/">SVGAlib</ulink>, 
+<ulink url="http://www.ggi-project.org/">GGI</ulink>, 
 <ulink url="http://sam.zoy.org/projects/libcaca/">libcaca</ulink>, 
-<ulink url="http://www.matroska.org/downloads/linux.html">libmatroska</ulink>, 
-<ulink url="http://www.live.com/mplayer/">LIVE.COM Streaming Media</ulink>, 
-<ulink url="http://bio2jack.sourceforge.net/">bio2jack</ulink>, 
+<ulink url="http://www.ladspa.org/">LADSPA</ulink>, 
 <ulink url="http://dxr2.sourceforge.net/">Dxr2</ulink>, 
-<ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink> and 
-<ulink url="http://trific.ath.cx/software/enca/">Enca</ulink>
-</para></sect4>
+<ulink url="http://dxr3.sourceforge.net/">libdxr3</ulink>, 
+<ulink url="http://prdownloads.sourceforge.net/zapping/mp1e-1.9.3.tar.bz2">MP1E</ulink>, 
+<ulink url="http://freedesktop.org/Software/FriBidi">FriBidi</ulink> and 
+<ulink url="http://trific.ath.cx/software/enca/">Enca</ulink></para>
+</sect4>
+
+<sect4><title>Optional <acronym>CODEC</acronym>s</title>
+<para><xref linkend="libvorbis"/>, 
+<xref linkend="xvid"/>, 
+<xref linkend="LZO"/>, 
+<xref linkend="libmad"/>, 
+<xref linkend="lame"/>, 
+<xref linkend="libfame"/>, 
+<ulink url="http://www.theora.org/">Theora</ulink>, 
+<ulink url="http://www.xiph.org/ogg/vorbis/index.html">Tremor</ulink>, 
+<ulink url="http://www.audiocoding.com/modules/mydownloads/">FAAD2</ulink>, 
+<ulink url="http://www.divx.com/divx/linux/">DivX4Linux</ulink>, 
+<ulink url="http://users.tpg.com.au/adslblvi/#tooLAME">tooLAME</ulink>, 
+<ulink url="http://www.dolda2000.cjb.net/~fredrik/lirccd/">lirccd</ulink> 
+and <ulink url="http://www.lirc.org/">LIRC</ulink></para>
+</sect4>
 </sect3>
 
 </sect2>
@@ -149,12 +166,12 @@
 <acronym>CODEC</acronym> filenames, if necessary):</para>
 
 <screen><userinput><command>install -d -m755 /usr/lib/mplayer/codecs &&
-tar xjfv ../&mplayer-default-codec; \
+tar xjvf ../&mplayer-default-codec; \
     -C /usr/lib/mplayer/codecs --strip-path=1 &&
 chown -R root:root /usr/lib/mplayer/codecs</command></userinput></screen>
 
-<para>If you installed any <acronym>CODEC</acronym>s, ensure you add
-<parameter>--with-codecsdir=/usr/lib/mplayer/codecs</parameter>
+<para>If you installed any <acronym>CODEC</acronym>s, ensure you add 
+<option>--with-codecsdir=/usr/lib/mplayer/codecs</option> 
 to the <command>configure</command> script.</para>
 </sect3>
 
@@ -163,15 +180,16 @@
 
 <para>To enable building the <acronym>GUI</acronym> version of
 <application>MPlayer</application> (requires <xref linkend="GTK"/>), add 
-<parameter>--enable-gui</parameter> to the <command>configure</command> 
+<option>--enable-gui</option> to the <command>configure</command> 
 script. You'll also need to extract at least one skin. Extract the desired 
-skin to the default location:</para>
+skin and create the default location:</para>
 
-<screen><userinput><command>install -d -m755 /usr/share/mplayer/Skin &&
+<screen><userinput><command>install -v -d -m755 /usr/share/mplayer/Skin &&
 tar xjvf ../&mplayer-default-skin; \
     -C /usr/share/mplayer/Skin &&
-chown -R root:root /usr/share/mplayer/Skin/Blue &&
-ln -sf Blue /usr/share/mplayer/Skin/default</command></userinput></screen>
+chown -v -R root:root /usr/share/mplayer/Skin/Blue &&
+chmod -v 0755 /usr/share/mplayer/Skin/Blue{,/icons} &&
+ln -sfv Blue /usr/share/mplayer/Skin/default</command></userinput></screen>
 </sect3>
 
 <sect3>
@@ -179,7 +197,7 @@
 (optional)</title>
 
 <para>To enable <acronym>OSD</acronym> (On Screen Display) and subtitles 
-support, add <parameter>--enable-menu</parameter> to the 
+support, add <option>--enable-menu</option> to the 
 <command>configure</command> script. You'll also need to set up at least one 
 font (see font installation instructions a little later).</para>
 </sect3>
@@ -199,16 +217,32 @@
 make &&
 make install &&
 install -d -m755 /usr/share/doc/mplayer &&
-cp -R DOCS/* /usr/share/doc/mplayer &&
-chown -R root:root /usr/share/doc/mplayer</command></userinput></screen>
+cp -R DOCS/* /usr/share/doc/mplayer</command></userinput></screen>
 
+<para><application>MPlayer</application> can build a shared post-processing 
+library which other packages can link to. Doing this means that 
+<application>MPlayer</application> must also link dynamically to this library 
+instead of the default statically linked method. If you desire to build the 
+shared library, add <option>--enable-shared-pp</option> to the 
+<command>configure</command> script, then execute the following command after 
+the commands above:</para>
+
+<screen><userinput><command>make -C libavcodec/libpostproc install</command></userinput></screen>
+
 <para>You will need <filename>codecs.conf</filename> only if you want to
 change its properties, as the main binary contains an internal copy of
 it. Ensure any changes you make to <filename>codecs.conf</filename> achieve 
 the desired results, as incorrect entries in this file have been known to
-cause errors. If necessary, create the file using the following command.</para>
+cause errors and render the player unusable. If necessary, create the file 
+using the following command.</para>
 
-<screen><userinput><command>cp etc/codecs.conf /etc/mplayer</command></userinput></screen>
+<screen><userinput><command>install -m644 etc/codecs.conf /etc/mplayer</command></userinput></screen>
+
+<para>You may also want to copy all the default configuration files to
+<filename class='directory'>/etc/mplayer</filename> for future reference or 
+more customization ability.</para>
+
+<screen><userinput><command>install -m644 etc/*.conf /etc/mplayer</command></userinput></screen>
 </sect3>
 
 <sect3>
@@ -250,12 +284,18 @@
 <para>If you want <acronym>DVD</acronym> playback with
 <application>MPlayer</application>, you need to ensure a link exists 
 from your <acronym>DVD</acronym> drive to <filename>/dev/dvd</filename>. If
-necessary, create the link using the following command:</para>
+necessary, create the link using the following commands:</para>
 
-<screen><userinput><command>ln -s /dev/<replaceable>[dvd drive]</replaceable> /dev/dvd</command></userinput></screen>
+<screen><userinput><command>cat >> /etc/udev/rules.d/24-dvd.rules << "EOF"</command>
+# Create a /dev/dvd symlink 
+ 
+KERNEL="<replaceable>[dvd drive]</replaceable>", SYMLINK="dvd"
+ 
+<command>EOF
+udevstart</command></userinput></screen>
 
 <para>Replace <replaceable>[dvd drive]</replaceable> with whatever
-device is appropriate, for example <filename>/dev/hdc</filename>. If
+device is appropriate, for example <filename>hdc</filename>. If
 you don't know which device to choose, type:</para>
 
 <screen><userinput><command>dmesg | grep DVD</command></userinput></screen>
@@ -264,26 +304,35 @@
 
 <screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
 ATAPI CD/DVD-ROM drive</userinput></screen>
-
 </sect3>
 
 </sect2>
 
 <sect2>
-<title>Configuring MPlayer</title>
+<title>Configuring <application>MPlayer</application></title>
 
 <sect3><title>Config files</title>
 <para><filename>/etc/mplayer/*</filename>, 
 <filename>~/.mplayer/*</filename></para>
 </sect3>
 
+<sect3><title>Configuration information</title>
+<para>Typically, there's no configuration required for the system-wide files 
+in <filename class='directory'>/etc/mplayer</filename> (in fact, this 
+directory is empty unless you copied the default files as mentioned above). 
+Configuration can be accomplished by choosing the configuration button located 
+on the <application>MPlayer</application> <acronym>GUI</acronym>. Any 
+configuration changes made here will be copied to the user's 
+<filename>~/.mplayer</filename> directory.</para>
+</sect3>
+
 </sect2>
 
 <sect2>
 <title>Contents</title>
 
 <para>The <application>MPlayer</application> package contains 
-<command>mplayer</command>,
+<command>mplayer</command>, 
 <command>gmplayer</command> and 
 <command>mencoder</command>.</para>
 
@@ -311,8 +360,9 @@
 </sect3>
 
 <sect3><title>gmplayer</title>
-<para><command>gmplayer</command> is <application>MPlayer</application> with a 
-graphical user interface.</para></sect3>
+<para><command>gmplayer</command> is a symlink to 
+<command>mplayer</command> which brings up the graphical user 
+interface component of <application>MPlayer</application>.</para></sect3>
 
 <sect3><title>mencoder</title>
 <para><command>mencoder</command> is used to encode any

Deleted: trunk/patches/MPlayer-1.0pre5try2-kernel_2.6-1.patch
===================================================================
--- trunk/patches/MPlayer-1.0pre5try2-kernel_2.6-1.patch	2004-12-25 00:26:52 UTC (rev 3142)
+++ trunk/patches/MPlayer-1.0pre5try2-kernel_2.6-1.patch	2004-12-25 01:25:17 UTC (rev 3143)
@@ -1,23 +0,0 @@
-Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
-Date: 2004-04-29
-Initial Package Version: 1.0pre4
-Origin: Jim Gifford
-Upstream Status: Sent
-Description: Fixes Compile Issues with the 2.6 Kernel
- 
-$LastChangedBy$
-$Date$
-
-diff -Naur MPlayer-1.0pre4.orig/osdep/kerneltwosix.h MPlayer-1.0pre4/osdep/kerneltwosix.h
---- MPlayer-1.0pre4.orig/osdep/kerneltwosix.h	2004-01-10 09:48:15.000000000 +0000
-+++ MPlayer-1.0pre4/osdep/kerneltwosix.h	2004-04-30 02:10:54.429252761 +0000
-@@ -1,9 +1,3 @@
- #include <linux/version.h>
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
--#define __KERNEL__
--#include <linux/thread_info.h>
--#include <linux/list.h>
--#undef __KERNEL__
--#endif
- 
- 

Copied: trunk/patches/MPlayer-1.0pre6-kernel_2.6-1.patch (from rev 3142, trunk/patches/MPlayer-1.0pre5try2-kernel_2.6-1.patch)




More information about the blfs-book mailing list