summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
Commit message (Collapse)AuthorAgeFilesLines
* weston: Add kiosk shellJoshua Watt2023-02-241-1/+5
| | | | | | | | | | | | | Adds support for the kiosk shell to weston. The Kiosk shell is designed to run a fullscreen application in a "kiosk" mode, but unlike the fullscreen shell the kiosk mode still provides traditional desktop protocols. (From OE-Core rev: da4d6547f312285b5e246d8f974d2de76294fef3) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.22.0 -> 1.22.1Alexander Kanavin2023-02-091-2/+2
| | | | | | | | (From OE-Core rev: e60282399da3441aabf367a900d98722d37b310d) 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>
* weston: update 11.0.0 -> 11.0.1Alexander Kanavin2022-12-281-2/+2
| | | | | | | | | | Upstream has published the tarball in a non-standard location. If this persists, we might want to switch to git. (From OE-Core rev: b737d41db8ec7975bd4f065cc1c023b7b3b29f46) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.28 -> 1.31Wang Mingyu2022-12-061-1/+1
| | | | | | | | (From OE-Core rev: db7496555d6ba9a7110f92452c7a04d8c19855db) 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>
* libinput: upgrade 1.21.0 -> 1.22.0Wang Mingyu2022-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== CI: prettify the include of templates CI: remove one occurrence of fedora instead of distro.name CI: make freebsd slightly more in line with others CI: remove unused test CI: do not retry the qemu runs CI: rely on b2c to start qemu tests CI: include systemd-udev in the fedora image CI: start a full systemd environment before running the testsuite CI: in b2c, compile on the host, then test in qemu quirks: update quirks for Lenovo IdeaPad Duet 3 quirks: add Lenovo Legion 7 keyboard libwacom: fix warnings building without libwacom tablet: check libevdev_get_abs_info() return value tablet: avoid errors calling libevdev_get_abs_info() meson.build: always set HAVE_GTK_WAYLAND tools: hide debug-gui help when building with -Ddebug-gui=false debug-gui: avoid locking pointer twice util: use ck_assert_ptr_eq() instead of ck_assert_ptr_null() touchpad: add escape and asterisk to the DWT blacklist libinput 1.22.0 quirks: add quirks for Acer Spin 513 (Lazor) quirks: add generic quirks for ARM based chromebooks quirks: add volume rocker quirk for Lenovo IdeaPad Duet 3i quirks: Add quirks for Surface Laptop Studio touchpad quirks: Add quirks to improve tablet-mode on the Surface Laptop Studio gitlab CI: drop the manual meson to junit conversion meson.build: drop listing of header files from compilation targets meson.build: fix build without Wayland gitlab CI: dnf remove gtk4-devel for the no-debug-gui deps job CODING_STYLE: update with a better description for variable assignments evdev: fix a tab vs space indentation issue doc/user: minor rewording of the pointer accel profile list gitlab ci: drop EOL'd ubuntu 21.10 tools: add missing dwtp option setting evdev: remove duplicate "device is a switch" message gitlab-ci: export MESON_TESTTHREADS so meson actually sees it gitlab-ci: explicitly call "meson setup" to improve readability gitlab-ci: add commandline options to the meson-build.sh script CI: drop the job count for the valgrind test suite to 2 filter: a few whitespace fixes and extra comments filter: fix the mix of normalized vs device coordinates filter: remove an unnecessary layer of indirection filter: constify the tracker API filter: localize a few variables evdev: rename post_trackpoint_scroll to post_button_scroll filter: constify the interfaces and make them static filter: don't normalize the const filter approach evdev: use filter_dispatch_constant() for button scrolling evdev: use filter_dispatch_constant() for the lenovo trackpoint "wheel" filter: don't normalize the speed again in the default mouse filter filter: apply the same factor for constant motion as for normal motion filter: add a flat trackpoint accel gitlab CI: don't install valgrind, it's already in the template gitlab CI: update freebsd to 13.1 gitlab CI: pre-install all packages we need Fix Framework quirk so it wirks with 12 gen intel util: return the number of elements from strv_from_string meson: use install_emptydir to create directory test: exclude the two high-delay debounce tests from the valgrind CI run (From OE-Core rev: c98741ad587b7f13ada82efc7871e8ea3b1c7edb) 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>
* wayland-protocols: upgrade 1.27 -> 1.28Wang Mingyu2022-11-151-1/+1
| | | | | | | | (From OE-Core rev: 1f6aaf65e8ad3b3e185afaa99e196eeeee39b2b8) 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>
* libinput: upgrade 1.19.4 -> 1.21.0Markus Volk2022-11-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libinput 1.21.0 is now available for download. This version includes a new configuration option that, similarly to its touchpad counterpart, allows disabling the trackpoint while typing. Compositors can take advantage of it thanks to four new APIs: libinput_device_config_dwtp_is_available, libinput_device_config_dwtp_set_enabled, libinput_device_config_dwtp_get_enabled and libinput_device_config_dwtp_get_default_enabled. Those who use the flat acceleration profile on their touchpad are in luck, it has been improved in this version. In addition to the changes already mentioned, new quirks have been added for multiple StarLabs laptops. Last but not least, several bugs have been fixed, so make sure to update! Thanks to everyone involved for making this new version possible ❤ Alexander Courtis (1): AttrLidSwitchReliability quirk default unreliable->reliable José Expósito (7): evdev: check well-known keyboard keys on joystick/gamepad detection evdev: modernize variable declaration in evdev_device_is_joystick_or_gamepad coding style: allow C99 variable declaration test: disable hold gestures when are not required Remove "device-" file wheel: fix Lenovo Scrollpoint quirk libinput 1.21.0 Peter Hutterer (26): gitlab CI: fail the sanity check stage if the fork is not public util: auto-declare the element variable in ARRAY_FOR_EACH meson: fix a meson warning meson: replace a meson.source_root() with the explicit directory doc/user: add a page to troubleshoot right-click Clickpads tools/record: fix the indentation of the system: section evdev: strip the device name of format directives tools: allow limiting the axes in libinput analyse recording tools: don't print a carriage return if we're not on a tty tools/record: fix indentation for libinput events tools/analyze-recording: add --print-state to always print values tools/analyze-recording: improve the repeated-events line printing tools: add a libinput test tool as entry point for our test suites test: install libinput-test-utils as part of install-tests quirks: move the canvas quirk enum to the right order quirks: remove an unused quirk tablet: remove an always-true part of an if condition test: rename a test function to make it easier to select tablet: use a helper variable to make the code more readable tablet: require a minimum pressure before we process pressure events test: fix the lowres-only wheel event tests test: ensure we always have an axis event where we expect one test: use a ranged test instead of a duplicated one test: fix a typo meson.build: check gtk targets before building gitlab CI: bump to F35 and F36, as well as Ubuntu 21.10 and 22.04 Sean Rhodes (2): quirks: Add quirk for StarLite Mk IV Quirk all StarLabs trackpads Tom Stellard (1): Update valgrind.h to a newer version pudiva chip líquida (1): touchpad: new option dwtp (disable-while-trackpointing) satrmb (1): filter-touchpad: normalize for dpi on the touchpad-specific flat profile libinput 1.20.1 is now available for download. This release fixes CVE-2022-1215, see #752. When a device is detected by libinput, libinput logs several messages through log handlers set up by the callers. These log handlers usually eventually result in a printf call. Logging happens with the privileges of the caller, in the case of Xorg this may be root. The device name ends up as part of the format string and a kernel device with printf-style format string placeholders in the device name can enable an attacker to run malicious code. An exploit is possible through any device where the attacker controls the device name, e.g. /dev/uinput or Bluetooth devices. Peter Hutterer (2): evdev: strip the device name of format directives libinput 1.20.1 (From OE-Core rev: 1f1888cc8a35b98ccde472eb345c1e483eb6b6d1) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: update 10.0.2 -> 11.0.0Pablo Saavedra Rodi?o2022-11-031-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Highlights for this release: - Continued work on color management infrastructure: In Weston 11, if you enable the tentative, experimental and WIP color management option, Weston will not only blend in linear light, but you can also set up a monitor ICC profile and Weston will do some kind of color mapping from sRGB to that profile. Furthermore, you can configure a monitor into HDR mode and deliver HDR characteristics from weston.ini to the monitor, but Weston will *not* produce proper HDR content yet, meaning the display is incorrect. - Various RDP improvements. - Performance improvements in the DRM backend. - Support for the wp_single_pixel_buffer_v1 protocol. - weston_buffer refactoring. - Groundwork for running multiple backends at the same time (e.g. KMS + RDP) and for multi-GPU support in the DRM backend. This is not supported yet, but may be in a future release. Breaking changes for users: - The cms-static and cms-colord plugins are now deprecated. - A number of features have been removed from desktop-shell: multiple workspaces, zoom, exposay. - wl_shell support has been removed (superseded by xdg-shell). - The fbdev backend has been removed (superseded by KMS). - weston-launch and launcher-direct have been removed (superseded by libseat). - The weston-info and weston-gears clients have been removed (weston-info is superseded by wayland-info). - The KMS max-bpc property is now set by default. If you experience black screens with (faulty) monitors, try lowering it in weston.ini. - Weston will now abort when running out of memory. Weston is not suitable for memory constrained environments. (From OE-Core rev: eb00d50e5da97a726eb6290317a3ef7d8e1b90a3) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-utils: update 1.0.0 -> 1.1.0Alexander Kanavin2022-10-292-2/+45
| | | | | | | | (From OE-Core rev: 8ead46f5a420eea0aa3718f7511cc2cebe6650ba) 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>
* wayland-protocols: upgrade 1.26 -> 1.27Markus Volk2022-10-261-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wayland-protocols 1.27 is now available. This release includes two new staging protocols: * Content type hint This protocol enables clients to provide hints to the compositor about what kind of content it provides, allowing compositors to optionally adapt its behavior accordingly. * Idle notify This extension allows compositors to notify clients about when the user is idle. Apart from these two new extensions, this release also brings the usual clarifications, cleanups and fixes. Enjoy! Daniel Stone (1): xdg-shell: ack_configure must be strictly monotonic Emmanuel Gil Peyrot (1): staging/content-type: Content type hint support Isaac Freund (1): ext-session-lock: add note on client termination Jonas Ådahl (1): build: Bump version to 1.27 Simon Ser (3): xdg-shell: forbid loops in set_parent ext-idle-notify: new protocol build: alphabetically sort list of staging protocols (From OE-Core rev: bed837c23eada26478d50b3363e2da43f57f3b7e) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: exclude pre-releases from version checkAlexander Kanavin2022-08-141-0/+1
| | | | | | | | (From OE-Core rev: 4b42fd87da290ddea098605aea3a5cce1fb432a7) 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>
* weston: upgrade 10.0.1 -> 10.0.2Alexander Kanavin2022-08-142-35/+1
| | | | | | | | | | | Drop dont-use-plane-add-prop.patch as issue is fixed elsewhere (see the link in the patch). (From OE-Core rev: ed54ef8f094fb6759316781a5ac626af40ad8ffc) 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>
* wayland-protocols: upgrade 1.25 -> 1.26Alexander Kanavin2022-07-231-1/+1
| | | | | | | | (From OE-Core rev: 3481f6028c01a553f670cd9d6f095ccdcfe60570) 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>
* wayland: update 1.20.0 -> 1.21.0Alexander Kanavin2022-07-082-30/+2
| | | | | | | | | | | Drop the patch, as it is no longer necessary (genereated .pc defines everything as relative to the .pc path). (From OE-Core rev: e525db4eb9556979c67f6a908f6646363154cd06) 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>
* weston: update 10.0.0 -> 10.0.1Alexander Kanavin2022-07-081-2/+2
| | | | | | | | (From OE-Core rev: 682594b7827d15813c3bc4980a561ad7e89ea8b4) 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>
* xwayland.weston-start: adaption of X11-unix folderssuesens2022-06-151-1/+2
| | | | | | | | | | | changed permission of X11-unix to 775 changed owner of X11-unix to root:video (From OE-Core rev: 6aaffaca8afb3955253834f10517769dbe3b22b8) Signed-off-by: ssuesens <sebastian.suesens@baslerweb.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston.init: enabled xwaylandssuesens2022-06-151-0/+4
| | | | | | | | | | set xwayland support in weston.init file to true (From OE-Core rev: fdbe559c66c96954bd3322ab2981af36a95a50ea) Signed-off-by: ssuesens <sebastian.suesens@baslerweb.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: exclude pre-releases from version checkAlexander Kanavin2022-06-071-0/+1
| | | | | | | | (From OE-Core rev: 7a006009ee2310ace163ddf6d25d45b24a377200) 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>
* libinput: upgrade 1.19.3 -> 1.19.4Alexander Kanavin2022-05-051-1/+1
| | | | | | | | (From OE-Core rev: d32d51753aadf6c2747c79927dad0c9a044ad5df) 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>
* 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>