Skip to contentSkip to conversation

GStreamer updates

PATCH New Felipe Contreras 3 participants 8 messages Feb 4, 2011 – Feb 5, 2011

lore
Share & tools
lore
#0 lore raw

cover GStreamer updates

Hi,

First I update the versions, and then I add the optional orc dependency.

Cheers.

Felipe Contreras (2):
Update to the latest GStreamer packages
Add orc package

 package/Config.in                                  |    1 +
 .../multimedia/gst-plugins-bad/gst-plugins-bad.mk  |    4 +-
 .../gst-plugins-base/gst-plugins-base.mk           |    4 +-
 .../gst-plugins-good/gst-plugins-good.mk           |    2 +-
 .../gst-plugins-ugly/gst-plugins-ugly.mk           |    2 +-
 ....10.25-fix-unaligned-detectiob-for-x86-64.patch |   36 --------------------
 package/multimedia/gstreamer/gstreamer.mk          |    2 +-
 package/orc/Config.in                              |    6 +++
 package/orc/orc.mk                                 |    7 ++++
 9 files changed, 21 insertions(+), 43 deletions(-)
 delete mode 100644 package/multimedia/gstreamer/gstreamer-0.10.25-fix-unaligned-detectiob-for-x86-64.patch
 create mode 100644 package/orc/Config.in
 create mode 100644 package/orc/orc.mk
Signature · 1 line
1.7.4.1.g4f7e4
#1 lore raw

PATCH 1/2 Update to the latest GStreamer packages

liboil is not needed not used any more. orc _can_ be used instead, but it's not needed.

---
 .../multimedia/gst-plugins-bad/gst-plugins-bad.mk  |    4 +-
 .../gst-plugins-base/gst-plugins-base.mk           |    4 +-
 .../gst-plugins-good/gst-plugins-good.mk           |    2 +-
 .../gst-plugins-ugly/gst-plugins-ugly.mk           |    2 +-
 ....10.25-fix-unaligned-detectiob-for-x86-64.patch |   36 --------------------
 package/multimedia/gstreamer/gstreamer.mk          |    2 +-
 6 files changed, 7 insertions(+), 43 deletions(-)
 delete mode 100644 package/multimedia/gstreamer/gstreamer-0.10.25-fix-unaligned-detectiob-for-x86-64.patch
package/multimedia/gst-plugins-bad/gst-plugins-bad.mk +2 -2
index 7a059c1..c300256 100644
@@ -3,7 +3,7 @@
 # gst-plugins-bad
 #
 #############################################################
-GST_PLUGINS_BAD_VERSION = 0.10.14
+GST_PLUGINS_BAD_VERSION = 0.10.21
 GST_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST_PLUGINS_BAD_VERSION).tar.bz2
 GST_PLUGINS_BAD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-bad
 GST_PLUGINS_BAD_LIBTOOL_PATCH = NO
@@ -11,7 +11,7 @@ GST_PLUGINS_BAD_LIBTOOL_PATCH = NO
 GST_PLUGINS_BAD_CONF_OPT = \
 		--disable-examples
 
-GST_PLUGINS_BAD_DEPENDENCIES = gst-plugins-base gstreamer liboil
+GST_PLUGINS_BAD_DEPENDENCIES = gst-plugins-base gstreamer
 
 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_AACPARSE),y)
 GST_PLUGINS_BAD_CONF_OPT += --enable-aacparse
package/multimedia/gst-plugins-base/gst-plugins-base.mk +2 -2
index e91d5fc..828d156 100644
@@ -3,7 +3,7 @@
 # gst-plugins-base
 #
 #############################################################
-GST_PLUGINS_BASE_VERSION = 0.10.25
+GST_PLUGINS_BASE_VERSION = 0.10.32
 GST_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST_PLUGINS_BASE_VERSION).tar.bz2
 GST_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base
 GST_PLUGINS_BASE_INSTALL_STAGING = YES
@@ -25,7 +25,7 @@ GST_PLUGINS_BASE_CONF_OPT = \
 		--disable-vorbistest \
 		--disable-freetypetest
 
-GST_PLUGINS_BASE_DEPENDENCIES = gstreamer liboil
+GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
 
 # alsa support needs pcm+mixer support, but configure fails to check for it
 ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yyy)
package/multimedia/gst-plugins-good/gst-plugins-good.mk +1 -1
index f7a2087..7a67dc5 100644
@@ -3,7 +3,7 @@
 # gst-plugins-good
 #
 #############################################################
-GST_PLUGINS_GOOD_VERSION = 0.10.16
+GST_PLUGINS_GOOD_VERSION = 0.10.27
 GST_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST_PLUGINS_GOOD_VERSION).tar.bz2
 GST_PLUGINS_GOOD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-good
 GST_PLUGINS_GOOD_LIBTOOL_PATCH = NO
package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk +1 -1
index fc2fcff..4eb02e5 100644
@@ -3,7 +3,7 @@
 # gst-plugins-ugly
 #
 #############################################################
-GST_PLUGINS_UGLY_VERSION = 0.10.10
+GST_PLUGINS_UGLY_VERSION = 0.10.17
 GST_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST_PLUGINS_UGLY_VERSION).tar.bz2
 GST_PLUGINS_UGLY_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-ugly
 GST_PLUGINS_UGLY_LIBTOOL_PATCH = NO
package/multimedia/gstreamer/gstreamer-0.10.25-fix-unaligned-detectiob-for-x86-64.patch deleted +0 -36
deleted file mode 100644
index 1635fe7..0000000
@@ -1,36 +0,0 @@
-[PATCH] gst-arch.m4: fix unaligned detection for x86-64 when cross compiling
-
-Submitted upstream at https://bugzilla.gnome.org/show_bug.cgi?id=607317
-
-Commit 4221e9dc (amd64/x86_64 allows unaligned memory access too) added
-x86-64 to the unaligned access whitelist, but missed the trailing
-wildcards, so the test never succeeds (host is something like
-x86_64-unknown-linux-gnu).
-
-When building natively, this isn't a big deal as the AC_TRY_RUN test
-correctly detects it, but that doesn't work when cross compiling so
-the build dies with:
-
-configure: error: cannot run test program while cross compiling
-See `config.log' for more details.
-
-Fix it by adding the trailing wildcards.
-
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- configure |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: gstreamer-0.10.25/configure
-===================================================================
---- gstreamer-0.10.25.orig/configure
-+++ gstreamer-0.10.25/configure
-@@ -15655,7 +15655,7 @@ $as_echo_n "checking if unaligned memory
-         $as_echo_n "(blacklisted) " >&6
-         as_cv_unaligned_access=no
- 	;;
--      i?86*|x86_64|amd64|powerpc*|m68k*|cris*)
-+      i?86*|x86_64*|amd64*|powerpc*|m68k*|cris*)
-         $as_echo_n "(whitelisted) " >&6
-         as_cv_unaligned_access=yes
- 	;;
package/multimedia/gstreamer/gstreamer.mk +1 -1
index d689619..558d476 100644
@@ -3,7 +3,7 @@
 # gstreamer
 #
 #############################################################
-GSTREAMER_VERSION = 0.10.25
+GSTREAMER_VERSION = 0.10.32
 GSTREAMER_SOURCE = gstreamer-$(GSTREAMER_VERSION).tar.bz2
 GSTREAMER_SITE = http://gstreamer.freedesktop.org/src/gstreamer
 GSTREAMER_INSTALL_STAGING = YES
Signature · 1 line
1.7.4.1.g4f7e4
#2 lore raw

PATCH 1/2 Update to the latest GStreamer packages

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Felipe" == Felipe Contreras <[email protected]> writes:

Felipe> liboil is not needed not used any more. orc _can_ be used instead, but Felipe> it's not needed.

Committed, thanks. You forgot to remove the select BR2_PACKAGE_LIBOIL, but I did that.

Just to be sure - With these version bumps the fixes for make 3.82 are no longer needed, right?

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/2 Update to the latest GStreamer packages

Quoted 7 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Felipe" == Felipe Contreras <[email protected]> writes:

?Felipe> liboil is not needed not used any more. orc _can_ be used instead, but ?Felipe> it's not needed.

Committed, thanks. You forgot to remove the select BR2_PACKAGE_LIBOIL, but I did that.

It's supposed to be useful outside GStreamer, but I guess nobody really uses that.

Quoted 2 lines

Just to be sure - With these version bumps the fixes for make 3.82 are no longer needed, right?

That's right, they are not needed any more.

Signature · 1 line
Felipe Contreras
#4 lore raw

PATCH 1/2 Update to the latest GStreamer packages

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Felipe" == Felipe Contreras <[email protected]> writes:

Hi,

Quoted 2 lines
Quoted 2 lines

Committed, thanks. You forgot to remove the select BR2_PACKAGE_LIBOIL, but I did that.

Felipe> It's supposed to be useful outside GStreamer, but I guess nobody Felipe> really uses that.

I didn't meant that you should remove the liboil package, just that the select|depends on statements of the gstreamer packages should be in sync with the _DEPENDENCIES lines of their makefiles.

Quoted 2 lines
Quoted 2 lines

Just to be sure - With these version bumps the fixes for make 3.82 are no longer needed, right?

Felipe> That's right, they are not needed any more.

Great, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 2/2 Add orc package

In reply to Felipe Contreras

And add GStreamer dependencies (although they are not strong).

---
 package/Config.in                                  |    1 +
 .../multimedia/gst-plugins-bad/gst-plugins-bad.mk  |    2 +-
 .../gst-plugins-base/gst-plugins-base.mk           |    2 +-
 package/orc/Config.in                              |    6 ++++++
 package/orc/orc.mk                                 |    7 +++++++
 5 files changed, 16 insertions(+), 2 deletions(-)
 create mode 100644 package/orc/Config.in
 create mode 100644 package/orc/orc.mk
package/Config.in +1 -0
index 16a9e8f..0004e6d 100644
@@ -333,6 +333,7 @@ source "package/libffi/Config.in"
 source "package/libglib2/Config.in"
 source "package/liboil/Config.in"
 source "package/libsigc/Config.in"
+source "package/orc/Config.in"
 source "package/startup-notification/Config.in"
 endmenu
 
package/multimedia/gst-plugins-bad/gst-plugins-bad.mk +1 -1
index c300256..00f78a8 100644
@@ -11,7 +11,7 @@ GST_PLUGINS_BAD_LIBTOOL_PATCH = NO
 GST_PLUGINS_BAD_CONF_OPT = \
 		--disable-examples
 
-GST_PLUGINS_BAD_DEPENDENCIES = gst-plugins-base gstreamer
+GST_PLUGINS_BAD_DEPENDENCIES = gst-plugins-base gstreamer orc
 
 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_AACPARSE),y)
 GST_PLUGINS_BAD_CONF_OPT += --enable-aacparse
package/multimedia/gst-plugins-base/gst-plugins-base.mk +1 -1
index 828d156..2df1818 100644
@@ -25,7 +25,7 @@ GST_PLUGINS_BASE_CONF_OPT = \
 		--disable-vorbistest \
 		--disable-freetypetest
 
-GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
+GST_PLUGINS_BASE_DEPENDENCIES = gstreamer orc
 
 # alsa support needs pcm+mixer support, but configure fails to check for it
 ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yyy)
package/orc/Config.in new file +6 -0
new file mode 100644
index 0000000..d94856c
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_ORC
+	bool "orc"
+	help
+	  Library of simple functions that are optimized for various CPUs.
+
+	  http://code.entropywave.com/download/orc/
package/orc/orc.mk new file +7 -0
new file mode 100644
index 0000000..ef57023
@@ -0,0 +1,7 @@
+ORC_VERSION = 0.4.11
+ORC_SOURCE = orc-$(ORC_VERSION).tar.gz
+ORC_SITE = http://code.entropywave.com/download/orc/
+ORC_INSTALL_STAGING = YES
+ORC_INSTALL_TARGET = YES
+
+$(eval $(call AUTOTARGETS,package,orc))
Signature · 1 line
1.7.4.1.g4f7e4
#6 lore raw

PATCH 2/2 Add orc package

Hello,

There was already a orc package in the bug tracker, which I started to test this week, but didn't had the time to finish.

Thomas

Quoted 76 lines · On Fri, 4 Feb 2011 20:25:13 +0200 Felipe Contreras…

And add GStreamer dependencies (although they are not strong).

---
 package/Config.in                                  |    1 +
 .../multimedia/gst-plugins-bad/gst-plugins-bad.mk  |    2 +-
 .../gst-plugins-base/gst-plugins-base.mk           |    2 +-
 package/orc/Config.in                              |    6 ++++++
 package/orc/orc.mk                                 |    7 +++++++
 5 files changed, 16 insertions(+), 2 deletions(-)
 create mode 100644 package/orc/Config.in
 create mode 100644 package/orc/orc.mk
package/Config.in +1 -0
index 16a9e8f..0004e6d 100644
@@ -333,6 +333,7 @@ source "package/libffi/Config.in"
 source "package/libglib2/Config.in"
 source "package/liboil/Config.in"
 source "package/libsigc/Config.in"
+source "package/orc/Config.in"
 source "package/startup-notification/Config.in"
 endmenu
 
(quoted diff) +0 -0

b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk index c300256..00f78a8 100644 --- a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk +++ b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk @@ -11,7 +11,7 @@ GST_PLUGINS_BAD_LIBTOOL_PATCH = NO GST_PLUGINS_BAD_CONF_OPT = \ --disable-examples

package/multimedia/gst-plugins-bad/gst-plugins-bad.mk +1 -1
-GST_PLUGINS_BAD_DEPENDENCIES = gst-plugins-base gstreamer
+GST_PLUGINS_BAD_DEPENDENCIES = gst-plugins-base gstreamer orc
 
 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_AACPARSE),y)
 GST_PLUGINS_BAD_CONF_OPT += --enable-aacparse
(quoted diff) +0 -0

b/package/multimedia/gst-plugins-base/gst-plugins-base.mk index 828d156..2df1818 100644 --- a/package/multimedia/gst-plugins-base/gst-plugins-base.mk +++ b/package/multimedia/gst-plugins-base/gst-plugins-base.mk @@ -25,7 +25,7 @@ GST_PLUGINS_BASE_CONF_OPT = \ --disable-vorbistest \

package/multimedia/gst-plugins-base/gst-plugins-base.mk +1 -1
 		--disable-freetypetest
 
-GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
+GST_PLUGINS_BASE_DEPENDENCIES = gstreamer orc
 
 # alsa support needs pcm+mixer support, but configure fails to check

for it ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yyy)

package/orc/Config.in new file renamed from package/orc/Config.in +0 -0

mode 100644 index 0000000..d94856c

package/orc/Config.in new file +4 -0
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_ORC
+	bool "orc"
+	help
+	  Library of simple functions that are optimized for various

CPUs. +

package/orc/Config.in new file +1 -0
+	  http://code.entropywave.com/download/orc/
package/orc/orc.mk new file +7 -0
new file mode 100644
index 0000000..ef57023
@@ -0,0 +1,7 @@
+ORC_VERSION = 0.4.11
+ORC_SOURCE = orc-$(ORC_VERSION).tar.gz
+ORC_SITE = http://code.entropywave.com/download/orc/
+ORC_INSTALL_STAGING = YES
+ORC_INSTALL_TARGET = YES
+
+$(eval $(call AUTOTARGETS,package,orc))
Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#7 lore raw

PATCH 2/2 Add orc package

In reply to Felipe Contreras
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Felipe" == Felipe Contreras <[email protected]> writes:

Felipe> And add GStreamer dependencies (although they are not strong).

If it isn't a hard dependency, then you shouldn't enforce it by unconditionally adding it to *_DEPENDENCIES.

Instead, make sure it gets build before gst-plugins-* if it is enabled. See how we handle E.G. optional openssl support in a bunch of packages:

ifeq ($(BR2_PACKAGE_OPENSSL),y)

        HOSTAPD_DEPENDENCIES += openssl

..

Signature · 1 line
Bye, Peter Korsgaard