Skip to contentSkip to conversation

mplayer: Update to version 1.1.

PATCH RESEND Superseded Kelvin Cheung 2 participants 3 messages Aug 21, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 mplayer: Update to version 1.1.

Update to version 1.1 (r34994).

remove --enable-largefiles configure option which was deleted in r33321.

Discard mplayer-theora-fix.patch which is a backport of r34498 and r34503.

---
 .../mplayer-1.0rc3-disable-install-strip.patch     |   24 --
 .../mplayer/mplayer-1.0rc3-fix-cc-parsing.patch    |   22 --
 .../mplayer-1.1-disable-install-strip.patch        |   24 ++
 .../mplayer/mplayer-1.1-fix-cc-parsing.patch       |   22 ++
 .../multimedia/mplayer/mplayer-theora-fix.patch    |  374 --------------------
 package/multimedia/mplayer/mplayer.mk              |   21 +-
 6 files changed, 51 insertions(+), 436 deletions(-)
 delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch
 delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch
 create mode 100644 package/multimedia/mplayer/mplayer-1.1-disable-install-strip.patch
 create mode 100644 package/multimedia/mplayer/mplayer-1.1-fix-cc-parsing.patch
 delete mode 100644 package/multimedia/mplayer/mplayer-theora-fix.patch
package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch deleted +0 -24
deleted file mode 100644
index 644d292..0000000
@@ -1,24 +0,0 @@
-Disable stripping on installation
-
-Using the -s option of install does not work, as it uses the host
-strip instead of the cross strip. So, get rid of it, and let Buildroot
-handle the stripping.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- configure |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: mplayer-32710/configure
-===================================================================
---- mplayer-32710.orig/configure
-+++ mplayer-32710/configure
-@@ -2519,7 +2519,7 @@
- 
- 
- # Checking for CFLAGS
--_install_strip="-s"
-+_install_strip=
- if test "$_profile" != "" || test "$_debug" != "" ; then
-   CFLAGS="-O2 $_march $_mcpu $_pipe $_debug $_profile"
-   WARNFLAGS="-W -Wall"
package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch deleted +0 -22
deleted file mode 100644
index a3ba03f..0000000
@@ -1,22 +0,0 @@
-[PATCH] mplayer: fix --cc= parsing if the value contains equal signs (=)
-
-E.G. if -cc="$CROSS-gcc --sysroot=<SYSROOT>" is passed.
-
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- configure |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: mplayer-32710/configure
-===================================================================
---- mplayer-32710.orig/configure
-+++ mplayer-32710/configure
-@@ -870,7 +870,7 @@
-     _target=$(echo $ac_option | cut -d '=' -f 2)
-     ;;
-   --cc=*)
--    _cc=$(echo $ac_option | cut -d '=' -f 2)
-+    _cc=$(echo $ac_option | cut -d '=' -f 2-)
-     ;;
-   --host-cc=*)
-     _host_cc=$(echo $ac_option | cut -d '=' -f 2)
package/multimedia/mplayer/mplayer-1.1-disable-install-strip.patch new file +24 -0
new file mode 100644
index 0000000..644d292
@@ -0,0 +1,24 @@
+Disable stripping on installation
+
+Using the -s option of install does not work, as it uses the host
+strip instead of the cross strip. So, get rid of it, and let Buildroot
+handle the stripping.
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+---
+ configure |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: mplayer-32710/configure
+===================================================================
+--- mplayer-32710.orig/configure
++++ mplayer-32710/configure
+@@ -2519,7 +2519,7 @@
+ 
+ 
+ # Checking for CFLAGS
+-_install_strip="-s"
++_install_strip=
+ if test "$_profile" != "" || test "$_debug" != "" ; then
+   CFLAGS="-O2 $_march $_mcpu $_pipe $_debug $_profile"
+   WARNFLAGS="-W -Wall"
package/multimedia/mplayer/mplayer-1.1-fix-cc-parsing.patch new file +22 -0
new file mode 100644
index 0000000..a3ba03f
@@ -0,0 +1,22 @@
+[PATCH] mplayer: fix --cc= parsing if the value contains equal signs (=)
+
+E.G. if -cc="$CROSS-gcc --sysroot=<SYSROOT>" is passed.
+
+Signed-off-by: Peter Korsgaard <[email protected]>
+---
+ configure |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: mplayer-32710/configure
+===================================================================
+--- mplayer-32710.orig/configure
++++ mplayer-32710/configure
+@@ -870,7 +870,7 @@
+     _target=$(echo $ac_option | cut -d '=' -f 2)
+     ;;
+   --cc=*)
+-    _cc=$(echo $ac_option | cut -d '=' -f 2)
++    _cc=$(echo $ac_option | cut -d '=' -f 2-)
+     ;;
+   --host-cc=*)
+     _host_cc=$(echo $ac_option | cut -d '=' -f 2)
package/multimedia/mplayer/mplayer-theora-fix.patch deleted +0 -374

374 lines not on this page · raw message

package/multimedia/mplayer/mplayer.mk +5 -16
index f4fedf4..f4c8d06 100644
@@ -3,10 +3,11 @@
 # mplayer
 #
 #############################################################
-MPLAYER_VERSION = 32726
-# MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.bz2
-# MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases
-MPLAYER_SITE = svn://svn.mplayerhq.hu/mplayer/trunk
+# MPLAYER_VERSION = 32726
+MPLAYER_VERSION = 1.1
+MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.xz
+MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases
+# MPLAYER_SITE = svn://svn.mplayerhq.hu/mplayer/trunk
 
 MPLAYER_CFLAGS = $(TARGET_CFLAGS)
 MPLAYER_LDFLAGS = $(TARGET_LDFLAGS)
@@ -25,18 +26,6 @@ else
 MPLAYER_CONF_OPTS += --disable-big-endian
 endif
 
-# mplayer unfortunately uses --disable-largefiles, so we cannot use
-# DISABLE_LARGEFILE
-ifeq ($(BR2_LARGEFILE),y)
-MPLAYER_CONF_OPTS += --enable-largefiles
-else
-# dvdread/dvdcss requires largefile support
-MPLAYER_CONF_OPTS += 			\
-	--disable-largefiles 		\
-	--disable-dvdread-internal 	\
-	--disable-libdvdcss-internal
-endif
-
 ifeq ($(BR2_PACKAGE_SDL),y)
 MPLAYER_CONF_OPTS += \
 	--enable-sdl \
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH RESEND 1/1 mplayer: Update to version 1.1.

Hello,

Le Tue, 21 Aug 2012 15:53:35 +0800,
Kelvin Cheung <[email protected]> a ?crit :

package/multimedia/mplayer/mplayer.mk line 10

Quoted 9 lines
package/multimedia/mplayer/mplayer.mk +5 -4
-MPLAYER_VERSION = 32726
-# MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.bz2
-# MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases
-MPLAYER_SITE = svn://svn.mplayerhq.hu/mplayer/trunk
+# MPLAYER_VERSION = 32726
+MPLAYER_VERSION = 1.1
+MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.xz
+MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases
+# MPLAYER_SITE = svn://svn.mplayerhq.hu/mplayer/trunk

Can you remove the comments?

package/multimedia/mplayer/mplayer.mk else · line 38

Quoted 11 lines
package/multimedia/mplayer/mplayer.mk +0 -11
-# mplayer unfortunately uses --disable-largefiles, so we cannot use
-# DISABLE_LARGEFILE
-ifeq ($(BR2_LARGEFILE),y)
-MPLAYER_CONF_OPTS += --enable-largefiles
-else
-# dvdread/dvdcss requires largefile support
-MPLAYER_CONF_OPTS += 			\
-	--disable-largefiles 		\
-	--disable-dvdread-internal 	\
-	--disable-libdvdcss-internal
-endif

And so, the dvdread-internal and libdvdcss-internal support no longer needs largefile support?

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH RESEND 1/1 mplayer: Update to version 1.1.

2012/8/21 Thomas Petazzoni <[email protected]>

Quoted 5 lines

Hello,

Le Tue, 21 Aug 2012 15:53:35 +0800,
Kelvin Cheung <[email protected]> a ?crit :

Quoted 12 lines

package/multimedia/mplayer/mplayer.mk line 10

Quoted 9 lines
package/multimedia/mplayer/mplayer.mk +5 -4
-MPLAYER_VERSION = 32726
-# MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.bz2
-# MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases
-MPLAYER_SITE = svn://svn.mplayerhq.hu/mplayer/trunk
+# MPLAYER_VERSION = 32726
+MPLAYER_VERSION = 1.1
+MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.xz
+MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases
+# MPLAYER_SITE = svn://svn.mplayerhq.hu/mplayer/trunk

Can you remove the comments?

OK, will do.

Quoted 16 lines

package/multimedia/mplayer/mplayer.mk else · line 38

Quoted 12 lines
package/multimedia/mplayer/mplayer.mk +0 -11
-# mplayer unfortunately uses --disable-largefiles, so we cannot use
-# DISABLE_LARGEFILE
-ifeq ($(BR2_LARGEFILE),y)
-MPLAYER_CONF_OPTS += --enable-largefiles
-else
-# dvdread/dvdcss requires largefile support
-MPLAYER_CONF_OPTS +=                         \
-     --disable-largefiles            \
-     --disable-dvdread-internal      \
-     --disable-libdvdcss-internal
-endif

And so, the dvdread-internal and libdvdcss-internal support no longer needs largefile support?

Yes, that's right.

Quoted 10 lines

Thanks!

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

Signature · 5 lines
Best Regards!
Kelvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120821/12c29a6b/attachment.html>