summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/mesa
AgeCommit message (Collapse)AuthorFiles
2013-03-22mesa: rename mesa-dri recipe to just mesaLaurentiu Palcu7
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 Purdie1
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 Musca2
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 Geiser1
* 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 DAMIAN2
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 Burton10
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 Burton1
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 Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-13mesa: package osmesa.pcRoss Burton1
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 Burton5
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 Burton3
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 Burton1
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 Burton1
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 Burton3
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 Burton3
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 Burton2
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 Burton4
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 Stone2
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 Purdie5
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19PACKAGES_DYNAMIC: use += instead of = in most casesMartin Jansa1
* 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 Jansa1
* 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 Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-10-18mesa: remove mesa-dri dependency in mesa-dri-devRoss Burton1
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 Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-12mesa-xlib: remove, it serves no useful purposeRoss Burton3
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-31nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie1
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-23mesa: clean up PACKAGECONFIGRoss Burton1
Use machine overrides instead of machine features. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-19mesa: enable EGL, with DRM and X11 platformsRoss Burton2
Patch originally by Damien Lespiau <damien.lespiau@intel.com>. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19mesa: respect x11 DISTRO_FEATURERoss Burton5
Patch originally by Damien Lespiau <damien.lespiau@intel.com>. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19mesa-demos: fix GLES2 buildRoss Burton2
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19mesa: enable GLES v1 and v2Ross Burton2
Patch originally by Damien Lespiau <damien.lespiau@intel.com>. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19mesa: Add a mesa-dri-glsl-native_git recipeDamien Lespiau3
If you have both a fixed version of mesa and a git version of mesa, you also need the mesa-dri-glsl-native recipe for each versions. The code generation that happens natively has to be done with the tool extracted from the version you are compiling. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-06mesa: Use 'require' instead of 'include'Damien Lespiau4
These include files are really required, not optional. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: Update to 8.0.4 (latest stable version)Damien Lespiau11
- The license file has changed, but the project still has the same license - Patches have been rebased on top of the 8.0 branch. crossfix.patch and crossfix-mklib.patch have been merged as they address the same problem Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: enable the Graphic Buffer Manager libraryRoss Burton2
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: add --enable-shared-glapi, and package it in libglapiRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: move glu.pc to libglu-devRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: format the packages list nicelyRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: no need to depend on python-native, the class does thatRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22mesa-common: Update for python-native changesMorgan Little1
Add pythonnative to the inherits list Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Remove a number of unneeded import os/bb callsRichard Purdie1
The bb and os modules are always imported so having these extra import calls are a waste of space/execution time. They also set a bad example for people copy and pasting code so clean them up. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03mesa: add missing flex-native/bison-native depsChristopher Larson1
A quick glance at configure.ac shows that both are required to build mesa, but we were relying on their being built implicitly via other recipes in the dependency chain. Make it explicit. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-04-26mesa: Fix mklibs patch to simply remove troublesome uname usageRichard Purdie2
Without this we started seeing the -mx32 flag being passed to the compiler for things like arm builds which makes no sense. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-18qemugl: make postinst run at first bootScott Garman1
The previous postinst script was not working for images which use RPM because do_rootfs could allow qemugl to be installed after libgl1, and the postinst needs to run after libgl1 is installed. Hence, it's being changed to run at first boot instead of during do_rootfs. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-10mesa-common: package gl.pc in libgl-devJoshua Lock1
gl.pc should be packaged in libgl-dev not the mesa-dev package Fixes [YOCTO #2059] Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-03-19qemugl: Hide some GLX extensions by defaultZhai Edwin2
Exporting these extensions make guest call some missing GLX API then crash. It's hacky to implement these APIs, so hide these extensions as fix. [YOCTO #1927] got fixed Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2012-03-12mesa-dri-glsl-native: Avoid error when running configure a second timeRichard Purdie1
This avoids the error: ln: creating symbolic link `/media/data1/build1/poky/build/tmp/work/x86_64-linux/mesa-dri-glsl-native-7.11-r0/Mesa-7.11/src/glsl//../../configs/current': File exists Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie1
Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-28qemugl: Fix gl apps failure on qemu-x86-64Zhai Edwin2
Extend commit 028968 to qemu x86-64, where stack disorder happen due to register handling via push/pop. [YOCTO #1927] fixed Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>