fsl-dynamic-packagearch.bbclass: Fix spelling error in print message
PATCH 1/14 fsl-dynamic-packagearch.bbclass: Fix spelling error in print message
--- classes/fsl-dynamic-packagearch.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
classes/fsl-dynamic-packagearch.bbclass +1 -1
@@ -46,7 +46,7 @@ python __anonymous () { raise bb.parse.SkipPackage("You must set MACHINE_SOCARCH_SUFFIX as MACHINE_SOCARCH_FILTER is set for this SoC.") if package_arch: - bb.debug(1, "Use '%s' as package archictecture for '%s'" % (package_arch, PN)) + bb.debug(1, "Use '%s' as package architecture for '%s'" % (package_arch, PN)) d.setVar("PACKAGE_ARCH", package_arch) cur_package_archs = (d.getVar("PACKAGE_ARCHS", True) or "").split()
Signature · 1 line
1.9.1
PATCH 2/14 weston: Remove duplication in variable value
Rework variable implementation (using SoC override) so that the value does not contain a duplication.
--- recipes-graphics/wayland/weston_%.bbappend | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
recipes-graphics/wayland/weston_%.bbappend +5 -3
@@ -27,14 +27,16 @@ PACKAGECONFIG_append = " ${PACKAGECONFIG_IMX_TO_APPEND}" PACKAGECONFIG_remove = " ${PACKAGECONFIG_IMX_TO_REMOVE}" -EXTRA_OECONF_IMX = " \ +EXTRA_OECONF_IMX_COMMON = " \ --disable-libunwind \ --disable-xwayland-test \ WESTON_NATIVE_BACKEND=fbdev-backend.so \ " +EXTRA_OECONF_IMX = "" +EXTRA_OECONF_IMX_imxpxp = "${EXTRA_OECONF_IMX_COMMON}" +EXTRA_OECONF_IMX_imxgpu2d = "${EXTRA_OECONF_IMX_COMMON}" -EXTRA_OECONF_append_imxpxp = " ${EXTRA_OECONF_IMX}" -EXTRA_OECONF_append_imxgpu2d = " ${EXTRA_OECONF_IMX}" +EXTRA_OECONF_append = " ${EXTRA_OECONF_IMX}" # Use a intermediate step to configure the linking flags IMXGPU_LIBS = ""
Signature · 1 line
1.9.1
PATCH 3/14 clutter-1.0: Use compiler settings provided by IMX-GPU driver pkg-config
In reply to Tom HochsteinThe IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly.
--- recipes-graphics/clutter/clutter-1.0_%.bbappend | 6 ------ 1 file changed, 6 deletions(-)
recipes-graphics/clutter/clutter-1.0_%.bbappend +0 -6
@@ -1,9 +1,3 @@ -# Provide the need flags and backend settings to work with Vivante GPU -CFLAGS_append_mx6 = " -DLINUX \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', \ - '-DEGL_API_WL -DEGL_API_FB', '', d), d)}" - PACKAGECONFIG_mx6 ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', \ bb.utils.contains('DISTRO_FEATURES', 'wayland', \ 'wayland egl', '', d), d)}"
Signature · 1 line
1.9.1
PATCH 4/14 cairo: Use compiler settings provided by IMX-GPU driver pkg-config
In reply to Tom HochsteinThe IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly.
--- recipes-graphics/cairo/cairo_%.bbappend | 9 --------- 1 file changed, 9 deletions(-)
recipes-graphics/cairo/cairo_%.bbappend +0 -9
@@ -1,10 +1 @@ -CFLAGS_append_imxgpu2d = " \ - -DLINUX \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', \ - '', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', \ - '-DEGL_API_FB -DEGL_API_WL', \ - '-DEGL_API_FB', d), d)} \ -" - PACKAGECONFIG_append_imxgpu3d = " egl glesv2"
Signature · 1 line
1.9.1
PATCH 5/14 cogl-1.0: Use compiler settings provided by IMX-GPU driver pkg-config
In reply to Tom HochsteinThe IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly.
--- recipes-graphics/cogl/cogl-1.0_%.bbappend | 6 ------ 1 file changed, 6 deletions(-)
recipes-graphics/cogl/cogl-1.0_%.bbappend +0 -6
@@ -1,9 +1,3 @@ -# Provide the need flags and backend settings to work with Vivante GPU -CFLAGS_append_mx6 = " -DLINUX \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', \ - '-DEGL_API_WL -DEGL_API_FB', '', d), d)}" - PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ bb.utils.contains('DISTRO_FEATURES', 'wayland', \
Signature · 1 line
1.9.1
PATCH 6/14 gtk+3: Use compiler settings provided by IMX-GPU driver pkg-config
In reply to Tom HochsteinThe IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly.
--- recipes-graphics/gtk+/gtk+3_%.bbappend | 4 ---- 1 file changed, 4 deletions(-)
recipes-graphics/gtk+/gtk+3_%.bbappend +0 -4
@@ -1,6 +1,2 @@ PACKAGECONFIG_remove_mx6 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "wayland", "", d)}" -CFLAGS_append_mx6 = " -DLINUX \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', \ - '-DEGL_API_FB -DEGL_API_WL', '', d), d)}"
Signature · 1 line
1.9.1
PATCH 7/14 piglit: Use compiler settings provided by IMX-GPU driver pkg-config
In reply to Tom HochsteinThe IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly.
--- recipes-graphics/piglit/piglit_git.bbappend | 6 ------ 1 file changed, 6 deletions(-)
recipes-graphics/piglit/piglit_git.bbappend +0 -6
@@ -1,7 +1 @@ DEPENDS_append_mx6 = " virtual/egl" - -# Provide the need flags and backend settings to work with Vivante GPU -CFLAGS_append_mx6 = " -DLINUX \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-DEGL_API_FB', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', \ - '-DEGL_API_WL', '', d), d)}"
Signature · 1 line
1.9.1
PATCH 8/14 gstreamer1.0-plugins-bad: Use compiler settings provided by IMX-GPU driver pkg-config
In reply to Tom HochsteinThe IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly.
--- recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 3 --- 1 file changed, 3 deletions(-)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +0 -3
@@ -2,9 +2,6 @@ # defines to be set for each platform FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -CFLAGS_append_imxgpu2d = " -DLINUX ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DWL_EGL_PLATFORM', '-DEGL_API_FB', d), d)}" - PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)}" PACKAGECONFIG_GL_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
Signature · 1 line
1.9.1
PATCH 9/14 weston: Use compiler settings provided by IMX-GPU driver pkg-config
In reply to Tom HochsteinThe IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly. The package had to be patched to link the compositor to egl.
--- .../weston/0016-Link-compositor-to-egl.patch | 12 +++++++++++ recipes-graphics/wayland/weston_%.bbappend | 23 +--------------------- 2 files changed, 13 insertions(+), 22 deletions(-) create mode 100644 recipes-graphics/wayland/weston/0016-Link-compositor-to-egl.patch
recipes-graphics/wayland/weston/0016-Link-compositor-to-egl.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: weston-1.11.1/configure.ac +=================================================================== +--- weston-1.11.1.orig/configure.ac 2016-11-08 17:26:14.266564760 -0600 ++++ weston-1.11.1/configure.ac 2016-11-09 19:38:58.000000000 -0600 +@@ -93,6 +93,7 @@ + PKG_CHECK_MODULES(EGL, [egl glesv2]) + PKG_CHECK_MODULES([EGL_TESTS], [egl glesv2 wayland-client wayland-egl]) + PKG_CHECK_MODULES([GL_RENDERER], [libdrm]) ++ COMPOSITOR_MODULES="$COMPOSITOR_MODULES egl" + fi + + AC_ARG_ENABLE(xkbcommon,
recipes-graphics/wayland/weston_%.bbappend +1 -22
@@ -14,6 +14,7 @@ SRC_URI_append_imxgpu2d = " \ file://0013-MGS-1945-Use-common-API-to-support-G2d-compositor.patch \ file://0014-MGS-1987-Get-stride-from-the-FB-buffe.patch \ file://0015-MGS-2221-imx-171-Fix-weston-build-failed.patch \ + file://0016-Link-compositor-to-egl.patch \ " PACKAGECONFIG_IMX_TO_APPEND = ""
@@ -37,25 +38,3 @@ EXTRA_OECONF_IMX_imxpxp = "${EXTRA_OECONF_IMX_COMMON}" EXTRA_OECONF_IMX_imxgpu2d = "${EXTRA_OECONF_IMX_COMMON}" EXTRA_OECONF_append = " ${EXTRA_OECONF_IMX}" - -# Use a intermediate step to configure the linking flags -IMXGPU_LIBS = "" -IMXGPU_LIBS_imxgpu2d = " \ - COMPOSITOR_LIBS="-lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1" \ - FB_COMPOSITOR_LIBS="-lEGL -lwayland-server -lxkbcommon" \ -" -IMXGPU_LIBS_imxgpu3d = " \ - COMPOSITOR_LIBS="-lGLESv2 -lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1" \ - FB_COMPOSITOR_LIBS="-lGLESv2 -lEGL -lwayland-server -lxkbcommon" \ -" - -# Use the linking flags according to the GPU support -EXTRA_OEMAKE_append_imxgpu2d = " \ - COMPOSITOR_CFLAGS="-I ${STAGING_INCDIR}/pixman-1 -DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \ - FB_COMPOSITOR_CFLAGS="-DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \ - SIMPLE_EGL_CLIENT_CFLAGS="-DLINUX -DEGL_API_FB -DEGL_API_WL" \ - EGL_TESTS_CFLAGS="-DLINUX -DEGL_API_FB -DEGL_API_WL" \ - CLIENT_CFLAGS="-I ${STAGING_INCDIR}/cairo -I ${STAGING_INCDIR}/pixman-1 -DLINUX -DEGL_API_FB -DEGL_API_WL" \ - \ - ${IMXGPU_LIBS} \ -"
Signature · 1 line
1.9.1
Re: [PATCH 09/14] weston: Use compiler settings provided by IMX-GPU driver pkg-config
Hi Tom!
With this commit, weston fails to compile when using fslc-wayland distro.
| In file included from ../weston-1.11.1/src/g2d-renderer.c:41:0:
| /home/berton/src/fslc/fsl-community-bsp-master/build/tmp/sysroots/imx6slevk/usr/include/HAL/gc_hal_eglplatform.h:208:2:
error: #error "Platform not recognized"
| #error "Platform not recognized"
| ^~~~~
Quoted 90 lines · Tom Hochstein
The IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly. The package had to be patched to link the compositor to egl.
Signed-off-by Tom Hochstein <[email protected]>--- .../weston/0016-Link-compositor-to-egl.patch | 12 +++++++++++ recipes-graphics/wayland/weston_%.bbappend | 23 +--------------------- 2 files changed, 13 insertions(+), 22 deletions(-) create mode 100644 recipes-graphics/wayland/weston/0016-Link-compositor-to-egl.patch
recipes-graphics/wayland/weston/0016-Link-compositor-to-egl.patch new file +7
-1@@ -0,0 +1,12 @@ +Index: weston-1.11.1/configure.ac +=================================================================== +--- weston-1.11.1.orig/configure.ac 2016-11-08 17:26:14.266564760 -0600 ++++ weston-1.11.1/configure.ac 2016-11-09 19:38:58.000000000 -0600 +@@ -93,6 +93,7 @@ + PKG_CHECK_MODULES(EGL, [egl glesv2]) + PKG_CHECK_MODULES([EGL_TESTS], [egl glesv2 wayland-clientwayland-egl])
recipes-graphics/wayland/weston/0016-Link-compositor-to-egl.patch new file +5
-0+ PKG_CHECK_MODULES([GL_RENDERER], [libdrm]) ++ COMPOSITOR_MODULES="$COMPOSITOR_MODULES egl" + fi + + AC_ARG_ENABLE(xkbcommon,recipes-graphics/wayland/weston_%.bbappend +1
-0@@ -14,6 +14,7 @@ SRC_URI_append_imxgpu2d = " \ file://0013-MGS-1945-Use-common-API-to-support-G2d-compositor.patch \ file://0014-MGS-1987-Get-stride-from-the-FB-buffe.patch \ file://0015-MGS-2221-imx-171-Fix-weston-build-failed.patch \ + file://0016-Link-compositor-to-egl.patch\"
PACKAGECONFIG_IMX_TO_APPEND= ""recipes-graphics/wayland/weston_%.bbappend +0
-5@@ -37,25 +38,3 @@ EXTRA_OECONF_IMX_imxpxp = "${EXTRA_OECONF_IMX_COMMON}" EXTRA_OECONF_IMX_imxgpu2d = "${EXTRA_OECONF_IMX_COMMON}" EXTRA_OECONF_append = " ${EXTRA_OECONF_IMX}" - -# Use a intermediate step to configure the linking flags -IMXGPU_LIBS = "" -IMXGPU_LIBS_imxgpu2d = " \ - COMPOSITOR_LIBS="-lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1"\
recipes-graphics/wayland/weston_%.bbappend +0
-16- FB_COMPOSITOR_LIBS="-lEGL -lwayland-server -lxkbcommon" \ -" -IMXGPU_LIBS_imxgpu3d = " \ - COMPOSITOR_LIBS="-lGLESv2 -lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1" \ - FB_COMPOSITOR_LIBS="-lGLESv2 -lEGL -lwayland-server -lxkbcommon" \ -" - -# Use the linking flags according to the GPU support -EXTRA_OEMAKE_append_imxgpu2d = " \ - COMPOSITOR_CFLAGS="-I ${STAGING_INCDIR}/pixman-1 -DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \ - FB_COMPOSITOR_CFLAGS="-DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \ - SIMPLE_EGL_CLIENT_CFLAGS="-DLINUX -DEGL_API_FB -DEGL_API_WL" \ - EGL_TESTS_CFLAGS="-DLINUX -DEGL_API_FB -DEGL_API_WL" \ - CLIENT_CFLAGS="-I ${STAGING_INCDIR}/cairo -I${STAGING_INCDIR}/pixman-1 -DLINUX -DEGL_API_FB -DEGL_API_WL" \
recipes-graphics/wayland/weston_%.bbappend +0
-4- \ - ${IMXGPU_LIBS} \ -" --1.9.1
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [PATCH 09/14] weston: Use compiler settings provided by IMX-GPU driver pkg-config
Hi Fabio,
Thanks for the info. I’m working on a fix.
Tom
From: Fabio Berton [mailto:[email protected]]
Sent: Wednesday, December 07, 2016 7:31 AM
To: Tom Hochstein <[email protected]>
Cc: [email protected]
Subject: Re: [meta-freescale] [PATCH 09/14] weston: Use compiler settings provided by IMX-GPU driver pkg-config
Hi Tom!
With this commit, weston fails to compile when using fslc-wayland distro.
| In file included from ../weston-1.11.1/src/g2d-renderer.c:41:0: | /home/berton/src/fslc/fsl-community-bsp-master/build/tmp/sysroots/imx6slevk/usr/include/HAL/gc_hal_eglplatform.h:208:2: error: #error "Platform not recognized" | #error "Platform not recognized" | ^~~~~
On Fri, Nov 18, 2016 at 11:11 PM, Tom Hochstein <[email protected]<mailto:[email protected]>> wrote:
The IMX-GPU driver now provides compiler settings through pkg-config,
so don't set them explicitly. The package had to be patched to
link the compositor to egl.
--- .../weston/0016-Link-compositor-to-egl.patch | 12 +++++++++++ recipes-graphics/wayland/weston_%.bbappend | 23 +--------------------- 2 files changed, 13 insertions(+), 22 deletions(-) create mode 100644 recipes-graphics/wayland/weston/0016-Link-compositor-to-egl.patch
recipes-graphics/wayland/weston/0016-Link-compositor-to-egl.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: weston-1.11.1/configure.ac<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfigure.ac&data=01%7C01%7Ctom.hochstein%40nxp.com%7C2c49f2ceb3614844b4a108d41ea55dac%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=HKZbBp9v4NkhnqNCT%2Fs6ctp4o33NUIIhujkXkyqUL60%3D&reserved=0> +=================================================================== +--- weston-1.11.1.orig/configure.ac<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfigure.ac&data=01%7C01%7Ctom.hochstein%40nxp.com%7C2c49f2ceb3614844b4a108d41ea55dac%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=HKZbBp9v4NkhnqNCT%2Fs6ctp4o33NUIIhujkXkyqUL60%3D&reserved=0> 2016-11-08 17:26:14.266564760 -0600 ++++ weston-1.11.1/configure.ac<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfigure.ac&data=01%7C01%7Ctom.hochstein%40nxp.com%7C2c49f2ceb3614844b4a108d41ea55dac%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=HKZbBp9v4NkhnqNCT%2Fs6ctp4o33NUIIhujkXkyqUL60%3D&reserved=0> 2016-11-09 19:38:58.000000000 -0600 +@@ -93,6 +93,7 @@ + PKG_CHECK_MODULES(EGL, [egl glesv2]) + PKG_CHECK_MODULES([EGL_TESTS], [egl glesv2 wayland-client wayland-egl]) + PKG_CHECK_MODULES([GL_RENDERER], [libdrm]) ++ COMPOSITOR_MODULES="$COMPOSITOR_MODULES egl" + fi + + AC_ARG_ENABLE(xkbcommon,
recipes-graphics/wayland/weston_%.bbappend +1 -22
@@ -14,6 +14,7 @@ SRC_URI_append_imxgpu2d = " \ file://0013-MGS-1945-Use-common-API-to-support-G2d-compositor.patch<file:///\\0013-MGS-1945-Use-common-API-to-support-G2d-compositor.patch> \ file://0014-MGS-1987-Get-stride-from-the-FB-buffe.patch<file:///\\0014-MGS-1987-Get-stride-from-the-FB-buffe.patch> \ file://0015-MGS-2221-imx-171-Fix-weston-build-failed.patch<file:///\\0015-MGS-2221-imx-171-Fix-weston-build-failed.patch> \ + file://0016-Link-compositor-to-egl.patch<file:///\\0016-Link-compositor-to-egl.patch> \ " PACKAGECONFIG_IMX_TO_APPEND = ""
@@ -37,25 +38,3 @@ EXTRA_OECONF_IMX_imxpxp = "${EXTRA_OECONF_IMX_COMMON}" EXTRA_OECONF_IMX_imxgpu2d = "${EXTRA_OECONF_IMX_COMMON}" EXTRA_OECONF_append = " ${EXTRA_OECONF_IMX}" - -# Use a intermediate step to configure the linking flags -IMXGPU_LIBS = "" -IMXGPU_LIBS_imxgpu2d = " \ - COMPOSITOR_LIBS="-lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1" \ - FB_COMPOSITOR_LIBS="-lEGL -lwayland-server -lxkbcommon" \ -" -IMXGPU_LIBS_imxgpu3d = " \ - COMPOSITOR_LIBS="-lGLESv2 -lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1" \ - FB_COMPOSITOR_LIBS="-lGLESv2 -lEGL -lwayland-server -lxkbcommon" \ -" - -# Use the linking flags according to the GPU support -EXTRA_OEMAKE_append_imxgpu2d = " \ - COMPOSITOR_CFLAGS="-I ${STAGING_INCDIR}/pixman-1 -DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \ - FB_COMPOSITOR_CFLAGS="-DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \ - SIMPLE_EGL_CLIENT_CFLAGS="-DLINUX -DEGL_API_FB -DEGL_API_WL" \ - EGL_TESTS_CFLAGS="-DLINUX -DEGL_API_FB -DEGL_API_WL" \ - CLIENT_CFLAGS="-I ${STAGING_INCDIR}/cairo -I ${STAGING_INCDIR}/pixman-1 -DLINUX -DEGL_API_FB -DEGL_API_WL" \ - \ - ${IMXGPU_LIBS} \ -"
--
1.9.1
--
_______________________________________________
meta-freescale mailing list [email protected]<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/meta-freescale<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=01%7C01%7Ctom.hochstein%40nxp.com%7C2c49f2ceb3614844b4a108d41ea55dac%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=TkJXhWt6JD276LhVl%2FQ2gqYU73mH9hIfzLBqcH89V54%3D&reserved=0>
PATCH 10/14 clutter-1.0: Use Wayland backend if wayland and x11 are in distro
In reply to Tom HochsteinBy i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used.
--- recipes-graphics/clutter/clutter-1.0_%.bbappend | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
recipes-graphics/clutter/clutter-1.0_%.bbappend +5 -3
@@ -1,3 +1,5 @@ -PACKAGECONFIG_mx6 ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', \ - 'wayland egl', '', d), d)}" +PACKAGECONFIG_mx6 ??= " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', \ + '', d), d)} \ +"
Signature · 1 line
1.9.1
PATCH 11/14 cogl-1.0: Configure for Wayland backend if wayland and x11 are in distro
In reply to Tom HochsteinBy i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used.
--- recipes-graphics/cogl/cogl-1.0_%.bbappend | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
recipes-graphics/cogl/cogl-1.0_%.bbappend +5 -4
@@ -1,4 +1,5 @@ -PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', \ - 'egl-wayland', '', d), d)}" +PACKAGECONFIG_mx6 ??= " \ + cogl-pango gles2 \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ + '', d), d)}"
Signature · 1 line
1.9.1
PATCH 12/14 gtk+3: Configure for Wayland backend if wayland and x11 are in distro
In reply to Tom HochsteinBy i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used.
--- recipes-graphics/gtk+/gtk+3_%.bbappend | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
recipes-graphics/gtk+/gtk+3_%.bbappend +3 -2
@@ -1,2 +1,3 @@ -PACKAGECONFIG_remove_mx6 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "wayland", "", d)}" - +PACKAGECONFIG_remove_mx6 = " \ + ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "x11", "", d)} \ +"
Signature · 1 line
1.9.1
PATCH 13/14 imx-gpu-viv: Configure for Wayland backend if wayland and x11 are in distro
In reply to Tom HochsteinBy i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used.
--- recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc +6 -4
@@ -7,10 +7,12 @@ SECTION = "libs" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c" -DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ - '', d), d)} \ - libpng" +DEPENDS += " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \ + '', d), d)} \ + libpng \ +" EXTRA_PROVIDES = "" EXTRA_PROVIDES_imxgpu3d = " virtual/libgl virtual/libgles1 virtual/libgles2"
Signature · 1 line
1.9.1
PATCH 14/14 gstreamer1.0-plugins-imx: Configure for Wayland backend if wayland and x11 are in distro
In reply to Tom HochsteinBy i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used.
--- recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb +4 -3
@@ -36,9 +36,10 @@ EXTRA_OECONF = "--kernel-headers=${STAGING_KERNEL_DIR}/include ${PACKAGECONFIG_C EGLVIVSINK_DEPENDS = " \ virtual/egl virtual/libgles2 \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ - '', d),d)}" + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', \ + '', d), d)} \ +" PACKAGECONFIG ?= "uniaudiodec mp3encoder v4l2src" PACKAGECONFIG_append_imxgpu3d = " eglvivsink"
Signature · 1 line
1.9.1