Commit Graph

316 Commits

Author SHA1 Message Date
Andreas Cord-Landwehr
4c0ce132a5 wayland: consider pkgconfig sysroot for pkgdatadir
Fix pkgconfig find calls to find wayland protocol XML files.
See discussion in:
https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/102

(From OE-Core rev: 428ffec520ff25b2a29d506d7af9e6ba8a150d8f)

Signed-off-by: Andreas Cord-Landwehr <cordlandwehr@kde.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-04 23:55:12 +01:00
Wang Mingyu
adbf02fd31 wayland-utils: upgrade 1.1.0 -> 1.2.0
0001-wayland-info-Fix-build-without-libdrm.patch
removed since it's included in 1.2.0

Changelog:
===========
-wayland-info: Fix spurious tab/space
-wayland-info: add drm-lease-v1 support
-meson: improve protocol generation
-wayland-info: Destroy zwp_linux_dmabuf_feedback_v1 proxy on exit
-wayland-info: Readd support for linux_dmabuf versions < 3
-wayland-info: Add a cmdline option for interface
-wayland-info: print DRM device paths
-build: turn on -Wundef
-wayland-info: move libdrm version constraint to dependency()
-wayland-info: include system headers with angle brackets
-wayland-info: Fix build without libdrm
-1build: reopen main for regular development

(From OE-Core rev: 5a19398422e317333ed22ff7d632cd973d0c30d5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:38 +01:00
Wang Mingyu
5ff3078fa3 libinput: upgrade 1.23.0 -> 1.24.0
(From OE-Core rev: 381310720bab16f0898396f32f1810305144dae7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-14 09:19:37 +01:00
Luan Rafael Carneiro
f675fef1da weston: Add sysconfdir to FILES:${PN}
When enabling the vnc feature as backend, the weston-remote-access is
installed from meson inside the /etc/pam.d directory.

(From OE-Core rev: 92a460b55e7290ec0006365219189761f7226f7c)

Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:54:36 +01:00
Luan Rafael Carneiro
fe08729fd4 weston: Upgrade version 12.0.1 -> 12.0.2
This is a bug fix release for 12.0 version. Full commit history bellow:

Derek Foreman (1):
      data-device: Don't make a weston_coord with no valid space

Leandro Ribeiro (3):
      drm: drop disable_planes being false as a condition to support writeback
      drm: do not pull writeback task if KMS atomic API is not supported
      tests: assert that capture info was received before trying screenshot

Liu, Kai1 (1):
      xwm: WM_TRANSIENT_FOR should not point to override-redirect window

Marius Vlad (3):
      backend-drm: Make DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP inert
      backend-drm/meson.build: Require at least mesa 21.1.1
      build: bump to version 12.0.2 for the point release

Michael Olbrich (1):
      backend-wayland: fix --fullscreen

Pekka Paalanen (1):
      man: make --wait-for-debugger findable

Philipp Zabel (2):
      backend-rdp: extract weston_output_set_single_mode()
      backend-vnc: use weston_output_set_single_mode()

(From OE-Core rev: f2276c282a977c745529750172673d5684c9ffc3)

Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:54:36 +01:00
Otavio Salvador
19e13f6b1a weston-init: fix init code indentation
Tested-by: Tom Hochstein <tom.hochstein@nxp.com>
(From OE-Core rev: c08d474c97ce071ba376b66f30d6ee0a6159d596)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:54:36 +01:00
Otavio Salvador
43749a6498 weston-init: remove misleading comment about udev rule
The udev rule has been removed but the comment has kept, by
mistake. Remove it.

Fixes: dd83fb40f7 ("weston-init: Stop running weston as root")
Tested-by: Tom Hochstein <tom.hochstein@nxp.com>
(From OE-Core rev: 8aa3d43fa1c53cdce45ec88a49f27b076d3812ac)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 08:54:36 +01:00
Ross Burton
f91d196148 wayland-utils: add libdrm PACKAGECONFIG
wayland-utils has optional libdrm support, so add a PACKAGECONFIG and
enable it.

(From OE-Core rev: c6c488c259d1f38a05a71e576ca2f32d412413f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-07 14:36:30 +01:00
Ulrich Ölmann
daa89365ff weston: fix comment
Fixes: be7da75827b4 ("weston: update 11.0.1 -> 12.0.1")
(From OE-Core rev: 79d453eb0caf304454146c9c59744150b678e64d)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 07:47:43 +01:00
Wang Mingyu
407e7784ee wayland-protocols: upgrade 1.31 -> 1.32
(From OE-Core rev: fd4fb8a1a4b8c2ddde34152275611a46e3f6ea71)

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>
2023-07-14 17:31:06 +01:00
Alexander Kanavin
d32219dc05 weston: update 11.0.1 -> 12.0.1
Default to launcher-seatd always, as launcher-logind option has been deprecated.

xcb-util-cursor is an additional dependency of xwayland support.

(From OE-Core rev: be7da75827b4ffee3a243f977faad429dd9fa21c)

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>
2023-06-27 16:23:40 +01:00
Tom Hochstein
bd8d5e20f4 weston: Cleanup and fix x11 and xwayland dependencies
For the x11 backend package config, drop the redundant dependencies
libxcb and cairo. The former is listed twice in the package config,
while the latter is also listed globally.

For the xwayland package config, add the missing dependencies libxcb
and libxcursor. These dependencies are hidden when the x11 backend is
enabled by default. When the default setting is overridden to disable
the x11 backend, the following error occurs:
```
| Run-time dependency xcursor found: NO (tried pkgconfig and cmake)
|
| ../git/xwayland/meson.build:34:2: ERROR: Problem encountered: xwayland requires xcursor which was not found. Or, you can use '-Dxwayland=false'.
```

(From OE-Core rev: 49f4dd391b408a850d13010c90492c621b7912c3)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Randolph Sapp
8f4b90c043 weston-init: add profile to point users to global socket
Add profile script to point users capable of interacting with the global
socket to it by default.

(From OE-Core rev: 2818cbc73093996f8ecb93a4f0df8a31fd4692d3)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-15 08:00:41 +01:00
Randolph Sapp
3cd202d7df weston-init: guard against systemd configs
Just as sysvinit scripts shouldn't be present in a distro using systemd,
systemd scripts shouldn't be present in a system not using systemd.

(From OE-Core rev: 00e3eb3893eeb32839e02b05bc1299440895a53d)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-15 08:00:41 +01:00
Randolph Sapp
3a4a789482 weston-init: fix the mixed indentation
I know my text editor is going to get angry at me if this continues.

(From OE-Core rev: da6e01517336694911f5aea53d637e9c0ad72c9b)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-15 08:00:41 +01:00
Randolph Sapp
b74de41bb4 weston-init: add the weston user to the wayland group
Add the weston user to the wayland group so all users accessing the
global weston socket in /run all share a group.

(From OE-Core rev: 30198b36b00a1967d1f8f8f556a0ba2415954f4e)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-13 22:10:32 +01:00
Randolph Sapp
2d371c9abf weston-init: add weston user to the render group
The weston user must be in the render group in order to access render
device nodes for standard user-space graphics.

(From OE-Core rev: 1cba8aa3c5e0635d7b89222d9ccaf889954fe0c9)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-13 22:10:32 +01:00
Randolph Sapp
7cf7388e70 weston-init: make sure the render group exists
Add the render group explicitly here to make sure it exists for the
useradd command.

(From OE-Core rev: 3134fca12c6f74d2b99f79fb751bc5513c5b937a)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-13 22:10:32 +01:00
Ming Liu
7e2199be52 weston-init: introduce xwayland PACKAGECONFIG
Some BSPs dont support xwayland in weston, this is easier for them to
control that.

(From OE-Core rev: b2b40d3470a4a75a18d1cc7a948eec73d84a883b)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-09 13:55:21 +01:00
Ming Liu
ce460d2462 weston: add xwayland to DEPENDS for PACKAGECONFIG xwayland
Otherwise xwayland.pc would not be present in sysroot, this leads to
some xwayland configs missing like have_listenfd, have_glamor.

(From OE-Core rev: 7f1932cb5a408320a5b542e20ba2807718349e8f)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Ross Burton
e222579ba7 libinput: upgrade to 1.23.0
Remove determinism.patch, this is obsolete now that we set
GIT_CEILING_DIRECTORIES to stop git climbing the tree outside of the
work directory.

(From OE-Core rev: e652d9bee3940e8ee7c3346c801deef4801dbaeb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:50:09 +01:00
Wang Mingyu
ed9e8941f4 wayland: upgrade 1.21.0 -> 1.22.0
(From OE-Core rev: b737848513d06c60fb26d5e796e99639d663feb6)

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>
2023-04-13 11:56:07 +01:00
Joshua Watt
f77bf57f26 weston: Add kiosk shell
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>
2023-02-24 13:31:45 +00:00
Alexander Kanavin
47a8192617 libinput: upgrade 1.22.0 -> 1.22.1
(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>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
4d574ad5bf weston: update 11.0.0 -> 11.0.1
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>
2022-12-28 23:59:55 +00:00
Wang Mingyu
dc9f64cc66 wayland-protocols: upgrade 1.28 -> 1.31
(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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
ee7aaed61a libinput: upgrade 1.21.0 -> 1.22.0
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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
75b77c72a3 wayland-protocols: upgrade 1.27 -> 1.28
(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>
2022-11-15 09:38:37 +00:00
Markus Volk
25e2663a87 libinput: upgrade 1.19.4 -> 1.21.0
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>
2022-11-11 13:43:40 +00:00
Pablo Saavedra Rodi?o
a193d691de weston: update 10.0.2 -> 11.0.0
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>
2022-11-03 07:46:47 +00:00
Alexander Kanavin
0af6aa91dc wayland-utils: update 1.0.0 -> 1.1.0
(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>
2022-10-29 16:28:35 +01:00
Markus Volk
2f7093d9ba wayland-protocols: upgrade 1.26 -> 1.27
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>
2022-10-26 12:28:39 +01:00
Alexander Kanavin
bd0beddcb1 weston: exclude pre-releases from version check
(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>
2022-08-14 08:13:32 +01:00
Alexander Kanavin
4675bd3349 weston: upgrade 10.0.1 -> 10.0.2
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>
2022-08-14 08:13:32 +01:00
Alexander Kanavin
f6420c9aa6 wayland-protocols: upgrade 1.25 -> 1.26
(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>
2022-07-23 13:55:26 +01:00
Alexander Kanavin
b5382b4218 wayland: update 1.20.0 -> 1.21.0
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>
2022-07-08 00:09:42 +01:00
Alexander Kanavin
0b5bcebc83 weston: update 10.0.0 -> 10.0.1
(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>
2022-07-08 00:09:42 +01:00
ssuesens
82b6078a63 xwayland.weston-start: adaption of X11-unix folder
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>
2022-06-15 12:27:01 +01:00
ssuesens
cd965430c0 weston.init: enabled xwayland
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>
2022-06-15 12:27:01 +01:00
Alexander Kanavin
c13a21782b wayland: exclude pre-releases from version check
(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>
2022-06-07 21:21:54 +01:00
Alexander Kanavin
e149bbc2ea libinput: upgrade 1.19.3 -> 1.19.4
(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>
2022-05-05 21:17:37 +01:00
Khem Raj
90862733ed weston: Add a knob to control simple clients
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>
2022-03-31 17:52:59 +01:00
Joe Slater
1f1fcb41b4 weston: use same distro features for weston and westion-init
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>
2022-03-24 17:45:29 +00:00
Khem Raj
a3e92d3c05 weston-init: Use pixman rendering for qemuppc64
(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>
2022-03-20 00:02:22 +00:00
Khem Raj
547cf5b820 weston-init: Use pixman on riscv64 qemu
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>
2022-03-18 23:32:46 +00:00
Markus Volk
8969f056be wayland: provide wayland-client-native and wayland-protocols-native
(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>
2022-03-17 16:44:33 +00:00
Ming Liu
2c90c1e302 weston-init: add use-pixman PACKAGECONFIG
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>
2022-03-13 12:23:48 +00:00
Joe Slater
8a4c53ee76 weston: require wayland as a distro feature
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>
2022-03-11 06:56:02 +00:00
Alexander Kanavin
e4c8f51dd5 weston-init: replace deprecated/disabled fbdev with drm backend
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>
2022-02-21 21:53:52 +00:00
Alexander Kanavin
b7cb48c2b9 weston-init: disable systemd watchdog option
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>
2022-02-18 11:37:11 +00:00