summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
AgeCommit message (Collapse)Author
2020-04-02waffle: no need to depend on target python3Marek Vasut
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-15virglrenderer: fix multiple CVEsLee Chee Yang
fix these CVE: CVE-2019-18390 CVE-2019-18391 CVE-2020-8002 Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-20xserver-nodm-init: Fix the start failure for non-root userKevin Hao
In order to start the xserver, a non-root user should have the cap_sys_admin capability to set the drm master. We try to get the cap_sys_admin capability by setting it in both the thread and file inheritable set. The side effect of this is that we would have to add the "pam" to the distro features if we want use the xserver-nodm-init for a non-root user. [Yocto #11526] Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cfd71a68a4931c8bda15357ebb1e9ebcf0e302dc) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-02-11libinput: Fix determinism issueRichard Purdie
The build was injection git information from the wrong git tree, stop this to allow reproducible builds. (From OE-Core rev: c3f6a6113f562ecdb13386c3ff52adb7973980a4) (From OE-Core rev: 22dc9a3314eef5925241a9a961bd79815d3172b6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-02-11libxshmfence: Set shm directory deterministicallyRichard Purdie
Without setting this it will vary depending on which directories are present on the host. [YOCTO #13778] (From OE-Core rev: 6217c3a7201b34888aa2fbae8b6e490bea545574) (From OE-Core rev: 10357b0bf3f6b34b54c0329e7e392ecf2c7043cd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-02-04core: recipes: fix some native tools dependenciesSumit Garg
Some native tools dependency issues were seen while building with external GCC tool-set rather than source GCC tool-set. While building with source tool-set these dependencies were implicitly met which is not the case with external tool-set. So explicitly state these native tools dependencies. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-08libsdl2: fix failure appeared in bitbake libsdl2-nativeYanfei Xu
When you bitbake libsdl2-native and your host had installed fcitx or ibus, it may cause you bitbake failed in do_compile. Disable fcitx and ibus check with EXTRA_OECONF in bb file. -------------snip--------------------- CC build/SDL_sysfilesystem.lo CC build/SDL_syshaptic.lo CC build/SDL_systimer.lo /poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:52:5: error: unknown type name ‘SDL_DBusContext’ SDL_DBusContext *dbus; ^~~~~~~~~~~~~~~ /poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:121:8: error: unknown type name ‘DBusHandlerResult’ static DBusHandlerResult ^~~~~~~~~~~~~~~~~ /poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:122:20: error: unknown type name ‘DBusConnection’; ------------snip---------------------- Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eb286172e413e9d6449dc13ccec1b78c04481eb5) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-11-25cairo: the component is dual licensedAlexander Kanavin
Somehow, over the years, no one noticed that cairo does in fact offer a choice between mpl and lgpl, but the COPYING makes it clear: https://gitlab.freedesktop.org/cairo/cairo/blob/1.16/COPYING Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-10libsdl2: fix race when building in parallelAnuj Mittal
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-25libsdl2: fix CVE-2019-13616Yi Zhao
Reference: https://nvd.nist.gov/vuln/detail/CVE-2019-13616 Patch from: https://hg.libsdl.org/SDL/rev/e7ba650a643a Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 70b9cdf86b9c5ed14937500619387a890a57ef20) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-10-08pango: remove obsolete libtool FILESRoss Burton
We now build Pango with Meson which doesn't use libtool, so we can remove the FILES that packages up non-existant .la files. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-08harfbuzz: add PACKAGECONFIGs for all the optional dependenciesRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-10-02mesa: Add freedreno PACKAGECONFIG optionOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-10-02pango: fix the failing testiter test caseRoss Burton
The testiter test case fails if libthai support isn't enabled because it execises codepaths that need libthai to be correct. Backport a patch to skip this test if libthai isn't enabled. Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-19weston-init: Add possibility to run weston as non-root userKhem Raj
These changes are from meta-96boards primarily Launch the session via a udev rule based on what kind of display device is available delete weston-conf and move the fuctionality into weston-init other layers are doing same weston-init installs machine specific weston.ini therefore mark is machine specific now Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-19libinput: upgrade 1.14.0 -> 1.14.1Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-19piglit: upgrade to latest revisionRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-18weston: Set depends to the virtual needed not explicitly on MesaAndrew F. Davis
The dependency is for EGL and GLES2 libraries. On some systems these are not provided by Mesa, list what is actually needed so the system can choose the correct provider. Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-18cogl: Set depends to the virtual needed not explicitly on MesaAndrew F. Davis
The dependency is for EGL and GLES2 libraries. On some systems these are not provided by Mesa, list what is actually needed so the system can choose the correct provider. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-18libepoxy: Disable x11 when not building for x11Andrew F. Davis
Although glx support is turned off, the build still tries to pull in some x11 components, disable x11 explicitly. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-16font-util: update to 1.3.2Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-16cogl: Do not depend PN-dev on empty PNKhem Raj
Fixes image build error e.g. - nothing provides cogl-1.0 = 1.22.4-r0.2 needed by cogl-1.0-dev-1.22.4-r0.2.core2-64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-15mesa: no need to depend on target python3Ross Burton
2019-09-15mesa: Upgrade 19.1.1 -> 19.1.6Otavio Salvador
- Add python3 to DEPENDS: mesa commit cb3072488c changed function that verifies python installation and to this new function works we need to have Python3 in DEPENDS. This is a bugfix only set of releases. Check following links for the relevant release notes: - https://www.mesa3d.org/relnotes/19.1.2.html - https://www.mesa3d.org/relnotes/19.1.3.html - https://www.mesa3d.org/relnotes/19.1.4.html - https://www.mesa3d.org/relnotes/19.1.5.html - https://www.mesa3d.org/relnotes/19.1.6.html Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-06weston: uprev to 7.0.0Ming Liu
- Adjust patches to comply with weston-7.0.0. - Also drop the obsolete patch 0001-make-error-portable.patch. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-06libjpeg-turbo: upgrade 2.0.2 -> 2.0.3Anuj Mittal
Bug fix release. Release notes: https://github.com/libjpeg-turbo/libjpeg-turbo/releases Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-06harfbuzz: upgrade to 2.6.1Ross Burton
Add a (disabled) PACKAGECONFIG for Graphite2. Update the license checksum for hb-ucd.cc, which for some reason was checksumming the entire file and not just the license header. Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-06pango: add PACKAGECONFIG for libthai supportRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-06pango: 1.44.6 upgradeRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-09-03eglinfo: remove the recipeAlexander Kanavin
Last commit upstream was in Sep 2014; pull requests have been ignored since. I believe eglinfo from mesa-demos is an adequate and maintained alternative. Also this recipe was using an ugly waf blob placed directly into oe-core, which was also dependent on python 2. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-01libepoxy: enable x11 PACKAGECONFIG for native/nativesdkAlexander Kanavin
This is needed to enable virgl support in qemu with SDL frontend Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-30mesa: Add support for the panfrost PACKAGECONFIGNeil Armstrong
Add support to enable the Panfrost Gallium driver in PACKAGECONFIG Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-30virglrenderer: update 0.7.0 -> 0.8.0Alexander Kanavin
This also allows building virglrenderer without python 2.x Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-30mesa: disable gallium swrast driver on x86 x32Alexander Kanavin
It was found to crash the X server on startup under qemu. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-22images: use 512M of RAM in qemu if 'opengl" is in DISTRO_FEATURESAlexander Kanavin
256M was found to be no longer sufficient, as the X server fails to start with the modesetting driver and 3D enabled. Only images that actually include X11 are adjusted. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-22pango: upgrade to 1.44.5Ross Burton
This release ships some files that were previously missing from git but needed for the test suite. Add RDEPENDS on locale-base-en-us as some of the tests explictly use it. No need to depend on liberation-fonts, all of the tests use Cantarell. With these changes, just one test fails (filed upstream as https://gitlab.gnome.org/GNOME/pango/issues/405) and there are no skips. Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-08-21kmscube: Bump revision to f632b23Otavio Salvador
This includes following changes: f632b23 drm: Find a proper modeset device, is none is provided Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-08-21mesa: fix upstream version checkAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-08-16mesa: Add packageconfigs for vc4 and v3dKhem Raj
This helps in enabling them via packageconfig from SOC layers Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-14xrandr: update to 1.5.1Oleksandr Kravchuk
SRC_URI was moved from xorg-app-common.inc, since it has hardcoded file extension (tar.bz2), but upstream stopped publishing tar.bz2 archives for newer versions of the packages. Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-14xf86-input-libinput: update to 0.29.0Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-13mesa: enable glx-tls option in native and nativesdk buildsAlexander Kanavin
Before meson conversion this was always enabled; now it needs to be explicitly switched on. This un-breaks the virgl headless test in particular, which regressed with the meson conversion (and the test is not currently run on AB due to oudated graphics hardware in it). Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-12libinput: update to 1.14.0Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-08libx11: replace libtool patch with upstreamed patchRoss Burton
After iterating with upstream, this is the patch that landed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-07libx11-compose-data: upgrade 1.6.7 -> 1.6.8Yi Zhao
Refresh the patch to fix the do_patch QA warning. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-07libglu:upgrade 9.0.0 -> 9.0.1Zang Ruochen
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-07mesa,llvm,meson: Update llvm to 8.0.1 plus define and use LLVM version globallyKhem Raj
- Add missing dependency on libedit - Define LLVMVERSION on the same lines as GCCVERSION and other tools - Use LLVMVERSION in mesa and meson.bbclass to get llvm version instead of hardcoding it - Use llvm patches unmodified from meta-clang, helps in keeping them in sync - Define PREFERRED_VERSION for llvm, llvm-native, nativesdk-llvm Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-07waffle: upgrade 1.5.2 -> 1.6.0Ross Burton
Switch to Meson instead of CMake. Add PACKAGECONFIG for surfaceless-egl. Inherit bash-completion for the new wlinfo completion script. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-07xserver-xorg: refresh build path removal patchRoss Burton
The patch has iterated, so update to the latest revision. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-07virglrender: Fix endianness check on muslKhem Raj
Seen to fail on musl/mips, this fixes the check to be linux specific which means it can detect the endianness for musl correctly Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>