summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
Commit message (Collapse)AuthorAgeFilesLines
...
* weston: upgrade 9.0.0 -> 10.0.0Alexander Kanavin2022-02-058-374/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release announcement with changes: https://lists.freedesktop.org/archives/wayland-devel/2022-February/042103.html Upstream has deprecated both weston-launch and fbdev backend, so let's not delay the inevitable and find replacements. Fbdev can be replaced by passing --use-pixman to drm backend; this will bypass the opengl paths and use CPU for rendering. Apply where GL is too slow or unavailable. weston-launch can be replaced by starting weston directly, with a seat management daemon for support. This is provided either by systemd, or on systemd-less systems, by seatd. The sysvinit startup scripts and tests have been rewritten accordingly. Bonus fix: under sysvinit weston now starts under weston user as it should, and not under root. Upstream discussion: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725 License-Update: copyright years (From OE-Core rev: 4efc81fc575aea1e12e00de8644a4b853719f8df) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.24 -> 1.25Denys Dmytriyenko2022-02-031-1/+1
| | | | | | | | | | | | | | | | https://lists.freedesktop.org/archives/wayland-devel/2022-January/042102.html wayland-protocols 1.25 is now available. Apart from minor fixes and clarifications, this release also adds a new staging protocol for session locking, as well as a 'bounds' event to the xdg_toplevel interface. See the individual commits and protocol specifications for details. (From OE-Core rev: 789970a46bd902b040cf3bbd34ad0887a1ba896a) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.19.2 -> 1.19.3Alexander Kanavin2022-01-201-1/+1
| | | | | | | (From OE-Core rev: 0921d3747238b6131ad6945633a5ced2a88f09fb) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: Change inherit orderRichard Purdie2022-01-111-1/+1
| | | | | | | | | allarch needs to be after meson so that qemu usage can be disabled and the package can really be architecture independent. (From OE-Core rev: f7b58d5a6681547735ba747f5872abf35c9fa2c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade 1.19.0 -> 1.20.0Denys Dmytriyenko2022-01-052-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | Wayland 1.20.0 is released! This release contains the following major changes: - FreeBSD support has been entirely upstreamed and has been added to our continuous integration system. - The autotools build system has been dropped. Meson has replaced it. - A few protocol additions: wl_surface.offset allows clients to update a surface's buffer offset independently from the buffer, wl_output.name and description allow clients to identify outputs without depending on xdg-output-unstable-v1. - In protocol definitions, events have a new "type" attribute and can now be marked as destructors. - A number of bug fixes, including a race condition when destroying proxies in multi-threaded clients. Also backport libsdl2 patch to fix building against wayland-1.20.0 (From OE-Core rev: d81c8d137895e1fb70bb56c61d53502670d7bc43) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: drop unnecessary patchAlexander Kanavin2021-12-062-29/+0
| | | | | | | | | wayland now picks the correct setting from the native .pc file. (From OE-Core rev: 5438c4121c040c4153377d0ec285381a6e93fded) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "weston-init: Pass --continue-without-input when launching weston"Khem Raj2021-12-012-2/+2
| | | | | | | | | | | | | | This reverts commit 762a20b493cc219a46d9ac188fe4895a111ee7b4. This breaks machines using fbdev backend, since this option is drm backend specific, we need to know the backend before using it, until we have a smart way to detect that, this will not be a fool proof solution, therefore revert it for now. (From OE-Core rev: 6b7d8b2a141cc79272010b24d0648e6238fa4c74) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Pass --continue-without-input when launching westonKhem Raj2021-11-292-2/+2
| | | | | | | | | | | | This ensures that we do not need keyboard/mouse or other input system Weston's default behavior is to not open if input devices are not found, but we may not always have input devices connected for systems running weston in field (From OE-Core rev: 762a20b493cc219a46d9ac188fe4895a111ee7b4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: mark patch as deniedAlexander Kanavin2021-11-251-1/+1
| | | | | | | | | | upstream has explained in the patch submisstion how the issue should be solved differently; we should work towards that. (From OE-Core rev: 60c0f7fb94e81e644c3b5dc87126fe32a6780239) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.23 -> 1.24Denys Dmytriyenko2021-11-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | wayland-protocols 1.24 is now available. This release adds feedback to the DMA buffer protocol, allowing smarter and more dynamic DMA buffer allocation semantics. Other changes include documentation improvements and improved testing infrastructure. This is also the first release of wayland-protocols that do not include a autotools build description. https://lists.freedesktop.org/archives/wayland-devel/2021-November/042039.html Disable build-time tests as they want to cross-compile in an allarch package: | # Check buildability | add_languages('c', 'cpp', native: false) (From OE-Core rev: 08bf9f59ede30918e0cf8763cd2714734bb02b9f) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: submit patch upstreamAlexander Kanavin2021-11-211-1/+1
| | | | | | | (From OE-Core rev: f265a550bc057f653aea6f3611f71525e669a9f3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: Fix wayland-tools packagingTom Hochstein2021-11-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some packaging problems due to the wayland-tools packaging implementation. The wayland-tools package currently looks like this: wayland-tools └── usr ├── bin │   └── wayland-scanner └── share └── wayland ├── wayland.dtd ├── wayland-scanner.mk └── wayland.xml The files wayland.dtd and wayland.xml belong in the main package, while wayland-scanner.mk belongs in wayland-dev. Fix the wayland.dtd and wayland.xml packaging by prepending the wayland-tools package and dropping the main package FILES variable override. The file wayland-scanner.mk is included in the main package by default, and so must be explicitly added to wayland-dev. (From OE-Core rev: a31fbec45d24df5b74091940d0e0b2daf34d8492) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.19.1 -> 1.19.2Alexander Kanavin2021-10-281-1/+1
| | | | | | | | (From OE-Core rev: 39a19417d2bd755ce0fcc6d34be265759030ee49) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.19.0 -> 1.19.1Alexander Kanavin2021-10-231-1/+1
| | | | | | | | (From OE-Core rev: 31c5fc68779f480b162b0d37e63fd63be69bbc9a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: update to 1.19.0Oleksandr Kravchuk2021-10-111-1/+1
| | | | | | | | (From OE-Core rev: 2e2d5fe3883e39b99860523133c56d8f37190ff6) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.22 -> 1.23Denys Dmytriyenko2021-10-111-1/+1
| | | | | | | | | | | | | | wayland-protocols 1.23 is now available. This release adds the new gesture "hold" to the pointer gesture protocol. https://lists.freedesktop.org/archives/wayland-devel/2021-September/041979.html (From OE-Core rev: e63debe73233df93089de65f599e335ffd7d38a8) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: wrapper for weston modules argumentPavel Zhukov2021-10-113-0/+25
| | | | | | | | | | | | | | | Due to custom option parser implementation weston accepts only one argument of a given type. As the result if multiple modules add multiple --modules agruments only last will be used. This fix introduces wrapper around modules in terms of weston-init to prepare proper modules argument for weston and adds systemd-notify module into weston-init module to support Type=notify in systemd service file. (From OE-Core rev: c8aa0222ce2be647911114aaebcbb0d55d7caf87) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.21 -> 1.22Denys Dmytriyenko2021-10-111-1/+1
| | | | | | | | | | | | | | | | | | wayland-protocols 1.22 is now available. This release includes a new staging protocol: DRM object leasing. Besides that, various test and build system improvements are included, as well as a set of clarifications to the xdg-activation protocol and other protocols. https://lists.freedesktop.org/archives/wayland-devel/2021-September/041972.html (From OE-Core rev: 17c59e425148c3b9e8110c79442c7f3e0dea198a) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'Robert P. J. Day2021-09-071-1/+1
| | | | | | | | | | | Repo-wide replacement to use newer variable to represent systemd system unitdir directory. (From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Add rdp PACKAGECONFIGMarek Vasut2021-09-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Weston has RDP backend support. This can be used e.g. for screen mirroring. Add PACKAGECONFIG so it can be enabled by the user. By default, this is not enabled, to retain the old behavior of the recipe. Below is an example testcase of using the RDP backend for screen mirroring, i.e. two devices display the same content across ethernet link, input on either is passed across the link. - Add the following to weston.ini: [core] modules=screen-share.so screen-share=true [screen-share] command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/path/to/board.crt --rdp-tls-key=/path/to/board.key --no-config - Generate keys on the board (the board.key and board.crt above): $ winpr-makecert -rdp -path /path/to/ - Restart weston on the board. To start screen sharing, press Ctrl-Alt-S on the keyboard (see weston compositor/screen-share.c). - Connect to the weston using freerdp, e.g.: $ xfreerdp /v:192.168.1.300 (From OE-Core rev: 05706a487c2e57fb26935276a2ec650405900243) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joshua Watt <JPEWhacker@gmail.com> Cc: Khem Raj <raj.khem@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.18.0 -> 1.18.1Alexander Kanavin2021-08-231-1/+1
| | | | | | | (From OE-Core rev: 4451a250741fc5bb916322e8b86e514b1d5aed50) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Re-order gbm destruction at DRM-backend tear downKhem Raj2021-08-222-0/+51
| | | | | | | | | | | | | | | | Fixes an annoying segfault seen on rpi4 when launching weston during boot especially using systemd service or sysvinit script, if weston is launched manually on VT, it works fine. This backport specifically addresses the issue described above. For more details see [1] [1] https://gitlab.freedesktop.org/wayland/weston/-/issues/314 (From OE-Core rev: 74e0249af85782af436791d1339ce864536d2022) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-025-37/+37
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.17.3 -> 1.18.0Andreas Müller2021-06-061-2/+2
| | | | | | | | | | | * COPYING changed by link (master->main) [1] [1] https://gitlab.freedesktop.org/libinput/libinput/-/commit/354df8bce9874e92de2ad8535fdcedaec0755b27 (From OE-Core rev: e26d68d1333f920998fa5fd1ee0570f5a8deb9c7) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.17.2 -> 1.17.3Richard Purdie2021-05-311-1/+1
| | | | | | (From OE-Core rev: 711e6f77f3da132cf7238282bc6f499b48adf620) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest: add newly discovered missing runtime dependencies across recipesAlexander Kanavin2021-05-271-1/+1
| | | | | | | | | | Making ptest images based on core-image-minimal uncovered quite a few missing depenendcies from various recipes, here they are. (From OE-Core rev: 2cda6242f2f0f6f9c6bdef72bbb271eab7e5e1f5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: package target binaries into -tools, not into -devAlexander Kanavin2021-05-271-1/+3
| | | | | | | (From OE-Core rev: 5e96a2b56ce3ee4d113f3ae8b556c230f4b9df7d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.20 -> 1.21Richard Purdie2021-05-181-2/+1
| | | | | | (From OE-Core rev: 590fd78550a1754ab3ea0c64510601025c13436c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.17.1 -> 1.17.2Richard Purdie2021-05-181-1/+1
| | | | | | (From OE-Core rev: a59063cfb23132ee5a110f1cd84cd43f8b8eea41) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.16.4 -> 1.17.1Alexander Kanavin2021-05-091-1/+1
| | | | | | | (From OE-Core rev: c70e9a812659811664b40fa103d52bbb06e39750) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: fix build failure due to race conditionChen Qi2021-04-232-0/+33
| | | | | | | | | | | The wayland.c actually include 'xdg-shell-client-protocol.h' instead of the server one, so fix it. Otherwise, it's possible to get build failure due to race condition. (From OE-Core rev: bd2a9a4d82f66f1ff414c392bcf234d8dbd5e553) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Drop loading xwayland.so moduleKhem Raj2021-04-231-2/+0
| | | | | | | | | | | | | | | | | | This module is no longer installed by x11 instead it uses a stand along server for xwayland, as a result when xwayland is enabled in packageconfig in weston then it fails to load xwayland.so during runtime Fixes [21:07:12.-100663296] Old Xwayland module loading detected: Please use --xwayland command line option or set xwayland=true in the [core] section in weston.ini [21:07:12.-100663296] Loading module '/usr/lib/libweston-9/xwayland.so' [21:07:12.-100663296] Failed to load module: /usr/lib/libweston-9/xwayland.so: cannot open shared object file: No such file or directory [21:07:12.-100663296] Destroying fbdev output. (From OE-Core rev: aa829e27a0d3bda3ed943005c1622e71d38bb872) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: use standalone xwayland instead of outdated xserver-xorg versionAlexander Kanavin2021-04-201-1/+1
| | | | | | | (From OE-Core rev: e933962061ac3fa1c0c1069b8075a5f7645001c4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Set $HOME variable for SysVinit managerAdrian2021-03-202-0/+2
| | | | | | | | | | | SysVinit sets by default the $HOME directory to "/" for the init scripts. It's picked then by the weston-launcher and make weston-terminal to have wrongly set $HOME environment variable for the root user. (From OE-Core rev: f5ddf5533b19a41be9e9cd403c2e7ded6da6f272) Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: less parallism to increase chances the test suite worksRoss Burton2021-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | Discussion with the libinput maintainer has confirmed that many of the libinput test cases need to run on a relatively unloaded system, because input handling is by definition time-sensitive and any event mismatches are considered a failure to avoid broken code hiding. We can't expect libinput to run on an otherside unloaded machine because the autobuilder ptests execute in a qemu at the same time as builds can be happening. We can however reduce the amount of parallellism happening in the libinput test suite to give it a better chance of succeeding. This may not be enough, but it's worth a go. [ YOCTO #14164 ] (From OE-Core rev: 5702f7c489ed45b7f4a69c78aa8215e2c98e21c4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Fix weston-keyboard path in weston.iniMarek Vasut2021-02-161-1/+1
| | | | | | | | | | | | The weston-keyboard executable is installed into /usr/libexec instead of /usr/lib/weston , correct the path in weston.ini . (From OE-Core rev: 56dee47a5ddb1da66d30f894a282d0658dcc930c) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Khem Raj <raj.khem@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: remoting backend requires GStreamer base pluginsJoshua Watt2021-02-131-1/+1
| | | | | | | | | | The remoting backend of weston requires the GStreamer base plugins, so add them to the PACAKGECONFIG depends list. (From OE-Core rev: 0b45994656fee7c4b7bdb5bd8571f0c61217a182) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade 1.18.0 -> 1.19.0Denys Dmytriyenko2021-01-305-136/+24
| | | | | | | | | | | This release mostly contains bug fixes and minor protocol updates. Related patches were rebased and backported patches dropped. (From OE-Core rev: 353382f6c7f3904a11e0a73a1b17eff4963bdcb9) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.16.3 -> 1.16.4zangrc2020-12-091-1/+1
| | | | | | | (From OE-Core rev: 4d3ebeef202d9c0544749b64d47e269d939a5124) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Stop running weston as rootJoshua Watt2020-11-245-28/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | Running the weston compositor as the root user is an insecure default behavior for OE-core. We can do much better, at least when using systemd. Change the recipe to create a dedicated "weston" user and start weston as this user. The systemd service and socket units are no longer template units, as there were several inconsistencies in the templates. Instead, there is now a global /run/wayland-0 socket that gets created, and systemd will start weston on demand when a client connects to that socket or when attempting to reach graphical.target, whichever comes first. This also allows downstream users to easily change the behavior so that weston *only* starts on demand by adding a drop file. Access to the global socket is controlled by a "wayland" group; any user that is a member of the group can use the socket to talk to the compositor. This also satisfies another use case where another systemd service might start a graphical application that needs to display with weston (e.g. a single function device in kiosk mode). Finally, the udev rules for starting weston with the existance of a DRM device have been removed. Being WantedBy= a graphical target should eliminate the need for this behavior, and having it present makes it difficult for downstream users to start weston on demand (having to override the udev rules). (From OE-Core rev: dd83fb40f76749c6689807afabc63b9d5c2a4065) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Fix incorrect idle-time settingAlistair2020-11-171-1/+1
| | | | | | | (From OE-Core rev: 84b3a6b7bd73ebad90865ee4351578c2109358fb) Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.16.2 -> 1.16.3zangrc2020-11-171-1/+1
| | | | | | | (From OE-Core rev: e710f7cf11d494c057f7065f9fc271b7e4e85d62) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: add pam to REQUIRED_DISTRO_FEATURESMartin Jansa2020-11-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | * it was added to weston-init in 72dd74c5d384dbe641cc7c02ecf766ff8d5f555f now world builds are failing with: ERROR: Nothing RPROVIDES 'weston-init' (but openembedded-core/meta/recipes-graphics/wayland/weston_9.0.0.bb RDEPENDS on or otherwise requires it) weston-init was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES) NOTE: Runtime target 'weston-init' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston-init'] ERROR: Nothing RPROVIDES 'weston-dev' (but openembedded-core/meta/recipes-graphics/wayland/weston_9.0.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'weston-dev' NOTE: Runtime target 'weston-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston-dev'] ERROR: Nothing RPROVIDES 'weston' (but openembedded-core/meta/recipes-graphics/wayland/weston_9.0.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'weston' NOTE: Runtime target 'weston' is unbuildable, removing... Missing or unbuildable dependency chain was: ['weston'] (From OE-Core rev: 0a882490fe75915c7a119f3498df6750be25f8e0) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-utils: introduce a recipeAlexander Kanavin2020-11-111-0/+20
| | | | | | | | | | wayland-utils contains wayland-info utility which deprecates and replaces weston-info from weston. (From OE-Core rev: bb8fa9950e716fdcee818a38dc4df3a19b1f3c2f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: fall back to fbdev under x32Alexander Kanavin2020-11-111-0/+3
| | | | | | | | | | Otherwise, there's a crash in swrast - the same issue as with X11. (From OE-Core rev: 09ef3dacc55544143a146190c3d66fcf5dc697ad) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: correctly start under systemdAlexander Kanavin2020-11-111-2/+7
| | | | | | | | | | | | | | | Several issues are addressed: 1. weston requires pam when starting under systemd 2. systemd was attempting to launch weston twice (from sysvinit script and from systemd unit file) which caused confusion and errors. 3. runtime test should stop/start weston via systemd only if systemd actually controls system startup, not merely when systemd is present. (From OE-Core rev: 72dd74c5d384dbe641cc7c02ecf766ff8d5f555f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Fix linking with LTOKhem Raj2020-11-111-0/+2
| | | | | | | | | | | weston uses --no-undefined option during linking which does not work with LTO therefore override it with -z undefs when lto is enabled in distro (From OE-Core rev: c5252fc88938ab3425595dcf31f892ed4aba6bc1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: introduce WESTON_GROUPRichard Leitner2020-11-081-1/+5
| | | | | | | | | | | | | | Currently the WESTON_USER variable is used as user and group name for chown'ing XDG_RUNTIME_DIR. If WESTON_USER has no group with the same name this fails. Therefore add a new WESTON_GROUP variable which is set to WESTON_USER if not specified to ensure backwards compatibility. (From OE-Core rev: 8d4e0ac61671646749a30c72782376307b3e0c82) Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.16.1 -> 1.16.2Alexander Kanavin2020-11-031-1/+1
| | | | | | | (From OE-Core rev: 8a12190d495d3915a06ac5a908712510caad0669) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Allow setting idle time to 0Alistair2020-10-261-0/+8
| | | | | | | | | | Add a PACKAGECONFIG that can be used to set the idle-time to 0. This is useful for always on machine (such as kiosks) and for debugging. (From OE-Core rev: 082902a3e97020f0b02097feb3c2173c64a017bf) Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>