add Gstreamer 1.X for gst-omx support
v9 cover add Gstreamer 1.X for gst-omx support
This patch adds gst-omx support to buildroot. Thus, making it possible to use gstreamer applications which utilize hardware acceleration on OpenMAX supported systems.
To add gst-omx, libglib2 is bumped to 2.36.1 and gstreamer1 is added.
In addition, the patches include the libvpx library and enablement in gstreamer. This is meant to give an example of how to add support in the future.
To test this patch series on the Raspberry Pi, select the eglgles plugin in gst1-plugins-bad and select gst-omx. To decode a 720p h264 encoded .mov file, the following gst-launch pipeline can be used.
Sample file: http://download.blender.org/peach/trailer/trailer_720p.mov
# gst-launch-1.0 filesrc location=/path/to/file \ # ! qtdemux ! h264parse ! omx264dec ! eglglessink
v8 -> v9:
- Fix webkit build failures due to libglib2 bump.
- bump gdk-pixbuf to 2.28.1
- bump libgtk2 to 2.24.18
- bump libsoup to 2.43.1
- bump webkit to 1.9.6
v7 -> v8:
- Incoporate threads patch and rebase on top of master.
v6 -> v7:
- Additional verification complete with both RPi and Bellagio.
- Moved additional includes to the gst-omx and gst-plugins bad packages for openmax and eglgles.
- A patch was added that ensures that the config files point to the correct location.
v5 -> v6:
- Combined libglib patches to allow git-bisect
- added libopenmax virtual package for gst-omx (and future omx packages)
v4 -> v5:
- added gst-omx as a new package
- combined glib bump to 2.36.1 with gstreamer 1.x and gst-omx (libglib 2.32.1 is required for gstreamer 1.X)
v3 -> v4:
- uses new style if/endif syntax and removes depends properties for config elements in gstreamer1
v2 -> v3:
- fixes issues found while building with all/none plugins enabled
- change naming from gst-plugins-<blah>1 to gst1-plugins-<blah>
- options which require currently unpackged libraries are disabled
v1 -> v2:
- completed patch by adding good/bad/ugly plguins.
*** BLURB HERE ***
Spenser Gilliland (14):
libglib2: Bump libglib2 to 2.36.1
gdk-pixbuf: bump to version 2.28.1
libgtk2: bump to version 2.24.18
libsoup: bump to version 2.43.1
webkit: bump to version 1.9.6
gstreamer1: Add gstreamer version 1.0.7 package
gst1-plugins-base: add gstreamer1 base plugins
gst1-plugins-good: add gstreamer1 good plugins
gst1-plugins-bad: add gstreamer1 bad plugins
gst1-plugins-ugly: add gstreamer1 ugly plugins
libvpx: new package libvpx
gst1-plugins-good: add libvpx support
libopenmax: Add libopenmax virtual package
gst-omx: add gst-omx package
package/gdk-pixbuf/gdk-pixbuf.mk | 2 +- package/glib-networking/glib-networking.mk | 4 +- package/glibmm/glibmm.mk | 2 +- ...ib2-0004-fix-build-when-no-thread-support.patch | 18 +- ...b2-make-codegen-python2-python3-compliant.patch | 192 ------ package/libglib2/libglib2-no-tests.patch | 117 ---- package/libglib2/libglib2.mk | 10 +- package/libgtk2/Config.in | 13 +- package/libgtk2/libgtk2-reduce-dependencies.patch | 51 +- package/libgtk2/libgtk2.mk | 2 +- package/libsoup/Config.in | 1 + package/libsoup/libsoup.mk | 6 +- package/multimedia/Config.in | 7 + package/multimedia/bellagio/Config.in | 1 + package/multimedia/gst-omx/Config.in | 11 + .../multimedia/gst-omx/gst-omx-config-files.patch | 127 ++++ package/multimedia/gst-omx/gst-omx.mk | 37 ++ package/multimedia/gst1-plugins-bad/Config.in | 325 ++++++++++ .../gst1-plugins-bad/gst1-plugins-bad.mk | 664 +++++++++++++++++++ package/multimedia/gst1-plugins-base/Config.in | 106 +++ .../gst1-plugins-base/gst1-plugins-base.mk | 201 ++++++ package/multimedia/gst1-plugins-good/Config.in | 218 +++++++ .../gst1-plugins-good/gst1-plugins-good.mk | 406 ++++++++++++ package/multimedia/gst1-plugins-ugly/Config.in | 49 ++ .../gst1-plugins-ugly/gst1-plugins-ugly.mk | 89 +++ package/multimedia/gstreamer1/Config.in | 38 ++ package/multimedia/gstreamer1/gstreamer1.mk | 36 ++ package/multimedia/libvpx/Config.in | 6 + package/multimedia/libvpx/libvpx.mk | 53 ++ package/opengl/Config.in | 3 + package/opengl/libopenmax/libopenmax.mk | 24 + package/rpi-userland/Config.in | 1 + package/webkit/webkit-bison-2-6-compat.patch | 672 -------------------- package/webkit/webkit-disable-docrebase.patch | 21 + package/webkit/webkit-disable-tests.patch | 76 +++ package/webkit/webkit-execinfo_h.patch | 24 + .../webkit-fix-build-issue-with-old-gtk.patch | 22 - package/webkit/webkit-fix-build-with-gcc-4-6.patch | 45 -- .../webkit-fix-compilation-on-DirectFB-2.patch | 33 - .../webkit-fix-compilation-on-DirectFB.patch | 144 ----- package/webkit/webkit-fix-pool.patch | 67 -- package/webkit/webkit-pthread_getattr_np.patch | 80 --- package/webkit/webkit.mk | 31 +- 43 files changed, 2598 insertions(+), 1437 deletions(-) delete mode 100644 package/libglib2/libglib2-make-codegen-python2-python3-compliant.patch delete mode 100644 package/libglib2/libglib2-no-tests.patch create mode 100644 package/multimedia/gst-omx/Config.in create mode 100644 package/multimedia/gst-omx/gst-omx-config-files.patch create mode 100644 package/multimedia/gst-omx/gst-omx.mk create mode 100644 package/multimedia/gst1-plugins-bad/Config.in create mode 100644 package/multimedia/gst1-plugins-bad/gst1-plugins-bad.mk create mode 100644 package/multimedia/gst1-plugins-base/Config.in create mode 100644 package/multimedia/gst1-plugins-base/gst1-plugins-base.mk create mode 100644 package/multimedia/gst1-plugins-good/Config.in create mode 100644 package/multimedia/gst1-plugins-good/gst1-plugins-good.mk create mode 100644 package/multimedia/gst1-plugins-ugly/Config.in create mode 100644 package/multimedia/gst1-plugins-ugly/gst1-plugins-ugly.mk create mode 100644 package/multimedia/gstreamer1/Config.in create mode 100644 package/multimedia/gstreamer1/gstreamer1.mk create mode 100644 package/multimedia/libvpx/Config.in create mode 100644 package/multimedia/libvpx/libvpx.mk create mode 100644 package/opengl/libopenmax/libopenmax.mk delete mode 100644 package/webkit/webkit-bison-2-6-compat.patch create mode 100644 package/webkit/webkit-disable-docrebase.patch create mode 100644 package/webkit/webkit-disable-tests.patch create mode 100644 package/webkit/webkit-execinfo_h.patch delete mode 100644 package/webkit/webkit-fix-build-issue-with-old-gtk.patch delete mode 100644 package/webkit/webkit-fix-build-with-gcc-4-6.patch delete mode 100644 package/webkit/webkit-fix-compilation-on-DirectFB-2.patch delete mode 100644 package/webkit/webkit-fix-compilation-on-DirectFB.patch delete mode 100644 package/webkit/webkit-fix-pool.patch delete mode 100644 package/webkit/webkit-pthread_getattr_np.patch
Signature · 1 line
1.7.9.5
PATCH v9 1/14 libglib2: Bump libglib2 to 2.36.1
This patch bumps libglib2 to version 2.36.1. In addition this bumps glibmm and glib-networking to 2.36.1.
--- package/glib-networking/glib-networking.mk | 4 +- package/glibmm/glibmm.mk | 2 +- ...ib2-0004-fix-build-when-no-thread-support.patch | 18 +- ...b2-make-codegen-python2-python3-compliant.patch | 192 -------------------- package/libglib2/libglib2-no-tests.patch | 117 ------------ package/libglib2/libglib2.mk | 10 +- 6 files changed, 19 insertions(+), 324 deletions(-) delete mode 100644 package/libglib2/libglib2-make-codegen-python2-python3-compliant.patch delete mode 100644 package/libglib2/libglib2-no-tests.patch
package/glib-networking/glib-networking.mk +2 -2
@@ -4,8 +4,8 @@ # ############################################################# -GLIB_NETWORKING_MAJOR_VERSION = 2.30 -GLIB_NETWORKING_MINOR_VERSION = 2 +GLIB_NETWORKING_MAJOR_VERSION = 2.36 +GLIB_NETWORKING_MINOR_VERSION = 1 GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_MAJOR_VERSION).$(GLIB_NETWORKING_MINOR_VERSION) GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(GLIB_NETWORKING_MAJOR_VERSION) GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz
package/glibmm/glibmm.mk +1 -1
@@ -4,7 +4,7 @@ # ############################################################# -GLIBMM_VERSION_MAJOR = 2.30 +GLIBMM_VERSION_MAJOR = 2.36 GLIBMM_VERSION_MINOR = 1 GLIBMM_VERSION = $(GLIBMM_VERSION_MAJOR).$(GLIBMM_VERSION_MINOR) GLIBMM_LICENSE = LGPLv2.1+ (library), GPLv2+ (tools)
package/libglib2/libglib2-0004-fix-build-when-no-thread-support.patch +10 -8
@@ -1,27 +1,29 @@ Fix gio/gcancellable.c build when thread support is disabled +Changes: + Updated for 2.36.1 + Signed-off-by: "Samuel Martin" <[email protected]> +Signed-off-by: "Spenser Gilliland" <[email protected]> --- ---- a/gio/gcancellable.c 2013-05-14 23:08:25.514461348 +0200 -+++ b/gio/gcancellable.c 2013-05-14 23:10:23.347789625 +0200 -@@ -270,8 +270,10 @@ g_cancellable_reset (GCancellable *cance +--- libglib2-2.36.1.orig/gio/gcancellable.c 2013-03-13 08:39:09.000000000 -0500 ++++ libglib2-2.36.1/gio/gcancellable.c 2013-05-26 10:49:32.366019891 -0500 +@@ -267,7 +267,9 @@ while (priv->cancelled_running) { priv->cancelled_running_waiting = TRUE; +#if defined(G_THREADS_ENABLED) - g_cond_wait (cancellable_cond, - g_static_mutex_get_mutex (& G_LOCK_NAME (cancellable))); + g_cond_wait (&cancellable_cond, &cancellable_mutex); +#endif } if (priv->cancelled) -@@ -619,8 +621,10 @@ g_cancellable_disconnect (GCancellable +@@ -620,7 +622,9 @@ while (priv->cancelled_running) { priv->cancelled_running_waiting = TRUE; +#if defined(G_THREADS_ENABLED) - g_cond_wait (cancellable_cond, - g_static_mutex_get_mutex (& G_LOCK_NAME (cancellable))); + g_cond_wait (&cancellable_cond, &cancellable_mutex); +#endif }
package/libglib2/libglib2-make-codegen-python2-python3-compliant.patch deleted +0 -192
192 lines not on this page · raw message
package/libglib2/libglib2-no-tests.patch deleted +0 -117
117 lines not on this page · raw message
package/libglib2/libglib2.mk +6 -4
@@ -3,8 +3,8 @@ # libglib2 # ############################################################# -LIBGLIB2_VERSION_MAJOR = 2.30 -LIBGLIB2_VERSION_MINOR = 3 +LIBGLIB2_VERSION_MAJOR = 2.36 +LIBGLIB2_VERSION_MINOR = 1 LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).$(LIBGLIB2_VERSION_MINOR) LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.xz LIBGLIB2_SITE = http://ftp.gnome.org/pub/gnome/sources/glib/$(LIBGLIB2_VERSION_MAJOR)
@@ -44,6 +44,8 @@ LIBGLIB2_CONF_ENV = \ ac_cv_path_GLIB_GENMARSHAL=$(HOST_DIR)/usr/bin/glib-genmarshal ac_cv_prog_F77=no \ ac_cv_func_posix_getgrgid_r=no glib_cv_long_long_format=ll \ ac_cv_func_printf_unix98=yes ac_cv_func_vsnprintf_c99=yes \ + ac_cv_func_newlocale=no ac_cv_func_uselocale=no \ + ac_cv_func_strtod_l=no ac_cv_func_strtoll_l=no ac_cv_func_strtoull_l=no \ gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no) # old uClibc versions don't provide qsort_r
@@ -64,9 +66,9 @@ HOST_LIBGLIB2_CONF_OPT = \ --disable-dtrace \ --disable-systemtap \ --disable-gcov \ - --disable-tests + --disable-modular-tests -LIBGLIB2_CONF_OPT += --disable-tests +LIBGLIB2_CONF_OPT += --disable-modular-tests ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) LIBGLIB2_CONF_OPT += --with-threads=none --disable-threads endif
Signature · 1 line
1.7.9.5
PATCH v9 1/14 libglib2: Bump libglib2 to 2.36.1
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Spenser" == Spenser Gilliland <[email protected]> writes:
Spenser> This patch bumps libglib2 to version 2.36.1. In addition this Spenser> bumps glibmm and glib-networking to 2.36.1.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v9 2/14 gdk-pixbuf: bump to version 2.28.1
In reply to Spenser Gilliland--- package/gdk-pixbuf/gdk-pixbuf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/gdk-pixbuf/gdk-pixbuf.mk +1 -1
@@ -4,7 +4,7 @@ # ############################################################# -GDK_PIXBUF_MAJOR_VERSION = 2.24 +GDK_PIXBUF_MAJOR_VERSION = 2.28 GDK_PIXBUF_VERSION = $(GDK_PIXBUF_MAJOR_VERSION).1 GDK_PIXBUF_SOURCE = gdk-pixbuf-$(GDK_PIXBUF_VERSION).tar.xz GDK_PIXBUF_SITE = http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/$(GDK_PIXBUF_MAJOR_VERSION)
Signature · 1 line
1.7.9.5
PATCH v9 2/14 gdk-pixbuf: bump to version 2.28.1
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Spenser" == Spenser Gilliland <[email protected]> writes:
Spenser> Signed-off-by: Spenser Gilliland <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v9 3/14 libgtk2: bump to version 2.24.18
In reply to Spenser Gilliland--- package/libgtk2/Config.in | 13 ++---- package/libgtk2/libgtk2-reduce-dependencies.patch | 51 +++++++++++---------- package/libgtk2/libgtk2.mk | 2 +- 3 files changed, 32 insertions(+), 34 deletions(-)
package/libgtk2/Config.in +5 -8
@@ -8,11 +8,11 @@ config BR2_PACKAGE_LIBGTK2 select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_PANGO select BR2_PACKAGE_GDK_PIXBUF - select BR2_PACKAGE_FONTCONFIG if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_XORG7 - depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB + select BR2_PACKAGE_FONTCONFIG + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXRENDER + depends on BR2_PACKAGE_XORG7 depends on BR2_USE_WCHAR # glib2 depends on BR2_INSTALL_LIBSTDCPP # pango help
@@ -29,6 +29,3 @@ config BR2_PACKAGE_LIBGTK2_DEMO comment "libgtk2 requires a toolchain with WCHAR and C++ support" depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP - -comment "WARNING: Libgtk2 directfb backend is deprecated" - depends on BR2_PACKAGE_LIBGTK2 && !BR2_PACKAGE_XORG7
package/libgtk2/libgtk2-reduce-dependencies.patch +26 -25
120 lines not on this page · raw message
package/libgtk2/libgtk2.mk +1 -1
@@ -4,7 +4,7 @@ # ############################################################# LIBGTK2_VERSION_MAJOR = 2.24 -LIBGTK2_VERSION_MINOR = 10 +LIBGTK2_VERSION_MINOR = 18 LIBGTK2_VERSION = $(LIBGTK2_VERSION_MAJOR).$(LIBGTK2_VERSION_MINOR) LIBGTK2_SOURCE = gtk+-$(LIBGTK2_VERSION).tar.xz
Signature · 1 line
1.7.9.5
PATCH v9 3/14 libgtk2: bump to version 2.24.18
Dear Spenser Gilliland,
Quoted 30 lines · Spenser Gilliland
Signed-off-by Spenser Gilliland <[email protected]>--- package/libgtk2/Config.in | 13 ++---- package/libgtk2/libgtk2-reduce-dependencies.patch | 51 +++++++++++---------- package/libgtk2/libgtk2.mk | 2 +- 3 files changed, 32 insertions(+), 34 deletions(-)package/libgtk2/Config.in +5
-5@@ -8,11 +8,11 @@ config BR2_PACKAGE_LIBGTK2 select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_PANGO select BR2_PACKAGE_GDK_PIXBUF - select BR2_PACKAGE_FONTCONFIG if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_XORG7 - depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB + select BR2_PACKAGE_FONTCONFIG + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXRENDER + depends on BR2_PACKAGE_XORG7 depends on BR2_USE_WCHAR # glib2 depends on BR2_INSTALL_LIBSTDCPP # pango help
package/libgtk2/Config.in config BR2_PACKAGE_LIBGTK2_DEMO · line 34
Quoted 6 lines
package/libgtk2/Config.in +0
-3@@ -29,6 +29,3 @@ config BR2_PACKAGE_LIBGTK2_DEMO comment "libgtk2 requires a toolchain with WCHAR and C++ support" depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP - -comment "WARNING: Libgtk2 directfb backend is deprecated" - depends on BR2_PACKAGE_LIBGTK2 && !BR2_PACKAGE_XORG7
Please mention explicitly in the commit log that you are dropping DirectFB support for good. Generally speaking, your commit log would need to be a little bit more detailed about what you're doing. No need to give gazillion of details, but highlighting the important changes is good when the bump is not simply a mechanical bump.
Also, I believe more parts of libgtk2.mk can be removed if you remove DirectFB support:
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
LIBGTK2_CONF_OPT += --with-gdktarget=directfb
LIBGTK2_DEPENDENCIES += directfbendif
and also all the code that was enclosed in a ifeq ($(BR2_PACKAGE_XORG7),y) can now go out of this conditional.
Or maybe you want to do two separate patches: one that drops the DirectFB support, and then one that bumps to 2.24.18.
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
PATCH v9 3/14 libgtk2: bump to version 2.24.18
Thomas,
Quoted 9 lines
Please mention explicitly in the commit log that you are dropping DirectFB support for good. Generally speaking, your commit log would need to be a little bit more detailed about what you're doing. No need to give gazillion of details, but highlighting the important changes is good when the bump is not simply a mechanical bump.
Also, I believe more parts of libgtk2.mk can be removed if you remove DirectFB support:
Quoted 7 lines
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
LIBGTK2_CONF_OPT += --with-gdktarget=directfb LIBGTK2_DEPENDENCIES += directfbendif
and also all the code that was enclosed in a ifeq ($(BR2_PACKAGE_XORG7),y) can now go out of this conditional.
This has been fixed in the newest version.
Quoted 2 lines
Or maybe you want to do two separate patches: one that drops the DirectFB support, and then one that bumps to 2.24.18.
I've update the patch title to
libgtk2: bump to version 2.24.18 and drop DirectFB
the commit message states.
* Drop DirectFB support from libgtk2
* bump libgtk2 to version 2.24.18
Quoted 1 line
Thanks!
Thanks,
Spenser
--
Spenser Gilliland
Computer Engineer
Doctoral Candidate
PATCH v9 3/14 libgtk2: bump to version 2.24.18
In reply to Spenser GillilandQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Spenser" == Spenser Gilliland <[email protected]> writes:
Spenser> Signed-off-by: Spenser Gilliland <[email protected]> Spenser> ---
Spenser> package/libgtk2/Config.in | 13 ++---- Spenser> package/libgtk2/libgtk2-reduce-dependencies.patch | 51 +++++++++++---------- Spenser> package/libgtk2/libgtk2.mk | 2 +-
Spenser> 3 files changed, 32 insertions(+), 34 deletions(-)
Spenser> +++ b/package/libgtk2/libgtk2-reduce-dependencies.patch
Spenser> @@ -3,21 +3,23 @@ dependencies on graphic backends such as X.org or DirectFB. Gtk does Spenser> not fully build in this mode, but it builds sufficiently to build the Spenser> host tools that are needed to build the target Gtk.
Spenser> +Changes:
Spenser> + Ported to 2.24.18
Spenser> +
Spenser> Signed-off-by: Thomas Petazzoni <[email protected]> Spenser> +Signed-off-by: Spenser Gilliland <[email protected]> Spenser> ---
Spenser> - configure.in | 34 +++++++++++++++++++++++++++-------
Spenser> - 1 file changed, 27 insertions(+), 7 deletions(-) Spenser> -
Spenser> -Index: b/configure.in
Spenser> +Index: libgtk2-2.24.18/configure.ac
Spenser> =================================================================== Spenser> ---- a/configure.in
Spenser> -+++ b/configure.in
Spenser> -@@ -259,12 +259,12 @@
Spenser> +--- libgtk2-2.24.18.orig/configure.ac 2013-05-13 07:02:44.000000000 -0500
Spenser> ++++ libgtk2-2.24.18/configure.ac 2013-05-27 02:12:09.947030335 -0500
Spenser> +@@ -258,12 +258,13 @@
Spenser> gdktarget=x11
Spenser> fi
Spenser> -AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/win32/quartz/directfb]] select non-default GDK target], Spenser> -+AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/win32/quartz/directfb/none]] select non-default GDK target], Spenser> ++AC_ARG_WITH(gdktarget,
Spenser> ++ [ --with-gdktarget=[[x11/win32/quartz/directfb/none]] select non-default GDK target],
I see number of white space changes in this patch. Why is that? Could you fix and send a v10 including your directfb changed.
Thanks!
Signature · 1 line
Bye, Peter Korsgaard
PATCH v9 3/14 libgtk2: bump to version 2.24.18
Quoted 35 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Spenser" == Spenser Gilliland <[email protected]> writes:
Spenser> Signed-off-by: Spenser Gilliland <[email protected]> Spenser> ---
Spenser> package/libgtk2/Config.in | 13 ++---- Spenser> package/libgtk2/libgtk2-reduce-dependencies.patch | 51 +++++++++++---------- Spenser> package/libgtk2/libgtk2.mk | 2 +-Spenser> 3 files changed, 32 insertions(+), 34 deletions(-)
Spenser> +++
b/package/libgtk2/libgtk2-reduce-dependencies.patch
Spenser> @@ -3,21 +3,23 @@ dependencies on graphic backends such as X.org or DirectFB. Gtk does Spenser> not fully build in this mode, but it builds sufficiently to build the Spenser> host tools that are needed to build the target Gtk.Spenser> +Changes:
Spenser> + Ported to 2.24.18
Spenser> +
Spenser> Signed-off-by: Thomas Petazzoni <[email protected]> Spenser> +Signed-off-by: Spenser Gilliland <[email protected]> Spenser> ---Spenser> - configure.in | 34 +++++++++++++++++++++++++++-------Spenser> - 1 file changed, 27 insertions(+), 7 deletions(-) Spenser> -
Spenser> -Index: b/configure.in
Spenser> +Index: libgtk2-2.24.18/configure.ac
Spenser> =================================================================== Spenser> ---- a/configure.in
Spenser> -+++ b/configure.in
Spenser> -@@ -259,12 +259,12 @@
Spenser> +--- libgtk2-2.24.18.orig/configure.ac 2013-05-13 07:02:44.000000000 -0500
Spenser> ++++ libgtk2-2.24.18/configure.ac 2013-05-27 02:12:09.947030335 -0500
Spenser> +@@ -258,12 +258,13 @@
Spenser> gdktarget=x11
Spenser> fi
Quoted 7 lines
Spenser> -AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/win32/quartz/directfb]] select non-default GDK target], Spenser> -+AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/win32/quartz/directfb/none]] select non-default GDK target], Spenser> ++AC_ARG_WITH(gdktarget,
Spenser> ++ [ --with-gdktarget=[[x11/win32/quartz/directfb/none]] select non-default GDK target],I see number of white space changes in this patch. Why is that? Could you fix and send a v10 including your directfb changed.
As the patch did not apply to the new code. I had to rewrite. It. I tried to follow the coding style of the source.
Quoted 4 lines
Thanks!
--
Bye, Peter Korsgaard
Spenser
--
Spenser Gilliland
Computer Engineer
Doctoral Candidate
PATCH v9 4/14 libsoup: bump to version 2.43.1
In reply to Spenser Gilliland--- package/libsoup/Config.in | 1 + package/libsoup/libsoup.mk | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-)
package/libsoup/Config.in +1 -0
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LIBSOUP select BR2_PACKAGE_LIBXML2 select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT + select BR2_PACKAGE_SQLITE help libsoup is an HTTP client/server library. It uses GObject and the GLib main loop, to integrate well with GNOME
package/libsoup/libsoup.mk +3 -3
@@ -4,10 +4,10 @@ # ############################################################# -LIBSOUP_MAJOR_VERSION = 2.36 +LIBSOUP_MAJOR_VERSION = 2.43 LIBSOUP_MINOR_VERSION = 1 LIBSOUP_VERSION = $(LIBSOUP_MAJOR_VERSION).$(LIBSOUP_MINOR_VERSION) -LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.bz2 +LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz LIBSOUP_SITE = http://ftp.gnome.org/pub/gnome/sources/libsoup/$(LIBSOUP_MAJOR_VERSION) LIBSOUP_INSTALL_STAGING = YES
@@ -19,7 +19,7 @@ endif LIBSOUP_CONF_OPT = --disable-glibtest --without-gnome -LIBSOUP_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) host-pkgconf host-libglib2 libglib2 libxml2 +LIBSOUP_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) host-pkgconf host-libglib2 libglib2 libxml2 sqlite ifeq ($(BR2_PACKAGE_LIBSOUP_SSL),y) LIBSOUP_DEPENDENCIES += glib-networking
Signature · 1 line
1.7.9.5
PATCH v9 5/14 webkit: bump to version 1.9.6
In reply to Spenser Gilliland--- package/webkit/webkit-bison-2-6-compat.patch | 672 -------------------- package/webkit/webkit-disable-docrebase.patch | 21 + package/webkit/webkit-disable-tests.patch | 76 +++ package/webkit/webkit-execinfo_h.patch | 24 + .../webkit-fix-build-issue-with-old-gtk.patch | 22 - package/webkit/webkit-fix-build-with-gcc-4-6.patch | 45 -- .../webkit-fix-compilation-on-DirectFB-2.patch | 33 - .../webkit-fix-compilation-on-DirectFB.patch | 144 ----- package/webkit/webkit-fix-pool.patch | 67 -- package/webkit/webkit-pthread_getattr_np.patch | 80 --- package/webkit/webkit.mk | 31 +- 11 files changed, 140 insertions(+), 1075 deletions(-) delete mode 100644 package/webkit/webkit-bison-2-6-compat.patch create mode 100644 package/webkit/webkit-disable-docrebase.patch create mode 100644 package/webkit/webkit-disable-tests.patch create mode 100644 package/webkit/webkit-execinfo_h.patch delete mode 100644 package/webkit/webkit-fix-build-issue-with-old-gtk.patch delete mode 100644 package/webkit/webkit-fix-build-with-gcc-4-6.patch delete mode 100644 package/webkit/webkit-fix-compilation-on-DirectFB-2.patch delete mode 100644 package/webkit/webkit-fix-compilation-on-DirectFB.patch delete mode 100644 package/webkit/webkit-fix-pool.patch delete mode 100644 package/webkit/webkit-pthread_getattr_np.patch
package/webkit/webkit-bison-2-6-compat.patch deleted +0 -672
@@ -1,672 +0,0 @@ -Bison 2.6 compatibility fix - -Taken from upstream at http://trac.webkit.org/changeset/124099, with -minor adaptations. - -Signed-off-by: Thomas Petazzoni <[email protected]> - -Index: webkit-1.2.7/WebCore/ChangeLog -=================================================================== ---- webkit-1.2.7.orig/WebCore/ChangeLog 2010-12-28 13:27:37.000000000 +0100 -+++ webkit-1.2.7/WebCore/ChangeLog 2012-12-15 15:48:40.000000000 +0100 -@@ -1,3 +1,28 @@ -+2012-07-30 Alexis Menard <[email protected]> -+ -+ Build fix with newer bison 2.6. -+ https://bugs.webkit.org/show_bug.cgi?id=92264 -+ -+ Reviewed by Adam Barth. -+ -+ As stated in http://www.gnu.org/software/bison/manual/html_node/Table-of-Symbols.html -+ YYLEX_PARAM and YYPARSE_PARAM are depecreated since version 1.875. So far all Mac OS -+ version I had access to as well as recent Linux runs at least version 2.3 so it's safe -+ to use the replacement of these deprecated macros in favor of %lex-param and %parse-param. -+ As announced http://lists.gnu.org/archive/html/info-gnu/2012-07/msg00011.html with the release -+ of version 2.6 YYLEX_PARAM and YYPARSE_PARAM are not supported anymore. -+ -+ No new tests : build fix and the patch should not trigger any regressions -+ -+ * css/CSSGrammar.y: -+ * css/CSSParser.cpp: -+ * xml/XPathGrammar.y: Refactored a bit to not use an intermediate PARSER define. -+ * xml/XPathParser.cpp: bison 2.6 declare xpathyyparse in the .h file now, i.e. XPathGrammar.h -+ therefore including this file within the namespace {} declarations leads to xpathyyparse being -+ defined part of WebCore::XPath namespaces but the actual implementation of xpathyyparse is in XPathGrammar.cpp -+ (generated) and not implemented within the WebCore::XPath so it lead to linking issues. Last, XPathGrammar.h needs -+ to be included after the other includes as it uses some XPath types. It breaks the style but CSSParser.cpp is doing the same. -+ - 2010-06-21 Philippe Normand <[email protected]> - - Reviewed by Xan Lopez. -Index: webkit-1.2.7/WebCore/css/CSSParser.cpp -=================================================================== ---- webkit-1.2.7.orig/WebCore/css/CSSParser.cpp 2010-12-28 13:24:33.000000000 +0100 -+++ webkit-1.2.7/WebCore/css/CSSParser.cpp 2012-12-15 17:29:57.000000000 +0100 -@@ -81,7 +81,7 @@ - extern int cssyydebug; - #endif - --extern int cssyyparse(void* parser); -+extern int cssyyparse(WebCore::CSSParser*); - - using namespace std; - using namespace WTF; -@@ -226,7 +226,7 @@ - m_defaultNamespace = starAtom; // Reset the default namespace. - - setupParser("", string, ""); -- cssyyparse(this); -+ ::cssyyparse(this); - m_rule = 0; - } - -@@ -235,7 +235,7 @@ - m_styleSheet = sheet; - m_allowNamespaceDeclarations = false; - setupParser("@-webkit-rule{", string, "} "); -- cssyyparse(this); -+ ::cssyyparse(this); - return m_rule.release(); - } - -@@ -243,7 +243,7 @@ - { - m_styleSheet = sheet; - setupParser("@-webkit-keyframe-rule{ ", string, "} "); -- cssyyparse(this); -+ ::cssyyparse(this); - return m_keyframe.release(); - } - -@@ -257,7 +257,7 @@ - m_id = id; - m_important = important; - -- cssyyparse(this); -+ ::cssyyparse(this); - - m_rule = 0; - -@@ -304,7 +304,7 @@ - m_styleSheet = static_cast<CSSStyleSheet*>(declaration->stylesheet()); - - setupParser("@-webkit-decls{color:", string, "} "); -- cssyyparse(this); -+ ::cssyyparse(this); - m_rule = 0; - - return (m_numParsedProperties && m_parsedProperties[0]->m_id == CSSPropertyColor); -@@ -319,7 +319,7 @@ - - setupParser("@-webkit-selector{", string, "}"); - -- cssyyparse(this); -+ ::cssyyparse(this); - - m_selectorListForParseSelector = 0; - } -@@ -330,7 +330,7 @@ - m_styleSheet = static_cast<CSSStyleSheet*>(declaration->stylesheet()); - - setupParser("@-webkit-decls{", string, "} "); -- cssyyparse(this); -+ ::cssyyparse(this); - m_rule = 0; - - bool ok = false; -@@ -354,7 +354,7 @@ - // can't use { because tokenizer state switches from mediaquery to initial state when it sees { token. - // instead insert one " " (which is WHITESPACE in CSSGrammar.y) - setupParser("@-webkit-mediaquery ", string, "} "); -- cssyyparse(this); -+ ::cssyyparse(this); - - bool ok = false; - if (m_mediaQuery) { -@@ -5191,7 +5191,7 @@ - nameValuePair += variableValue; - - setupParser("@-webkit-variables-decls{", nameValuePair, "} "); -- cssyyparse(this); -+ ::cssyyparse(this); - m_rule = 0; - - bool ok = false; -Index: webkit-1.2.7/WebCore/css/CSSGrammar.y -=================================================================== ---- webkit-1.2.7.orig/WebCore/css/CSSGrammar.y 2010-09-10 15:20:33.000000000 +0200 -+++ webkit-1.2.7/WebCore/css/CSSGrammar.y 2012-12-15 15:48:40.000000000 +0100 -@@ -51,14 +51,13 @@ - #define YYMAXDEPTH 10000 - #define YYDEBUG 0 - --// FIXME: Replace with %parse-param { CSSParser* parser } once we can depend on bison 2.x --#define YYPARSE_PARAM parser --#define YYLEX_PARAM parser -- - %} - - %pure_parser - -+%parse-param { CSSParser* parser } -+%lex-param { CSSParser* parser } -+ - %union { - bool boolean; - char character; -@@ -85,7 +84,7 @@ - - %{ - --static inline int cssyyerror(const char*) -+static inline int cssyyerror(void*, const char*) - { - return 1; - } -Index: webkit-1.2.7/WebCore/xml/XPathParser.cpp -=================================================================== ---- webkit-1.2.7.orig/WebCore/xml/XPathParser.cpp 2010-09-10 15:20:33.000000000 +0200 -+++ webkit-1.2.7/WebCore/xml/XPathParser.cpp 2012-12-15 15:56:37.000000000 +0100 -@@ -35,20 +35,18 @@ - #include "XPathEvaluator.h" - #include "XPathException.h" - #include "XPathNSResolver.h" -+#include "XPathPath.h" - #include "XPathStep.h" - #include <wtf/StdLibExtras.h> - --int xpathyyparse(void*); -- -+using namespace WebCore; - using namespace WTF; - using namespace Unicode; - --namespace WebCore { --namespace XPath { -- --class LocationPath; -+using namespace XPath; - --#include "XPathGrammar.h" -+extern int xpathyyparse(WebCore::XPath::Parser*); -+#include "XPathGrammar.h" - - Parser* Parser::currentParser = 0; - -@@ -630,7 +628,5 @@ - delete t; - } - --} --} - - #endif // ENABLE(XPATH) -Index: webkit-1.2.7/WebCore/xml/XPathGrammar.y -=================================================================== ---- webkit-1.2.7.orig/WebCore/xml/XPathGrammar.y 2010-02-05 17:26:58.000000000 +0100 -+++ webkit-1.2.7/WebCore/xml/XPathGrammar.y 2012-12-15 15:48:40.000000000 +0100 -@@ -36,6 +36,7 @@ - #include "XPathParser.h" - #include "XPathPath.h" - #include "XPathPredicate.h" -+#include "XPathStep.h" - #include "XPathVariableReference.h" - #include <wtf/FastMalloc.h> - -@@ -46,8 +47,6 @@ - #define YYLTYPE_IS_TRIVIAL 1 - #define YYDEBUG 0 - #define YYMAXDEPTH 10000 --#define YYPARSE_PARAM parserParameter --#define PARSER static_cast<Parser*>(parserParameter) - - using namespace WebCore; - using namespace XPath; -@@ -55,6 +54,7 @@ - %} - - %pure_parser -+%parse-param { WebCore::XPath::Parser* parser } - - %union - { -@@ -73,7 +73,7 @@ - %{ - - static int xpathyylex(YYSTYPE* yylval) { return Parser::current()->lex(yylval); } --static void xpathyyerror(const char*) { } -+static void xpathyyerror(void*, const char*) { } - - %} - -@@ -120,7 +120,7 @@ - Expr: - OrExpr - { -- PARSER->m_topExpr = $1; -+ parser->m_topExpr = $1; - } - ; - -@@ -140,7 +140,7 @@ - '/' - { - $$ = new LocationPath; -- PARSER->registerParseNode($$); -+ parser->registerParseNode($$); - } - | - '/' RelativeLocationPath -@@ -152,7 +152,7 @@ - { - $$ = $2; - $$->insertFirstStep($1); -- PARSER->unregisterParseNode($1); -+ parser->unregisterParseNode($1); - } - ; - -@@ -161,22 +161,22 @@ - { - $$ = new LocationPath; - $$->appendStep($1); -- PARSER->unregisterParseNode($1); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->registerParseNode($$); - } - | - RelativeLocationPath '/' Step - { - $$->appendStep($3); -- PARSER->unregisterParseNode($3); -+ parser->unregisterParseNode($3); - } - | - RelativeLocationPath DescendantOrSelf Step - { - $$->appendStep($2); - $$->appendStep($3); -- PARSER->unregisterParseNode($2); -- PARSER->unregisterParseNode($3); -+ parser->unregisterParseNode($2); -+ parser->unregisterParseNode($3); - } - ; - -@@ -185,58 +185,58 @@ - { - if ($2) { - $$ = new Step(Step::ChildAxis, *$1, *$2); -- PARSER->deletePredicateVector($2); -+ parser->deletePredicateVector($2); - } else - $$ = new Step(Step::ChildAxis, *$1); -- PARSER->deleteNodeTest($1); -- PARSER->registerParseNode($$); -+ parser->deleteNodeTest($1); -+ parser->registerParseNode($$); - } - | - NAMETEST OptionalPredicateList - { - String localName; - String namespaceURI; -- if (!PARSER->expandQName(*$1, localName, namespaceURI)) { -- PARSER->m_gotNamespaceError = true; -+ if (!parser->expandQName(*$1, localName, namespaceURI)) { -+ parser->m_gotNamespaceError = true; - YYABORT; - } - - if ($2) { - $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$2); -- PARSER->deletePredicateVector($2); -+ parser->deletePredicateVector($2); - } else - $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI)); -- PARSER->deleteString($1); -- PARSER->registerParseNode($$); -+ parser->deleteString($1); -+ parser->registerParseNode($$); - } - | - AxisSpecifier NodeTest OptionalPredicateList - { - if ($3) { - $$ = new Step($1, *$2, *$3); -- PARSER->deletePredicateVector($3); -+ parser->deletePredicateVector($3); - } else - $$ = new Step($1, *$2); -- PARSER->deleteNodeTest($2); -- PARSER->registerParseNode($$); -+ parser->deleteNodeTest($2); -+ parser->registerParseNode($$); - } - | - AxisSpecifier NAMETEST OptionalPredicateList - { - String localName; - String namespaceURI; -- if (!PARSER->expandQName(*$2, localName, namespaceURI)) { -- PARSER->m_gotNamespaceError = true; -+ if (!parser->expandQName(*$2, localName, namespaceURI)) { -+ parser->m_gotNamespaceError = true; - YYABORT; - } - - if ($3) { - $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$3); -- PARSER->deletePredicateVector($3); -+ parser->deletePredicateVector($3); - } else - $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI)); -- PARSER->deleteString($2); -- PARSER->registerParseNode($$); -+ parser->deleteString($2); -+ parser->registerParseNode($$); - } - | - AbbreviatedStep -@@ -261,23 +261,23 @@ - else if (*$1 == "comment") - $$ = new Step::NodeTest(Step::NodeTest::CommentNodeTest); - -- PARSER->deleteString($1); -- PARSER->registerNodeTest($$); -+ parser->deleteString($1); -+ parser->registerNodeTest($$); - } - | - PI '(' ')' - { - $$ = new Step::NodeTest(Step::NodeTest::ProcessingInstructionNodeTest); -- PARSER->deleteString($1); -- PARSER->registerNodeTest($$); -+ parser->deleteString($1); -+ parser->registerNodeTest($$); - } - | - PI '(' LITERAL ')' - { - $$ = new Step::NodeTest(Step::NodeTest::ProcessingInstructionNodeTest, $3->stripWhiteSpace()); -- PARSER->deleteString($1); -- PARSER->deleteString($3); -- PARSER->registerNodeTest($$); -+ parser->deleteString($1); -+ parser->deleteString($3); -+ parser->registerNodeTest($$); - } - ; - -@@ -295,14 +295,14 @@ - { - $$ = new Vector<Predicate*>; - $$->append(new Predicate($1)); -- PARSER->unregisterParseNode($1); -- PARSER->registerPredicateVector($$); -+ parser->unregisterParseNode($1); -+ parser->registerPredicateVector($$); - } - | - PredicateList Predicate - { - $$->append(new Predicate($2)); -- PARSER->unregisterParseNode($2); -+ parser->unregisterParseNode($2); - } - ; - -@@ -317,7 +317,7 @@ - SLASHSLASH - { - $$ = new Step(Step::DescendantOrSelfAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest)); -- PARSER->registerParseNode($$); -+ parser->registerParseNode($$); - } - ; - -@@ -325,13 +325,13 @@ - '.' - { - $$ = new Step(Step::SelfAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest)); -- PARSER->registerParseNode($$); -+ parser->registerParseNode($$); - } - | - DOTDOT - { - $$ = new Step(Step::ParentAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest)); -- PARSER->registerParseNode($$); -+ parser->registerParseNode($$); - } - ; - -@@ -339,8 +339,8 @@ - VARIABLEREFERENCE - { - $$ = new VariableReference(*$1); -- PARSER->deleteString($1); -- PARSER->registerParseNode($$); -+ parser->deleteString($1); -+ parser->registerParseNode($$); - } - | - '(' Expr ')' -@@ -351,15 +351,15 @@ - LITERAL - { - $$ = new StringExpression(*$1); -- PARSER->deleteString($1); -- PARSER->registerParseNode($$); -+ parser->deleteString($1); -+ parser->registerParseNode($$); - } - | - NUMBER - { - $$ = new Number($1->toDouble()); -- PARSER->deleteString($1); -- PARSER->registerParseNode($$); -+ parser->deleteString($1); -+ parser->registerParseNode($$); - } - | - FunctionCall -@@ -371,8 +371,8 @@ - $$ = createFunction(*$1); - if (!$$) - YYABORT; -- PARSER->deleteString($1); -- PARSER->registerParseNode($$); -+ parser->deleteString($1); -+ parser->registerParseNode($$); - } - | - FUNCTIONNAME '(' ArgumentList ')' -@@ -380,9 +380,9 @@ - $$ = createFunction(*$1, *$3); - if (!$$) - YYABORT; -- PARSER->deleteString($1); -- PARSER->deleteExpressionVector($3); -- PARSER->registerParseNode($$); -+ parser->deleteString($1); -+ parser->deleteExpressionVector($3); -+ parser->registerParseNode($$); - } - ; - -@@ -391,14 +391,14 @@ - { - $$ = new Vector<Expression*>; - $$->append($1); -- PARSER->unregisterParseNode($1); -- PARSER->registerExpressionVector($$); -+ parser->unregisterParseNode($1); -+ parser->registerExpressionVector($$); - } - | - ArgumentList ',' Argument - { - $$->append($3); -- PARSER->unregisterParseNode($3); -+ parser->unregisterParseNode($3); - } - ; - -@@ -414,9 +414,9 @@ - $$ = new Union; - $$->addSubExpression($1); - $$->addSubExpression($3); -- PARSER->unregisterParseNode($1); -- PARSER->unregisterParseNode($3); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->unregisterParseNode($3); -+ parser->registerParseNode($$); - } - ; - -@@ -432,9 +432,9 @@ - { - $3->setAbsolute(true); - $$ = new Path(static_cast<Filter*>($1), $3); -- PARSER->unregisterParseNode($1); -- PARSER->unregisterParseNode($3); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->unregisterParseNode($3); -+ parser->registerParseNode($$); - } - | - FilterExpr DescendantOrSelf RelativeLocationPath -@@ -442,10 +442,10 @@ - $3->insertFirstStep($2); - $3->setAbsolute(true); - $$ = new Path(static_cast<Filter*>($1), $3); -- PARSER->unregisterParseNode($1); -- PARSER->unregisterParseNode($2); -- PARSER->unregisterParseNode($3); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->unregisterParseNode($2); -+ parser->unregisterParseNode($3); -+ parser->registerParseNode($$); - } - ; - -@@ -455,9 +455,9 @@ - PrimaryExpr PredicateList - { - $$ = new Filter($1, *$2); -- PARSER->unregisterParseNode($1); -- PARSER->deletePredicateVector($2); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->deletePredicateVector($2); -+ parser->registerParseNode($$); - } - ; - -@@ -467,9 +467,9 @@ - OrExpr OR AndExpr - { - $$ = new LogicalOp(LogicalOp::OP_Or, $1, $3); -- PARSER->unregisterParseNode($1); -- PARSER->unregisterParseNode($3); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->unregisterParseNode($3); -+ parser->registerParseNode($$); - } - ; - -@@ -479,9 +479,9 @@ - AndExpr AND EqualityExpr - { - $$ = new LogicalOp(LogicalOp::OP_And, $1, $3); -- PARSER->unregisterParseNode($1); -- PARSER->unregisterParseNode($3); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->unregisterParseNode($3); -+ parser->registerParseNode($$); - } - ; - -@@ -491,9 +491,9 @@ - EqualityExpr EQOP RelationalExpr - { - $$ = new EqTestOp($2, $1, $3); -- PARSER->unregisterParseNode($1); -- PARSER->unregisterParseNode($3); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->unregisterParseNode($3); -+ parser->registerParseNode($$); - } - ; - -@@ -503,9 +503,9 @@ - RelationalExpr RELOP AdditiveExpr - { - $$ = new EqTestOp($2, $1, $3); -- PARSER->unregisterParseNode($1); -- PARSER->unregisterParseNode($3); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->unregisterParseNode($3); -+ parser->registerParseNode($$); - } - ; - -@@ -515,17 +515,17 @@ - AdditiveExpr PLUS MultiplicativeExpr - { - $$ = new NumericOp(NumericOp::OP_Add, $1, $3); -- PARSER->unregisterParseNode($1); -- PARSER->unregisterParseNode($3); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->unregisterParseNode($3); -+ parser->registerParseNode($$); - } - | - AdditiveExpr MINUS MultiplicativeExpr - { - $$ = new NumericOp(NumericOp::OP_Sub, $1, $3); -- PARSER->unregisterParseNode($1); -- PARSER->unregisterParseNode($3); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->unregisterParseNode($3); -+ parser->registerParseNode($$); - } - ; - -@@ -535,9 +535,9 @@ - MultiplicativeExpr MULOP UnaryExpr - { - $$ = new NumericOp($2, $1, $3); -- PARSER->unregisterParseNode($1); -- PARSER->unregisterParseNode($3); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($1); -+ parser->unregisterParseNode($3); -+ parser->registerParseNode($$); - } - ; - -@@ -548,8 +548,8 @@ - { - $$ = new Negative; - $$->addSubExpression($2); -- PARSER->unregisterParseNode($2); -- PARSER->registerParseNode($$); -+ parser->unregisterParseNode($2); -+ parser->registerParseNode($$); - } - ; -
package/webkit/webkit-disable-docrebase.patch new file +21 -0
@@ -0,0 +1,21 @@ +Index: webkit-1.9.6/Tools/GNUmakefile.am +=================================================================== +--- webkit-1.9.6.orig/Tools/GNUmakefile.am 2012-08-06 07:34:49.000000000 -0500 ++++ webkit-1.9.6/Tools/GNUmakefile.am 2013-05-28 21:29:54.135112927 -0500 +@@ -262,6 +262,8 @@ + Tools/Scripts/webkit-build-directory \ + Tools/Scripts/webkitdirs.pm + ++if ENABLE_GTK_DOC ++ + docs: docs-build.stamp + .PHONY : docs + DISTCLEANFILES += docs-build.stamp +@@ -362,7 +364,6 @@ + rm -rf $${installdir} + endif + +-if ENABLE_GTK_DOC + all: docs-build.stamp + endif +
package/webkit/webkit-disable-tests.patch new file +76 -0
76 lines not on this page · raw message
package/webkit/webkit-execinfo_h.patch new file +24 -0
@@ -0,0 +1,24 @@ +Index: webkit-1.9.6/Source/WTF/wtf/Assertions.cpp +=================================================================== +--- webkit-1.9.6.orig/Source/WTF/wtf/Assertions.cpp ++++ webkit-1.9.6/Source/WTF/wtf/Assertions.cpp +@@ -61,8 +61,10 @@ + #if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) + #include <cxxabi.h> + #include <dlfcn.h> ++#if !defined(__UCLIBC__) + #include <execinfo.h> + #endif ++#endif + + #if OS(ANDROID) + #include "android/log.h" +@@ -268,7 +270,7 @@ void WTFReportArgumentAssertionFailure(c + + void WTFGetBacktrace(void** stack, int* size) + { +-#if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) ++#if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) && !defined(__UCLIBC__) + *size = backtrace(stack, *size); + #elif OS(WINDOWS) && !OS(WINCE) + // The CaptureStackBackTrace function is available in XP, but it is not defined
package/webkit/webkit-fix-build-issue-with-old-gtk.patch deleted +0 -22
@@ -1,22 +0,0 @@ -The WebKit code conditionally calls getRootCoords() when the Gtk -version is old (i.e < 2.17.3), but fails to declare the prototype of -this function (which is implemented after its call site). This build -failure has probably been missed due to the fact that not many people -try to compile recent WebKit versions with old Gtk. - -Signed-off-by: Thomas Petazzoni <[email protected]> - -Index: webkit-1.2.3/WebKitTools/DumpRenderTree/gtk/EventSender.cpp -=================================================================== ---- webkit-1.2.3.orig/WebKitTools/DumpRenderTree/gtk/EventSender.cpp 2010-07-19 20:42:27.000000000 +0200 -+++ webkit-1.2.3/WebKitTools/DumpRenderTree/gtk/EventSender.cpp 2010-07-19 20:42:57.000000000 +0200 -@@ -86,6 +86,9 @@ - static void sendOrQueueEvent(GdkEvent event); - static void dispatchEvent(GdkEvent event); - static guint getStateFlags(); -+#if !GTK_CHECK_VERSION(2,17,3) -+static void getRootCoords(GtkWidget* view, int* rootX, int* rootY); -+#endif - - static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) - {
package/webkit/webkit-fix-build-with-gcc-4-6.patch deleted +0 -45
45 lines not on this page · raw message
package/webkit/webkit-fix-compilation-on-DirectFB-2.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From ef45c7ce5325d85ca924502b1b0a929fecd6581d Mon Sep 17 00:00:00 2001 -From: Stephan Hoffmann <[email protected]> -Date: Thu, 27 Dec 2012 18:08:29 +0100 -Subject: [PATCH] Fix test for presence of X11 - -The test in GNUmakefile.in checking for presence of X11 and -enabling the XP_UNIX define succeeds even when X11 is not -present and Webkit is built for DirectFB. - -Because of this X11-headers are included and the build fails. - -Signed-off-by: Stephan Hoffmann <[email protected]> ---- - GNUmakefile.in | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/GNUmakefile.in b/GNUmakefile.in -index f14f27b..3ac811f 100644 ---- a/GNUmakefile.in -+++ b/GNUmakefile.in -@@ -88,7 +88,8 @@ noinst_PROGRAMS = Programs/minidom$(EXEEXT) \ - $(am__EXEEXT_1) - - # For the Gtk port we want to use XP_UNIX both in X11 and Mac -- at TARGET_WIN32_FALSE@am__append_1 = -DXP_UNIX -+ at TARGET_X11_TRUE@am__append_1 = -DXP_UNIX -+ at TARGET_QUARTZ_TRUE@am__append_1 = -DXP_UNIX - @USE_ICU_UNICODE_TRUE at am__append_2 = \ - @USE_ICU_UNICODE_TRUE@ -DWTF_USE_ICU_UNICODE=1 - --- -1.7.0.4 -
package/webkit/webkit-fix-compilation-on-DirectFB.patch deleted +0 -144
144 lines not on this page · raw message
package/webkit/webkit-fix-pool.patch deleted +0 -67
67 lines not on this page · raw message
package/webkit/webkit-pthread_getattr_np.patch deleted +0 -80
80 lines not on this page · raw message
package/webkit/webkit.mk +19 -12
@@ -4,27 +4,34 @@ # ############################################################# -WEBKIT_VERSION = 1.2.7 +WEBKIT_VERSION = 1.9.6 WEBKIT_SITE = http://www.webkitgtk.org/releases +WEBKIT_SOURCE = webkit-$(WEBKIT_VERSION).tar.xz WEBKIT_INSTALL_STAGING = YES WEBKIT_DEPENDENCIES = host-flex host-bison host-gperf icu libcurl libxml2 \ libxslt libgtk2 sqlite enchant libsoup jpeg libgail +# webkit-disable-tests.patch changes configure.ac therefore autoreconf required +WEBKIT_AUTORECONF = YES +WEBKIT_AUTORECONF_OPT = -I $(@D)/Source/autotools + # Give explicit path to icu-config, and silence gazillions of warnings # with recent gcc versions. WEBKIT_CONF_ENV = ac_cv_path_icu_config=$(STAGING_DIR)/usr/bin/icu-config \ - CFLAGS="$(TARGET_CFLAGS) -Wno-cast-align" \ - CXXFLAGS="$(TARGET_CXXFLAGS) -Wno-cast-align" - + CFLAGS="$(TARGET_CFLAGS) -Wno-cast-align -Wno-sign-compare" \ + CXXFLAGS="$(TARGET_CXXFLAGS) -Wno-cast-align -Wno-sign-compare" -ifeq ($(BR2_PACKAGE_XORG7),y) - WEBKIT_CONF_OPT += --with-target=x11 - WEBKIT_DEPENDENCIES += xlib_libXt -else - WEBKIT_CONF_OPT += --with-target=directfb - WEBKIT_DEPENDENCIES += directfb -endif +WEBKIT_CONF_OPT += \ + --with-gtk=2.0 \ + --disable-geolocation \ + --disable-webkit2 \ + --disable-glibtest \ + --disable-video \ + --disable-gtk-doc-html \ + --disable-tests -WEBKIT_CONF_OPT += --disable-video +# Xorg Dependencies +WEBKIT_CONF_OPT += --with-target=x11 +WEBKIT_DEPENDENCIES += xlib_libXt $(eval $(autotools-package))
Signature · 1 line
1.7.9.5
PATCH v9 5/14 webkit: bump to version 1.9.6
Dear Spenser Gilliland,
Quoted 14 lines · Spenser Gilliland
Signed-off-by Spenser Gilliland <[email protected]>--- package/webkit/webkit-bison-2-6-compat.patch | 672 -------------------- package/webkit/webkit-disable-docrebase.patch | 21 + package/webkit/webkit-disable-tests.patch | 76 +++ package/webkit/webkit-execinfo_h.patch | 24 + .../webkit-fix-build-issue-with-old-gtk.patch | 22 - package/webkit/webkit-fix-build-with-gcc-4-6.patch | 45 -- .../webkit-fix-compilation-on-DirectFB-2.patch | 33 - .../webkit-fix-compilation-on-DirectFB.patch | 144 ----- package/webkit/webkit-fix-pool.patch | 67 -- package/webkit/webkit-pthread_getattr_np.patch | 80 --- package/webkit/webkit.mk | 31 +-
When so many patches are added/removed, it'd be good to have a short explanation in the commit log as to why such or such patch has been removed. Can be simply "drop webkit-fix-pool.patch" because it is upstream, or "drop webkit-fix-compilation-on-DirectFB-2.patch because we no longer support the DirectFB backend".
Also, the new patches you had lack a header with description and Signed-off-by.
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
PATCH v9 5/14 webkit: bump to version 1.9.6
Quoted 18 lines · Thomas Petazzoni
Dear Spenser Gilliland,
Quoted 14 lines · Spenser Gilliland
Signed-off-by Spenser Gilliland <[email protected]>--- package/webkit/webkit-bison-2-6-compat.patch | 672 -------------------- package/webkit/webkit-disable-docrebase.patch | 21 + package/webkit/webkit-disable-tests.patch | 76 +++ package/webkit/webkit-execinfo_h.patch | 24 + .../webkit-fix-build-issue-with-old-gtk.patch | 22 - package/webkit/webkit-fix-build-with-gcc-4-6.patch | 45 -- .../webkit-fix-compilation-on-DirectFB-2.patch | 33 - .../webkit-fix-compilation-on-DirectFB.patch | 144 ----- package/webkit/webkit-fix-pool.patch | 67 -- package/webkit/webkit-pthread_getattr_np.patch | 80 --- package/webkit/webkit.mk | 31 +-
Quoted 5 lines
When so many patches are added/removed, it'd be good to have a short explanation in the commit log as to why such or such patch has been removed. Can be simply "drop webkit-fix-pool.patch" because it is upstream, or "drop webkit-fix-compilation-on-DirectFB-2.patch because we no longer support the DirectFB backend".
Fixed in newest revision. The following text was added to the commit message
Remove bison-2.6-compat patch as it has been incorporated upstream. Remove fix build issue with old gtk as gtk has been bumped to a newer version.
Remove fix-build-with-gcc-4-6 as it has incorporated upstream. Remove directfb patches due to depreciation
Remove pool patch as it is no longer required
Remove pthread_getattr_np as webkit no longer uses this function.
Quoted 2 lines
Also, the new patches you had lack a header with description and Signed-off-by.
Fixed as well.
Quoted 9 lines
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
Spenser Gilliland
Computer Engineer
Doctoral Candidate
PATCH v9 5/14 webkit: bump to version 1.9.6
In reply to Spenser GillilandHi Spencer, all,
2013/5/30 Spenser Gilliland <[email protected]>:
Quoted 26 lines
Signed-off-by Spenser Gilliland <[email protected]>--- package/webkit/webkit-bison-2-6-compat.patch | 672 -------------------- package/webkit/webkit-disable-docrebase.patch | 21 + package/webkit/webkit-disable-tests.patch | 76 +++ package/webkit/webkit-execinfo_h.patch | 24 + .../webkit-fix-build-issue-with-old-gtk.patch | 22 - package/webkit/webkit-fix-build-with-gcc-4-6.patch | 45 -- .../webkit-fix-compilation-on-DirectFB-2.patch | 33 - .../webkit-fix-compilation-on-DirectFB.patch | 144 ----- package/webkit/webkit-fix-pool.patch | 67 -- package/webkit/webkit-pthread_getattr_np.patch | 80 --- package/webkit/webkit.mk | 31 +- 11 files changed, 140 insertions(+), 1075 deletions(-) delete mode 100644 package/webkit/webkit-bison-2-6-compat.patch create mode 100644 package/webkit/webkit-disable-docrebase.patch create mode 100644 package/webkit/webkit-disable-tests.patch create mode 100644 package/webkit/webkit-execinfo_h.patch delete mode 100644 package/webkit/webkit-fix-build-issue-with-old-gtk.patch delete mode 100644 package/webkit/webkit-fix-build-with-gcc-4-6.patch delete mode 100644 package/webkit/webkit-fix-compilation-on-DirectFB-2.patch delete mode 100644 package/webkit/webkit-fix-compilation-on-DirectFB.patch delete mode 100644 package/webkit/webkit-fix-pool.patch delete mode 100644 package/webkit/webkit-pthread_getattr_np.patch
[...]
Quoted 20 lines
package/webkit/webkit-execinfo_h.patch new file +14
-0@@ -0,0 +1,24 @@ +Index: webkit-1.9.6/Source/WTF/wtf/Assertions.cpp +=================================================================== +--- webkit-1.9.6.orig/Source/WTF/wtf/Assertions.cpp ++++ webkit-1.9.6/Source/WTF/wtf/Assertions.cpp +@@ -61,8 +61,10 @@ + #if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) + #include <cxxabi.h> + #include <dlfcn.h> ++#if !defined(__UCLIBC__) + #include <execinfo.h> + #endif ++#endif + + #if OS(ANDROID)
package/webkit/webkit-execinfo_h.patch line 24
Quoted 10 lines
package/webkit/webkit-execinfo_h.patch new file +10
-0+ #include "android/log.h" +@@ -268,7 +270,7 @@ void WTFReportArgumentAssertionFailure(c + + void WTFGetBacktrace(void** stack, int* size) + { +-#if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) ++#if (OS(DARWIN) || OS(LINUX)) && !OS(ANDROID) && !defined(__UCLIBC__) + *size = backtrace(stack, *size); + #elif OS(WINDOWS) && !OS(WINCE) + // The CaptureStackBackTrace function is available in XP, but it is not defined
In uClibc, backtrace support is optional.
So, I'd check for it instead in the configure script, using AC_CHECK_FUNC and AC_DEFINE autotools macros.
Regards,
Signature · 1 line
Samuel
PATCH v9 6/14 gstreamer1: Add gstreamer version 1.0.7 package
In reply to Spenser GillilandThis patch adds the gstreamer version 1.x series to buildroot.
--- package/multimedia/Config.in | 1 + package/multimedia/gstreamer1/Config.in | 38 +++++++++++++++++++++++++++ package/multimedia/gstreamer1/gstreamer1.mk | 36 +++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 package/multimedia/gstreamer1/Config.in create mode 100644 package/multimedia/gstreamer1/gstreamer1.mk
package/multimedia/Config.in +1 -0
@@ -6,6 +6,7 @@ source "package/multimedia/faad2/Config.in" source "package/multimedia/flac/Config.in" source "package/multimedia/ffmpeg/Config.in" source "package/multimedia/gstreamer/Config.in" +source "package/multimedia/gstreamer1/Config.in" source "package/multimedia/gst-ffmpeg/Config.in" source "package/multimedia/gst-dsp/Config.in" source "package/multimedia/gst-fsl-plugins/Config.in"
package/multimedia/gstreamer1/Config.in new file +38 -0
@@ -0,0 +1,38 @@ +config BR2_PACKAGE_GSTREAMER1 + bool "gstreamer1" + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBGLIB2 + help + GStreamer is an open source multimedia framework. + + http://gstreamer.freedesktop.org/ + +comment "gstreamer requires a toolchain with WCHAR and threads support" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + +if BR2_PACKAGE_GSTREAMER1 + +config BR2_PACKAGE_GSTREAMER1_GST_DEBUG + bool "enable gst-debug trace support" + default y + help + Enable support for the gst-debug tracing functionality in gstreamer. + This has limited CPU overhead, but does increase the rootfs size + somewhat. + +config BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY + bool "enable plugin registry" + default y + help + Enable support for the GStreamer plugin registry. This may increase + the launch-time for a GStreamer application. + +config BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS + bool "install gst-launch gst-inspect" + default y + help + Install the gst-launch and gst-inspect tools. This will take up + additional space on the target + +endif
package/multimedia/gstreamer1/gstreamer1.mk new file +36 -0
@@ -0,0 +1,36 @@ +############################################################# +# +# gstreamer1 +# +############################################################# + +GSTREAMER1_VERSION = 1.0.7 +GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz +GSTREAMER1_SITE = http://gstreamer.freedesktop.org/src/gstreamer +GSTREAMER1_INSTALL_STAGING = YES + +# Checking if unaligned memory access works correctly cannot be done when cross +# compiling. For the following architectures there is no information available +# in the configure script. +ifeq ($(BR2_avr32),y) +GSTREAMER1_CONF_ENV = as_cv_unaligned_access=no +endif +ifeq ($(BR2_aarch64),y) +GSTREAMER1_CONF_ENV = as_cv_unaligned_access=yes +endif + +GSTREAMER1_CONF_OPT = \ + --disable-examples \ + --disable-tests \ + --disable-failing-tests \ + --disable-debug \ + --disable-valgrind \ + --disable-benchmarks \ + --disable-check \ + $(if $(BR2_PACKAGE_GSTREAMER1_GST_DEBUG),,--disable-gst-debug) \ + $(if $(BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY),,--disable-registry) \ + $(if $(BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS),,--disable-tools) \ + +GSTREAMER1_DEPENDENCIES = libglib2 host-pkgconf host-bison host-flex + +$(eval $(autotools-package))
Signature · 1 line
1.7.9.5
PATCH v9 6/14 gstreamer1: Add gstreamer version 1.0.7 package
Dear Spenser Gilliland,
Quoted 6 lines · Spenser Gilliland
package/multimedia/gstreamer1/Config.in new file +0
-0
package/multimedia/gstreamer1/Config.in line 9
Quoted 9 lines
package/multimedia/gstreamer1/Config.in new file +9
-0@@ -0,0 +1,38 @@ +config BR2_PACKAGE_GSTREAMER1 + bool "gstreamer1" + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBGLIB2 + help + GStreamer is an open source multimedia framework. + + http://gstreamer.freedesktop.org/
Please mention explicitly that this is Gstreamer 1.x, incompatible with Gstreamer 0.10.x, blabla.
Maybe also add a patch that similarly adjust the Gstreamer 0.10.x help text to mention this.
package/multimedia/gstreamer1/Config.in line 11
Quoted 2 lines
package/multimedia/gstreamer1/Config.in new file +2
-0+ +comment "gstreamer requires a toolchain with WCHAR and threads support"
gstreamer1
package/multimedia/gstreamer1/Config.in line 13
Quoted 2 lines
package/multimedia/gstreamer1/Config.in new file +2
-0+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS +
This comment should either go *before* the config BR2_PACKAGE_GSTREAMER1 definition, or *after* the if BR2_PACKAGE_GSTREAMER1.. endif block below. Otherwise, the sub-options don't get indented below the gstreamer1 main option.
Quoted 6 lines
package/multimedia/gstreamer1/gstreamer1.mk new file +0
-0
package/multimedia/gstreamer1/gstreamer1.mk line 10
Quoted 10 lines
package/multimedia/gstreamer1/gstreamer1.mk new file +10
-0@@ -0,0 +1,36 @@ +############################################################# +# +# gstreamer1 +# +############################################################# + +GSTREAMER1_VERSION = 1.0.7 +GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz +GSTREAMER1_SITE = http://gstreamer.freedesktop.org/src/gstreamer +GSTREAMER1_INSTALL_STAGING = YES
license + license files.
Quoted 11 lines
package/multimedia/gstreamer1/gstreamer1.mk new file +11
-0+# Checking if unaligned memory access works correctly cannot be done when cross +# compiling. For the following architectures there is no information available +# in the configure script. +ifeq ($(BR2_avr32),y) +GSTREAMER1_CONF_ENV = as_cv_unaligned_access=no +endif +ifeq ($(BR2_aarch64),y) +GSTREAMER1_CONF_ENV = as_cv_unaligned_access=yes +endif + +GSTREAMER1_CONF_OPT = \
package/multimedia/gstreamer1/gstreamer1.mk line 32
Quoted 10 lines
package/multimedia/gstreamer1/gstreamer1.mk new file +10
-0+ --disable-examples \ + --disable-tests \ + --disable-failing-tests \ + --disable-debug \ + --disable-valgrind \ + --disable-benchmarks \ + --disable-check \ + $(if $(BR2_PACKAGE_GSTREAMER1_GST_DEBUG),,--disable-gst-debug) \ + $(if $(BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY),,--disable-registry) \ + $(if $(BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS),,--disable-tools) \
Trailing backslash on the last line.
Also, please indent those lines with only one tab. I know it has two tabs in the original gstreamer.mk, but let's fix that when introducing new packages.
package/multimedia/gstreamer1/gstreamer1.mk line 36
Quoted 4 lines
package/multimedia/gstreamer1/gstreamer1.mk new file +4
-0+ +GSTREAMER1_DEPENDENCIES = libglib2 host-pkgconf host-bison host-flex + +$(eval $(autotools-package))
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
PATCH v9 7/14 gst1-plugins-base: add gstreamer1 base plugins
In reply to Spenser GillilandAdds gstreamer 1.X base plugins.
--- package/multimedia/Config.in | 1 + package/multimedia/gst1-plugins-base/Config.in | 106 +++++++++++ .../gst1-plugins-base/gst1-plugins-base.mk | 201 ++++++++++++++++++++ 3 files changed, 308 insertions(+) create mode 100644 package/multimedia/gst1-plugins-base/Config.in create mode 100644 package/multimedia/gst1-plugins-base/gst1-plugins-base.mk
package/multimedia/Config.in +1 -0
@@ -12,6 +12,7 @@ source "package/multimedia/gst-dsp/Config.in" source "package/multimedia/gst-fsl-plugins/Config.in" source "package/multimedia/gst-omapfb/Config.in" source "package/multimedia/gst-plugins-base/Config.in" +source "package/multimedia/gst1-plugins-base/Config.in" source "package/multimedia/gst-plugins-good/Config.in" source "package/multimedia/gst-plugins-bad/Config.in" source "package/multimedia/gst-plugins-ugly/Config.in"
package/multimedia/gst1-plugins-base/Config.in new file +106 -0
106 lines not on this page · raw message
package/multimedia/gst1-plugins-base/gst1-plugins-base.mk new file +201 -0
201 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v9 7/14 gst1-plugins-base: add gstreamer1 base plugins
Dear Spenser Gilliland,
package/multimedia/gst1-plugins-base/Config.in line 6
Quoted 12 lines · Spenser Gilliland
package/multimedia/gst1-plugins-base/Config.in new file +6
-0@@ -0,0 +1,106 @@ +menuconfig BR2_PACKAGE_GST1_PLUGINS_BASE + bool "gst1-plugins-base" + depends on BR2_PACKAGE_GSTREAMER1 + select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXV if BR2_PACKAGE_XORG7
I know it's done this way in the existing gst-plugins-base, but I find it odd that X.org support is enabled automagically, while the other plugins have sub-options below.
What do others think?
package/multimedia/gst1-plugins-base/gst1-plugins-base.mk line 5
Quoted 11 lines
package/multimedia/gst1-plugins-base/gst1-plugins-base.mk new file +5
-0@@ -0,0 +1,201 @@ +############################################################# +# +# gst1-plugins-base +# +#############################################################
Missing empty new line between header and variables.
Also ensure the headers lines contain 80 '#' characters, as per the new rule.
package/multimedia/gst1-plugins-base/gst1-plugins-base.mk line 9
Quoted 4 lines
package/multimedia/gst1-plugins-base/gst1-plugins-base.mk new file +4
-0+GST1_PLUGINS_BASE_VERSION = 1.0.7 +GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz +GST1_PLUGINS_BASE_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-base +GST1_PLUGINS_BASE_INSTALL_STAGING = YES
license + license files.
Quoted 11 lines
package/multimedia/gst1-plugins-base/gst1-plugins-base.mk new file +11
-0+ +# freetype is only used by examples, but if it is not found +# and the host has a freetype-config script, then the host +# include dirs are added to the search path causing trouble +GST1_PLUGINS_BASE_CONF_ENV = + FT2_CONFIG=/bin/false \ + ac_cv_header_stdint_t="stdint.h" + +GST1_PLUGINS_BASE_CONF_OPT = \ + --disable-examples \ + --disable-oggtest \
package/multimedia/gst1-plugins-base/gst1-plugins-base.mk line 30
Quoted 10 lines
package/multimedia/gst1-plugins-base/gst1-plugins-base.mk new file +10
-0+ --disable-vorbistest \ + --disable-freetypetest \ + --disable-valgrind \ + --disable-debug + +# Options which require currently unpackaged libraries +GST1_PLUGINS_BASE_CONF_OPT += \ + --disable-cdparanoia \ + --disable-libvisual \ + --disable-iso-codes
Only one tab when indenting.
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH v9 8/14 gst1-plugins-good: add gstreamer1 good plugins
In reply to Spenser GillilandAdds gstreamer 1.X good plugins.
--- package/multimedia/Config.in | 1 + package/multimedia/gst1-plugins-good/Config.in | 214 +++++++++++ .../gst1-plugins-good/gst1-plugins-good.mk | 400 ++++++++++++++++++++ 3 files changed, 615 insertions(+) create mode 100644 package/multimedia/gst1-plugins-good/Config.in create mode 100644 package/multimedia/gst1-plugins-good/gst1-plugins-good.mk
package/multimedia/Config.in +1 -0
@@ -14,6 +14,7 @@ source "package/multimedia/gst-omapfb/Config.in" source "package/multimedia/gst-plugins-base/Config.in" source "package/multimedia/gst1-plugins-base/Config.in" source "package/multimedia/gst-plugins-good/Config.in" +source "package/multimedia/gst1-plugins-good/Config.in" source "package/multimedia/gst-plugins-bad/Config.in" source "package/multimedia/gst-plugins-ugly/Config.in" source "package/multimedia/lame/Config.in"
package/multimedia/gst1-plugins-good/Config.in new file +214 -0
214 lines not on this page · raw message
package/multimedia/gst1-plugins-good/gst1-plugins-good.mk new file +400 -0
400 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v9 8/14 gst1-plugins-good: add gstreamer1 good plugins
Hi Spencer, all,
2013/5/30 Spenser Gilliland <[email protected]>:
Quoted 16 lines
Adds gstreamer 1.X good plugins.
Signed-off-by Spenser Gilliland <[email protected]>--- package/multimedia/Config.in | 1 + package/multimedia/gst1-plugins-good/Config.in | 214 +++++++++++ .../gst1-plugins-good/gst1-plugins-good.mk | 400 ++++++++++++++++++++ 3 files changed, 615 insertions(+) create mode 100644 package/multimedia/gst1-plugins-good/Config.in create mode 100644 package/multimedia/gst1-plugins-good/gst1-plugins-good.mkpackage/multimedia/Config.in +0
-0
package/multimedia/Config.in source "package/multimedia/gst-omapfb/Config.in" · line 19
Quoted 6 lines
package/multimedia/Config.in +1
-0@@ -14,6 +14,7 @@ source "package/multimedia/gst-omapfb/Config.in" source "package/multimedia/gst-plugins-base/Config.in" source "package/multimedia/gst1-plugins-base/Config.in" source "package/multimedia/gst-plugins-good/Config.in" +source "package/multimedia/gst1-plugins-good/Config.in" source "package/multimedia/gst-plugins-bad/Config.in" source "package/multimedia/gst-plugins-ugly/Config.in"
I think we don't want to interleave the gstreamer-{0.10,1} submenus, since both can co-exist.
IMHO, it makes things clearer having all stuff for gstreamer-0.10 first, then all stuff for gstreamer-1
(though this might slightly break the alphabetical order...):
---
source "package/multimedia/gstreamer/Config.in"
source "package/multimedia/gst-plugins-base/Config.in" source "package/multimedia/gst-plugins-good/Config.in" source "package/multimedia/gst-plugins-bad/Config.in" source "package/multimedia/gst-plugins-ugly/Config.in"
source "package/multimedia/gstreamer1/Config.in" source "package/multimedia/gst1-plugins-base/Config.in" source "package/multimedia/gst1-plugins-good/Config.in" source "package/multimedia/gst1-plugins-bad/Config.in" source "package/multimedia/gst1-plugins-ugly/Config.in"
---
Regards,
Signature · 1 line
Samuel
PATCH v9 9/14 gst1-plugins-bad: add gstreamer1 bad plugins
In reply to Spenser GillilandAdds gstreamer 1.X bad plugins
--- package/multimedia/Config.in | 1 + package/multimedia/gst1-plugins-bad/Config.in | 325 ++++++++++ .../gst1-plugins-bad/gst1-plugins-bad.mk | 664 ++++++++++++++++++++ 3 files changed, 990 insertions(+) create mode 100644 package/multimedia/gst1-plugins-bad/Config.in create mode 100644 package/multimedia/gst1-plugins-bad/gst1-plugins-bad.mk
package/multimedia/Config.in +1 -0
@@ -16,6 +16,7 @@ source "package/multimedia/gst1-plugins-base/Config.in" source "package/multimedia/gst-plugins-good/Config.in" source "package/multimedia/gst1-plugins-good/Config.in" source "package/multimedia/gst-plugins-bad/Config.in" +source "package/multimedia/gst1-plugins-bad/Config.in" source "package/multimedia/gst-plugins-ugly/Config.in" source "package/multimedia/lame/Config.in" source "package/multimedia/madplay/Config.in"
package/multimedia/gst1-plugins-bad/Config.in new file +325 -0
325 lines not on this page · raw message
package/multimedia/gst1-plugins-bad/gst1-plugins-bad.mk new file +664 -0
664 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v9 10/14 gst1-plugins-ugly: add gstreamer1 ugly plugins
In reply to Spenser GillilandAdds gstreamer 1.X ugly plugins
--- package/multimedia/Config.in | 1 + package/multimedia/gst1-plugins-ugly/Config.in | 49 +++++++++++ .../gst1-plugins-ugly/gst1-plugins-ugly.mk | 89 ++++++++++++++++++++ 3 files changed, 139 insertions(+) create mode 100644 package/multimedia/gst1-plugins-ugly/Config.in create mode 100644 package/multimedia/gst1-plugins-ugly/gst1-plugins-ugly.mk
package/multimedia/Config.in +1 -0
@@ -18,6 +18,7 @@ source "package/multimedia/gst1-plugins-good/Config.in" source "package/multimedia/gst-plugins-bad/Config.in" source "package/multimedia/gst1-plugins-bad/Config.in" source "package/multimedia/gst-plugins-ugly/Config.in" +source "package/multimedia/gst1-plugins-ugly/Config.in" source "package/multimedia/lame/Config.in" source "package/multimedia/madplay/Config.in" source "package/multimedia/mpd/Config.in"
package/multimedia/gst1-plugins-ugly/Config.in new file +49 -0
49 lines not on this page · raw message
package/multimedia/gst1-plugins-ugly/gst1-plugins-ugly.mk new file +89 -0
89 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v9 11/14 libvpx: new package libvpx
In reply to Spenser Gillilandadds webm multimedia support and the VP8 encoder/decoder library.
--- package/multimedia/Config.in | 1 + package/multimedia/libvpx/Config.in | 6 ++++ package/multimedia/libvpx/libvpx.mk | 53 +++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 package/multimedia/libvpx/Config.in create mode 100644 package/multimedia/libvpx/libvpx.mk
package/multimedia/Config.in +1 -0
@@ -20,6 +20,7 @@ source "package/multimedia/gst1-plugins-bad/Config.in" source "package/multimedia/gst-plugins-ugly/Config.in" source "package/multimedia/gst1-plugins-ugly/Config.in" source "package/multimedia/lame/Config.in" +source "package/multimedia/libvpx/Config.in" source "package/multimedia/madplay/Config.in" source "package/multimedia/mpd/Config.in" source "package/multimedia/mpg123/Config.in"
package/multimedia/libvpx/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBVPX + bool "libvpx" + help + a high-quality, open video format that's freely available to everyone. + + http://webmproject.org
package/multimedia/libvpx/libvpx.mk new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v9 11/14 libvpx: new package libvpx
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Spenser" == Spenser Gilliland <[email protected]> writes:
Spenser> adds webm multimedia support and the VP8 encoder/decoder library. Spenser> http://www.webmproject.org/
Spenser> Signed-off-by: Spenser Gilliland <[email protected]> Spenser> ---
Spenser> package/multimedia/Config.in | 1 + Spenser> package/multimedia/libvpx/Config.in | 6 ++++ Spenser> package/multimedia/libvpx/libvpx.mk | 53 +++++++++++++++++++++++++++++++++++ Spenser> 3 files changed, 60 insertions(+) Spenser> create mode 100644 package/multimedia/libvpx/Config.in Spenser> create mode 100644 package/multimedia/libvpx/libvpx.mk
Spenser> diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in Spenser> index d0594b9..a0927e9 100644
Spenser> --- a/package/multimedia/Config.in
Spenser> +++ b/package/multimedia/Config.in
Spenser> @@ -20,6 +20,7 @@ source "package/multimedia/gst1-plugins-bad/Config.in"
Spenser> source "package/multimedia/gst-plugins-ugly/Config.in" Spenser> source "package/multimedia/gst1-plugins-ugly/Config.in" Spenser> source "package/multimedia/lame/Config.in" Spenser> +source "package/multimedia/libvpx/Config.in" Spenser> source "package/multimedia/madplay/Config.in" Spenser> source "package/multimedia/mpd/Config.in" Spenser> source "package/multimedia/mpg123/Config.in"
Spenser> diff --git a/package/multimedia/libvpx/Config.in b/package/multimedia/libvpx/Config.in Spenser> new file mode 100644
Spenser> index 0000000..2327971
Spenser> --- /dev/null
Spenser> +++ b/package/multimedia/libvpx/Config.in
Spenser> @@ -0,0 +1,6 @@
Spenser> +config BR2_PACKAGE_LIBVPX
Spenser> + bool "libvpx"
Spenser> + help
Spenser> + a high-quality, open video format that's freely available to everyone.
Spenser> +
Spenser> + http://webmproject.org
Spenser> diff --git a/package/multimedia/libvpx/libvpx.mk b/package/multimedia/libvpx/libvpx.mk Spenser> new file mode 100644
Spenser> index 0000000..964d98a
Spenser> --- /dev/null
Spenser> +++ b/package/multimedia/libvpx/libvpx.mk
Spenser> @@ -0,0 +1,53 @@
Spenser> +############################################################# Spenser> +#
Spenser> +# libvpx
Spenser> +#
Spenser> +############################################################# Spenser> +
Spenser> +LIBVPX_VERSION = v1.2.0
Spenser> +LIBVPX_SITE = http://git.chromium.org/webm/libvpx.git
Spenser> +LIBVPX_SITE_METHOD = git
Spenser> +
Spenser> +LIBVPX_LICENSE = BSD-3c
Spenser> +LIBVPX_LICENSE_FILES = LICENSE PATENTS
Trailing spaces. Otherwise looks good, committed to next - Thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v9 12/14 gst1-plugins-good: add libvpx support
In reply to Spenser Gillilandadds libvpx support to gst1-plugins-good
--- package/multimedia/gst1-plugins-good/Config.in | 4 ++++ .../gst1-plugins-good/gst1-plugins-good.mk | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-)
package/multimedia/gst1-plugins-good/Config.in +4 -0
@@ -207,6 +207,10 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX bool "speex" select BR2_PACKAGE_SPEEX +config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX + bool "vpx (webm)" + select BR2_PACKAGE_LIBVPX + config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK bool "wavpack (*.wv audio)" select BR2_PACKAGE_WAVPACK
package/multimedia/gst1-plugins-good/gst1-plugins-good.mk +8 -2
@@ -27,8 +27,7 @@ GST1_PLUGINS_GOOD_CONF_OPT += \ --disable-jack \ --disable-libdv \ --disable-dv1394 \ - --disable-taglib \ - --disable-vpx + --disable-taglib GST1_PLUGINS_GOOD_DEPENDENCIES = gstreamer1 gst1-plugins-base
@@ -390,6 +389,13 @@ else GST1_PLUGINS_GOOD_CONF_OPT += --disable-speex endif +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX),y) +GST1_PLUGINS_GOOD_CONF_OPT += --enable-vpx +GST1_PLUGINS_GOOD_DEPENDENCIES += libvpx +else +GST1_PLUGINS_GOOD_CONF_OPT += --disable-vpx +endif + ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK),y) GST1_PLUGINS_GOOD_CONF_OPT += --enable-wavpack GST1_PLUGINS_GOOD_DEPENDENCIES += wavpack
Signature · 1 line
1.7.9.5
PATCH v9 13/14 libopenmax: Add libopenmax virtual package
In reply to Spenser Gillilandthis adds the libopenmax virtual package for hardware based video acceleration
--- package/multimedia/bellagio/Config.in | 1 + package/opengl/Config.in | 3 +++ package/opengl/libopenmax/libopenmax.mk | 24 ++++++++++++++++++++++++ package/rpi-userland/Config.in | 1 + 4 files changed, 29 insertions(+) create mode 100644 package/opengl/libopenmax/libopenmax.mk
package/multimedia/bellagio/Config.in +1 -0
@@ -2,6 +2,7 @@ config BR2_PACKAGE_BELLAGIO bool "bellagio" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HAS_OPENMAX help Bellagio is an opensource implementation of the OpenMAX IL API.
package/opengl/Config.in +3 -0
@@ -6,3 +6,6 @@ config BR2_PACKAGE_HAS_OPENGL_ES config BR2_PACKAGE_HAS_OPENVG bool + +config BR2_PACKAGE_HAS_OPENMAX + bool
package/opengl/libopenmax/libopenmax.mk new file +24 -0
@@ -0,0 +1,24 @@ +############################################################# +# +# Virtual package for libopenmax +# +############################################################# + +LIBOPENMAX_SOURCE = + +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +LIBOPENMAX_DEPENDENCIES += rpi-userland +endif + +ifeq ($(BR2_PACKAGE_BELLAGIO),y) +LIBOPENMAX_DEPENDENCIES += bellagio +endif + +ifeq ($(LIBOPENMAX_DEPENDENCIES),y) +define LIBOPENMAX_CONFIGURE_CMDS + echo "No libopenmax implementation selected. Configuration error." + exit 1 +endef +endif + +$(eval $(generic-package))
package/rpi-userland/Config.in +1 -0
@@ -6,6 +6,7 @@ config BR2_PACKAGE_RPI_USERLAND select BR2_PACKAGE_HAS_OPENGL_EGL select BR2_PACKAGE_HAS_OPENGL_ES select BR2_PACKAGE_HAS_OPENVG + select BR2_PACKAGE_HAS_OPENMAX help Raspberry Pi Userland contains the necessary library to use the VideoCore driver.
Signature · 1 line
1.7.9.5
PATCH v9 13/14 libopenmax: Add libopenmax virtual package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Spenser" == Spenser Gilliland <[email protected]> writes:
Spenser> this adds the libopenmax virtual package for hardware based video acceleration Spenser> Signed-off-by: Spenser Gilliland <[email protected]> Spenser> ---
Spenser> package/multimedia/bellagio/Config.in | 1 + Spenser> package/opengl/Config.in | 3 +++ Spenser> package/opengl/libopenmax/libopenmax.mk | 24 ++++++++++++++++++++++++ Spenser> package/rpi-userland/Config.in | 1 +
Spenser> 4 files changed, 29 insertions(+)
Spenser> create mode 100644 package/opengl/libopenmax/libopenmax.mk
Spenser> diff --git a/package/multimedia/bellagio/Config.in b/package/multimedia/bellagio/Config.in Spenser> index 4be3aee..3292ef5 100644
Spenser> --- a/package/multimedia/bellagio/Config.in
Spenser> +++ b/package/multimedia/bellagio/Config.in
Spenser> @@ -2,6 +2,7 @@ config BR2_PACKAGE_BELLAGIO
Spenser> bool "bellagio" Spenser> depends on BR2_INSTALL_LIBSTDCPP Spenser> depends on BR2_TOOLCHAIN_HAS_THREADS Spenser> + select BR2_PACKAGE_HAS_OPENMAX Spenser> help Spenser> Bellagio is an opensource implementation of the Spenser> OpenMAX IL API.
Spenser> diff --git a/package/opengl/Config.in b/package/opengl/Config.in Spenser> index 81616f9..1636807 100644
Spenser> --- a/package/opengl/Config.in
Spenser> +++ b/package/opengl/Config.in
Spenser> @@ -6,3 +6,6 @@ config BR2_PACKAGE_HAS_OPENGL_ES
Spenser> config BR2_PACKAGE_HAS_OPENVG
Spenser> bool
Spenser> +
Spenser> +config BR2_PACKAGE_HAS_OPENMAX
Spenser> + bool
Spenser> diff --git a/package/opengl/libopenmax/libopenmax.mk b/package/opengl/libopenmax/libopenmax.mk Spenser> new file mode 100644
Spenser> index 0000000..dc29370
Spenser> --- /dev/null
Spenser> +++ b/package/opengl/libopenmax/libopenmax.mk
Spenser> @@ -0,0 +1,24 @@
Spenser> +#############################################################
Spenser> +#
Spenser> +# Virtual package for libopenmax
Spenser> +#
Spenser> +#############################################################
Spenser> +
Spenser> +LIBOPENMAX_SOURCE =
Spenser> +
Spenser> +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
Spenser> +LIBOPENMAX_DEPENDENCIES += rpi-userland
Spenser> +endif
Spenser> +
Spenser> +ifeq ($(BR2_PACKAGE_BELLAGIO),y)
Spenser> +LIBOPENMAX_DEPENDENCIES += bellagio
Spenser> +endif
Spenser> +
Spenser> +ifeq ($(LIBOPENMAX_DEPENDENCIES),y)
Same issue as what was pointed out for the opengl package earlier today.
Committed to next with this fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v9 14/14 gst-omx: add gst-omx package
In reply to Spenser Gillilandgst-omx enables OpenMAX based accelerated video decode.
--- package/multimedia/Config.in | 1 + package/multimedia/gst-omx/Config.in | 11 ++ .../multimedia/gst-omx/gst-omx-config-files.patch | 127 ++++++++++++++++++++ package/multimedia/gst-omx/gst-omx.mk | 37 ++++++ 4 files changed, 176 insertions(+) create mode 100644 package/multimedia/gst-omx/Config.in create mode 100644 package/multimedia/gst-omx/gst-omx-config-files.patch create mode 100644 package/multimedia/gst-omx/gst-omx.mk
package/multimedia/Config.in +1 -0
@@ -11,6 +11,7 @@ source "package/multimedia/gst-ffmpeg/Config.in" source "package/multimedia/gst-dsp/Config.in" source "package/multimedia/gst-fsl-plugins/Config.in" source "package/multimedia/gst-omapfb/Config.in" +source "package/multimedia/gst-omx/Config.in" source "package/multimedia/gst-plugins-base/Config.in" source "package/multimedia/gst1-plugins-base/Config.in" source "package/multimedia/gst-plugins-good/Config.in"
package/multimedia/gst-omx/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_GST_OMX + bool "gst-omx" + depends on BR2_PACKAGE_GSTREAMER1 && BR2_PACKAGE_HAS_OPENMAX + select BR2_PACKAGE_GST1_PLUGINS_BASE + help + GStreamer plug-in to use OpenMAX API. + + http://cgit.freedesktop.org/gstreamer/gst-omx + +comment "gst-omx requires a OpenMAX implementation" + depends on BR2_PACKAGE_GSTREAMER1 && !BR2_PACKAGE_HAS_OPENMAX
package/multimedia/gst-omx/gst-omx-config-files.patch new file +127 -0
127 lines not on this page · raw message
package/multimedia/gst-omx/gst-omx.mk new file +37 -0
@@ -0,0 +1,37 @@ +############################################################# +# +# gst-omx +# +############################################################# + +GST_OMX_VERSION = 1.0.0 +GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz +GST_OMX_SITE = http://gstreamer.freedesktop.org/src/gst-omx/ + +GST_OMX_LICENSE = LGPLv2.1 +GST_OMX_LICENSE_FILE = COPYING + +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +GST_OMX_CONF_OPT = \ + --with-omx-target=rpi +GST_OMX_CONF_ENV = \ + CFLAGS="$(TARGET_CFLAGS) \ + -I$(STAGING_DIR)/usr/include/IL \ + -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \ + -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux" +endif + +ifeq ($(BR2_PACKAGE_BELLAGIO),y) +GST_OMX_CONF_OPT = \ + --with-omx-target=bellagio +GST_OMX_CONF_ENV = \ + CFLAGS="$(TARGET_CFLAGS) \ + -DOMX_VERSION_MAJOR=1 \ + -DOMX_VERSION_MINOR=1 \ + -DOMX_VERSION_REVISION=2 \ + -DOMX_VERSION_STEP=0" +endif + +GST_OMX_DEPENDENCIES = gstreamer1 gst1-plugins-base libopenmax + +$(eval $(autotools-package))
Signature · 1 line
1.7.9.5