summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
Commit message (Collapse)AuthorAgeFilesLines
* wayland-protocols: upgrade 1.16 -> 1.17Anuj Mittal2019-02-081-2/+2
| | | | | | | | | | | For changes, see: https://lists.freedesktop.org/archives/wayland-devel/2018-November/039662.html (From OE-Core rev: 7eeeb59929d28de00d8b5f11c937d7031c22672c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: 1.12.1 -> 1.12.3Ross Burton2018-11-211-2/+2
| | | | | | | (From OE-Core rev: fe627bbff2bf772bc3e7a58262ec1b6431f65222) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.11.3 -> 1.12.1Richard Purdie2018-11-191-2/+2
| | | | | | (From OE-Core rev: 54b58dab8c76279ef7f9d2bd8ec1018dbcdf958b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Split out machine specific configurationMark Hatle2018-10-282-7/+36
| | | | | | | | | | | | | | | Weston needs to be configured to load the fbdev driver when run on a QEMU system. Other MACHINEs may want to also provider their own configuration as well.. Adding a new RRECOMMEND configuration package will allow this, but avoid installing empty packages/files in the majority case where it is not needed. Add maintainer entry as well. (From OE-Core rev: 0f43ea8510ae6148a49eb25accac407b6b301b43) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: update to 1.16Oleksandr Kravchuk2018-09-211-2/+2
| | | | | | | | | | Updated package to v1.16 to match the currently used Wayland version. (From OE-Core rev: bb378dccdf6f2b2ab6a3fe06d11ad56f70741f69) Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: upgrade to 5.0.0Denys Dmytriyenko2018-09-111-3/+3
| | | | | | | | | | License checksum for compositor.c has changed due to extra copyright line and year being updated - the license itself hasn't changed. (From OE-Core rev: eed00380c95eebbd36cf66628ed7ef6e15678f10) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade to 1.16.0Denys Dmytriyenko2018-09-111-2/+2
| | | | | | | (From OE-Core rev: c17a05a962bb6de75dc73235f7689f57222fee79) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.11.2 -> 1.11.3Maxin B. John2018-08-231-2/+2
| | | | | | | (From OE-Core rev: 0f431d315209ef782c759ac0c70eb6562dc9c92c) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: run login before start weston.serviceWang Quanyang2018-08-201-0/+1
| | | | | | | | | | | | | | | | | | | When systemd start the weston.service, the script "weston-start" will check if the dir "XDG_RUNTIME_DIR" (usually is /run/user/0) exits and create it. Then weston will create a socket file "wayland-0" for communications with clients in this dir. If systemd is built with enabling "pam" feature, the login will call "run-user-0.mount" to mount tmpfs at the dir "/run/user/0", then the socket file "wayland-0" will be missing since it is created in the old "/run/user/0". So add "PAMName=login" to let weston.service call login first, once tmpfs is mounted at "/run/user/0", then call weston-start to create a socket file in it. (From OE-Core rev: 3cb303ffee8610d41c9a0745d366556c24066bc3) Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: add dependency on virtual/libgbm for kms PACKAGECONFIGMartin Jansa2018-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | * gbm is checked in configure.ac: AC_ARG_ENABLE(drm-compositor, [ --enable-drm-compositor],, enable_drm_compositor=yes) AM_CONDITIONAL(ENABLE_DRM_COMPOSITOR, test x$enable_drm_compositor = xyes) if test x$enable_drm_compositor = xyes; then AC_DEFINE([BUILD_DRM_COMPOSITOR], [1], [Build the DRM compositor]) PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0]) PKG_CHECK_MODULES(DRM_COMPOSITOR_GBM, [gbm >= 10.2], [AC_DEFINE([HAVE_GBM_FD_IMPORT], 1, [gbm supports dmabuf import])], [AC_MSG_WARN([gbm does not support dmabuf import, will omit that capability])]) fi (From OE-Core rev: 73e9a5fc3234acda561f26cb915f4b636982ad63) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade 1.11.0 -> 1.11.2Ross Burton2018-07-241-3/+3
| | | | | | | (From OE-Core rev: 0af305129d7c482fdc0a0312166ef4b1af8a2405) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.14 -> 1.15Denys Dmytriyenko2018-07-151-2/+2
| | | | | | | | (From OE-Core rev: 064455bc88f50d633f2ffe6a74c439d8a87c4fdc) 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>
* libinput: upgrade to 1.11.0Maxin B. John2018-06-181-2/+2
| | | | | | | | | 1.9.4 -> 1.11.0 (From OE-Core rev: c17869ee01c423a089dfaef8895bb7ffec6a7d74) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: fix upstream release checkingRoss Burton2018-06-153-0/+6
| | | | | | | | | | | | | Wayland has moved to GitLab with the result that /releases/ no longer returns a directory listing, so the upgrade detection doesn't work. The upgrade detection can scan releases.html just as well, so tell it to look there. (From OE-Core rev: 8befb09eb28bb6d8884d2052cd63c2c319eceed1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.13 -> 1.14Denys Dmytriyenko2018-05-291-2/+2
| | | | | | | | (From OE-Core rev: 033ee5f262936925999778263e07801d32e442f5) 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>
* weston: upgrade to 4.0.0Denys Dmytriyenko2018-05-045-142/+56
| | | | | | | | | | | | | | | | | | | | | | | | Official announcement: https://lists.freedesktop.org/archives/wayland-devel/2018-April/037768.html Dropped previously backported fix-missing-header.patch and weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch Refresh remaining local patches. Modify 0001-weston-launch-Provide-a-default-version-that-doesn-t.patch with changes to apply against the new code base. Support for libunwind was dropped in bb707dc0fe331c9af112a0552b7aa6fde755dd83: https://cgit.freedesktop.org/wayland/weston/commit/?id=bb707dc0fe331c9af112a0552b7aa6fde755dd83 Extract major version for referring to libweston-4 helper libraries. (From OE-Core rev: 0cc82a9158f58a37865f3ccc56156c987706f735) 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: upgrade to 1.15.0Denys Dmytriyenko2018-05-041-2/+2
| | | | | | | | | | | | | | | | Official announcement: https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html | libwayland-egl is now part of libwayland, and will presumably be removed | from mesa in the not too distant future. Update mesa recipe by removing corresponding libwayland-egl entries. (From OE-Core rev: 6e5952fcfc13ff4b63c9376bd41a1dbba957f425) 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: refresh patchesRoss Burton2018-03-092-10/+15
| | | | | | | | | | | | | | | | | | | | | 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-protocols: upgrade to 1.13Denys Dmytriyenko2018-02-161-2/+2
| | | | | | | | (From OE-Core rev: 9603f352a7d0c1e262d3bac0d6c137cf370dee15) 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>
* libinput: fix upstream version checkMaxin B. John2018-02-161-0/+1
| | | | | | | | | | Skip RC releases for libinput which follow the pattern: x.x.9xx (From OE-Core rev: b9ee35c9572afe610e0debba52dbd2de984d12fe) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: upgrade to version 1.9.4Maxin B. John2018-02-061-3/+2
| | | | | | | | | | 1.8.4 -> 1.9.4 (From OE-Core rev: fc4c234b8e7ae31d3632e6ec749ea16c59657dcf) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: convert to meson buildAlexander Kanavin2018-01-051-6/+6
| | | | | | | | | | Drop libunwind option, as it is only used if tests are enabled (and they're unconditionally not enabled). (From OE-Core rev: 77119831bebfcb6fbb77f5f71351666dd99483e9) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: remove patch that isn't applied anymoreRoss Burton2017-12-181-29/+0
| | | | | | | | | | This patch was removed from SRC_URI in the Weston 3.0 upgrade (148920f) but the patch wasn't deleted. (From OE-Core rev: f03e43153479bf9c58d7feec9a4c3fa1b7dca57d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: update to 1.12Denys Dmytriyenko2017-12-101-2/+2
| | | | | | | | (From OE-Core rev: 78f848bff2749f26041b950ae4090b5ebbf71ab9) 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>
* libinput: update to 1.8.4Denys Dmytriyenko2017-11-301-2/+2
| | | | | | | | (From OE-Core rev: cf77a7be0209e2121747ba2fbf1622d164fe4c67) 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>
* libinput: update to 1.8.3Alexander Kanavin2017-11-092-42/+3
| | | | | | | | | Drop upstreamed patch. (From OE-Core rev: ba8606db1b8b6d51cf76d4fb0db39780a4a72056) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade to 1.11Denys Dmytriyenko2017-11-082-30/+2
| | | | | | | | | | | usesysrootprefixforpkgdatadirvariable.patch was a backport from 1.11, no longer needed. (From OE-Core rev: d4cb21de07f6f63f5aa703d6dc4f13a1e0d74b44) 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>
* weston: Bump version to 3.0.0Fabien Lahoudere2017-11-073-8/+94
| | | | | | | | | | | | | | Update weston release to 3.0.0. Two patches added: - fix-missing-header.patch: fix a build issue when musl is used as libc. - weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch: fix display issue with YUV420/I420 format, that could result in a crash. (From OE-Core rev: 148920f3971de0f44ac4dd3c85c29983862c5318) Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: Fix installation patch issueFabien Lahoudere2017-11-075-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 : Bump to version 1.14.0Fabien Lahoudere2017-11-071-2/+2
| | | | | | | (From OE-Core rev: 5533c7854c89c76ef10a21be2fb217aaad45f81b) Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: remove obsolete touchpad patchJose Alarcon2017-08-242-73/+0
| | | | | | | | | | This patch was a temporal workaround needed with 4.1 kernels. Remove it. (From OE-Core rev: 9f32d9405ed5430e9e55de2f1562baac963e807c) Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade to 1.10Denys Dmytriyenko2017-08-131-2/+2
| | | | | | | | (From OE-Core rev: 019c582b1af1361c3d983255e93d9aa706e3b62c) 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>
* libinput: Upgrade 1.7.3 -> 1.8.1Jussi Kukkonen2017-08-092-5/+49
| | | | | | | | | | | | | | | | | | | | | | New feature release, see https://lists.freedesktop.org/archives/wayland-devel/2017-June/034286.html for the major features. This is the last major release to support autotools. Configure flag "--enable-event-gui" changed name. Configure flags no longer default to "auto": explicitly disable the things that were previously automatically disabled. Package the binaries into libinput-bin while being careful with packaging as the main package gets renamed to libinput10. Add patch to fix a race in install. (From OE-Core rev: df7f5221a56118da7654476f072c37ae1e75dc50) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade to 1.9Denys Dmytriyenko2017-07-171-2/+2
| | | | | | | | (From OE-Core rev: db5cac904a922e84099e726d05acc6d95eaa32aa) 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-protocols: upgrade to 1.8Denys Dmytriyenko2017-06-281-2/+2
| | | | | | | | (From OE-Core rev: 24a71ad9976a28192fa79ccec2c2e4f1a97c7fff) 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>
* libinput: upgrade to 1.7.3Denys Dmytriyenko2017-06-281-2/+2
| | | | | | | | (From OE-Core rev: 605a306479a00a44698bc23322ddf42d7c99b84c) 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>
* weston: Upgrade 1.11.1 -> 2.0.0, separate libwestonJussi Kukkonen2017-03-016-174/+48
| | | | | | | | | | | | | | | | | * Drop two patches that are upstream. Rebase other patches. * Separate libweston into its own package, modify the recipe as needed because files have changed location. * Remove "--disable-rpi-compositor": the backend does not exist anymore. Libweston is already at version 2 and is likely to have new major versions. The versions should be parallel installable (but weston itself will not be). (From OE-Core rev: 44068f2ba74228b78268efa58ca5f2bc85449f14) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: Upgrade 1.12.0 -> 1.13.0Jussi Kukkonen2017-03-011-2/+2
| | | | | | | (From OE-Core rev: 2111d4d986b44aa2dc44d0de4a5b90c8744f02cc) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-011-4/+2
| | | | | | | (From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: fix LIC_FILES_CHKSUM endline and md5sum for src/compositor.cAndre McCurdy2017-02-231-1/+1
| | | | | | | | | | | | | | | | | The license text in Weston sources was changed from "MIT X11" to "MIT Expat" in the 1.9.0 release. The new text is 3 lines longer than the previous version, so endline and md5 hash have been incorrect for the oe-core weston recipes from 1.9.0 onwards. https://cgit.freedesktop.org/wayland/weston/diff/src/compositor.c?id=a0bbfea64b04d3cf12327d8b488b9949a4cddc99 (From OE-Core rev: 558888275288313d774812d7ab268d9850c82881) (From OE-Core rev: 05fcf1332264a345edce3bae5f65eaf2d0df07b5) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: Upgrade 1.6.0 -> 1.6.1Jussi Kukkonen2017-02-231-2/+2
| | | | | | | | | | | | Small release with mostly bug fixes. (From OE-Core rev: 87e7cb3cd28fb0ebae57620a12c653e6c4e650bb) (From OE-Core rev: dc77835daf26b94ce6d84888e83e1348d31a6a5c) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: Upgrade 1.5.0 -> 1.6.0Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | Bug fixes, new quirks and touchpad acceleration improvements. (From OE-Core rev: b719dc085b1f120a0520611e4df3d3bf2d25a7e9) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Switch to Recipe Specific SysrootsRichard Purdie2017-01-231-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is comparatively large and invasive. It does only do one thing, switching the system to build using recipe specific sysroots and where changes could be isolated from it, that has been done. With the current single sysroot approach, its possible for software to find things which aren't in their dependencies. This leads to a determinism problem and is a growing issue in several of the market segments where OE makes sense. The way to solve this problem for OE is to have seperate sysroots for each recipe and these will only contain the dependencies for that recipe. Its worth noting that this is not task specific sysroots and that OE's dependencies do vary enormously by task. This did result in some implementation challenges. There is nothing stopping the implementation of task specific sysroots at some later point based on this work but that as deemed a bridge too far right now. Implementation details: * Rather than installing the sysroot artefacts into a combined sysroots, they are now placed in TMPDIR/sysroot-components/PACKAGE_ARCH/PN. * WORKDIR/recipe-sysroot and WORKDIR/recipe-sysroot-native are built by hardlinking in files from the sysroot-component trees. These new directories are known as RECIPE_SYSROOT and RECIPE_SYSROOT_NATIVE. * This construction is primarily done by a new do_prepare_recipe_sysroot task which runs before do_configure and consists of a call to the extend_recipe_sysroot function. * Other tasks need things in the sysroot before/after this, e.g. do_patch needs quilt-native and do_package_write_deb needs dpkg-native. The code therefore inspects the dependencies for each task and adds extend_recipe_sysroot as a prefunc if it has populate_sysroot dependencies. * We have to do a search/replace 'fixme' operation on the files installed into the sysroot to change hardcoded paths into the correct ones. We create a fixmepath file in the component directory which lists the files which need this operation. * Some files have "postinstall" commands which need to run against them, e.g. gdk-pixbuf each time a new loader is added. These are handled by adding files in bindir with the name prefixed by "postinst-" and are run in each sysroot as its created if they're present. This did mean most sstate postinstalls have to be rewritten but there shouldn't be many of them. * Since a recipe can have multiple tasks and these tasks can run against each other at the same time we have to have a lock when we perform write operations against the sysroot. We also have to maintain manifests of what we install against a task checksum of the dependency. If the checksum changes, we remove its files and then add the new ones. * The autotools logic for filtering the view of m4 files is no longer needed (and was the model for the way extend_recipe_sysroot works). * For autotools, we used to build a combined m4 macros directory which had both the native and target m4 files. We can no longer do this so we use the target sysroot as the default and add the native sysroot as an extra backup include path. If we don't do this, we'd have to build target pkg-config before we could built anything using pkg-config for example (ditto gettext). Such dependencies would be painful so we haven't required that. * PKDDATA_DIR was moved out the sysroot and works as before using sstate to build a hybrid copy for each machine. The paths therefore changed, the behaviour did not. * The ccache class had to be reworked to function with rss. * The TCBOOTSTRAP sysroot for compiler bootstrap is no longer needed but the -initial data does have to be filtered out from the main recipe sysroots. Putting "-initial" in a normal recipe name therefore remains a bad idea. * The logic in insane needed tweaks to deal with the new path layout, as did the debug source file extraction code in package.bbclass. * The logic in sstate.bbclass had to be rewritten since it previously only performed search and replace on extracted sstate and we now need this to happen even if the compiled path was "correct". This in theory could cause a mild performance issue but since the sysroot data was the main data that needed this and we'd have to do it there regardless with rss, I've opted just to change the way the class for everything. The built output used to build the sstate output is now retained and installed rather than deleted. * The search and replace logic used in sstate objects also seemed weak/incorrect and didn't hold up against testing. This has been rewritten too. There are some assumptions made about paths, we save the 'proper' search and replace operations to fixmepath.cmd but then ignore this. What is here works but is a little hardcoded and an area for future improvement. * In order to work with eSDK we need a way to build something that looks like the old style sysroot. "bitbake build-sysroots" will construct such a sysroot based on everything in the components directory that matches the current MACHINE. It will allow transition of external tools and can built target or native variants or both. It also supports a clean task. I'd suggest not relying on this for anything other than transitional purposes though. To see XXX in that sysroot, you'd have to have built that in a previous bitbake invocation. * pseudo is run out of its components directory. This is fine as its statically linked. * The hacks for wayland to see allarch dependencies in the multilib case are no longer needed and can be dropped. * wic needed more extensive changes to work with rss and the fixes are in a separate commit series * Various oe-selftest tweaks were needed since tests did assume the location to binaries and the combined sysroot in several cases. * Most missing dependencies this work found have been sent out as separate patches as they were found but a few tweaks are still included here. * A late addition is that extend_recipe_sysroot became multilib aware and able to populate multilib sysroots. I had hoped not to have to add that complexity but the meta-environment recipe forced my hand. That implementation can probably be neater but this is on the list of things to cleanup later at this point. In summary, the impact people will likely see after this change: * Recipes may fail with missing dependencies, particularly native tools like gettext-native, glib-2.0-native and libxml2.0-native. Some hosts have these installed and will mask these errors * Any recipe/class using SSTATEPOSTINSTFUNCS will need that code rewriting into a postinst * There was a separate patch series dealing with roots postinst native dependency issues. Any postinst which expects native tools at rootfs time will need to mark that dependency with PACKAGE_WRITE_DEPS. There could well be other issues. This has been tested repeatedly against our autobuilders and oe-selftest and issues found have been fixed. We believe at least OE-Core is in good shape but that doesn't mean we've found all the issues. Also, the logging is a bit chatty at the moment. It does help if something goes wrong and goes to the task logfiles, not the console so I've intentionally left this like that for now. We can turn it down easily enough in due course. (From OE-Core rev: 809746f56df4b91af014bf6a3f28997d6698ac78) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: minor recipe cleanupAndre McCurdy2017-01-161-6/+5
| | | | | | | | | | Reorder lines, no functional changes. (From OE-Core rev: db450e6e472ea0fecef0129abcfc46ee67b20c8e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade from 1.11.1 to 1.12.0Fathi Boudra2016-11-152-33/+2
| | | | | | | | | | | | | * 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-062-3/+3
| | | | | | | | | | 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>
* weston: upgrade from 1.11.0 to 1.11.1Fathi Boudra2016-11-067-79/+131
| | | | | | | | | | | | | | | | | | | | * Refresh patches to apply cleanly without hunk on 1.11.1 (no changes): - 0001-make-error-portable.patch - 0001-configure.ac-Fix-wayland-protocols-path.patch - 0001-shared-include-stdint.h-for-int32_t.patch - 0001-weston-launch-Provide-a-default-version-that-doesn-t.patch * Remove make-weston-launch-exit-for-unrecognized-option.patch applied upstream https://cgit.freedesktop.org/wayland/weston/commit/?h=1.11&id=fc3dd183 * Add 0001-Add-configuration-option-for-no-input-device.patch backported from upstream https://cgit.freedesktop.org/wayland/weston/commit/?id=75b7197f (From OE-Core rev: b6864b13b01f466dcb8602a08f99d6d2a7a3d48b) 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>
* libinput: Upgrade 1.4.1 -> 1.5.0Jussi Kukkonen2016-10-281-2/+2
| | | | | | | | | | | A large part of this release cycle was internal cleanups and improvements to the test suite, only few new features were added. (From OE-Core rev: 46929bafd9751050ec388906dd96924c37be6c1b) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove $COREBASE/LICENSE from LIC_FILES_CHKSUMOlaf Mandel2016-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | Several recipes reference the LICENSE file in their LIC_FILES_CHKSUM variable as ${COREBASE}/LICENSE. This forces distribution providers to keep this file verbatim or to overload the affected recipes. The section "Moving to the Yocto Project 1.6 Release" in the Yocto manual suggests removing the LICENSE file where possible. Remove LICENSE in cases where COPYING.MIT is also given and replace LICENSE with COPYING.MIT if the former was the only entry. All modified recipes specify LICENSE = "MIT" and none of the in-tree files specify a different license either. As the packages do not change (the license files are not contained in them), do not increase PR. (From OE-Core rev: 0059e0661826c857a07c862bcb46162671e0e330) Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libinput: fix udevdirRobert Yang2016-09-241-1/+3
| | | | | | | | | | * Use "pkg-config --variable=udevdir udev" to fix udevdir, otherwise it would use ${libdir}/udev which is incorrect for systemd's udev. (From OE-Core rev: bcd93a4ad1188bb15db00727d5d03548d687a7a3) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>