summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* weston: Fix PACKAGECONFIG for remotingRobert Yang2020-10-261-1/+1
| | | | | | | | | Fix a typo: gstreamer-1.0 -> gstreamer1.0. (From OE-Core rev: d5b030dd9b9ada796f90919c97c887b00612cfc0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Add environment file support for systemd unit fileFabio Berton2020-10-061-0/+1
| | | | | | | | | | | The /etc/default/weston file is already installed and it can be used as systemd EnvironmentFile. (From OE-Core rev: a1390bd294a0f21297ace3f7b4e33912fa9cb63b) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Select drm/fbdev backends for qemu machinesKhem Raj2020-09-143-0/+9
| | | | | | | | | | | qemux86/x86_64/aarch64 supports drm backend well, therefore enable it on these qemu machines, other qemu machines should be defaulting to fbdev, if its not qemu then leave it empty (From OE-Core rev: cfda3e10d5eb1563d10318c1d8ff6287b539ee04) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Do not use fbdev backendKhem Raj2020-09-141-2/+0
| | | | | | | | | This works ok with latest weston/kernel to use drm backend (From OE-Core rev: c696bdc424f1eadaa24dd8c0a8419e38f097f38a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Enable RDP screen shareKhem Raj2020-09-141-2/+2
| | | | | | | (From OE-Core rev: bdca4796ff43e475cd39fe1f1f48b9cfb08a5128) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: plane_add_prop() calls break musl atomic modesettingKhem Raj2020-09-143-8/+26
| | | | | | | | | | This patch ensures, weston/drm backend works which ends up with blank screen on musl based systems (From OE-Core rev: b3a5b64f717b39536c96627ce058cf9c51cf3ba6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Redefine weston service and add socket activation optionKhem Raj2020-09-104-11/+87
| | | | | | | | | | | | | | | | | | | | | | Currently, weston when autolauched with systemd ends up with seat0 related errors because its launched before seat0 is assigned. Fixes [05:16:09.357] logind: failed to get session seat [05:16:09.358] logind: cannot setup systemd-logind helper (-61), using legacy fallback The above error results in ptest failures in parselogs, even though weston has started ok using fallback methods, these errors are still seen in logs Also fixes weston ptests RESULTS - weston.WestonTest.test_weston_can_initialize_new_wayland_compositor: PASSED (8.58s) (From OE-Core rev: c21fa5a291ab207a084285935ab73a0b4225c965) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Marek Vasut <marex@denx.de> Cc: Henning Heinold <henning@itconsulting-heinold.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: upgrade 8.0.0 -> 9.0.0Denys Dmytriyenko2020-09-103-15/+63
| | | | | | | | | | | | | | | | | | | | | | Weston 9.0.0 is released! This release cycle has been pretty quiet, with just a few new features: - A new kiosk shell allows to display regular desktop apps in an always-fullscreen mode - Improved testing infrastructure: the test harness has been redesigned, DRM tests are now supported, DRM and OpenGL tests are now enabled in our CI - DRM panel orientation property support As always, a number of bug fixes are included as well. https://lists.freedesktop.org/archives/wayland-devel/2020-September/041595.html Add a patch to fix building of tests/weston-test-fixture-compositor.c on musl. (From OE-Core rev: 3a638fbd81c365d7383ce91d7acb832c46acfb4c) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.16.0 -> 1.16.1Alexander Kanavin2020-08-251-2/+1
| | | | | | | (From OE-Core rev: 86bef5ac2097afd55c54c5852a0502cdb133d39f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: add missing packageconfigsGuillaume Champagne2020-08-201-2/+18
| | | | | | | | | | | | | | | Add missing package configs to: - Select shell integration - Disable screen sharing module (independent from backend) - Disable jpeg image support `PACKAGECONFIG` default value is updated to enable these configs, since they were previously implicitly enabled. (From OE-Core rev: f883413b2bc6e7d0bd44ce8324cd36a8fe918e5f) Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: Upgrade 1.15.6 -> 1.16.0zangrc2020-08-081-2/+2
| | | | | | | (From OE-Core rev: c862f628a5be1d8a95ad2e82672553ef0c1eda49) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.15.5 -> 1.15.6Andreas Müller2020-06-241-2/+2
| | | | | | | (From OE-Core rev: aff48592ac904fe899f48cdae385505395a04674) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: fix condition for strndup detectionKhem Raj2020-05-141-6/+1
| | | | | | | | | current check does not work with gcc10 (From OE-Core rev: ce6c50ea68c34e02b487d54fdd9288e04833cdef) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: update 1.15.2 -> 1.15.5Alexander Kanavin2020-05-071-2/+2
| | | | | | | (From OE-Core rev: 3edce2872445b74825c8e3caa3df565f20dd090c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: add ptestAlexander Kanavin2020-05-072-3/+22
| | | | | | | | | The test takes about 17 minutes, and fully passes. (From OE-Core rev: adc4dbb748c01b731035a759de7cd798d7860d0c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Launch weston with WESTON_DISABLE_ATOMIC on musl/x86Khem Raj2020-03-132-2/+12
| | | | | | | | | | | | | | | | | | | Since we enabled drm/kms backend for qemux86, it does not work with musl fdbdev worked ok, we see this error [18:58:45.628] launching '/usr/libexec/weston-desktop-shell' [18:58:45.737] atomic: couldn't commit new state: Invalid argument [18:58:45.737] repaint-flush failed: Invalid argument There seems to be some problem with atomics in libdrm, until that gets diagnosed, simple solution is to not use it on musl when drm backend is used thats why WESTON_DISABLE_ATOMIC=Y is set in environment file for such cases (From OE-Core rev: e571ef707d76cf3aceb0d56fd588b37f9b5092ff) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Allow use of weston without input devicesDomarys Correa2020-03-121-1/+2
| | | | | | | | | | | | Don't force users to have input device in your targets. As the default option require-input is set to true, Weston only starts if we have a device in /dev/input/event* and this not a requirement for all applications, e.g. kiosk browser. (From OE-Core rev: 43f40613ecedb8c3a9e3aaac0630464efc7525e3) Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.18 -> 1.20Denys Dmytriyenko2020-03-021-2/+2
| | | | | | | | | | | | | | | wayland-protocols 1.20 is now available. This release is a brown paper bag release adding the missing README.md, GOVERNANCE.md and MEMBERS.md files to the tarball. Distributions that distribute one or more of these files should ignore the 1.19 release and move directly to 1.20. https://lists.freedesktop.org/archives/wayland-devel/2020-February/041269.html (From OE-Core rev: 7bd664600cce0fba4e256c690078ef69e39be299) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: PACKAGECONFIG clients requires waylandRobert Yang2020-02-281-2/+2
| | | | | | | | | | | | | | | | | Fixed: DISTRO_FEATURES_remove = "wayland" $ bitbake weston clients/meson.build:141:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires option renderer-gl which is not enabled. If you rather not build this, drop "dmabuf-egl" from simple-clients option. WARNING: exit code 1 from a shell command. (From OE-Core rev: 9b1d30810eeecb46b977c8eed68be69aef891312) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: update 1.14.3 -> 1.15.2Alexander Kanavin2020-02-252-390/+4
| | | | | | | (From OE-Core rev: 4abb2f270ba61e99993e53d292bcf5310a59dc19) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: add ptestAlexander Kanavin2020-02-252-1/+30
| | | | | | | | | | | | | | | | | | | | Sadly, meson makes it very difficult to install tests: the test configuration is written into host-specific binary files, which can't be transferred to the target. (unlike autotools where at least everything happens via Makefiles which can be patched and tweaked via sed and env vars) So the configuration has to be entirely recreated in shell. I managed this for wayland, but weston proved too difficult. I had filed bugs asking upstream to make the tests installable: https://gitlab.freedesktop.org/wayland/wayland/issues/146 https://gitlab.freedesktop.org/wayland/weston/issues/368 (From OE-Core rev: 296ee10bb8491278f050fb9d55f42b0bcf663382) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: add a patch to address build errors due to incorrect depsAlexander Kanavin2020-02-222-0/+116
| | | | | | | (From OE-Core rev: fb1f1a1e6461b5d3c51fbae0b893debb88bfa8d5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: Fix strndup detection on MinGWJoshua Watt2020-02-212-0/+40
| | | | | | | | | | Applies a patch to fix strndup being detected as present incorrectly when building for MinGW. (From OE-Core rev: ffa91ff19f73c3ed4060a6ecd3b6da7f46732cb3) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: convert to meson buildAlexander Kanavin2020-02-214-37/+59
| | | | | | | | | Replace an autotools-specific .pc adjustment patch with a meson-specific one. (From OE-Core rev: 88494d118b8ae85b3946df716cfa242a1858f270) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: use the drm/kms backend rather than fbdev one for qemux86 machinesAlexander Kanavin2020-02-212-0/+0
| | | | | | | | | | | | | | | | | | | | | The fbdev backend is not documented, and not the default; as the emulated hardware in qemu now supports DRM/KMS (both std and virtio), we should align with upstream default and vast majority of users. Empty init file will cause weston to default to the KMS backend. Note that 3D acceleration via virgl is not required; the backend renders fine via the software driver in mesa. However, kvm is more or less required to keep the UI responsive. Also, other qemu targets (mips and arm in particular) continue to use the fbdev backend, as in the absence of kvm, the performance of software GL paths falls to unacceptable level. (From OE-Core rev: 1bddd7ac64bc0a863dec38bf4d9671f9f1a51b03) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtdev: upgrade 1.1.5 -> 1.1.6Pierre-Jean Texier via Openembedded-core2020-02-142-82/+3
| | | | | | | | | Also remove patch which have been merged upstream (From OE-Core rev: c48e2f4e93a5aae1c4dec1511297c88f494bcc5d) Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade 1.17.0 -> 1.18.0Denys Dmytriyenko2020-02-143-221/+3
| | | | | | | | | | | | | | | | | | | | | | This is the official release for Wayland 1.18. The main new features in this release are: - Add support for the Meson build system (autotools is still supported but will be removed in a future release) - Add API to tag proxy objects to allow applications and toolkits to share the same Wayland connection - Track wayland-server timers in user-space to prevent creating too many FDs - Add wl_global_remove, a new function to mitigate race conditions with globals https://lists.freedesktop.org/archives/wayland-devel/2020-February/041207.html 2 upstreamed patches are dropped. (From OE-Core rev: c127e7ac7c6da11417a599384002fd7c1420c7c2) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: Fix determinism issueRichard Purdie2020-02-082-0/+22
| | | | | | | | | The build was injection git information from the wrong git tree, stop this to allow reproducible builds. (From OE-Core rev: c3f6a6113f562ecdb13386c3ff52adb7973980a4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: upgrade 7.0.0 -> 8.0.0Denys Dmytriyenko2020-01-282-18/+17
| | | | | | | | | | | | | | | | | | Here are some highlights: - DRM hardware planes should be used more effectively - The DRM backend now supports HDCP - Headless backend now supports OpenGL - DRM backend can now be built without GBM - EGL_KHR_partial_update is now used when available, reducing memory bandwidth usage on some GPUs - Logging framework improvements - Documentation for weston can now be built https://lists.freedesktop.org/archives/wayland-devel/2020-January/041147.html (From OE-Core rev: 1aa123f176f166e8eeaa09dc9b9fda206a92ae87) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: Let weston run without pam on distros without pamKhem Raj2020-01-113-30/+6
| | | | | | | | | | | | | | | | | When pam is not part of distro, user specific XDG_* environment variables are not available since PAMName=login is in-effective and as a result weston can not start because it direly needs XDG_RUNTIME_DIR defined, therefore launching weston directly in systemd service will not work, therefore call the helper script weston-start, which is also used with sysvinit extend enabling fbdev backend fallback to all qemu machines Reported-by: Marek Vasut <marex@denx.de> (From OE-Core rev: ae66cf5e03f04361aad2bd8784fb7d42e0f0bb08) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: Add PACKAGECONFIG for dtd-validationJoshua Watt2019-12-091-1/+4
| | | | | | | | | | Adds the option to disable DTD validation when building wayland-scanner, which makes libxml2 optional. (From OE-Core rev: d821415ab09248a894d58f6e5a5749e822d30939) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: Fix build when using 64bit time_t on 32bit machinesKhem Raj2019-11-272-1/+389
| | | | | | | (From OE-Core rev: 49cf09110e18204f8ee47efbdc22d7eb346ea9d1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtdev: Fix build when using 64bit time_t on 32bit machinesKhem Raj2019-11-272-1/+80
| | | | | | | (From OE-Core rev: 274c89a14214fd00ec8babffc6b223f41cdeba84) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, ↵Denys Dmytriyenko2019-11-212-2/+2
| | | | | | | | | | | | | | | | rename Besides checking DISTRO_FEATURES for required or conflicting features, being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also be useful at times. Temporarily support the old class name with a warning about future deprecation. (From OE-Core rev: 5f4875b950ce199e91f99c8e945a0c709166dc14) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: Fix wayland-scanner build for MinGWJoshua Watt2019-11-143-0/+218
| | | | | | | | | | Applies 2 patches to fix the wayland-scanner build for MinGW (e.g. nativesdk-wayland) (From OE-Core rev: 1dafcd8c699fa77564bd42ab5597ed640a4853e4) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>