summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
Commit message (Collapse)AuthorAgeFilesLines
* mesa: add PACKAGECONFIG for gbmRoss Burton2016-06-291-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) (From OE-Core rev: 40e03c0d5051f0208778792f9b113c35c5a1ef64) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.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>
* mesa: use LLVM 3.3 by defaultJonathan Liu2013-07-241-1/+1
| | | | | | | | (From OE-Core rev: 9908ec004bc3e2247e664d97690849253a66bae9) 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: remove drirc fileMartin Jansa2013-07-051-0/+3
| | | | | | | | | | | | | | | * it's packaged in libdricore package and prevents upgrading it when debian.bbclass is enabled * check_data_file_clashes: Package libdricore9.1.3-1 wants to install file /etc/drirc But that file is already provided by package * libdricore9.0.2-1 * we can move it to separate packages, but it isn't very useful now, there aren't many gamers using mesa on embedded devices (From OE-Core rev: d56e0c0e315acdb0ba5db7a539970d64678c1f7a) 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: Improve gallium PACKAGECONFIG optionsMartin Jansa2013-07-051-4/+7
| | | | | | | | | | | | | * rename llvmpipe to llvm to match configure option * add MESA_LLVM_RELEASE to allow switching to 3.3 easier * --enable-gallium isn't recognized option, split it to 2 more PACKAGECONFIGs for gbm and egl (From OE-Core rev: 0b1e64a8d026a8021f4568758a637689e886037b) 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: remove a redundant do_install tweakRoss Burton2013-06-251-3/+0
| | | | | | | | | | | Mesa isn't incorrectly installing GLU headers anymore, so we don't need to delete them. (From OE-Core rev: 96b91dd669d2701fcb4c71fb482392029ce7cd7f) 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: introduce gallium-llvmpipe PACKAGECONFIGMartin Jansa2013-06-141-0/+6
| | | | | | | (From OE-Core rev: d9f840725f3ea67fbd28d0903c99b729df5b1377) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: use PACKAGESPLITFUNCSMartin Jansa2013-06-141-1/+3
| | | | | | | (From OE-Core rev: ce127b8d20c9e812f2486405b080ab73d163e8de) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: introduce openvg PACKAGECONFIGMartin Jansa2013-06-141-0/+6
| | | | | | | (From OE-Core rev: 33d7c8a2e5087f84fb365e57e2555edb96f5fba5) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: introduce gallium PACKAGECONFIGMartin Jansa2013-06-141-2/+10
| | | | | | | (From OE-Core rev: 26276a215d7e09856d5e418edacab63197508050) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: remove more .la filesMartin Jansa2013-06-141-0/+3
| | | | | | | (From OE-Core rev: 5eea21b86ca2ca09d4eb03aa9fcdb4564bdccb5d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: move LIC_FILES_CHKSUM to .incMartin Jansa2013-06-141-0/+1
| | | | | | | | | * we can also include .inc as first statement in recipe like most recipes (From OE-Core rev: add5a0c17647a6b44461dd8181a412dac2ef263a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: use PACKAGECONFIG instead of DISTRO_FEATURES to define EGL_PLATFORMSMartin Jansa2013-06-141-2/+2
| | | | | | | | | | * it makes it easier to change PACKAGECONFIG in .bbappend and get consistent EGL_PLATFORMS (From OE-Core rev: 50dcfeab2b18422f3ab067893a0b68b17706d6e2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: introduce PACKAGECONFIG for driMartin Jansa2013-06-141-4/+4
| | | | | | | | | | * move DEPENDS which were originally applied only for mesa-dri to dri PACKAGECONFIG (From OE-Core rev: f780ec28cbaade55361390a04ac70574bde426de) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: merge mesa-common.inc to mesa.incMartin Jansa2013-06-141-3/+105
| | | | | | | (From OE-Core rev: 72afb46920202588948e256738ee80d585519974) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: rename mesa-dri recipe to just mesaLaurentiu Palcu2013-03-221-0/+33
Rename mesa-dri recipes to just mesa. Also, replace all references to mesa-dri in all recipes/configs. The reason for this renaming (quote from bugzilla): "mesa-dri is a artefact of mesa-xlib existing, which doesn't anymore. mesa-dri should be renamed to mesa." [YOCTO #3385] (From OE-Core rev: c8bbb9983bcc7cfc5332e89c3e8148505b4ca83f) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>