summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
Commit message (Collapse)AuthorAgeFilesLines
* wayland: fix CVE-2021-3782Narpat Mali2022-11-042-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | An internal reference count is held on the buffer pool, incremented every time a new buffer is created from the pool. The reference count is maintained as an int; on LP64 systems this can cause thereference count to overflow if the client creates a large number of wl_shm buffer objects, or if it can coerce the server to create a large number of external references to the buffer storage. With the reference count overflowing, a use-after-free can be constructed on the wl_shm_pool tracking structure, where values may be incremented or decremented; it may also be possible to construct a limited oracle to leak 4 bytes of server-side memory to the attacking client at a time. Reference: https://nvd.nist.gov/vuln/detail/CVE-2021-3782 Upstream patch: https://gitlab.freedesktop.org/wayland/wayland/-/commit/b19488c7154b902354cb26a27f11415d7799b0b2 (From OE-Core rev: 09b8ff8d2361b2db001bc963f481db294ccf2170) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: upgrade 10.0.1 -> 10.0.2Alexander Kanavin2022-08-282-35/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bugfix release Full commit history below. Daniel Stone (1): tests: Use test-desktop-shell for devices-test Pekka Paalanen (1): tests: preserve ivi runner section Simon Ser (1): build: bump to version 10.0.2 for the point release Drop dont-use-plane-add-prop.patch as issue is fixed elsewhere (see the link in the patch). (From OE-Core rev: 457900220ca6bfbda8b3e7485bac3c0c92d05a7f) 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 ed54ef8f094fb6759316781a5ac626af40ad8ffc) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: update 10.0.0 -> 10.0.1Alexander Kanavin2022-07-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 3903a248e1b861d0a3826b35d61666c6a3bb7ad5) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.19.3 -> 1.19.4Alexander Kanavin2022-05-201-1/+1
| | | | | | | | | | | | | libinput 1.19.4 fixes CVE-2022-1215 with a format string vulnerability (From OE-Core rev: 25b4ce85da67584e34194335e56bdcb4c8f083fa) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Add a knob to control simple clientsKhem Raj2022-03-311-1/+4
| | | | | | | | | | | | | | | | | | | 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' (From OE-Core rev: 400aae43d08f0b9f787ac0d21cb3c97058d76748) 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>
* weston: use same distro features for weston and westion-initJoe Slater2022-03-243-6/+15
| | | | | | | | | | | | | 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. (From OE-Core rev: 1c7802f025eb3d9ee3310e083a5d8bef7178de9c) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Use pixman rendering for qemuppc64Khem Raj2022-03-201-0/+1
| | | | | | | | (From OE-Core rev: 2b9d8becad7abdd8c53c9f8b46082a0a445dcaf8) 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>
* weston-init: Use pixman on riscv64 qemuKhem Raj2022-03-181-0/+1
| | | | | | | | | | Helps boot weston/wayland images (From OE-Core rev: ed2c7c806f1a48c388282f5cbdc93f034ba2c93d) 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>
* wayland: provide wayland-client-native and wayland-protocols-nativeMarkus Volk2022-03-172-1/+4
| | | | | | | (From OE-Core rev: 08a7551997285ce4f9568353870d5c4e76e93d95) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: add use-pixman PACKAGECONFIGMing Liu2022-03-131-0/+5
| | | | | | | | | | | 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. (From OE-Core rev: e3dc3ee5e41caa1691ebdb1c6ed6e51077f9ce7a) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: require wayland as a distro featureJoe Slater2022-03-111-1/+1
| | | | | | | | | | Weston will not configure successfully unless wayland is a distro feature. (From OE-Core rev: bc72eb17b74606514694a6655d65dab9b2ee96e8) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: replace deprecated/disabled fbdev with drm backendAlexander Kanavin2022-02-211-7/+1
| | | | | | | | | | | drm will default to opengl rendering by default; if this is problematic, --use-pixman option may help, apply only where it's proven necessary. (From OE-Core rev: 432f24ef9af3c0e6e0c769dc2a751023138f7bae) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: disable systemd watchdog optionAlexander Kanavin2022-02-181-2/+2
| | | | | | | | | | | | | | | | There is no other unit in oe-core where watchdog is enabled, and this feature starts to behave weirdly when test_date is adjusting the clock, which means weston is restarted without need, so disable for weston test stability. The issue won't show up on kvm qemu (x86/x86_64) because it runs too quickly, but non-kvm qemu (ppc/mips/arm) all fail in the same way due to slower timings. (From OE-Core rev: f4d8ad399d88dbd9d65bbfd0467f15a485e66605) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: upgrade 9.0.0 -> 10.0.0Alexander Kanavin2022-02-058-374/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release announcement with changes: https://lists.freedesktop.org/archives/wayland-devel/2022-February/042103.html Upstream has deprecated both weston-launch and fbdev backend, so let's not delay the inevitable and find replacements. Fbdev can be replaced by passing --use-pixman to drm backend; this will bypass the opengl paths and use CPU for rendering. Apply where GL is too slow or unavailable. weston-launch can be replaced by starting weston directly, with a seat management daemon for support. This is provided either by systemd, or on systemd-less systems, by seatd. The sysvinit startup scripts and tests have been rewritten accordingly. Bonus fix: under sysvinit weston now starts under weston user as it should, and not under root. Upstream discussion: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725 License-Update: copyright years (From OE-Core rev: 4efc81fc575aea1e12e00de8644a4b853719f8df) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.24 -> 1.25Denys Dmytriyenko2022-02-031-1/+1
| | | | | | | | | | | | | | | | https://lists.freedesktop.org/archives/wayland-devel/2022-January/042102.html wayland-protocols 1.25 is now available. Apart from minor fixes and clarifications, this release also adds a new staging protocol for session locking, as well as a 'bounds' event to the xdg_toplevel interface. See the individual commits and protocol specifications for details. (From OE-Core rev: 789970a46bd902b040cf3bbd34ad0887a1ba896a) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.19.2 -> 1.19.3Alexander Kanavin2022-01-201-1/+1
| | | | | | | (From OE-Core rev: 0921d3747238b6131ad6945633a5ced2a88f09fb) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: Change inherit orderRichard Purdie2022-01-111-1/+1
| | | | | | | | | allarch needs to be after meson so that qemu usage can be disabled and the package can really be architecture independent. (From OE-Core rev: f7b58d5a6681547735ba747f5872abf35c9fa2c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade 1.19.0 -> 1.20.0Denys Dmytriyenko2022-01-052-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | Wayland 1.20.0 is released! This release contains the following major changes: - FreeBSD support has been entirely upstreamed and has been added to our continuous integration system. - The autotools build system has been dropped. Meson has replaced it. - A few protocol additions: wl_surface.offset allows clients to update a surface's buffer offset independently from the buffer, wl_output.name and description allow clients to identify outputs without depending on xdg-output-unstable-v1. - In protocol definitions, events have a new "type" attribute and can now be marked as destructors. - A number of bug fixes, including a race condition when destroying proxies in multi-threaded clients. Also backport libsdl2 patch to fix building against wayland-1.20.0 (From OE-Core rev: d81c8d137895e1fb70bb56c61d53502670d7bc43) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: drop unnecessary patchAlexander Kanavin2021-12-062-29/+0
| | | | | | | | | wayland now picks the correct setting from the native .pc file. (From OE-Core rev: 5438c4121c040c4153377d0ec285381a6e93fded) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "weston-init: Pass --continue-without-input when launching weston"Khem Raj2021-12-012-2/+2
| | | | | | | | | | | | | | This reverts commit 762a20b493cc219a46d9ac188fe4895a111ee7b4. This breaks machines using fbdev backend, since this option is drm backend specific, we need to know the backend before using it, until we have a smart way to detect that, this will not be a fool proof solution, therefore revert it for now. (From OE-Core rev: 6b7d8b2a141cc79272010b24d0648e6238fa4c74) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Pass --continue-without-input when launching westonKhem Raj2021-11-292-2/+2
| | | | | | | | | | | | This ensures that we do not need keyboard/mouse or other input system Weston's default behavior is to not open if input devices are not found, but we may not always have input devices connected for systems running weston in field (From OE-Core rev: 762a20b493cc219a46d9ac188fe4895a111ee7b4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: mark patch as deniedAlexander Kanavin2021-11-251-1/+1
| | | | | | | | | | upstream has explained in the patch submisstion how the issue should be solved differently; we should work towards that. (From OE-Core rev: 60c0f7fb94e81e644c3b5dc87126fe32a6780239) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.23 -> 1.24Denys Dmytriyenko2021-11-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | wayland-protocols 1.24 is now available. This release adds feedback to the DMA buffer protocol, allowing smarter and more dynamic DMA buffer allocation semantics. Other changes include documentation improvements and improved testing infrastructure. This is also the first release of wayland-protocols that do not include a autotools build description. https://lists.freedesktop.org/archives/wayland-devel/2021-November/042039.html Disable build-time tests as they want to cross-compile in an allarch package: | # Check buildability | add_languages('c', 'cpp', native: false) (From OE-Core rev: 08bf9f59ede30918e0cf8763cd2714734bb02b9f) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: submit patch upstreamAlexander Kanavin2021-11-211-1/+1
| | | | | | | (From OE-Core rev: f265a550bc057f653aea6f3611f71525e669a9f3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: Fix wayland-tools packagingTom Hochstein2021-11-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some packaging problems due to the wayland-tools packaging implementation. The wayland-tools package currently looks like this: wayland-tools └── usr ├── bin │   └── wayland-scanner └── share └── wayland ├── wayland.dtd ├── wayland-scanner.mk └── wayland.xml The files wayland.dtd and wayland.xml belong in the main package, while wayland-scanner.mk belongs in wayland-dev. Fix the wayland.dtd and wayland.xml packaging by prepending the wayland-tools package and dropping the main package FILES variable override. The file wayland-scanner.mk is included in the main package by default, and so must be explicitly added to wayland-dev. (From OE-Core rev: a31fbec45d24df5b74091940d0e0b2daf34d8492) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.19.1 -> 1.19.2Alexander Kanavin2021-10-281-1/+1
| | | | | | | | (From OE-Core rev: 39a19417d2bd755ce0fcc6d34be265759030ee49) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.19.0 -> 1.19.1Alexander Kanavin2021-10-231-1/+1
| | | | | | | | (From OE-Core rev: 31c5fc68779f480b162b0d37e63fd63be69bbc9a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: update to 1.19.0Oleksandr Kravchuk2021-10-111-1/+1
| | | | | | | | (From OE-Core rev: 2e2d5fe3883e39b99860523133c56d8f37190ff6) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.22 -> 1.23Denys Dmytriyenko2021-10-111-1/+1
| | | | | | | | | | | | | | wayland-protocols 1.23 is now available. This release adds the new gesture "hold" to the pointer gesture protocol. https://lists.freedesktop.org/archives/wayland-devel/2021-September/041979.html (From OE-Core rev: e63debe73233df93089de65f599e335ffd7d38a8) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: wrapper for weston modules argumentPavel Zhukov2021-10-113-0/+25
| | | | | | | | | | | | | | | Due to custom option parser implementation weston accepts only one argument of a given type. As the result if multiple modules add multiple --modules agruments only last will be used. This fix introduces wrapper around modules in terms of weston-init to prepare proper modules argument for weston and adds systemd-notify module into weston-init module to support Type=notify in systemd service file. (From OE-Core rev: c8aa0222ce2be647911114aaebcbb0d55d7caf87) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.21 -> 1.22Denys Dmytriyenko2021-10-111-1/+1
| | | | | | | | | | | | | | | | | | wayland-protocols 1.22 is now available. This release includes a new staging protocol: DRM object leasing. Besides that, various test and build system improvements are included, as well as a set of clarifications to the xdg-activation protocol and other protocols. https://lists.freedesktop.org/archives/wayland-devel/2021-September/041972.html (From OE-Core rev: 17c59e425148c3b9e8110c79442c7f3e0dea198a) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'Robert P. J. Day2021-09-071-1/+1
| | | | | | | | | | | Repo-wide replacement to use newer variable to represent systemd system unitdir directory. (From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Add rdp PACKAGECONFIGMarek Vasut2021-09-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Weston has RDP backend support. This can be used e.g. for screen mirroring. Add PACKAGECONFIG so it can be enabled by the user. By default, this is not enabled, to retain the old behavior of the recipe. Below is an example testcase of using the RDP backend for screen mirroring, i.e. two devices display the same content across ethernet link, input on either is passed across the link. - Add the following to weston.ini: [core] modules=screen-share.so screen-share=true [screen-share] command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/path/to/board.crt --rdp-tls-key=/path/to/board.key --no-config - Generate keys on the board (the board.key and board.crt above): $ winpr-makecert -rdp -path /path/to/ - Restart weston on the board. To start screen sharing, press Ctrl-Alt-S on the keyboard (see weston compositor/screen-share.c). - Connect to the weston using freerdp, e.g.: $ xfreerdp /v:192.168.1.300 (From OE-Core rev: 05706a487c2e57fb26935276a2ec650405900243) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joshua Watt <JPEWhacker@gmail.com> Cc: Khem Raj <raj.khem@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.18.0 -> 1.18.1Alexander Kanavin2021-08-231-1/+1
| | | | | | | (From OE-Core rev: 4451a250741fc5bb916322e8b86e514b1d5aed50) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Re-order gbm destruction at DRM-backend tear downKhem Raj2021-08-222-0/+51
| | | | | | | | | | | | | | | | Fixes an annoying segfault seen on rpi4 when launching weston during boot especially using systemd service or sysvinit script, if weston is launched manually on VT, it works fine. This backport specifically addresses the issue described above. For more details see [1] [1] https://gitlab.freedesktop.org/wayland/weston/-/issues/314 (From OE-Core rev: 74e0249af85782af436791d1339ce864536d2022) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-025-37/+37
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.17.3 -> 1.18.0Andreas Müller2021-06-061-2/+2
| | | | | | | | | | | * COPYING changed by link (master->main) [1] [1] https://gitlab.freedesktop.org/libinput/libinput/-/commit/354df8bce9874e92de2ad8535fdcedaec0755b27 (From OE-Core rev: e26d68d1333f920998fa5fd1ee0570f5a8deb9c7) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.17.2 -> 1.17.3Richard Purdie2021-05-311-1/+1
| | | | | | (From OE-Core rev: 711e6f77f3da132cf7238282bc6f499b48adf620) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest: add newly discovered missing runtime dependencies across recipesAlexander Kanavin2021-05-271-1/+1
| | | | | | | | | | Making ptest images based on core-image-minimal uncovered quite a few missing depenendcies from various recipes, here they are. (From OE-Core rev: 2cda6242f2f0f6f9c6bdef72bbb271eab7e5e1f5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: package target binaries into -tools, not into -devAlexander Kanavin2021-05-271-1/+3
| | | | | | | (From OE-Core rev: 5e96a2b56ce3ee4d113f3ae8b556c230f4b9df7d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.20 -> 1.21Richard Purdie2021-05-181-2/+1
| | | | | | (From OE-Core rev: 590fd78550a1754ab3ea0c64510601025c13436c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.17.1 -> 1.17.2Richard Purdie2021-05-181-1/+1
| | | | | | (From OE-Core rev: a59063cfb23132ee5a110f1cd84cd43f8b8eea41) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.16.4 -> 1.17.1Alexander Kanavin2021-05-091-1/+1
| | | | | | | (From OE-Core rev: c70e9a812659811664b40fa103d52bbb06e39750) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: fix build failure due to race conditionChen Qi2021-04-232-0/+33
| | | | | | | | | | | The wayland.c actually include 'xdg-shell-client-protocol.h' instead of the server one, so fix it. Otherwise, it's possible to get build failure due to race condition. (From OE-Core rev: bd2a9a4d82f66f1ff414c392bcf234d8dbd5e553) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Drop loading xwayland.so moduleKhem Raj2021-04-231-2/+0
| | | | | | | | | | | | | | | | | | This module is no longer installed by x11 instead it uses a stand along server for xwayland, as a result when xwayland is enabled in packageconfig in weston then it fails to load xwayland.so during runtime Fixes [21:07:12.-100663296] Old Xwayland module loading detected: Please use --xwayland command line option or set xwayland=true in the [core] section in weston.ini [21:07:12.-100663296] Loading module '/usr/lib/libweston-9/xwayland.so' [21:07:12.-100663296] Failed to load module: /usr/lib/libweston-9/xwayland.so: cannot open shared object file: No such file or directory [21:07:12.-100663296] Destroying fbdev output. (From OE-Core rev: aa829e27a0d3bda3ed943005c1622e71d38bb872) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: use standalone xwayland instead of outdated xserver-xorg versionAlexander Kanavin2021-04-201-1/+1
| | | | | | | (From OE-Core rev: e933962061ac3fa1c0c1069b8075a5f7645001c4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Set $HOME variable for SysVinit managerAdrian2021-03-202-0/+2
| | | | | | | | | | | SysVinit sets by default the $HOME directory to "/" for the init scripts. It's picked then by the weston-launcher and make weston-terminal to have wrongly set $HOME environment variable for the root user. (From OE-Core rev: f5ddf5533b19a41be9e9cd403c2e7ded6da6f272) Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: less parallism to increase chances the test suite worksRoss Burton2021-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | Discussion with the libinput maintainer has confirmed that many of the libinput test cases need to run on a relatively unloaded system, because input handling is by definition time-sensitive and any event mismatches are considered a failure to avoid broken code hiding. We can't expect libinput to run on an otherside unloaded machine because the autobuilder ptests execute in a qemu at the same time as builds can be happening. We can however reduce the amount of parallellism happening in the libinput test suite to give it a better chance of succeeding. This may not be enough, but it's worth a go. [ YOCTO #14164 ] (From OE-Core rev: 5702f7c489ed45b7f4a69c78aa8215e2c98e21c4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Fix weston-keyboard path in weston.iniMarek Vasut2021-02-161-1/+1
| | | | | | | | | | | | The weston-keyboard executable is installed into /usr/libexec instead of /usr/lib/weston , correct the path in weston.ini . (From OE-Core rev: 56dee47a5ddb1da66d30f894a282d0658dcc930c) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Khem Raj <raj.khem@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: remoting backend requires GStreamer base pluginsJoshua Watt2021-02-131-1/+1
| | | | | | | | | | The remoting backend of weston requires the GStreamer base plugins, so add them to the PACAKGECONFIG depends list. (From OE-Core rev: 0b45994656fee7c4b7bdb5bd8571f0c61217a182) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>