Commit Graph

147 Commits

Author SHA1 Message Date
Martin Jansa d141da28fb mesa-git: fix LIC_FILES_CHKSUM
* 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>
2011-10-14 13:18:12 +01:00
Martin Jansa 303df74a95 mesa-git: upgrade from 7.7+git to 7.11+git
* 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>
2011-10-14 13:18:11 +01:00
Martin Jansa d7761be8ab mesa-git: lower D_P a bit more then all mesa-dri
* 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>
2011-10-14 13:18:11 +01:00
Martin Jansa c76eb50f75 mesa-git: move shared parts from mesa-dri_git to mesa-git.inc and add 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>
2011-10-14 13:18:11 +01:00
Martin Jansa 81931261a9 mesa-dri: LEAD_SONAME shouldn't be needed now, when we're packaging each lib 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>
2011-10-14 13:18:11 +01:00
Martin Jansa 8a46f88e3f mesa-dri: move shared options to mesa-dri.inc
(From OE-Core rev: 184957c784d6dc93ab1b2f0c1ebc1cd0c807fde4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-14 13:18:10 +01:00
Martin Jansa f7a51d75e3 mesa-xlib: move shared options to .inc
(From OE-Core rev: b09f77414ebc34dd708b9e7d3c873200af3479e4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-14 13:18:10 +01:00
Martin Jansa 73e6612573 mesa: move shared PROTO_DEPS, LIB_DEPS and DEPENDS to common .inc
(From OE-Core rev: e7b825ab541e97c6c34ec829c26e9e706c7143ec)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-14 13:18:10 +01:00
Martin Jansa 33e00404c1 mesa-7.11: move shared DEPENDS, SRC_URI, checksums and do_configure_prepend 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>
2011-10-14 13:18:10 +01:00
Martin Jansa 5b7f5b5264 mesa-common: MesaDemos is now separate recipes, bump PE, introduce INC_PR
(From OE-Core rev: cf41f89707521b3bff31944621f6202ec0f0b5df)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-14 13:18:09 +01:00
Martin Jansa 183484c4d0 mesa-common: add common LIC_FILES_CHKSUM for newer mesa versions
(From OE-Core rev: 442f400a3188e1d8ad60c6c36d2c0e2a78404128)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-14 13:18:09 +01:00
Martin Jansa 77fa7e113b mesa: move common patches which could be used in both mesa-dri and mesa-xlib 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>
2011-10-14 13:18:09 +01:00
Martin Jansa 462f77aa3a mesa-dri-glsl-native: fix LICENSE
(From OE-Core rev: bf9a7f66cb6f7fbdea1afe61ed6c9ef7dd349b4b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-14 13:18:09 +01:00
Richard Purdie 7a97bf7976 mesa: Update 7.8.2 -> 7.11
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>
2011-10-12 23:05:04 +01:00
Martin Jansa a87ee718f9 glx-use-tls.inc: add include file to enable glx-tls only when TARGET_OS 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>
2011-10-11 18:08:31 +01:00
Richard Purdie c1a74b0cac xserver/mesa: Bump PR after libdrm packaging changes
(From OE-Core rev: f61a7339bdff5d2fde9b6d477f1cdbe5b84b92e3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-04 13:46:23 +01:00
Zhai Edwin 0289683798 qemugl: Use local variable rather than "push" to save register
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>
2011-09-22 08:49:10 +01:00
Khem Raj a0dc330b4a recipes: Delete patch=1, its default and replace pnum with striplevel
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>
2011-08-23 18:23:30 -07:00
Yu Ke 7b441c2f3f upstream status: add for libsdl and xserver patches
(From OE-Core rev: 8afcc3551be8d608a2082ab7da7a6bfdba490f15)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-26 15:48:59 +01:00
Khem Raj a9aa45ce9e mesa-xlib, mesa-dri: Probe for newlocale() before using it.
(From OE-Core rev: 1a55faf994b30101026b6c8980023f213ee1db2c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22 11:51:04 +01:00
Yu Ke 2ce14da681 Upstream-Status update for several recipes
- 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>
2011-05-17 15:14:43 +01:00
Yu Ke 6a7b1fe1bb recipes: Add Upstream-Status for multiple recipes
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>
2011-05-13 10:28:59 +01:00
Paul Eggleton cdf878387a Remove machine-specific metadata for machines no longer in oe-core
(From OE-Core rev: 72567733033347b662d9baa07432985fd2da3efa)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-05 12:26:29 +01:00
Yu Ke 61018fda65 poky-default-revisions: move the SRCREV to recipe file
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>
2011-05-04 15:06:36 +01:00
Yu Ke a2545c4220 mesa: cleanup and remove the old version 7.5, 7.7 and 7.8.2
- 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>
2011-04-18 09:57:03 +01:00
Yu Ke a0c0e89597 mesa 7.10.2: add python-native dependency
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>
2011-04-18 09:57:02 +01:00
Yu Ke c00288e0d4 mesa: upgrade to 7.10.2
- 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>
2011-04-18 05:49:41 +01:00
Richard Purdie 257a9edb4b Update SRC_URIs to use BPN instead of PN
[YOCTO #860]

(From OE-Core rev: 09ed5de9624be38c0fa5cb3f943691c3b4a50686)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-14 22:36:25 +00:00
Yu Ke 33df485498 mesa-dri-7.10: add missing dependency makedepend
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>
2011-02-10 15:27:50 +00:00
Yu Ke 8c2f3e043b mesa-xlib-7.10: add missing dependency makedepend
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>
2011-02-10 15:27:50 +00:00
Yu Ke 577c89365d mesa-xlib: upgrade to 7.10
- add patch to replace GPLv3 talloc with ralloc
- add SRC_URI checksum

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-09 22:45:48 +00:00
Yu Ke 97e288ff7f mesa-7.10: set mesa 7.10 as default instead of 7.8.2
originally mesa 7.8.2 is set as default because 7.10
has depency of GPLv3 talloc. since mesa 7.10 has resolved
the GPLv3 talloc dependency issue, it is safe to set 7.10
as default

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-09 22:45:47 +00:00
Yu Ke d64460afde mesa-dri-7.10: replace GPLv3 talloc with MIT-x licensed ralloc
mesa 7.10.1 devel branch has the patch to replace talloc with ralloc.
so add a patch to sync with 7.10.1 devel branch.

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-02-09 22:45:47 +00:00
Nitin A Kamble 4816a02db4 mesa-demos: fix build issue with gcc dso linking change
All the libraries needs to be specified explicitely with the new gcc dso
linking change patch. This was causing build errors for this
recipe. Specifying the libpthread library explicitely for linking to work
without errors.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-02-07 16:52:41 +00:00
Mark Hatle 9ee3c77f4e recipes-graphics: Add more detailed SUMMARY and DESCRIPTIONS
Add more detailed SUMMARY and DESCRIPTIONS to various graphics and
graphics related components.  I've recently gotten question from users
what something is, or why it was needed.. this should go a long way toward
answering those questions.

Many of the descriptions were taken directly from the upstream location,
where one was not available the Debian packages were consulted for
information.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-03 08:49:22 -08:00
Yu Ke 5a93778d3c mesa: add mesa 7.8.2
The latest mesa 7.10 has dependency on GPLv3 library talloc, so it is still necessary to keep one old non-GPLv3 mesa.And the latest non-GPLv3 version is mesa 7.8.2, so this patch add it.

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-01-18 07:38:03 -08:00
Yu Ke 20bdd1764f mesa-glsl: add mesa glsl 7.8.2
mesa glsl is required by mesa 7.8.2, so add it.

Signed-off-by: Yu Ke <ke.y@intel.com>
2011-01-18 07:38:03 -08:00
Yu Ke 0b62bd8a95 mesa: upgrade to mesa 7.10
- add SRC_URI checksum
- remove the DEFAULT_PREFERENCE for atom_pc, since mesa 7.10 has dependency on GPLv3 talloc. the latest non-GPLv3 one is mesa 7.8.2, atom_pc can use that vesion.

Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-01-18 07:38:03 -08:00
Yu Ke a3a4960122 mesa-dri-glsl-native: upgrade from 7.8.2 to 7.9
with the following changes
- add license checksum
- add dependency of talloc-native, because mesa 7.9 start to use talloc to manage its memory.

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-12-02 05:24:58 -08:00
Yu Ke 5358036d5f mesa-demo: add new recpies mesa demo 8.0.2
mesa-demo is originally part of mesa in 7.8 or earlier version. But starting from 7.9, mesa-demo become a seperate tar ball and has its own version 8.0.2, so this commit add new recipe for mesa-demos

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-12-02 05:24:58 -08:00
Yu Ke 5d17116f5e mesa: enable glu
GLU is needed by glew, which in turn needed by mesa-demos

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-12-02 05:24:57 -08:00
Yu Ke 770cbc076e mesa-xlib: upgrade from 7.8.2 to 7.9
- starting from mesa 7.9, mesa-demos is not bundled with mesa in upstream, so remove the mesa demo in mesa recipes. there will be a seperate recipes to build mesa-demos

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-12-02 05:24:57 -08:00
Yu Ke 742f217ac2 mesa-dri: upgrade from 7.8.2 to 7.9
with the following changes:

- remove mesa-demos, because starting from mesa 7.9,
  mesa-demos becomes a standalone src tar ball in
  upstream, so there will be a seperate recipes to
  build the mesa-demos

- add dependency of talloc and libxml2-native

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-12-02 05:24:57 -08:00
Yu Ke 05c4828721 qemugl: add license checksum
also correct the license type according to the src

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-12-02 05:24:47 -08:00
Yu Ke cecd1bdf6f qemugl: remove obsolate /usr/X11R6/lib lib directory
qemugl makefile has "-L/usr/X11R6/lib" to specifiy the X lib dir.
it is actually obsolate in poky now, because poky use Xserver from
X.org (X11R7.x), and its libs are in standard /usr/lib.

Meanwhile,the -L/usr/X11R6/lib will cause warning: library search path
"/usr/X11R6/lib" is unsafe for cross-compilation. so better to remove it.

Fix [BUGID #386]

Signed-off-by: Yu Ke <ke.yu@intel.com>
2010-10-11 22:16:42 +01:00
Darren Hart c449c78c25 Rename MACHINE=netbook to MACHINE=atom-pc
In preparation for the more generic atom-pc, rename the netbook machine and all
the relevant overrides. Leave the linux-netbook kernel recipe intact and as the
default kernel for the atom-pc machine.  A future patch will convert this over
to linux-wrs and likely remove the linux-netbook kernel recipe.

Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-08 16:56:44 +01:00
Richard Purdie 29d6678fd5 Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.

The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.

Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-27 15:29:45 +01:00