]> git.pld-linux.org Git - packages/mplayer.git/commitdiff
- revised most removed/outdated/obsoleted patches patches:
authorsparky <sparky@pld-linux.org>
Wed, 18 Nov 2009 22:22:22 +0000 (22:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
-- codecs - now it works fine without w32codecs
-- home_etc - mplayer now supports MPLAYER_HOME environment variable, should be
enough
-- system-amr - outdated, mplayer uses external libopencore-amr now
-- pcmsplit - "split in 10 megs audio files" - patch is useless
-- mythtv - seems like mythtv internal nuv is supported by upstream mplayer
already, can anyone verify that ?
-- xvmc - not supported, but patches at openchrome.org are completely outdated
and implementation changed to much to try to update it

Changed files:
    mplayer-system-amr.patch -> 1.4
    mplayer.spec -> 1.425

mplayer-system-amr.patch [deleted file]
mplayer.spec

diff --git a/mplayer-system-amr.patch b/mplayer-system-amr.patch
deleted file mode 100644 (file)
index 18b572a..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
---- MPlayer-1.0rc1/libavcodec/Makefile.orig    2006-10-23 00:32:34.000000000 +0200
-+++ MPlayer-1.0rc1/libavcodec/Makefile 2006-11-17 19:02:18.581014500 +0100
-@@ -265,33 +265,6 @@
- OBJS-$(CONFIG_DTS)                     += dtsdec.o
- OBJS-$(CONFIG_AMR)                     += amr.o
--OBJS-$(CONFIG_AMR_NB)                  += amr_float/sp_dec.o     \
--                                          amr_float/sp_enc.o     \
--                                          amr_float/interf_dec.o \
--                                          amr_float/interf_enc.o
--
--ifeq ($(CONFIG_AMR_NB_FIXED),yes)
--EXTRAOBJS += amr/*.o
--EXTRADEPS=amrlibs
--endif
--
--OBJS-$(CONFIG_AMR_WB)                  += amrwb_float/dec_acelp.o \
--                                          amrwb_float/dec_dtx.o   \
--                                          amrwb_float/dec_gain.o  \
--                                          amrwb_float/dec_if.o    \
--                                          amrwb_float/dec_lpc.o   \
--                                          amrwb_float/dec_main.o  \
--                                          amrwb_float/dec_rom.o   \
--                                          amrwb_float/dec_util.o  \
--                                          amrwb_float/enc_acelp.o \
--                                          amrwb_float/enc_dtx.o   \
--                                          amrwb_float/enc_gain.o  \
--                                          amrwb_float/enc_if.o    \
--                                          amrwb_float/enc_lpc.o   \
--                                          amrwb_float/enc_main.o  \
--                                          amrwb_float/enc_rom.o   \
--                                          amrwb_float/enc_util.o  \
--                                          amrwb_float/if_rom.o
- OBJS-$(CONFIG_AAC_PARSER)              += parser.o
- OBJS-$(CONFIG_AC3_PARSER)              += parser.o
-@@ -411,9 +384,6 @@
- include $(SRC_PATH)/common.mak
--amrlibs:
--      $(MAKE) -C amr spclib fipoplib
--
- tests: apiexample $(TESTS)
- clean::
-@@ -427,10 +397,7 @@
-          sh4/*.o sh4/*~ \
-          sparc/*.o sparc/*~ \
-          liba52/*.o liba52/*~ \
--         amr_float/*.o \
-          apiexample $(TESTS)
--      -$(MAKE) -C amr clean
--      -$(MAKE) -C amrwb_float -f makefile.gcc clean
- apiexample: apiexample.o $(LIB)
---- MPlayer-1.0pre8/libavcodec/amr.c.orig      2006-06-11 20:35:48.000000000 +0200
-+++ MPlayer-1.0pre8/libavcodec/amr.c   2006-07-02 21:00:37.348070750 +0200
-@@ -59,16 +59,16 @@
- #define MMS_IO
--#include "amr/sp_dec.h"
--#include "amr/d_homing.h"
--#include "amr/typedef.h"
--#include "amr/sp_enc.h"
--#include "amr/sid_sync.h"
--#include "amr/e_homing.h"
-+#include <amr/sp_dec.h>
-+#include <amr/d_homing.h>
-+#include <amr/typedef.h>
-+#include <amr/sp_enc.h>
-+#include <amr/sid_sync.h>
-+#include <amr/e_homing.h>
- #else
--#include "amr_float/interf_dec.h"
--#include "amr_float/interf_enc.h"
-+#include <amrnb/interf_dec.h>
-+#include <amrnb/interf_enc.h>
- #endif
- /* Common code for fixed and float version*/
-@@ -493,8 +493,8 @@
- #define typedef_h
- #endif
--#include "amrwb_float/enc_if.h"
--#include "amrwb_float/dec_if.h"
-+#include <amrwb/enc_if.h>
-+#include <amrwb/dec_if.h>
- /* Common code for fixed and float version*/
- typedef struct AMRWB_bitrates
---- MPlayer-1.0rc1/configure.orig      2006-11-17 18:58:32.998916500 +0100
-+++ MPlayer-1.0rc1/configure   2006-11-17 19:04:19.384564250 +0100
-@@ -6349,7 +6349,7 @@
- echocheck "AMR narrowband"
- if test "$_amr_nb" = auto ; then
-   _amr_nb=no
--  if test -f libavcodec/amr_float/sp_dec.c ; then
-+  if test -f /usr/include/amrnb/interf_dec.h ; then
-     if test "$_libavcodec" = yes ; then
-       _amr_nb=yes
-     else
-@@ -6361,6 +6361,7 @@
-   _amr=yes
-   _def_amr='#define CONFIG_AMR 1'
-   _def_amr_nb='#define CONFIG_AMR_NB 1'
-+  _ld_amr_nb='-lamrnb'
- else
-   _def_amr_nb='#undef CONFIG_AMR_NB'
- fi
-@@ -6369,7 +6370,7 @@
- echocheck "AMR narrowband, fixed point"
- if test "$_amr_nb_fixed" = auto ; then
-   _amr_nb_fixed=no
--  if test -f libavcodec/amr/dtx_dec.c ; then
-+  if test -f /usr/include/amr/sp_dec.h ; then
-     if test "$_libavcodec" = yes ; then
-       if test "$_amr_nb" = no ; then
-         _amr_nb_fixed=yes
-@@ -6385,6 +6386,7 @@
-   _amr=yes
-   _def_amr='#define CONFIG_AMR 1'
-   _def_amr_nb_fixed='#define CONFIG_AMR_NB_FIXED 1'
-+  _ld_amr_nb='-lamrnbfixed'
- else
-   _def_amr_nb_fixed='#undef CONFIG_AMR_NB_FIXED'
- fi
-@@ -6399,7 +6401,7 @@
- echocheck "AMR wideband"
- if test "$_amr_wb" = auto ; then
-   _amr_wb=no
--  if test -f libavcodec/amrwb_float/dec_dtx.c ; then
-+  if test -f /usr/include/amrwb/dec_if.h ; then
-     if test "$_libavcodec" = yes ; then
-       _amr_wb=yes
-     else
-@@ -6411,6 +6413,7 @@
-   _amr=yes
-   _def_amr='#define CONFIG_AMR 1'
-   _def_amr_wb='#define CONFIG_AMR_WB 1'
-+  _ld_amr_wb='-lamrwb'
-   _codecmodules="amr_wb $_codecmodules"
- else
-   _def_amr_wb='#undef CONFIG_AMR_WB'
-@@ -7630,7 +7633,9 @@
- CONFIG_AMR=$_amr
- CONFIG_AMR_NB=$_amr_nb
- CONFIG_AMR_NB_FIXED=$_amr_nb_fixed
-+AMR_NB_LIB=$_ld_amr_nb
- CONFIG_AMR_WB=$_amr_wb
-+AMR_WB_LIB=$_ld_amr_wb
- `echo $_libavdecoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
- `echo $_libavencoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
- `echo $_libavparsers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
---- MPlayer-1.0rc1/Makefile.orig       2006-10-23 00:32:31.000000000 +0200
-+++ MPlayer-1.0rc1/Makefile    2006-11-17 19:04:54.290745750 +0100
-@@ -110,6 +110,8 @@
-              $(MUSEPACK_LIB) \
-              $(SPEEX_LIB) \
-              $(NUT_LIB) \
-+             $(AMR_NB_LIB) \
-+             $(AMR_WB_LIB)
- ifeq ($(LAVC_MP3LAME),yes)
- CODEC_LIBS += $(MP3LAME_LIB)
index 3660546a30a43bb7964f68c60a3491eb13381537..30a91a1d4e6936b5f6b10ffe9fd8435de796615d 100644 (file)
@@ -103,17 +103,10 @@ Source8:  %{name}.desktop
 Source9:       http://support.on2.com/gpl/mplayer/2009-10-08-mencoder-on2flixenglinux.tar.bz2
 # Source9-md5: 07774a2663a8fda07c308df0c6569b56
 Patch1:                %{name}-cp1250-fontdesc.patch
-#Patch2:               %{name}-codec.patch
-#Patch3:               %{name}-home_etc.patch
 Patch4:                %{name}-350.patch
-# outdated via ffmpeg?
-Patch6:                %{name}-system-amr.patch
 Patch8:                %{name}-altivec.patch
-#Patch10:      %{name}-pcmsplit.patch
-#Patch13:      %{name}-mythtv.patch
+# TODO, but ldflags first
 Patch14:       %{name}-shared.patch
-#http://www.openchrome.org/snapshots/mplayer/
-#Patch15:      %{name}-xvmc.patch
 Patch17:       %{name}-auto-expand.patch
 # update
 #Patch18:      %{name}-gnome-screensaver.patch
@@ -311,17 +304,12 @@ MEncoder to koder filmów dla Linuksa będący częścią pakietu MPlayer.
 %setup -q -n mplayer-r%{svnver} -a3 -a6 -a9
 cp -f etc/codecs.conf etc/codecs.win32.conf
 %patch1 -p0
-#%%patch2 -p1 -- still needed?
-##%%patch3 -p1 -- old home_etc behavior
 %patch4 -p1
-#%%patch6 -p1 # - try ffmpeg
 %patch8 -p1
-#%%patch10 -p1
 #%%patch13 -p1 # TODO
 %if %{with shared}
 %patch14 -p1
 %endif
-#%%patch15 -p0 # TODO
 %patch17 -p1
 %if %{with gnomess}
 #%%patch18 -p1
@@ -360,7 +348,6 @@ rm -r libavcodec libavdevice libavformat libavutil libpostproc libswscale
 
 # hot fixes
 sed 's/STREAM_NONCACHEABLE/STREAM_NON_CACHEABLE/' -i stream/stream_live555.c
-sed 's/=MAX(/=FFMAX(/' -i libmpcodecs/vf_expand.c
 
 %build
 CFLAGS="%{rpmcflags} %{?with_shared:-fPIC}"
@@ -456,11 +443,11 @@ set -x
        --enable-xmga \
        --enable-xv \
        --enable-xvmc \
+       --with-xvmclib=XvMCW \
        --enable-dynamic-plugins \
        --enable-largefiles \
        --language=all \
        --codecsdir=%{_libdir}/codecs \
-       --with-xvmclib=XvMCW \
        "$@"
 
        %{__make}
This page took 0.042585 seconds and 4 git commands to generate.