summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* mesa-demos: add glut dependencyTrevor Woerner2017-04-191-1/+1
| | | | | | | | | | | | | | | If the user wants to enable the 'glut' PACKAGECONFIG for mesa-demos, freeglut is required to provide the dependency before the demos can be compiled. NOTE! this is a cross-layer dependency (freeglut is currently only available in meta-oe). However 'glut' is not a default PACKAGECONFIG (so this is allowed). (From OE-Core rev: cbf1708cf8d9fb8ace5520c9b6fec46c5fc9e9c8) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libjpeg-turbo: don't depend on NASM for non-x86 targetsRoss Burton2017-04-051-3/+7
| | | | | | | | | | | | | | | | | | | | | NASM is a x86-specific assembler so it is only required when building for x86 targets. Use x86-architecture and class-target overrides to depend on NASM, but explicitly disable and don't depend on it for native as complications in the native overrides meant NASM was enabled for x86-64 but disabled for x86 (this will be investigated later). Original patch by Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>, more work to solve selftest failures by Richard Purdie <richard.purdie@linuxfoundation.org>. I just wrote a nice commit message. Also fix some missing whitespace in _appends. [ YOCTO #11240 ] (From OE-Core rev: 3b1871b7c6df66d3bf3453668f46566b8af3e6d9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* liberation-fonts: replace fedorahosted.org SRC_URI with pagure.io sourceChoong YinThong2017-04-051-2/+2
| | | | | | | | | | | | | | fedorahosted.org was retired on March 1st, 2017. This is to update the SRC_URI to point to pagure.io. pagure.io is a replacement for fedorahosted. [YOCTO #11226] (From OE-Core rev: 441ad240db4ce64d854e263e14dc6a1752aed956) Signed-off-by: Choong YinThong <yin.thong.choong@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add Etnaviv and i.MX Gallium backend PACKAGECONFIG optionsOtavio Salvador2017-03-271-1/+5
| | | | | | | | | | The MESA 17.0 has Etnaviv and i.MX support. Expose them in PACKAGECONFIG for use. (From OE-Core rev: b77c0355e272e9e7a7ab625eef27a8717225b132) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Update to 17.0.2Otavio Salvador2017-03-272-2/+3
| | | | | | | | | | | | | | | | | | | This is a bugfix only release. ,---- | Bug fixes | | Bug 68504 - 9.2-rc1 workaround for clover build failure on ppc/altivec: cannot convert 'bool' to '__vector(4) __bool int' in return | Bug 97988 - [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API | Bug 99484 - Crusader Kings 2 - Loading bars, siege bars, morale bars, etc. do not render correctly | Bug 99715 - Don't print: "Note: Buggy applications may crash, if they do please report to vendor" | Bug 100049 - "ralloc: Make sure ralloc() allocations match malloc()'s alignment." causes seg fault in 32bit build `---- (From OE-Core rev: 7559db30e161851ea944763ee4c1adb17ef6a797) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm-init: option to remove cursorTrevor Woerner2017-03-272-1/+4
| | | | | | | | | | | Add a PACKAGECONFIG option to allow the user to disable the mouse cursor/pointer in the X server. This might be useful where a touchscreen is used. (From OE-Core rev: 680940250c9a1c7b43229c5e4f4fed5cc3e31033) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xf86-config: Remove X server module preloadKhem Raj2017-03-172-18/+0
| | | | | | | | | | This was a solution needed for musl but now musl has got lazy loading. (From OE-Core rev: 6ea72c6bd0aeaed694d58d68ede4de70d96b7e4b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-gl: Drop MESA_CRYPTO from PACKAGECONFIGKhem Raj2017-03-171-1/+1
| | | | | | | | | with mesa 17 crypto packageconfig has been removed (From OE-Core rev: 7df24c84999048f863428f4e442922e60ce776a5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Contain configure search for llvmKhem Raj2017-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Configure has an unbridled check for llvm and when distro provided llvm is installed on build host it will use that from /usr/bin to poke for llvm libs and configs. This would result in a subtle errors however do_qa_configure catches it as a host include/lib contamination during configure checks ERROR: mesa-gl-2_17.0.1-r0 do_configure: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. This is correct because when configure detects build host provided llvm then it add the include/lib paths to compiler cmdline which are looking into /usr/include and /usr/lib (From OE-Core rev: df53927b9c07bc45ce8a756217c07ce306ed5bbe) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-input-mouse: Remove unused patchJussi Kukkonen2017-03-161-21/+0
| | | | | | | | | The patch has not been used since the ancient git version was removed. (From OE-Core rev: 292f519dad5ed9e4389f2a3ad2307c168328a038) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan: Add recipe for Vulkan common loaderJussi Kukkonen2017-03-103-0/+174
| | | | | | | | | | | | | | | | | | Add a recipe for vulkan loader library and the vulkaninfo binary. Vulkan can be built to support X11 or wayland or both. There is currently no support for building tests, validation layers or even the demos as that would require a bunch of otherwise unnecessary dependencies. Fix the build on musl by defaulting to getenv() if secure_getenv() is not available. (From OE-Core rev: ce0acee244cdae287fa0d3b048d371627a69a030) 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>
* mesa: Enable vulkan driver for intelJussi Kukkonen2017-03-101-2/+7
| | | | | | | | | | | | PACKAGECONFIG "vulkan" enables building libvulkan_intel.so. The radeon driver can be added to recipe as well but it requires llvm so recent that I couldn't test it. (From OE-Core rev: 33c8918d41dda8218fd28d667182d71029ab22d5) 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>
* mesa: Upgrade 17.0.0 -> 17.0.1Jussi Kukkonen2017-03-082-2/+2
| | | | | | | | | | | | This is a bug fix release and first non-development release in 17.0 branch. There are ~50 bug fix commits (plus a few release script commits). (From OE-Core rev: 465a6b49b680e1fedb059e97eb682cf5814cf078) 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>
* mesa: Upgrade 13.0.4 -> 17.0.0Jussi Kukkonen2017-03-043-14/+4
| | | | | | | | | | | | | | | | | | | | 17.0.0 is considered a development release: 17.0.1 is expected to be the first stable in this series. Typically the .1 release comes about two weeks after .0. * New feature release with lots of changes * Versioning change (17 as in 2017, no longer relates to GL bumps) * OpenGL 4.5 support on Haswell * mesa now implements its own sha1 instead of having 5 configurable sha-providers * Remove libxvmcsoftpipe packaging, the library hasn't existed since 2013 (From OE-Core rev: be95558834eed0564ec00c65ac8067c7c65006c5) 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>
* 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>
* libva: fix upstream version checkAlexander Kanavin2017-03-011-0/+1
| | | | | | | | (From OE-Core rev: 41b8c42a9089ccfbb7a53ff7ea80a282d19fea07) 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>
* libepoxy: fix upstream version checkAlexander Kanavin2017-03-011-0/+1
| | | | | | | | (From OE-Core rev: e5c5db953ad29d33a9916ceccb5da7851d67ea11) 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>
* xf86-video-intel: Upgrade to recent git revisionJussi Kukkonen2017-03-011-1/+1
| | | | | | | | | | | | | | This includes a number of small fixes and some new PCI IDs, no major changes. For background, xf86-video-intel does not get releases so we have to follow git. (From OE-Core rev: 7dd5a74df4b19c30456f4e7e844856c5e9cbaa7f) 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>
* menu-cache: Upgrade 1.0.1 -> 1.0.2Jussi Kukkonen2017-03-011-2/+2
| | | | | | | | | | Small bug fix release. (From OE-Core rev: ee1beb8c321b5aa9a26e7b5a9df9ceed83ca9056) 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>
* libdrm: Upgrade 2.4.74 -> 2.4.75Jussi Kukkonen2017-03-012-12/+22
| | | | | | | | | | | * Remove udev from depends (it's not actually used). * Rebase a patch (From OE-Core rev: a6ab6e6157e8045155639682881de4184e72704a) 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>
* recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-0120-35/+25
| | | | | | | (From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libva: Find the correct wayland-scannerJussi Kukkonen2017-02-233-2/+380
| | | | | | | | | | | | * Add a patch to make sure wayland-scanner from native sysroot is used * Depend on wayland-native to get the scanner into the sysroot * Add a patch to make sure the scanner really is used (From OE-Core rev: 65cfc8aca3ff7e39453977a0215a350d13cb85ef) 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>
* 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>
* piglit: Upgrade to current masterJussi Kukkonen2017-02-233-101/+4
| | | | | | | | | | | | | | | Remove backported patches. Add runtime dependency for netserver (as socketserver was recently moved there) and depend on libxkbcommon (this is really only needed for wayland support which could be made configurable). (From OE-Core rev: 5a3fa55f397bb89f75fb714b1d93aa76125cc09a) (From OE-Core rev: 87f10ec9ed63794ffd216c752cf14fd68d009d46) 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.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>
* xkeyboard-config: Upgrade 2.19 -> 2.20Jussi Kukkonen2017-02-231-2/+2
| | | | | | | | | | | | Layout updates from the last 16 months. (From OE-Core rev: 22ae7375bb03531349060f11a4f2bfc99d851e52) (From OE-Core rev: 452160980af60807c8ed51eabd291b4bf3ce8348) 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>
* xf86-input-libinput: Upgrade 0.23.0 -> 0.24.0Jussi Kukkonen2017-02-231-2/+2
| | | | | | | | | | | | Small release with mostly tablet improvements. (From OE-Core rev: 15b0f0421b9f0b23ccbcdd18428eff100c622b91) (From OE-Core rev: ac4cd6757479f6f92a7ada96f275d71e924c4d92) 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>
* xauth: Upgrade 1.0.9 -> 1.0.10Jussi Kukkonen2017-02-231-2/+2
| | | | | | | | | | | | Small bug fix release. (From OE-Core rev: 62ffef15d288f566e6bd93b1af4bd5ab6c6ea8b1) (From OE-Core rev: 0d8980e3ea4e61145875b08d7d2acba3df0816ba) 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>
* presentproto: Upgrade 1.0 -> 1.1Jussi Kukkonen2017-02-231-4/+2
| | | | | | | | | | | | Small release with mostly build system fixes. (From OE-Core rev: 638af9cff97cf3ead79226b616e29f9135cbf53d) (From OE-Core rev: 549669a7bace51fd9e44b4629cb4ce7c65e98ffe) 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>
* util-macros: Upgrade 1.19.0 -> 1.19.1Jussi Kukkonen2017-02-231-2/+2
| | | | | | | | | | | | Tiny release to fix build with new xmlto. (From OE-Core rev: ef523527b68eef0ce1fdacac87b4eee27677589b) (From OE-Core rev: 8a52a4a64727f573fa11951ee0d387cc977a8b25) 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>
* libepoxy: upgrade to 1.4.0Ross Burton2017-02-154-202/+4
| | | | | | | | | | | | | | Drop the two patches that add the ability to disable GLX, this has been added upstream. Drop the Python3 patch as the code generator works with Py3 now. (From OE-Core rev: 8ba197b3ae10a90ca988f0021597dfd20463c2d2) (From OE-Core rev: 0066327d79b2ea942c414208a3daa0ecf4361730) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libva: Update to new 01.org github locationSaul Wold2017-02-151-5/+6
| | | | | | | | | | | Upstream has moved to use 01.org and github, Update the various URIs that track info. S needs to be changed to WORKDIR/git as we are now a git repo. (From OE-Core rev: 9f80b36a74d4eb407f9fc4d3afc056c41241cbc6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl/fontconfig/bzip2: Use relative symlinks instead of absolute ones ↵Richard Purdie2017-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | (using a new class) Absolute path symlinks are a bit of a pain for sstate and the native versions of these recipes currently contain broken symlinks as a result. There are only a small number of problematic recipes, at least in OE-Core, namely the three here. Rather than trying to make sstate handle this magically, which turns out to be a harder problem than you'd first realise, simply make the symlinks relative early in the process and avoid all the problems. The alternative is adding new complexity to sstate which we could really do without as without the complexity, you can't always tell where the absolute symlink is relative to (due to prefixes used for native sstate). (From OE-Core rev: e478550c8cd889f12e336e268e9e3b30827bf840) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pong-clock: Add missing 'inherit pkgconfig'Jussi Kukkonen2017-02-071-1/+1
| | | | | | | | | The usage of pkg-config is sneakily hidden in do_compile() (From OE-Core rev: b55186f93163e120c73bacb7400b94c21cfaa675) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: Fix X server 1.19 crashTom Hochstein2017-02-052-0/+48
| | | | | | | | | | | | | | | | Commit 6a5a4e60373c1386b311b2a8bb666c32d68a9d99 removes the configure of useSIGIO option: xfree86 SIGIO support is reworked to use internal versions of OsBlockSIGIO and OsReleaseSIGIO The check for useSIGIO is no longer needed. (From OE-Core rev: 5ed1bc5b4dadc74f1db52179238fbbd145a59043) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update to 13.0.4Nicolas Dechesne2017-02-052-2/+2
| | | | | | | | | | | | | Bug fixes release. This is really needed for Qualcomm based h/w since freedreno driver had a regression in 13.0.x branch which is fixed in 13.0.4. (From OE-Core rev: bc4804dccb268831e2fdffb21c15d6d78a2a06d3) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: fix 16bit modesAndreas Müller2017-02-052-0/+47
| | | | | | | | | | Discovered on beaglebone black (From OE-Core rev: 21fcb42d97e90eb76283b69ab876729f4cee7ad7) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: Enable glamor by defaultSaul Wold2017-01-311-1/+2
| | | | | | | | | | To enable glamor, we need to also enable both dri3 and xshmfence as dependencies. (From OE-Core rev: 33864ddc1ca5326e0b2bb7443410069a8cd9f57b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xf86-config: add glamoreglSaul Wold2017-01-311-0/+1
| | | | | | | | | | | When using the modesetting with glamor and MUSL, the glamoregl library needs to be pre-loaded, so add it to the list here. (From OE-Core rev: 95701f1491e50e894a7c5f2543137c3bda1877b9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: Upgrade 1.19.0 -> 1.19.1Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | Point release with bug fixes. (From OE-Core rev: a99cca0e8ee15f7b542986d89b70054ac7cb24be) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-input-evdev: Upgrade 2.10.4 -> 2.10.5Jussi Kukkonen2017-01-261-2/+3
| | | | | | | | | Small release with bug fixes and config improvements. (From OE-Core rev: 8fcffd2ac817a44dc60f915977d498b944d4c74e) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxpm: Upgrade 3.5.11 -> 3.5.12Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | Tiny bug fix release. (From OE-Core rev: e97f6c10fe18683406157d3c2193b833a53e9f7d) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxkbcommon: Upgrade 0.7.0 -> 0.7.1Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | Small release with bug fixes. (From OE-Core rev: 043f0b03a4993a97b68128ce4a4666d33cf8f2be) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxi: Upgrade 1.7.8 -> 1.7.9Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | Tiny bug fix release. (From OE-Core rev: c6cbc8fdd39b062f42372c75813b634b86bbe6c4) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@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>
* freetype: Upgrade 2.7.0 -> 2.7.1Jussi Kukkonen2017-01-261-2/+2
| | | | | | | | | | Bug fixes and some new features: support for Adobe CFF2 font format and OpenType 1.8 variation fonts. (From OE-Core rev: 1f99a31609be7028444075b176e752a44c93115c) 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-233-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* cantarell-fonts: inherit pkgconfigJussi Kukkonen2017-01-201-1/+1
| | | | | | | | | configure fails without pkg-config. (From OE-Core rev: 3a2c08f77f0b477414ac8f6e4df93ee0df3afec2) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg-font-common: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen2017-01-201-1/+2
| | | | | | | | | mkfontdir and mkfontscale are used in the postinstall script. (From OE-Core rev: 7b2ab076386a6a8e92a90c0c804647feca61dd40) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>