[meta-intel] [PATCH 1/3] gstreamer-vaapi: Update to 0.6.1

Saul Wold sgw at linux.intel.com
Fri Dec 11 10:32:56 PST 2015


Backport a patch to remove unneeded headers that cause the build to fail

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 .../gstreamer/gstreamer-vaapi-1.0_0.5.10.bb        |  9 ----
 .../gstreamer/gstreamer-vaapi-1.0_0.6.1.bb         | 10 ++++
 .../0001-libs-remove-unneeded-headers.patch        | 58 ++++++++++++++++++++++
 3 files changed, 68 insertions(+), 9 deletions(-)
 delete mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.10.bb
 create mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.6.1.bb
 create mode 100644 common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-libs-remove-unneeded-headers.patch

diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.10.bb b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.10.bb
deleted file mode 100644
index 1a1e015..0000000
--- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.5.10.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require gstreamer-vaapi.inc
-
-DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
-
-GST_API_VERSION = "1.4"
-
-SRC_URI[md5sum] = "3bd90b696b644be943450ba0c1497193"
-SRC_URI[sha256sum] = "0dd236c7bf225322b8934fdba99a7a9e4542566a2acbe7564cdc3ec2c8b73c9d"
-
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.6.1.bb b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.6.1.bb
new file mode 100644
index 0000000..48cd6fd
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.6.1.bb
@@ -0,0 +1,10 @@
+require gstreamer-vaapi.inc
+
+DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
+
+GST_API_VERSION = "1.4"
+
+SRC_URI += "file://0001-libs-remove-unneeded-headers.patch"
+
+SRC_URI[md5sum] = "f01425481bd161f57334dab7ab4069d3"
+SRC_URI[sha256sum] = "36fc8afeb7ec679ea8df34671a34dba57dcc0b66255fb0991acb485e3efd67b3"
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-libs-remove-unneeded-headers.patch b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-libs-remove-unneeded-headers.patch
new file mode 100644
index 0000000..6633550
--- /dev/null
+++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-libs-remove-unneeded-headers.patch
@@ -0,0 +1,58 @@
+Upstream-Status: Backport from upstream
+Signed-off-by: Saul Wold <sgw at linux.intel.com>
+
+From f182fcfb379344690292c52542f92a9e7f0bf1a3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?=
+ <victorx.jaquez at intel.com>
+Date: Wed, 4 Nov 2015 16:50:44 +0100
+Subject: [PATCH] libs: remove unneeded headers
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Since gstvaapidisplay_glx.h do not expose gl.h/glx.h structures, it is not
+required to include them in the header. It is not also required to include
+them in gstvaapidisplay_glx.c, since gstvaapiutils_glx.h includes them and
+exposes their structures (e.g. GLXPixmap).
+
+Nonetheless, glext.h neither glxext.h are required to include, they are
+already included conditionally by gl.h and glx.h, respectively.
+
+Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez at intel.com>
+
+https://bugzilla.gnome.org/show_bug.cgi?id=757577
+---
+ gst-libs/gst/vaapi/gstvaapidisplay_glx.h | 2 --
+ gst-libs/gst/vaapi/gstvaapiutils_glx.h   | 2 --
+ 2 files changed, 4 deletions(-)
+
+diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_glx.h b/gst-libs/gst/vaapi/gstvaapidisplay_glx.h
+index 8096cb2..485c413 100644
+--- a/gst-libs/gst/vaapi/gstvaapidisplay_glx.h
++++ b/gst-libs/gst/vaapi/gstvaapidisplay_glx.h
+@@ -25,8 +25,6 @@
+ #ifndef GST_VAAPI_DISPLAY_GLX_H
+ #define GST_VAAPI_DISPLAY_GLX_H
+ 
+-#include <GL/gl.h>
+-#include <GL/glx.h>
+ #include <gst/vaapi/gstvaapidisplay_x11.h>
+ 
+ G_BEGIN_DECLS
+diff --git a/gst-libs/gst/vaapi/gstvaapiutils_glx.h b/gst-libs/gst/vaapi/gstvaapiutils_glx.h
+index c89c85f..d78b3ee 100644
+--- a/gst-libs/gst/vaapi/gstvaapiutils_glx.h
++++ b/gst-libs/gst/vaapi/gstvaapiutils_glx.h
+@@ -28,9 +28,7 @@
+ #include "config.h"
+ #include "libgstvaapi_priv_check.h"
+ #include <GL/gl.h>
+-#include <GL/glext.h>
+ #include <GL/glx.h>
+-#include <GL/glxext.h>
+ #include <glib.h>
+ 
+ #if GLX_GLXEXT_VERSION < 18
+-- 
+2.5.0
+
-- 
2.5.0



More information about the meta-intel mailing list