summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Support building without openglJussi Kukkonen2017-08-301-7/+16
| | | | | | | | | | | | | | | | | mesa can build certain things without opengl: most importantly vulkan drivers. Add comments on the dependencies between the packageconfigs. Also add a few dependencies to packageconfigs. Modify default packageconfig to do the reasonable thing based on distro features. Add a backported patch to fix the build with --disable-opengl. Fix do_install_append() so it works even if dri drivers are not built. (From OE-Core rev: 48d39cf43b59c96d4deca783ec66686f5c8cd3e7) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build with vulkan on non-x86Jussi Kukkonen2017-08-161-1/+4
| | | | | | | | | | | | | The intel vulkan driver requires libdrm-intel: Only enable it when building for x86 or x86-64 similar to DRI drivers. Building on non-x86* with vulkan leads to "--with-vulkan-drivers= ": this is interpreted correctly by the build system. (From OE-Core rev: 8e50f002823772a989f0f39b0ecb8a84517c94f5) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa, llvm: Use native version of llvm-configKhem Raj2017-08-091-2/+2
| | | | | | | | | | | | We have a variable YOCTO_ALTERNATE_EXE_PATH to point to target sysroot, utilize this in mesa to use native version of llvm-config to report values from target sysroot. (From OE-Core rev: 1c4444f7b2f5cbcaaf6f9d21d7b4f86555ed746a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Depend on llvm-nativeKhem Raj2017-08-091-1/+1
| | | | | | | | | | We need to get llvm-config tool staged which is provided by llvm-native (From OE-Core rev: 0aadad61bf740bb9a1859381790ecc0f37490c34) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Use chrpath to delete rpathsKhem Raj2017-08-091-3/+4
| | | | | | | | | | | | It adds native sysroot chrpath due to llvm-config in cross compiling we can delete them via chrpath, since libs are in standard paths rpath is really not needed (From OE-Core rev: 1882726f61216c1a490370456c2e68efc3862052) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build when building with llvmpipeKhem Raj2017-07-311-2/+5
| | | | | | | | | | | | | | | | | | | | | Add following in mesa.inc to enable llvmpipe PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600" PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600" This would enable llvmpipe for swrast, to check run this root@qemux86:~# glxinfo | grep llvm Device: llvmpipe (LLVM 5.0, 128 bits) (0xffffffff) OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 5.0, 128 bits) Backport patches to support llvm 5.0.0+ Add a patch to understand llvm version when llvm is build from git/svn (From OE-Core rev: da29bc17e4dd748f50b054c5e3afaf8d41bf4077) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Split --with-platforms from egl PACKAGECONFIGJussi Kukkonen2017-07-111-5/+7
| | | | | | | | | | | | | | | Mesa platforms no longer depend directly on egl. Current implementation breaks without egl with x11 (which can happen with mesa-gl). Separate the platform selection. Make drm platform depend on gbm PACKAGECONFIG by default. (From OE-Core rev: 622d683273bab66f0b4dd385d083bff9fb7bb1de) 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, gstreamer: Add "vulkan" DISTRO_FEATUREJussi Kukkonen2017-07-081-1/+2
| | | | | | | | | | It doesn't do much but does make enabling vulkan a little less fiddly. (From OE-Core rev: a5ed54e5253006ce3a5a74c1243c949a42642ff7) 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: Avoid platform probing when building without EGLOtavio Salvador2017-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 17.1.2 release has changed the platform setting and when not explicitly disabled it assumes x11 support. Fixes: | checking for x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes... no | configure: error: Package requirements (x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes) were not met: | | No package 'x11-xcb' found | No package 'xcb' found | No package 'xcb-dri2' found | No package 'xcb-xfixes' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables XCB_DRI2_CFLAGS | and XCB_DRI2_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. The issue has been exposed by meta-freescale BSP. Fix tested with imx6qsabresd machine. (From OE-Core rev: 49c3dad38134857b31152bf76ebf2cd78c8a53c8) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa.inc: replace deprecated configure optionsTrevor Woerner2017-06-281-2/+2
| | | | | | | | | | | --with-egl-platforms -> --with-platforms --enable-gallium-llvm -> --enable-llvm (From OE-Core rev: c284099530e3d2f37ea0cfc96a04cbba22e50783) 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>
* mesa.inc: enable texture float for galliumTrevor Woerner2017-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Following the lead from Fedora (as suggested by Rob Clark) always enable --enable-texture-float for all gallium drivers, but then modify the code to not enable it, at runtime, where the implementation isn't backed by hardware. The patch comes from unpacking fedora-25's mesa-17.0.5-3.fc25.src.rpm from https://dl.fedoraproject.org/pub/fedora/linux/updates/25/SRPMS/m/ Somewhere along the path from OpenGL ES 2.0 to OpenGL ES 3.0 are some algorithms that are encumbered by patents. These algorithms are enabled with mesa's --enable-texture-float configure flag. However, if hardware acceleration is being used and the hardware supports --enable-texture-float, it means the hardware vendor has paid for the patents. Note that with this solution, non-hardware gallium drivers (e.g. swrast) can't --enable-texture-float, which might cause issues with some piglit tests. This solution was discussed and agreed-to on the mailing list: http://lists.openembedded.org/pipermail/openembedded-core/2017-May/137233.html (From OE-Core rev: 6fd63e24a1c6ac901edb393c9db8e245189a83e2) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add define to indicate missing 64bit atomics on armv5Khem Raj2017-06-091-0/+2
| | | | | | | | | | | | | | | | This is wrongly detected by configure since it only checks for __sync_add_and_fetch and not __atomic_fetch_add, it decides to let compiler emit references to atomic functions which it expects to be provided by libgcc, but thats not the case for armv5 arch [YOCTO #11616] (From OE-Core rev: 6866ad53c5d49781002470195b4aae1ad1afde5c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade to 17.1.1Nicolas Dechesne2017-06-031-2/+4
| | | | | | | | | | | | | | * Costmetic changes in license.html file required new MD5 hash * Add PACKAGECONFIG option for libunwind support (new feature, disable by default) * Rebased 0001-Use-wayland-scanner-in-the-path.patch * Added zlib in DEPENDS, otherwise mesa no longer builds. * Added 0001-util-rand_xor-add-missing-include-statements.patch, sent upstream (From OE-Core rev: fa08267f1399904fed079277bc86ac1aa26c06dc) 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>
* mesa: drop pythonnative inheritAlexander Kanavin2017-05-161-1/+1
| | | | | | | | | | Mesa is perfectly capable of using host python nowadays. (From OE-Core rev: 0ae97611bbd0d23f689a9ea4ff5c18fe6fc396fb) 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>
* 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: 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>
* 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 13.0.4 -> 17.0.0Jussi Kukkonen2017-03-041-10/+1
| | | | | | | | | | | | | | | | | | | | 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>
* recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-011-2/+1
| | | | | | | (From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove True option to getVar callsJoshua Lock2016-12-161-3/+3
| | | | | | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) (From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: make sure GLES3 headers are installedSamuli Piippo2016-11-301-0/+3
| | | | | | | | | | | | Since there is no libgles3-mesa package that would pull in the headers, add dependency to libgles2-mesa-dev. Now there no need to manually add GLES3 headers to image or toolchain. (From OE-Core rev: a93bbfa096cd7de8e935c6c2d2ad98d72a1c297f) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 12.0.3 -> 13.0.1Jussi Kukkonen2016-11-231-2/+5
| | | | | | | | | | | | | | | | New major release with OpenGL 4.4 support. Dependency on libudev has been removed. * Rebase replace_glibc_check_with_linux.patch * Add patch to find native wayland-scanner * Add PACKAGECONFIG[osmesa], disabled by default * package osmesa header correctly (From OE-Core rev: be60ffcbbdcd370f9d367db887d31a8ccc6b2519) 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 11.2.2 -> 12.0.1Jussi Kukkonen2016-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | Massive mesa upgrade (OpenGL 4.3, GLVND support, vulkan driver for intel etc), although many new things are disabled by default. License file change does not change the actual licenses. piglit results (with piglit update on ML) on an old NUC with Intel HD5000 for reference: pass: 33972 fail: 306 crash: 2 skip: 30857 warn: 7 total: 65144 (From OE-Core rev: 6da724dc9cb72e77aa8b1613c3ad71fefc81903f) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix mesa_populate_packages() when dri is disabledHerve Jourdain2016-05-201-10/+11
| | | | | | | | | | | | | | | When compiling mesa, if dri is disabled in PACKAGECONFIG, or if the list of DRI drivers is empty, it will cause populate_package to fail, because it can't find - rightfully - the directory for the DRI drivers. This patch checks that the directory indeed exists before trying to get a list of the files in it [ use oe.path.join instead of + - RB ] (From OE-Core rev: 7e96806d1282865761fcc047abcb72970279d82d) Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add PACKAGECONFIG for gbmRoss Burton2016-05-061-2/+4
| | | | | | | | | | gbm is an optional library and some environments (for example, mesa-gl where there are separate drivers that provide libgbm) may not want to build it. (From OE-Core rev: bb5265a31587e4a4d4df4d42f343054d6c224e24) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add missing space to RRECOMMENDS appendAndreas Müller2016-02-261-1/+1
| | | | | | | | | | | Fixes errors as: | Missing or unbuildable dependency chain was: ['mesa-megadrivermesa-megadriver'] (From OE-Core rev: 25ca768112f37a7fd8648f0d983e856294863460) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 10.6.3 -> 11.1.1Nicolas Dechesne2016-02-111-1/+7
| | | | | | | | | | | | | | * update SRC_URI and checksum. * add PACKAGECONFIG to offer choice of crypto implementation (for sha1 functions) * use libcrypto by default. In upstream commit a24bdce4, support for SHA-1 was copied from xserver repo, so let's use the same default for --with-sha1 option that we use in xserver recipe in OE core. (From OE-Core rev: 897e464cf316e668717c1aed146d0a9adb183986) 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>
* mesa: add missing wayland-native build dependencyRoss Burton2016-01-221-1/+1
| | | | | | | | | Mesa needs wayland-scanner, which is provided by wayland-native. (From OE-Core rev: 51269bdf974361a1d39d999ac2a363bbaec3baf8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop now pointless manual -dbg packagingRichard Purdie2015-12-161-3/+0
| | | | | | | | | With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. (From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Make gl libraries RRECOMMEND mesa-megadriverJussi Kukkonen2015-12-011-1/+3
| | | | | | | | | | | This makes e.g. core-image-weston actually work out-of-the-box on hardware that uses megadriver drivers. (From OE-Core rev: 12c3f7b5501c0035f72c115fa2eac7aaad927057) 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>
* gbm: Fix "configure: error: gbm requires --enable-dri"Jens Rehsack2015-11-161-3/+1
| | | | | | | | | | | | | | | When building mesa without X11 enabled, and disabling dri package config, the enforced "--enable-gbm" fails building mesa, because this feature requires "--enable-dri", too - which has been disabled by package config. Consequently, when gbm requires dri, --disable-dri causes in --disable-gbm, which makes explicit --disable-gbm in case of --disable-dri redundant. (From OE-Core rev: fee4a22c6919814bd541ab2cca9489e5ce3596b4) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 10.5.8 -> 10.6.3Nicolas Dechesne2015-08-101-6/+0
| | | | | | | | | | | | | | * Removed openvg references in PACKAGECONFIG, FILES and PACKAGES since OpenVG support was removed in mesa 10.6 * Tested with X11 : * xf86-video-freedreno on IFC6410 and DragonBoard 410c * softpipe on DragonBoard 410c * using meta-qualcomm BSP (From OE-Core rev: 8c7803683bee780f0bc8913cc32653ff173329b7) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add blank r600 PACKAGECONFIGDrew Moseley2015-07-021-0/+1
| | | | | | | | | | | | Fixes warnings such as: WARNING: mesa: invalid PACKAGECONFIG: r600 when building with the r600 configuration. (From OE-Core rev: 430dd1437a4196c11973cf9ef0d2dad1f2063a7f) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update --with-llvm-shared-libs configure optionAndre McCurdy2015-02-141-1/+1
| | | | | | | | | | | | | As per the Mesa 10.2 release notes, "--with-llvm-shared-libs" has been renamed to "--enable-llvm-shared-libs". http://www.mesa3d.org/relnotes/10.2.html (From OE-Core rev: 34fe51e9b381e99d664a7e567a3267bcee991084) 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>
* mesa: Upgrade to 10.4.3Pengyu Ma2015-02-081-5/+0
| | | | | | | | | | | | flags for EGL and GBM Gallium had been removed in 10.4, so remove these flags, files or packages. (From OE-Core rev: ba079975fa984f53fde5b4e8131d0f3877323e6c) Signed-off-by: Pengyu Ma <pengyu.ma@windriver.com> Tested-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>
* mesa: add PACKAGECONFIG support for gallium XA state trackerNicolas Dechesne2014-12-191-0/+6
| | | | | | | | (From OE-Core rev: d1cf188783ea5ae9013996a208f60960e3e7a6e7) 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>
* mesa: fix Multilib QA IssueChong Lu2014-08-231-1/+1
| | | | | | | | | | | | | | | | This patch fixed warning: WARNING: Multilib QA Issue: lib32-mesa package lib32-mesa-megadriver - suspicious values 'mesa-driver-swrast mesa-driver-nouveau-vieux mesa-driver-r200 mesa-driver-i915 mesa-driver-radeon mesa-driver-i965' in RPROVIDES WARNING: Multilib QA Issue: lib32-mesa package lib32-mesa-megadriver - suspicious values 'mesa-driver-swrast mesa-driver-nouveau-vieux mesa-driver-r200 mesa-driver-i915 mesa-driver-radeon mesa-driver-i965' in RREPLACES WARNING: Multilib QA Issue: lib32-mesa package lib32-mesa-megadriver - suspicious values 'mesa-driver-swrast mesa-driver-nouveau-vieux mesa-driver-r200 mesa-driver-i915 mesa-driver-radeon mesa-driver-i965' in RCONFLICTS (From OE-Core rev: 95f16f4bba660f0a6108fbbc98ad9caf69e6036b) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa.inc: remove '-' suffix in substitution of package namesMing Liu2014-06-241-3/+3
| | | | | | | | | | | | | | | The current substitution to package names is not correct, its original purpose is: replace "mesa-" with "mesa-dri-", in which process the "mesa" package is left out, this leads mesa package to announce to conflict with itself, and therefore cause build failures when multilib mesa are being added to rootfs. Changing the replacement pattern to without a '-' suffix will fix it. (From OE-Core rev: f02e0ae803b7a37b410c8487916331cdcae98cf3) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade to 10.1.3Valentin Popa2014-06-101-10/+18
| | | | | | | | | | | | | | | | libdricore was removed and replaced with a megadriver with hardlinks from the old driver names. Add PACKAGECONFIG for DRI3 but disable by default as there are currently regressions compared to DRI2. License is unchanged. (From OE-Core rev: 36c6909d4410e5ecb44800aafadd8593978e1b24) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add build-dependency on libxml2-nativeRoss Burton2014-06-101-1/+1
| | | | | | | | | | glapi/gen needs the libxml2 Python module, but this isn't listed as a build dependency. (From OE-Core rev: 12414a65bfa9222be0fe0ab7ced2a02e1e5ed2ed) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-7/+7
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Mesa: upgrade to 9.2.2Valentin Popa2013-11-011-1/+1
| | | | | | | | | | | | * License is still MIT * removed patches were already merged or another solution was backported. (From OE-Core rev: 263e654e5d28fa7f6b0c8cc23f57a31448e88a40) 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>
* mesa: fix dependencyRoy Li2013-10-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | libudev is asked by enable-gbm, not enable_dri, and enable-gbm always is yes; We can find the dependency from configure.ac codes: if test "x$enable_gbm" = xyes; then SRC_DIRS="$SRC_DIRS gbm" PKG_CHECK_MODULES([LIBUDEV], [libudev], [], AC_MSG_ERROR([gbm needs udev])) if test "x$enable_dri" = xyes; then GBM_BACKEND_DIRS="$GBM_BACKEND_DIRS dri" if test "x$enable_shared_glapi" = xno; then AC_MSG_ERROR([gbm_dri requires --enable-shared-glapi]) fi fi fi (From OE-Core rev: 981f7e5b088ecd813e43291d72f8995f17dbea8e) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: make runtime variables depend on PACKAGECONFIGAndreas Oberritter2013-10-261-6/+11
| | | | | | | | | | | | - This solves a conflict between mesa-gl and a custom library, both providing a libgles2 package, although being disabled in mesa-gl. (From OE-Core rev: c9148c89532f0989771e4846259f1f10a924bc68) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add virtual/mesa providerRoss Burton2013-09-171-1/+1
| | | | | | | | | | | As there are two alternative mesa recipes (mesa and mesa-gl), there needs to be a virtual provider that recipes that explicitly need Mesa (such as xserver-xorg) can depend on. (From OE-Core rev: 4a407568472d3c87cd2ce11baf199568249640b6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: use distro_features_check to abort build without opengl featureRoss Burton2013-09-101-1/+3
| | | | | | | | | | Stop mesa from building on distributions without the "opengl" DISTRO_FEATURE. (From OE-Core rev: 05bacb69a3b0f3bbd9dd608855456c32b4007fde) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add missing elfutils dependency for r600 PACKAGECONFIGJonathan Liu2013-08-301-2/+4
| | | | | | | | | | | Fixes the following configure error: configure:23490: error: radeonsi and r600g require libelf when using LLVM (From OE-Core rev: 43e7f168c84128b5d48bbfde9d6c07f2fb656b00) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable additional drivers for gallium-llvm x86/x86-64Jonathan Liu2013-08-221-0/+4
| | | | | | | | | | | | | | | The additional Gallium drivers are needed for open source ATI Radeon and NVIDIA graphics drivers. The radeonsi and r600 drivers require LLVM 3.3 built with r600 PACKAGECONFIG so they must be explicitly enabled by adding r600 to the mesa PACKAGECONFIG. (From OE-Core rev: 1d08cef09cc7cbf682e8b372987fe4456961272b) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: inherit gettextMartin Jansa2013-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * build in clean tmpdir fails with: | make[6]: Entering directory `/OE/mesa/2_9.1.3-r9.0/git/src/mesa/drivers/dri/common/xmlpool' | Updating (de) de/LC_MESSAGES/options.mo from de.po. | Updating (es) es/LC_MESSAGES/options.mo from es.po. | Updating (nl) nl/LC_MESSAGES/options.mo from nl.po. | Updating (fr) fr/LC_MESSAGES/options.mo from fr.po. | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [de/LC_MESSAGES/options.mo] Error 127 | Updating (sv) sv/LC_MESSAGES/options.mo from sv.po. | make[6]: *** Waiting for unfinished jobs.... | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [es/LC_MESSAGES/options.mo] Error 127 | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [nl/LC_MESSAGES/options.mo] Error 127 | /bin/bash: line 4: msgfmt: command not found | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [fr/LC_MESSAGES/options.mo] Error 127 | make[6]: *** [sv/LC_MESSAGES/options.mo] Error 127 | make[6]: Leaving directory `/OE/mesa/2_9.1.3-r9.0/git/src/mesa/drivers/dri/common/xmlpool' (From OE-Core rev: c30c8820828ea5a7ed99d58a9b400eeee916bf72) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add PACKAGEs and PACKAGECONFIG for xvmcMartin Jansa2013-07-291-0/+4
| | | | | | | | | * fixes [YOCTO #4898] (From OE-Core rev: 6ac10e7d122323618aa10f14fd807b6ae7c2477a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>