summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
AgeCommit message (Collapse)Author
2022-07-28xwayland: upgrade 22.1.2 -> 22.1.3Alexander Kanavin
Changes: os: print <signal handler called> if unw_is_signal_frame() os: print registers in the libunwind version of xorg_backtrace() xwayland/present: Do not send two idle notify events for flip pixmaps xwayland: Fix check logic in sprite_check_lost_focus() xkb: switch to array index loops to moving pointers xkb: swap XkbSetDeviceInfo and XkbSetDeviceInfoCheck xkb: add request length validation for XkbSetGeometry xwayland: Change randr_output status when call xwl_output_remove() Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 229e3ad289a5e2c890b25497857140952acc3d67) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-28xwayland: upgrade 22.1.1 -> 22.1.2Richard Purdie
Changes: Olivier Fourdan (3): randr: Add "RANDR Emulation" property xwayland/output: Set the "RANDR Emulation" property xwayland: Fix invalid pointer access in drm_lease_device_handle_released. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0fd8934f51080313f54326b634593d11385b3338) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-28xserver-xorg: update 21.1.3 -> 21.1.4Alexander Kanavin
Security update CVE fixed in this release: CVE-2022-2319/ZDI-CAN-16062: X.Org Server ProcXkbSetGeometry Out-Of-Bounds Access CVE-2022-2320/ZDI-CAN-16070: X.Org Server ProcXkbSetDeviceInfo Out-Of-Bounds Access Changes: present: Check for NULL to prevent crash rootless: Dead code removal (ROOTLESS_REDISPLAY_DELAY is already defined) X11Application: Ensure TIS operations are done on the main thread os/connection: Improve abstraction for launchd secure sockets xquartz: Create a separate category for organizing user preferences xquartz pbproxy: Adopt NSUserDefaults+XQuartzDefaults for preferences xquartz: Fold spaces related preferences into NSUserDefaults+XQuartzDefaults XQuartz: Ensure scroll events are delivered to a single window (not both X11 and AppKit) meson: Bump requirement to meson-0.50.0 xquartz: Update Sparkle configuration to use SUPublicEDKey xquartz: Update copyright for 2022 meson: Provide options to set CFBundleVersion and CFBundleVersionString in XQuartz Revert "meson: Bump requirement to meson-0.50.0" xquartz: Update autotools-based builds of XQuartz to account for recent changes print_edid: Fix a format string error xf86-input-inputtest: Fix build on systems without SOCK_NONBLOCK tests: Fix build failure from missing micmap.c meson: Support building Xnest and Xorg on darwin XQuartz: Build the bundle trampoline when using meson XQuartz: Add TCC reason keys to Info.plist xquartz: Use correct defines when building to support Sparkle updates xquartz: Fix a possible crash when editing the Application menu due to mutaing immutable arrays XQuartz: Improve type safety for X11Controller's application menu editor xquartz: Add missing files to distribution tarball render: Fix build with gcc 12 xkb: switch to array index loops to moving pointers xkb: swap XkbSetDeviceInfo and XkbSetDeviceInfoCheck xkb: add request length validation for XkbSetGeometry Revert "os: Try to discover the current seat with the XDG_SEAT var first" dix: Correctly save replayed event into GrabInfoRec dix: Don't send touch end to clients that do async grab without touches xfree86: Fix event data alignment in inputtest driver xkb: fix XkbSetMap when changing a keysym without changing a keytype Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d683f2a1fbe65b52d82f55a2e38aa75fc105a338) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-28font-util: update 1.3.2 -> 1.3.3Alexander Kanavin
Changes: ucs2any: avoid segfaults if SLANT property is missing ucs2any: handle NULL returns from zquotedcpy() gitlab CI: add a basic build test Build xz tarballs instead of bzip2 Fix spelling/wording issues Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 461b464eafa14719e1dbc087aad8cfbc8d1cf62e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-28encodings: update 1.0.5 -> 1.0.6Alexander Kanavin
CHanges: gitlab CI: add a basic build test Build xz tarballs instead of bzip2 adjust descriptions for the Unicode mapping to match the Unicode.org data file. add mapping for 0x80-0x9f, as per Unicode.org data files. use descriptions from UnicodeData.txt except for two obsolete or incorrect maps correct a typo (in original), and use appropriate description use Armenian eternity symbol from Unicode 6. whitespace-only changes for consistency, using luit's annotate-enc script add descriptions from UnicodeData.txt, using annotate-enc add descriptions from UnicodeData.txt, using annotate-enc add descriptions from UnicodeData.txt, using annotate-enc add descriptions from UnicodeData.txt, with annotate-enc add descriptions from UnicodeData.txt, with annotate-enc whitespace-only, reformat with annotate-enc Add ability to tweak compressor suffix in filenames, similar to xorg apps and drivers. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b1fb0fbfbf0bcf50906a26421435d7165be64281) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-28xf86-input-synaptics: update 1.9.1 -> 1.9.2Alexander Kanavin
Changes: Convert remaining source files from ISO-8859-1 to UTF-8 gitlab CI: add a basic build test Fix spelling/wording issues Build xz tarballs instead of bzip2 synclient: allow negative/large values for AreaLeftEdge etc. eventcomm: fix compile with pre-time64 kernels eventcomm: use 64-bit time safe accessors instead of timeval directly Use fabs() instead of abs() on double values. Update configure.ac bug URL for gitlab migration Update README for gitlab migration Drop 64bit_time_t_support.patch as issue fixed upstream: https://github.com/freedesktop/xorg-xf86-input-synaptics/commit/073b1b40bde9935928758c3452176c0d8dc67370 Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9d4d2c176cf33ced4d7d5c20178066abe1e9c4d3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-28xmodmap: update 1.0.10 -> 1.0.11Alexander Kanavin
Changes: gitlab CI: add a basic build test Build xz tarballs instead of bzip2 handle.c: avoid leaks when realloc() fails PrintModifierMapping: stop leaking the map returned by XGetKeyboardMapping Fix warning about number of mouse buttons Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 162f117428be2da12f2599870e980cbbc12ac2c4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-28xev: update 1.2.4 -> 1.2.5Alexander Kanavin
Changes: gitlab CI: add a basic build test Build xz tarballs instead of bzip2 man page: remove out-of-date reference to X(7) xev: fix KeymapNotify event printing Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 83c9b5aead195d933a43a4782428fdfa3eb51967) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-28xorg-app: Tweak handling of compression changes in SRC_URIRichard Purdie
Rather than duplicating SRC_URI, change the compression to a variable. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 21547dd5319f27a8f7f20a80e39478f816b4bbe0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-28xdpyinfo: upgrade 1.3.2 -> 1.3.3wangmy
Changes: xdpyinfo: Fix printing the X.Org release version for xserver >= 21 Update README for gitlab migration Update configure.ac bug URL for gitlab migration Only check for XFree86 if vendor string doesn't match X.Org Add explicit casts to clear implicit conversion warnings Disable DMX support by default, leave --with-dmx to enable it gitlab CI: add a basic build test Build xz tarballs instead of bzip2 Fix spelling/wording issues gitlab CI: stop requiring Signed-off-by in commits autogen.sh: use quoted string variables autogen: add default patch prefix autogen.sh: use exec instead of waiting for configure to finish fix -Wunused-[...] compiler warnings temporarily override SRC_URI which is hard-coded in xorg-app-common.inc since new versions of packages use a new compression format - .tar.xz Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 712552b5cc427d7be1258c45886de9b57f7272c9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-28mkfontscale: upgrade 1.2.1 -> 1.2.2wangmy
CHanges: Fix spelling/wording issues gitlab CI: add a basic build test Build xz tarballs instead of bzip2 Use case insensitive comparison for T1 font weight Add "ExtraBold" as a valid T1 font weight. temporarily override SRC_URI which is hard-coded in xorg-app-common.inc since new versions of packages use a new compression format - .tar.xz Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7ac5e224fe55db17651988435a569a8a25b6b09f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17waffle: correctly request wayland-scanner executableAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cd05e2543bde4175da67781ec6f3eebc143d95d0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17harfbuzz: Fix compilation with clangPavel Zhukov
Fixup commit for prevous CVE-2022-33068 fix. Fixes: | In file included from ../harfbuzz-4.0.1/src/hb-ot-face.cc:39: 4429| ../harfbuzz-4.0.1/src/hb-ot-color-sbix-table.hh:301:11: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical] 4430| if (png.IHDR.height >= 65536 | png.IHDR.width >= 65536) 4431| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4432| || 4433| ../harfbuzz-4.0.1/src/hb-ot-color-sbix-table.hh:301:11: note: cast one or both operands to int to silence this warning 4434| 1 error generated. Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-13weston: update 10.0.0 -> 10.0.1Alexander Kanavin
The bug-fix release includes the following changes: In some cases we couldn't assign outputs to clients in kiosk-shell. This would affect clients who perform an initial commit and afterwards set the window property. Fixed a couple of issues with output assignment in multiple outputs setups on kiosk-shell. Fixed sub-surfaces that were not updated on commit, by caching buffer damage for synced sub-surfaces. Fixed an issue with sub-surfaces, which in some circumstances would show them of, even if unmapped. Fixed build issue related to deprecated fbdev back-end. Re-worked some previous fixes in desktop-shell to address closing/destroying of client's windows, which is particularly problematic when having close animation enabled. Minor fixes to the simple-egl client to defer the creation of the EGL window after the initial wl_surface commit. Multiple fixes to the simple-dmabuf-feedback client to support multi-tranche feedbacks: improved buffer status tracking, added a fallback print method for unknown formats, and resort to using a time slot instead of using a number of redraws. Increased buffer limit to four for simple-dmabuf-* clients. Improved debugging support when KMS import failed. - optimized surface feedback creation on demand. Fix performance regression in fragment shader brought in by previous color management work. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 682594b7827d15813c3bc4980a561ad7e89ea8b4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-13harfbuzz: fix CVE-2022-33068Wentao Zhang
Backport patch from https://github.com/harfbuzz/harfbuzz/commit/62e803b36173fd096d7ad460dd1d1db9be542593 The 'tff' file in upstream patch is for testing only which cause error during do_patch so need be dropped. File test/fuzzing/fonts/sbix-extents.ttf: git binary diffs are not supported. Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-06-20mesa: backport a patch to support compositors without zwp_linux_dmabuf_v1 againMartin Jansa
* the same will be needed for kirkstone Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3857066550d77c2c8134326f7e9b28d0f4d78b7a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-06-06libxkbcommon: upgrade 1.4.0 -> 1.4.1Richard Purdie
libxkbcommon 1.4.1 - 2022-05-21 ================== - Fix compose sequence overriding (common prefix) not working correctly. Regressed in 1.2.0. - Remove various bogus currency sign (particulary Euro and Korean Won) entries from the keysym <-> Unicode mappings. They prevented the real keysyms/codepoints for these from mapping correctly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 75655c8b48b425beb42b23d8e596d3c987047792) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-05-31mesa.inc: package 00-radv-defaults.confMarkus Volk
this fixes: ERROR: mesa-2_22.0.2-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package: /usr/share/drirc.d/00-radv-defaults.conf Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. mesa: 1 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e306dd7d300727852a2794cd78f3097d5999eb58) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-05-24mesa: upgrade 22.0.2 -> 22.0.3Alexander Kanavin
Mesa 22.0.3 is a bug fix release New features: None Bug fixes: freedreno: fragile location packing can break cull/clip distance turnip: dEQP-VK.spirv_assembly.instruction.compute.float_controls.fp16.generated_args.* failures piglit ext_image_dma_buf_import.ext_image_dma_buf_import* regression piglit ext_image_dma_buf_import.ext_image_dma_buf_import* regression Grid Autosport via proton/vulkan: glitches on the grass on amdgpu, fine on amdgpu-pro [Bisected] r600: Big performance regression on some games Huge amount of anon_inode:sync_file file descriptor created anv regressions from commit 57445adc891 “anv: Re-enable CCS_E on TGL+” NIR validation failed after nir_opt_if intel: integer_mad_hi / integer_mad_sat / integer_mul_hi produce invalid results Aperture Desk Job rendering artifacts Intel TGL intel: integer_sub_sat produces stack corruption / OpISubBorrow compilation issue r300/rv530: “Black rendering” of Baldur’s Gate Dark Alliance in Xbox emulator CXBX-R under wine with Gallium Nine and RADEON_DEBUG=use_tgsi radv/aco: xfb bug Occasional flicker corruption in Rage 2, e.g. after loading, with ACO on RX 5700 XT RADV: Quake 2 RTX v1.6.0 Corrupted Graphics ‘../src/amd/common/ac_surface.c:1575: void ac_copy_dcc_equation(const struct radeon_info *, ADDR2_COMPUTE_DCCINFO_OUTPUT *, struct gfx9_meta_equation *): assertion “dcc->equation.gfx9.num_bits <= ARRAY_SIZE(equation->u.gfx9.bit)” failed’ Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2f5831ec66c6a7e7b0f21a63cc46307aa68c5b96) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-05-16cairo: Add missing GPLv3 license checksum entryRichard Purdie
The trace tools are licensed under GPL-3.0-or-later but this wasn't listed in LIC_FILES_CHKSUM. Fix that. Ultimately we could disable that license if the trace PACKAGECONFIG is disabled but I'll leave that to someone else if they're keen. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f763b906ea10705d519c9eebb5ef1ebe87d49d7c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-05-16xwayland: upgrade 22.1.0 -> 22.1.1Alexander Kanavin
Changes in XWayland 22.1.1 include: - Not mapping the composite overlay window by default when running in rootless mode. This is being done since a client trying to get the COW, the X Server will map the window and block all pointer events. - A change to the XWayland present queue code due to some Vulkan games/apps running in windowed mode only running at 58 FPS when in fact at 60 FPS for matching a 60Hz refresh rate. Incorrect calculation handling led to the MSC ticking at ~58Hz. - Fixing use-after-free bugs. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit aa0028e19651665f6671d7c57646cfc97c7ba763) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-05-16libinput: upgrade 1.19.3 -> 1.19.4Alexander Kanavin
libinput 1.19.4 fixes CVE-2022-1215 with a format string vulnerability Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d32d51753aadf6c2747c79927dad0c9a044ad5df) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-05-16mesa: upgrade 22.0.0 -> 22.0.2Alexander Kanavin
Mesa 22.0.1 is a bug fix release which fixes bugs found since the 22.0.0 release: freedreno: crash in PUBG MSVC: Build failure in libmesa_util when targeting x86 32-bit A crash in radeonsi driver freedreno: deqp cts fails Mesa 22.0.2 is a bug fix release which fixes bugs found since the 22.0.1 release: Vulkan::Calling vkWaitForFences Timeout Intel (CHT) - Uplink text rendering bugged out in Mesa 22.0 gen9atom gpu hang on dEQP-VK.spirv_assembly.instruction.graphics.float16.arithmetic_1 bad memory managment on panfrost RK3399 - cannot alocate more ram - fury unleashed Broken rendering in Ryujinx on Tigerlake intel: integer_mad_hi / integer_mad_sat / integer_mul_hi produce invalid results Textures colors distortion in “Black Geyser: Couriers of Darkness” with radeonsi ShaderStorageBlocksWriteAccess not set for spir-v shaders? radeonsi dEQP-GLES3.functional.buffer.map.write.explicit_flush.* flake crashes radv: nir validation error with invalid array access Intel Iris Xe Geometry Flickering/Assets Disappearing Rendering artifacts when playing Outer Wilds [Reproducible with latest ANV driver built from main] Vulkan wsi leaks vk_sync object on every wsi_AcquireNextImageKHR call panfrost(RK3399/T860): Emulationstation: broken, black or missing menus with v22.0.0 Plasma/KDE settings menus disappear on daily build Square Artifacts Dragons Dogma r300: Anmesia the dark descent corruption Error compiling with LLVM-git/15 Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f3e9444968fd47b3c8e0b2ee7b1b17f43a6bd56b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-05-15freetype: backport patch for CVE-2022-27406Davide Gardenal
CVE: CVE-2022-27406 Upstream issue: https://gitlab.freedesktop.org/freetype/freetype/-/issues/1140 Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-05-15freetype: backport patch for CVE-2022-27405Davide Gardenal
CVE: CVE-2022-27405 Upstream issue: https://gitlab.freedesktop.org/freetype/freetype/-/issues/1139 Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-05-15freetype: backport patch for CVE-2022-27404Davide Gardenal
CVE: CVE-2022-27404 Upstream issue: https://gitlab.freedesktop.org/freetype/freetype/-/issues/1138 Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-04-28xserver-xorg: Fix build with gcc12Khem Raj
backport patch to silence new array-bounds warnings Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 54fa74e6e60472e10f1a11b3daa8ee9f00f0c9d5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-04-15libxshmfence: Correct LICENSE to HPNDRichard Purdie
The license in this code is listed as MIT and whilst it is compatible with and usable as MIT, it actually looks like HPND. Clarify the license field accordingly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14libsdl2: fix licenseKonrad Weihmann
by default libsdl2 is build with code from src/video/yuv2rgb, which is licensed under BSD-2-Clause. Additional by default hidapi is build, which is licensed under GPL3 | BSD-2-Clause | HIDAPI license, pick the least restrictive and best matching BSD-2-Clause. Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-09spirv-tools: fix to use sdk-1.3.204 branchChen Qi
Just as pointed out in a previous commit: """ We'll continue tagging the repos contributing with SDK releases, as that is when all the testing of the various projects is performed together. """ Now the repo has updated and the 'stable' branch is forcely overriden. We need to use the 'sdk-1.3.204' branch. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05libsdl2: Disable libunwind dependency in native buildsCarlos Rafael Giani
libunwind-native currently cannot be added to the class-native DEPENDS due to the following problem: https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/5624/steps/12/logs/stdio And without libunwind-native, libsdl2-native config fails errors like: | -- Checking for one of the modules 'libunwind' | CMake Error at [...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message): | None of the required 'libunwind' found | Call Stack (most recent call first): | CMakeLists.txt:1367 (pkg_search_module) Ideally, the libunwind issue would be fixed, and then this could be added to the libsdl2 recipe: DEPENDS:append:class-native = " libunwind-native" However, the libunwind problem is not trivial to fix, and requires a specific setup to reproduce. As an alternative workaround, turn off libunwind support in the native SDL2 build by disabling the unwind.h check in the CMake script (this subsequently turns off all the other libunwind checks). The main user of libsdl2-native is qemu-native, which does not need libunwind support in SDL2. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03waffle: The surfaceless-egl and gbm requires openglRobert Yang
Fixed when opengl is not in DISTRO_FEATURES: ERROR: Nothing PROVIDES 'virtual/libgbm' (but /path/to/waffle/waffle_1.7.0.bb DEPENDS on or otherwise requires it) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31weston: Add a knob to control simple clientsKhem Raj
Some graphics driver implementations ( e.g sgx ) do not yet support APIs from mesa 21.x, and some portions of weston simple clients depend on these APIs, therefore introduce a way to specify all or a selection fo clients to build Fixes clients/weston-simple-dmabuf-feedback.p/simple-dmabuf- feedback.c.o: in function `create_dmabuf_buffer': | simple-dmabuf-feedback.c:(.text+0x1076): undefined reference to `gbm_bo_get_fd_for_plane' Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-03-24weston: use same distro features for weston and westion-initJoe Slater
We want to avoid situations (like world builds) where weston-init will build, but weston won't. This could cause "nothing RPROVIDES..." dependency errors. We set required distro features in a common include file. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-03-24virglrenderer: update SRC_URIMinjae Kim
The git repo for virglrenderer was changed, so update the SRC_URI accordingly with the new link. Signed-off-by:Minjae Kim <flowergom@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-03-23waffle: Use the right dependencies as neededKhem Raj
using virtual/libgl is a broad brush, we can be more specific and ask for dependencies which are really needed Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23piglit: Remove virtual/libglKhem Raj
virtual/libgl is usually provided by same package that provides virtual/egl by the stacks which implement it, removing virtual/libgl means we can build it on stacks not implementing GL Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23libsdl2: Depend on virtual/eglKhem Raj
virtual/libgl may not be implemented by some non-mesa graphics in embedded space, this ensures that libsdl2 can build on such stacks Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20weston-init: Use pixman rendering for qemuppc64Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-03-18weston-init: Use pixman on riscv64 qemuKhem Raj
Helps boot weston/wayland images Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18mesa: Allow building Mesa's OpenCL through PACKAGECONFIGZoltán Böszörményi
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17wayland: provide wayland-client-native and wayland-protocols-nativeMarkus Volk
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17libva: make buildable for native and nativesdkMarkus Volk
This prevents an error if trying to add "va" to mesa PACKAGECONFIG Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17mesa: align target- and native buildMarkus Volk
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17xf86-video-intel: add dependencies; remove dri1Markus Volk
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16harfbuzz: upgrade 4.0.0 -> 4.0.1wangmy
Changelog: ========= - Update OpenType to AAT mappings for hist and vrtr features. - Update IANA Language Subtag Registry to 2022-03-02. - Update USE shaper to allow any non-numeric tail in a symbol cluster, and remove obsolete data overrides. - Fix handling of baseline variations to return correctly scaled values. - A new experimental hb_subset_repack_or_fail() to repack an array of objects, eliminating offset overflows. The API is not available unless HarfBuzz is built with experimental APIs enabled. - New experimental API +hb_link_t +hb_object_t +hb_subset_repack_or_fail() Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15mesa: update to 22.0.0Markus Volk
- remove 0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch that was applied upstream - adjust 0002-meson.build-make-TLS-ELF-optional.patch - fix patch fuzz - DRI1 drivers have been removed! For all AMD/Nvidia Cards gallium-llvm is required License-Update: removed references to deleted code. RP: Fix dri PACKAGECONFIG reference to opengl instead Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13weston-init: add use-pixman PACKAGECONFIGMing Liu
Fbdev backend has been deprecated since weston 10.0.0, and it could be replaced by passing --use-pixman to drm backend, add a use-pixman PACKAGECONFIG for convenience. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13Revert "mesa: make sure GLES3 headers are installed"Richard Purdie
This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c. It uses old overrides syntax which simply doesn't work.
2022-03-11weston: require wayland as a distro featureJoe Slater
Weston will not configure successfully unless wayland is a distro feature. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>