No subject


Sat Mar 21 19:08:20 CET 2009


=========================================

# patch -p0 < mplayer-0.90_pre5-widget.patch

# patch -p1 < mplayer-0.90_pre6-stream-include.patch

# patch -p1 < mplayer-0.90_pre5-vidix-destpath.patch

# patch -p1 < mplayer-0.90_pre5-spudec.c.patch

# patch -p1 < mplayer-0.90_pre6-vidix-fail-install.patch

# patch -p1 < mplayer-0.90_pre6-no-dvd.patch


Description of what they do (short):
====================================

/* Fixes some include problems during compile, thanks
 * to Gwenn Gueguen
 */
mplayer-0.90_pre5-widget.patch

/* Fixes include problem - Azarah (10 Jun 2002)
 * Update for pre6 - Azarah (07 Aug 2002)
 */
mplayer-0.90_pre6-stream-include.patch

/* Fixes install location for vidix drivers, thanks
 * to Mezei Zoltan.
 */
mplayer-0.90_pre5-vidix-destpath.patch

/* Fix missing subtitles for some regions (4), bug #3679, thanks
 * to Bernardo Silva
 */
mplayer-0.90_pre5-spudec.c.patch

/* Fixes intermittant problems where vidix drivers do not get build,
 * and causes the install to fail - Azarah (06 Aug 2002)
 */
mplayer-0.90_pre6-vidix-fail-install.patch

/* Fixes compile problems if dvd support disabled.
 * Azarah (07 Aug 2002)
 */
mplayer-0.90_pre6-no-dvd.patch


Thanks,

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa


--=-r5In4stn/u7KMgDiYPM6
Content-Disposition: attachment; filename=mplayer-0.90_pre5-widget.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=mplayer-0.90_pre5-widget.patch; charset=ISO-8859-1

--- Gui/mplayer/widgets.c.orig	Sun May  5 21:53:25 2002
+++ Gui/mplayer/widgets.c	Sun May  5 21:54:24 2002
@@ -25,6 +25,7 @@
=20
 #include "../../config.h"
 #include "../../help_mp.h"
+#include "../../mp_msg.h"
=20
 GtkWidget     * SkinBrowser;
 GtkWidget     * PlayList;

--=-r5In4stn/u7KMgDiYPM6
Content-Disposition: attachment; filename=mplayer-0.90_pre6-stream-include.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=mplayer-0.90_pre6-stream-include.patch;
	charset=ISO-8859-1

--- MPlayer-0.90pre5/Gui/mplayer/play.c	Mon Jun 10 11:39:17 2002
+++ MPlayer-0.90pre5.azarah/Gui/mplayer/play.c	Mon Jun 10 11:39:38 2002
@@ -10,6 +10,7 @@
 #include "../../help_mp.h"
 #include "../../libvo/x11_common.h"
 #include "../../input/input.h"
+#include "../../libmpdemux/stream.h"
=20
 #include "../app.h"
=20
--- MPlayer-0.90pre6/Gui/mplayer/gtk/pl.c.orig	Wed Aug  7 08:30:16 2002
+++ MPlayer-0.90pre6/Gui/mplayer/gtk/pl.c	Wed Aug  7 08:30:54 2002
@@ -13,6 +13,8 @@
 #include "../../../config.h"
 #include "../../../help_mp.h"
=20
+#include "../../../libmpdemux/stream.h"
+
 #include "../../interface.h"
 #include "../widgets.h"
 #include "pl.h"

--=-r5In4stn/u7KMgDiYPM6
Content-Disposition: attachment; filename=mplayer-0.90_pre5-vidix-destpath.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=mplayer-0.90_pre5-vidix-destpath.patch;
	charset=ISO-8859-1

--- MPlayer-0.90pre5/vidix/drivers/Makefile.orig	Mon Jun 10 11:48:02 2002
+++ MPlayer-0.90pre5/vidix/drivers/Makefile	Mon Jun 10 11:48:54 2002
@@ -120,11 +120,11 @@
 # do nothing here
=20
 install:
-	mkdir -p $(BINDIR)
-	install -m 755 -s -p *.so $(BINDIR)
+	mkdir -p $(LIBDIR)/mplayer/vidix
+	install -m 755 -s -p *.so $(LIBDIR)/mplayer/vidix
 uninstall:
-	rm -f $(BINDIR)/*.so
-	rmdir -p --ignore-fail-on-non-empty $(BINDIR)
+	rm -f $(LIBDIR)/mplayer/vidix/*.so
+	rmdir -p --ignore-fail-on-non-empty $(LIBDIR)/mplayer/vidix
=20
 #
 # include dependency files if they exist

--=-r5In4stn/u7KMgDiYPM6
Content-Disposition: attachment; filename=mplayer-0.90_pre5-spudec.c.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=mplayer-0.90_pre5-spudec.c.patch; charset=ISO-8859-1

--- MPlayer-0.90pre5/spudec.c.orig	Wed May 29 21:27:06 2002
+++ MPlayer-0.90pre5/spudec.c	Thu Jun 13 20:52:03 2002
@@ -448,7 +448,8 @@
 #if 1
   // check if we have a complete packet (unfortunatelly packet_size is bad
   // for some disks)
-  if (spu->packet_offset =3D=3D spu->packet_size){
+//  if (spu->packet_offset =3D=3D spu->packet_size){
+  {
     unsigned int x=3D0,y;
     while(x+4<=3Dspu->packet_offset){
       y=3Dget_be16(spu->packet+x+2); // next control pointer
@@ -469,7 +470,8 @@
     }
   }
 #else
-  if (spu->packet_offset =3D=3D spu->packet_size) {
+//  if (spu->packet_offset =3D=3D spu->packet_size) {
+  {
     spudec_decode(spu, pts100);
     spu->packet_offset =3D 0;
   }

--=-r5In4stn/u7KMgDiYPM6
Content-Disposition: attachment; filename=mplayer-0.90_pre6-vidix-fail-install.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=mplayer-0.90_pre6-vidix-fail-install.patch;
	charset=ISO-8859-1

--- MPlayer-0.90pre6/vidix/drivers/Makefile.orig	Tue Aug  6 23:08:46 2002
+++ MPlayer-0.90pre6/vidix/drivers/Makefile	Tue Aug  6 23:10:51 2002
@@ -109,7 +109,7 @@
=20
 install:
 	mkdir -p $(LIBDIR)/mplayer/vidix
-	install -m 755 -s -p *.so $(LIBDIR)/mplayer/vidix
+	install -m 755 -s -p *.so $(LIBDIR)/mplayer/vidix || :
 uninstall:
 	rm -f $(LIBDIR)/mplayer/vidix/*.so
 	rmdir -p --ignore-fail-on-non-empty $(LIBDIR)/mplayer/vidix

--=-r5In4stn/u7KMgDiYPM6
Content-Disposition: attachment; filename=mplayer-0.90_pre6-no-dvd.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=mplayer-0.90_pre6-no-dvd.patch; charset=ISO-8859-1

--- MPlayer-0.90pre6/Gui/mplayer/play.c.orig	Wed Aug  7 08:28:50 2002
+++ MPlayer-0.90pre6/Gui/mplayer/play.c	Wed Aug  7 08:29:16 2002
@@ -108,9 +108,11 @@
      guiIntfStruct.TimeSec=3D0;
      guiIntfStruct.Position=3D0;
      guiIntfStruct.AudioType=3D0;
+#ifdef USE_DVDREAD
      guiIntfStruct.DVD.current_title=3D1;
      guiIntfStruct.DVD.current_chapter=3D1;
      guiIntfStruct.DVD.current_angle=3D1;
+#endif
=20
      if ( !appMPlayer.subWindow.isFullScreen )
       {

--=-r5In4stn/u7KMgDiYPM6--




More information about the MPlayer-users mailing list