public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/hardened-dev:uclibc commit in: media-libs/mesa/, media-libs/mesa/files/
@ 2012-01-06 18:01 Anthony G. Basile
  0 siblings, 0 replies; 6+ messages in thread
From: Anthony G. Basile @ 2012-01-06 18:01 UTC (permalink / raw
  To: gentoo-commits

commit:     a0cb0abdbdbef86be2a8d63353f5e0dbd49de646
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  6 18:01:06 2012 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Jan  6 18:01:06 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=a0cb0abd

media-libs/mesa: post configure patch to turn off __GLIBC__ and _GNU_SOURCES on mesa

---
 media-libs/mesa/ChangeLog                    | 1644 ++++++++++++++++++++++++++
 media-libs/mesa/files/eselect-mesa.conf.7.11 |   39 +
 media-libs/mesa/files/glx_ro_text_segm.patch |   28 +
 media-libs/mesa/files/uclibc-defines.patch   |   12 +
 media-libs/mesa/mesa-7.11.2-r99.ebuild       |  324 +++++
 media-libs/mesa/metadata.xml                 |   19 +
 6 files changed, 2066 insertions(+), 0 deletions(-)

diff --git a/media-libs/mesa/ChangeLog b/media-libs/mesa/ChangeLog
new file mode 100644
index 0000000..1bc5260
--- /dev/null
+++ b/media-libs/mesa/ChangeLog
@@ -0,0 +1,1644 @@
+# ChangeLog for media-libs/mesa
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/ChangeLog,v 1.377 2011/12/27 20:47:37 maekke Exp $
+
+  27 Dec 2011; Markus Meier <maekke@gentoo.org> mesa-7.11.2.ebuild:
+  x86 stable, bug #394393
+
+  21 Dec 2011; Markus Meier <maekke@gentoo.org> mesa-7.11.2.ebuild:
+  arm stable, bug #394393
+
+  21 Dec 2011; Matt Turner <mattst88@gentoo.org> mesa-7.11.2.ebuild:
+  Fix osmesa USE flag, bug 395527.
+
+  20 Dec 2011; Agostino Sarubbo <ago@gentoo.org> mesa-7.11.2.ebuild:
+  Stable for AMD64, wrt bug #394393
+
+  03 Dec 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  -mesa-7.10.2.ebuild, -mesa-7.10.2-r1.ebuild, mesa-7.10.3.ebuild,
+  mesa-7.11.ebuild, -mesa-7.11.1.ebuild, mesa-7.11.2.ebuild:
+  Add patches to build against llvm-3 to unstable ebuild, depend on earlier
+  versions for stable ebuilds, bug #375847. Clean up some old ebuilds.
+
+*mesa-7.11.2 (30 Nov 2011)
+
+  30 Nov 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +mesa-7.11.2.ebuild:
+  Version bump.
+
+*mesa-7.11.1 (18 Nov 2011)
+
+  18 Nov 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +mesa-7.11.1.ebuild, metadata.xml:
+  Version bump, bug #390875. Add USE flag for libOSMesa, thanks to
+  mattst88 in bug #155109.
+
+  06 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.11.ebuild:
+  Workaround TOC issues wrt #386545 by Stephen Lewis
+
+  03 Oct 2011; Joseph Jezak <josejx@gentoo.org> mesa-7.11.ebuild:
+  Marked ppc/ppc64 stable for bug #380421.
+
+  02 Oct 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.11.ebuild:
+  alpha/ia64/sh/sparc stable wrt #380421
+
+  21 Sep 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.11.ebuild:
+  Stable for HPPA (bug #380421).
+
+  18 Sep 2011; Matt Turner <mattst88@gentoo.org> mesa-7.11.ebuild:
+  Only allow openvg to be enabled with USE=gallium, bug 377689
+
+  16 Sep 2011; Matt Turner <mattst88@gentoo.org> mesa-7.9.2.ebuild,
+  mesa-7.10.2.ebuild, mesa-7.10.2-r1.ebuild, mesa-7.10.3.ebuild,
+  mesa-7.11.ebuild:
+  Correct the LICENSEs.
+
+  05 Sep 2011; Markus Meier <maekke@gentoo.org> mesa-7.11.ebuild:
+  arm stable, bug #380421
+
+  04 Sep 2011; Markus Meier <maekke@gentoo.org> mesa-7.11.ebuild:
+  x86 stable, bug #380421
+
+  30 Aug 2011; Tony Vroon <chainsaw@gentoo.org> mesa-7.11.ebuild:
+  Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in bug
+  #380421 filed by Chí-Thanh Christopher Nguyễn.
+
+  20 Aug 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.10.3.ebuild:
+  Stable for HPPA (bug #371857).
+
+  20 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.11.ebuild:
+  Relax dependency on sys-devel/llvm.
+
+  16 Aug 2011; Matt Turner <mattst88@gentoo.org> metadata.xml:
+  Correct metadata.xml about which USE flags are related to Gallium3D.
+
+  02 Aug 2011; Magnus Granberg <zorry@gentoo.org> mesa-7.11.ebuild,
+  metadata.xml:
+  Added pax_kernel as local use flag
+
+  01 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.11.ebuild:
+  Disambiguate hardened related USE flag, bug #375561 and bug #377301.
+
+*mesa-7.11 (01 Aug 2011)
+
+  01 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  -mesa-7.11_rc2.ebuild, -mesa-7.11_rc4.ebuild, +mesa-7.11.ebuild,
+  metadata.xml:
+  Version bump. Make gbm optional, bug #376679.
+
+  31 Jul 2011; Matt Turner <mattst88@gentoo.org> mesa-7.11_rc2.ebuild,
+  mesa-7.11_rc4.ebuild:
+  Move libxml2 from RDEPEND to DEPEND, Bug 376015.
+
+  30 Jul 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.10.3.ebuild:
+  alpha/ia64/sh/sparc stable wrt #371857
+
+  29 Jul 2011; Matt Turner <mattst88@gentoo.org> mesa-7.11_rc2.ebuild,
+  mesa-7.11_rc4.ebuild:
+  Specify x11 before drm for egl-platforms. Bug 376981
+
+*mesa-7.11_rc4 (29 Jul 2011)
+
+  29 Jul 2011; Rémi Cardona <remi@gentoo.org> +mesa-7.11_rc4.ebuild:
+  Bump to 7.11_rc4, remove hacks needed for rc2
+
+  29 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.10.3.ebuild:
+  ppc64 stable wrt #371857
+
+  23 Jul 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  -mesa-7.9.1.ebuild, mesa-7.9.2.ebuild, -mesa-7.10.1.ebuild,
+  mesa-7.10.2.ebuild, mesa-7.10.3.ebuild:
+  Add missing bison/flex dependency to more ebuilds, bug #376103. Remove
+  obsolete versions.
+
+  21 Jul 2011; Matt Turner <mattst88@gentoo.org> mesa-7.11_rc2.ebuild:
+  Add sys-devel/{bison,flex} to DEPEND, for new glsl_compiler, bug 375793.
+
+*mesa-7.11_rc2 (20 Jul 2011)
+
+  20 Jul 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  -mesa-7.11_rc1-r1.ebuild, +mesa-7.11_rc2.ebuild:
+  Bump to new prerelease. Apply fix for bug #374671, upstream #39375.
+
+  15 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.10.2.ebuild:
+  ppc64 stable wrt #363965
+
+  13 Jul 2011; Markus Meier <maekke@gentoo.org> mesa-7.10.3.ebuild:
+  x86 stable, bug #371857
+
+*mesa-7.11_rc1-r1 (10 Jul 2011)
+
+  10 Jul 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  -mesa-7.11_rc1.ebuild, +mesa-7.11_rc1-r1.ebuild:
+  Don't move libEGL/libOpenVG as this broke proprietary drivers, bug #374647.
+
+*mesa-7.11_rc1 (09 Jul 2011)
+
+  09 Jul 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +mesa-7.11_rc1.ebuild, +files/eselect-mesa.conf.7.11:
+  Bump to release candidate.
+
+  28 Jun 2011; Brent Baude <ranger@gentoo.org> mesa-7.10.3.ebuild:
+  Marking mesa-7.10.3 ppc stable for bug 371857
+
+  28 Jun 2011; Brent Baude <ranger@gentoo.org> mesa-7.10.2.ebuild:
+  Marking mesa-7.10.2 ppc stable for bug 363965
+
+  26 Jun 2011; Markus Meier <maekke@gentoo.org> mesa-7.10.3.ebuild:
+  arm stable, bug #371857
+
+  23 Jun 2011; Markos Chandras <hwoarang@gentoo.org> mesa-7.10.3.ebuild:
+  Stable on amd64 wrt bug #372333
+
+*mesa-7.10.3 (14 Jun 2011)
+
+  14 Jun 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +mesa-7.10.3.ebuild:
+  Version bump, revert to previous patch tarball as the llvm patch was applied
+  upstream.
+
+  15 May 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.10.2.ebuild:
+  alpha/ia64/sh/sparc stable wrt #363965
+
+  13 May 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.10.2.ebuild:
+  Stable for HPPA (bug #363965).
+
+  13 May 2011; Markus Meier <maekke@gentoo.org> mesa-7.10.2.ebuild:
+  arm stable, bug #363965
+
+  09 May 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> mesa-7.10.2.ebuild:
+  x86 stable wrt bug #363965
+
+  28 Apr 2011; Markos Chandras <hwoarang@gentoo.org> mesa-7.10.2.ebuild:
+  Stable on amd64 wrt bug #363965
+
+*mesa-7.10.2-r1 (17 Apr 2011)
+
+  17 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.9.1.ebuild, mesa-7.9.2.ebuild, mesa-7.10.1.ebuild,
+  mesa-7.10.2.ebuild, +mesa-7.10.2-r1.ebuild:
+  Address llvm-2.9 problems, bug #351338.
+
+  17 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.10.2.ebuild:
+  Add glproto and dri2proto to RDEPEND, bug #342393.
+
+  16 Apr 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.9.2.ebuild,
+  mesa-7.10.1.ebuild:
+  alpha/ia64/sh/sparc stable wrt #359059
+
+  11 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.10.2.ebuild:
+  Ensure that /usr/$(get_libdir)/dri gets always created.
+
+  08 Apr 2011; Markus Meier <maekke@gentoo.org> mesa-7.9.2.ebuild:
+  arm stable, bug #359059
+
+  08 Apr 2011; Markus Meier <maekke@gentoo.org> mesa-7.10.1.ebuild:
+  arm stable, bug #359059
+
+*mesa-7.10.2 (06 Apr 2011)
+
+  06 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  -mesa-7.10.1-r1.ebuild, +mesa-7.10.2.ebuild:
+  Version bump.
+
+*mesa-7.10.1-r1 (05 Apr 2011)
+
+  05 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +mesa-7.10.1-r1.ebuild:
+  Revision bump for gnome-shell and libdrm-2.4.24 patch, bug #359327.
+
+  04 Apr 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.9.2.ebuild:
+  Stable for HPPA (bug #359059).
+
+  04 Apr 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.10.1.ebuild:
+  Stable for HPPA (bug #359059).
+
+  26 Mar 2011; Christian Faulhammer <fauli@gentoo.org> mesa-7.9.2.ebuild,
+  mesa-7.10.1.ebuild:
+  stable x86, bug 359059
+
+  25 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.9.ebuild:
+  remove old
+
+  21 Mar 2011; Markos Chandras <hwoarang@gentoo.org> mesa-7.9.2.ebuild,
+  mesa-7.10.1.ebuild:
+  Stable on amd64 wrt bug #359059
+
+  21 Mar 2011; Markos Chandras <hwoarang@gentoo.org> mesa-7.10.1.ebuild:
+  Stable on amd64 wrt bug #359059
+
+  15 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.9.2.ebuild,
+  mesa-7.10.1.ebuild:
+  ppc/ppc64 stable wrt #359059
+
+  05 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.9.1.ebuild:
+  ppc64 stable wrt #354237
+
+  05 Mar 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.9.1.ebuild:
+  alpha/arm/ia64/sh/sparc stable wrt #354237
+
+*mesa-7.10.1 (03 Mar 2011)
+*mesa-7.9.2 (03 Mar 2011)
+
+  03 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> +mesa-7.9.2.ebuild,
+  -mesa-7.10-r1.ebuild, +mesa-7.10.1.ebuild:
+  Version bump to latest releases.
+
+  03 Mar 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.9.1.ebuild, mesa-7.10-r1.ebuild:
+  Nouveau: not compatible with libdrm-2.4.24
+
+  23 Feb 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.9.1.ebuild:
+  Stable for HPPA (bug #354237).
+
+  18 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.7.1.ebuild,
+  -mesa-7.8.2.ebuild:
+  Drop older overshadowed versions. 3 versions to choose from should be enough.
+
+  14 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.9.1.ebuild:
+  ppc stable wrt #344827, #354237
+
+  12 Feb 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.9.ebuild:
+  alpha/ia64/sh/sparc stable wrt #344827
+
+  12 Feb 2011; Christian Faulhammer <fauli@gentoo.org> mesa-7.9.1.ebuild:
+  stable x86, bug 354237
+
+  12 Feb 2011; Markos Chandras <hwoarang@gentoo.org> mesa-7.9.1.ebuild:
+  Stable on amd64 wrt bug #354237
+
+*mesa-7.10-r1 (09 Feb 2011)
+
+  09 Feb 2011; Magnus Granberg <zorry@gentoo.org> -mesa-7.10.ebuild,
+  +mesa-7.10-r1.ebuild, +files/glx_ro_text_segm.patch:
+  Fix bug 240956 readonly text segment on x86
+
+  27 Jan 2011; Jeremy Olexa <darkside@gentoo.org> mesa-7.10.ebuild:
+  Push Gentoo Prefix changes from x11 overlay, as approved
+
+*mesa-7.10 (12 Jan 2011)
+
+  12 Jan 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +mesa-7.10.ebuild, +files/eselect-mesa.conf.7.10:
+  Version bump, bug #351094
+
+*mesa-7.9.1 (08 Jan 2011)
+
+  08 Jan 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  -mesa-7.9-r1.ebuild, +mesa-7.9.1.ebuild,
+  -files/mesa-7.9-libdrm-2.4.23-nouveau-api.patch:
+  Version bump, bug #351094
+
+  31 Dec 2010; Jeroen Roovers <jer@gentoo.org> mesa-7.9.ebuild:
+  Stable for HPPA (bug #344827).
+
+  29 Dec 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  files/eselect-mesa.conf.7.9:
+  Fix copy&paste error
+
+  29 Dec 2010; Markus Meier <maekke@gentoo.org> mesa-7.9.ebuild:
+  arm stable, bug #344827
+
+  25 Dec 2010; Christian Faulhammer <fauli@gentoo.org> mesa-7.9.ebuild:
+  x86 stable, bug 344827
+
+  23 Dec 2010; Samuli Suominen <ssuominen@gentoo.org> mesa-7.9.ebuild:
+  amd64 stable wrt #344827
+
+  19 Dec 2010; Samuli Suominen <ssuominen@gentoo.org> mesa-7.9.ebuild:
+  ppc64 stable wrt #344827
+
+*mesa-7.9-r1 (11 Dec 2010)
+
+  11 Dec 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.9.ebuild, +mesa-7.9-r1.ebuild,
+  +files/mesa-7.9-libdrm-2.4.23-nouveau-api.patch:
+  Add patch for nouveau libdrm-2.4.23 API changes.
+
+  05 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  mesa-7.9.ebuild:
+  Fix building with Python 3.
+
+  29 Nov 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.9.ebuild:
+  Fix building when both classic and gallium are disabled, bug #347125
+
+*mesa-7.9 (28 Nov 2010)
+
+  28 Nov 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +mesa-7.9.ebuild, +files/eselect-mesa.conf.7.9:
+  Version bump, bug #341097
+
+  21 Oct 2010; Brent Baude <ranger@gentoo.org> ChangeLog:
+  Marking mesa-7.8.2 ppc stable for bug 239063
+
+  19 Oct 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.1.ebuild,
+  mesa-7.8.2.ebuild:
+  Get rid of radeonhd videocard.
+
+  10 Oct 2010; Ulrich Mueller <ulm@gentoo.org> mesa-7.7.1.ebuild,
+  mesa-7.8.2.ebuild:
+  Fix openmotif dependency.
+
+  01 Oct 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.8.2.ebuild:
+  Drop weird depend atom. Per bug #339314.
+
+  30 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.8.2.ebuild:
+  Update libdrm dependency.
+
+  30 Sep 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.8.2.ebuild:
+  Update for libdrm changes.
+
+  28 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> mesa-7.8.2.ebuild:
+  ppc64 stable wrt #327777
+
+  21 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.1.ebuild,
+  mesa-7.8.2.ebuild:
+  Update the dep on libX11 this time using proper version.
+
+  19 Sep 2010; Raúl Porcel <armin76@gentoo.org> mesa-7.8.2.ebuild:
+  ia64/sh/sparc stable wrt #327777
+
+  17 Sep 2010; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.7.1.ebuild,
+  mesa-7.8.2.ebuild:
+  Remove VIDEO_CARDS=none setting. It just causes needless confusion
+  nowadays. If you don't want to build any Mesa hardware 3D drivers, set
+  VIDEO_CARDS="" in make.conf. If your 3D driver is proprietary/binary, set
+  VIDEO_CARDS to it (e.g., nvidia, fglrx) to avoid building Mesa hardware 3D
+  drivers.
+
+  12 Sep 2010; Tobias Klausmann <klausman@gentoo.org> mesa-7.8.2.ebuild:
+  Stable on alpha, bug #327777
+
+  09 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.1.ebuild,
+  mesa-7.8.2.ebuild:
+  Update deps on libX11[xcb].
+
+  27 Aug 2010; Robin H. Johnson <robbat2@gentoo.org> mesa-7.7.1.ebuild,
+  mesa-7.8.2.ebuild:
+  Bug #333143: Add "kilgard" license for media-libs/mesa Debian DFSG debate.
+
+  03 Aug 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+  -files/0001-st-xorg-Adopt-to-new-dirty-clip-rect-type.patch,
+  -mesa-7.5.2.ebuild, mesa-7.7.1.ebuild, mesa-7.8.2.ebuild,
+  -files/lib/libGL.la, -files/lib/libGLU.la:
+  Drop old. Remove remains of .la files.
+
+  02 Aug 2010; Raúl Porcel <armin76@gentoo.org> mesa-7.7.1.ebuild:
+  alpha/ia64/sh/sparc stable wrt #308521
+
+  22 Jul 2010; Markus Meier <maekke@gentoo.org> mesa-7.8.2.ebuild:
+  arm stable, bug #327777
+
+  19 Jul 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.8.2.ebuild:
+  Ease libdrm dependency for nouveau
+
+  14 Jul 2010; Jeroen Roovers <jer@gentoo.org> mesa-7.8.2.ebuild:
+  Stable for HPPA (bug #327777).
+
+  13 Jul 2010; Christian Faulhammer <fauli@gentoo.org> mesa-7.8.2.ebuild:
+  x86 stable, bug 327777
+
+  12 Jul 2010; Markos Chandras <hwoarang@gentoo.org> mesa-7.8.2.ebuild:
+  Stable on amd64 wrt bug #327777
+
+  18 Jun 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.8.2.ebuild:
+  depend on older libdrm for nouveau, bug #324539
+
+*mesa-7.8.2 (17 Jun 2010)
+
+  17 Jun 2010; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.8.1.ebuild,
+  +mesa-7.8.2.ebuild:
+  Version bump.
+
+  31 May 2010; Guy Martin <gmsoft@gentoo.org> mesa-7.7.1.ebuild:
+  hppa stable, #308521
+
+  17 May 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.8.1.ebuild:
+  Add cross-compile fixes. Thx solar.
+
+  12 May 2010; Brent Baude <ranger@gentoo.org> mesa-7.7.1.ebuild:
+  Marking mesa-7.7.1 ppc64 stable for bug 308521
+
+  18 Apr 2010; Markus Meier <maekke@gentoo.org> mesa-7.7.1.ebuild:
+  arm stable, bug #308521
+
+  18 Apr 2010; <nixnut@gentoo.org> mesa-7.7.1.ebuild:
+  ppc stable #308521
+
+  16 Apr 2010; Pacho Ramos <pacho@gentoo.org> mesa-7.7.1.ebuild:
+  amd64 stable, bug 308521
+
+  09 Apr 2010; Christian Faulhammer <fauli@gentoo.org> mesa-7.7.1.ebuild:
+  stable x86, bug 308521
+
+*mesa-7.8.1 (06 Apr 2010)
+
+  06 Apr 2010; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.8.ebuild,
+  +mesa-7.8.1.ebuild:
+  Version bump. Drop broken version.
+
+  03 Apr 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  mesa-7.8.ebuild:
+  Bump libdrm dependency, bug #312933
+
+*mesa-7.8 (29 Mar 2010)
+*mesa-7.7.1 (29 Mar 2010)
+
+  29 Mar 2010; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.6.1.ebuild,
+  -mesa-7.7-r1.ebuild, -mesa-7.7.1_rc2.ebuild, +mesa-7.7.1.ebuild,
+  -mesa-7.8_rc2.ebuild, +mesa-7.8.ebuild:
+  Version bump to latest releases. Drop old.
+
+*mesa-7.8_rc2 (23 Mar 2010)
+*mesa-7.7.1_rc2 (23 Mar 2010)
+
+  23 Mar 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+  -mesa-7.7.1_rc1.ebuild, +mesa-7.7.1_rc2.ebuild, -mesa-7.8_rc1.ebuild,
+  +mesa-7.8_rc2.ebuild:
+  Version bump to new rc's remove old ones.
+
+*mesa-7.8_rc1 (16 Mar 2010)
+*mesa-7.7.1_rc1 (16 Mar 2010)
+
+  16 Mar 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+  +mesa-7.7.1_rc1.ebuild, +mesa-7.8_rc1.ebuild:
+  Version bump to latest RC's.
+
+  23 Jan 2010; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.5.1.ebuild:
+  rm
+
+  18 Jan 2010; Raúl Porcel <armin76@gentoo.org> mesa-7.5.2.ebuild:
+  alpha/ia64/sh/sparc stable wrt #294958
+
+  14 Jan 2010; Markus Meier <maekke@gentoo.org> mesa-7.5.2.ebuild:
+  arm stable, bug #294958
+
+  14 Jan 2010; Jeroen Roovers <jer@gentoo.org> mesa-7.5.2.ebuild:
+  Stable for HPPA (bug #294958).
+
+  28 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> mesa-7.7-r1.ebuild:
+  Fix typing error wrt #298805.
+
+*mesa-7.7-r1 (28 Dec 2009)
+
+  28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.7.ebuild,
+  +mesa-7.7-r1.ebuild:
+  Revision bump to make sure everyone has disabled gallium intel.
+
+  27 Dec 2009; Joseph Jezak <josejx@gentoo.org> mesa-7.5.2.ebuild:
+  Marked ppc stable for bug #294958.
+
+  26 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.ebuild:
+  Do not depend on xorg-server.
+
+  24 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.ebuild:
+  Rdepend on xorg-server[-minimal]. Thx to Tommy for reporting.
+
+  22 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.ebuild:
+  Sync with in-overlay updates prepared for 7.7 final release.
+
+  22 Dec 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
+  -mesa-7.6.1_rc4.ebuild, -mesa-7.7_rc3.ebuild:
+  Remove old rcs (forgot to cvs rm them with previous commit)
+
+*mesa-7.7 (22 Dec 2009)
+*mesa-7.6.1 (22 Dec 2009)
+
+  22 Dec 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
+  +files/0001-st-xorg-Adopt-to-new-dirty-clip-rect-type.patch,
+  +mesa-7.6.1.ebuild, +mesa-7.7.ebuild:
+  Bump to 7.6.1 (with a patch to fix bug 297891) and 7.7 (fixes bug 297807)
+
+  16 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7_rc3.ebuild:
+  Fix S location.
+
+*mesa-7.7_rc3 (16 Dec 2009)
+*mesa-7.6.1_rc4 (16 Dec 2009)
+
+  16 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.3-r1.ebuild,
+  -mesa-7.6.1_rc3.ebuild, +mesa-7.6.1_rc4.ebuild, -mesa-7.7_rc2.ebuild,
+  +mesa-7.7_rc3.ebuild:
+  Version bump. Drop old.
+
+  15 Dec 2009; Brent Baude <ranger@gentoo.org> mesa-7.5.2.ebuild:
+  Marking mesa-7.5.2 ppc64 stable for bug 294958
+
+  15 Dec 2009; Raúl Porcel <armin76@gentoo.org> mesa-7.5.1.ebuild:
+  alpha/ia64/sh/sparc stable wrt #282290
+
+  14 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7_rc2.ebuild:
+  Drop unused video cards
+
+  13 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.1.ebuild,
+  -mesa-7.2.ebuild, -mesa-7.4.4.ebuild:
+  rm
+
+*mesa-7.7_rc2 (13 Dec 2009)
+*mesa-7.6.1_rc3 (13 Dec 2009)
+
+  13 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+  +mesa-7.6.1_rc3.ebuild, +mesa-7.7_rc2.ebuild, metadata.xml:
+  Bump to latest rcs.
+
+  10 Dec 2009; Christian Faulhammer <fauli@gentoo.org> mesa-7.5.2.ebuild:
+  x86 stable, bug 294958
+
+  10 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> mesa-7.5.2.ebuild:
+  amd64 stable wrt #294958
+
+  22 Nov 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+  -files/6.5.2-i965-wine-fix.patch:
+  Drop stale patches.
+
+  26 Oct 2009; Jeroen Roovers <jer@gentoo.org> mesa-7.5.1.ebuild:
+  Stable for HPPA (bug #282290).
+
+  11 Oct 2009; nixnut <nixnut@gentoo.org> mesa-7.5.1.ebuild:
+  ppc stable #282290
+
+  09 Oct 2009; Markus Meier <maekke@gentoo.org> mesa-7.5.1.ebuild:
+  arm stable, bug #282290
+
+  05 Oct 2009; Christian Faulhammer <fauli@gentoo.org> mesa-7.5.1.ebuild:
+  x86 stable, bug 282290
+
+  30 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> mesa-7.5.1.ebuild:
+  amd64 stable wrt #282290
+
+*mesa-7.5.2 (29 Sep 2009)
+
+  29 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.5-r2.ebuild,
+  -mesa-7.5-r3.ebuild, +mesa-7.5.2.ebuild:
+  Version bump. Remove old.
+
+  21 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.1.ebuild,
+  mesa-7.2.ebuild, mesa-7.3-r1.ebuild, mesa-7.4.4.ebuild,
+  mesa-7.5-r2.ebuild, mesa-7.5-r3.ebuild, mesa-7.5.1.ebuild:
+  Remove doc dependency on opengl-manpages. Since they are going to die.
+
+  19 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+  -mesa-6.5.2-r1.ebuild, -mesa-7.0.3.ebuild:
+  Cleanup. Removal of old xorg versions.
+
+*mesa-7.5.1 (04 Sep 2009)
+
+  04 Sep 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.5.1.ebuild:
+  bump to 7.5.1
+
+  26 Aug 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.3-r1.ebuild:
+  Stabilise 7.3-r1 on alpha which should be the target (not the 7.4.2). They
+  are mostly 1:1.
+
+*mesa-7.5-r3 (26 Aug 2009)
+
+  26 Aug 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+  -files/7.4-fix-parallel-make.patch, -mesa-7.4.2.ebuild,
+  -mesa-7.5-r1.ebuild, +mesa-7.5-r3.ebuild:
+  Revbump with all patches from upstream availible up to now. Remove old.
+
+  22 Jul 2009; Rémi Cardona <remi@gentoo.org> mesa-7.5-r2.ebuild:
+  use mirror://gentoo/ instead of gentooexperimental.org
+
+  22 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.5-r2.ebuild:
+  Disable the gallium, it somewhere in the process changed to
+  enabled-by-default
+
+*mesa-7.5-r2 (22 Jul 2009)
+
+  22 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +mesa-7.5-r2.ebuild:
+  Revision bump for applied patches from upstream. Per bug #278630.
+
+  22 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> files/lib/libGL.la,
+  files/lib/libGLU.la:
+  Update the .la files per bug #267580. Hopefully it will fix at least some
+  issues.
+
+  22 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.5.ebuild,
+  mesa-7.5-r1.ebuild:
+  Remove sparc asm checks. As per bug #237648. Reason in comment 13.
+
+  21 Jul 2009; Rémi Cardona <remi@gentoo.org> mesa-7.5-r1.ebuild:
+  it's not an ebuild's job to add -g to CFLAGS (backport from the x11
+  overlay)
+
+*mesa-7.5-r1 (21 Jul 2009)
+
+  21 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +mesa-7.5-r1.ebuild:
+  Whoops the .la files are supposed to be installed by 7.5. Revbump to force
+  others to update.
+
+  21 Jul 2009; Rémi Cardona <remi@gentoo.org> mesa-7.5.ebuild:
+  it's not an ebuild's job to add -g to CFLAGS (backport from the x11
+  overlay)
+
+*mesa-7.5 (21 Jul 2009)
+
+  21 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +mesa-7.5.ebuild:
+  Version bump for new development version of mesa.
+
+  25 Jun 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.4.3.ebuild:
+  Remove broken version.
+
+*mesa-7.4.4 (24 Jun 2009)
+
+  24 Jun 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.4.4.ebuild:
+  bump to 7.4.4, hopefully fixing severe Intel bugs (see bugs #274981 and
+  #275109)
+
+  23 Jun 2009; Tobias Klausmann <klausman@gentoo.org> mesa-7.4.2.ebuild:
+  Stable on alpha for xorg-server-1.5/xorg-x11-7.4
+
+*mesa-7.4.3 (21 Jun 2009)
+
+  21 Jun 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+  -mesa-7.4.1-r2.ebuild, +mesa-7.4.3.ebuild:
+  Version bump. Remove old.
+
+  16 May 2009; Rémi Cardona <remi@gentoo.org> -mesa-7.3.ebuild,
+  -mesa-7.4.ebuild, -mesa-7.4.1-r1.ebuild:
+  drop old ebuilds
+
+*mesa-7.4.2 (16 May 2009)
+
+  16 May 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.4.2.ebuild:
+  bump to 7.4.2
+
+  15 May 2009; Raúl Porcel <armin76@gentoo.org> mesa-7.3-r1.ebuild:
+  arm stable
+
+  09 May 2009; Rémi Cardona <remi@gentoo.org> mesa-7.4.ebuild,
+  mesa-7.4.1-r1.ebuild, mesa-7.4.1-r2.ebuild:
+  drop printproto from DEPEND (I could not find a single reference to it
+  within the code), HPPA now has xf86driproto
+
+*mesa-7.4.1-r2 (07 May 2009)
+
+  07 May 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.4.1-r2.ebuild:
+  revbump to 7.4.1-r2, pull the latest patches from upstream's 7.4 branch
+  (including one that should fix R300 bug #268596)
+
+  02 May 2009; Tomas Chvatal <scarabeus@gentoo.org> mesa-7.4.1-r1.ebuild:
+  Remove glew headers during install. They are needed during build time and
+  glew cant be installed before mesa.
+
+  01 May 2009; Tomas Chvatal <scarabeus@gentoo.org> mesa-7.4.1-r1.ebuild:
+  Move glew RDEPEND to PDEPEND for avoiding circular deps.
+
+*mesa-7.4.1-r1 (29 Apr 2009)
+
+  29 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org> -mesa-7.4.1.ebuild,
+  +mesa-7.4.1-r1.ebuild:
+  Add some upstream patches that fixes various segfaluts. Revbump in the
+  process :]
+
+*mesa-7.4.1 (29 Apr 2009)
+
+  29 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org> -mesa-7.1_rc3.ebuild,
+  -mesa-7.2_rc1.ebuild, -mesa-7.4_rc1.ebuild, +mesa-7.4.1.ebuild:
+  Version bump. Remove _rc releases.
+
+  16 Apr 2009; Jeroen Roovers <jer@gentoo.org> mesa-7.3-r1.ebuild:
+  Stable for HPPA (bug #251832).
+
+  15 Apr 2009; Raúl Porcel <armin76@gentoo.org> mesa-7.3-r1.ebuild:
+  ia64/sh stable wrt #251832
+
+  06 Apr 2009; Friedrich Oslage <bluebird@gentoo.org> mesa-7.3-r1.ebuild:
+  Stable on sparc, bug #251832
+
+  05 Apr 2009; Markus Meier <maekke@gentoo.org> mesa-7.3-r1.ebuild:
+  x86 stable, bug #251832
+
+  05 Apr 2009; Olivier Crête <tester@gentoo.org> mesa-7.3-r1.ebuild:
+  Stable on amd64, bug #251832
+
+  05 Apr 2009; Olivier Crête <tester@gentoo.org> mesa-7.3-r1.ebuild:
+  Stable on amd64, bug #251832
+
+  03 Apr 2009; Brent Baude <ranger@gentoo.org> mesa-7.3-r1.ebuild:
+  Marking mesa-7.3-r1 ppc64 stable for bug 251832
+
+  03 Apr 2009; Brent Baude <ranger@gentoo.org> mesa-7.3-r1.ebuild:
+  Marking mesa-7.3-r1 ppc stable for bug 251832
+
+*mesa-7.4 (29 Mar 2009)
+
+  29 Mar 2009; Rémi Cardona <remi@gentoo.org>
+  +files/7.4-fix-parallel-make.patch, +mesa-7.4.ebuild:
+  bump to 7.4 with parallel make patch
+
+  26 Mar 2009; Tomas Chvatal <scarabeus@gentoo.org> mesa-7.4_rc1.ebuild:
+  We should depend on xcb? not on xcb= as usedep for libX11. Already fixed
+  in overlay.
+
+  26 Mar 2009; Rémi Cardona <remi@gentoo.org> -mesa-7.3-r2.ebuild:
+  drop 7.3-r2, it's almost identical to 7.4_rc1
+
+*mesa-7.4_rc1 (25 Mar 2009)
+
+  25 Mar 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.4_rc1.ebuild:
+  bump to 7.4_rc1 with a couple more patches from git
+
+*mesa-7.3-r2 (23 Mar 2009)
+
+  23 Mar 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.3-r2.ebuild:
+  add another 60+ patches from the 7.4 branch (tarball now has 135 patches),
+  use the -9999 ebuild from the overlay which has all kinds of fixes (thanks
+  to scarabeus and magnus)
+
+*mesa-7.3-r1 (07 Mar 2009)
+
+  07 Mar 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.3-r1.ebuild:
+  add 60+ patches from the 7.4 branch
+
+  03 Feb 2009; Rémi Cardona <remi@gentoo.org> mesa-7.3.ebuild:
+  only pull in the git eclass when PV==9999, fixes bug #257461
+
+*mesa-7.3 (01 Feb 2009)
+
+  01 Feb 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.3.ebuild:
+  bump to 7.3, copy from the x11 overlay
+
+  30 Jan 2009; Mike Frysinger <vapier@gentoo.org> metadata.xml:
+  Document local USE=pic flag.
+
+  22 Oct 2008; Rémi Cardona <remi@gentoo.org> mesa-6.5.2-r1.ebuild,
+  mesa-7.0.3.ebuild, mesa-7.1_rc3.ebuild, mesa-7.1.ebuild,
+  mesa-7.2_rc1.ebuild, mesa-7.2.ebuild:
+  pkgmove from xf86-video-i810 to xf86-video-intel
+
+*mesa-7.2 (21 Sep 2008)
+
+  21 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.2.ebuild:
+  Version bump.
+
+  14 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.2_rc1.ebuild:
+  (#237648) Logic for asm was still wrong on sparc hardened (Does that even
+  exist?). Remove sparc-handling code altogether because the default does
+  the right thing.
+
+  14 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.1.ebuild,
+  mesa-7.2_rc1.ebuild:
+  mesa-progs has to be in PDEPEND to avoid a circular dependency through
+  freeglut (reported by Javier Villavicencio).
+
+*mesa-7.2_rc1 (14 Sep 2008)
+
+  14 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.2_rc1.ebuild:
+  Bump to RC. The major upstream change from 7.1 is to remove DRI2 code,
+  which is still a work in progress. (#237648) Assembly code enabling had
+  reversed logic, so it was enabled for pic & sparc but disabled for
+  everyone else.
+
+  11 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.1.ebuild:
+  Pull in mesa-progs so people don't get really confused by the lack of
+  glxinfo/glxgears.
+
+  08 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.1.ebuild:
+  (#237091) Pull in the latest versions of X libraries and protocol headers
+  so they don't change as easily after mesa is built but before xorg-server.
+
+*mesa-7.1 (06 Sep 2008)
+
+  06 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.1.ebuild:
+  Version bump.
+
+*mesa-7.1_rc3 (09 Jul 2008)
+
+  09 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+  -files/src-mesa-drivers-Makefile, -mesa-7.1_rc2.ebuild,
+  +mesa-7.1_rc3.ebuild:
+  Bump to fix rc2 problems.
+
+  08 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+  -files/0001-dri-drop-asserts-to-make-build-against-stable-libdr.patch,
+  -files/7.0.2-glw.pc.in,
+  -files/0001-mesa-drm-ttm-allow-build-against-non-TTM-aware-libd.patch,
+  -files/version.mk, -mesa-7.0.2.ebuild, -mesa-7.1_rc1.ebuild:
+  Pull old ebuilds that aren't latest stable, ~arch, or RC.
+
+*mesa-7.1_rc2 (08 Jul 2008)
+
+  08 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+  +files/src-mesa-drivers-Makefile, +mesa-7.1_rc2.ebuild:
+  Bump.
+
+  01 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+  +files/0001-dri-drop-asserts-to-make-build-against-stable-libdr.patch,
+  mesa-7.1_rc1.ebuild:
+  Fix build with libdrm 2.3.1.
+
+  27 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>; +files/version.mk:
+  Add missed file.
+
+  27 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+  +files/0001-mesa-drm-ttm-allow-build-against-non-TTM-aware-libd.patch,
+  mesa-7.1_rc1.ebuild:
+  Stop fetching from git pointlessly after downloading the tarball. Add a
+  patch to attempt allowing builds against libdrm 2.3.1. It still doesn't
+  actually work for reasons I don't understand, but it seems to have
+  something to do with the 'depend' files mesa's weird build system uses.
+
+  27 Jun 2008; Ulrich Mueller <ulm@gentoo.org> mesa-6.5.2-r1.ebuild,
+  mesa-7.0.2.ebuild, mesa-7.0.3.ebuild, mesa-7.1_rc1.ebuild:
+  Change dependency from virtual/motif to x11-libs/openmotif, bug 224749.
+
+  13 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.1_rc1.ebuild:
+  Change libdrm dep to 2.3.1 or newer. It won't actually build for the intel
+  driver yet, but others might work.
+
+  10 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.2-r1.ebuild:
+  Drop to ~mips to silence repoman warnings.
+
+*mesa-7.1_rc1 (10 Jun 2008)
+
+  10 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.1_rc1.ebuild:
+  Bump to release candidate for 7.1. Lots of new code, including the swrast
+  DRI driver so we don't need to have Mesa source code during the
+  xorg-server build anymore. There's also a new autoconf build system that
+  simplifies the ebuild considerably.
+
+  02 May 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.0.3.ebuild:
+  Revert the libdrm dependency change. 7.0.3 does not compile with current
+  libdrm-9999 git.
+
+  29 Apr 2008; Hanno Boeck <hanno@gentoo.org> mesa-7.0.3.ebuild:
+  Change libdrm-dep from = to >=.
+
+*mesa-7.0.3 (25 Apr 2008)
+
+  25 Apr 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.0.3.ebuild:
+  (#209900, #212511) Bump.
+
+  31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; -mesa-7.0.1.ebuild:
+  Clean up.
+
+  16 Nov 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.0.1.ebuild,
+  mesa-7.0.2.ebuild:
+  (#199282) Use has_version instead of best_version to make sure we detect
+  xorg-server installation correctly (Jakub Moc).
+
+  14 Nov 2007; Zac Medico <zmedico@gentoo.org> mesa-6.5.2-r1.ebuild,
+  mesa-7.0.1.ebuild, mesa-7.0.2.ebuild:
+  Add eselect-opengl to RDEPEND since having it in DEPEND alone will not
+  pull it in for binary packages. If the postinst `eselect opengl` call fails
+  then it can lead to build errors later, as reported by release engineering.
+
+  12 Nov 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.0.1.ebuild,
+  mesa-7.0.2.ebuild:
+  Add a note about needing to rebuild xorg-server with USE='-nptl'.
+
+  12 Nov 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.0.2.ebuild:
+  Re-keyword, I masked USE=nptl for mesa-7 to work around the problem. This
+  will also require a rebuild of xorg-server without USE=nptl.
+
+  11 Nov 2007; <solar@gentoo.org> mesa-6.5.2-r1.ebuild, mesa-7.0.1.ebuild,
+  mesa-7.0.2.ebuild:
+  - The use of the hardened flag to control the building of position
+  independent code was incorrect. mesa ebuilds now use pic USE flag
+
+*mesa-7.0.2 (10 Nov 2007)
+
+  10 Nov 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+  +files/7.0.2-glw.pc.in, +mesa-7.0.2.ebuild:
+  Bump to 7.0.2, with lots of bugfixes. I removed all keywords because I can't
+  get any 3D apps running besides glxgears, but I'd like to get reports from
+  others to help figure out whether my system's just broken.
+
+  09 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+  -files/mesa-6.5.3-pthread.patch, -mesa-6.5.2.ebuild, -mesa-6.5.3.ebuild:
+  More cleanup of ebuilds that aren't latest stable or ~arch.
+
+  09 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+  -files/6.4-multilib-fix.patch, -files/6.5.1-freebsd-dri.patch,
+  -files/6.5.1-xcb-dont-unlock-twice.patch,
+  -files/6.5-re-order-context-destruction.patch,
+  -files/6.5.1-mach64-dri-private-dma-2.patch,
+  -files/6.4-dont-install-gles-headers.patch,
+  -files/6.5.1-i965-bufmgr.patch, -files/6.5.1-use-new-xcb-naming.patch,
+  -files/change-default-dri-driver-dir-X7.1.patch, -mesa-6.5-r3.ebuild,
+  -mesa-6.5.1-r1.ebuild, -mesa-6.5.1-r4.ebuild:
+  Clean out old versions.
+
+  09 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5-r3.ebuild,
+  mesa-6.5.1-r1.ebuild, mesa-6.5.1-r4.ebuild, mesa-6.5.2.ebuild,
+  mesa-6.5.2-r1.ebuild, mesa-6.5.3.ebuild, mesa-7.0.1.ebuild:
+  Fix quoting issues caught by latest repoman.
+
+  12 Aug 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5-r3.ebuild,
+  mesa-6.5.1-r1.ebuild, mesa-6.5.1-r4.ebuild, mesa-6.5.2.ebuild,
+  mesa-6.5.2-r1.ebuild, mesa-6.5.3.ebuild:
+  Backport GCC 4.2 -O2 workaround for ivopts bug from 7.0.1.
+
+*mesa-7.0.1 (11 Aug 2007)
+
+  11 Aug 2007; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.0.1.ebuild:
+  (#183626) Bump. Lots of bugfixes from the 6.5.3 development release, no new
+  features. Also appending -fno-ivopts on gcc-4.2 systems -- symptoms this
+  fixes include black screens on glxgears. Still has a slight performance
+  issue with nptl if using assembly optimizations, which is the case for
+  non-hardened (see https://bugs.freedesktop.org/show_bug.cgi?id=7459 for
+  details). Some ebuild cleanup, including safety for build directories
+  containing spaces; removal of dead code for EGL; clean generation of libGLU
+  symlinks; getting rid of many of those confusing makedepend warnings; change
+  from add_drivers() function to a cleaner driver_enable() that contains
+  conditionals internally.
+
+  07 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org> mesa-6.5.2-r1.ebuild:
+  Stable on sparc wrt #175465
+
+  01 Aug 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.3.ebuild:
+  (#178655) Add dep on libXdamage for damage reporting.
+
+  30 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5-r3.ebuild,
+  mesa-6.5.1-r1.ebuild, mesa-6.5.1-r4.ebuild, mesa-6.5.2.ebuild,
+  mesa-6.5.2-r1.ebuild, mesa-6.5.3.ebuild:
+  Move eselect-opengl into DEPEND only, so it can be uninstalled later.
+
+  02 Jul 2007; Raúl Porcel <armin76@gentoo.org> mesa-6.5.2-r1.ebuild:
+  alpha stable wrt #175465
+
+  02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> mesa-6.5-r3.ebuild,
+  mesa-6.5.1-r1.ebuild, mesa-6.5.1-r4.ebuild, mesa-6.5.2.ebuild,
+  mesa-6.5.2-r1.ebuild, mesa-6.5.3.ebuild:
+  (QA) RESTRICT clean up.
+
+  24 Jun 2007; Joshua Kinard <kumba@gentoo.org> mesa-6.5.2-r1.ebuild:
+  Stable on mips, per #175465.
+
+  20 May 2007; Jeroen Roovers <jer@gentoo.org> mesa-6.5.2-r1.ebuild:
+  Stable for HPPA (bug #175465).
+
+  13 May 2007; Joshua Baergen <joshuabaergen@gentoo.org>
+  +files/mesa-6.5.3-pthread.patch, mesa-6.5.3.ebuild:
+  Include Diego's xcb patch, fixing bug #177329.
+
+  12 May 2007; nixnut <nixnut@gentoo.org> mesa-6.5.2-r1.ebuild:
+  Stable on ppc wrt bug 175465
+
+  05 May 2007; Daniel Gryniewicz <dang@gentoo.org> mesa-6.5.2-r1.ebuild:
+  Marked stable on amd64 for bug #175465
+
+*mesa-6.5.3 (29 Apr 2007)
+
+  29 Apr 2007; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-6.5.3.ebuild:
+  Add 6.5.3. Supports OpenGL 2.0 and 2.1 in software, adds new GLSL code
+  generator, new vertex buffer object (vbo) infrastructure, and more.
+
+  29 Apr 2007; Andrej Kacian <ticho@gentoo.org> mesa-6.5.2-r1.ebuild:
+  Stable on x86, bug #175465.
+
+  25 Apr 2007; Raúl Porcel <armin76@gentoo.org> mesa-6.5.2-r1.ebuild:
+  Stable on ia64 wrt bug #175465.
+
+  25 Apr 2007; Markus Rothe <corsair@gentoo.org> mesa-6.5.2-r1.ebuild:
+  Stable on ppc64; bug #175465
+
+  07 Apr 2007; Mike Frysinger <vapier@gentoo.org> mesa-6.5-r3.ebuild:
+  Remove fluff reference to EXEDESTTREE.
+
+*mesa-6.5.2-r1 (19 Feb 2007)
+
+  19 Feb 2007; Joshua Baergen <joshuabaergen@gentoo.org>
+  +files/6.5.2-i965-wine-fix.patch, +mesa-6.5.2-r1.ebuild:
+  Fix 3D apps running in Wine.  (Bug #163973, riku)
+
+  19 Feb 2007; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.5.2.ebuild:
+  Re-add die to mesa if building +xcb when libX11 is -xcb. (Bug #163761, Petteri
+  Räty)
+
+  18 Feb 2007; Ryan Hill <dirtyepic@gentoo.org> mesa-6.5.2.ebuild:
+  Apply previous fix to the 6.5.2 ebuild as well.
+
+  17 Feb 2007; Simon Stelling <blubb@gentoo.org> mesa-6.5.1-r1.ebuild:
+  fix from my last commit: string equality != integer equality
+
+  17 Feb 2007; Simon Stelling <blubb@gentoo.org> mesa-6.5.1-r1.ebuild,
+  mesa-6.5.2.ebuild:
+  set CONFIG depending on ABI on amd64; bug 125125
+
+  24 Jan 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+  -files/64bit-fix-have-dix-config.patch,
+  -files/64bit-fix-indirect-vertex-array.patch,
+  -files/6.5-fix-radeon-PCIE.patch,
+  -files/change-default-dri-driver-dir.patch,
+  -files/makedepend-location.patch, -files/radeon-texture-problem.patch,
+  -mesa-6.4.2-r2.ebuild, -mesa-6.5-r4.ebuild, -mesa-6.5.1-r2.ebuild:
+  Clean up.
+
+  08 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.5.2.ebuild:
+  leio bets his gold watch that this version needs a better libdrm too.
+
+  08 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  mesa-6.5.1-r4.ebuild:
+  Fix libdrm dependency due to mach64 patch.  (Thanks to leio)
+
+  07 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  mesa-6.5.1-r4.ebuild:
+  Whitespace fix to make repoman happy.
+
+*mesa-6.5.1-r4 (07 Dec 2006)
+
+  07 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  +files/6.5.1-i965-bufmgr.patch, -mesa-6.5.1-r3.ebuild,
+  +mesa-6.5.1-r4.ebuild:
+  Fix 3D on i965 (bug #156569, riku) and make sure libX11 was built with xcb
+  when building +xcb (bug #156397, Priit Laes).
+
+  07 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  -mesa-6.5.2_pre20061102.ebuild:
+  Remove mesa snapshot.
+
+*mesa-6.5.1-r3 (07 Dec 2006)
+
+  07 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  +files/6.5.1-mach64-dri-private-dma-2.patch, +mesa-6.5.1-r3.ebuild:
+  Fix compiling against newer libdrms (2.2.0+).  Thanks for Mart Raudsepp for
+  the discovery of the patch.  (Fixes bug #154827)
+
+*mesa-6.5.2 (04 Dec 2006)
+
+  04 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org> +mesa-6.5.2.ebuild:
+  New mesa release with numerous bugfixes and improvements.  Introduces the
+  i915tex driver, which takes advantage of the new DRI memory manager.  You'll
+  need a newer kernel DRM to use it than is currently available in the tree.
+
+  01 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> mesa-6.5.1-r1.ebuild:
+  Stable on hppa
+
+  03 Nov 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  mesa-6.5.2_pre20061102.ebuild:
+  Mesa 6.5.2 apparently requires >=libdrm-2.2.
+
+  03 Nov 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  mesa-6.5.2_pre20061102.ebuild:
+  Fix SRC_URI.
+
+*mesa-6.5.2_pre20061102 (03 Nov 2006)
+
+  03 Nov 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  +mesa-6.5.2_pre20061102.ebuild:
+  Add a mesa snapshot for the input hotplug server.
+
+  27 Oct 2006; Joseph Jezak <josejx@gentoo.org> mesa-6.5.1-r1.ebuild,
+  mesa-6.5.1-r2.ebuild:
+  Marked ppc stable.
+
+  17 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> mesa-6.5.1-r1.ebuild:
+  Stable on sparc
+
+  16 Oct 2006; Markus Rothe <corsair@gentoo.org> mesa-6.5.1-r1.ebuild:
+  Stable on ppc64
+
+  13 Oct 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  mesa-6.5.1-r1.ebuild:
+  AMD64/x86 stable for bug #144549 (X7.1).
+
+  11 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.4.2-r2.ebuild,
+  mesa-6.5-r3.ebuild, mesa-6.5-r4.ebuild, mesa-6.5.1-r1.ebuild,
+  mesa-6.5.1-r2.ebuild:
+  (#149248) Since upstream cares more about performance than textrels etc, add
+  a RESTRICT for the stricter FEATURES setting.
+
+*mesa-6.5.1-r2 (09 Oct 2006)
+
+  09 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  +files/6.5.1-use-new-xcb-naming.patch,
+  +files/6.5.1-xcb-dont-unlock-twice.patch, +mesa-6.5.1-r2.ebuild:
+  Add a masked, XCB-capable mesa.
+
+  28 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; -mesa-6.5.1.ebuild:
+  Clean out broken ebuild.
+
+  28 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1-r1.ebuild:
+  Require glproto 1.4.8 instead of 1.4.7 for new eye candy to work properly
+  (Hanno Böck).
+
+  21 Sep 2006; Javier Villavicencio <the_paya@gentoo.org>
+  +files/6.5.1-freebsd-dri.patch, mesa-6.5.1-r1.ebuild:
+  Fixes to build on Gentoo/FreeBSD with DRI enabled wrt bug #146892.
+
+  18 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; ChangeLog:
+  Add bug number for libGL.la fix.
+
+*mesa-6.5.1-r1 (18 Sep 2006)
+
+  18 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+  +mesa-6.5.1-r1.ebuild:
+  Bump to incorporate needed fixes.
+
+  18 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
+  (#147982) Add in a sed of libdir in libGL.la from 6.5-r4 to avoid breaking
+  things in a big way.
+
+  17 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
+  (#147872) Require libdrm 2.0.2. At least the r200 driver needs it, maybe more.
+
+  16 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
+  Add pkgconfig to DEPEND.
+
+  16 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
+  Get rid of arch-specific defaults, since they're in profiles now.
+
+  16 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
+  (#147804) Add i965 to build when VIDEO_CARDS=i810.
+
+  16 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
+  Dep on glproto 1.4.7, not 1.4.4. Older versions aren't in portage anymore,
+  but it's still possible to remain on them (Hanno Böck).
+
+*mesa-6.5.1 (16 Sep 2006)
+
+  16 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-6.5.1.ebuild:
+  Bump.
+
+  25 Aug 2006; Hanno Boeck <hanno@gentoo.org> files/lib/libGL.la,
+  mesa-6.4.2-r2.ebuild, mesa-6.5-r3.ebuild, mesa-6.5-r4.ebuild:
+  Really fix libGL.la, replace lib with get_libdir.
+
+  25 Aug 2006; Hanno Boeck <hanno@gentoo.org> files/lib/libGL.la:
+  Make libGL.la point to /usr/lib to let apps link against currently running
+  libGL.
+
+*mesa-6.5-r4 (29 Jul 2006)
+
+  29 Jul 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  +files/6.5-fix-radeon-PCIE.patch, +mesa-6.5-r4.ebuild:
+  Add a fix for Radeons using PCIE.  (Thanks to Jochen Trumpf, bug #136315)
+
+  19 Jul 2006; Guy Martin <gmsoft@gentoo.org> mesa-6.5-r3.ebuild:
+  Stable on hppa.
+
+  12 Jul 2006; Stefan Schweizer <genstef@gentoo.org> mesa-6.4.2-r2.ebuild,
+  mesa-6.5-r3.ebuild:
+  Do not use xargs because it does not work for functions
+
+  12 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.4.2-r2.ebuild,
+  mesa-6.5-r3.ebuild:
+  Stop PROVIDE-ing new-style virtuals.
+
+  12 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.4.2-r2.ebuild,
+  mesa-6.5-r3.ebuild:
+  (#120375) Pull in app-doc/opengl-manpages on USE=doc.
+
+  10 Jul 2006; Aron Griffis <agriffis@gentoo.org> mesa-6.5-r3.ebuild:
+  Mark 6.5-r3 stable on ia64
+
+  02 Jul 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild,
+  mesa-6.5-r3.ebuild:
+  Also disable ASM_API on USE=hardened (Kevin F. Quinn).
+
+  30 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5-r3.ebuild:
+  ppc/sparc/mips/alpha/arm/sh stable
+
+  30 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild:
+  ppc/sparc/mips/alpha/arm/sh stable
+
+  30 Jun 2006; Markus Rothe <corsair@gentoo.org> mesa-6.5-r3.ebuild:
+  Stable on ppc64
+
+  30 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> mesa-6.4.2-r2.ebuild:
+  Stable on amd64.
+
+  30 Jun 2006; Markus Rothe <corsair@gentoo.org> mesa-6.4.2-r2.ebuild:
+  Stable on ppc64
+
+  30 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild:
+  x86 stable.
+
+  30 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild,
+  mesa-6.5-r3.ebuild:
+  Add hardened USE flag to deactivate assembly code.
+
+  21 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5-r3.ebuild:
+  (#130951) Fix libGLU symlink (Torsten Veller).
+
+  27 Apr 2006; Marien Zwart <marienz@gentoo.org> Manifest:
+  Fixing SHA256 digest, pass four
+
+  21 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; -mesa-6.5.ebuild,
+  -mesa-6.5-r1.ebuild, -mesa-6.5-r2.ebuild:
+  Pull old masked ebuilds.
+
+*mesa-6.5-r3 (21 Apr 2006)
+
+  21 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; +mesa-6.5-r3.ebuild:
+  Add USE=nptl to build with TLS. Note that AIGLX will not work unless both
+  xorg-server and mesa are built with the same setting of the nptl flag.
+
+  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5.ebuild,
+  mesa-6.5-r1.ebuild, mesa-6.5-r2.ebuild:
+  (#130174) Update glproto dep to minimum 1.4.4.
+
+  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild,
+  mesa-6.5.ebuild, mesa-6.5-r1.ebuild, mesa-6.5-r2.ebuild:
+  Split out ATI cards into mach64, r128 and radeon.
+
+  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild,
+  mesa-6.5.ebuild, mesa-6.5-r1.ebuild:
+  Alphabetize drivers in the other ebuilds as well, for easier application of
+  other patches.
+
+  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5-r2.ebuild:
+  Append -fno-strict-aliasing, many drivers have issues.
+
+  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5-r2.ebuild:
+  Alphabetize ordering of drivers for easier parsing.
+
+  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5-r2.ebuild:
+  Don't need to sed dprintf anymore, it's fixed upstream.
+
+*mesa-6.5-r2 (14 Apr 2006)
+
+  14 Apr 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  +files/change-default-dri-driver-dir-X7.1.patch, +mesa-6.5-r2.ebuild:
+  Revision bump to use new paths for drivers.  Drivers now sit in
+  /usr/$(get_libdir)/dri, rather than /usr/$(get_libdir)/xorg/modules/dri .
+
+*mesa-6.5-r1 (12 Apr 2006)
+
+  12 Apr 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  +files/6.5-re-order-context-destruction.patch, +mesa-6.5-r1.ebuild:
+  Add some upstream fixes that re-order GL context destruction in the ati
+  drivers to avoid a possible NULL dereference.
+  
+  I've also restored the entire ChangeLog, as it appears to have been truncated
+  during Diego's last commit.
+
+  08 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> mesa-6.4.2-r2.ebuild,
+  mesa-6.5.ebuild:
+  Add a simple sed to replace -ldl with the right call for the libc used with
+  dlopen_lib() function in portability eclass. This allows to link correctly
+  to libGL when using libtool on Gentoo/FreeBSD.
+
+  03 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> mesa-6.4.2-r2.ebuild,
+  mesa-6.5.ebuild:
+  Add special case for FreeBSD where libGL has only major soversion.
+
+  01 Apr 2006; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.5.ebuild:
+  Bump the libdrm dependency and fix the i810 chip series driver compile.  (Bug
+  #128328, Alex Rostovtsev)
+
+  01 Apr 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  mesa-6.4.2-r2.ebuild, mesa-6.5.ebuild:
+  Add some missing x11-proto dependencies.  (bug #128336, Steven Jenkins)
+
+*mesa-6.5 (01 Apr 2006)
+
+  01 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; +mesa-6.5.ebuild:
+  Bump for masked development release, needed for newer i810 drivers. Also
+  adds some GLSL (OpenGL Shading Language) support and lots of development in
+  r300 driver, among others.
+
+  31 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> mesa-6.4.2-r2.ebuild:
+  Add ~x86-fbsd keyword.
+
+*mesa-6.4.2-r2 (12 Mar 2006)
+
+  12 Mar 2006; Joshua Baergen <joshuabaergen@gentoo.org>
+  +files/radeon-texture-problem.patch, -mesa-6.4.2-r1.ebuild,
+  +mesa-6.4.2-r2.ebuild:
+  Fix a Radeon crash in certain applications (such as Croquet 0.3), and don't
+  compile debug code into the drivers if USE=-debug (Santiago Gala, bug
+  #125004).  Also, fix a naming conflict between SGI GLU code and glibc 2.4
+  (SpanKY, KIMURA Masaru / hiyuh, bug #125809).
+
+  28 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r1.ebuild:
+  Make USE=debug work more nicely with FEATURES=splitdebug.
+
+*mesa-6.4.2-r1 (16 Feb 2006)
+
+  16 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>;
+  +files/64bit-fix-have-dix-config.patch,
+  +files/64bit-fix-indirect-vertex-array.patch,
+  -files/6.4.1-amd64-include-assyntax.patch, -mesa-6.4.1-r1.ebuild,
+  -mesa-6.4.2.ebuild, +mesa-6.4.2-r1.ebuild:
+  Really fix direct rendering on amd64. Also remove old versions.
+
+  14 Feb 2006; Markus Rothe <corsair@gentoo.org> mesa-6.4.1-r1.ebuild,
+  mesa-6.4.2.ebuild:
+  Added ~ppc64
+
+  06 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2.ebuild:
+  Add mach64 and tdfx to ppc defaults. Some evidence that glide-v3 works on
+  ppc exists; needs testing, and is required for tdfx 3D to work.
+
+  06 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2.ebuild:
+  Add arch-dependent defaults for building 3D drivers.
+
+  03 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2.ebuild:
+  Add a fake video_cards_none for people who don't want any DRI drivers, e.g.
+  if they're using binary drivers.
+
+*mesa-6.4.2 (03 Feb 2006)
+
+  03 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; +mesa-6.4.2.ebuild:
+  Bump. Port to VIDEO_CARDS. Not really any relevant upstream changes, except
+  a change in the install script to install GLw headers. Also,
+  6.4.1-amd64-include-assyntax.patch was incorporated into this release.
+
+  02 Feb 2006; Herbie Hopkins <herbs@gentoo.org> mesa-6.4.1-r1.ebuild:
+  Fix setting of the default dri drivers directory.
+
+  02 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.1-r1.ebuild:
+  Add USE=debug support.
+
+  31 Jan 2006; Rene Nussbaumer <killerfox@gentoo.org> mesa-6.4.1-r1.ebuild:
+  Unstable on hppa.
+
+  23 Jan 2006; Donnie Berkholz <spyderous@gentoo.org>;
+  -files/configurable-dri-dir.patch, mesa-6.4.1-r1.ebuild:
+  Some people don't understand what #ifndef means.
+
+  26 Dec 2005; Stefaan De Roeck <stefaan@gentoo.org> mesa-6.4.1-r1.ebuild:
+  Marked ~alpha
+
+  16 Dec 2005; Herbie Hopkins <herbs@gentoo.org>
+  +files/6.4-multilib-fix.patch, +files/configurable-dri-dir.patch,
+  mesa-6.4.1-r1.ebuild:
+  Cleaned up multilib fixes, made default dri drivers directory configurable
+  so we can set it to lib64 on multilib systems.
+
+*mesa-6.4.1-r1 (12 Dec 2005)
+
+  12 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; -mesa-6.4.1.ebuild,
+  +mesa-6.4.1-r1.ebuild:
+  Install correct libGLU.so.1.3.
+
+  09 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; -mesa-6.4-r1.ebuild:
+  Pull old versions.
+
+  02 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  files/6.4.1-amd64-include-assyntax.patch:
+  Add more info to patch.
+
+  02 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  +files/6.4.1-amd64-include-assyntax.patch, mesa-6.4.1.ebuild:
+  (#114066) Add 6.4.1-amd64-include-assyntax.patch to fix amd64 build.
+
+*mesa-6.4.1 (30 Nov 2005)
+
+  30 Nov 2005; Donnie Berkholz <spyderous@gentoo.org>; +mesa-6.4.1.ebuild:
+  New version. This is the one that's expected to be in X.Org 7.0. Fix libGL.*
+  symlink deletion so the dot really matches a dot instead of any character,
+  so other symlinks don't get deleted. (#110840) Build with PIC, since it
+  hasn't been shown to slow it down. Remove commented-out lines about OSMesa.
+  Keep using 6.4-dont-install-gles-headers.patch, so don't delete it when
+  pulling 6.4.
+
+  27 Nov 2005; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.4-r1.ebuild:
+  Added Diego's patch for FreeBSD support. Closes bug #111145.
+
+  16 Nov 2005; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.4-r1.ebuild:
+  Changed xorg-x11 blocker for clarity.
+
+*mesa-6.4-r1 (14 Nov 2005)
+
+  14 Nov 2005; Donnie Berkholz <spyderous@gentoo.org>; -mesa-6.4.ebuild,
+  +mesa-6.4-r1.ebuild:
+  Install GLwDrawA.h, and if USE=motif, install GLwMDrawA.h. Reported by
+  Stefaan De Roeck <stefaan@gentoo.org>.
+
+  14 Nov 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  -files/dont-install-gles-headers.patch,
+  -files/mesa-add-dri-asm-files.patch, -mesa-6.3.2-r1.ebuild:
+  Pull old version.
+
+  11 Nov 2005; MATSUU Takuto <matsuu@gentoo.org> mesa-6.4.ebuild:
+  added ~sh keyword
+
+  01 Nov 2005; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.4.ebuild:
+  Change xorg-x11 blocker to allow for rc metabuilds.
+
+*mesa-6.4 (31 Oct 2005)
+
+  31 Oct 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  +files/6.4-dont-install-gles-headers.patch, +mesa-6.4.ebuild:
+  Bump.
+
+  30 Oct 2005; Joshua Baergen <joshuabaergen@gentoo.org>
+  mesa-6.3.2-r1.ebuild:
+  Change xorg-x11 blocker to allow for metabuilds.
+
+  19 Oct 2005; Stephen P. Becker <geoman@gentoo.org> mesa-6.3.2-r1.ebuild:
+  added ~mips keyword
+
+  12 Oct 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.2-r1.ebuild:
+  Add runtime blocker for !<x11-base/xorg-x11-7.
+
+  12 Oct 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  -files/lib/libOSMesa.la, -mesa-6.3.1.1-r3.ebuild, -mesa-6.3.2.ebuild:
+  Pull old ebuilds. Current versions aren't using libOSMesa.la either, so pull
+  that too.
+
+*mesa-6.3.2-r1 (20 Sep 2005)
+
+  20 Sep 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  +mesa-6.3.2-r1.ebuild:
+  Mesa isn't making libGLU.so -> libGLU.so.# unversioned to versioned symlink.
+  This makes stuff trying to link against libGLU break.
+
+  09 Sep 2005; Donnie Berkholz <spyderous@gentoo.org>; +metadata.xml:
+  Add metadata.
+
+  06 Sep 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  mesa-6.3.1.1-r3.ebuild, mesa-6.3.2.ebuild:
+  Add missing 'set' argument to eselect.
+
+  06 Sep 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.2.ebuild:
+  (#104367) Add xf86vidmodeproto and libICE to deps.
+
+  04 Sep 2005; Luca Barbato <lu_zero@gentoo.org> mesa-6.3.2.ebuild:
+  Marked ~ppc
+
+  03 Sep 2005; Jeremy Huddleston <eradicator@gentoo.org>
+  mesa-6.3.1.1-r3.ebuild, mesa-6.3.2.ebuild:
+  Switching to use eselect over opengl-update.
+
+  22 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.2.ebuild:
+  Split out an arch-specific variable DRI_DRIVERS_${ARCH} for defining which
+  drivers to build. Put it up at the top, to try separating data from code.
+  Perhaps doing something similar in pkg_setup(), but having if...elif and
+  just DRI_DRIVERS, would work reasonably, but it doesn't isolate the data as
+  well.
+
+  22 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.2.ebuild:
+  Move EXTRA_LIB_PATH blanking out from within a sparc block, because it
+  should be used for everyone. Also move arch-specific section away from
+  generic sections.
+
+*mesa-6.3.2 (22 Aug 2005)
+
+  22 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  +files/mesa-add-dri-asm-files.patch, +mesa-6.3.2.ebuild:
+  Bump to latest devel release. The assembly files in DRI drivers didn't get
+  packaged, so add mesa-add-dri-asm-files.patch to patch them in. I think this
+  release will also fix 32/64 systems, if they also have the latest DRM.
+
+  22 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  -files/fix-include-locations.patch, -files/fix-xthreads-location.patch,
+  -files/use-xthreads.patch, -mesa-6.3.1.1.ebuild, -mesa-6.3.1.1-r1.ebuild,
+  -mesa-6.3.1.1-r2.ebuild:
+  Pull old versions.
+
+  20 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  mesa-6.3.1.1-r3.ebuild:
+  Stop installing glut headers to avoid conflicts with virtual/glut providers.
+  Reported by Andrej Kacian <ticho@gentoo.org>.
+
+  17 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  mesa-6.3.1.1-r3.ebuild:
+  Add x11-proto/printproto to DEPEND on USE=motif.
+
+  16 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  mesa-6.3.1.1-r3.ebuild:
+  libOSMesa isn't building anymore, so stop symlinking and installing libtool
+  archives.
+
+*mesa-6.3.1.1-r3 (16 Aug 2005)
+
+  16 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  +mesa-6.3.1.1-r3.ebuild:
+  Fix direct rendering on r200 by adding USING_EGL=0. Turning off EGL takes a
+  lot of work.
+
+  15 Aug 2005; Herbie Hopkins <herbs@gentoo.org> mesa-6.3.1.1-r2.ebuild:
+  Fix multilib issue and add ~amd64 keyword.
+
+  15 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  mesa-6.3.1.1-r2.ebuild:
+  Install libGL.la to /usr/lib/opengl/xorg-x11/lib, where libGL.so really is,
+  instead of /usr/lib. This only seems necessary because of the LDPATH hack in
+  opengl-update.
+
+*mesa-6.3.1.1-r2 (14 Aug 2005)
+
+  14 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  +files/change-default-dri-driver-dir.patch,
+  +files/dont-install-gles-headers.patch, +mesa-6.3.1.1-r2.ebuild:
+  Stop building EGL things, because they aren't ready upstream. Also the EGL
+  demos rely on glut, which creates a circular dependency. Change the default
+  DRI driver directory to the one we actually use. This should be enough to
+  get direct rendering working.
+
+*mesa-6.3.1.1-r1 (12 Aug 2005)
+
+  12 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  +mesa-6.3.1.1-r1.ebuild:
+  Bump to update to CVS head as of yesterday.
+
+  12 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
+  Turn parallel build back off. Can get problems with depend files not existing.
+
+  12 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
+  Test out parallel make. fmccor says it works.
+
+  12 Aug 2005; Ferris McCormick <fmccor@gentoo.org> mesa-6.3.1.1.ebuild:
+  1. General cleanup for sparc, get rid of the ill-considered
+     IUSE=dri;
+  2. Make sure to install the actual dri drivers as well as the
+     base libGL package.
+
+  11 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; Manifest:
+  Fix manifest.
+
+  11 Aug 2005; Ferris McCormick <fmccor@gentoo.org> mesa-6.3.1.1.ebuild:
+  Following changes build a reunning libGL for sparc testing and set
+  a sane set of DRI drivers, depending on USE=dri flag:
+  1.	With dri, sparc assembly appears to be unusable.  This is because
+  	the build and directory structures have been changed so that the
+  	actual initialization code moves to the dri drivers themselves
+  	when sparc assembly is built.  Correcting this is nontrivial,
+  	because the glx build uses hard-defined source names and paths.
+  2.	With USE=dri, on sparc build only a subset of the full complement
+  	of drivers.  For now, DRI_DIRS = fb ffb mach64 mga radeon savage
+  3.  Without USE=dri, change the target to (generic) linux-sparc.  In
+  	this case, architecture is actually set by CFLAGS passed in to the
+  	configure target, and both glx-capable and stand-alone versions
+  	of libGL are built.
+  4.  For testing, and perhaps ultimately for performance, on sparc, unless
+  	USE=dri, do not fix_opengl_symlinks
+  With these changes in place,
+  LD_LIBRARY_PATH=<path-to-libGL>:<path-to-libGLU> some-libGL-program
+  works fine.
+
+  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  +files/fix-include-locations.patch, mesa-6.3.1.1.ebuild:
+  Add fix-include-locations.patch to standardize include locations to
+  <X11/extensions/foo.h> instead of some mixture of <foo.h> and "foo.h."
+
+  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  +files/makedepend-location.patch, mesa-6.3.1.1.ebuild:
+  Add makedepend-location.patch to stop mesa from looking in /usr/X11R6/bin.
+
+  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
+  Add dep on >=x11-proto/glproto-1.4-r1.
+
+  10 Aug 2005; Ferris McCormick <fmccor@gentoo.org> mesa-6.3.1.1.ebuild:
+  1.  Correct echo "$(...)" to echo "\$(...)";
+  2.  When building for sparc, make sure that:
+  	a.  Use sparc assembly versions where appropriate;
+  	b.  Make sure sparc-specific sources are built;
+  	c.  For testing, don't actually build the dri drivers
+  	    because they are known not to work.
+  	d.  TODO:  Figure out why two versions of libGL are built,
+  		and why the install ends up linking to the incorrect
+  		version (the one with the undefined externals).
+
+  10 Aug 2005; Ferris McCormick <fmccor@gentoo.org> mesa-6.3.1.1.ebuild:
+  Add ~sparc keyword (X modular testing).
+
+  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
+  Add dep on >=opengl-update-2.2.2.
+
+  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
+  Add fix_opengl_symlinks() from xorg-x11, to set up the libGL symlinks.
+
+  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
+  Stop cleaning out /usr/lib/opengl/xorg-x11, now that two other packages also
+  install to it.
+
+  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; -mesa-3.5.ebuild:
+  Drop old version.
+
+*mesa-6.3.1.1 (10 Aug 2005)
+
+  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
+  +files/fix-xthreads-location.patch, +files/lib/libGL.la,
+  +files/lib/libGLU.la, +files/lib/libOSMesa.la, +files/use-xthreads.patch,
+  +mesa-6.3.1.1.ebuild:
+  Add for modular X.
+
+  07 Jun 2004; Aron Griffis <agriffis@gentoo.org> mesa-3.5.ebuild:
+  Fix use invocation
+
+  24 Nov 2003; Aron Griffis <agriffis@gentoo.org> mesa-3.5.ebuild:
+  Add ~alpha
+
+  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+ 
+*mesa-3.5 (22 Jul 2002)
+
+  22 Jul 2002; Seemant Kulleen <seemant@gentoo.org> mesa-3.5.ebuild
+  files/digest-mesa-3.5 :
+
+  This was updated a while ago. I repoman'd it, and cleaned up spacing and
+  syntax a little.
+
+*mesa-3.4.2 (1 Feb 2002)
+
+  1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+  
+  Added initial ChangeLog which should be updated whenever the package is
+  updated in any way. This changelog is targetted to users. This means that the
+  comments should well explained and written in clean English. The details about
+  writing correct changelogs are explained in the skel.ChangeLog file which you
+  can find in the root directory of the portage repository.

diff --git a/media-libs/mesa/files/eselect-mesa.conf.7.11 b/media-libs/mesa/files/eselect-mesa.conf.7.11
new file mode 100644
index 0000000..3a1b196
--- /dev/null
+++ b/media-libs/mesa/files/eselect-mesa.conf.7.11
@@ -0,0 +1,39 @@
+# mesa classic/gallium implementations in this release
+
+# Syntax description:
+# * MESA_IMPLEMENTATIONS contains a space-delimited list of switchable
+#   classic/gallium implementations.
+# * MESA_DRIVERS is an associative array, for each member "foo" of
+#   MESA_IMPLEMENTATIONS it contains the following elements:
+#   foo,description - Human-readable description of the driver
+#   foo,classicdriver - Filename of the classic driver
+#   foo,galliumdriver - Filename of the gallium driver
+#   foo,default - which of classic or gallium is chosen by default
+
+MESA_IMPLEMENTATIONS="i915 i965 r300 r600 sw"
+declare -A MESA_DRIVERS || die "MESA_DRIVERS already in environment and not associative."
+
+MESA_DRIVERS[i915,description]="i915 (Intel 915, 945)"
+MESA_DRIVERS[i915,classicdriver]="i915_dri.so"
+MESA_DRIVERS[i915,galliumdriver]="i915g_dri.so"
+MESA_DRIVERS[i915,default]="classic"
+
+MESA_DRIVERS[i965,description]="i965 (Intel 965, G/Q3x, G/Q4x)"
+MESA_DRIVERS[i965,classicdriver]="i965_dri.so"
+MESA_DRIVERS[i965,galliumdriver]="i965g_dri.so"
+MESA_DRIVERS[i965,default]="classic"
+
+MESA_DRIVERS[r300,description]="r300 (Radeon R300-R500)"
+MESA_DRIVERS[r300,classicdriver]="r300_dri.so"
+MESA_DRIVERS[r300,galliumdriver]="r300g_dri.so"
+MESA_DRIVERS[r300,default]="gallium"
+
+MESA_DRIVERS[r600,description]="r600 (Radeon R600-R700, Evergreen, Northern Islands)"
+MESA_DRIVERS[r600,classicdriver]="r600_dri.so"
+MESA_DRIVERS[r600,galliumdriver]="r600g_dri.so"
+MESA_DRIVERS[r600,default]="gallium"
+
+MESA_DRIVERS[sw,description]="sw (Software renderer)"
+MESA_DRIVERS[sw,classicdriver]="swrast_dri.so"
+MESA_DRIVERS[sw,galliumdriver]="swrastg_dri.so"
+MESA_DRIVERS[sw,default]="gallium"

diff --git a/media-libs/mesa/files/glx_ro_text_segm.patch b/media-libs/mesa/files/glx_ro_text_segm.patch
new file mode 100644
index 0000000..495b7dc
--- /dev/null
+++ b/media-libs/mesa/files/glx_ro_text_segm.patch
@@ -0,0 +1,28 @@
+2011-02-09	Jeremy Huddleston <jeremyhu@freedesktop.org
+
+	#240956
+	* configure.ac	add support to enable readonly test segment on x86
+
+--- configure.ac.orig	2008-11-17 23:19:38.000000000 +0100
++++ configure.ac	2008-11-17 23:20:17.000000000 +0100
+@@ -499,6 +499,20 @@
+     enable_xcb=no
+ fi
+ 
++
++dnl readonly text segment on x86 hardened platforms
++AC_ARG_ENABLE([glx_rts],
++    [AS_HELP_STRING([--enable-glx-rts],
++        [on x86, use a readonly text segment for libGL @<:@default=disabled@:>@])],
++    [enable_glx_rts="$enableval"],
++    [enable_glx_rts=no])
++if test "x$enable_glx_rts" = xyes; then
++    DEFINES="$DEFINES -DGLX_X86_READONLY_TEXT"
++else
++    enable_glx_rts=no
++fi
++
++
+ dnl
+ dnl libGL configuration per driver
+ dnl

diff --git a/media-libs/mesa/files/uclibc-defines.patch b/media-libs/mesa/files/uclibc-defines.patch
new file mode 100644
index 0000000..901f9cc
--- /dev/null
+++ b/media-libs/mesa/files/uclibc-defines.patch
@@ -0,0 +1,12 @@
+diff -Naur Mesa-7.11.2.orig/configure Mesa-7.11.2/configure
+--- Mesa-7.11.2.orig/configure	2012-01-06 12:53:32.000000000 -0500
++++ Mesa-7.11.2/configure	2012-01-06 12:54:20.000000000 -0500
+@@ -11401,6 +11401,8 @@
+ echo "        Shared libs:     $enable_shared"
+ echo "        Static libs:     $enable_static"
+ 
++DEFINES+=" -U__GLIBC__ -U_GNU_SOURCE"
++
+ # cleanup the CFLAGS/CXXFLAGS/DEFINES vars
+ cflags=`echo $CFLAGS $OPT_FLAGS $PIC_FLAGS $ARCH_FLAGS | \
+     $SED 's/^ *//;s/  */ /;s/ *$//'`

diff --git a/media-libs/mesa/mesa-7.11.2-r99.ebuild b/media-libs/mesa/mesa-7.11.2-r99.ebuild
new file mode 100644
index 0000000..e4241b7
--- /dev/null
+++ b/media-libs/mesa/mesa-7.11.2-r99.ebuild
@@ -0,0 +1,324 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-7.11.2.ebuild,v 1.6 2011/12/27 20:47:37 maekke Exp $
+
+EAPI=3
+
+inherit base autotools multilib flag-o-matic python toolchain-funcs
+
+OPENGL_DIR="xorg-x11"
+
+MY_PN="${PN/m/M}"
+MY_P="${MY_PN}-${PV/_/-}"
+MY_SRC_P="${MY_PN}Lib-${PV/_/-}"
+
+FOLDER="${PV/_rc*/}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="http://mesa3d.sourceforge.net/"
+
+SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-01.tar.bz2"
+SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2
+		${SRC_PATCHES}"
+
+LICENSE="MIT LGPL-3 SGI-B-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86" 
+
+INTEL_CARDS="intel"
+RADEON_CARDS="radeon"
+VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} mach64 mga nouveau r128 savage sis vmware tdfx via"
+for card in ${VIDEO_CARDS}; do
+	IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+	bindist +classic debug +egl +gallium gbm gles +llvm motif +nptl openvg osmesa pic pax_kernel selinux shared-dricore +shared-glapi"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.24"
+# not a runtime dependency of this package, but dependency of packages which
+# depend on this package, bug #342393
+EXTERNAL_DEPEND="
+	>=x11-proto/dri2proto-2.2
+	>=x11-proto/glproto-1.4.11
+"
+# keep correct libdrm and dri2proto dep
+# keep blocks in rdepend for binpkg
+RDEPEND="${EXTERNAL_DEPEND}
+	!<x11-base/xorg-server-1.7
+	!<=x11-proto/xf86driproto-2.0.3
+	classic? ( app-admin/eselect-mesa )
+	gallium? ( app-admin/eselect-mesa )
+	app-admin/eselect-opengl
+	dev-libs/expat
+	gbm? ( sys-fs/udev )
+	x11-libs/libICE
+	>=x11-libs/libX11-1.3.99.901
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXi
+	x11-libs/libXmu
+	x11-libs/libXxf86vm
+	motif? ( x11-libs/openmotif )
+	gallium? (
+		llvm? ( >=sys-devel/llvm-2.8 )
+	)
+	${LIBDRM_DEPSTRING}[video_cards_nouveau?,video_cards_vmware?]
+"
+for card in ${INTEL_CARDS}; do
+	RDEPEND="${RDEPEND}
+		video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
+	"
+done
+
+for card in ${RADEON_CARDS}; do
+	RDEPEND="${RDEPEND}
+		video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] )
+	"
+done
+
+DEPEND="${RDEPEND}
+	=dev-lang/python-2*
+	dev-libs/libxml2[python]
+	dev-util/pkgconfig
+	sys-devel/bison
+	sys-devel/flex
+	x11-misc/makedepend
+	x11-proto/inputproto
+	>=x11-proto/xextproto-7.0.99.1
+	x11-proto/xf86driproto
+	x11-proto/xf86vidmodeproto
+"
+
+S="${WORKDIR}/${MY_P}"
+
+# It is slow without texrels, if someone wants slow
+# mesa without texrels +pic use is worth the shot
+QA_EXECSTACK="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
+QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
+
+# Think about: ggi, fbcon, no-X configs
+
+pkg_setup() {
+	# recommended by upstream
+	append-flags -ffast-math
+
+	python_set_active_version 2
+	python_pkg_setup
+}
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	# apply patches
+	if [[ -n ${SRC_PATCHES} ]]; then
+		EPATCH_FORCE="yes" \
+		EPATCH_SOURCE="${WORKDIR}/patches" \
+		EPATCH_SUFFIX="patch" \
+		epatch
+	fi
+
+	# fix for hardened pax_kernel, bug 240956
+	epatch "${FILESDIR}"/glx_ro_text_segm.patch
+
+	base_src_prepare
+
+	eautoreconf
+
+	epatch "${FILESDIR}"/uclibc-defines.patch
+}
+
+src_configure() {
+	local myconf
+
+	if use classic; then
+	# Configurable DRI drivers
+		driver_enable swrast
+		driver_enable video_cards_intel i810 i915 i965
+		driver_enable video_cards_nouveau nouveau
+		driver_enable video_cards_mach64 mach64
+		driver_enable video_cards_mga mga
+		driver_enable video_cards_r128 r128
+		driver_enable video_cards_radeon radeon r200 r300 r600
+		driver_enable video_cards_savage savage
+		driver_enable video_cards_sis sis
+		driver_enable video_cards_tdfx tdfx
+		driver_enable video_cards_via unichrome
+	fi
+
+	myconf+="
+		$(use_enable !bindist texture-float)
+		$(use_enable gles gles1)
+		$(use_enable gles gles2)
+		$(use_enable egl)
+	"
+	if use egl; then
+		use shared-glapi || die "egl needs shared-glapi. Please either enable shared-glapi or disable the egl use flag ."
+		myconf+="
+			--with-egl-platforms=x11$(use gbm && echo ",drm")
+			$(use_enable gallium gallium-egl)
+		"
+	fi
+
+	if use !gallium && use !classic; then
+		ewarn "You enabled neither classic nor gallium USE flags. No hardware"
+		ewarn "drivers will be built."
+	fi
+	if use gallium; then
+		myconf+="
+			--with-state-trackers=glx,dri$(use egl && echo ",egl")$(use openvg && echo ",vega")
+			$(use_enable llvm gallium-llvm)
+			$(use_enable openvg)
+		"
+		gallium_enable swrast
+		gallium_enable video_cards_vmware svga
+		gallium_enable video_cards_nouveau nouveau
+		gallium_enable video_cards_intel i915 i965
+		gallium_enable video_cards_radeon r300 r600
+	fi
+
+	# x86 hardened pax_kernel needs glx-rts, bug 240956
+	if use pax_kernel; then
+		myconf+="
+			$(use_enable x86 glx-rts)
+		"
+	fi
+
+	econf \
+		--disable-option-checking \
+		--with-driver=dri \
+		--disable-glut \
+		--without-demos \
+		--enable-xcb \
+		$(use_enable debug) \
+		$(use_enable gbm) \
+		$(use_enable motif glw) \
+		$(use_enable motif) \
+		$(use_enable nptl glx-tls) \
+		$(use_enable osmesa gl-osmesa) \
+		$(use_enable !pic asm) \
+		$(use_enable shared-dricore) \
+		$(use_enable shared-glapi) \
+		--with-dri-drivers=${DRI_DRIVERS} \
+		--with-gallium-drivers=${GALLIUM_DRIVERS} \
+		${myconf}
+}
+
+src_install() {
+	base_src_install
+
+	# Save the glsl-compiler for later use
+	dobin "${S}"/src/glsl/glsl_compiler || die
+
+	# Install config file for eselect mesa
+	insinto /usr/share/mesa
+	newins "${FILESDIR}/eselect-mesa.conf.7.11" eselect-mesa.conf || die
+
+	# Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib
+	# because user can eselect desired GL provider.
+	ebegin "Moving libGL and friends for dynamic switching"
+		dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/{lib,extensions,include}
+		local x
+		for x in "${ED}"/usr/$(get_libdir)/libGL.{la,a,so*}; do
+			if [ -f ${x} -o -L ${x} ]; then
+				mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/lib \
+					|| die "Failed to move ${x}"
+			fi
+		done
+		for x in "${ED}"/usr/include/GL/{gl.h,glx.h,glext.h,glxext.h}; do
+			if [ -f ${x} -o -L ${x} ]; then
+				mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/include \
+					|| die "Failed to move ${x}"
+			fi
+		done
+	eend $?
+
+	if use classic || use gallium; then
+			ebegin "Moving DRI/Gallium drivers for dynamic switching"
+			local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so )
+			keepdir /usr/$(get_libdir)/dri
+			dodir /usr/$(get_libdir)/mesa
+			for x in ${gallium_drivers[@]}; do
+				if [ -f "${S}/$(get_libdir)/gallium/${x}" ]; then
+					mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \
+						|| die "Failed to move ${x}"
+					insinto "/usr/$(get_libdir)/dri/"
+					if [ -f "${S}/$(get_libdir)/${x}" ]; then
+						insopts -m0755
+						doins "${S}/$(get_libdir)/${x}" || die "failed to install ${x}"
+					fi
+				fi
+			done
+			for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do
+				if [ -f ${x} -o -L ${x} ]; then
+					mv -f "${x}" "${x/dri/mesa}" \
+						|| die "Failed to move ${x}"
+				fi
+			done
+			pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed"
+			ln -s ../mesa/*.so . || die "Creating symlink failed"
+			# remove symlinks to drivers known to eselect
+			for x in ${gallium_drivers[@]}; do
+				if [ -f ${x} -o -L ${x} ]; then
+					rm "${x}" || die "Failed to remove ${x}"
+				fi
+			done
+			popd
+		eend $?
+	fi
+}
+
+pkg_postinst() {
+	# Switch to the xorg implementation.
+	echo
+	eselect opengl set --use-old ${OPENGL_DIR}
+	# Select classic/gallium drivers
+	if use classic || use gallium; then
+		eselect mesa set --auto
+	fi
+
+	# warn about patent encumbered texture-float
+	if use !bindist; then
+		elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
+		elog "enabled."
+	fi
+}
+
+# $1 - VIDEO_CARDS flag
+# other args - names of DRI drivers to enable
+# TODO: avoid code duplication for a more elegant implementation
+driver_enable() {
+	case $# in
+		# for enabling unconditionally
+		1)
+			DRI_DRIVERS+=",$1"
+			;;
+		*)
+			if use $1; then
+				shift
+				for i in $@; do
+					DRI_DRIVERS+=",${i}"
+				done
+			fi
+			;;
+	esac
+}
+
+gallium_enable() {
+	case $# in
+		# for enabling unconditionally
+		1)
+			GALLIUM_DRIVERS+=",$1"
+			;;
+		*)
+			if use $1; then
+				shift
+				for i in $@; do
+					GALLIUM_DRIVERS+=",${i}"
+				done
+			fi
+			;;
+	esac
+}

diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml
new file mode 100644
index 0000000..4b20581
--- /dev/null
+++ b/media-libs/mesa/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+<use>
+	<flag name='classic'>Build drivers based on the classic architecture.</flag>
+	<flag name='egl'>Enable EGL support.</flag>
+	<flag name='gallium'>Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.</flag>
+	<flag name='gbm'>Enable the Graphics Buffer Manager for EGL on KMS.</flag>
+	<flag name='gles'>Enable GLES support.</flag>
+	<flag name='llvm'>Enable LLVM backend for Gallium3D.</flag>
+	<flag name='openvg'>Enable the OpenVG 2D acceleration API for Gallium3D.</flag>
+	<flag name='osmesa'>Build the Mesa library for off-screen rendering.</flag>
+	<flag name='pax_kernel'>Enable if the user plans to run the package under a pax enabled hardened kernel</flag>
+	<flag name='pic'>disable optimized assembly code that is not PIC friendly</flag>
+	<flag name='shared-dricore'>Enable sharing of common code for classic DRI drivers.</flag>
+	<flag name='shared-glapi'>Enable sharing of common code for the OpenGL API.</flag>
+</use>
+</pkgmetadata>



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/hardened-dev:uclibc commit in: media-libs/mesa/, media-libs/mesa/files/
@ 2012-01-06 19:19 Anthony G. Basile
  0 siblings, 0 replies; 6+ messages in thread
From: Anthony G. Basile @ 2012-01-06 19:19 UTC (permalink / raw
  To: gentoo-commits

commit:     1db78c1c920bf8184f4f22eacfa9cfb2d5ee63c8
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  6 19:19:04 2012 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Jan  6 19:19:04 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=1db78c1c

media-libs/mesa: patch configure.ac to respect user defined macros

---
 media-libs/mesa/files/respect-user-defines.patch |   19 +++++++++++++++++++
 media-libs/mesa/files/uclibc-defines.patch       |   12 ------------
 media-libs/mesa/mesa-7.11.2-r99.ebuild           |   10 ++++++----
 media-libs/mesa/metadata.xml                     |    1 +
 4 files changed, 26 insertions(+), 16 deletions(-)

diff --git a/media-libs/mesa/files/respect-user-defines.patch b/media-libs/mesa/files/respect-user-defines.patch
new file mode 100644
index 0000000..291d71e
--- /dev/null
+++ b/media-libs/mesa/files/respect-user-defines.patch
@@ -0,0 +1,19 @@
+diff -Naur Mesa-7.11.2.orig/configure.ac Mesa-7.11.2/configure.ac
+--- Mesa-7.11.2.orig/configure.ac	2011-10-15 00:43:58.000000000 +0000
++++ Mesa-7.11.2/configure.ac	2012-01-06 18:38:58.213283132 +0000
+@@ -20,6 +20,7 @@
+ dnl Save user CFLAGS and CXXFLAGS so one can override the default ones
+ USER_CFLAGS="$CFLAGS"
+ USER_CXXFLAGS="$CXXFLAGS"
++USER_DEFINES="$DEFINES"
+ 
+ dnl Versions for external dependencies
+ LIBDRM_REQUIRED=2.4.24
+@@ -1836,6 +1837,7 @@
+ dnl Add user CFLAGS and CXXFLAGS
+ CFLAGS="$CFLAGS $USER_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $USER_CXXFLAGS"
++DEFINES="$DEFINES $USER_DEFINES"
+ 
+ dnl Substitute the config
+ AC_CONFIG_FILES([configs/autoconf])

diff --git a/media-libs/mesa/files/uclibc-defines.patch b/media-libs/mesa/files/uclibc-defines.patch
deleted file mode 100644
index 901f9cc..0000000
--- a/media-libs/mesa/files/uclibc-defines.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur Mesa-7.11.2.orig/configure Mesa-7.11.2/configure
---- Mesa-7.11.2.orig/configure	2012-01-06 12:53:32.000000000 -0500
-+++ Mesa-7.11.2/configure	2012-01-06 12:54:20.000000000 -0500
-@@ -11401,6 +11401,8 @@
- echo "        Shared libs:     $enable_shared"
- echo "        Static libs:     $enable_static"
- 
-+DEFINES+=" -U__GLIBC__ -U_GNU_SOURCE"
-+
- # cleanup the CFLAGS/CXXFLAGS/DEFINES vars
- cflags=`echo $CFLAGS $OPT_FLAGS $PIC_FLAGS $ARCH_FLAGS | \
-     $SED 's/^ *//;s/  */ /;s/ *$//'`

diff --git a/media-libs/mesa/mesa-7.11.2-r99.ebuild b/media-libs/mesa/mesa-7.11.2-r99.ebuild
index e4241b7..701f4aa 100644
--- a/media-libs/mesa/mesa-7.11.2-r99.ebuild
+++ b/media-libs/mesa/mesa-7.11.2-r99.ebuild
@@ -23,7 +23,7 @@ SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2
 
 LICENSE="MIT LGPL-3 SGI-B-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86" 
+KEYWORDS="amd64 x86" 
 
 INTEL_CARDS="intel"
 RADEON_CARDS="radeon"
@@ -33,7 +33,7 @@ for card in ${VIDEO_CARDS}; do
 done
 
 IUSE="${IUSE_VIDEO_CARDS}
-	bindist +classic debug +egl +gallium gbm gles +llvm motif +nptl openvg osmesa pic pax_kernel selinux shared-dricore +shared-glapi"
+	bindist +classic debug +egl +gallium gbm gles +llvm motif +nptl openvg osmesa pic pax_kernel selinux shared-dricore +shared-glapi uclibc"
 
 LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.24"
 # not a runtime dependency of this package, but dependency of packages which
@@ -112,6 +112,8 @@ src_unpack() {
 }
 
 src_prepare() {
+	use uclibc && export DEFINES="-U__GLIBC__ -D__UCLIBC__"
+
 	# apply patches
 	if [[ -n ${SRC_PATCHES} ]]; then
 		EPATCH_FORCE="yes" \
@@ -123,11 +125,11 @@ src_prepare() {
 	# fix for hardened pax_kernel, bug 240956
 	epatch "${FILESDIR}"/glx_ro_text_segm.patch
 
+	epatch "${FILESDIR}"/respect-user-defines.patch
+
 	base_src_prepare
 
 	eautoreconf
-
-	epatch "${FILESDIR}"/uclibc-defines.patch
 }
 
 src_configure() {

diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml
index 4b20581..99e333e 100644
--- a/media-libs/mesa/metadata.xml
+++ b/media-libs/mesa/metadata.xml
@@ -15,5 +15,6 @@
 	<flag name='pic'>disable optimized assembly code that is not PIC friendly</flag>
 	<flag name='shared-dricore'>Enable sharing of common code for classic DRI drivers.</flag>
 	<flag name='shared-glapi'>Enable sharing of common code for the OpenGL API.</flag>
+	<flag name='uclibc'>Disable GLIBC and enabled UCLIBC.</flag>
 </use>
 </pkgmetadata>



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/hardened-dev:uclibc commit in: media-libs/mesa/, media-libs/mesa/files/
@ 2012-01-06 21:11 Anthony G. Basile
  0 siblings, 0 replies; 6+ messages in thread
From: Anthony G. Basile @ 2012-01-06 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     7a4871deff8ea91706852dfb7aedcf43eec25ce1
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  6 21:11:53 2012 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Jan  6 21:11:53 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=7a4871de

media-libs/mesa: patch C files where build system's MACROS don't work

---
 .../mesa/files/remove-GNU_SOURCE-locale.patch      |   65 ++++++++++++++++++++
 media-libs/mesa/mesa-7.11.2-r99.ebuild             |    3 +-
 2 files changed, 66 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/files/remove-GNU_SOURCE-locale.patch b/media-libs/mesa/files/remove-GNU_SOURCE-locale.patch
new file mode 100644
index 0000000..f197b11
--- /dev/null
+++ b/media-libs/mesa/files/remove-GNU_SOURCE-locale.patch
@@ -0,0 +1,65 @@
+diff -Naur Mesa-7.11.2.orig/src/gallium/auxiliary/util/u_debug_symbol.c Mesa-7.11.2/src/gallium/auxiliary/util/u_debug_symbol.c
+--- Mesa-7.11.2.orig/src/gallium/auxiliary/util/u_debug_symbol.c	2011-07-09 01:32:30.000000000 +0000
++++ Mesa-7.11.2/src/gallium/auxiliary/util/u_debug_symbol.c	2012-01-06 20:45:51.822428420 +0000
+@@ -151,23 +151,6 @@
+ }
+ #endif
+ 
+-#ifdef __GLIBC__
+-#include <execinfo.h>
+-
+-/* This can only provide dynamic symbols, or binary offsets into a file.
+- *
+- * To fix this, post-process the output with tools/addr2line.sh
+- */
+-static INLINE void
+-debug_symbol_name_glibc(const void *addr, char* buf, unsigned size)
+-{
+-   char** syms = backtrace_symbols((void**)&addr, 1);
+-   strncpy(buf, syms[0], size);
+-   buf[size - 1] = 0;
+-   free(syms);
+-}
+-#endif
+-
+ void
+ debug_symbol_name(const void *addr, char* buf, unsigned size)
+ {
+diff -Naur Mesa-7.11.2.orig/src/glsl/strtod.c Mesa-7.11.2/src/glsl/strtod.c
+--- Mesa-7.11.2.orig/src/glsl/strtod.c	2012-01-06 20:45:34.282662359 +0000
++++ Mesa-7.11.2/src/glsl/strtod.c	2012-01-06 20:42:11.303216873 +0000
+@@ -44,13 +44,5 @@
+ double
+ glsl_strtod(const char *s, char **end)
+ {
+-#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
+-   static locale_t loc = NULL;
+-   if (!loc) {
+-      loc = newlocale(LC_CTYPE_MASK, "C", NULL);
+-   }
+-   return strtod_l(s, end, loc);
+-#else
+    return strtod(s, end);
+-#endif
+ }
+diff -Naur Mesa-7.11.2.orig/src/mesa/main/imports.c Mesa-7.11.2/src/mesa/main/imports.c
+--- Mesa-7.11.2.orig/src/mesa/main/imports.c	2012-01-06 20:45:34.283662859 +0000
++++ Mesa-7.11.2/src/mesa/main/imports.c	2012-01-06 20:42:11.305217873 +0000
+@@ -753,17 +753,7 @@
+ float
+ _mesa_strtof( const char *s, char **end )
+ {
+-#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
+-   static locale_t loc = NULL;
+-   if (!loc) {
+-      loc = newlocale(LC_CTYPE_MASK, "C", NULL);
+-   }
+-   return strtof_l(s, end, loc);
+-#elif defined(_ISOC99_SOURCE) || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE >= 600)
+    return strtof(s, end);
+-#else
+-   return (float)strtod(s, end);
+-#endif
+ }
+ 
+ /** Compute simple checksum/hash for a string */

diff --git a/media-libs/mesa/mesa-7.11.2-r99.ebuild b/media-libs/mesa/mesa-7.11.2-r99.ebuild
index 6acfe89..98154da 100644
--- a/media-libs/mesa/mesa-7.11.2-r99.ebuild
+++ b/media-libs/mesa/mesa-7.11.2-r99.ebuild
@@ -97,8 +97,6 @@ S="${WORKDIR}/${MY_P}"
 QA_EXECSTACK="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
 QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
 
-# Think about: ggi, fbcon, no-X configs
-
 pkg_setup() {
 	# recommended by upstream
 	append-flags -ffast-math
@@ -126,6 +124,7 @@ src_prepare() {
 	epatch "${FILESDIR}"/glx_ro_text_segm.patch
 
 	epatch "${FILESDIR}"/respect-user-defines.patch
+	epatch "${FILESDIR}"/remove-GNU_SOURCE-locale.patch
 
 	base_src_prepare
 



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/hardened-dev:uclibc commit in: media-libs/mesa/, media-libs/mesa/files/
@ 2012-07-01 23:11 Anthony G. Basile
  0 siblings, 0 replies; 6+ messages in thread
From: Anthony G. Basile @ 2012-07-01 23:11 UTC (permalink / raw
  To: gentoo-commits

commit:     90aebee30e16cceb716afc81814b139178fbed22
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  1 23:11:13 2012 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Jul  1 23:11:13 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=90aebee3

media-libs/mesa: mesa-8.0 compile against uclibc

---
 media-libs/mesa/ChangeLog                          | 1644 --------------------
 ...lect-mesa.conf.7.11 => eselect-mesa.conf.8.0.1} |    3 +-
 .../mesa-8.0-dont-require-llvm-for-r300.patch      |   27 +
 media-libs/mesa/files/mesa-8.0-uclibc.patch        |   36 +
 .../mesa/files/remove-GNU_SOURCE-locale.patch      |   65 -
 media-libs/mesa/files/respect-user-defines.patch   |   19 -
 ...esa-7.11.2-r99.ebuild => mesa-8.0.3-r99.ebuild} |  223 ++-
 media-libs/mesa/metadata.xml                       |   11 +-
 8 files changed, 224 insertions(+), 1804 deletions(-)

diff --git a/media-libs/mesa/ChangeLog b/media-libs/mesa/ChangeLog
deleted file mode 100644
index 1bc5260..0000000
--- a/media-libs/mesa/ChangeLog
+++ /dev/null
@@ -1,1644 +0,0 @@
-# ChangeLog for media-libs/mesa
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/ChangeLog,v 1.377 2011/12/27 20:47:37 maekke Exp $
-
-  27 Dec 2011; Markus Meier <maekke@gentoo.org> mesa-7.11.2.ebuild:
-  x86 stable, bug #394393
-
-  21 Dec 2011; Markus Meier <maekke@gentoo.org> mesa-7.11.2.ebuild:
-  arm stable, bug #394393
-
-  21 Dec 2011; Matt Turner <mattst88@gentoo.org> mesa-7.11.2.ebuild:
-  Fix osmesa USE flag, bug 395527.
-
-  20 Dec 2011; Agostino Sarubbo <ago@gentoo.org> mesa-7.11.2.ebuild:
-  Stable for AMD64, wrt bug #394393
-
-  03 Dec 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  -mesa-7.10.2.ebuild, -mesa-7.10.2-r1.ebuild, mesa-7.10.3.ebuild,
-  mesa-7.11.ebuild, -mesa-7.11.1.ebuild, mesa-7.11.2.ebuild:
-  Add patches to build against llvm-3 to unstable ebuild, depend on earlier
-  versions for stable ebuilds, bug #375847. Clean up some old ebuilds.
-
-*mesa-7.11.2 (30 Nov 2011)
-
-  30 Nov 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  +mesa-7.11.2.ebuild:
-  Version bump.
-
-*mesa-7.11.1 (18 Nov 2011)
-
-  18 Nov 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  +mesa-7.11.1.ebuild, metadata.xml:
-  Version bump, bug #390875. Add USE flag for libOSMesa, thanks to
-  mattst88 in bug #155109.
-
-  06 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.11.ebuild:
-  Workaround TOC issues wrt #386545 by Stephen Lewis
-
-  03 Oct 2011; Joseph Jezak <josejx@gentoo.org> mesa-7.11.ebuild:
-  Marked ppc/ppc64 stable for bug #380421.
-
-  02 Oct 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.11.ebuild:
-  alpha/ia64/sh/sparc stable wrt #380421
-
-  21 Sep 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.11.ebuild:
-  Stable for HPPA (bug #380421).
-
-  18 Sep 2011; Matt Turner <mattst88@gentoo.org> mesa-7.11.ebuild:
-  Only allow openvg to be enabled with USE=gallium, bug 377689
-
-  16 Sep 2011; Matt Turner <mattst88@gentoo.org> mesa-7.9.2.ebuild,
-  mesa-7.10.2.ebuild, mesa-7.10.2-r1.ebuild, mesa-7.10.3.ebuild,
-  mesa-7.11.ebuild:
-  Correct the LICENSEs.
-
-  05 Sep 2011; Markus Meier <maekke@gentoo.org> mesa-7.11.ebuild:
-  arm stable, bug #380421
-
-  04 Sep 2011; Markus Meier <maekke@gentoo.org> mesa-7.11.ebuild:
-  x86 stable, bug #380421
-
-  30 Aug 2011; Tony Vroon <chainsaw@gentoo.org> mesa-7.11.ebuild:
-  Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in bug
-  #380421 filed by Chí-Thanh Christopher Nguyễn.
-
-  20 Aug 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.10.3.ebuild:
-  Stable for HPPA (bug #371857).
-
-  20 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.11.ebuild:
-  Relax dependency on sys-devel/llvm.
-
-  16 Aug 2011; Matt Turner <mattst88@gentoo.org> metadata.xml:
-  Correct metadata.xml about which USE flags are related to Gallium3D.
-
-  02 Aug 2011; Magnus Granberg <zorry@gentoo.org> mesa-7.11.ebuild,
-  metadata.xml:
-  Added pax_kernel as local use flag
-
-  01 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.11.ebuild:
-  Disambiguate hardened related USE flag, bug #375561 and bug #377301.
-
-*mesa-7.11 (01 Aug 2011)
-
-  01 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  -mesa-7.11_rc2.ebuild, -mesa-7.11_rc4.ebuild, +mesa-7.11.ebuild,
-  metadata.xml:
-  Version bump. Make gbm optional, bug #376679.
-
-  31 Jul 2011; Matt Turner <mattst88@gentoo.org> mesa-7.11_rc2.ebuild,
-  mesa-7.11_rc4.ebuild:
-  Move libxml2 from RDEPEND to DEPEND, Bug 376015.
-
-  30 Jul 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.10.3.ebuild:
-  alpha/ia64/sh/sparc stable wrt #371857
-
-  29 Jul 2011; Matt Turner <mattst88@gentoo.org> mesa-7.11_rc2.ebuild,
-  mesa-7.11_rc4.ebuild:
-  Specify x11 before drm for egl-platforms. Bug 376981
-
-*mesa-7.11_rc4 (29 Jul 2011)
-
-  29 Jul 2011; Rémi Cardona <remi@gentoo.org> +mesa-7.11_rc4.ebuild:
-  Bump to 7.11_rc4, remove hacks needed for rc2
-
-  29 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.10.3.ebuild:
-  ppc64 stable wrt #371857
-
-  23 Jul 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  -mesa-7.9.1.ebuild, mesa-7.9.2.ebuild, -mesa-7.10.1.ebuild,
-  mesa-7.10.2.ebuild, mesa-7.10.3.ebuild:
-  Add missing bison/flex dependency to more ebuilds, bug #376103. Remove
-  obsolete versions.
-
-  21 Jul 2011; Matt Turner <mattst88@gentoo.org> mesa-7.11_rc2.ebuild:
-  Add sys-devel/{bison,flex} to DEPEND, for new glsl_compiler, bug 375793.
-
-*mesa-7.11_rc2 (20 Jul 2011)
-
-  20 Jul 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  -mesa-7.11_rc1-r1.ebuild, +mesa-7.11_rc2.ebuild:
-  Bump to new prerelease. Apply fix for bug #374671, upstream #39375.
-
-  15 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.10.2.ebuild:
-  ppc64 stable wrt #363965
-
-  13 Jul 2011; Markus Meier <maekke@gentoo.org> mesa-7.10.3.ebuild:
-  x86 stable, bug #371857
-
-*mesa-7.11_rc1-r1 (10 Jul 2011)
-
-  10 Jul 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  -mesa-7.11_rc1.ebuild, +mesa-7.11_rc1-r1.ebuild:
-  Don't move libEGL/libOpenVG as this broke proprietary drivers, bug #374647.
-
-*mesa-7.11_rc1 (09 Jul 2011)
-
-  09 Jul 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  +mesa-7.11_rc1.ebuild, +files/eselect-mesa.conf.7.11:
-  Bump to release candidate.
-
-  28 Jun 2011; Brent Baude <ranger@gentoo.org> mesa-7.10.3.ebuild:
-  Marking mesa-7.10.3 ppc stable for bug 371857
-
-  28 Jun 2011; Brent Baude <ranger@gentoo.org> mesa-7.10.2.ebuild:
-  Marking mesa-7.10.2 ppc stable for bug 363965
-
-  26 Jun 2011; Markus Meier <maekke@gentoo.org> mesa-7.10.3.ebuild:
-  arm stable, bug #371857
-
-  23 Jun 2011; Markos Chandras <hwoarang@gentoo.org> mesa-7.10.3.ebuild:
-  Stable on amd64 wrt bug #372333
-
-*mesa-7.10.3 (14 Jun 2011)
-
-  14 Jun 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  +mesa-7.10.3.ebuild:
-  Version bump, revert to previous patch tarball as the llvm patch was applied
-  upstream.
-
-  15 May 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.10.2.ebuild:
-  alpha/ia64/sh/sparc stable wrt #363965
-
-  13 May 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.10.2.ebuild:
-  Stable for HPPA (bug #363965).
-
-  13 May 2011; Markus Meier <maekke@gentoo.org> mesa-7.10.2.ebuild:
-  arm stable, bug #363965
-
-  09 May 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> mesa-7.10.2.ebuild:
-  x86 stable wrt bug #363965
-
-  28 Apr 2011; Markos Chandras <hwoarang@gentoo.org> mesa-7.10.2.ebuild:
-  Stable on amd64 wrt bug #363965
-
-*mesa-7.10.2-r1 (17 Apr 2011)
-
-  17 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.9.1.ebuild, mesa-7.9.2.ebuild, mesa-7.10.1.ebuild,
-  mesa-7.10.2.ebuild, +mesa-7.10.2-r1.ebuild:
-  Address llvm-2.9 problems, bug #351338.
-
-  17 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.10.2.ebuild:
-  Add glproto and dri2proto to RDEPEND, bug #342393.
-
-  16 Apr 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.9.2.ebuild,
-  mesa-7.10.1.ebuild:
-  alpha/ia64/sh/sparc stable wrt #359059
-
-  11 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.10.2.ebuild:
-  Ensure that /usr/$(get_libdir)/dri gets always created.
-
-  08 Apr 2011; Markus Meier <maekke@gentoo.org> mesa-7.9.2.ebuild:
-  arm stable, bug #359059
-
-  08 Apr 2011; Markus Meier <maekke@gentoo.org> mesa-7.10.1.ebuild:
-  arm stable, bug #359059
-
-*mesa-7.10.2 (06 Apr 2011)
-
-  06 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  -mesa-7.10.1-r1.ebuild, +mesa-7.10.2.ebuild:
-  Version bump.
-
-*mesa-7.10.1-r1 (05 Apr 2011)
-
-  05 Apr 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  +mesa-7.10.1-r1.ebuild:
-  Revision bump for gnome-shell and libdrm-2.4.24 patch, bug #359327.
-
-  04 Apr 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.9.2.ebuild:
-  Stable for HPPA (bug #359059).
-
-  04 Apr 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.10.1.ebuild:
-  Stable for HPPA (bug #359059).
-
-  26 Mar 2011; Christian Faulhammer <fauli@gentoo.org> mesa-7.9.2.ebuild,
-  mesa-7.10.1.ebuild:
-  stable x86, bug 359059
-
-  25 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.9.ebuild:
-  remove old
-
-  21 Mar 2011; Markos Chandras <hwoarang@gentoo.org> mesa-7.9.2.ebuild,
-  mesa-7.10.1.ebuild:
-  Stable on amd64 wrt bug #359059
-
-  21 Mar 2011; Markos Chandras <hwoarang@gentoo.org> mesa-7.10.1.ebuild:
-  Stable on amd64 wrt bug #359059
-
-  15 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.9.2.ebuild,
-  mesa-7.10.1.ebuild:
-  ppc/ppc64 stable wrt #359059
-
-  05 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.9.1.ebuild:
-  ppc64 stable wrt #354237
-
-  05 Mar 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.9.1.ebuild:
-  alpha/arm/ia64/sh/sparc stable wrt #354237
-
-*mesa-7.10.1 (03 Mar 2011)
-*mesa-7.9.2 (03 Mar 2011)
-
-  03 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> +mesa-7.9.2.ebuild,
-  -mesa-7.10-r1.ebuild, +mesa-7.10.1.ebuild:
-  Version bump to latest releases.
-
-  03 Mar 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.9.1.ebuild, mesa-7.10-r1.ebuild:
-  Nouveau: not compatible with libdrm-2.4.24
-
-  23 Feb 2011; Jeroen Roovers <jer@gentoo.org> mesa-7.9.1.ebuild:
-  Stable for HPPA (bug #354237).
-
-  18 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.7.1.ebuild,
-  -mesa-7.8.2.ebuild:
-  Drop older overshadowed versions. 3 versions to choose from should be enough.
-
-  14 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> mesa-7.9.1.ebuild:
-  ppc stable wrt #344827, #354237
-
-  12 Feb 2011; Raúl Porcel <armin76@gentoo.org> mesa-7.9.ebuild:
-  alpha/ia64/sh/sparc stable wrt #344827
-
-  12 Feb 2011; Christian Faulhammer <fauli@gentoo.org> mesa-7.9.1.ebuild:
-  stable x86, bug 354237
-
-  12 Feb 2011; Markos Chandras <hwoarang@gentoo.org> mesa-7.9.1.ebuild:
-  Stable on amd64 wrt bug #354237
-
-*mesa-7.10-r1 (09 Feb 2011)
-
-  09 Feb 2011; Magnus Granberg <zorry@gentoo.org> -mesa-7.10.ebuild,
-  +mesa-7.10-r1.ebuild, +files/glx_ro_text_segm.patch:
-  Fix bug 240956 readonly text segment on x86
-
-  27 Jan 2011; Jeremy Olexa <darkside@gentoo.org> mesa-7.10.ebuild:
-  Push Gentoo Prefix changes from x11 overlay, as approved
-
-*mesa-7.10 (12 Jan 2011)
-
-  12 Jan 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  +mesa-7.10.ebuild, +files/eselect-mesa.conf.7.10:
-  Version bump, bug #351094
-
-*mesa-7.9.1 (08 Jan 2011)
-
-  08 Jan 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  -mesa-7.9-r1.ebuild, +mesa-7.9.1.ebuild,
-  -files/mesa-7.9-libdrm-2.4.23-nouveau-api.patch:
-  Version bump, bug #351094
-
-  31 Dec 2010; Jeroen Roovers <jer@gentoo.org> mesa-7.9.ebuild:
-  Stable for HPPA (bug #344827).
-
-  29 Dec 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  files/eselect-mesa.conf.7.9:
-  Fix copy&paste error
-
-  29 Dec 2010; Markus Meier <maekke@gentoo.org> mesa-7.9.ebuild:
-  arm stable, bug #344827
-
-  25 Dec 2010; Christian Faulhammer <fauli@gentoo.org> mesa-7.9.ebuild:
-  x86 stable, bug 344827
-
-  23 Dec 2010; Samuli Suominen <ssuominen@gentoo.org> mesa-7.9.ebuild:
-  amd64 stable wrt #344827
-
-  19 Dec 2010; Samuli Suominen <ssuominen@gentoo.org> mesa-7.9.ebuild:
-  ppc64 stable wrt #344827
-
-*mesa-7.9-r1 (11 Dec 2010)
-
-  11 Dec 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.9.ebuild, +mesa-7.9-r1.ebuild,
-  +files/mesa-7.9-libdrm-2.4.23-nouveau-api.patch:
-  Add patch for nouveau libdrm-2.4.23 API changes.
-
-  05 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  mesa-7.9.ebuild:
-  Fix building with Python 3.
-
-  29 Nov 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.9.ebuild:
-  Fix building when both classic and gallium are disabled, bug #347125
-
-*mesa-7.9 (28 Nov 2010)
-
-  28 Nov 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  +mesa-7.9.ebuild, +files/eselect-mesa.conf.7.9:
-  Version bump, bug #341097
-
-  21 Oct 2010; Brent Baude <ranger@gentoo.org> ChangeLog:
-  Marking mesa-7.8.2 ppc stable for bug 239063
-
-  19 Oct 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.1.ebuild,
-  mesa-7.8.2.ebuild:
-  Get rid of radeonhd videocard.
-
-  10 Oct 2010; Ulrich Mueller <ulm@gentoo.org> mesa-7.7.1.ebuild,
-  mesa-7.8.2.ebuild:
-  Fix openmotif dependency.
-
-  01 Oct 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.8.2.ebuild:
-  Drop weird depend atom. Per bug #339314.
-
-  30 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.8.2.ebuild:
-  Update libdrm dependency.
-
-  30 Sep 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.8.2.ebuild:
-  Update for libdrm changes.
-
-  28 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> mesa-7.8.2.ebuild:
-  ppc64 stable wrt #327777
-
-  21 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.1.ebuild,
-  mesa-7.8.2.ebuild:
-  Update the dep on libX11 this time using proper version.
-
-  19 Sep 2010; Raúl Porcel <armin76@gentoo.org> mesa-7.8.2.ebuild:
-  ia64/sh/sparc stable wrt #327777
-
-  17 Sep 2010; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.7.1.ebuild,
-  mesa-7.8.2.ebuild:
-  Remove VIDEO_CARDS=none setting. It just causes needless confusion
-  nowadays. If you don't want to build any Mesa hardware 3D drivers, set
-  VIDEO_CARDS="" in make.conf. If your 3D driver is proprietary/binary, set
-  VIDEO_CARDS to it (e.g., nvidia, fglrx) to avoid building Mesa hardware 3D
-  drivers.
-
-  12 Sep 2010; Tobias Klausmann <klausman@gentoo.org> mesa-7.8.2.ebuild:
-  Stable on alpha, bug #327777
-
-  09 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.1.ebuild,
-  mesa-7.8.2.ebuild:
-  Update deps on libX11[xcb].
-
-  27 Aug 2010; Robin H. Johnson <robbat2@gentoo.org> mesa-7.7.1.ebuild,
-  mesa-7.8.2.ebuild:
-  Bug #333143: Add "kilgard" license for media-libs/mesa Debian DFSG debate.
-
-  03 Aug 2010; Tomáš Chvátal <scarabeus@gentoo.org>
-  -files/0001-st-xorg-Adopt-to-new-dirty-clip-rect-type.patch,
-  -mesa-7.5.2.ebuild, mesa-7.7.1.ebuild, mesa-7.8.2.ebuild,
-  -files/lib/libGL.la, -files/lib/libGLU.la:
-  Drop old. Remove remains of .la files.
-
-  02 Aug 2010; Raúl Porcel <armin76@gentoo.org> mesa-7.7.1.ebuild:
-  alpha/ia64/sh/sparc stable wrt #308521
-
-  22 Jul 2010; Markus Meier <maekke@gentoo.org> mesa-7.8.2.ebuild:
-  arm stable, bug #327777
-
-  19 Jul 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.8.2.ebuild:
-  Ease libdrm dependency for nouveau
-
-  14 Jul 2010; Jeroen Roovers <jer@gentoo.org> mesa-7.8.2.ebuild:
-  Stable for HPPA (bug #327777).
-
-  13 Jul 2010; Christian Faulhammer <fauli@gentoo.org> mesa-7.8.2.ebuild:
-  x86 stable, bug 327777
-
-  12 Jul 2010; Markos Chandras <hwoarang@gentoo.org> mesa-7.8.2.ebuild:
-  Stable on amd64 wrt bug #327777
-
-  18 Jun 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.8.2.ebuild:
-  depend on older libdrm for nouveau, bug #324539
-
-*mesa-7.8.2 (17 Jun 2010)
-
-  17 Jun 2010; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.8.1.ebuild,
-  +mesa-7.8.2.ebuild:
-  Version bump.
-
-  31 May 2010; Guy Martin <gmsoft@gentoo.org> mesa-7.7.1.ebuild:
-  hppa stable, #308521
-
-  17 May 2010; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.8.1.ebuild:
-  Add cross-compile fixes. Thx solar.
-
-  12 May 2010; Brent Baude <ranger@gentoo.org> mesa-7.7.1.ebuild:
-  Marking mesa-7.7.1 ppc64 stable for bug 308521
-
-  18 Apr 2010; Markus Meier <maekke@gentoo.org> mesa-7.7.1.ebuild:
-  arm stable, bug #308521
-
-  18 Apr 2010; <nixnut@gentoo.org> mesa-7.7.1.ebuild:
-  ppc stable #308521
-
-  16 Apr 2010; Pacho Ramos <pacho@gentoo.org> mesa-7.7.1.ebuild:
-  amd64 stable, bug 308521
-
-  09 Apr 2010; Christian Faulhammer <fauli@gentoo.org> mesa-7.7.1.ebuild:
-  stable x86, bug 308521
-
-*mesa-7.8.1 (06 Apr 2010)
-
-  06 Apr 2010; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.8.ebuild,
-  +mesa-7.8.1.ebuild:
-  Version bump. Drop broken version.
-
-  03 Apr 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
-  mesa-7.8.ebuild:
-  Bump libdrm dependency, bug #312933
-
-*mesa-7.8 (29 Mar 2010)
-*mesa-7.7.1 (29 Mar 2010)
-
-  29 Mar 2010; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.6.1.ebuild,
-  -mesa-7.7-r1.ebuild, -mesa-7.7.1_rc2.ebuild, +mesa-7.7.1.ebuild,
-  -mesa-7.8_rc2.ebuild, +mesa-7.8.ebuild:
-  Version bump to latest releases. Drop old.
-
-*mesa-7.8_rc2 (23 Mar 2010)
-*mesa-7.7.1_rc2 (23 Mar 2010)
-
-  23 Mar 2010; Tomáš Chvátal <scarabeus@gentoo.org>
-  -mesa-7.7.1_rc1.ebuild, +mesa-7.7.1_rc2.ebuild, -mesa-7.8_rc1.ebuild,
-  +mesa-7.8_rc2.ebuild:
-  Version bump to new rc's remove old ones.
-
-*mesa-7.8_rc1 (16 Mar 2010)
-*mesa-7.7.1_rc1 (16 Mar 2010)
-
-  16 Mar 2010; Tomáš Chvátal <scarabeus@gentoo.org>
-  +mesa-7.7.1_rc1.ebuild, +mesa-7.8_rc1.ebuild:
-  Version bump to latest RC's.
-
-  23 Jan 2010; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.5.1.ebuild:
-  rm
-
-  18 Jan 2010; Raúl Porcel <armin76@gentoo.org> mesa-7.5.2.ebuild:
-  alpha/ia64/sh/sparc stable wrt #294958
-
-  14 Jan 2010; Markus Meier <maekke@gentoo.org> mesa-7.5.2.ebuild:
-  arm stable, bug #294958
-
-  14 Jan 2010; Jeroen Roovers <jer@gentoo.org> mesa-7.5.2.ebuild:
-  Stable for HPPA (bug #294958).
-
-  28 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> mesa-7.7-r1.ebuild:
-  Fix typing error wrt #298805.
-
-*mesa-7.7-r1 (28 Dec 2009)
-
-  28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.7.ebuild,
-  +mesa-7.7-r1.ebuild:
-  Revision bump to make sure everyone has disabled gallium intel.
-
-  27 Dec 2009; Joseph Jezak <josejx@gentoo.org> mesa-7.5.2.ebuild:
-  Marked ppc stable for bug #294958.
-
-  26 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.ebuild:
-  Do not depend on xorg-server.
-
-  24 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.ebuild:
-  Rdepend on xorg-server[-minimal]. Thx to Tommy for reporting.
-
-  22 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7.ebuild:
-  Sync with in-overlay updates prepared for 7.7 final release.
-
-  22 Dec 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
-  -mesa-7.6.1_rc4.ebuild, -mesa-7.7_rc3.ebuild:
-  Remove old rcs (forgot to cvs rm them with previous commit)
-
-*mesa-7.7 (22 Dec 2009)
-*mesa-7.6.1 (22 Dec 2009)
-
-  22 Dec 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
-  +files/0001-st-xorg-Adopt-to-new-dirty-clip-rect-type.patch,
-  +mesa-7.6.1.ebuild, +mesa-7.7.ebuild:
-  Bump to 7.6.1 (with a patch to fix bug 297891) and 7.7 (fixes bug 297807)
-
-  16 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7_rc3.ebuild:
-  Fix S location.
-
-*mesa-7.7_rc3 (16 Dec 2009)
-*mesa-7.6.1_rc4 (16 Dec 2009)
-
-  16 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.3-r1.ebuild,
-  -mesa-7.6.1_rc3.ebuild, +mesa-7.6.1_rc4.ebuild, -mesa-7.7_rc2.ebuild,
-  +mesa-7.7_rc3.ebuild:
-  Version bump. Drop old.
-
-  15 Dec 2009; Brent Baude <ranger@gentoo.org> mesa-7.5.2.ebuild:
-  Marking mesa-7.5.2 ppc64 stable for bug 294958
-
-  15 Dec 2009; Raúl Porcel <armin76@gentoo.org> mesa-7.5.1.ebuild:
-  alpha/ia64/sh/sparc stable wrt #282290
-
-  14 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.7_rc2.ebuild:
-  Drop unused video cards
-
-  13 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.1.ebuild,
-  -mesa-7.2.ebuild, -mesa-7.4.4.ebuild:
-  rm
-
-*mesa-7.7_rc2 (13 Dec 2009)
-*mesa-7.6.1_rc3 (13 Dec 2009)
-
-  13 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org>
-  +mesa-7.6.1_rc3.ebuild, +mesa-7.7_rc2.ebuild, metadata.xml:
-  Bump to latest rcs.
-
-  10 Dec 2009; Christian Faulhammer <fauli@gentoo.org> mesa-7.5.2.ebuild:
-  x86 stable, bug 294958
-
-  10 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> mesa-7.5.2.ebuild:
-  amd64 stable wrt #294958
-
-  22 Nov 2009; Tomáš Chvátal <scarabeus@gentoo.org>
-  -files/6.5.2-i965-wine-fix.patch:
-  Drop stale patches.
-
-  26 Oct 2009; Jeroen Roovers <jer@gentoo.org> mesa-7.5.1.ebuild:
-  Stable for HPPA (bug #282290).
-
-  11 Oct 2009; nixnut <nixnut@gentoo.org> mesa-7.5.1.ebuild:
-  ppc stable #282290
-
-  09 Oct 2009; Markus Meier <maekke@gentoo.org> mesa-7.5.1.ebuild:
-  arm stable, bug #282290
-
-  05 Oct 2009; Christian Faulhammer <fauli@gentoo.org> mesa-7.5.1.ebuild:
-  x86 stable, bug 282290
-
-  30 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> mesa-7.5.1.ebuild:
-  amd64 stable wrt #282290
-
-*mesa-7.5.2 (29 Sep 2009)
-
-  29 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.5-r2.ebuild,
-  -mesa-7.5-r3.ebuild, +mesa-7.5.2.ebuild:
-  Version bump. Remove old.
-
-  21 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.1.ebuild,
-  mesa-7.2.ebuild, mesa-7.3-r1.ebuild, mesa-7.4.4.ebuild,
-  mesa-7.5-r2.ebuild, mesa-7.5-r3.ebuild, mesa-7.5.1.ebuild:
-  Remove doc dependency on opengl-manpages. Since they are going to die.
-
-  19 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org>
-  -mesa-6.5.2-r1.ebuild, -mesa-7.0.3.ebuild:
-  Cleanup. Removal of old xorg versions.
-
-*mesa-7.5.1 (04 Sep 2009)
-
-  04 Sep 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.5.1.ebuild:
-  bump to 7.5.1
-
-  26 Aug 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.3-r1.ebuild:
-  Stabilise 7.3-r1 on alpha which should be the target (not the 7.4.2). They
-  are mostly 1:1.
-
-*mesa-7.5-r3 (26 Aug 2009)
-
-  26 Aug 2009; Tomáš Chvátal <scarabeus@gentoo.org>
-  -files/7.4-fix-parallel-make.patch, -mesa-7.4.2.ebuild,
-  -mesa-7.5-r1.ebuild, +mesa-7.5-r3.ebuild:
-  Revbump with all patches from upstream availible up to now. Remove old.
-
-  22 Jul 2009; Rémi Cardona <remi@gentoo.org> mesa-7.5-r2.ebuild:
-  use mirror://gentoo/ instead of gentooexperimental.org
-
-  22 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> mesa-7.5-r2.ebuild:
-  Disable the gallium, it somewhere in the process changed to
-  enabled-by-default
-
-*mesa-7.5-r2 (22 Jul 2009)
-
-  22 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +mesa-7.5-r2.ebuild:
-  Revision bump for applied patches from upstream. Per bug #278630.
-
-  22 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> files/lib/libGL.la,
-  files/lib/libGLU.la:
-  Update the .la files per bug #267580. Hopefully it will fix at least some
-  issues.
-
-  22 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.5.ebuild,
-  mesa-7.5-r1.ebuild:
-  Remove sparc asm checks. As per bug #237648. Reason in comment 13.
-
-  21 Jul 2009; Rémi Cardona <remi@gentoo.org> mesa-7.5-r1.ebuild:
-  it's not an ebuild's job to add -g to CFLAGS (backport from the x11
-  overlay)
-
-*mesa-7.5-r1 (21 Jul 2009)
-
-  21 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +mesa-7.5-r1.ebuild:
-  Whoops the .la files are supposed to be installed by 7.5. Revbump to force
-  others to update.
-
-  21 Jul 2009; Rémi Cardona <remi@gentoo.org> mesa-7.5.ebuild:
-  it's not an ebuild's job to add -g to CFLAGS (backport from the x11
-  overlay)
-
-*mesa-7.5 (21 Jul 2009)
-
-  21 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +mesa-7.5.ebuild:
-  Version bump for new development version of mesa.
-
-  25 Jun 2009; Tomáš Chvátal <scarabeus@gentoo.org> -mesa-7.4.3.ebuild:
-  Remove broken version.
-
-*mesa-7.4.4 (24 Jun 2009)
-
-  24 Jun 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.4.4.ebuild:
-  bump to 7.4.4, hopefully fixing severe Intel bugs (see bugs #274981 and
-  #275109)
-
-  23 Jun 2009; Tobias Klausmann <klausman@gentoo.org> mesa-7.4.2.ebuild:
-  Stable on alpha for xorg-server-1.5/xorg-x11-7.4
-
-*mesa-7.4.3 (21 Jun 2009)
-
-  21 Jun 2009; Tomáš Chvátal <scarabeus@gentoo.org>
-  -mesa-7.4.1-r2.ebuild, +mesa-7.4.3.ebuild:
-  Version bump. Remove old.
-
-  16 May 2009; Rémi Cardona <remi@gentoo.org> -mesa-7.3.ebuild,
-  -mesa-7.4.ebuild, -mesa-7.4.1-r1.ebuild:
-  drop old ebuilds
-
-*mesa-7.4.2 (16 May 2009)
-
-  16 May 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.4.2.ebuild:
-  bump to 7.4.2
-
-  15 May 2009; Raúl Porcel <armin76@gentoo.org> mesa-7.3-r1.ebuild:
-  arm stable
-
-  09 May 2009; Rémi Cardona <remi@gentoo.org> mesa-7.4.ebuild,
-  mesa-7.4.1-r1.ebuild, mesa-7.4.1-r2.ebuild:
-  drop printproto from DEPEND (I could not find a single reference to it
-  within the code), HPPA now has xf86driproto
-
-*mesa-7.4.1-r2 (07 May 2009)
-
-  07 May 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.4.1-r2.ebuild:
-  revbump to 7.4.1-r2, pull the latest patches from upstream's 7.4 branch
-  (including one that should fix R300 bug #268596)
-
-  02 May 2009; Tomas Chvatal <scarabeus@gentoo.org> mesa-7.4.1-r1.ebuild:
-  Remove glew headers during install. They are needed during build time and
-  glew cant be installed before mesa.
-
-  01 May 2009; Tomas Chvatal <scarabeus@gentoo.org> mesa-7.4.1-r1.ebuild:
-  Move glew RDEPEND to PDEPEND for avoiding circular deps.
-
-*mesa-7.4.1-r1 (29 Apr 2009)
-
-  29 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org> -mesa-7.4.1.ebuild,
-  +mesa-7.4.1-r1.ebuild:
-  Add some upstream patches that fixes various segfaluts. Revbump in the
-  process :]
-
-*mesa-7.4.1 (29 Apr 2009)
-
-  29 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org> -mesa-7.1_rc3.ebuild,
-  -mesa-7.2_rc1.ebuild, -mesa-7.4_rc1.ebuild, +mesa-7.4.1.ebuild:
-  Version bump. Remove _rc releases.
-
-  16 Apr 2009; Jeroen Roovers <jer@gentoo.org> mesa-7.3-r1.ebuild:
-  Stable for HPPA (bug #251832).
-
-  15 Apr 2009; Raúl Porcel <armin76@gentoo.org> mesa-7.3-r1.ebuild:
-  ia64/sh stable wrt #251832
-
-  06 Apr 2009; Friedrich Oslage <bluebird@gentoo.org> mesa-7.3-r1.ebuild:
-  Stable on sparc, bug #251832
-
-  05 Apr 2009; Markus Meier <maekke@gentoo.org> mesa-7.3-r1.ebuild:
-  x86 stable, bug #251832
-
-  05 Apr 2009; Olivier Crête <tester@gentoo.org> mesa-7.3-r1.ebuild:
-  Stable on amd64, bug #251832
-
-  05 Apr 2009; Olivier Crête <tester@gentoo.org> mesa-7.3-r1.ebuild:
-  Stable on amd64, bug #251832
-
-  03 Apr 2009; Brent Baude <ranger@gentoo.org> mesa-7.3-r1.ebuild:
-  Marking mesa-7.3-r1 ppc64 stable for bug 251832
-
-  03 Apr 2009; Brent Baude <ranger@gentoo.org> mesa-7.3-r1.ebuild:
-  Marking mesa-7.3-r1 ppc stable for bug 251832
-
-*mesa-7.4 (29 Mar 2009)
-
-  29 Mar 2009; Rémi Cardona <remi@gentoo.org>
-  +files/7.4-fix-parallel-make.patch, +mesa-7.4.ebuild:
-  bump to 7.4 with parallel make patch
-
-  26 Mar 2009; Tomas Chvatal <scarabeus@gentoo.org> mesa-7.4_rc1.ebuild:
-  We should depend on xcb? not on xcb= as usedep for libX11. Already fixed
-  in overlay.
-
-  26 Mar 2009; Rémi Cardona <remi@gentoo.org> -mesa-7.3-r2.ebuild:
-  drop 7.3-r2, it's almost identical to 7.4_rc1
-
-*mesa-7.4_rc1 (25 Mar 2009)
-
-  25 Mar 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.4_rc1.ebuild:
-  bump to 7.4_rc1 with a couple more patches from git
-
-*mesa-7.3-r2 (23 Mar 2009)
-
-  23 Mar 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.3-r2.ebuild:
-  add another 60+ patches from the 7.4 branch (tarball now has 135 patches),
-  use the -9999 ebuild from the overlay which has all kinds of fixes (thanks
-  to scarabeus and magnus)
-
-*mesa-7.3-r1 (07 Mar 2009)
-
-  07 Mar 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.3-r1.ebuild:
-  add 60+ patches from the 7.4 branch
-
-  03 Feb 2009; Rémi Cardona <remi@gentoo.org> mesa-7.3.ebuild:
-  only pull in the git eclass when PV==9999, fixes bug #257461
-
-*mesa-7.3 (01 Feb 2009)
-
-  01 Feb 2009; Rémi Cardona <remi@gentoo.org> +mesa-7.3.ebuild:
-  bump to 7.3, copy from the x11 overlay
-
-  30 Jan 2009; Mike Frysinger <vapier@gentoo.org> metadata.xml:
-  Document local USE=pic flag.
-
-  22 Oct 2008; Rémi Cardona <remi@gentoo.org> mesa-6.5.2-r1.ebuild,
-  mesa-7.0.3.ebuild, mesa-7.1_rc3.ebuild, mesa-7.1.ebuild,
-  mesa-7.2_rc1.ebuild, mesa-7.2.ebuild:
-  pkgmove from xf86-video-i810 to xf86-video-intel
-
-*mesa-7.2 (21 Sep 2008)
-
-  21 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.2.ebuild:
-  Version bump.
-
-  14 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.2_rc1.ebuild:
-  (#237648) Logic for asm was still wrong on sparc hardened (Does that even
-  exist?). Remove sparc-handling code altogether because the default does
-  the right thing.
-
-  14 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.1.ebuild,
-  mesa-7.2_rc1.ebuild:
-  mesa-progs has to be in PDEPEND to avoid a circular dependency through
-  freeglut (reported by Javier Villavicencio).
-
-*mesa-7.2_rc1 (14 Sep 2008)
-
-  14 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.2_rc1.ebuild:
-  Bump to RC. The major upstream change from 7.1 is to remove DRI2 code,
-  which is still a work in progress. (#237648) Assembly code enabling had
-  reversed logic, so it was enabled for pic & sparc but disabled for
-  everyone else.
-
-  11 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.1.ebuild:
-  Pull in mesa-progs so people don't get really confused by the lack of
-  glxinfo/glxgears.
-
-  08 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.1.ebuild:
-  (#237091) Pull in the latest versions of X libraries and protocol headers
-  so they don't change as easily after mesa is built but before xorg-server.
-
-*mesa-7.1 (06 Sep 2008)
-
-  06 Sep 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.1.ebuild:
-  Version bump.
-
-*mesa-7.1_rc3 (09 Jul 2008)
-
-  09 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>;
-  -files/src-mesa-drivers-Makefile, -mesa-7.1_rc2.ebuild,
-  +mesa-7.1_rc3.ebuild:
-  Bump to fix rc2 problems.
-
-  08 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>;
-  -files/0001-dri-drop-asserts-to-make-build-against-stable-libdr.patch,
-  -files/7.0.2-glw.pc.in,
-  -files/0001-mesa-drm-ttm-allow-build-against-non-TTM-aware-libd.patch,
-  -files/version.mk, -mesa-7.0.2.ebuild, -mesa-7.1_rc1.ebuild:
-  Pull old ebuilds that aren't latest stable, ~arch, or RC.
-
-*mesa-7.1_rc2 (08 Jul 2008)
-
-  08 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>;
-  +files/src-mesa-drivers-Makefile, +mesa-7.1_rc2.ebuild:
-  Bump.
-
-  01 Jul 2008; Donnie Berkholz <dberkholz@gentoo.org>;
-  +files/0001-dri-drop-asserts-to-make-build-against-stable-libdr.patch,
-  mesa-7.1_rc1.ebuild:
-  Fix build with libdrm 2.3.1.
-
-  27 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>; +files/version.mk:
-  Add missed file.
-
-  27 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>;
-  +files/0001-mesa-drm-ttm-allow-build-against-non-TTM-aware-libd.patch,
-  mesa-7.1_rc1.ebuild:
-  Stop fetching from git pointlessly after downloading the tarball. Add a
-  patch to attempt allowing builds against libdrm 2.3.1. It still doesn't
-  actually work for reasons I don't understand, but it seems to have
-  something to do with the 'depend' files mesa's weird build system uses.
-
-  27 Jun 2008; Ulrich Mueller <ulm@gentoo.org> mesa-6.5.2-r1.ebuild,
-  mesa-7.0.2.ebuild, mesa-7.0.3.ebuild, mesa-7.1_rc1.ebuild:
-  Change dependency from virtual/motif to x11-libs/openmotif, bug 224749.
-
-  13 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.1_rc1.ebuild:
-  Change libdrm dep to 2.3.1 or newer. It won't actually build for the intel
-  driver yet, but others might work.
-
-  10 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.2-r1.ebuild:
-  Drop to ~mips to silence repoman warnings.
-
-*mesa-7.1_rc1 (10 Jun 2008)
-
-  10 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.1_rc1.ebuild:
-  Bump to release candidate for 7.1. Lots of new code, including the swrast
-  DRI driver so we don't need to have Mesa source code during the
-  xorg-server build anymore. There's also a new autoconf build system that
-  simplifies the ebuild considerably.
-
-  02 May 2008; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.0.3.ebuild:
-  Revert the libdrm dependency change. 7.0.3 does not compile with current
-  libdrm-9999 git.
-
-  29 Apr 2008; Hanno Boeck <hanno@gentoo.org> mesa-7.0.3.ebuild:
-  Change libdrm-dep from = to >=.
-
-*mesa-7.0.3 (25 Apr 2008)
-
-  25 Apr 2008; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.0.3.ebuild:
-  (#209900, #212511) Bump.
-
-  31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; -mesa-7.0.1.ebuild:
-  Clean up.
-
-  16 Nov 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.0.1.ebuild,
-  mesa-7.0.2.ebuild:
-  (#199282) Use has_version instead of best_version to make sure we detect
-  xorg-server installation correctly (Jakub Moc).
-
-  14 Nov 2007; Zac Medico <zmedico@gentoo.org> mesa-6.5.2-r1.ebuild,
-  mesa-7.0.1.ebuild, mesa-7.0.2.ebuild:
-  Add eselect-opengl to RDEPEND since having it in DEPEND alone will not
-  pull it in for binary packages. If the postinst `eselect opengl` call fails
-  then it can lead to build errors later, as reported by release engineering.
-
-  12 Nov 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.0.1.ebuild,
-  mesa-7.0.2.ebuild:
-  Add a note about needing to rebuild xorg-server with USE='-nptl'.
-
-  12 Nov 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-7.0.2.ebuild:
-  Re-keyword, I masked USE=nptl for mesa-7 to work around the problem. This
-  will also require a rebuild of xorg-server without USE=nptl.
-
-  11 Nov 2007; <solar@gentoo.org> mesa-6.5.2-r1.ebuild, mesa-7.0.1.ebuild,
-  mesa-7.0.2.ebuild:
-  - The use of the hardened flag to control the building of position
-  independent code was incorrect. mesa ebuilds now use pic USE flag
-
-*mesa-7.0.2 (10 Nov 2007)
-
-  10 Nov 2007; Donnie Berkholz <dberkholz@gentoo.org>;
-  +files/7.0.2-glw.pc.in, +mesa-7.0.2.ebuild:
-  Bump to 7.0.2, with lots of bugfixes. I removed all keywords because I can't
-  get any 3D apps running besides glxgears, but I'd like to get reports from
-  others to help figure out whether my system's just broken.
-
-  09 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>;
-  -files/mesa-6.5.3-pthread.patch, -mesa-6.5.2.ebuild, -mesa-6.5.3.ebuild:
-  More cleanup of ebuilds that aren't latest stable or ~arch.
-
-  09 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>;
-  -files/6.4-multilib-fix.patch, -files/6.5.1-freebsd-dri.patch,
-  -files/6.5.1-xcb-dont-unlock-twice.patch,
-  -files/6.5-re-order-context-destruction.patch,
-  -files/6.5.1-mach64-dri-private-dma-2.patch,
-  -files/6.4-dont-install-gles-headers.patch,
-  -files/6.5.1-i965-bufmgr.patch, -files/6.5.1-use-new-xcb-naming.patch,
-  -files/change-default-dri-driver-dir-X7.1.patch, -mesa-6.5-r3.ebuild,
-  -mesa-6.5.1-r1.ebuild, -mesa-6.5.1-r4.ebuild:
-  Clean out old versions.
-
-  09 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5-r3.ebuild,
-  mesa-6.5.1-r1.ebuild, mesa-6.5.1-r4.ebuild, mesa-6.5.2.ebuild,
-  mesa-6.5.2-r1.ebuild, mesa-6.5.3.ebuild, mesa-7.0.1.ebuild:
-  Fix quoting issues caught by latest repoman.
-
-  12 Aug 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5-r3.ebuild,
-  mesa-6.5.1-r1.ebuild, mesa-6.5.1-r4.ebuild, mesa-6.5.2.ebuild,
-  mesa-6.5.2-r1.ebuild, mesa-6.5.3.ebuild:
-  Backport GCC 4.2 -O2 workaround for ivopts bug from 7.0.1.
-
-*mesa-7.0.1 (11 Aug 2007)
-
-  11 Aug 2007; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-7.0.1.ebuild:
-  (#183626) Bump. Lots of bugfixes from the 6.5.3 development release, no new
-  features. Also appending -fno-ivopts on gcc-4.2 systems -- symptoms this
-  fixes include black screens on glxgears. Still has a slight performance
-  issue with nptl if using assembly optimizations, which is the case for
-  non-hardened (see https://bugs.freedesktop.org/show_bug.cgi?id=7459 for
-  details). Some ebuild cleanup, including safety for build directories
-  containing spaces; removal of dead code for EGL; clean generation of libGLU
-  symlinks; getting rid of many of those confusing makedepend warnings; change
-  from add_drivers() function to a cleaner driver_enable() that contains
-  conditionals internally.
-
-  07 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org> mesa-6.5.2-r1.ebuild:
-  Stable on sparc wrt #175465
-
-  01 Aug 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.3.ebuild:
-  (#178655) Add dep on libXdamage for damage reporting.
-
-  30 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5-r3.ebuild,
-  mesa-6.5.1-r1.ebuild, mesa-6.5.1-r4.ebuild, mesa-6.5.2.ebuild,
-  mesa-6.5.2-r1.ebuild, mesa-6.5.3.ebuild:
-  Move eselect-opengl into DEPEND only, so it can be uninstalled later.
-
-  02 Jul 2007; Raúl Porcel <armin76@gentoo.org> mesa-6.5.2-r1.ebuild:
-  alpha stable wrt #175465
-
-  02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> mesa-6.5-r3.ebuild,
-  mesa-6.5.1-r1.ebuild, mesa-6.5.1-r4.ebuild, mesa-6.5.2.ebuild,
-  mesa-6.5.2-r1.ebuild, mesa-6.5.3.ebuild:
-  (QA) RESTRICT clean up.
-
-  24 Jun 2007; Joshua Kinard <kumba@gentoo.org> mesa-6.5.2-r1.ebuild:
-  Stable on mips, per #175465.
-
-  20 May 2007; Jeroen Roovers <jer@gentoo.org> mesa-6.5.2-r1.ebuild:
-  Stable for HPPA (bug #175465).
-
-  13 May 2007; Joshua Baergen <joshuabaergen@gentoo.org>
-  +files/mesa-6.5.3-pthread.patch, mesa-6.5.3.ebuild:
-  Include Diego's xcb patch, fixing bug #177329.
-
-  12 May 2007; nixnut <nixnut@gentoo.org> mesa-6.5.2-r1.ebuild:
-  Stable on ppc wrt bug 175465
-
-  05 May 2007; Daniel Gryniewicz <dang@gentoo.org> mesa-6.5.2-r1.ebuild:
-  Marked stable on amd64 for bug #175465
-
-*mesa-6.5.3 (29 Apr 2007)
-
-  29 Apr 2007; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-6.5.3.ebuild:
-  Add 6.5.3. Supports OpenGL 2.0 and 2.1 in software, adds new GLSL code
-  generator, new vertex buffer object (vbo) infrastructure, and more.
-
-  29 Apr 2007; Andrej Kacian <ticho@gentoo.org> mesa-6.5.2-r1.ebuild:
-  Stable on x86, bug #175465.
-
-  25 Apr 2007; Raúl Porcel <armin76@gentoo.org> mesa-6.5.2-r1.ebuild:
-  Stable on ia64 wrt bug #175465.
-
-  25 Apr 2007; Markus Rothe <corsair@gentoo.org> mesa-6.5.2-r1.ebuild:
-  Stable on ppc64; bug #175465
-
-  07 Apr 2007; Mike Frysinger <vapier@gentoo.org> mesa-6.5-r3.ebuild:
-  Remove fluff reference to EXEDESTTREE.
-
-*mesa-6.5.2-r1 (19 Feb 2007)
-
-  19 Feb 2007; Joshua Baergen <joshuabaergen@gentoo.org>
-  +files/6.5.2-i965-wine-fix.patch, +mesa-6.5.2-r1.ebuild:
-  Fix 3D apps running in Wine.  (Bug #163973, riku)
-
-  19 Feb 2007; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.5.2.ebuild:
-  Re-add die to mesa if building +xcb when libX11 is -xcb. (Bug #163761, Petteri
-  Räty)
-
-  18 Feb 2007; Ryan Hill <dirtyepic@gentoo.org> mesa-6.5.2.ebuild:
-  Apply previous fix to the 6.5.2 ebuild as well.
-
-  17 Feb 2007; Simon Stelling <blubb@gentoo.org> mesa-6.5.1-r1.ebuild:
-  fix from my last commit: string equality != integer equality
-
-  17 Feb 2007; Simon Stelling <blubb@gentoo.org> mesa-6.5.1-r1.ebuild,
-  mesa-6.5.2.ebuild:
-  set CONFIG depending on ABI on amd64; bug 125125
-
-  24 Jan 2007; Donnie Berkholz <dberkholz@gentoo.org>;
-  -files/64bit-fix-have-dix-config.patch,
-  -files/64bit-fix-indirect-vertex-array.patch,
-  -files/6.5-fix-radeon-PCIE.patch,
-  -files/change-default-dri-driver-dir.patch,
-  -files/makedepend-location.patch, -files/radeon-texture-problem.patch,
-  -mesa-6.4.2-r2.ebuild, -mesa-6.5-r4.ebuild, -mesa-6.5.1-r2.ebuild:
-  Clean up.
-
-  08 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.5.2.ebuild:
-  leio bets his gold watch that this version needs a better libdrm too.
-
-  08 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  mesa-6.5.1-r4.ebuild:
-  Fix libdrm dependency due to mach64 patch.  (Thanks to leio)
-
-  07 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  mesa-6.5.1-r4.ebuild:
-  Whitespace fix to make repoman happy.
-
-*mesa-6.5.1-r4 (07 Dec 2006)
-
-  07 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  +files/6.5.1-i965-bufmgr.patch, -mesa-6.5.1-r3.ebuild,
-  +mesa-6.5.1-r4.ebuild:
-  Fix 3D on i965 (bug #156569, riku) and make sure libX11 was built with xcb
-  when building +xcb (bug #156397, Priit Laes).
-
-  07 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  -mesa-6.5.2_pre20061102.ebuild:
-  Remove mesa snapshot.
-
-*mesa-6.5.1-r3 (07 Dec 2006)
-
-  07 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  +files/6.5.1-mach64-dri-private-dma-2.patch, +mesa-6.5.1-r3.ebuild:
-  Fix compiling against newer libdrms (2.2.0+).  Thanks for Mart Raudsepp for
-  the discovery of the patch.  (Fixes bug #154827)
-
-*mesa-6.5.2 (04 Dec 2006)
-
-  04 Dec 2006; Joshua Baergen <joshuabaergen@gentoo.org> +mesa-6.5.2.ebuild:
-  New mesa release with numerous bugfixes and improvements.  Introduces the
-  i915tex driver, which takes advantage of the new DRI memory manager.  You'll
-  need a newer kernel DRM to use it than is currently available in the tree.
-
-  01 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> mesa-6.5.1-r1.ebuild:
-  Stable on hppa
-
-  03 Nov 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  mesa-6.5.2_pre20061102.ebuild:
-  Mesa 6.5.2 apparently requires >=libdrm-2.2.
-
-  03 Nov 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  mesa-6.5.2_pre20061102.ebuild:
-  Fix SRC_URI.
-
-*mesa-6.5.2_pre20061102 (03 Nov 2006)
-
-  03 Nov 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  +mesa-6.5.2_pre20061102.ebuild:
-  Add a mesa snapshot for the input hotplug server.
-
-  27 Oct 2006; Joseph Jezak <josejx@gentoo.org> mesa-6.5.1-r1.ebuild,
-  mesa-6.5.1-r2.ebuild:
-  Marked ppc stable.
-
-  17 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> mesa-6.5.1-r1.ebuild:
-  Stable on sparc
-
-  16 Oct 2006; Markus Rothe <corsair@gentoo.org> mesa-6.5.1-r1.ebuild:
-  Stable on ppc64
-
-  13 Oct 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  mesa-6.5.1-r1.ebuild:
-  AMD64/x86 stable for bug #144549 (X7.1).
-
-  11 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.4.2-r2.ebuild,
-  mesa-6.5-r3.ebuild, mesa-6.5-r4.ebuild, mesa-6.5.1-r1.ebuild,
-  mesa-6.5.1-r2.ebuild:
-  (#149248) Since upstream cares more about performance than textrels etc, add
-  a RESTRICT for the stricter FEATURES setting.
-
-*mesa-6.5.1-r2 (09 Oct 2006)
-
-  09 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>;
-  +files/6.5.1-use-new-xcb-naming.patch,
-  +files/6.5.1-xcb-dont-unlock-twice.patch, +mesa-6.5.1-r2.ebuild:
-  Add a masked, XCB-capable mesa.
-
-  28 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; -mesa-6.5.1.ebuild:
-  Clean out broken ebuild.
-
-  28 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1-r1.ebuild:
-  Require glproto 1.4.8 instead of 1.4.7 for new eye candy to work properly
-  (Hanno Böck).
-
-  21 Sep 2006; Javier Villavicencio <the_paya@gentoo.org>
-  +files/6.5.1-freebsd-dri.patch, mesa-6.5.1-r1.ebuild:
-  Fixes to build on Gentoo/FreeBSD with DRI enabled wrt bug #146892.
-
-  18 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; ChangeLog:
-  Add bug number for libGL.la fix.
-
-*mesa-6.5.1-r1 (18 Sep 2006)
-
-  18 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>;
-  +mesa-6.5.1-r1.ebuild:
-  Bump to incorporate needed fixes.
-
-  18 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
-  (#147982) Add in a sed of libdir in libGL.la from 6.5-r4 to avoid breaking
-  things in a big way.
-
-  17 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
-  (#147872) Require libdrm 2.0.2. At least the r200 driver needs it, maybe more.
-
-  16 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
-  Add pkgconfig to DEPEND.
-
-  16 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
-  Get rid of arch-specific defaults, since they're in profiles now.
-
-  16 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
-  (#147804) Add i965 to build when VIDEO_CARDS=i810.
-
-  16 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.5.1.ebuild:
-  Dep on glproto 1.4.7, not 1.4.4. Older versions aren't in portage anymore,
-  but it's still possible to remain on them (Hanno Böck).
-
-*mesa-6.5.1 (16 Sep 2006)
-
-  16 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; +mesa-6.5.1.ebuild:
-  Bump.
-
-  25 Aug 2006; Hanno Boeck <hanno@gentoo.org> files/lib/libGL.la,
-  mesa-6.4.2-r2.ebuild, mesa-6.5-r3.ebuild, mesa-6.5-r4.ebuild:
-  Really fix libGL.la, replace lib with get_libdir.
-
-  25 Aug 2006; Hanno Boeck <hanno@gentoo.org> files/lib/libGL.la:
-  Make libGL.la point to /usr/lib to let apps link against currently running
-  libGL.
-
-*mesa-6.5-r4 (29 Jul 2006)
-
-  29 Jul 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  +files/6.5-fix-radeon-PCIE.patch, +mesa-6.5-r4.ebuild:
-  Add a fix for Radeons using PCIE.  (Thanks to Jochen Trumpf, bug #136315)
-
-  19 Jul 2006; Guy Martin <gmsoft@gentoo.org> mesa-6.5-r3.ebuild:
-  Stable on hppa.
-
-  12 Jul 2006; Stefan Schweizer <genstef@gentoo.org> mesa-6.4.2-r2.ebuild,
-  mesa-6.5-r3.ebuild:
-  Do not use xargs because it does not work for functions
-
-  12 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.4.2-r2.ebuild,
-  mesa-6.5-r3.ebuild:
-  Stop PROVIDE-ing new-style virtuals.
-
-  12 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>; mesa-6.4.2-r2.ebuild,
-  mesa-6.5-r3.ebuild:
-  (#120375) Pull in app-doc/opengl-manpages on USE=doc.
-
-  10 Jul 2006; Aron Griffis <agriffis@gentoo.org> mesa-6.5-r3.ebuild:
-  Mark 6.5-r3 stable on ia64
-
-  02 Jul 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild,
-  mesa-6.5-r3.ebuild:
-  Also disable ASM_API on USE=hardened (Kevin F. Quinn).
-
-  30 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5-r3.ebuild:
-  ppc/sparc/mips/alpha/arm/sh stable
-
-  30 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild:
-  ppc/sparc/mips/alpha/arm/sh stable
-
-  30 Jun 2006; Markus Rothe <corsair@gentoo.org> mesa-6.5-r3.ebuild:
-  Stable on ppc64
-
-  30 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> mesa-6.4.2-r2.ebuild:
-  Stable on amd64.
-
-  30 Jun 2006; Markus Rothe <corsair@gentoo.org> mesa-6.4.2-r2.ebuild:
-  Stable on ppc64
-
-  30 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild:
-  x86 stable.
-
-  30 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild,
-  mesa-6.5-r3.ebuild:
-  Add hardened USE flag to deactivate assembly code.
-
-  21 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5-r3.ebuild:
-  (#130951) Fix libGLU symlink (Torsten Veller).
-
-  27 Apr 2006; Marien Zwart <marienz@gentoo.org> Manifest:
-  Fixing SHA256 digest, pass four
-
-  21 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; -mesa-6.5.ebuild,
-  -mesa-6.5-r1.ebuild, -mesa-6.5-r2.ebuild:
-  Pull old masked ebuilds.
-
-*mesa-6.5-r3 (21 Apr 2006)
-
-  21 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; +mesa-6.5-r3.ebuild:
-  Add USE=nptl to build with TLS. Note that AIGLX will not work unless both
-  xorg-server and mesa are built with the same setting of the nptl flag.
-
-  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5.ebuild,
-  mesa-6.5-r1.ebuild, mesa-6.5-r2.ebuild:
-  (#130174) Update glproto dep to minimum 1.4.4.
-
-  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild,
-  mesa-6.5.ebuild, mesa-6.5-r1.ebuild, mesa-6.5-r2.ebuild:
-  Split out ATI cards into mach64, r128 and radeon.
-
-  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r2.ebuild,
-  mesa-6.5.ebuild, mesa-6.5-r1.ebuild:
-  Alphabetize drivers in the other ebuilds as well, for easier application of
-  other patches.
-
-  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5-r2.ebuild:
-  Append -fno-strict-aliasing, many drivers have issues.
-
-  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5-r2.ebuild:
-  Alphabetize ordering of drivers for easier parsing.
-
-  16 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.5-r2.ebuild:
-  Don't need to sed dprintf anymore, it's fixed upstream.
-
-*mesa-6.5-r2 (14 Apr 2006)
-
-  14 Apr 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  +files/change-default-dri-driver-dir-X7.1.patch, +mesa-6.5-r2.ebuild:
-  Revision bump to use new paths for drivers.  Drivers now sit in
-  /usr/$(get_libdir)/dri, rather than /usr/$(get_libdir)/xorg/modules/dri .
-
-*mesa-6.5-r1 (12 Apr 2006)
-
-  12 Apr 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  +files/6.5-re-order-context-destruction.patch, +mesa-6.5-r1.ebuild:
-  Add some upstream fixes that re-order GL context destruction in the ati
-  drivers to avoid a possible NULL dereference.
-  
-  I've also restored the entire ChangeLog, as it appears to have been truncated
-  during Diego's last commit.
-
-  08 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> mesa-6.4.2-r2.ebuild,
-  mesa-6.5.ebuild:
-  Add a simple sed to replace -ldl with the right call for the libc used with
-  dlopen_lib() function in portability eclass. This allows to link correctly
-  to libGL when using libtool on Gentoo/FreeBSD.
-
-  03 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> mesa-6.4.2-r2.ebuild,
-  mesa-6.5.ebuild:
-  Add special case for FreeBSD where libGL has only major soversion.
-
-  01 Apr 2006; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.5.ebuild:
-  Bump the libdrm dependency and fix the i810 chip series driver compile.  (Bug
-  #128328, Alex Rostovtsev)
-
-  01 Apr 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  mesa-6.4.2-r2.ebuild, mesa-6.5.ebuild:
-  Add some missing x11-proto dependencies.  (bug #128336, Steven Jenkins)
-
-*mesa-6.5 (01 Apr 2006)
-
-  01 Apr 2006; Donnie Berkholz <spyderous@gentoo.org>; +mesa-6.5.ebuild:
-  Bump for masked development release, needed for newer i810 drivers. Also
-  adds some GLSL (OpenGL Shading Language) support and lots of development in
-  r300 driver, among others.
-
-  31 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> mesa-6.4.2-r2.ebuild:
-  Add ~x86-fbsd keyword.
-
-*mesa-6.4.2-r2 (12 Mar 2006)
-
-  12 Mar 2006; Joshua Baergen <joshuabaergen@gentoo.org>
-  +files/radeon-texture-problem.patch, -mesa-6.4.2-r1.ebuild,
-  +mesa-6.4.2-r2.ebuild:
-  Fix a Radeon crash in certain applications (such as Croquet 0.3), and don't
-  compile debug code into the drivers if USE=-debug (Santiago Gala, bug
-  #125004).  Also, fix a naming conflict between SGI GLU code and glibc 2.4
-  (SpanKY, KIMURA Masaru / hiyuh, bug #125809).
-
-  28 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2-r1.ebuild:
-  Make USE=debug work more nicely with FEATURES=splitdebug.
-
-*mesa-6.4.2-r1 (16 Feb 2006)
-
-  16 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>;
-  +files/64bit-fix-have-dix-config.patch,
-  +files/64bit-fix-indirect-vertex-array.patch,
-  -files/6.4.1-amd64-include-assyntax.patch, -mesa-6.4.1-r1.ebuild,
-  -mesa-6.4.2.ebuild, +mesa-6.4.2-r1.ebuild:
-  Really fix direct rendering on amd64. Also remove old versions.
-
-  14 Feb 2006; Markus Rothe <corsair@gentoo.org> mesa-6.4.1-r1.ebuild,
-  mesa-6.4.2.ebuild:
-  Added ~ppc64
-
-  06 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2.ebuild:
-  Add mach64 and tdfx to ppc defaults. Some evidence that glide-v3 works on
-  ppc exists; needs testing, and is required for tdfx 3D to work.
-
-  06 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2.ebuild:
-  Add arch-dependent defaults for building 3D drivers.
-
-  03 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.2.ebuild:
-  Add a fake video_cards_none for people who don't want any DRI drivers, e.g.
-  if they're using binary drivers.
-
-*mesa-6.4.2 (03 Feb 2006)
-
-  03 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; +mesa-6.4.2.ebuild:
-  Bump. Port to VIDEO_CARDS. Not really any relevant upstream changes, except
-  a change in the install script to install GLw headers. Also,
-  6.4.1-amd64-include-assyntax.patch was incorporated into this release.
-
-  02 Feb 2006; Herbie Hopkins <herbs@gentoo.org> mesa-6.4.1-r1.ebuild:
-  Fix setting of the default dri drivers directory.
-
-  02 Feb 2006; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.4.1-r1.ebuild:
-  Add USE=debug support.
-
-  31 Jan 2006; Rene Nussbaumer <killerfox@gentoo.org> mesa-6.4.1-r1.ebuild:
-  Unstable on hppa.
-
-  23 Jan 2006; Donnie Berkholz <spyderous@gentoo.org>;
-  -files/configurable-dri-dir.patch, mesa-6.4.1-r1.ebuild:
-  Some people don't understand what #ifndef means.
-
-  26 Dec 2005; Stefaan De Roeck <stefaan@gentoo.org> mesa-6.4.1-r1.ebuild:
-  Marked ~alpha
-
-  16 Dec 2005; Herbie Hopkins <herbs@gentoo.org>
-  +files/6.4-multilib-fix.patch, +files/configurable-dri-dir.patch,
-  mesa-6.4.1-r1.ebuild:
-  Cleaned up multilib fixes, made default dri drivers directory configurable
-  so we can set it to lib64 on multilib systems.
-
-*mesa-6.4.1-r1 (12 Dec 2005)
-
-  12 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; -mesa-6.4.1.ebuild,
-  +mesa-6.4.1-r1.ebuild:
-  Install correct libGLU.so.1.3.
-
-  09 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; -mesa-6.4-r1.ebuild:
-  Pull old versions.
-
-  02 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  files/6.4.1-amd64-include-assyntax.patch:
-  Add more info to patch.
-
-  02 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  +files/6.4.1-amd64-include-assyntax.patch, mesa-6.4.1.ebuild:
-  (#114066) Add 6.4.1-amd64-include-assyntax.patch to fix amd64 build.
-
-*mesa-6.4.1 (30 Nov 2005)
-
-  30 Nov 2005; Donnie Berkholz <spyderous@gentoo.org>; +mesa-6.4.1.ebuild:
-  New version. This is the one that's expected to be in X.Org 7.0. Fix libGL.*
-  symlink deletion so the dot really matches a dot instead of any character,
-  so other symlinks don't get deleted. (#110840) Build with PIC, since it
-  hasn't been shown to slow it down. Remove commented-out lines about OSMesa.
-  Keep using 6.4-dont-install-gles-headers.patch, so don't delete it when
-  pulling 6.4.
-
-  27 Nov 2005; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.4-r1.ebuild:
-  Added Diego's patch for FreeBSD support. Closes bug #111145.
-
-  16 Nov 2005; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.4-r1.ebuild:
-  Changed xorg-x11 blocker for clarity.
-
-*mesa-6.4-r1 (14 Nov 2005)
-
-  14 Nov 2005; Donnie Berkholz <spyderous@gentoo.org>; -mesa-6.4.ebuild,
-  +mesa-6.4-r1.ebuild:
-  Install GLwDrawA.h, and if USE=motif, install GLwMDrawA.h. Reported by
-  Stefaan De Roeck <stefaan@gentoo.org>.
-
-  14 Nov 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  -files/dont-install-gles-headers.patch,
-  -files/mesa-add-dri-asm-files.patch, -mesa-6.3.2-r1.ebuild:
-  Pull old version.
-
-  11 Nov 2005; MATSUU Takuto <matsuu@gentoo.org> mesa-6.4.ebuild:
-  added ~sh keyword
-
-  01 Nov 2005; Joshua Baergen <joshuabaergen@gentoo.org> mesa-6.4.ebuild:
-  Change xorg-x11 blocker to allow for rc metabuilds.
-
-*mesa-6.4 (31 Oct 2005)
-
-  31 Oct 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  +files/6.4-dont-install-gles-headers.patch, +mesa-6.4.ebuild:
-  Bump.
-
-  30 Oct 2005; Joshua Baergen <joshuabaergen@gentoo.org>
-  mesa-6.3.2-r1.ebuild:
-  Change xorg-x11 blocker to allow for metabuilds.
-
-  19 Oct 2005; Stephen P. Becker <geoman@gentoo.org> mesa-6.3.2-r1.ebuild:
-  added ~mips keyword
-
-  12 Oct 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.2-r1.ebuild:
-  Add runtime blocker for !<x11-base/xorg-x11-7.
-
-  12 Oct 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  -files/lib/libOSMesa.la, -mesa-6.3.1.1-r3.ebuild, -mesa-6.3.2.ebuild:
-  Pull old ebuilds. Current versions aren't using libOSMesa.la either, so pull
-  that too.
-
-*mesa-6.3.2-r1 (20 Sep 2005)
-
-  20 Sep 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  +mesa-6.3.2-r1.ebuild:
-  Mesa isn't making libGLU.so -> libGLU.so.# unversioned to versioned symlink.
-  This makes stuff trying to link against libGLU break.
-
-  09 Sep 2005; Donnie Berkholz <spyderous@gentoo.org>; +metadata.xml:
-  Add metadata.
-
-  06 Sep 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  mesa-6.3.1.1-r3.ebuild, mesa-6.3.2.ebuild:
-  Add missing 'set' argument to eselect.
-
-  06 Sep 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.2.ebuild:
-  (#104367) Add xf86vidmodeproto and libICE to deps.
-
-  04 Sep 2005; Luca Barbato <lu_zero@gentoo.org> mesa-6.3.2.ebuild:
-  Marked ~ppc
-
-  03 Sep 2005; Jeremy Huddleston <eradicator@gentoo.org>
-  mesa-6.3.1.1-r3.ebuild, mesa-6.3.2.ebuild:
-  Switching to use eselect over opengl-update.
-
-  22 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.2.ebuild:
-  Split out an arch-specific variable DRI_DRIVERS_${ARCH} for defining which
-  drivers to build. Put it up at the top, to try separating data from code.
-  Perhaps doing something similar in pkg_setup(), but having if...elif and
-  just DRI_DRIVERS, would work reasonably, but it doesn't isolate the data as
-  well.
-
-  22 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.2.ebuild:
-  Move EXTRA_LIB_PATH blanking out from within a sparc block, because it
-  should be used for everyone. Also move arch-specific section away from
-  generic sections.
-
-*mesa-6.3.2 (22 Aug 2005)
-
-  22 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  +files/mesa-add-dri-asm-files.patch, +mesa-6.3.2.ebuild:
-  Bump to latest devel release. The assembly files in DRI drivers didn't get
-  packaged, so add mesa-add-dri-asm-files.patch to patch them in. I think this
-  release will also fix 32/64 systems, if they also have the latest DRM.
-
-  22 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  -files/fix-include-locations.patch, -files/fix-xthreads-location.patch,
-  -files/use-xthreads.patch, -mesa-6.3.1.1.ebuild, -mesa-6.3.1.1-r1.ebuild,
-  -mesa-6.3.1.1-r2.ebuild:
-  Pull old versions.
-
-  20 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  mesa-6.3.1.1-r3.ebuild:
-  Stop installing glut headers to avoid conflicts with virtual/glut providers.
-  Reported by Andrej Kacian <ticho@gentoo.org>.
-
-  17 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  mesa-6.3.1.1-r3.ebuild:
-  Add x11-proto/printproto to DEPEND on USE=motif.
-
-  16 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  mesa-6.3.1.1-r3.ebuild:
-  libOSMesa isn't building anymore, so stop symlinking and installing libtool
-  archives.
-
-*mesa-6.3.1.1-r3 (16 Aug 2005)
-
-  16 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  +mesa-6.3.1.1-r3.ebuild:
-  Fix direct rendering on r200 by adding USING_EGL=0. Turning off EGL takes a
-  lot of work.
-
-  15 Aug 2005; Herbie Hopkins <herbs@gentoo.org> mesa-6.3.1.1-r2.ebuild:
-  Fix multilib issue and add ~amd64 keyword.
-
-  15 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  mesa-6.3.1.1-r2.ebuild:
-  Install libGL.la to /usr/lib/opengl/xorg-x11/lib, where libGL.so really is,
-  instead of /usr/lib. This only seems necessary because of the LDPATH hack in
-  opengl-update.
-
-*mesa-6.3.1.1-r2 (14 Aug 2005)
-
-  14 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  +files/change-default-dri-driver-dir.patch,
-  +files/dont-install-gles-headers.patch, +mesa-6.3.1.1-r2.ebuild:
-  Stop building EGL things, because they aren't ready upstream. Also the EGL
-  demos rely on glut, which creates a circular dependency. Change the default
-  DRI driver directory to the one we actually use. This should be enough to
-  get direct rendering working.
-
-*mesa-6.3.1.1-r1 (12 Aug 2005)
-
-  12 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  +mesa-6.3.1.1-r1.ebuild:
-  Bump to update to CVS head as of yesterday.
-
-  12 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
-  Turn parallel build back off. Can get problems with depend files not existing.
-
-  12 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
-  Test out parallel make. fmccor says it works.
-
-  12 Aug 2005; Ferris McCormick <fmccor@gentoo.org> mesa-6.3.1.1.ebuild:
-  1. General cleanup for sparc, get rid of the ill-considered
-     IUSE=dri;
-  2. Make sure to install the actual dri drivers as well as the
-     base libGL package.
-
-  11 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; Manifest:
-  Fix manifest.
-
-  11 Aug 2005; Ferris McCormick <fmccor@gentoo.org> mesa-6.3.1.1.ebuild:
-  Following changes build a reunning libGL for sparc testing and set
-  a sane set of DRI drivers, depending on USE=dri flag:
-  1.	With dri, sparc assembly appears to be unusable.  This is because
-  	the build and directory structures have been changed so that the
-  	actual initialization code moves to the dri drivers themselves
-  	when sparc assembly is built.  Correcting this is nontrivial,
-  	because the glx build uses hard-defined source names and paths.
-  2.	With USE=dri, on sparc build only a subset of the full complement
-  	of drivers.  For now, DRI_DIRS = fb ffb mach64 mga radeon savage
-  3.  Without USE=dri, change the target to (generic) linux-sparc.  In
-  	this case, architecture is actually set by CFLAGS passed in to the
-  	configure target, and both glx-capable and stand-alone versions
-  	of libGL are built.
-  4.  For testing, and perhaps ultimately for performance, on sparc, unless
-  	USE=dri, do not fix_opengl_symlinks
-  With these changes in place,
-  LD_LIBRARY_PATH=<path-to-libGL>:<path-to-libGLU> some-libGL-program
-  works fine.
-
-  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  +files/fix-include-locations.patch, mesa-6.3.1.1.ebuild:
-  Add fix-include-locations.patch to standardize include locations to
-  <X11/extensions/foo.h> instead of some mixture of <foo.h> and "foo.h."
-
-  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  +files/makedepend-location.patch, mesa-6.3.1.1.ebuild:
-  Add makedepend-location.patch to stop mesa from looking in /usr/X11R6/bin.
-
-  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
-  Add dep on >=x11-proto/glproto-1.4-r1.
-
-  10 Aug 2005; Ferris McCormick <fmccor@gentoo.org> mesa-6.3.1.1.ebuild:
-  1.  Correct echo "$(...)" to echo "\$(...)";
-  2.  When building for sparc, make sure that:
-  	a.  Use sparc assembly versions where appropriate;
-  	b.  Make sure sparc-specific sources are built;
-  	c.  For testing, don't actually build the dri drivers
-  	    because they are known not to work.
-  	d.  TODO:  Figure out why two versions of libGL are built,
-  		and why the install ends up linking to the incorrect
-  		version (the one with the undefined externals).
-
-  10 Aug 2005; Ferris McCormick <fmccor@gentoo.org> mesa-6.3.1.1.ebuild:
-  Add ~sparc keyword (X modular testing).
-
-  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
-  Add dep on >=opengl-update-2.2.2.
-
-  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
-  Add fix_opengl_symlinks() from xorg-x11, to set up the libGL symlinks.
-
-  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; mesa-6.3.1.1.ebuild:
-  Stop cleaning out /usr/lib/opengl/xorg-x11, now that two other packages also
-  install to it.
-
-  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>; -mesa-3.5.ebuild:
-  Drop old version.
-
-*mesa-6.3.1.1 (10 Aug 2005)
-
-  10 Aug 2005; Donnie Berkholz <spyderous@gentoo.org>;
-  +files/fix-xthreads-location.patch, +files/lib/libGL.la,
-  +files/lib/libGLU.la, +files/lib/libOSMesa.la, +files/use-xthreads.patch,
-  +mesa-6.3.1.1.ebuild:
-  Add for modular X.
-
-  07 Jun 2004; Aron Griffis <agriffis@gentoo.org> mesa-3.5.ebuild:
-  Fix use invocation
-
-  24 Nov 2003; Aron Griffis <agriffis@gentoo.org> mesa-3.5.ebuild:
-  Add ~alpha
-
-  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
- 
-*mesa-3.5 (22 Jul 2002)
-
-  22 Jul 2002; Seemant Kulleen <seemant@gentoo.org> mesa-3.5.ebuild
-  files/digest-mesa-3.5 :
-
-  This was updated a while ago. I repoman'd it, and cleaned up spacing and
-  syntax a little.
-
-*mesa-3.4.2 (1 Feb 2002)
-
-  1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-  
-  Added initial ChangeLog which should be updated whenever the package is
-  updated in any way. This changelog is targetted to users. This means that the
-  comments should well explained and written in clean English. The details about
-  writing correct changelogs are explained in the skel.ChangeLog file which you
-  can find in the root directory of the portage repository.

diff --git a/media-libs/mesa/files/eselect-mesa.conf.7.11 b/media-libs/mesa/files/eselect-mesa.conf.8.0.1
similarity index 94%
rename from media-libs/mesa/files/eselect-mesa.conf.7.11
rename to media-libs/mesa/files/eselect-mesa.conf.8.0.1
index 3a1b196..63a21aa 100644
--- a/media-libs/mesa/files/eselect-mesa.conf.7.11
+++ b/media-libs/mesa/files/eselect-mesa.conf.8.0.1
@@ -16,11 +16,10 @@ declare -A MESA_DRIVERS || die "MESA_DRIVERS already in environment and not asso
 MESA_DRIVERS[i915,description]="i915 (Intel 915, 945)"
 MESA_DRIVERS[i915,classicdriver]="i915_dri.so"
 MESA_DRIVERS[i915,galliumdriver]="i915g_dri.so"
-MESA_DRIVERS[i915,default]="classic"
+MESA_DRIVERS[i915,default]="gallium"
 
 MESA_DRIVERS[i965,description]="i965 (Intel 965, G/Q3x, G/Q4x)"
 MESA_DRIVERS[i965,classicdriver]="i965_dri.so"
-MESA_DRIVERS[i965,galliumdriver]="i965g_dri.so"
 MESA_DRIVERS[i965,default]="classic"
 
 MESA_DRIVERS[r300,description]="r300 (Radeon R300-R500)"

diff --git a/media-libs/mesa/files/mesa-8.0-dont-require-llvm-for-r300.patch b/media-libs/mesa/files/mesa-8.0-dont-require-llvm-for-r300.patch
new file mode 100644
index 0000000..6a20914
--- /dev/null
+++ b/media-libs/mesa/files/mesa-8.0-dont-require-llvm-for-r300.patch
@@ -0,0 +1,27 @@
+diff --git a/configure.ac b/configure.ac
+index 846b623..fbd05c1 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1839,14 +1839,6 @@ gallium_check_st() {
+     fi
+ }
+ 
+-gallium_require_llvm() {
+-    if test "x$MESA_LLVM" = x0; then
+-        case "$host_cpu" in
+-        i*86|x86_64) AC_MSG_ERROR([LLVM is required to build $1 on x86 and x86_64]);;
+-        esac
+-    fi
+-}
+-
+ dnl Gallium drivers
+ dnl Duplicates in GALLIUM_DRIVERS_DIRS are removed by sorting it after this block
+ if test "x$with_gallium_drivers" != x; then
+@@ -1868,7 +1860,6 @@ if test "x$with_gallium_drivers" != x; then
+             gallium_check_st "i915/drm" "dri-i915" "xorg-i915"
+             ;;
+         xr300)
+-            gallium_require_llvm "Gallium R300"
+             GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"
+             gallium_check_st "radeon/drm" "dri-r300" "xorg-r300" "" "xvmc-r300" "vdpau-r300" "va-r300"
+             ;;

diff --git a/media-libs/mesa/files/mesa-8.0-uclibc.patch b/media-libs/mesa/files/mesa-8.0-uclibc.patch
new file mode 100644
index 0000000..cb86d56
--- /dev/null
+++ b/media-libs/mesa/files/mesa-8.0-uclibc.patch
@@ -0,0 +1,36 @@
+diff -Naur Mesa-8.0.3.orig/src/gallium/auxiliary/util/u_debug_symbol.c Mesa-8.0.3/src/gallium/auxiliary/util/u_debug_symbol.c
+--- Mesa-8.0.3.orig/src/gallium/auxiliary/util/u_debug_symbol.c	2011-12-07 23:54:22.000000000 +0000
++++ Mesa-8.0.3/src/gallium/auxiliary/util/u_debug_symbol.c	2012-07-01 22:35:05.272342392 +0000
+@@ -151,7 +151,7 @@
+ }
+ #endif
+ 
+-#ifdef __GLIBC__
++#if defined(__GLIBC__)  && !defined(__UCLIBC__)
+ #include <execinfo.h>
+ 
+ /* This can only provide dynamic symbols, or binary offsets into a file.
+diff -Naur Mesa-8.0.3.orig/src/glsl/strtod.c Mesa-8.0.3/src/glsl/strtod.c
+--- Mesa-8.0.3.orig/src/glsl/strtod.c	2012-05-18 04:27:14.000000000 +0000
++++ Mesa-8.0.3/src/glsl/strtod.c	2012-07-01 18:19:20.624711636 +0000
+@@ -45,7 +45,7 @@
+ glsl_strtod(const char *s, char **end)
+ {
+ #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
+-   !defined(__HAIKU__)
++   !defined(__HAIKU__) && !defined(__UCLIBC__)
+    static locale_t loc = NULL;
+    if (!loc) {
+       loc = newlocale(LC_CTYPE_MASK, "C", NULL);
+diff -Naur Mesa-8.0.3.orig/src/mesa/main/imports.c Mesa-8.0.3/src/mesa/main/imports.c
+--- Mesa-8.0.3.orig/src/mesa/main/imports.c	2012-05-18 04:27:14.000000000 +0000
++++ Mesa-8.0.3/src/mesa/main/imports.c	2012-07-01 20:36:48.235060134 +0000
+@@ -767,7 +767,7 @@
+ _mesa_strtof( const char *s, char **end )
+ {
+ #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
+-   !defined(ANDROID) && !defined(__HAIKU__)
++   !defined(ANDROID) && !defined(__HAIKU__) && !defined(__UCLIBC__)
+    static locale_t loc = NULL;
+    if (!loc) {
+       loc = newlocale(LC_CTYPE_MASK, "C", NULL);

diff --git a/media-libs/mesa/files/remove-GNU_SOURCE-locale.patch b/media-libs/mesa/files/remove-GNU_SOURCE-locale.patch
deleted file mode 100644
index f197b11..0000000
--- a/media-libs/mesa/files/remove-GNU_SOURCE-locale.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-diff -Naur Mesa-7.11.2.orig/src/gallium/auxiliary/util/u_debug_symbol.c Mesa-7.11.2/src/gallium/auxiliary/util/u_debug_symbol.c
---- Mesa-7.11.2.orig/src/gallium/auxiliary/util/u_debug_symbol.c	2011-07-09 01:32:30.000000000 +0000
-+++ Mesa-7.11.2/src/gallium/auxiliary/util/u_debug_symbol.c	2012-01-06 20:45:51.822428420 +0000
-@@ -151,23 +151,6 @@
- }
- #endif
- 
--#ifdef __GLIBC__
--#include <execinfo.h>
--
--/* This can only provide dynamic symbols, or binary offsets into a file.
-- *
-- * To fix this, post-process the output with tools/addr2line.sh
-- */
--static INLINE void
--debug_symbol_name_glibc(const void *addr, char* buf, unsigned size)
--{
--   char** syms = backtrace_symbols((void**)&addr, 1);
--   strncpy(buf, syms[0], size);
--   buf[size - 1] = 0;
--   free(syms);
--}
--#endif
--
- void
- debug_symbol_name(const void *addr, char* buf, unsigned size)
- {
-diff -Naur Mesa-7.11.2.orig/src/glsl/strtod.c Mesa-7.11.2/src/glsl/strtod.c
---- Mesa-7.11.2.orig/src/glsl/strtod.c	2012-01-06 20:45:34.282662359 +0000
-+++ Mesa-7.11.2/src/glsl/strtod.c	2012-01-06 20:42:11.303216873 +0000
-@@ -44,13 +44,5 @@
- double
- glsl_strtod(const char *s, char **end)
- {
--#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
--   static locale_t loc = NULL;
--   if (!loc) {
--      loc = newlocale(LC_CTYPE_MASK, "C", NULL);
--   }
--   return strtod_l(s, end, loc);
--#else
-    return strtod(s, end);
--#endif
- }
-diff -Naur Mesa-7.11.2.orig/src/mesa/main/imports.c Mesa-7.11.2/src/mesa/main/imports.c
---- Mesa-7.11.2.orig/src/mesa/main/imports.c	2012-01-06 20:45:34.283662859 +0000
-+++ Mesa-7.11.2/src/mesa/main/imports.c	2012-01-06 20:42:11.305217873 +0000
-@@ -753,17 +753,7 @@
- float
- _mesa_strtof( const char *s, char **end )
- {
--#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
--   static locale_t loc = NULL;
--   if (!loc) {
--      loc = newlocale(LC_CTYPE_MASK, "C", NULL);
--   }
--   return strtof_l(s, end, loc);
--#elif defined(_ISOC99_SOURCE) || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE >= 600)
-    return strtof(s, end);
--#else
--   return (float)strtod(s, end);
--#endif
- }
- 
- /** Compute simple checksum/hash for a string */

diff --git a/media-libs/mesa/files/respect-user-defines.patch b/media-libs/mesa/files/respect-user-defines.patch
deleted file mode 100644
index 291d71e..0000000
--- a/media-libs/mesa/files/respect-user-defines.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur Mesa-7.11.2.orig/configure.ac Mesa-7.11.2/configure.ac
---- Mesa-7.11.2.orig/configure.ac	2011-10-15 00:43:58.000000000 +0000
-+++ Mesa-7.11.2/configure.ac	2012-01-06 18:38:58.213283132 +0000
-@@ -20,6 +20,7 @@
- dnl Save user CFLAGS and CXXFLAGS so one can override the default ones
- USER_CFLAGS="$CFLAGS"
- USER_CXXFLAGS="$CXXFLAGS"
-+USER_DEFINES="$DEFINES"
- 
- dnl Versions for external dependencies
- LIBDRM_REQUIRED=2.4.24
-@@ -1836,6 +1837,7 @@
- dnl Add user CFLAGS and CXXFLAGS
- CFLAGS="$CFLAGS $USER_CFLAGS"
- CXXFLAGS="$CXXFLAGS $USER_CXXFLAGS"
-+DEFINES="$DEFINES $USER_DEFINES"
- 
- dnl Substitute the config
- AC_CONFIG_FILES([configs/autoconf])

diff --git a/media-libs/mesa/mesa-7.11.2-r99.ebuild b/media-libs/mesa/mesa-8.0.3-r99.ebuild
similarity index 53%
rename from media-libs/mesa/mesa-7.11.2-r99.ebuild
rename to media-libs/mesa/mesa-8.0.3-r99.ebuild
index 98154da..d293cff 100644
--- a/media-libs/mesa/mesa-7.11.2-r99.ebuild
+++ b/media-libs/mesa/mesa-8.0.3-r99.ebuild
@@ -1,10 +1,17 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-7.11.2.ebuild,v 1.6 2011/12/27 20:47:37 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-8.0.3.ebuild,v 1.6 2012/06/29 18:37:45 maekke Exp $
 
-EAPI=3
+EAPI=4
 
-inherit base autotools multilib flag-o-matic python toolchain-funcs
+EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
+
+if [[ ${PV} = 9999* ]]; then
+	GIT_ECLASS="git-2"
+	EXPERIMENTAL="true"
+fi
+
+inherit base autotools multilib flag-o-matic python toolchain-funcs ${GIT_ECLASS}
 
 OPENGL_DIR="xorg-x11"
 
@@ -17,30 +24,59 @@ FOLDER="${PV/_rc*/}"
 DESCRIPTION="OpenGL-like graphic library for Linux"
 HOMEPAGE="http://mesa3d.sourceforge.net/"
 
-SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-01.tar.bz2"
-SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2
+SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-02.tar.bz2"
+if [[ $PV = 9999* ]]; then
+	SRC_URI="${SRC_PATCHES}"
+else
+	SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2
 		${SRC_PATCHES}"
+fi
 
+# Most of the code is MIT/X11.
+# ralloc is LGPL-3
+# GLES[2]/gl[2]{,ext,platform}.h are SGI-B-2.0
 LICENSE="MIT LGPL-3 SGI-B-2.0"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
 
-INTEL_CARDS="intel"
-RADEON_CARDS="radeon"
-VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} mach64 mga nouveau r128 savage sis vmware tdfx via"
+INTEL_CARDS="i915 i965 intel"
+RADEON_CARDS="r100 r200 r300 r600 radeon"
+VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} nouveau vmware"
 for card in ${VIDEO_CARDS}; do
 	IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
 
 IUSE="${IUSE_VIDEO_CARDS}
-	bindist +classic debug +egl +gallium gbm gles +llvm motif +nptl openvg osmesa pic pax_kernel selinux shared-dricore +shared-glapi uclibc"
+	bindist +classic d3d debug +egl g3dvl +gallium gbm gles1 gles2 +llvm +nptl openvg osmesa pax_kernel pic selinux shared-dricore +shared-glapi vdpau wayland xa xvmc kernel_FreeBSD"
+
+REQUIRED_USE="
+	d3d?    ( gallium )
+	g3dvl?  ( gallium )
+	llvm?   ( gallium )
+	openvg? ( egl gallium )
+	gbm?    ( shared-glapi )
+	g3dvl? ( || ( vdpau xvmc ) )
+	vdpau? ( g3dvl )
+	xa?    ( gallium )
+	xvmc?  ( g3dvl )
+	video_cards_intel?  ( || ( classic gallium ) )
+	video_cards_i915?   ( || ( classic gallium ) )
+	video_cards_i965?   ( classic )
+	video_cards_nouveau? ( || ( classic gallium ) )
+	video_cards_radeon? ( || ( classic gallium ) )
+	video_cards_r100?   ( classic )
+	video_cards_r200?   ( classic )
+	video_cards_r300?   ( gallium )
+	video_cards_r600?   ( gallium )
+	video_cards_vmware? ( gallium )
+"
 
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.24"
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.32"
 # not a runtime dependency of this package, but dependency of packages which
 # depend on this package, bug #342393
 EXTERNAL_DEPEND="
-	>=x11-proto/dri2proto-2.2
-	>=x11-proto/glproto-1.4.11
+	>=x11-proto/dri2proto-2.6
+	>=x11-proto/glproto-1.4.15
 "
 # keep correct libdrm and dri2proto dep
 # keep blocks in rdepend for binpkg
@@ -49,21 +85,20 @@ RDEPEND="${EXTERNAL_DEPEND}
 	!<=x11-proto/xf86driproto-2.0.3
 	classic? ( app-admin/eselect-mesa )
 	gallium? ( app-admin/eselect-mesa )
-	app-admin/eselect-opengl
+	>=app-admin/eselect-opengl-1.2.5
 	dev-libs/expat
 	gbm? ( sys-fs/udev )
-	x11-libs/libICE
 	>=x11-libs/libX11-1.3.99.901
 	x11-libs/libXdamage
 	x11-libs/libXext
-	x11-libs/libXi
-	x11-libs/libXmu
 	x11-libs/libXxf86vm
-	motif? ( x11-libs/openmotif )
-	gallium? (
-		llvm? ( >=sys-devel/llvm-2.8 )
-	)
+	>=x11-libs/libxcb-1.8
+	d3d? ( app-emulation/wine )
+	vdpau? ( >=x11-libs/libvdpau-0.4.1 )
+	wayland? ( dev-libs/wayland )
+	xvmc? ( >=x11-libs/libXvMC-1.0.6 )
 	${LIBDRM_DEPSTRING}[video_cards_nouveau?,video_cards_vmware?]
+	video_cards_nouveau? ( <x11-libs/libdrm-2.4.34 )
 "
 for card in ${INTEL_CARDS}; do
 	RDEPEND="${RDEPEND}
@@ -78,13 +113,13 @@ for card in ${RADEON_CARDS}; do
 done
 
 DEPEND="${RDEPEND}
+	llvm? ( >=sys-devel/llvm-2.9 )
 	=dev-lang/python-2*
 	dev-libs/libxml2[python]
-	dev-util/pkgconfig
+	virtual/pkgconfig
 	sys-devel/bison
 	sys-devel/flex
 	x11-misc/makedepend
-	x11-proto/inputproto
 	>=x11-proto/xextproto-7.0.99.1
 	x11-proto/xf86driproto
 	x11-proto/xf86vidmodeproto
@@ -97,34 +132,40 @@ S="${WORKDIR}/${MY_P}"
 QA_EXECSTACK="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
 QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
 
-pkg_setup() {
-	# recommended by upstream
-	append-flags -ffast-math
+# Think about: ggi, fbcon, no-X configs
 
-	python_set_active_version 2
-	python_pkg_setup
+pkg_setup() {
+	# workaround toc-issue wrt #386545
+	use ppc64 && append-flags -mminimal-toc
 }
 
 src_unpack() {
 	default
+	[[ $PV = 9999* ]] && git-2_src_unpack
 }
 
 src_prepare() {
-	use uclibc && export DEFINES="-U__GLIBC__ -D__UCLIBC__"
-
 	# apply patches
-	if [[ -n ${SRC_PATCHES} ]]; then
+	if [[ ${PV} != 9999* && -n ${SRC_PATCHES} ]]; then
 		EPATCH_FORCE="yes" \
 		EPATCH_SOURCE="${WORKDIR}/patches" \
 		EPATCH_SUFFIX="patch" \
 		epatch
 	fi
 
+	# relax the requirement that r300 must have llvm, bug 380303
+	epatch "${FILESDIR}"/${PN}-8.0-dont-require-llvm-for-r300.patch
+
 	# fix for hardened pax_kernel, bug 240956
-	epatch "${FILESDIR}"/glx_ro_text_segm.patch
+	[[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch
+
+	# Solaris needs some recent POSIX stuff in our case
+	if [[ ${CHOST} == *-solaris* ]] ; then
+		sed -i -e "s/-DSVR4/-D_POSIX_C_SOURCE=200112L/" configure.ac || die
+	fi
 
-	epatch "${FILESDIR}"/respect-user-defines.patch
-	epatch "${FILESDIR}"/remove-GNU_SOURCE-locale.patch
+	# Tests fail against python-3, bug #407887
+	sed -i 's|/usr/bin/env python|/usr/bin/env python2|' src/glsl/tests/compare_ir || die
 
 	base_src_prepare
 
@@ -137,47 +178,58 @@ src_configure() {
 	if use classic; then
 	# Configurable DRI drivers
 		driver_enable swrast
-		driver_enable video_cards_intel i810 i915 i965
+
+	# Intel code
+		driver_enable video_cards_i915 i915
+		driver_enable video_cards_i965 i965
+			if ! use video_cards_i915 && \
+				! use video_cards_i965; then
+			driver_enable video_cards_intel i915 i965
+		fi
+
+		# Nouveau code
 		driver_enable video_cards_nouveau nouveau
-		driver_enable video_cards_mach64 mach64
-		driver_enable video_cards_mga mga
-		driver_enable video_cards_r128 r128
-		driver_enable video_cards_radeon radeon r200 r300 r600
-		driver_enable video_cards_savage savage
-		driver_enable video_cards_sis sis
-		driver_enable video_cards_tdfx tdfx
-		driver_enable video_cards_via unichrome
+
+		# ATI code
+		driver_enable video_cards_r100 radeon
+		driver_enable video_cards_r200 r200
+		if ! use video_cards_r100 && \
+				! use video_cards_r200; then
+			driver_enable video_cards_radeon radeon r200
+		fi
 	fi
 
-	myconf+="
-		$(use_enable !bindist texture-float)
-		$(use_enable gles gles1)
-		$(use_enable gles gles2)
-		$(use_enable egl)
-	"
 	if use egl; then
-		use shared-glapi || die "egl needs shared-glapi. Please either enable shared-glapi or disable the egl use flag ."
 		myconf+="
-			--with-egl-platforms=x11$(use gbm && echo ",drm")
+			--with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm")
 			$(use_enable gallium gallium-egl)
 		"
 	fi
 
-	if use !gallium && use !classic; then
-		ewarn "You enabled neither classic nor gallium USE flags. No hardware"
-		ewarn "drivers will be built."
-	fi
 	if use gallium; then
 		myconf+="
-			--with-state-trackers=glx,dri$(use egl && echo ",egl")$(use openvg && echo ",vega")
+			$(use_enable d3d d3d1x)
+			$(use_enable g3dvl gallium-g3dvl)
 			$(use_enable llvm gallium-llvm)
 			$(use_enable openvg)
+			$(use_enable vdpau)
+			$(use_enable xa)
+			$(use_enable xvmc)
 		"
 		gallium_enable swrast
 		gallium_enable video_cards_vmware svga
 		gallium_enable video_cards_nouveau nouveau
-		gallium_enable video_cards_intel i915 i965
-		gallium_enable video_cards_radeon r300 r600
+		gallium_enable video_cards_i915 i915
+		if ! use video_cards_i915; then
+			gallium_enable video_cards_intel i915
+		fi
+
+		gallium_enable video_cards_r300 r300
+		gallium_enable video_cards_r600 r600
+		if ! use video_cards_r300 && \
+				! use video_cards_r600; then
+			gallium_enable video_cards_radeon r300 r600
+		fi
 	fi
 
 	# x86 hardened pax_kernel needs glx-rts, bug 240956
@@ -188,17 +240,16 @@ src_configure() {
 	fi
 
 	econf \
-		--disable-option-checking \
-		--with-driver=dri \
-		--disable-glut \
-		--without-demos \
-		--enable-xcb \
+		--enable-dri \
+		--enable-glx \
+		$(use_enable !bindist texture-float) \
 		$(use_enable debug) \
+		$(use_enable egl) \
 		$(use_enable gbm) \
-		$(use_enable motif glw) \
-		$(use_enable motif) \
+		$(use_enable gles1) \
+		$(use_enable gles2) \
 		$(use_enable nptl glx-tls) \
-		$(use_enable osmesa gl-osmesa) \
+		$(use_enable osmesa) \
 		$(use_enable !pic asm) \
 		$(use_enable shared-dricore) \
 		$(use_enable shared-glapi) \
@@ -210,19 +261,25 @@ src_configure() {
 src_install() {
 	base_src_install
 
+	if use !bindist; then
+		dodoc docs/patents.txt
+	fi
+
 	# Save the glsl-compiler for later use
-	dobin "${S}"/src/glsl/glsl_compiler || die
+	if ! tc-is-cross-compiler; then
+		dobin "${S}"/src/glsl/glsl_compiler
+	fi
 
 	# Install config file for eselect mesa
 	insinto /usr/share/mesa
-	newins "${FILESDIR}/eselect-mesa.conf.7.11" eselect-mesa.conf || die
+	newins "${FILESDIR}/eselect-mesa.conf.8.0.1" eselect-mesa.conf
 
 	# Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib
 	# because user can eselect desired GL provider.
 	ebegin "Moving libGL and friends for dynamic switching"
 		dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/{lib,extensions,include}
 		local x
-		for x in "${ED}"/usr/$(get_libdir)/libGL.{la,a,so*}; do
+		for x in "${ED}"/usr/$(get_libdir)/lib{EGL,GL*,OpenVG}.{la,a,so*}; do
 			if [ -f ${x} -o -L ${x} ]; then
 				mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/lib \
 					|| die "Failed to move ${x}"
@@ -248,7 +305,7 @@ src_install() {
 					insinto "/usr/$(get_libdir)/dri/"
 					if [ -f "${S}/$(get_libdir)/${x}" ]; then
 						insopts -m0755
-						doins "${S}/$(get_libdir)/${x}" || die "failed to install ${x}"
+						doins "${S}/$(get_libdir)/${x}"
 					fi
 				fi
 			done
@@ -275,6 +332,14 @@ pkg_postinst() {
 	# Switch to the xorg implementation.
 	echo
 	eselect opengl set --use-old ${OPENGL_DIR}
+
+	# switch to xorg-x11 and back if necessary, bug #374647 comment 11
+	OLD_IMPLEM="$(eselect opengl show)"
+	if [[ ${OPENGL_DIR}x != ${OLD_IMPLEM}x ]]; then
+		eselect opengl set ${OPENGL_DIR}
+		eselect opengl set ${OLD_IMPLEM}
+	fi
+
 	# Select classic/gallium drivers
 	if use classic || use gallium; then
 		eselect mesa set --auto
@@ -283,7 +348,21 @@ pkg_postinst() {
 	# warn about patent encumbered texture-float
 	if use !bindist; then
 		elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
-		elog "enabled."
+		elog "enabled. Please see patents.txt for an explanation."
+	fi
+
+	local using_radeon r_flag
+	for r_flag in ${RADEON_CARDS}; do
+		if use video_cards_${r_flag}; then
+			using_radeon=1
+			break
+		fi
+	done
+
+	if [[ ${using_radeon} = 1 ]] && ! has_version media-libs/libtxc_dxtn; then
+		elog "Note that in order to have full S3TC support, it is necessary to install"
+		elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
+		elog "textures in some apps, and some others even require this to run."
 	fi
 }
 

diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml
index 99e333e..0934a9d 100644
--- a/media-libs/mesa/metadata.xml
+++ b/media-libs/mesa/metadata.xml
@@ -4,10 +4,14 @@
 <herd>x11</herd>
 <use>
 	<flag name='classic'>Build drivers based on the classic architecture.</flag>
+	<flag name='d3d'>Enable DirectX 10/10.1/11 backend for Gallium3D.</flag>
 	<flag name='egl'>Enable EGL support.</flag>
 	<flag name='gallium'>Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.</flag>
+	<flag name='g3dvl'>Enable video decode acceleration support for Gallium3D.</flag>
 	<flag name='gbm'>Enable the Graphics Buffer Manager for EGL on KMS.</flag>
-	<flag name='gles'>Enable GLES support.</flag>
+	<flag name='gles'>Enable GLES (both v1 and v2) support.</flag>
+	<flag name='gles1'>Enable GLESv1 support.</flag>
+	<flag name='gles2'>Enable GLESv2 support.</flag>
 	<flag name='llvm'>Enable LLVM backend for Gallium3D.</flag>
 	<flag name='openvg'>Enable the OpenVG 2D acceleration API for Gallium3D.</flag>
 	<flag name='osmesa'>Build the Mesa library for off-screen rendering.</flag>
@@ -15,6 +19,9 @@
 	<flag name='pic'>disable optimized assembly code that is not PIC friendly</flag>
 	<flag name='shared-dricore'>Enable sharing of common code for classic DRI drivers.</flag>
 	<flag name='shared-glapi'>Enable sharing of common code for the OpenGL API.</flag>
-	<flag name='uclibc'>Disable GLIBC and enabled UCLIBC.</flag>
+	<flag name='vdpau'>Enable the VDPAU acceleration interface for the Gallium3D Video Layer.</flag>
+	<flag name='wayland'>Enable support for dev-libs/wayland</flag>
+	<flag name='xa'>Enable the XA (X Acceleration) API for Gallium3D.</flag>
+	<flag name='xvmc'>Enable the XvMC acceleration interface for the Gallium3D Video Layer.</flag>
 </use>
 </pkgmetadata>



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/hardened-dev:uclibc commit in: media-libs/mesa/, media-libs/mesa/files/
@ 2012-12-23  3:03 Anthony G. Basile
  0 siblings, 0 replies; 6+ messages in thread
From: Anthony G. Basile @ 2012-12-23  3:03 UTC (permalink / raw
  To: gentoo-commits

commit:     77158c27d6ced08bbbbdf19d92422e6da9159758
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 23 01:44:51 2012 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Dec 23 01:44:51 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=77158c27

media-libs/mesa-9.0.1-r99: update to latest on tree

Package-Manager: portage-2.1.11.31
Manifest-Sign-Key: 0xF52D4BBA

---
 .../mesa-8.1-dont-require-llvm-for-r300.patch      |   25 ++
 media-libs/mesa/mesa-8.0.3-r99.ebuild              |  407 --------------------
 ...mesa-8.0.4-r99.ebuild => mesa-9.0.1-r99.ebuild} |   84 +++--
 media-libs/mesa/metadata.xml                       |    6 +-
 4 files changed, 79 insertions(+), 443 deletions(-)

diff --git a/media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch b/media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch
new file mode 100644
index 0000000..9fe7e32
--- /dev/null
+++ b/media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch
@@ -0,0 +1,25 @@
+--- a/configure.ac	2012-05-12 11:50:09.786970584 +0200
++++ b/configure.ac	2012-05-12 12:00:00.770582272 +0200
+@@ -1922,14 +1922,6 @@
+     fi
+ }
+ 
+-gallium_require_llvm() {
+-    if test "x$MESA_LLVM" = x0; then
+-        case "$host_cpu" in
+-        i*86|x86_64) AC_MSG_ERROR([LLVM is required to build $1 on x86 and x86_64]);;
+-        esac
+-    fi
+-}
+-
+ gallium_require_drm_loader() {
+     if test "x$enable_gallium_loader" = xyes; then
+         PKG_CHECK_MODULES([LIBUDEV], [libudev], [],
+@@ -1962,7 +1954,6 @@
+             ;;
+         xr300)
+             PKG_CHECK_MODULES([RADEON], [libdrm_radeon >= $LIBDRM_RADEON_REQUIRED])
+-            gallium_require_llvm "Gallium R300"
+             GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300"
+             gallium_check_st "radeon/drm" "dri-r300" "xorg-r300" "" "xvmc-r300" "vdpau-r300" "va-r300"
+             ;;

diff --git a/media-libs/mesa/mesa-8.0.3-r99.ebuild b/media-libs/mesa/mesa-8.0.3-r99.ebuild
deleted file mode 100644
index 2a208ae..0000000
--- a/media-libs/mesa/mesa-8.0.3-r99.ebuild
+++ /dev/null
@@ -1,407 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-8.0.3.ebuild,v 1.6 2012/06/29 18:37:45 maekke Exp $
-
-EAPI=4
-
-EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
-
-if [[ ${PV} = 9999* ]]; then
-	GIT_ECLASS="git-2"
-	EXPERIMENTAL="true"
-fi
-
-inherit base autotools multilib flag-o-matic python toolchain-funcs ${GIT_ECLASS}
-
-OPENGL_DIR="xorg-x11"
-
-MY_PN="${PN/m/M}"
-MY_P="${MY_PN}-${PV/_/-}"
-MY_SRC_P="${MY_PN}Lib-${PV/_/-}"
-
-FOLDER="${PV/_rc*/}"
-
-DESCRIPTION="OpenGL-like graphic library for Linux"
-HOMEPAGE="http://mesa3d.sourceforge.net/"
-
-SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-02.tar.bz2"
-if [[ $PV = 9999* ]]; then
-	SRC_URI="${SRC_PATCHES}"
-else
-	SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2
-		${SRC_PATCHES}"
-fi
-
-# Most of the code is MIT/X11.
-# ralloc is LGPL-3
-# GLES[2]/gl[2]{,ext,platform}.h are SGI-B-2.0
-LICENSE="MIT LGPL-3 SGI-B-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm ~mips ~ppc ~ppc64 x86"
-
-INTEL_CARDS="i915 i965 intel"
-RADEON_CARDS="r100 r200 r300 r600 radeon"
-VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} nouveau vmware"
-for card in ${VIDEO_CARDS}; do
-	IUSE_VIDEO_CARDS+=" video_cards_${card}"
-done
-
-IUSE="${IUSE_VIDEO_CARDS}
-	bindist +classic d3d debug +egl g3dvl +gallium gbm gles1 gles2 +llvm +nptl openvg osmesa pax_kernel pic selinux shared-dricore +shared-glapi vdpau wayland xa xvmc kernel_FreeBSD"
-
-REQUIRED_USE="
-	d3d?    ( gallium )
-	g3dvl?  ( gallium )
-	llvm?   ( gallium )
-	openvg? ( egl gallium )
-	gbm?    ( shared-glapi )
-	g3dvl? ( || ( vdpau xvmc ) )
-	vdpau? ( g3dvl )
-	xa?    ( gallium )
-	xvmc?  ( g3dvl )
-	video_cards_intel?  ( || ( classic gallium ) )
-	video_cards_i915?   ( || ( classic gallium ) )
-	video_cards_i965?   ( classic )
-	video_cards_nouveau? ( || ( classic gallium ) )
-	video_cards_radeon? ( || ( classic gallium ) )
-	video_cards_r100?   ( classic )
-	video_cards_r200?   ( classic )
-	video_cards_r300?   ( gallium )
-	video_cards_r600?   ( gallium )
-	video_cards_vmware? ( gallium )
-"
-
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.32"
-# not a runtime dependency of this package, but dependency of packages which
-# depend on this package, bug #342393
-EXTERNAL_DEPEND="
-	>=x11-proto/dri2proto-2.6
-	>=x11-proto/glproto-1.4.15
-"
-# keep correct libdrm and dri2proto dep
-# keep blocks in rdepend for binpkg
-RDEPEND="${EXTERNAL_DEPEND}
-	!<x11-base/xorg-server-1.7
-	!<=x11-proto/xf86driproto-2.0.3
-	classic? ( app-admin/eselect-mesa )
-	gallium? ( app-admin/eselect-mesa )
-	>=app-admin/eselect-opengl-1.2.5
-	dev-libs/expat
-	gbm? ( sys-fs/udev )
-	>=x11-libs/libX11-1.3.99.901
-	x11-libs/libXdamage
-	x11-libs/libXext
-	x11-libs/libXxf86vm
-	>=x11-libs/libxcb-1.8
-	d3d? ( app-emulation/wine )
-	vdpau? ( >=x11-libs/libvdpau-0.4.1 )
-	wayland? ( dev-libs/wayland )
-	xvmc? ( >=x11-libs/libXvMC-1.0.6 )
-	${LIBDRM_DEPSTRING}[video_cards_nouveau?,video_cards_vmware?]
-	video_cards_nouveau? ( <x11-libs/libdrm-2.4.34 )
-"
-for card in ${INTEL_CARDS}; do
-	RDEPEND="${RDEPEND}
-		video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
-	"
-done
-
-for card in ${RADEON_CARDS}; do
-	RDEPEND="${RDEPEND}
-		video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] )
-	"
-done
-
-DEPEND="${RDEPEND}
-	llvm? ( >=sys-devel/llvm-2.9 )
-	=dev-lang/python-2*
-	dev-libs/libxml2[python]
-	virtual/pkgconfig
-	sys-devel/bison
-	sys-devel/flex
-	x11-misc/makedepend
-	>=x11-proto/xextproto-7.0.99.1
-	x11-proto/xf86driproto
-	x11-proto/xf86vidmodeproto
-"
-
-S="${WORKDIR}/${MY_P}"
-
-# It is slow without texrels, if someone wants slow
-# mesa without texrels +pic use is worth the shot
-QA_EXECSTACK="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
-QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
-
-# Think about: ggi, fbcon, no-X configs
-
-pkg_setup() {
-	# workaround toc-issue wrt #386545
-	use ppc64 && append-flags -mminimal-toc
-}
-
-src_unpack() {
-	default
-	[[ $PV = 9999* ]] && git-2_src_unpack
-}
-
-src_prepare() {
-	# apply patches
-	if [[ ${PV} != 9999* && -n ${SRC_PATCHES} ]]; then
-		EPATCH_FORCE="yes" \
-		EPATCH_SOURCE="${WORKDIR}/patches" \
-		EPATCH_SUFFIX="patch" \
-		epatch
-	fi
-
-	# relax the requirement that r300 must have llvm, bug 380303
-	epatch "${FILESDIR}"/${PN}-8.0-dont-require-llvm-for-r300.patch
-
-	# void glibc-ism on a uclibc system
-	epatch "${FILESDIR}"/${PN}-8.0-uclibc.patch
-
-	# fix for hardened pax_kernel, bug 240956
-	[[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch
-
-	# Solaris needs some recent POSIX stuff in our case
-	if [[ ${CHOST} == *-solaris* ]] ; then
-		sed -i -e "s/-DSVR4/-D_POSIX_C_SOURCE=200112L/" configure.ac || die
-	fi
-
-	# Tests fail against python-3, bug #407887
-	sed -i 's|/usr/bin/env python|/usr/bin/env python2|' src/glsl/tests/compare_ir || die
-
-	base_src_prepare
-
-	eautoreconf
-}
-
-src_configure() {
-	local myconf
-
-	if use classic; then
-	# Configurable DRI drivers
-		driver_enable swrast
-
-	# Intel code
-		driver_enable video_cards_i915 i915
-		driver_enable video_cards_i965 i965
-			if ! use video_cards_i915 && \
-				! use video_cards_i965; then
-			driver_enable video_cards_intel i915 i965
-		fi
-
-		# Nouveau code
-		driver_enable video_cards_nouveau nouveau
-
-		# ATI code
-		driver_enable video_cards_r100 radeon
-		driver_enable video_cards_r200 r200
-		if ! use video_cards_r100 && \
-				! use video_cards_r200; then
-			driver_enable video_cards_radeon radeon r200
-		fi
-	fi
-
-	if use egl; then
-		myconf+="
-			--with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm")
-			$(use_enable gallium gallium-egl)
-		"
-	fi
-
-	if use gallium; then
-		myconf+="
-			$(use_enable d3d d3d1x)
-			$(use_enable g3dvl gallium-g3dvl)
-			$(use_enable llvm gallium-llvm)
-			$(use_enable openvg)
-			$(use_enable vdpau)
-			$(use_enable xa)
-			$(use_enable xvmc)
-		"
-		gallium_enable swrast
-		gallium_enable video_cards_vmware svga
-		gallium_enable video_cards_nouveau nouveau
-		gallium_enable video_cards_i915 i915
-		if ! use video_cards_i915; then
-			gallium_enable video_cards_intel i915
-		fi
-
-		gallium_enable video_cards_r300 r300
-		gallium_enable video_cards_r600 r600
-		if ! use video_cards_r300 && \
-				! use video_cards_r600; then
-			gallium_enable video_cards_radeon r300 r600
-		fi
-	fi
-
-	# x86 hardened pax_kernel needs glx-rts, bug 240956
-	if use pax_kernel; then
-		myconf+="
-			$(use_enable x86 glx-rts)
-		"
-	fi
-
-	econf \
-		--enable-dri \
-		--enable-glx \
-		$(use_enable !bindist texture-float) \
-		$(use_enable debug) \
-		$(use_enable egl) \
-		$(use_enable gbm) \
-		$(use_enable gles1) \
-		$(use_enable gles2) \
-		$(use_enable nptl glx-tls) \
-		$(use_enable osmesa) \
-		$(use_enable !pic asm) \
-		$(use_enable shared-dricore) \
-		$(use_enable shared-glapi) \
-		--with-dri-drivers=${DRI_DRIVERS} \
-		--with-gallium-drivers=${GALLIUM_DRIVERS} \
-		${myconf}
-}
-
-src_install() {
-	base_src_install
-
-	if use !bindist; then
-		dodoc docs/patents.txt
-	fi
-
-	# Save the glsl-compiler for later use
-	if ! tc-is-cross-compiler; then
-		dobin "${S}"/src/glsl/glsl_compiler
-	fi
-
-	# Install config file for eselect mesa
-	insinto /usr/share/mesa
-	newins "${FILESDIR}/eselect-mesa.conf.8.0.1" eselect-mesa.conf
-
-	# Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib
-	# because user can eselect desired GL provider.
-	ebegin "Moving libGL and friends for dynamic switching"
-		dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/{lib,extensions,include}
-		local x
-		for x in "${ED}"/usr/$(get_libdir)/lib{EGL,GL*,OpenVG}.{la,a,so*}; do
-			if [ -f ${x} -o -L ${x} ]; then
-				mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/lib \
-					|| die "Failed to move ${x}"
-			fi
-		done
-		for x in "${ED}"/usr/include/GL/{gl.h,glx.h,glext.h,glxext.h}; do
-			if [ -f ${x} -o -L ${x} ]; then
-				mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/include \
-					|| die "Failed to move ${x}"
-			fi
-		done
-	eend $?
-
-	if use classic || use gallium; then
-			ebegin "Moving DRI/Gallium drivers for dynamic switching"
-			local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so )
-			keepdir /usr/$(get_libdir)/dri
-			dodir /usr/$(get_libdir)/mesa
-			for x in ${gallium_drivers[@]}; do
-				if [ -f "${S}/$(get_libdir)/gallium/${x}" ]; then
-					mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \
-						|| die "Failed to move ${x}"
-					insinto "/usr/$(get_libdir)/dri/"
-					if [ -f "${S}/$(get_libdir)/${x}" ]; then
-						insopts -m0755
-						doins "${S}/$(get_libdir)/${x}"
-					fi
-				fi
-			done
-			for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do
-				if [ -f ${x} -o -L ${x} ]; then
-					mv -f "${x}" "${x/dri/mesa}" \
-						|| die "Failed to move ${x}"
-				fi
-			done
-			pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed"
-			ln -s ../mesa/*.so . || die "Creating symlink failed"
-			# remove symlinks to drivers known to eselect
-			for x in ${gallium_drivers[@]}; do
-				if [ -f ${x} -o -L ${x} ]; then
-					rm "${x}" || die "Failed to remove ${x}"
-				fi
-			done
-			popd
-		eend $?
-	fi
-}
-
-pkg_postinst() {
-	# Switch to the xorg implementation.
-	echo
-	eselect opengl set --use-old ${OPENGL_DIR}
-
-	# switch to xorg-x11 and back if necessary, bug #374647 comment 11
-	OLD_IMPLEM="$(eselect opengl show)"
-	if [[ ${OPENGL_DIR}x != ${OLD_IMPLEM}x ]]; then
-		eselect opengl set ${OPENGL_DIR}
-		eselect opengl set ${OLD_IMPLEM}
-	fi
-
-	# Select classic/gallium drivers
-	if use classic || use gallium; then
-		eselect mesa set --auto
-	fi
-
-	# warn about patent encumbered texture-float
-	if use !bindist; then
-		elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
-		elog "enabled. Please see patents.txt for an explanation."
-	fi
-
-	local using_radeon r_flag
-	for r_flag in ${RADEON_CARDS}; do
-		if use video_cards_${r_flag}; then
-			using_radeon=1
-			break
-		fi
-	done
-
-	if [[ ${using_radeon} = 1 ]] && ! has_version media-libs/libtxc_dxtn; then
-		elog "Note that in order to have full S3TC support, it is necessary to install"
-		elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
-		elog "textures in some apps, and some others even require this to run."
-	fi
-}
-
-# $1 - VIDEO_CARDS flag
-# other args - names of DRI drivers to enable
-# TODO: avoid code duplication for a more elegant implementation
-driver_enable() {
-	case $# in
-		# for enabling unconditionally
-		1)
-			DRI_DRIVERS+=",$1"
-			;;
-		*)
-			if use $1; then
-				shift
-				for i in $@; do
-					DRI_DRIVERS+=",${i}"
-				done
-			fi
-			;;
-	esac
-}
-
-gallium_enable() {
-	case $# in
-		# for enabling unconditionally
-		1)
-			GALLIUM_DRIVERS+=",$1"
-			;;
-		*)
-			if use $1; then
-				shift
-				for i in $@; do
-					GALLIUM_DRIVERS+=",${i}"
-				done
-			fi
-			;;
-	esac
-}

diff --git a/media-libs/mesa/mesa-8.0.4-r99.ebuild b/media-libs/mesa/mesa-9.0.1-r99.ebuild
similarity index 84%
rename from media-libs/mesa/mesa-8.0.4-r99.ebuild
rename to media-libs/mesa/mesa-9.0.1-r99.ebuild
index c804cf0..d7d20f6 100644
--- a/media-libs/mesa/mesa-8.0.4-r99.ebuild
+++ b/media-libs/mesa/mesa-9.0.1-r99.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-8.0.4-r1.ebuild,v 1.7 2012/09/24 18:14:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-9.0.1.ebuild,v 1.1 2012/11/19 03:52:34 chithanh Exp $
 
 EAPI=4
 
@@ -11,7 +11,7 @@ if [[ ${PV} = 9999* ]]; then
 	EXPERIMENTAL="true"
 fi
 
-inherit base autotools multilib flag-o-matic python toolchain-funcs ${GIT_ECLASS}
+inherit base autotools multilib flag-o-matic toolchain-funcs ${GIT_ECLASS}
 
 OPENGL_DIR="xorg-x11"
 
@@ -24,7 +24,7 @@ FOLDER="${PV/_rc*/}"
 DESCRIPTION="OpenGL-like graphic library for Linux"
 HOMEPAGE="http://mesa3d.sourceforge.net/"
 
-SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-01.tar.bz2"
+#SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-01.tar.bz2"
 if [[ $PV = 9999* ]]; then
 	SRC_URI="${SRC_PATCHES}"
 else
@@ -32,22 +32,23 @@ else
 		${SRC_PATCHES}"
 fi
 
-# Most of the code is MIT/X11.
-# ralloc is LGPL-3
+# The code is MIT/X11.
 # GLES[2]/gl[2]{,ext,platform}.h are SGI-B-2.0
-LICENSE="MIT LGPL-3 SGI-B-2.0"
+LICENSE="MIT SGI-B-2.0"
 SLOT="0"
-KEYWORDS="amd64 arm ~mips ~ppc ~ppc64 x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
 
 INTEL_CARDS="i915 i965 intel"
-RADEON_CARDS="r100 r200 r300 r600 radeon"
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
 VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} nouveau vmware"
 for card in ${VIDEO_CARDS}; do
 	IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
 
 IUSE="${IUSE_VIDEO_CARDS}
-	bindist +classic debug +egl g3dvl +gallium gbm gles1 gles2 +llvm +nptl openvg osmesa pax_kernel pic selinux shared-dricore +shared-glapi vdpau wayland xa xvmc kernel_FreeBSD"
+	bindist +classic debug +egl g3dvl +gallium gbm gles1 gles2 +llvm +nptl
+	openvg osmesa pax_kernel pic r600-llvm-compiler selinux +shared-glapi vdpau
+	wayland xvmc xa xorg kernel_FreeBSD"
 
 REQUIRED_USE="
 	g3dvl?  ( gallium )
@@ -56,7 +57,9 @@ REQUIRED_USE="
 	gbm?    ( shared-glapi )
 	g3dvl? ( || ( vdpau xvmc ) )
 	vdpau? ( g3dvl )
-	xa?    ( gallium )
+	r600-llvm-compiler? ( gallium llvm || ( video_cards_r600 video_cards_radeon ) )
+	xa?  ( gallium )
+	xorg?  ( gallium )
 	xvmc?  ( g3dvl )
 	video_cards_intel?  ( || ( classic gallium ) )
 	video_cards_i915?   ( || ( classic gallium ) )
@@ -67,36 +70,37 @@ REQUIRED_USE="
 	video_cards_r200?   ( classic )
 	video_cards_r300?   ( gallium )
 	video_cards_r600?   ( gallium )
+	video_cards_radeonsi?   ( gallium llvm )
 	video_cards_vmware? ( gallium )
 "
 
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.32"
-# not a runtime dependency of this package, but dependency of packages which
-# depend on this package, bug #342393
-EXTERNAL_DEPEND="
-	>=x11-proto/dri2proto-2.6
-	>=x11-proto/glproto-1.4.15-r1
-"
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.39"
 # keep correct libdrm and dri2proto dep
 # keep blocks in rdepend for binpkg
-RDEPEND="${EXTERNAL_DEPEND}
-	!<x11-base/xorg-server-1.7
+# gtest file collision bug #411825
+RDEPEND="!<x11-base/xorg-server-1.7
 	!<=x11-proto/xf86driproto-2.0.3
 	classic? ( app-admin/eselect-mesa )
 	gallium? ( app-admin/eselect-mesa )
 	>=app-admin/eselect-opengl-1.2.6
 	dev-libs/expat
-	gbm? ( sys-fs/udev )
+	gbm? (
+		sys-fs/udev
+		x11-libs/libdrm[libkms]
+	)
 	>=x11-libs/libX11-1.3.99.901
 	x11-libs/libXdamage
 	x11-libs/libXext
 	x11-libs/libXxf86vm
-	>=x11-libs/libxcb-1.8
+	>=x11-libs/libxcb-1.8.1
 	vdpau? ( >=x11-libs/libvdpau-0.4.1 )
 	wayland? ( dev-libs/wayland )
+	xorg? (
+		x11-base/xorg-server
+		x11-libs/libdrm[libkms]
+	)
 	xvmc? ( >=x11-libs/libXvMC-1.0.6 )
 	${LIBDRM_DEPSTRING}[video_cards_nouveau?,video_cards_vmware?]
-	video_cards_nouveau? ( <x11-libs/libdrm-2.4.34 )
 "
 for card in ${INTEL_CARDS}; do
 	RDEPEND="${RDEPEND}
@@ -111,13 +115,19 @@ for card in ${RADEON_CARDS}; do
 done
 
 DEPEND="${RDEPEND}
-	llvm? ( >=sys-devel/llvm-2.9 )
+	llvm? (
+		>=sys-devel/llvm-2.9
+		r600-llvm-compiler? ( >=sys-devel/llvm-3.1 )
+		video_cards_radeonsi? ( >=sys-devel/llvm-3.1 )
+	)
 	=dev-lang/python-2*
 	dev-libs/libxml2[python]
-	virtual/pkgconfig
 	sys-devel/bison
 	sys-devel/flex
+	virtual/pkgconfig
 	x11-misc/makedepend
+	>=x11-proto/dri2proto-2.6
+	>=x11-proto/glproto-1.4.15-r1
 	>=x11-proto/xextproto-7.0.99.1
 	x11-proto/xf86driproto
 	x11-proto/xf86vidmodeproto
@@ -139,7 +149,9 @@ pkg_setup() {
 
 src_unpack() {
 	default
-	[[ $PV = 9999* ]] && git-2_src_unpack
+	if [[ ${PV} = 9999* ]]; then
+		git-2_src_unpack
+	fi
 }
 
 src_prepare() {
@@ -152,7 +164,7 @@ src_prepare() {
 	fi
 
 	# relax the requirement that r300 must have llvm, bug 380303
-	epatch "${FILESDIR}"/${PN}-8.0-dont-require-llvm-for-r300.patch
+	epatch "${FILESDIR}"/${PN}-8.1-dont-require-llvm-for-r300.patch
 
 	# void glibc-ism on a uclibc system
 	epatch "${FILESDIR}"/${PN}-8.0-uclibc.patch
@@ -212,8 +224,8 @@ src_configure() {
 			$(use_enable g3dvl gallium-g3dvl)
 			$(use_enable llvm gallium-llvm)
 			$(use_enable openvg)
+			$(use_enable r600-llvm-compiler)
 			$(use_enable vdpau)
-			$(use_enable xa)
 			$(use_enable xvmc)
 		"
 		gallium_enable swrast
@@ -226,6 +238,7 @@ src_configure() {
 
 		gallium_enable video_cards_r300 r300
 		gallium_enable video_cards_r600 r600
+		gallium_enable video_cards_radeonsi radeonsi
 		if ! use video_cards_r300 && \
 				! use video_cards_r600; then
 			gallium_enable video_cards_radeon r300 r600
@@ -239,6 +252,8 @@ src_configure() {
 		"
 	fi
 
+	use userland_GNU || export INDENT=cat
+
 	econf \
 		--enable-dri \
 		--enable-glx \
@@ -251,8 +266,9 @@ src_configure() {
 		$(use_enable nptl glx-tls) \
 		$(use_enable osmesa) \
 		$(use_enable !pic asm) \
-		$(use_enable shared-dricore) \
 		$(use_enable shared-glapi) \
+		$(use_enable xa) \
+		$(use_enable xorg) \
 		--with-dri-drivers=${DRI_DRIVERS} \
 		--with-gallium-drivers=${GALLIUM_DRIVERS} \
 		${myconf}
@@ -261,6 +277,8 @@ src_configure() {
 src_install() {
 	base_src_install
 
+	find "${ED}" -name '*.la' -exec rm -f {} + || die
+
 	if use !bindist; then
 		dodoc docs/patents.txt
 	fi
@@ -272,29 +290,29 @@ src_install() {
 
 	# Install config file for eselect mesa
 	insinto /usr/share/mesa
-	newins "${FILESDIR}/eselect-mesa.conf.8.0.1" eselect-mesa.conf
+	newins "${FILESDIR}/eselect-mesa.conf.8.1" eselect-mesa.conf
 
 	# Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib
 	# because user can eselect desired GL provider.
 	ebegin "Moving libGL and friends for dynamic switching"
-		local gl_dir="/usr/$(get_libdir)/opengl/${OPENGL_DIR}/"
 		local x
+		local gl_dir="/usr/$(get_libdir)/opengl/${OPENGL_DIR}/"
 		dodir ${gl_dir}/{lib,extensions,include/GL}
 		for x in "${ED}"/usr/$(get_libdir)/lib{EGL,GL*,OpenVG}.{la,a,so*}; do
 			if [ -f ${x} -o -L ${x} ]; then
-				mv -f "${x}" "${ED}"${gl_dir}/lib \
+				mv -f "${x}" "${ED}${gl_dir}"/lib \
 					|| die "Failed to move ${x}"
 			fi
 		done
 		for x in "${ED}"/usr/include/GL/{gl.h,glx.h,glext.h,glxext.h}; do
 			if [ -f ${x} -o -L ${x} ]; then
-				mv -f "${x}" "${ED}"${gl_dir}/include/GL/ \
+				mv -f "${x}" "${ED}${gl_dir}"/include/GL \
 					|| die "Failed to move ${x}"
 			fi
 		done
 		for x in "${ED}"/usr/include/{EGL,GLES*,VG,KHR}; do
 			if [ -d ${x} ]; then
-				mv -f "${x}" "${ED}"/${gl_dir}/include \
+				mv -f "${x}" "${ED}${gl_dir}"/include \
 					|| die "Failed to move ${x}"
 			fi
 		done

diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml
index 27ede18..5464476 100644
--- a/media-libs/mesa/metadata.xml
+++ b/media-libs/mesa/metadata.xml
@@ -4,23 +4,23 @@
 <herd>x11</herd>
 <use>
 	<flag name='classic'>Build drivers based on the classic architecture.</flag>
-	<flag name='d3d'>Enable DirectX 10/10.1/11 backend for Gallium3D.</flag>
 	<flag name='egl'>Enable EGL support.</flag>
 	<flag name='gallium'>Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.</flag>
 	<flag name='g3dvl'>Enable video decode acceleration support for Gallium3D.</flag>
 	<flag name='gbm'>Enable the Graphics Buffer Manager for EGL on KMS.</flag>
+	<flag name='gles'>Enable GLES (both v1 and v2) support.</flag>
 	<flag name='gles1'>Enable GLESv1 support.</flag>
 	<flag name='gles2'>Enable GLESv2 support.</flag>
 	<flag name='llvm'>Enable LLVM backend for Gallium3D.</flag>
 	<flag name='openvg'>Enable the OpenVG 2D acceleration API for Gallium3D.</flag>
 	<flag name='osmesa'>Build the Mesa library for off-screen rendering.</flag>
+	<flag name='r600-llvm-compiler'>Build the LLVM based r600 shader compiler.</flag>
 	<flag name='pax_kernel'>Enable if the user plans to run the package under a pax enabled hardened kernel</flag>
 	<flag name='pic'>disable optimized assembly code that is not PIC friendly</flag>
 	<flag name='shared-dricore'>Enable sharing of common code for classic DRI drivers.</flag>
 	<flag name='shared-glapi'>Enable sharing of common code for the OpenGL API.</flag>
-	<flag name='vdpau'>Enable the VDPAU acceleration interface for the Gallium3D Video Layer.</flag>
-	<flag name='wayland'>Enable support for dev-libs/wayland</flag>
 	<flag name='xa'>Enable the XA (X Acceleration) API for Gallium3D.</flag>
+	<flag name='xorg'>Enable the X.org state tracker (DDX replacement) for Gallium3D.</flag>
 	<flag name='xvmc'>Enable the XvMC acceleration interface for the Gallium3D Video Layer.</flag>
 </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/hardened-dev:uclibc commit in: media-libs/mesa/, media-libs/mesa/files/
@ 2013-01-02 16:08 Anthony G. Basile
  0 siblings, 0 replies; 6+ messages in thread
From: Anthony G. Basile @ 2013-01-02 16:08 UTC (permalink / raw
  To: gentoo-commits

commit:     53606b94d72d7d9c9d8b9ae5285144b0b455f6d5
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  2 16:06:09 2013 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Jan  2 16:07:50 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=53606b94

media-libs/mesa: remove debug_symbol_name_glibc()

---
 ...elect-mesa.conf.8.0.1 => eselect-mesa.conf.8.1} |    0
 media-libs/mesa/files/mesa-8.0-uclibc.patch        |   36 --------------------
 ...mesa-9.0.1-remove-debug_symbol_name_glibc.patch |   24 +++++++++++++
 media-libs/mesa/mesa-9.0.1-r99.ebuild              |    4 +-
 4 files changed, 26 insertions(+), 38 deletions(-)

diff --git a/media-libs/mesa/files/eselect-mesa.conf.8.0.1 b/media-libs/mesa/files/eselect-mesa.conf.8.1
similarity index 100%
rename from media-libs/mesa/files/eselect-mesa.conf.8.0.1
rename to media-libs/mesa/files/eselect-mesa.conf.8.1

diff --git a/media-libs/mesa/files/mesa-8.0-uclibc.patch b/media-libs/mesa/files/mesa-8.0-uclibc.patch
deleted file mode 100644
index cb86d56..0000000
--- a/media-libs/mesa/files/mesa-8.0-uclibc.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naur Mesa-8.0.3.orig/src/gallium/auxiliary/util/u_debug_symbol.c Mesa-8.0.3/src/gallium/auxiliary/util/u_debug_symbol.c
---- Mesa-8.0.3.orig/src/gallium/auxiliary/util/u_debug_symbol.c	2011-12-07 23:54:22.000000000 +0000
-+++ Mesa-8.0.3/src/gallium/auxiliary/util/u_debug_symbol.c	2012-07-01 22:35:05.272342392 +0000
-@@ -151,7 +151,7 @@
- }
- #endif
- 
--#ifdef __GLIBC__
-+#if defined(__GLIBC__)  && !defined(__UCLIBC__)
- #include <execinfo.h>
- 
- /* This can only provide dynamic symbols, or binary offsets into a file.
-diff -Naur Mesa-8.0.3.orig/src/glsl/strtod.c Mesa-8.0.3/src/glsl/strtod.c
---- Mesa-8.0.3.orig/src/glsl/strtod.c	2012-05-18 04:27:14.000000000 +0000
-+++ Mesa-8.0.3/src/glsl/strtod.c	2012-07-01 18:19:20.624711636 +0000
-@@ -45,7 +45,7 @@
- glsl_strtod(const char *s, char **end)
- {
- #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
--   !defined(__HAIKU__)
-+   !defined(__HAIKU__) && !defined(__UCLIBC__)
-    static locale_t loc = NULL;
-    if (!loc) {
-       loc = newlocale(LC_CTYPE_MASK, "C", NULL);
-diff -Naur Mesa-8.0.3.orig/src/mesa/main/imports.c Mesa-8.0.3/src/mesa/main/imports.c
---- Mesa-8.0.3.orig/src/mesa/main/imports.c	2012-05-18 04:27:14.000000000 +0000
-+++ Mesa-8.0.3/src/mesa/main/imports.c	2012-07-01 20:36:48.235060134 +0000
-@@ -767,7 +767,7 @@
- _mesa_strtof( const char *s, char **end )
- {
- #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
--   !defined(ANDROID) && !defined(__HAIKU__)
-+   !defined(ANDROID) && !defined(__HAIKU__) && !defined(__UCLIBC__)
-    static locale_t loc = NULL;
-    if (!loc) {
-       loc = newlocale(LC_CTYPE_MASK, "C", NULL);

diff --git a/media-libs/mesa/files/mesa-9.0.1-remove-debug_symbol_name_glibc.patch b/media-libs/mesa/files/mesa-9.0.1-remove-debug_symbol_name_glibc.patch
new file mode 100644
index 0000000..12346bf
--- /dev/null
+++ b/media-libs/mesa/files/mesa-9.0.1-remove-debug_symbol_name_glibc.patch
@@ -0,0 +1,24 @@
+diff -Naur Mesa-9.0.1.org/src/gallium/auxiliary/util/u_debug_symbol.c Mesa-9.0.1/src/gallium/auxiliary/util/u_debug_symbol.c
+--- Mesa-9.0.1.org/src/gallium/auxiliary/util/u_debug_symbol.c	2012-08-31 19:33:41.000000000 -0400
++++ Mesa-9.0.1/src/gallium/auxiliary/util/u_debug_symbol.c	2013-01-02 10:42:33.429869685 -0500
+@@ -151,10 +151,8 @@
+ }
+ #endif
+ 
+-#ifdef __GLIBC__
+-#ifndef __UCLIBC__
++#if defined(__GLIBC__) && !defined(__UCLIBC__)
+ #include <execinfo.h>
+-#endif
+ 
+ /* This can only provide dynamic symbols, or binary offsets into a file.
+  *
+@@ -179,7 +177,7 @@
+       return;
+ #endif
+ 
+-#ifdef __GLIBC__
++#if defined(__GLIBC__) && !defined(__UCLIBC__)
+    debug_symbol_name_glibc(addr, buf, size);
+    if(buf[0])
+       return;

diff --git a/media-libs/mesa/mesa-9.0.1-r99.ebuild b/media-libs/mesa/mesa-9.0.1-r99.ebuild
index d7d20f6..a427fae 100644
--- a/media-libs/mesa/mesa-9.0.1-r99.ebuild
+++ b/media-libs/mesa/mesa-9.0.1-r99.ebuild
@@ -166,8 +166,8 @@ src_prepare() {
 	# relax the requirement that r300 must have llvm, bug 380303
 	epatch "${FILESDIR}"/${PN}-8.1-dont-require-llvm-for-r300.patch
 
-	# void glibc-ism on a uclibc system
-	epatch "${FILESDIR}"/${PN}-8.0-uclibc.patch
+	# void backtrace on a uclibc system
+	epatch "${FILESDIR}"/${PN}-9.0.1-remove-debug_symbol_name_glibc.patch
 
 	# fix for hardened pax_kernel, bug 240956
 	[[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-02 16:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-23  3:03 [gentoo-commits] proj/hardened-dev:uclibc commit in: media-libs/mesa/, media-libs/mesa/files/ Anthony G. Basile
  -- strict thread matches above, loose matches on Subject: below --
2013-01-02 16:08 Anthony G. Basile
2012-07-01 23:11 Anthony G. Basile
2012-01-06 21:11 Anthony G. Basile
2012-01-06 19:19 Anthony G. Basile
2012-01-06 18:01 Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox