summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* mesa-common: add common LIC_FILES_CHKSUM for newer mesa versionsMartin Jansa2011-10-143-4/+1
| | | | | | | (From OE-Core rev: 442f400a3188e1d8ad60c6c36d2c0e2a78404128) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: move common patches which could be used in both mesa-dri and mesa-xlib ↵Martin Jansa2011-10-146-2/+3
| | | | | | | | | from mesa-dri to mesa (From OE-Core rev: 76f4be998f6608799b66821a334f1ca7ddc2aba2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-dri-glsl-native: fix LICENSEMartin Jansa2011-10-141-1/+1
| | | | | | | (From OE-Core rev: bf9a7f66cb6f7fbdea1afe61ed6c9ef7dd349b4b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Update 7.8.2 -> 7.11Richard Purdie2011-10-125-53/+69
| | | | | | | | | | | Pieces of this taken from patches from Martin Jansa <martin.jansa@gmail.com> and likely from meta-oe. It includes just enough changes to get the newer version to build. (From OE-Core rev: b2252d16b46bc18ff0aa06efaf58dd337682f587) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glx-use-tls.inc: add include file to enable glx-tls only when TARGET_OS ↵Martin Jansa2011-10-111-0/+7
| | | | | | | | | | isn't uclibc * will be used in mesa-common.inc and xserver-xorg.inc * based on mesa-tls.inc (glx-use-tls.bbclass) from http://git.openembedded.org/cgit.cgi/openembedded/commit/packages/mesa/mesa-tls.inc?id=b527d8f723c98c77f2f5c5358062e5348493d767 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver/mesa: Bump PR after libdrm packaging changesRichard Purdie2011-10-042-2/+2
| | | | | | (From OE-Core rev: f61a7339bdff5d2fde9b6d477f1cdbe5b84b92e3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemugl: Use local variable rather than "push" to save registerZhai Edwin2011-09-222-2/+61
| | | | | | | | | | | | | | New gcc uses "%esp" rather than "%ebp" to index local variable in stack, and push between save-to/restore-from stack decrease "%esp", which leads wrong index. Saving registers via local variables to make gcc aware of this and avoid stack disorder. [YOCTO #1442] got fixed (From OE-Core rev: afc9edc27e77e80fdd24b4c8c538f91672940e75) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj2011-08-231-2/+2
| | | | | | | | | | Some place pnum=1 is used which is removed as well since striplevel=1 is default (From OE-Core rev: 4e108857e0d40105f7ecbc55e99bd6c367bb7386) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* upstream status: add for libsdl and xserver patchesYu Ke2011-07-261-0/+2
| | | | | | | (From OE-Core rev: 8afcc3551be8d608a2082ab7da7a6bfdba490f15) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-xlib, mesa-dri: Probe for newlocale() before using it.Khem Raj2011-07-223-3/+48
| | | | | | | (From OE-Core rev: 1a55faf994b30101026b6c8980023f213ee1db2c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream-Status update for several recipesYu Ke2011-05-171-0/+1
| | | | | | | | | | | | | | | | - modutils - module-init-tools - libacpi - keymaps - initscripts - console-tools - mesa-demos - xserver-xf86-lite (From OE-Core rev: 46ea0444276c67b1489004e959bcf34970cd6c60) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Add Upstream-Status for multiple recipesYu Ke2011-05-132-0/+4
| | | | | | | | | | | | | | | | iputils: update patch Upstream-Status mktemp: update patch Upstream-Status xinetd: update Upstream-Status libdrm: update patch Upstream-Status qemugl: update patch Upstream-Status x11-common: update patch Upstream-Status xorg-app: update patch Upstream-Status xorg-driver: update patch Upstream-Status (From OE-Core rev: 6c49b8e881bc811386c5f1ebac95829d44ad9bb3) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove machine-specific metadata for machines no longer in oe-corePaul Eggleton2011-05-052-6/+0
| | | | | | | (From OE-Core rev: 72567733033347b662d9baa07432985fd2da3efa) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-default-revisions: move the SRCREV to recipe fileYu Ke2011-05-042-0/+3
| | | | | | | | | in this case, those non poky distro can also use these recipe normally (From OE-Core rev: 0a57bd226cdb8332707fa0f46fcf0b067f03701a) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: cleanup and remove the old version 7.5, 7.7 and 7.8.2Yu Ke2011-04-185-153/+4
| | | | | | | | | | | | - mesa 7.8.2 is kept to have a version without GPLv3 talloc. now 7.10.2 has removed the talloc, 7.8.2 can be removed safely. - mesa 7.5 and 7.7 is a legacy recips from original poky, also can removed. - mesa-dri-glsl-native_7.8.2 is a dependecy recipe only used by mesa 7.8.2, should also be removed along with mesa 7.8.2 - aslo update the patch upstream status (From OE-Core rev: 87265d03aa7ae69e7b476ac31d62cfb23b3e0e03) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa 7.10.2: add python-native dependencyYu Ke2011-04-181-1/+1
| | | | | | | | | | | | As Tom point out, mesa 7.10 has introduce some python script (e.g. src/mesa/main/es_generator.py), so should add python-native dependency (From OE-Core rev: b8d68c42e8934bb5a99847d91fd9d6e51dce32f5) Signed-off-by: Yu Ke <ke.yu@intel.com> CC: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade to 7.10.2Yu Ke2011-04-183-15579/+6
| | | | | | | | | | - also remove the talloc-removal.patch because it is already included in this version (From OE-Core rev: a59cb20da8eb66edcf6e99ca926609ecb80c5ae6) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update SRC_URIs to use BPN instead of PNRichard Purdie2011-03-141-1/+1
| | | | | | | | [YOCTO #860] (From OE-Core rev: 09ed5de9624be38c0fa5cb3f943691c3b4a50686) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-dri-7.10: add missing dependency makedependYu Ke2011-02-101-2/+2
| | | | | | | mesa 7.10 has dependency on makedepend-native, so add it to resolve the configure failure Signed-off-by: Yu Ke <ke.yu@intel.com>
* mesa-xlib-7.10: add missing dependency makedependYu Ke2011-02-101-2/+2
| | | | | | | mesa 7.10 has dependency on makedepend-native, so add it to resolve the configure failure Signed-off-by: Yu Ke <ke.yu@intel.com>
* mesa-xlib: upgrade to 7.10Yu Ke2011-02-091-3/+8
| | | | | | | - add patch to replace GPLv3 talloc with ralloc - add SRC_URI checksum Signed-off-by: Yu Ke <ke.yu@intel.com>