summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa-dri: remove DEFAULT_PREFERENCE, this is the preferred nowRoss Burton2012-09-121-3/+0
| | | | | | | (From OE-Core rev: 438852881a9450b2686e3f61d4efe260fa4b2c94) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-xlib: remove, it serves no useful purposeRoss Burton2012-09-123-14/+0
| | | | | | | (From OE-Core rev: 7a815ca21f57feb4706a7bb0656cbabd74bc873f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie2012-09-021-1/+1
| | | | | | | | | | | | | | | 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. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: clean up PACKAGECONFIGRoss Burton2012-08-231-4/+3
| | | | | | | | | Use machine overrides instead of machine features. (From OE-Core rev: 821a38d71d7e15f5871f44a3ee08268d05ef610e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable EGL, with DRM and X11 platformsRoss Burton2012-08-192-3/+8
| | | | | | | | | | Patch originally by Damien Lespiau <damien.lespiau@intel.com>. (From OE-Core rev: 03136ebc529dbc82f2db14055e124114da7e84b3) 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: respect x11 DISTRO_FEATURERoss Burton2012-08-195-10/+41
| | | | | | | | | | Patch originally by Damien Lespiau <damien.lespiau@intel.com>. (From OE-Core rev: d3e60b835c5abcf2345e761027aa520409c19efc) 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-demos: fix GLES2 buildRoss Burton2012-08-192-2/+24
| | | | | | | | (From OE-Core rev: 58047dcf547b582211f84c6f24c21cc1aa895f1e) 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: enable GLES v1 and v2Ross Burton2012-08-192-2/+12
| | | | | | | | | | Patch originally by Damien Lespiau <damien.lespiau@intel.com>. (From OE-Core rev: d755fff9c9939cebab9c488c7b14de0a57235d3c) 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 a mesa-dri-glsl-native_git recipeDamien Lespiau2012-08-193-7/+32
| | | | | | | | | | | | | | 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. (From OE-Core rev: 63667a138616c551cedbd10d4ed87172fcf9dfff) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Use 'require' instead of 'include'Damien Lespiau2012-08-064-12/+12
| | | | | | | | | | These include files are really required, not optional. (From OE-Core rev: 1aa6c4a083e406de0119f92e9654068d6cc2e4de) 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>
* mesa: Update to 8.0.4 (latest stable version)Damien Lespiau2012-08-0611-93/+118
| | | | | | | | | | | | | | - 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 (From OE-Core rev: e4039eb74b20e96d4b8837cd58cf2d13d091e1ad) 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>
* mesa: enable the Graphic Buffer Manager libraryRoss Burton2012-08-062-3/+8
| | | | | | | (From OE-Core rev: be882417cf432fe79a843cea4439503f286206cf) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add --enable-shared-glapi, and package it in libglapiRoss Burton2012-08-061-2/+6
| | | | | | | (From OE-Core rev: d856f4c18425b9e3e5a0898d7f29cffc1998ca12) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: move glu.pc to libglu-devRoss Burton2012-08-061-1/+1
| | | | | | | (From OE-Core rev: 98975edaff2cc4cc417dee2c7c530e602ff2e4cc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: format the packages list nicelyRoss Burton2012-08-061-1/+6
| | | | | | | (From OE-Core rev: ca9c3f57c72f443b9efe5f0bd5cb9a7bb169ed30) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: no need to depend on python-native, the class does thatRoss Burton2012-08-061-2/+2
| | | | | | | (From OE-Core rev: dd2a11fa262ced8e9f06413e69bbe1cb1b3e538b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-common: Update for python-native changesMorgan Little2012-07-221-2/+2
| | | | | | | | Add pythonnative to the inherits list (From OE-Core rev: 003dad555c7c3df61000bf7f712abb4050f3b4e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove a number of unneeded import os/bb callsRichard Purdie2012-07-191-2/+0
| | | | | | | | | | 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. (From OE-Core rev: 7d674820958be3a7051ea619effe1a6061d9cbe2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-3/+3
| | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add missing flex-native/bison-native depsChristopher Larson2012-05-031-1/+1
| | | | | | | | | | | 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. (From OE-Core rev: 4fb71999fad9e844850831caf2431ee8731787db) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix mklibs patch to simply remove troublesome uname usageRichard Purdie2012-04-302-27/+29
| | | | | | | | | Without this we started seeing the -mx32 flag being passed to the compiler for things like arm builds which makes no sense. (From OE-Core rev: 288b7a9d0e6093f85e4a1d3e34d4332b9c43b47b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemugl: make postinst run at first bootScott Garman2012-04-181-5/+11
| | | | | | | | | | | | | | 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. (From OE-Core rev: dc0fe3fbf9ca862c1d0d90468e6da326f58e3b41) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-common: package gl.pc in libgl-devJoshua Lock2012-04-101-1/+1
| | | | | | | | | | | gl.pc should be packaged in libgl-dev not the mesa-dev package Fixes [YOCTO #2059] (From OE-Core rev: d9d4fe9885e398df2062b3f2aed3fc274c656736) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemugl: Hide some GLX extensions by defaultZhai Edwin2012-03-192-2/+37
| | | | | | | | | | | | 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 (From OE-Core rev: a9e4b94f799e41a2b06f833a8b411ebee3939430) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-dri-glsl-native: Avoid error when running configure a second timeRichard Purdie2012-03-121-1/+1
| | | | | | | | | | 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 (From OE-Core rev: 7871772c74e65ef472c5bf3776e4b3b30308bd5d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-051-1/+1
| | | | | | | | | | | | 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>
* qemugl: Fix gl apps failure on qemu-x86-64Zhai Edwin2012-02-282-3/+39
| | | | | | | | | | | | Extend commit 028968 to qemu x86-64, where stack disorder happen due to register handling via push/pop. [YOCTO #1927] fixed (From OE-Core rev: 70c224d80c2330cbb0fa8213b0c0d5a1c87459f6) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* misc patches: fix patch headersNitin A Kamble2012-01-031-1/+1
| | | | | | | | | | These patches were marked by "UpstreamStatus:" line, fix it to use "Upstream-Status:" instead. (From OE-Core rev: b33b373c9a33fe0ff51104c96d1e5b105efc63ed) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Properly create share library for x32H.J. Lu2011-12-121-3/+17
| | | | | | | | | | Also pass -mx32 parameter to gcc to create create share library for x32. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-Off-By: H.J. Lu <hjl.tools@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-dri, mesa-xlib: fix compilation with x32 toolchainNitin A Kamble2011-12-056-10/+37
| | | | | | | | | | | | Add support for building with x32 toolchain. Simplified the use of SRC_URI & S vars across multiple files. (From OE-Core rev: 145de26a7415357a08bcdbc0307b5a60e2ad1420) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-xlib: Bump PR to resolve various package upgarde conflictsRichard Purdie2011-12-052-2/+2
| | | | | | (From OE-Core rev: b0cf83def3c621221a225787759ff8ca5a501a29) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Bump PR after other mesa changesRichard Purdie2011-12-021-1/+1
| | | | | | (From OE-Core rev: bdcbccb9865e31c68cadbdd276f0f42ea6b2c0c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-common: allow empty PNMartin Jansa2011-11-291-0/+3
| | | | | | | (From OE-Core rev: 1052e24d72e6a77af3f3073a34dfc5a522d49616) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: package gl/egl/osmesa to separate packagesMartin Jansa2011-11-291-2/+11
| | | | | | | (From OE-Core rev: 1b0811e1547c7b7e81372248e233867a7df2e2e4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix calling host's commandsKang Kai2011-11-183-1/+73
| | | | | | | | | | | mesa use its script file bin/mklib to generate libraries, and call the host's commands "ar/ranlib/gcc/g++". Fix it to call the cross-compile tools properly. (From OE-Core rev: 0a815e889d056f44af1ada623b4b2edcb699693a) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-101-1/+1
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemugl: switch to new git repoPaul Eggleton2011-11-071-1/+1
| | | | | | | | | The qemugl git repository is now on yoctoproject.org. (From OE-Core rev: da1759308bd2d8ca3bf4dc077c164aadb5ce3916) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-dri: use DRIDRIVERS_append_arch to promote right usage for BSP layer ↵Martin Jansa2011-10-171-2/+2
| | | | | | | | | maintainers (From OE-Core rev: 333859f0c068b9d03337a0397c7effd17cbd898a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: remove glx-use-tls againMartin Jansa2011-10-171-7/+0
| | | | | | | | | * khem confirmed that uclibc does support it now (From OE-Core rev: 629bea96ae07d9f3129a5da488682851a4e09d52) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-dri: Enable swrast only by default and intel drivers only on IA platformRichard Purdie2011-10-153-7/+5
| | | | | | (From OE-Core rev: d1b12b92439805ec9ca5d031d34d264acd0cab3b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-git: fix LIC_FILES_CHKSUMMartin Jansa2011-10-141-0/+1
| | | | | | | | | | | | | | | | | | | | * only wording was changed a bit and GLUT is not named explicitly $ diff docs/license.html 7.11/Mesa-7.11/docs/license.html 41,44c41,44 < and licenses apply to different components. For example, some demo programs < are copyrighted by SGI, some of the Mesa device drivers are copyrighted by < their authors. See below for a list of Mesa's main components and the license < for each. --- > and licenses apply to different components. For example, GLUT is copyrighted > by Mark Kilgard, some demo programs are copyrighted by SGI, some of the Mesa > device drivers are copyrighted by their authors. See below for a list of > Mesa's main components and the license for each. (From OE-Core rev: f2e7a102e39411edfa74f39c3d8d67212a50c290) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-git: upgrade from 7.7+git to 7.11+gitMartin Jansa2011-10-144-233/+71
| | | | | | | | | | * progs package is also gone like in 7.11 (moved to separate recipe) * uclibc.patch was updated a bit to apply again (From OE-Core rev: 3b37ed1ff769bac53777c037b624338691861aac) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-git: lower D_P a bit more then all mesa-driMartin Jansa2011-10-142-0/+8
| | | | | | | | | | | * it needs to be done in .bb because mesa-dri.inc is included after mesa-git.inc * lower it for mesa-xlib to same value (From OE-Core rev: bbe27f82bbf58b8cfd142e11e90f58c04ff3168a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-git: move shared parts from mesa-dri_git to mesa-git.inc and add ↵Martin Jansa2011-10-143-31/+36
| | | | | | | | | mesa-xlib_git (From OE-Core rev: 3772045d457cb049c34fe3b046cc3a3bb9694c1c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-dri: LEAD_SONAME shouldn't be needed now, when we're packaging each lib ↵Martin Jansa2011-10-142-4/+0
| | | | | | | | | in separate package (From OE-Core rev: 403a1b0c4bb83165b4c18db42d648e44107ea2ee) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-dri: move shared options to mesa-dri.incMartin Jansa2011-10-143-38/+23
| | | | | | | (From OE-Core rev: 184957c784d6dc93ab1b2f0c1ebc1cd0c807fde4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-xlib: move shared options to .incMartin Jansa2011-10-142-2/+2
| | | | | | | (From OE-Core rev: b09f77414ebc34dd708b9e7d3c873200af3479e4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: move shared PROTO_DEPS, LIB_DEPS and DEPENDS to common .incMartin Jansa2011-10-144-14/+9
| | | | | | | (From OE-Core rev: e7b825ab541e97c6c34ec829c26e9e706c7143ec) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-7.11: move shared DEPENDS, SRC_URI, checksums and do_configure_prepend ↵Martin Jansa2011-10-143-31/+16
| | | | | | | | | to shared .inc file (From OE-Core rev: 6f48f557c0234faf02bc3da2807c450e47afb594) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-common: MesaDemos is now separate recipes, bump PE, introduce INC_PRMartin Jansa2011-10-144-6/+6
| | | | | | | (From OE-Core rev: cf41f89707521b3bff31944621f6202ec0f0b5df) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>