summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
AgeCommit message (Collapse)Author
2021-01-08cantarell-fonts: upgrade 0.201 -> 0.301zhengruoqin
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31vulkan-samples: update to latest revisionAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30vulkan-tools: upgrade 1.2.154.0 -> 1.2.162.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30vulkan-loader: upgrade 1.2.154.1 -> 1.2.162.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30libva-utils: update 2.9.1 -> 2.10.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30piglit: update to latest revisionAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30xserver-xorg: upgrade 1.20.9 -> 1.20.10Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30xprop: upgrade 1.2.4 -> 1.2.5Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30vulkan-headers: upgrade 1.2.154.0 -> 1.2.162.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30libx11: upgrade 1.6.12 -> 1.7.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30libva: upgrade 2.9.0 -> 2.10.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24mesa: update 20.2.4 -> 20.3.1Trevor Woerner
Two of the patches have been applied upstream: 0001-meson-Add-xcb-fixes-to-loader-when-using-x11-and-dri.patch 0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch The 'surfaceless' platform is now enabled by default, therefore it is no longer a valid choice. The meson build system is intelligent enough now to decide if 'drm' needs to be enabled based on whether or not gbm is available. Therefore 'drm' also is no longer a valid platform choice: ERROR: Options "drm, surfaceless" are not in allowed choices: "auto, x11, wayland, haiku, android, windows" RP: Add missing mesa-gl upgrade Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21spirv-tools: upgrade 2020.5 -> 2020.6Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21shaderc: upgrade 2020.3 -> 2020.4Jose Quaresma
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20mesa.inc: switch true/enabled false/disabledTrevor Woerner
A number of options have been switched from true/false to enabled/disabled and the older usage is deprecated, as is seen in the configuration logs: ../mesa-20.3.1/meson.build:92: WARNING: gles1 option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:100: WARNING: gles2 option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:119: WARNING: shared-glapi option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:381: WARNING: gbm option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:412: WARNING: egl option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:493: WARNING: dri3 option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:516: WARNING: gallium-vdpau option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:570: WARNING: gallium-xvmc option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:691: WARNING: gallium-va option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:727: WARNING: gallium-xa option "false" deprecated, please use "disabled" instead. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15mesa: remove patch disabling asmAnuj Mittal
This was originally added for musl only [1]. Upstream has removed this option but we reverted that change during an upgrade to fix certain musl specific compile time issues [2]. I compile tested without this patch on musl-x86 and musl-x86-64 and don't see the warnings anymore. Similar textrel issues were fixed upstream so perhaps those helped [3]. [1] https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit?id=68bf128e901e89d5b49a28b15d5083b2bf6b536f [2] https://www.openembedded.org/pipermail/openembedded-core/2019-November/289222.html [3] https://gitlab.freedesktop.org/mesa/mesa/-/commit/45206d7673adb1484cbdb3eadaf82e0849c9cdcf?merge_request_iid=1974 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15mesa: add more details to elf-tls patchAnuj Mittal
Include link to upstream report and the last autobuilder failure [1] so it's easy to identify why this is needed in future. [1] https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/1160/steps/8/logs/step1c Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09libinput: upgrade 1.16.3 -> 1.16.4zangrc
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09mesa: Update 20.2.1 -> 20.2.4Fabio Berton
This commit adds the changes of 20.2.2, 20.2.3 and 20.2.4 bug fix releases. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09piglit: fix reproducibilityAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09cantarell-fonts: update 0.0.25 -> 0.201Alexander Kanavin
Incorrectly set git regex meant we were stuck with a 4 year old version. Use tarballs as they contain prebuilt font files; building them from source requires a bunch of obscure dependencies. Contains portions of libglyph which are Apache 2.x licensed. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09xkbcomp: upgrade 1.4.3 -> 1.4.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09piglit: upgrade to latest revisionAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09pango: upgrade 1.46.2 -> 1.48.0Alexander Kanavin
Add a patch to fix failing ptest. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09vulkan-samples: update to latest revisionAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29libxkbcommon: upgrade 1.0.1 -> 1.0.3zangrc
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29libjpeg-turbo: upgrade 2.0.5 -> 2.0.6zangrc
-License-Update: Copyright year updated to 2020. Refresh the following patch: 0001-libjpeg-turbo-fix-package_qa-error.patch Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29libsdl2: Add directfb to PACKAGECONFIG rdependsMark Jonas
PACKAGECONFIG[directfb] already adds directfb to the build dependencies. But the automatically generated runtime dependencies do not add the directfb package to the runtime dependencies. Most likely this happens because libsdl2 does not link against directfb but uses dlopen() or similar. Thus, the runtime dependency to directfb needs to be declared explicitly. Signed-off-by: Mark Jonas <toertel@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24vulkan-samples: fix do_compile failureChangqing Li
fix error: | framework/lib/ppc/libframework.a(device.cpp.o): in function `std::__atomic_base<unsigned long long>::load(std::memory_order) const': | /usr/include/c++/10.2.0/bits/atomic_base.h:426: undefined reference to `__atomic_load_8' some arch don't have built-in atomic, so need to link it explicitly Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24weston-init: Stop running weston as rootJoshua Watt
Running the weston compositor as the root user is an insecure default behavior for OE-core. We can do much better, at least when using systemd. Change the recipe to create a dedicated "weston" user and start weston as this user. The systemd service and socket units are no longer template units, as there were several inconsistencies in the templates. Instead, there is now a global /run/wayland-0 socket that gets created, and systemd will start weston on demand when a client connects to that socket or when attempting to reach graphical.target, whichever comes first. This also allows downstream users to easily change the behavior so that weston *only* starts on demand by adding a drop file. Access to the global socket is controlled by a "wayland" group; any user that is a member of the group can use the socket to talk to the compositor. This also satisfies another use case where another systemd service might start a graphical application that needs to display with weston (e.g. a single function device in kiosk mode). Finally, the udev rules for starting weston with the existance of a DRM device have been removed. Being WantedBy= a graphical target should eliminate the need for this behavior, and having it present makes it difficult for downstream users to start weston on demand (having to override the udev rules). Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17weston-init: Fix incorrect idle-time settingAlistair
Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17libdrm: upgrade 2.4.102 -> 2.4.103zangrc
files/0001-xf86drm.c-fix-build-failure.patch Removed since this is included in 2.4.103. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17libinput: upgrade 1.16.2 -> 1.16.3zangrc
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16weston: add pam to REQUIRED_DISTRO_FEATURESMartin Jansa
* it was added to weston-init in 72dd74c5d384dbe641cc7c02ecf766ff8d5f555f now world builds are failing with: ERROR: Nothing RPROVIDES 'weston-init' (but openembedded-core/meta/recipes-graphics/wayland/weston_9.0.0.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 'weston-dev' (but openembedded-core/meta/recipes-graphics/wayland/weston_9.0.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'weston-dev' NOTE: Runtime target 'weston-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston-dev'] ERROR: Nothing RPROVIDES 'weston' (but openembedded-core/meta/recipes-graphics/wayland/weston_9.0.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'weston' 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>
2020-11-16meta: drop _PYTHON_SYSCONFIGDATA_NAME hacksAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13mesa: Add xcb-fixes to loader when using x11 and dri3Tom Hochstein
Backport fix for undefined symbol for xcb_xfixes_create_region in loader_dri3_helper.c. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13libsdl2: Disable video-rpiRandy MacLeod
When building on Raspbery Pi OS/64-bit, libsdl2 fails with the error: .../tmp/work/aarch64-linux/libsdl2-native/2.9.12-r0/SDL2-2.0.12/src/video/raspberry/SDL.rpivideo.h:47:5: error: unknown type name 'EGL_DISPMANX_WINDOW_T' EGL_DISPMANX_WINDOW_T dispman_window; Disable video-rpi to avoid the problem since video suppport is not needed for rpi and this configuration option is harmless when building on x86-64 hosts. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11wayland-utils: introduce a recipeAlexander Kanavin
wayland-utils contains wayland-info utility which deprecates and replaces weston-info from weston. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11weston-init: fall back to fbdev under x32Alexander Kanavin
Otherwise, there's a crash in swrast - the same issue as with X11. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11weston-init: correctly start under systemdAlexander Kanavin
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. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11weston: Fix linking with LTOKhem Raj
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08clutter-gst-3.0: do not call out to host gstreamer plugin scannerAlexander Kanavin
This is host contamination and can also fail for all kinds of reasons when running under usermode qemu. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08weston-init: introduce WESTON_GROUPRichard Leitner
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. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08recipes-graphics: libxkbcommon disable build of libxkbregistryAnibal Limon
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 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08mesa: fix a build raceAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03freetype: upgrade 2.10.2 -> 2.10.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03xkeyboard-config: upgrade 2.30 -> 2.31Alexander Kanavin
Add python3native, as at least python 3.6 is needed during build, and not all hosts have that. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03libxkbcommon: upgrade 0.10.0 -> 1.0.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03libva-utils: update 2.8.0 -> 2.9.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03libva: upgrade 2.8.0 -> 2.9.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>