libusb is required to support some older low level input
devices. Meanwhile this is guarded by an option:
SDL_HIDAPI_LIBUSB
Use it for the PACKAGECONFIG to allow build with libusb support again
(From OE-Core rev: e93bc2876fb3ee488a5bc6ed03eefd1bfdcdf69a)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This directory must have mode 0700, and should be under /run/user (as
recommended in the specification, and as weston-init does).
Also check the permissions if the directory already exists and fail
early if they're incorrect.
[ YOCTO #13878 ]
(From OE-Core rev: 5c98609bf7dfb05af722e30adb49731727df9a94)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sanity-check the permissions of the directory already exists, and clean
up the creation code.
(From OE-Core rev: a977c2a61dfabed9be061d742797248448aa5ade)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wayland-protocols 1.41 is the minimum requirement for the upcoming gtk4 release
(From OE-Core rev: acbdd2d76186a685b4283b41e3ce73b4d4d29d43)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that autotools isn't searching for every m4 file the configure fails.
This is because freetype only uses autoconf and has a manual autogen.sh
script that passes -I. itself.
As we don't call that script, pass -I . to autoreconf ourselves.
(From OE-Core rev: 1a26f800d5fdadc990b73d17e1c373f3e8fba879)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add python3-docutils-native to provide rst2html5
Changelog:
==========
- Avoid criticals when there are no fonts
- fontconfig: Handle lack of FC_FONT_WRAPPER in font cache
- fontconfig: Prefer application fonts even if they are older
- Support setting font features in font descriptions
- serialization: Document the tab array format
- serialization: Accept attributes without range
- win32: Improve the pango_font_map_reload_implementation
- win32: Take variations into account for caching
- layout: Fix measuring ellipsis runs with shapes
- build: Require C11
- build: Require GLib 2.80
- build: Require cairo 1.18
[RP: Use += instead of :append for DEPENDS]
(From OE-Core rev: 7d6a0f362244d243f8c806802a7a0fdc3d92c880)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a stable bugfix release, with the following changes:
Improved XInput controller detection on Windows
Added support for the 8BitDo Ultimate 2C Wireless in Bluetooth mode
Fixed Steam Deck controller not being visible to games running on
Proton 9 and older
Fixed a crash when hot-plugging keyboards and mice on Linux
Fixed a crash when disconnecting a Bluetooth audio device on macOS
Fixed building with Xcode using older Apple SDKs
Fixed a crash when disconnecting an external display on iOS
Fixed detection of function keys on Emscripten
(From OE-Core rev: 01a8dba6281ad1f026ab6d42a5d509207789b04f)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With current master branch I see an error in do_install:
| DEBUG: Executing shell function do_install
| install: omitting directory '/home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/misc/xorg-minimal-fonts-1.0-build'
| WARNING: /home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/temp/run.do_install.112196:151 exit 1 from 'install -m 0644 /home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/misc/* /home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/image//usr/share/fonts/X11/misc/'
| WARNING: Backtrace (BB generated script):
| #1: do_install, /home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/temp/run.do_install.112196, line 151
| #2: main, /home/flk/poky/build/tmp/work/all-poky-linux/xorg-minimal-fonts/1.0/temp/run.do_install.112196, line 159
ERROR: Task (/home/flk/poky/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb:do_install) failed with exit code '1'
Fix the problem by specifying more precisely what is to be installed
(From OE-Core rev: a8c8731caca14bb7a71e6468877857e0e85f4ce7)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in OE-Core to show this is definitely the preferred
formatting.
(From OE-Core rev: 30ea609d3357fb3de911f2f6a5e6856c151b976a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
COPYING in libxfont2 upstream contains only one BSD-4-Clause text variant,
which is explicitly covered by the copyright addendum by University of
California. Change the SPDX license reference to BSD-4-Clause-UC.
License-Update: reference can be more specific
(From OE-Core rev: d40647566d6c4b39a657942cabcba17df0ed0c84)
Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The BSD-4-Clause license is not contained in version 1.4.1.
But MIT and X11 are listed in the COPYING file.
License-Update: upstream has changed
(From OE-Core rev: a367bf2fb704695078753bae3c129d2ad050bf83)
Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The error described does not occur in all cases where libxkbcommon is
used. As example, a Qt application that depends on libxkbcommon might
not require any locales to be installed.
Add it to RRECOMMENDS, as libxkbcommon does not seen to have any hard
dependency on libx11-compose-data or libx11-locale. This change can help
users decide to disable it and save some space on the rootfs.
(From OE-Core rev: 58f92b66243a4f6aec9d3890b4d6c3d0ae0dc4d0)
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop pidfd.patch (upstream significantly refactored the code; the patch can be tested
only with very old kernels; upstream submission has not been followed up since initial
MR creation).
Add a patch to igt-gpu-tools to address a build failure with the new procps.
(From OE-Core rev: ba492417cf8712ca8009154cfadeb494c1a6064f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright updated to 2025
Changelog:
===========
- Fixed a crash if the controller product name is NULL
- Fixed the PS3 controller mapping on Windows
- Allow rendering during the modal resize loop on macOS
- Corrected CoreAudio surround sound channel layouts
- Enabled high refresh rates on iOS
- Fixed SDL_OpenURL() on iOS 18.2 and newer
- Implemented SDL_OpenURL() on tvOS
- Fixed Chinese locales on PSP
(From OE-Core rev: f59f1ef898993a09cdb243d80b1bab624472ea10)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So that PARSE_ALL_RECIPES will work.
(From OE-Core rev: c925098dc0faf2b69637de914958557b23615c7a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building weston with core-image-weston SDK fails:
```
../libweston/renderer-gl/gl-shader-config-color-transformation.c:29:10: fatal error: GLES3/gl3.h: No such file or directory
29 | #include <GLES3/gl3.h>
| ^~~~~~~~~~~~~
```
Both GLES2 and GLES3 implementations are contained in libGLESv2.so.2,
which is packaged in libgles2-mesa. However, the headers are split
between libgles2-mesa-dev and libgles3-mesa-dev, which is why the
GLES3 headers end up missing in the SDK sysroot.
Add a dependency so the GLES3 headers are properly associated with
the GLES3 implementation.
(From OE-Core rev: 7e1308ec413e69a8427ac5998431005d9e4b8033)
Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patch as issue solved upstream.
(From OE-Core rev: f9b7b8885913f583f1442b3140c743b98a52e68e)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building weston with core-image-weston SDK fails for xwayland tests:
```
Run-time dependency xcb-cursor found: NO (tried pkgconfig and cmake)
tests/meson.build:357:2: ERROR: Problem encountered: xcb and xcb-cursor required for running xwayland tests
```
The problem is the tests folder is built but not installed. This
behavior seems to have been introduced with the 12.0.1 upgrade.
be7da75827
Disable the build of the unused tests. Also drop the xwayland
dependency on xcb-util-cursor since it is a specific requirement
for the xwayland test build.
(From OE-Core rev: 8996690a79ac42a1dee6d041eeb1c1fe29fdac84)
Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An SDK build of weston fails:
```
Run-time dependency wayland-protocols found: NO (tried pkgconfig and cmake)
```
The file wayland-protocols.pc is missing in the SDK. This is traced to
the upgrade of wayland-protocols to 1.38 [1], which re-enables the dev
package, which moves wayland-protocols.pc to wayland-protocols-dev.
[1] 5de187aee6
(From OE-Core rev: 50608d9c8ac47234138056fa7bf3f92ffc876a19)
Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upgrade to 1.38 re-enables the dev package [1]. With the dev
package enabled, the file wayland-protocol.pc is filtered by default
into the dev package, and the override adding it to the main package
does nothing and is not needed.
[1] 5de187aee6
(From OE-Core rev: 9ee7a283125b29e40e4562c76d7d0940b37a4cfd)
Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
- Add -no-undefined flag to LDFLAGS to fix Windows builds
- Add X.Org's standard C warning flags to AM_CFLAGS
- configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
- Remove "All rights reserved" from Oracle copyright notices
(From OE-Core rev: 0166ebe277e2620c3568ed5f02ae0e12cd71b096)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
- XvQueryAdaptors: avoid NULL deref if length is 0, but num_adaptors is not
- XvQueryEncodings: avoid NULL deref if length is 0, but num_encodings is not
- Use calloc instead of malloc and manual loops to zero array contents
- configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
- Remove "All rights reserved" from Oracle copyright notices
(From OE-Core rev: 4477bdd0317582dd03e957f1972646a726478914)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
- XauDisposeAuth: remove void casts from functions that return void
- unifdef hpux
- Autest.c includes Xauth.h that depends on other headers.
- Allow to use POSIX.2 compliant sed(1)
- Also test for explicit_memset(3) support
- Gcc < 11 doesn't allow opt. deallocator arg for __attribute((malloc))
- gitlab CI: run meson build with both gcc & clang compilers
- Allow building with clang after aec9d7266777e0b9243ef0f112fe0e07256bd446
- Xauth.h: add access & malloc attributes to function prototypes add Meson build system
- Set close-on-exec when opening files
- Require LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
(From OE-Core rev: f01ae510df717999ca9334c750e19739189d75b4)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:
Remove "All rights reserved" from Oracle copyright notices,
since oracle no longer includes this term in our copyright & license notices.
(From OE-Core rev: d6085a3b433801b24d50b8917f7eb2d74e3cfcd3)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
General changes:
- New meson options xe_eudebug and vmtb.
Library changes:
- Added PantherLake (PTL) support, unified PCI IDs into one
common header pciids.h
- Added BMG support for OA (Observability Architecture) for Xe driver.
- Added support for Xe3 platforms in GPGPU shader.
- Added 6k resolution support for a single CRTC.
- Added support for MTL platform in GPGPU compute.
Runner changes:
- Set option PRUNE_KEEP_ALL as default.
- Allow to dynamically ignore dmesg warn messages when generating
results, usefull when driver is using kernel fault injection.
Test changes:
- Added sanity checks for KMS properties.
- Improved GPGPU tests for i915 and Xe.
- New SRIOV test for Functional Level Reset (FLR) for Xe.
- Added test that draws triangle without using 3d commands for vmwgfx.
- Added subtest for fallback for DP connector.
- Added async flips suspend resume subtest.
- New test for error handling of Xe at probe time.
- Added testing SIZE_HINTS property in KMS cursor test.
- Added KMS testing for ultrajoiner.
- New test for TLB invalidation in Xe.
- New test for timeslice duration in Xe.
- Display brightness test during DPMS on and off.
- New tests for EU debugging for Xe.
Tools changes:
- New power tool for power/energy measurement.
- New VM Testbench (VMTB) - SR-IOV Virtual Machine testing tool.
- Fixes in amd_hdmi_compliance.
- Fixes in intel_reg.
(From OE-Core rev: dbec508d17f7ab18efe757cbfc30b81ad5bca7b0)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch from the Nokia/Scratchbox days[1] was obsoleted by qemu
improvements, specifically "linux-user: fake /proc/self/auxv"[2] which
was integrated into qemu 1.1.0 in 2011.
[1] If you're reading this and reminiscing I suggest standing up and
having a stretch, your back will thank you
[2] 257450ee59fd7e781cb4e2316ddc845c40b9fc42
(From OE-Core rev: b404dcbe9aeca9e82db929f021344ef3826726ab)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>