summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* wayland-utils: introduce a recipeAlexander Kanavin2020-11-112-1/+21
| | | | | | | | | | wayland-utils contains wayland-info utility which deprecates and replaces weston-info from weston. (From OE-Core rev: bb8fa9950e716fdcee818a38dc4df3a19b1f3c2f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: fall back to fbdev under x32Alexander Kanavin2020-11-111-0/+3
| | | | | | | | | | Otherwise, there's a crash in swrast - the same issue as with X11. (From OE-Core rev: 09ef3dacc55544143a146190c3d66fcf5dc697ad) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: correctly start under systemdAlexander Kanavin2020-11-111-2/+7
| | | | | | | | | | | | | | | Several issues are addressed: 1. weston requires pam when starting under systemd 2. systemd was attempting to launch weston twice (from sysvinit script and from systemd unit file) which caused confusion and errors. 3. runtime test should stop/start weston via systemd only if systemd actually controls system startup, not merely when systemd is present. (From OE-Core rev: 72dd74c5d384dbe641cc7c02ecf766ff8d5f555f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Fix linking with LTOKhem Raj2020-11-111-0/+2
| | | | | | | | | | | weston uses --no-undefined option during linking which does not work with LTO therefore override it with -z undefs when lto is enabled in distro (From OE-Core rev: c5252fc88938ab3425595dcf31f892ed4aba6bc1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-gst-3.0: do not call out to host gstreamer plugin scannerAlexander Kanavin2020-11-081-0/+2
| | | | | | | | | | This is host contamination and can also fail for all kinds of reasons when running under usermode qemu. (From OE-Core rev: fb60d0920b660dffb346b2212dc6f8ba2a0b9fde) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: introduce WESTON_GROUPRichard Leitner2020-11-081-1/+5
| | | | | | | | | | | | | | Currently the WESTON_USER variable is used as user and group name for chown'ing XDG_RUNTIME_DIR. If WESTON_USER has no group with the same name this fails. Therefore add a new WESTON_GROUP variable which is set to WESTON_USER if not specified to ensure backwards compatibility. (From OE-Core rev: 8d4e0ac61671646749a30c72782376307b3e0c82) Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-graphics: libxkbcommon disable build of libxkbregistryAnibal Limon2020-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This library depends on libxml2 causing a build failure, ... 07:50:36 Run-time dependency xcb-xkb found: YES 1.14 07:50:36 Found CMake: NO 07:50:36 Run-time dependency libxml-2.0 found: NO (tried pkgconfig) 07:50:36 07:50:36 ../libxkbcommon-1.0.1/meson.build:329:4: ERROR: Dependency "libxml-2.0" not found, tried pkgconfig 07:50:36 07:50:36 A full log can be found at /srv/oe/build/tmp-rpb-glibc/work/cortexa53-linaro-linux/libxkbcommon/1.0.1-r0/build/meson-logs/meson-log.txt 07:50:36 WARNING: exit code 1 from a shell command. ... According libxkbcommon PACKAGING file the libxkbregistry is suggested to be packaged separately, users of libxkbcommon dosen't require libxkbregistry and vice-versa, see: https://github.com/xkbcommon/libxkbcommon/blob/master/PACKAGING (From OE-Core rev: 3d46e53459c93babbd0918e243a488cce5471c23) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix a build raceAlexander Kanavin2020-11-082-0/+32
| | | | | | | (From OE-Core rev: df243fa624f3acf20abc7574909bd43db2ed9d12) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* freetype: upgrade 2.10.2 -> 2.10.4Alexander Kanavin2020-11-031-2/+1
| | | | | | | (From OE-Core rev: a6b5ff561322d760eac46998de3e9e3520b0e02a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xkeyboard-config: upgrade 2.30 -> 2.31Alexander Kanavin2020-11-031-2/+2
| | | | | | | | | | Add python3native, as at least python 3.6 is needed during build, and not all hosts have that. (From OE-Core rev: a53586bd5230f66be8a44428d1a29235cf4ca2a7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxkbcommon: upgrade 0.10.0 -> 1.0.1Alexander Kanavin2020-11-031-2/+1
| | | | | | | (From OE-Core rev: 7136d9db6d5056702758c96b665aae7963812662) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libva-utils: update 2.8.0 -> 2.9.1Alexander Kanavin2020-11-031-2/+2
| | | | | | | (From OE-Core rev: 1587ecc714c70451327b506b4c3be8f448124d6b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libva: upgrade 2.8.0 -> 2.9.0Alexander Kanavin2020-11-034-11/+7
| | | | | | | (From OE-Core rev: 69a25c4fa5fc8fb1d16622836a9b468398154ad7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.16.1 -> 1.16.2Alexander Kanavin2020-11-031-1/+1
| | | | | | | (From OE-Core rev: 8a12190d495d3915a06ac5a908712510caad0669) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: upgrade to latest revisionAlexander Kanavin2020-11-031-1/+1
| | | | | | | (From OE-Core rev: 27fb1996a45a359f2cc0e8f4b43980c9c1b1c1f1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: upgrade to latest revisionAlexander Kanavin2020-11-032-1/+29
| | | | | | | | | Un-break musl builds with 0001-Add-a-missing-include-for-htobe32-definition.patch. (From OE-Core rev: 394746d1cb918da33dcfe6e9b5803ab3616f3cbc) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: replace vulkan-demosAlexander Kanavin2020-11-034-142/+48
| | | | | | | | | | | vulkan-samples is the official collection, and vulkan-demos author has stated that he will be mostly contributing there: https://github.com/SaschaWillems/Vulkan#Khronossamples (From OE-Core rev: 76a25391d09de06f832c1053d3dbc901dee3b912) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan: update 1.2.135 -> 1.2.154Alexander Kanavin2020-11-033-6/+5
| | | | | | | (From OE-Core rev: 4a79e438842b177588320f2e0d123c7652c252f5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shaderc: upgrade 2019.0 -> 2020.3Alexander Kanavin2020-11-033-91/+15
| | | | | | | | | | | | Remove 0002-shaderc-2019.0-fix-build-against-new-glslang.patch as issue fixed upstream. Rebase 0001-Fix-the-link-order-of-libglslang-and-libHLSL.patch. (From OE-Core rev: b37a544ac67ff4ad8ea56de51064b0a2f9216937) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glslang: bump to a newer commitAlexander Kanavin2020-11-031-1/+3
| | | | | | | | | This is needed to support the latest release of shaderc. (From OE-Core rev: 1a55c32875f6ab324e05489c0f7c0816417a4dcf) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glslang: upgrade 8.13.3559 -> 8.13.3743Alexander Kanavin2020-11-031-1/+1
| | | | | | | (From OE-Core rev: 137143a0488484d39303cdd18c1f2b0bdeffc8e2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glslang: fix upstream version checkAlexander Kanavin2020-11-031-0/+1
| | | | | | | (From OE-Core rev: 8bf099e40abfccdf57aa79e9ecd048f1fdb308f1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spirv-tools: upgrade 2019.5 -> 2020.5Alexander Kanavin2020-11-032-53/+2
| | | | | | | (From OE-Core rev: 2a6fe25769236ec7d5ead3c29864f2292ffb3fd5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spirv-tools: correctly set PVAlexander Kanavin2020-11-031-0/+0
| | | | | | | (From OE-Core rev: 21cbfb796ec9bb7d6e4cfaf4ec5bfa88798b9857) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl2: Fix directfb SDL_RenderFillRectMark Jonas2020-11-032-0/+34
| | | | | | | | | | Refactoring of SDL2 internal API has broken SDL_RenderFillRect for DirectFB. The problem has already been fixed upstream. (From OE-Core rev: a7c8dfc1f9beebeb9da7f61b323d85fba82ec1cb) Signed-off-by: Mark Jonas <toertel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl2: Fix directfb syntax errorMark Jonas2020-11-032-0/+50
| | | | | | | | | | Build of libsdl2 with directfb is broken due to a spurious '}' and a missing 'E' since version 2.0.12. The upstream is already fixed. (From OE-Core rev: 8963daba093c3c5e2c60e1e4e057862971b84cb0) Signed-off-by: Mark Jonas <toertel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcb: Fix install file owner/groupRichard Purdie2020-11-021-0/+4
| | | | | | | | | | | The makefile uses cp -P behind the scenes for installing the tutorial files and this preserves the build user identity. Fix this to the correct owner/group. Usually do_package fixes and hides this but it can be seen in do_install. (From OE-Core rev: 34ef5c2a8d77fcb4a51c875a443f7b97b409586e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-video-vesa: update 2.4.0 -> 2.5.0Alexander Kanavin2020-10-302-57/+1
| | | | | | | (From OE-Core rev: 4b0afd5440ed49513844f98553816dc6925e9b89) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 20.1.8 -> 20.2.1Alexander Kanavin2020-10-306-74/+29
| | | | | | | | | | | | | | Build tweaks: - drop separate dri option and the patch that adds it; just setting -Ddri-drivers='' is enough - strip leading/trailing commas from drivers' lists, as upstream no longer allows blank entries if the list is not empty (e.g. -Ddri-drivers=,driver1,driver2 is now producing an error). - drop the long-obsolete llvm 3.3/3.2 logic License-Update: reformatted into rst (From OE-Core rev: 8682024ef029241c75e224174fd0b93835f88df3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xcb-proto: update to 1.14.1Richard Leitner2020-10-301-2/+2
| | | | | | | | | | | | | | | | | | | This fixes [1] the following build error for nativesdk on Fedora 33 which is caused by the removal of fractions.gcd() in favor of math.gcd() in python 3.9 [2]: ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib64/python3.9/fractions.py) Furthermore the SRC_URI is adapted as the old one doesn't provide the 1.14.1 archive. [1] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/426ae35bee1fa0fdb8b5120b1dcd20cee6e34512 [2] https://bugs.python.org/issue39350 (From OE-Core rev: 1476d40d3ef4f959f7c0e61a3c1dc63acaa90b31) Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spirv-tools: fix identation and cleanup install appendJose Quaresma2020-10-301-8/+8
| | | | | | | | | | - replace tabs with spaces and remove extra spaces - remove extra slash from '${D}/' on install append (From OE-Core rev: 82b2d4bc2761da5a388998cbcc538ff439737fb1) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shaderc: add receipeJose Quaresma2020-10-304-0/+211
| | | | | | | | | | | | | | | | | | | | | | | | A collection of tools, libraries and tests for shader compilation This receipe is needed to build the gstreamer vulkan plugin as it provides the binary glslc. It is based on arch linux shaderc packge including the patches https://github.com/archlinux/svntogit-packages/blob/91f0fa6ee3a220264a448527c1a8cf037caaad8e/trunk/PKGBUILD * 0001-fix-glslang-link-order.patch Upstream-Status: Backport [21c8be385b3fab5edcb934a6d99f69fd389c4e67] * 0002-shaderc-2019.0-fix-build-against-new-glslang.patch Upstream-Status: Pending * 0003-cmake-de-vendor-libs-and-disable-git-versioning.patch Upstream-Status: Inappropriate [configuration] (From OE-Core rev: 2947b0385e342886cbc712cd551f854a5cbbdb1f) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glslang: add receipeJose Quaresma2020-10-301-0/+17
| | | | | | | | | | | | | | Glslang is the official reference compiler front end for the OpenGL ES and OpenGL shading languages. It implements a strict interpretation of the specifications for these languages. It is open and free for anyone to use, either from a command line or programmatically. This receipe is needed to build the new shaderc (From OE-Core rev: 1cd89eccd7db79eb9bdc67b620daf138e22391a4) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spirv-tools: enable native build and install more header filesJose Quaresma2020-10-301-0/+4
| | | | | | | (From OE-Core rev: ffcab997dd504922b4b55c78a88b97063668e42a) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spirv-tools: import from meta-oe to OE coreJose Quaresma2020-10-303-0/+120
| | | | | | | | | This receipe is needed to build the new shaderc (From OE-Core rev: 4f76d1e5252385a34b3f975cade1c114b0a9a42a) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: Refresh patchZang Ruochen2020-10-261-50/+26
| | | | | | | | | Because two modifications conflict in the patch, do_patch will make an error when using patch as a patchtool. (From OE-Core rev: 5a0237ad40457bbaedcc3f0e6c130612981eece3) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Allow setting idle time to 0Alistair2020-10-261-0/+8
| | | | | | | | | | Add a PACKAGECONFIG that can be used to set the idle-time to 0. This is useful for always on machine (such as kiosks) and for debugging. (From OE-Core rev: 082902a3e97020f0b02097feb3c2173c64a017bf) Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Fix PACKAGECONFIG for remotingRobert Yang2020-10-261-1/+1
| | | | | | | | | Fix a typo: gstreamer-1.0 -> gstreamer1.0. (From OE-Core rev: d5b030dd9b9ada796f90919c97c887b00612cfc0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build on 32bit arches supporting 64bit time_t onlyKhem Raj2020-10-202-0/+32
| | | | | | | | | | | | | Fixes ../mesa-20.1.8/src/util/futex.h:47:19: error: use of undeclared identifier 'SYS_futex'; did you mean 'sys_futex'? return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); ^~~~~~~~~ sys_futex (From OE-Core rev: 21bdff510a7673ccf7f27f551b641a5ba84d656c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Add environment file support for systemd unit fileFabio Berton2020-10-061-0/+1
| | | | | | | | | | | The /etc/default/weston file is already installed and it can be used as systemd EnvironmentFile. (From OE-Core rev: a1390bd294a0f21297ace3f7b4e33912fa9cb63b) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdrm: fix build failureakuster2020-09-302-1/+90
| | | | | | | | | Failure seen on my CentOS7 build host (From OE-Core rev: 243e13e87ac954b4197d53d6694f6335291651d5) Signed-off-by: akuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pango: upgrade 1.46.1 -> 1.46.2zangrc2020-09-301-1/+1
| | | | | | | (From OE-Core rev: 2abc0e7ecab199bacf931dd4711734bdd3b48644) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Space-comma CleanupsJon Mason2020-09-301-1/+1
| | | | | | | | | | | | | Multiple files have " ," instead of ", " in expressions. This changes them to conform to the way the rest of them are done. Found and corrected via: git ls-files | xargs sed --follow-symlinks -i 's/ ,d/, d/g' (From OE-Core rev: 36c3afd2dd8bded02ea8f255e89a09ebd75c795b) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: add/fix invalid Upstream-Status tagsRoss Burton2020-09-231-1/+1
| | | | | | | (From OE-Core rev: 630ce8130598e2bca7231ac28a7cc18b5b942544) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 20.1.6 -> 20.1.8Anibal Limon2020-09-233-1/+1
| | | | | | | (From OE-Core rev: 166276bc6ad44d05b2b79ddef2ed3de3a2236631) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinput-calibrator: change SRC_URI to branch with libinput supportSteve Sakoman2020-09-171-2/+2
| | | | | | | | | | | | | | | | | | Since "conf: Use xf86-input-libinput by default" [1] there are reports [2] of xinput-calibrator failing because it expects xf86-input-evdev and with the above patch xf86-input-libinput takes precedence. Fix this issue by using a branch of xinput calibrator which supports xf86-input-libinput. [1] https://git.openembedded.org/openembedded-core/commit/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc?id=2d005faff6341a81a2afae28860101ba9db51ae8 [2] https://www.yoctoproject.org/pipermail/yocto/2018-December/043487.html (From OE-Core rev: d3b2302bcc1594e663183134793cf4aca8f4df41) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-weston: Bump qemu memory to 512MKhem Raj2020-09-141-0/+2
| | | | | | | | | | It needs openGL and launching two weston instances during weston ptest needs > 256M ram to work (From OE-Core rev: 72668c42d4b2a0bc48a1341e30baac6c7968d993) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Select drm/fbdev backends for qemu machinesKhem Raj2020-09-143-0/+9
| | | | | | | | | | | qemux86/x86_64/aarch64 supports drm backend well, therefore enable it on these qemu machines, other qemu machines should be defaulting to fbdev, if its not qemu then leave it empty (From OE-Core rev: cfda3e10d5eb1563d10318c1d8ff6287b539ee04) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Do not use fbdev backendKhem Raj2020-09-141-2/+0
| | | | | | | | | This works ok with latest weston/kernel to use drm backend (From OE-Core rev: c696bdc424f1eadaa24dd8c0a8419e38f097f38a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Enable RDP screen shareKhem Raj2020-09-141-2/+2
| | | | | | | (From OE-Core rev: bdca4796ff43e475cd39fe1f1f48b9cfb08a5128) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>