[meta-freescale] [meta-fsl-arm][PATCH 2/9] gstreamer1.0-plugins-bad: Fix for gl plugin not built in wayland backend

Yuqing Zhu carol.zhu at nxp.com
Wed Jan 27 23:29:48 PST 2016


Hi Carlos,


      We change it to 1.0 as the wayland-egl in our build is 1.0.
     
      Below is the info from usr/lib/pkgconfig/wayland-egl.pc
      Name: wayland-egl
      Description: Bind the driver EGL to the Wayland API
      Version: 1.0.0
      Libs: -L${libdir} -lEGL
      Cflags: -I${includedir}


B.R.
Yuqing Zhu

-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of Carlos Rafael Giani
Sent: Wednesday, January 27, 2016 7:22 PM
To: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] [meta-fsl-arm][PATCH 2/9] gstreamer1.0-plugins-bad: Fix for gl plugin not built in wayland backend

This is missing an explanation in the commit message for why you do this. I guess this is done because the Vivante EGL implementation has these version numbers, right?

On 01/27/2016 10:41 AM, Yuqing Zhu wrote:
> Signed-off-by: Yuqing Zhu <b54851 at freescale.com>
> ---
>   ...or-gl-plugin-not-built-in-wayland-backend.patch | 31 ++++++++++++++++++++++
>   .../gstreamer/gstreamer1.0-plugins-bad_%.bbappend  |  1 +
>   2 files changed, 32 insertions(+)
>   create mode 100755 
> recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-Fix-for-gl-
> plugin-not-built-in-wayland-backend.patch
>
> diff --git 
> a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-Fix-for-g
> l-plugin-not-built-in-wayland-backend.patch 
> b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-Fix-for-g
> l-plugin-not-built-in-wayland-backend.patch
> new file mode 100755
> index 0000000..4960b2d
> --- /dev/null
> +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-Fix-f
> +++ or-gl-plugin-not-built-in-wayland-backend.patch
> @@ -0,0 +1,31 @@
> +From 0f293874a1744b50b6f125589e564185bcb04596 Mon Sep 17 00:00:00 
> +2001
> +From: Jian <Jian.Li at freescale.com>
> +Date: Fri, 24 Apr 2015 17:12:02 +0800
> +Subject: [PATCH 10/10] Fix for gl plugin not built in wayland backend
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Upstream-Status: Inappropriate [i.MX specific]
> +
> +Signed-off-by: Jian <Jian.Li at freescale.com>
> +---
> + configure.ac | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/configure.ac b/configure.ac index aba2ec0..d5467f7 
> +100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -742,7 +742,7 @@ case $host in
> +     LIBS=$old_LIBS
> +     CFLAGS=$old_CFLAGS
> +
> +-    PKG_CHECK_MODULES(WAYLAND_EGL, wayland-client >= 1.0 wayland-cursor >= 1.0 wayland-egl >= 9.0, HAVE_WAYLAND_EGL=yes, HAVE_WAYLAND_EGL=no)
> ++    PKG_CHECK_MODULES(WAYLAND_EGL, wayland-client >= 1.0 
> ++ wayland-cursor >= 1.0 wayland-egl >= 1.0, HAVE_WAYLAND_EGL=yes, 
> ++ HAVE_WAYLAND_EGL=no)
> +   ;;
> + esac
> +
> +--
> +1.9.1
> +
> diff --git 
> a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend 
> b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> index 3df7ffa..493548b 100644
> --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> @@ -12,6 +12,7 @@ PACKAGECONFIG_GL_mx6sl = 
> "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
>   
>   IMX_PATCHES = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch \
>                   file://0002-modifiy-the-videoparse-rank.patch \
> +                
> + file://0003-Fix-for-gl-plugin-not-built-in-wayland-backend.patch \
>   "
>   
>   SRC_URI_append_mx6 = "${IMX_PATCHES}"

--
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list