summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
AgeCommit message (Collapse)Author
2021-09-07assimp: Remove itrbt/assimp-hardknottRobert Yang
Remove it since it has license issues: * scripts/StepImporter/schema_ifc2x3.exp Copyright by: International Alliance for Interoperability, 1996-2005 All rights reserved. No part of this documentation may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the owner * test/models-nonbsd/X/dwarf-Read-Me.txt RESTRICTIONS: This model pack is available for use in freeware, shareware, commercial games/software with the following restrictions:- **You may not sell/re-sell this model pack or claim it as your own. ***You may not redistribute this pack in some other model pack through a website or on a compilation CD of any kind, without my written consent. Psi http://www.psionic3d.co.uk * test/models-nonbsd/B3D/turtle.source.txt Copyright 2004, Psionic Design e-mail: psionic@blueyonder.co.uk Used with permission. RESTRICTIONS: This model pack is available for use in freeware, shareware, commercial games/software with the following restrictions:- **You may not sell/re-sell this model pack or claim it as your own. ***You may not redistribute this pack in some other model pack through a website or on a compilation CD of any kind, without my written consent. And no recipes depend on it, so remove it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2021-08-26weston: Re-order gbm destruction at DRM-backend tear downKhem Raj
Fixes an annoying segfault seen on rpi4 when launching weston during boot especially using systemd service or sysvinit script, if weston is launched manually on VT, it works fine. This backport specifically addresses the issue described above. For more details see [1] [1] https://gitlab.freedesktop.org/wayland/weston/-/issues/314 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 74e0249af85782af436791d1339ce864536d2022) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-23pixman: re-disable iwmmxtPatrick Williams
Commit dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0 dropped the iwmmxt disable as part of the meson conversion and said: "we can add this back again if it fails." It does. | cc1: warning: switch '-mcpu=arm1176jz-s' conflicts with switch '-march=iwmmxt2' | FAILED: pixman/libpixman-1.so.0.40.0 | lto1: fatal error: target specific builtin not available | compilation terminated. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia1278d18543493a3f9eace6c2dd2f84701b9c2b1 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit afa713033a7fc9b7c4ac3d703ea9218b4d775def) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-31glew: fix Makefile raceRoss Burton
Fix a Makefile race resulting in the target creating a directory being executed after the target to write into that directory. [ YOCTO #14485 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e90c1d3b80e35fb685d4b321972743771eb2c2c0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-14xserver-xorg: Fix builds without glxWadim Egorov
Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-06-18libx11: fix CVE-2021-31535Kai Kang
Backport patch to fix CVE-2021-31535 of libx11. Adjust indentation as well. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-22builder: whitelist CVE-2008-4178 (a different builder)Ross Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06libjpeg-turbo: Use --reproducible option for nasmKhem Raj
This ensures that nasm version and timestamps do but appear in build outputs Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2f69c00c4bc1de6cd518fd78f67ff3ca863392f3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-06xserver-xorg: fix CVE-2021-3472Stefan Ghinea
Insufficient checks on the lengths of the XInput extension ChangeFeedbackControl request can lead to out of bounds memory accesses in the X server. References: https://nvd.nist.gov/vuln/detail/CVE-2021-3472 Upstream patches: https://gitlab.freedesktop.org/xorg/xserver/-/commit/7aaf54a1884f71dc363f0b884e57bcb67407a6cd Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6fec5fea942ce88e33e5cf4c2102d69ce25e7180) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-06mesa: upgrade 21.0.2 -> 21.0.3wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a89ed8ce30a5830a0ac90aa633ec466b4e3a0ba1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-26weston: fix build failure due to race conditionChen Qi
The wayland.c actually include 'xdg-shell-client-protocol.h' instead of the server one, so fix it. Otherwise, it's possible to get build failure due to race condition. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bd2a9a4d82f66f1ff414c392bcf234d8dbd5e553) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-23cairo: fix CVE-2020-35492Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-23libxshmfence: Build fixes for riscv32Mingli Yu
NR_futex is not defined by newer architectures e.g. riscv32 as they only have 64bit variant of time_t. Glibc defines SYS_futex interface based on __NR_futex, since this is used in applications, such applications start to fail to build for these newer architectures. Define a fallback to alias __NR_futex to __NR_futex_time64 to make SYS_futex keep working. Reference: https://git.openembedded.org/openembedded-core/commit/?id=7a218adf9990f5e18d0b6a33eb34091969f979c7 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 81599bf32135187b34726d41e9f619d22ca1bdd1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-23glslang: strip whitespace in pkgconfig fileRoss Burton
Whilst pkg-config is fine with .pc files containing leading whitespace, pkgconf is less forgiving. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 14bfe5f15f78c1bc049868633fd6fa19feb5a70c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-23pango: re-enable ptestSaul Wold
The run-ptest script got accidently dropped from the SRC_URI during a past update and ptest patch. Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4479f810c1a3ab2badf4f9610c309bc0e23e2a5f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-23mesa: upgrade 21.0.1 -> 21.0.2wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 58ad359da1b05820ea3dc4ae3f789ccb8991fc32) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-05libxcb: use PN for naming dynamic packagesMatt Madison
so an explicit runtime dependency on one of the library packages doesn't generate a message about libxcb and libxcb-native both being providers. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05mesa: enable dri in native/nativesdk through gallium driversAlexander Kanavin
Previously, dri was enabled via a token dri driver (swrast, then nouveau). Upstream is discussing removing dri drivers altogether (they're becoming difficult to support and only needed for obsolete x86 hardware), so let's prepare for that happening in the future: https://lists.freedesktop.org/archives/mesa-dev/2021-March/224984.html Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05mesa: gallium option requires libdrmAlexander Kanavin
Previously it was pulled in via dri option, and there was no configuration where gallium was enabled and dri was not. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05mesa: update 21.0.0 -> 21.0.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05mesa-gl: Use swrast gallium driverKhem Raj
Fixes: ../mesa-21.0.0/meson.build:21:0: ERROR: Options "swrast" are not in allowed choices: "auto, i915, i965, r100, r200, nouveau" with any driver enabled in DRIDRIVERS, do_configure fails with: ../mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system even after enabling gallium and wayland PACKAGECONFIGs, move DRIDRIVERS_append* from mesa.inc to mesa recipe. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20packagegroup-core-weston.bb: add pam to REQUIRED_DISTRO_FEATURESMartin Jansa
* weston, weston-init, weston-examples require pam * fixes: ERROR: Nothing RPROVIDES 'weston-init' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) weston-init was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES) NOTE: Runtime target 'weston-init' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston-init'] ERROR: Nothing RPROVIDES 'packagegroup-core-weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'packagegroup-core-weston' NOTE: Runtime target 'packagegroup-core-weston' is unbuildable, removing... Missing or unbuildable dependency chain was: ['packagegroup-core-weston'] ERROR: Nothing RPROVIDES 'weston-examples' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) weston RPROVIDES weston-examples but was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES) NOTE: Runtime target 'weston-examples' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston-examples'] ERROR: Nothing RPROVIDES 'weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it) weston was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES) NOTE: Runtime target 'weston' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston'] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20mesa: update 20.3.4 -> 21.0.0Alexander Kanavin
0001-anv-fix-a-build-race-between-generating-a-header-and.patch merged upstream. osmesa is now a simple boolean option. Swrast has been removed from dri drivers, so as we need at least one driver to enable dri in native/nativesdk, replace it with nouveau (which does not take long to build). Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20spirv-tools: upgrade 2020.6 -> 2020.7Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20spirv-headers: update to latest revisionAlexander Kanavin
This is required by latest release of spirv-tools. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20spirv-tools: cleanup an old patch that is not used anymoreJose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20spirv-tools: python3 is need not only for the testsJose Quaresma
commit acf109c1a1a30907f7401f6225fcbfb5f2e39a58 remove the python3native when disabling the tests but python is needed not only for the tests, so re add it. Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20vulkan-tools: upgrade 1.2.162.1 -> 1.2.170.0Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20vulkan-loader: upgrade 1.2.162.0 -> 1.2.170.0Wang Mingyu
0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch removed since it is included in 1.2.170.0 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20vulkan-headers: upgrade 1.2.162.0 -> 1.2.170.0Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20weston-init: Set $HOME variable for SysVinit managerAdrian
SysVinit sets by default the $HOME directory to "/" for the init scripts. It's picked then by the weston-launcher and make weston-terminal to have wrongly set $HOME environment variable for the root user. Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20libsdl2: disable shared memory for native buildsAwais Belal
libsdl2 currently does not handle the failures that occur due to shared memory in case of remote hosts where it should ideally switch to socket based writing when a failure is seen with shared memory. Consider a scenario where a qemu build is done with graphics support on a build machine and then accessed remotely using ssh. If the remote host's X presents MIT-SHM as an extension, launching qemu fails with runqemu - ERROR - Failed to run qemu: X Error: BadValue Request Major code 130 (MIT-SHM) Request Minor code 3 () This is most often seen when the remote machine doing ssh is a Ubuntu 20.04. The libsdl2 native are mainly used for qemu at this time so it is a major usecase. A report of such a failure was also presented at https://lists.yoctoproject.org/g/poky/topic/78854857 Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11spirv-tools: Replace strncpy with memcpyKhem Raj
Fixes warnings produced with gcc 11 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11meta/recipes-graphics: Add HOMEPAGE / DESCRIPTIONDorinda
Added missing HOMEPAGE and DESCRIPTION found using the test command `oe-selftest -r distrodata.Distrodata.test_missing_homepg` [YOCTO #13471] Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06shaderc: upgrade 2020.4 -> 2020.5Wang Mingyu
0003-cmake-add-option-to-skip-build-the-examples.patch removed since it is included in 2020.5 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06core-image.bbclass: add a weston IMAGE_FEATURE, similar to x11-baseAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06libinput: less parallism to increase chances the test suite worksRoss Burton
Discussion with the libinput maintainer has confirmed that many of the libinput test cases need to run on a relatively unloaded system, because input handling is by definition time-sensitive and any event mismatches are considered a failure to avoid broken code hiding. We can't expect libinput to run on an otherside unloaded machine because the autobuilder ptests execute in a qemu at the same time as builds can be happening. We can however reduce the amount of parallellism happening in the libinput test suite to give it a better chance of succeeding. This may not be enough, but it's worth a go. [ YOCTO #14164 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02recipes-graphics: Add missing HOMEPAGE and DESCRIPTION for recipes.Meh Mbeh Ida Delphine
Fixes: [YOCTO #13471] Signed-off-by: Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02vulkan-samples: update to latest revisionAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02pango: update 1.48.0 -> 1.48.2Alexander Kanavin
Drop a patch; issue fixed upstream: https://gitlab.gnome.org/GNOME/pango/-/commit/fcda7d6f9b6ee966f5da860be5ec0c0096193a83 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01igt-gpu-tools: Fix warnings with gcc 11Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01glslang: upgrade 11.1.0 -> 11.2.0Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27igt-gpu-tools: Fix reproducibility issueRichard Purdie
Add a configuration option to pass in srcdir, removing hard coded build paths from the binaries. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26fonts: Bump HASHEQUIV_HASH_VERSION after rpmdeps changeRichard Purdie
After the rpmdeps change, the output didn't change in the correct case and hence hashes were cross-linked. We bump the hashequiv version to avoid problems from this. Also bump PR to force a rebuild. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24reproducible: Improve SOURCE_DATE_EPOCH_FALLBACK handlingRichard Purdie
Ensure the fallback value if used is written to the SDE file and hence stored in sstate, reducing any confusion within the code over '0' values. Bump the HASHEQUIV_VERSION since we've had a ton of trouble with ensuring this rolls out correctly on the autobuilder so others may too, take a clean slate for it. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21xkeyboard-config: upgrade 2.31 -> 2.32Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19kmscube: upgrade to latest revisionAnuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19mesa: upgrade 20.3.2 -> 20.3.4Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18xorg-minimal-fonts: Really fix determinismRichard Purdie
My previous fix wasn't correct as the file timestamps do vary by git checkout or modification time and aren't correct here. Instead use a specific date/time for the files to be deterministic. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18libxt: upgrade 1.2.0 -> 1.2.1Anuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>