Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=bmf.git;a=commitdiff;h=d448ed7b4781b5404406d1f86f42a152e6bef1ae
commit d448ed7b4781b5404406d1f86f42a152e6bef1ae
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date: Wed Dec 5 01:24:37 2007 +0100
mplayer-1.0rc2-2bmf1-i686
bump to newer version + update dvdnav patch
diff --git a/source/xapps/mplayer/01-mplayer.desktop.patch
b/source/xapps/mplayer/01-mplayer.desktop.patch
deleted file mode 100644
index c257d5d..0000000
--- a/source/xapps/mplayer/01-mplayer.desktop.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- MPlayer-1.0pre8/etc/mplayer.desktop.orig 2006-06-12 01:57:45.000000000
+0200
-+++ MPlayer-1.0pre8/etc/mplayer.desktop 2006-06-12 01:58:48.000000000
+0200
-@@ -3,10 +3,16 @@
- Encoding=UTF-8
- Name=MPlayer
- GenericName=Multimedia player
-+GenericName[de]=Multimedia Player
-+GenericName[es]=Reproductor multimedia
-+GenericName[fr]=Lecteur multimedia
-+GenericName[hu]=Multimédia-lejátszó
-+GenericName[it]=Lettore multimediale
- Comment=Multimedia player
- Comment[de]=Multimedia-Player
- Comment[es]=Reproductor multimedia
- Comment[fr]=Lecteur multimedia
-+Comment[hu]=Multimédia-lejátszó
- Comment[it]=Lettore multimediale
- Icon=mplayer.xpm
- TryExec=gmplayer
diff --git a/source/xapps/mplayer/CVE-2007-2948.diff
b/source/xapps/mplayer/CVE-2007-2948.diff
deleted file mode 100644
index 2ecdcc5..0000000
--- a/source/xapps/mplayer/CVE-2007-2948.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- trunk/stream/stream_cddb.c 2007/05/10 11:43:39 23287
-+++ trunk/stream/stream_cddb.c 2007/06/05 11:13:32 23470
-@@ -377,7 +377,7 @@
-
- switch(status) {
- case 210:
-- ret = sscanf( http_hdr->body, "%d %s %08lx", &status,
category, &disc_id);
-+ ret = sscanf( http_hdr->body, "%d %99s %08lx", &status,
category, &disc_id);
- if( ret!=3 ) {
- mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_ParseError);
- return -1;
-@@ -438,7 +438,7 @@
- ptr++;
- // We have a list of exact/inexact matches, so which one do we use?
- // So let's take the first one.
-- ret = sscanf(ptr, "%s %08lx %s", cddb_data->category,
&(cddb_data->disc_id), album_title);
-+ ret = sscanf(ptr, "%99s %08lx %99s", cddb_data->category,
&(cddb_data->disc_id), album_title);
- if( ret!=3 ) {
- mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_ParseError);
- return -1;
-@@ -475,7 +475,7 @@
- switch(status) {
- case 200:
- // Found exact match
-- ret = sscanf(http_hdr->body, "%d %s %08lx %s", &status,
cddb_data->category, &(cddb_data->disc_id), album_title);
-+ ret = sscanf(http_hdr->body, "%d %99s %08lx %99s",
&status, cddb_data->category, &(cddb_data->disc_id), album_title);
- if( ret!=4 ) {
- mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_ParseError);
- return -1;
diff --git a/source/xapps/mplayer/DMO_VideoDecoder.diff
b/source/xapps/mplayer/DMO_VideoDecoder.diff
deleted file mode 100644
index 7543412..0000000
--- a/source/xapps/mplayer/DMO_VideoDecoder.diff
+++ /dev/null
@@ -1,11 +0,0 @@
-http://svn.mplayerhq.hu/mplayer/trunk/loader/dmo/DMO_VideoDecoder.c?r1=22019&r2=22204&view=patch
---- trunk/loader/dmo/DMO_VideoDecoder.c 2007/01/26 09:21:22 22019
-+++ trunk/loader/dmo/DMO_VideoDecoder.c 2007/02/11 17:55:49 22204
-@@ -119,6 +119,7 @@
-
- this->iv.m_bh = malloc(bihs);
- memcpy(this->iv.m_bh, format, bihs);
-+ this->iv.m_bh->biSize = bihs;
-
- this->iv.m_State = STOP;
- //this->iv.m_pFrame = 0;
diff --git a/source/xapps/mplayer/FrugalBuild b/source/xapps/mplayer/FrugalBuild
index 0157ce2..fd5c1c1 100644
--- a/source/xapps/mplayer/FrugalBuild
+++ b/source/xapps/mplayer/FrugalBuild
@@ -2,15 +2,15 @@
# Maintainer: VMiklos <[EMAIL PROTECTED]>
pkgname=mplayer
-pkgver=1.0rc1
+pkgver=1.0rc2
pkgextraver=
-pkgrel=9bmf2
+pkgrel=2bmf1
pkgdesc="The Movie Player"
url="http://www.mplayerhq.hu/"
depends=('mesa' 'fontconfig' 'libstdc++' 'libdv' 'termcap' 'libjpeg' 'libmad' \
'libungif' 'xvidcore' 'libpng' 'sdl' 'lame' 'libxv' 'lzo' 'libsm' \
'libxinerama' 'libtheora' 'cdparanoia' 'libxxf86dga' 'live' 'gtk+2' \
- 'x264>=20070421' 'dejavu-ttf' 'openal' 'vidix')
+ 'x264>=20070421' 'dejavu-ttf' 'openal' 'vidix' 'libdvdnav2')
[ "$CARCH" == "i686" ] && depends=([EMAIL PROTECTED] 'codecs')
groups=('xapps')
backup=('etc/mplayer/mplayer.conf')
@@ -19,22 +19,17 @@ options=('scriptlet' 'nostrip')
up2date="lynx -dump http://www.mplayerhq.hu/MPlayer/releases/|grep -v snapshot
|Flasttarbz2"
source=(http://www.mplayerhq.hu/MPlayer/releases/MPlayer-$pkgver$pkgextraver.tar.bz2
\
00-$pkgname.conf.patch \
- 01-$pkgname.desktop.patch \
http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2 \
http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-cp1250.tar.bz2 \
http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 \
http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2 \
http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-7.tar.bz2 \
-
http://www.3gpp.org/ftp/Specs/archive/26_series/{26.104/26104-510.zip,26.204/26204-510.zip}
- $pkgname-1.0pre7-lzo2.patch.bz2 \
- http://www.mplayerhq.hu/MPlayer/patches/asmrules_fix_20061231.diff \
- DMO_VideoDecoder.diff \
- CVE-2007-2948.diff \
-
http://ftp.frugalware.org/pub/other/sources/mplayer/mplayer-0.7rc1-dvdnav.patch.bz2
\
- rtp_correction.patch mga_common-correction.patch)
-sha1sums=('a450c0b0749c343a8496ba7810363c9d46dfa73c' \
+
http://www.3gpp.org/ftp/Specs/archive/26_series/{26.104/26104-510.zip,26.204/26204-510.zip}
\
+
http://onebithq.com/pub/mplayer/dvdnav/20071023/MPlayer-1.0rc2-with-dvdnav.patch
\
+ http://onebithq.com/pub/mplayer/dvdnav/20071023/dvdnav_aspect.patch \
+ mga_common-correction.patch)
+sha1sums=('e9b496f3527c552004ec6d01d6b43f196b43ce2d' \
'f7492d46afc72678435b70fa4326dbbf32795ba9' \
- '7135e8bf05cee6b123b81fa2a2c6ab18a27af615' \
'45e5ee7a5541a5f1cfd2678a6c9b5911ca473cb9' \
'ccf11dce5d0fb72fd3af97f788b7471cd0cd0b68' \
'152c40bf20de34aa8802d7f80d34d673b0b67212' \
@@ -42,12 +37,8 @@ sha1sums=('a450c0b0749c343a8496ba7810363c9d46dfa73c' \
'2a3fa8cf54ec3ed4dfa1a0e72f2d207c13507b9d' \
'b22dbe895991c23fad446c3c4ff7b6db12673778' \
'9ca910295c2888fba95a98da83762a22aaf34651' \
- '45c4adbe6ab3063b68938c813966948aebf15ce3' \
- '84412f4bd85d64a92586ca4db7e8585d16cd1acd' \
- 'e629aafe8e07ddae6db93009715295e6a9d8ed45' \
- '977fad7f0e8ec616d4b7a6cd2aa5aebcde99f7e1' \
- 'b36dce95d686e4b7a1a58b211d5856ab253c5cc9' \
- '4192583c9837c0c106d140b885e89fc982d8cb8b' \
+ 'e781ec5120635fbe6208453d9b8a0ec94b243792' \
+ 'ea85ec053020dbb36fe6376d6a165fc7bef4f841' \
'2dcbd6908029a02655ab1536c2f93c7be82ca406')
# To add v4l support.
@@ -58,17 +49,16 @@ build()
unset CFLAGS
Fcd MPlayer-$pkgver$pkgextraver
Fpatchall
- mkdir libavcodec/amr_float
+ mkdir -p libavcodec/amr_float
cd libavcodec/amr_float
- unzip -q $Fsrcdir/26104-510_ANSI_C_source_code.zip
+ unzip -o -q $Fsrcdir/26104-510_ANSI_C_source_code.zip
cd -
mkdir libavcodec/amrwb_float
cd libavcodec/amrwb_float
- unzip -q $Fsrcdir/26204-510_ANSI-C_source_code.zip
+ unzip -o -q $Fsrcdir/26204-510_ANSI-C_source_code.zip
cd -
Fconf --confdir=/etc/mplayer --enable-gui --language=all \
--enable-runtime-cpudetection --enable-liblzo \
- --enable-live --with-livelibdir=/usr/lib/live \
--enable-largefiles --enable-mga --enable-xmga \
--enable-tdfxfb --disable-vidix-internal --enable-dvdnav \
--enable-debug
diff --git a/source/xapps/mplayer/asmrules_fix_20061231.diff
b/source/xapps/mplayer/asmrules_fix_20061231.diff
deleted file mode 100644
index 87bab25..0000000
--- a/source/xapps/mplayer/asmrules_fix_20061231.diff
+++ /dev/null
@@ -1,51 +0,0 @@
-Index: stream/realrtsp/asmrp.c
-===================================================================
---- stream/realrtsp/asmrp.c (revision 20381)
-+++ stream/realrtsp/asmrp.c (working copy)
-@@ -40,6 +40,7 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
-+#include "asmrp.h"
-
- /*
- #define LOG
-@@ -645,8 +646,10 @@
- #ifdef LOG
- printf ("rule #%d is true\n", rule_num);
- #endif
-- matches[num_matches] = rule_num;
-- num_matches++;
-+ if(num_matches < MAX_RULEMATCHES - 1)
-+ matches[num_matches++] = rule_num;
-+ else
-+ printf("Ignoring matched asm rule %d, too many matched rules.\n",
rule_num);
- }
-
- rule_num++;
-Index: stream/realrtsp/real.c
-===================================================================
---- stream/realrtsp/real.c (revision 20381)
-+++ stream/realrtsp/real.c (working copy)
-@@ -271,7 +271,7 @@
- int j=0;
- int n;
- char b[64];
-- int rulematches[16];
-+ int rulematches[MAX_RULEMATCHES];
-
- #ifdef LOG
- printf("calling asmrp_match with:\n%s\n%u\n",
desc->stream[i]->asm_rule_book, bandwidth);
-Index: stream/realrtsp/asmrp.h
-===================================================================
---- stream/realrtsp/asmrp.h (revision 20381)
-+++ stream/realrtsp/asmrp.h (working copy)
-@@ -40,6 +40,8 @@
- #ifndef HAVE_ASMRP_H
- #define HAVE_ASMRP_H
-
-+#define MAX_RULEMATCHES 16
-+
- int asmrp_match (const char *rules, int bandwidth, int *matches) ;
-
- #endif
diff --git a/source/xapps/mplayer/mplayer-1.0pre7-lzo2.patch.bz2
b/source/xapps/mplayer/mplayer-1.0pre7-lzo2.patch.bz2
deleted file mode 100644
index ce765af..0000000
Binary files a/source/xapps/mplayer/mplayer-1.0pre7-lzo2.patch.bz2 and
/dev/null differ
diff --git a/source/xapps/mplayer/rtp_correction.patch
b/source/xapps/mplayer/rtp_correction.patch
deleted file mode 100644
index 9ef3fd3..0000000
--- a/source/xapps/mplayer/rtp_correction.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libmpdemux/demux_rtp.cpp 2006-11-04 14:58:41.000000000 +0100
-+++ libmpdemux/demux_rtp.cpp 2007-09-03 23:18:45.000000000 +0200
-@@ -241,7 +241,7 @@
- if (demux_is_multiplexed_rtp_stream(demuxer)) {
- stream_t* s = new_ds_stream(demuxer->video);
- demuxer_t* od = demux_open(s, DEMUXER_TYPE_UNKNOWN,
-- audio_id, video_id, dvdsub_id, NULL, 0, 0, 0);
-+ audio_id, video_id, dvdsub_id, NULL, 0);
- demuxer = new_demuxers_demuxer(od, od, od);
- }
-
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git