summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
Commit message (Collapse)AuthorAgeFilesLines
* weston: Add missing runtime dependency on freerdpTom Hochstein2024-11-261-1/+1
| | | | | | | | | | | | | | | With rdp enabled, nothing from freerdp is installed in the rootfs, and rdp is not usable. It seems there is no actual build time dependency other than the meson check itself, so add an explicit runtime dependency. (From OE-Core rev: a378c75bfb7d3be5f8af4947465349266eef8a84) Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 23271a1f908a223b4eb56d6034cbb1ac23da14fe) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* weston: backport patch to allow neatvnc < v0.9.0Hiago De Franco2024-11-262-0/+28
| | | | | | | | | | | | | | | | | | | Currently weston 13.0.3 with neatvnc 0.8.1 does not compile when using VNC: | Dependency neatvnc found: NO found 0.8.1 but need: '< 0.8.0' ; matched: '>= 0.7.0' However weston upstream already increased the allowed version to 0.9.0, since neatvnc 0.8.0 does not introduce any changes that breaks API used by the VNC backend. Therefore, backport this patch. (From OE-Core rev: fc88bc296fad8b016f7f8ebea4035becb70ac702) Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8516496018a3ee9e81a67d4682bf9784d0eab2bd) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* wayland: upgrade 1.23.0 -> 1.23.1Wang Mingyu2024-09-041-1/+1
| | | | | | | | | | | | | | | | Changelog: ============ - meson: Fix use of install_data() without specifying install_dir - Put WL_DEPRECATED in front of the function declarations - client: Handle proxies with no queue - tests: add enum bitfield test - scanner: fix validator for bitfields - scanner: extract validator function emission to helper function (From OE-Core rev: d929508fe77f1dc158cd5656721bcfbf105c07d7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.36 -> 1.37Wang Mingyu2024-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ - xdg-toplevel-icon: add error for destroyed wl_buffer - pointer-gestures: Add punctuation to clarify gesture cycles - tablet-v2: Fix feedback description in mode_switch - ext-image-copy-capture-v1: new protocol - ext-image-capture-source-v1: new protocol - governance: document review requirements - members: trim trailing comma - readme: recommend using "Draft:" prefix for RFC protocols - readme: use references for links - staging: Add xdg-toplevel-icon protocol for dedicated toplevel icons - readme: s/Makefile.am/meson.build/ - staging/tearing-control: clarify what happens after wl_surface destruction - ci: don't run pipelines in forks - various: Fix definition of double-buffered state - Fix some trivial typos (From OE-Core rev: 18501db4b4ebf9a19b2c2ff33c7719b828c893b7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: upgrade 13.0.1 -> 13.0.3Alexander Kanavin2024-08-232-2/+2
| | | | | | | (From OE-Core rev: 4dbc0100af07751c054baa2b34e271a7be220db2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: fix weston not starting when xwayland is enabledQuentin Schulz2024-08-231-1/+1
| | | | | | | | | | | | | | | | When xwayland PACKAGECONFIG option is set, xwayland is enabled in weston.ini. However, if the xwayland module isn't installed, weston will refuse to start with the following error message: Failed to load module: /usr/lib/libweston-13/xwayland.so: cannot open shared object file: No such file or directory Therefore, whenever the xwayland PACKAGECONFIG is set, weston-init should depend on weston-xwayland to bring this module in. Fixes: fdbe559c66c9 ("weston.init: enabled xwayland") (From OE-Core rev: fa2314125318634108452af4e40c9eeee260767c) Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: update 1.25.0 -> 1.26.1Markus Volk2024-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes libinput 1.26.1 is now available. A few semi-exciting things, the rest the usual bugfixes you'd expect for a point release. Touchpads now special-case Shift for disable-while-typing, so typing keys with shift down will trigger DWT. Tablets can now be calibrated if libwacom says the tablet is a display tablet. The hid-uclogic kernel driver doesn't set INPUT_PROP_DIRECT so any device handled by that driver didn't have calibration available. Fixed now, provided your tablet is recognised by libwacom. The direction of the first tablet pad relative dial was fixed, it was upside-down. Our debugging tools now support --set-pressure-range for the new tablet tool pressure range configuration added in 1.26 and --set-calibration for the calibration matrix that's been around for a while. The libinput debug-tablet tool now also supports all commandline options that debug-events and debug-gui support. And of course a varied assortment of device specific quirks and fixes. Release notes libinput 1.26.0 is now available. It's been a while since the last release but we have a few notable changes in here: Touchpads can now configure a clickfinger button map, so you can change whether two- or three-finger click means a right or middle click. See libinput_device_config_click_set_clickfinger_button_map Tablet pads now have an API for relative dials. These are typically wheel-like (e.g. Huion Inspiroy 2) or ring-like (e.g. Huion Inspiroy Dial 2) physical devices that send REL_WHEEL and REL_HWHEEL. libinput now provides these via libinput_event_tablet_pad_get_dial_delta_v120() in much the same manner as the v120-based scroll wheel API. A new configuration option for tablet tools allow reducing the available logical range. This is useful for users that want the tool to register only when some physical pressure value is reached, or to reduce the maximum amount of pressure needed to reach the logical maximum pressure. See libinput_tablet_tool_config_pressure_range_set() and friends. Tablet tools can now use BTN_STYLUS3 too and tablet pad strip support should now work for non-Wacom devices, where the kernel driver implements it. Huion tablets (well, and all vendors that use the 256C vendor id) now have a fallback resolution set. This is going to be wrong on most devices but at least it will make those tablets work out of the box, instead of failing with the "missing tablet capabilities: resolution" log message. And of course a varied assortment of device specific quirks and fixes. (From OE-Core rev: 341578e76de1189a2373672e76034e1c99c6783e) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: upgrade 13.0.0 -> 13.0.1Denys Dmytriyenko2024-06-062-9/+6
| | | | | | | | | | | | Weston 13.0.1, a bug fix release for 13.0.0 has been released. Full changelog: https://lists.freedesktop.org/archives/wayland-devel/2024-April/043575.html (From OE-Core rev: a43f4f98aeba01f05157f7784e366a964d2f766f) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade 1.22.0 -> 1.23.0Denys Dmytriyenko2024-06-063-54/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the official release for Wayland 1.23. Besides numerous bugfixes and protocol clarifications, Wayland 1.23 includes the following new features: - A mechanism to set the size of the internal connection buffer used by libwayland - An enum-header mode for wayland-scanner to generate headers with only enums - wayland-scanner now generates validator functions for enums on the server side - Protocols can now indicate with a "deprecated-since" XML attribute that a request, event or enum entry is deprecated - An API to set a name for a queue to aid debugging - wl_client_get_user_data() and wl_client_set_user_data() to more easily attach custom data to a client - OpenBSD support - A wl_shm.release request for proper cleanup of this global Changelog: https://lists.freedesktop.org/archives/wayland-devel/2024-May/043636.html (From OE-Core rev: 0123debc0f54e3692fe3fc1416cb5a3fa4620020) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Switch away from S = WORKDIRRichard Purdie2024-05-211-1/+2
| | | | | | | | | | | | | Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to a subdir of WORKDIR and make S point at this instead. I've chosen not to force S into any standard UNPACKDIR we may pick in future just so the S = UNPACKDIR case is clearly visible by the directory naming under WORKDIR as that should aid usability. (From OE-Core rev: d9328e3b0b062f0621de3d114584b44f384a1c02) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: fix upstream version checkAlexander Kanavin2024-05-094-2/+4
| | | | | | | (From OE-Core rev: e98a02fed1fec3596727316837526a6d1420aed4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: update 1.35 -> 1.36Markus Volk2024-05-091-1/+1
| | | | | | | (From OE-Core rev: 53bedae6d7a724ffe62f6ece90a56323304225d2) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update WORKDIR references to UNPACKDIRRichard Purdie2024-05-021-4/+4
| | | | | | | | | | Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. (From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update S = WORKDIR recipes to use ${S} correctlyRichard Purdie2024-05-021-8/+8
| | | | | | | | | | Where recipes use S = ${WORKDIR}, ensure they are referencing ${S} correctly to access files as soon we want to stop doing this in WORKDIR at which point they would break unless corrected. (From OE-Core rev: f25dd633fffe6560f191526d1869e657e129bad9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: fix building with debug-gui optionMarc Ferland2024-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | When building libinput with the 'gui' PACKAGECONFIG option, it fails with: | Run-time dependency x11 found: YES 1.8.9 | Run-time dependency wayland-client found: YES 1.22.0 | Run-time dependency wayland-protocols found: YES 1.34 | Program wayland-scanner found: NO | | ../git/meson.build:578:20: ERROR: Program 'wayland-scanner' not found or not executable | | A full log can be found at /home/marc/mnt/yocto-latest/build/tmp/work/core2-64-poky-linux/libinput/1.25.0/build/meson-logs/meson-log.txt | ERROR: meson failed | WARNING: exit code 1 from a shell command. Adding a build dependency on wayland-native fixes the issue. (From OE-Core rev: 0e2d18e6267d26870ccbe45734bfccbc02744357) Signed-off-by: Marc Ferland <marc.ferland@sonatest.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.34 -> 1.35Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | | | | | Changelog: ========== - tablet-v2: mark as stable - staging: add alpha-modifier protocol - xdg-shell: add missing enum attribute to set_constraint_adjustment - xdg-shell: recommend against drawing decorations when tiled - cursor-shape-v1: Does not advertises the list of supported cursors (From OE-Core rev: 0974ee04e5e6ba4f42d37db9a096c0dc084b80a9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtdev: upgrade 1.1.6 -> 1.1.7Wang Mingyu2024-04-161-2/+1
| | | | | | | | | | | | Changelog: ========= -test: link using libmtdev.la -Fix test warnings (From OE-Core rev: ca3722c9b772c592c0b13333d267d4426a2a27d9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.33 -> 1.34Denys Dmytriyenko2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release comes with three new staging protocols: * xdg-toplevel-drag This protocol enhances regular drag and drop by allowing attaching a toplevel window to a drag. This can be used to implement e.g. detachable toolbars and browser tab drag behavior that can be seen in other platforms. * xdg-dialog This protocol allows setting dialog specific hints on a toplevel, more specifically marking them as modal. * linux-drm-syncobj This protocol will allow explicit synchronization of buffers using DRM synchronization objects. While being a protocol that is unlikely to be widely used directly by applications and toolkits themselves, it is an important building block for improving Vulkan and OpenGL drivers. Other than this, the tablet and foreign toplevel list protocols also received clarifications and fixes. Full changelog: https://lists.freedesktop.org/archives/wayland-devel/2024-March/043537.html (From OE-Core rev: bc85c5360cec21b685542ced8e767a6effd949c4) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: fix upstream version check by asking gitlab directlyAlexander Kanavin2024-03-204-4/+4
| | | | | | | | | | | | https://wayland.freedesktop.org/releases.html is prone to delays and missing entries as it is manually updated; in particular latest wayland-protocols remains unlisted: https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/issues/7 (From OE-Core rev: 1932f6ebe0c108852010b1fac8febd23236c86ae) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: update 1.32 -> 1.33Markus Volk2024-02-191-1/+1
| | | | | | | (From OE-Core rev: 2a4cad037973a2277db60bf729ef4836c226142e) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.24.0 -> 1.25.0Wang Mingyu2024-02-031-1/+1
| | | | | | | | (From OE-Core rev: 3945353d3288829bbe7626f8a079fd60264061af) 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>
* weston: Update to 13.0.0Fabio Estevam2024-01-211-7/+2
| | | | | | | | | | | | | | | Update to Weston 13.0.0. Remove the following options that were no longer exist in 13.0.0: deprecated-launcher-logind and launcher-libseat. Add seatd as a required dependency for kms. (From OE-Core rev: 539d2cfcd99b1ce15f7118888121adf91794ce7f) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: Add packageconfig for testsJoshua Watt2023-12-211-3/+3
| | | | | | | | | | | | | Add packageconfig to control if tests are installed or not. Doing this allows the libcheck dependency to be optional. The packageconfig defaults to having tests enabled when PTEST_ENABLED == 1 to match the previous behavior (From OE-Core rev: d15b482a5858612c8c88c739b51de579945d7cb2) 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>
* weston: Include libgen.h for basenameKhem Raj2023-12-212-0/+49
| | | | | | | | | | Fixes build with latest musl (From OE-Core rev: 1fe60f3fc751e1b0ee93cfbf6dfa5c5916a81ec4) 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: consider pkgconfig sysroot for pkgdatadirAndreas Cord-Landwehr2023-10-042-0/+47
| | | | | | | | | | | | 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>
* wayland-utils: upgrade 1.1.0 -> 1.2.0Wang Mingyu2023-09-142-46/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* libinput: upgrade 1.23.0 -> 1.24.0Wang Mingyu2023-09-141-1/+1
| | | | | | | (From OE-Core rev: 381310720bab16f0898396f32f1810305144dae7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Add sysconfdir to FILES:${PN}Luan Rafael Carneiro2023-09-101-1/+1
| | | | | | | | | | | 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>
* weston: Upgrade version 12.0.1 -> 12.0.2Luan Rafael Carneiro2023-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* weston-init: fix init code indentationOtavio Salvador2023-09-101-1/+1
| | | | | | | | 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>
* weston-init: remove misleading comment about udev ruleOtavio Salvador2023-09-101-1/+1
| | | | | | | | | | | | 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>
* wayland-utils: add libdrm PACKAGECONFIGRoss Burton2023-09-071-0/+3
| | | | | | | | | | 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>
* weston: fix commentUlrich Ölmann2023-09-021-1/+1
| | | | | | | | 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>
* wayland-protocols: upgrade 1.31 -> 1.32Wang Mingyu2023-07-141-1/+1
| | | | | | | | (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>
* weston: update 11.0.1 -> 12.0.1Alexander Kanavin2023-06-271-5/+12
| | | | | | | | | | | | 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>
* weston: Cleanup and fix x11 and xwayland dependenciesTom Hochstein2023-06-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* weston-init: add profile to point users to global socketRandolph Sapp2023-06-152-0/+23
| | | | | | | | | | 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>
* weston-init: guard against systemd configsRandolph Sapp2023-06-151-12/+17
| | | | | | | | | | 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>
* weston-init: fix the mixed indentationRandolph Sapp2023-06-151-5/+5
| | | | | | | | | 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>
* weston-init: add the weston user to the wayland groupRandolph Sapp2023-06-131-1/+1
| | | | | | | | | | | 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>
* weston-init: add weston user to the render groupRandolph Sapp2023-06-131-1/+1
| | | | | | | | | | | 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>
* weston-init: make sure the render group existsRandolph Sapp2023-06-131-1/+1
| | | | | | | | | | | 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>
* weston-init: introduce xwayland PACKAGECONFIGMing Liu2023-06-091-2/+3
| | | | | | | | | | 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>
* weston: add xwayland to DEPENDS for PACKAGECONFIG xwaylandMing Liu2023-05-051-1/+1
| | | | | | | | | | | 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>
* libinput: upgrade to 1.23.0Ross Burton2023-05-032-24/+2
| | | | | | | | | | | 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>
* wayland: upgrade 1.21.0 -> 1.22.0Wang Mingyu2023-04-131-1/+1
| | | | | | | | (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>
* 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>