summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/wayland
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* wayland: add ptestAlexander Kanavin2020-02-251-0/+17
| | | | | | | | | | | | | | | | | | | | 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-221-0/+115
| | | | | | | (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-211-0/+39
| | | | | | | | | | 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-213-32/+53
| | | | | | | | | 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>
* wayland: upgrade 1.17.0 -> 1.18.0Denys Dmytriyenko2020-02-142-216/+0
| | | | | | | | | | | | | | | | | | | | | | 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>
* wayland: Fix wayland-scanner build for MinGWJoshua Watt2019-11-142-0/+216
| | | | | | | | | | 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>
* wayland: refresh patchesRoss Burton2018-03-091-2/+1
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 320f03b8492e5259c45e7c59b62571d5a827ee59) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: Fix installation patch issueFabien Lahoudere2017-11-071-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch modify the way we manage wayland path issues. Instead of patching each recipe to make it work with wayland and its protocols, it is better to patch wayland to fix its path issues. So wayland-scanner.pc, wayland-client.pc and wayland-protocols.pc are patched to change paths. Then we can drop the following workaround: WAYLAND_PROTOCOLS_SYSROOT_DIR=${RECIPE_SYSROOT} in: - gtk+3 - libsdl2 - xserver-xorg - gstreamer1.0-plugins-bad - weston-2.0.0 We also dropped libsdl2 patches which fix wayland paths. (From OE-Core rev: 14c0d992152ce27ee616558cafb408ed008d936e) Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade from 1.11.1 to 1.12.0Fathi Boudra2016-11-151-30/+0
| | | | | | | | | | | | | * Remove 0001-scanner-Use-unit32_t-instead-of-uint.patch applied upstream https://cgit.freedesktop.org/wayland/wayland/commit/?id=6750b47d9e0d30 * Update release tarball md5sum/sha256sum (From OE-Core rev: 7812e6e5b0c8f4e0bb289d87f9fa9e0748390edf) Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade from 1.11.0 to 1.11.1Fathi Boudra2016-11-061-1/+1
| | | | | | | | | | Update release tarball md5sum/sha256sum (From OE-Core rev: c2c63b4e8d2614bd6ae8ca3283b5bcdf38afc7a2) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: Upgrade 1.10.0 -> 1.11.0Jussi Kukkonen2016-07-201-0/+30
| | | | | | | | | Add a musl build fix patch. (From OE-Core rev: 9b3d71ef63b5ebcd6540bbb2668478da87ecc911) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade 1.8.1 -> 1.9.0Denys Dmytriyenko2016-01-242-155/+0
| | | | | | | | | | | | | * The license was updated from MIT X11 to MIT Expat. * always-build-scanner.patch was accepted upstream. * disable-macro-checks-not-used-for-scanner.patch is no longer needed with the new --disable-libraries flag. (From OE-Core rev: 696895e39715e9e9da70a85d16fec3b385eec549) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: always build wayland-scannerRoss Burton2015-07-021-0/+105
| | | | | | | | | | | | | | | | By passing --disable-scanner to use a native wayland-scanner binary a target wayland-scanner binary isn't built, which is a problem if you want to use it on the target or in a SDK. Instead, always build a target wayland-scanner binary, and have an option to control whether that binary or a host-provided binary is used at build time. [ YOCTO #7931 ] (From OE-Core rev: 7aeeaf287169d4d7de5349626caa93a3941c2c35) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade to 1.5.0Tim Orling2014-05-272-50/+1
| | | | | | | | | | | | * update disable-macro-checks-not-used-for-scanner.patch = trivial change to non-patched text (+ posix_fallocate) * drop just-scanner.patch, no longer needed (From OE-Core rev: f453259c6710a6b3fb3c542b3921426baf160347) Signed-off-by: Tim Orling <TicoTimo@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-native: disable unused macro checks to fix build issue on Centos5.xTing Liu2014-04-011-0/+50
| | | | | | | | | | | | | | | | | | We only build wayland-native for the scanner, so disable the bits we don't actually need. This avoid build issue on older distro such as Centos 5.x: | error: 'O_CLOEXEC' undeclared (first use in this function) | error: sys/timerfd.h: No such file or directory | error: 'CLOCK_MONOTONIC' undeclared (first use in this function) | error: 'TFD_CLOEXEC' undeclared (first use in this function) | error: 'SFD_CLOEXEC' undeclared (first use in this function) (From OE-Core rev: f6d5343ccb97913a874b894fd7405abad59746eb) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade to 1.4.0Valentin Popa2014-02-171-4/+17
| | | | | | | | | | | (*) tested on qemux86 and genericx86 with core-image-weston and core-image-sato (From OE-Core rev: 46100431a726010645824a84850fd7bef8cc923b) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: only build the scanner in wayland-nativeRoss Burton2013-04-121-0/+36
We only build wayland-native for the scanner, so disable the bits we don't actually need. This gives us a small speed up but importantly should allow wayland-native to compile on older hosts such as CentOS 5 which currently fails. [ YOCTO #4245 ] (From OE-Core rev: bfbe9b6a4fd7a8b5e5827847c2adff894e609e94) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>