summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
AgeCommit message (Collapse)Author
2013-07-27mesa: add PACKAGEs and PACKAGECONFIG for xvmcMartin Jansa
* fixes [YOCTO #4898] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-23mesa: add Upstream-StatusMartin Jansa
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-23mesa: use LLVM 3.3 by defaultJonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-22mesa: upgrade to 9.1.5Jonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05mesa: remove drirc fileMartin Jansa
* 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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05mesa: bump SRCREV in git recipe, refresh patchesMartin Jansa
* 0003-EGL-Mutate-NativeDisplayType-depending-on-config.patch needs to be rebased so move old version for 9.1.3 to mesa-9.1.3/ and update the version in mesa/ * add git headers * 0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch is already applied in new SRCREV, move it to mesa-9.1.3/ * formal change in license.html with new SRCREV: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05mesa: fix pipe_loader_sw build without libx11Martin Jansa
* this is needed to fix pipe_loader_sw build without libx11, but building with HAVE_PIPE_LOADER_XLIB enabled still doesn't work (nobody is using this and it was removed in newer SRCREV). See https://bugs.freedesktop.org/show_bug.cgi?id=66357 for details. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-05mesa: Improve gallium PACKAGECONFIG optionsMartin Jansa
* 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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-25mesa: remove a redundant do_install tweakRoss Burton
Mesa isn't incorrectly installing GLU headers anymore, so we don't need to delete them. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-14mesa: introduce gallium-llvmpipe PACKAGECONFIGMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14mesa: use PACKAGESPLITFUNCSMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14mesa: introduce openvg PACKAGECONFIGMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14mesa: introduce gallium PACKAGECONFIGMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14mesa: remove more .la filesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14mesa: merge mesa-git.inc to mesa_git.bbMartin Jansa
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14mesa: move LIC_FILES_CHKSUM to .incMartin Jansa
* we can also include .inc as first statement in recipe like most recipes Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14mesa: use PACKAGECONFIG instead of DISTRO_FEATURES to define EGL_PLATFORMSMartin Jansa
* it makes it easier to change PACKAGECONFIG in .bbappend and get consistent EGL_PLATFORMS Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14mesa: introduce PACKAGECONFIG for driMartin Jansa
* move DEPENDS which were originally applied only for mesa-dri to dri PACKAGECONFIG Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14mesa: merge mesa-common.inc to mesa.incMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-11mesa: remove unrecognized configure optionsJonathan Liu
--disable-glut and --disable-glw are not recognized since Mesa 8.0. --disable-glu is not recognized since Mesa 9.0. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07mesa: update git recipe to 9.1.3 releaseRoss Burton
It's not bleeding edge but it's better than the previous pre-9.1 commit. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-07mesa: upgrade to 9.1.3Ross Burton
Merge mesa-PV.bb and mesa-PV.inc as the is no point to the split now we're only building one variant of Mesa. Drop 0002-cross-compile.patch isn't needed as libtool is used instead of mklib. However, as libtool is used instead of mklib add fix-glsl-cross.patch to work around build failures caused by the cross libtool being used to build host binaries. Add EGL-Mutate-NativeDisplayType-depending-on-config.patch to build correctly in a non-X11 environment. Drop dont-fail-if-libX11-isnt-installed.patch and fix-egl-compilation-without-x11-headers.patch as they were backports. license.html had some formatting and typo fixes, update the checksum. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-03mesa-demos: Use PACKAGECONFIG to enable/disable featuresOtavio Salvador
This allow selection of following features: drm, egl, freetype2, gbm, gles1, gles2, glut, osmesa, vg, wayland, x11 The x11 features is enabled depending on distro features but the wayland has not been enabled as it does not work with Wayland 1.0. Rest were enabled for a sane default. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29mesa-demos: Update to 8.1.0Saul Wold
Removed patches that now appear in the upstream. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-16mesa: don't fail if x11 isn't availableAndreas Oberritter
Patches backported from mesa Git and from mesa-dev mailing list. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-12mesa-demos: fix build with non-Mesa GL stacksRoss Burton
These patches from upstream allow mesa-demos to build and run against a non-Mesa GL stack. Thanks to Tom Zanussi for doing this work for EMGD in meta-intel, and Otavio Salvador for confirming it also works for Freescale. [ YOCTO #3469 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22mesa: rename mesa-dri recipe to just mesaLaurentiu Palcu
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] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18mesa-common: Fix confused variable assignment/commentRichard Purdie
Its clear this was meant to be a prepend. Also fix an out of date comment. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-12mesa: upgrade to 9.0.2Constantin Musca
Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-01mesa-dri: add extra dri driversIan Reinhart Geiser
* By default enable only swrast. This needs to be here or for some reason qemuarm tries to detect the intel dri libraries and fails. * For x86 and x86-64 explicitly set all of the supported drm drivers. builds properly with qemux86 qemuarm and qemux86-64 Signed-off-by: Ian Reinhart Geiser <igeiser@devonit.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-18mesa-dri: enable the wayland-egl platformAlexandru DAMIAN
If the "wayland" DISTRO_FEATURE is present, enable the Wayland EGL platform. This is required by the reference Wayland compositor, Weston. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> 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>
2013-01-10mesa: bump to 9.0.1Ross Burton
Upgrade Mesa to 9.01, backporting a patch from master to build without needing mesa-dri-glsl-native. Several patches have been merged upstream, so drop them. License checksums updated as the file was re-formated. Drop mesa-dri-glsl-native as we don't need it anymore. Tested with Piglit's "quick" test suite, pass rate remains constant compared to 8.0.5 at 87%. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14mesa: remove dependency on mesa-dri in mesa-dri-devRoss Burton
Move /etc/drirc to libdricommon so mesa-dri is empty, and remove the automatic dependency on mesa-dri in mesa-dri-dev. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-13mesa-dri-git: remove patch that doesn't apply to 9.xRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-13mesa: package osmesa.pcRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-11mesa-dri: upgrade -git version to current masterRoss Burton
license.html was reformated so the checksum changed. The GLSL compiler can be built using CC_FOR_BUILD, so we don't need mesa-dri-glsl-native. Update common packaging to include libdricore and the skeleton libgles3, and remove the driver .la files. mesa-git/uclibc.patch isn't applied, remove. x32 support is integrated into mklib, drop 0003-fix-for-x32.patch. uclibc is checked for upstream, drop 0001-Compile-with-uclibc.patch. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-11mesa: upgrade to 8.0.5Ross Burton
Licence checksum change, use an upstream source file instead of a generated file: we were previously checksumming the Bison license. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-11mesa: common packaging cleanupRoss Burton
mesa-dri ships the configuration file in mesa 9, so ship that and don't claim it's empty. Clean up libegl and libgbm packaging. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-21mesa-dri: add correct RPROVIDES for the -dev packagesRoss Burton
The -dev packages were RPROVIDEing the non-dev names, which is clearly wrong. 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>
2012-11-19mesa: default to enabling EGL and GLESRoss Burton
Even on systems where Mesa has no hardware support, building the software renderers is useful for build testing and limited functionality. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-19mesa: add -mesa suffix to GL packages, RPROVIDE their generic namesRoss Burton
When Debian-renaming, all packages that provide GL libraries get renamed to the same name, and it's entirley possible for a feed to have multiple GL libraries in. This obviously creates conflicts. Resolve this for Mesa by forcing the package names to be of the form libgl-mesa, and RPROVIDE libgl. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-12mesa-demos: fix --with-glut checkRoss Burton
The GLUT check was automatic and couldn't be disabled, so mesa-demos would gain a GLUT dependency if it was present when built. So, fix configure.ac so that --without-glut works as expected. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-12mesa: remove python2 detection hackRoss Burton
Our python-native is 2.7.3 which ships python2, and we've been patching it in to earlier versions since September 2011. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02mesa: Build separate GLU libraryDaniel Stone
Mesa has removed GLU from the core tree upstream, so remove it from the Mesa build and add the separate tarball as a new recipe. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-24qemugl: Remove since support for it was removed from qemuRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19PACKAGES_DYNAMIC: use += instead of = in most casesMartin Jansa
* to keep ${PN}-locale from bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19PACKAGES_DYNAMIC: use regexp not globMartin Jansa
* bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18mesa: remove libegl-dbg, put all debugging into mesa-dri-dbgRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-10-18mesa: remove mesa-dri dependency in mesa-dri-devRoss Burton
mesa-dri is empty, so instead of allowing an empty package, remove the default dependency on mesa-dri and let the system not generate mesa-dri. Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-09-12mesa-dri: remove DEFAULT_PREFERENCE, this is the preferred nowRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>