Skip to content

Commit

Permalink
MESA FIX : PART 1 (Fixing USE and adding -9999)
Browse files Browse the repository at this point in the history
== Fixing USE ==
Description:
The current USE for the graphic chain for the installation of a unwanted driver, including useless dependencies because of the useless drivers.
the libdrm ebuild have the VIDEO_CARDS "radeon" to enable radeon drm for all cards (from r100 to r800).
the mesa ebuild have the VIDEO_CARDS "radeon" for Radeon r100 to r500 inclusivement. Also, he have VIDEO_CARDS "r600" for card from r600 to r800. The VIDEO_CARDS "r300" do the same thing as "radeon".

Affected:
Radeon card with r600 chip or better. Owner of Radeon r600+ need to put VIDEO_CARDS="radeon r600", enabling the radeon DRM and forcing the installation of the r300 MESA drivers even if it's not needed. The r300 MESA drivers have llvm in the dependencie and that's not used in the r600 driver.

fix:
libdrm now have the VIDEO_CARD : radeon, r300 and r600. so any of them will install the radeon drm. No need to put VIDEO_CARDS="radeon r600" for r600+ owner
mesa will not put the radeon use for r300 or r600, it just accept any of these for his libdrm dependencie.
xf86-video-ati will not put the radeon use for r300 or r600, it just accept any of these for his libdrm dependencie.
xorg-drivers will not put the radeon use for r300 or r600, it just accept any of these for his libdrm dependencie.

== -9999 ==
I have added the experimental git version of libdrm, mesa, and xf86-video-ati. These are usually better the the "stable" one. Faster less buggy and more supported ClosedGL commands.
  • Loading branch information
DestroyFX committed Sep 21, 2011
1 parent ee2a742 commit 376a3fe
Show file tree
Hide file tree
Showing 41 changed files with 6,885 additions and 0 deletions.
1,598 changes: 1,598 additions & 0 deletions media-libs/mesa/ChangeLog

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions media-libs/mesa/Manifest
@@ -0,0 +1,19 @@
AUX eselect-mesa.conf.7.10 1670 RMD160 a500c3af1c036678a84548b92e348b12a72ec117 SHA1 38cc1b51398382f5a2d1b89da4f16d3fa0e55450 SHA256 3ff15cedc353feeb2da450533c2ea2efc33ed1c8434a7b3037999c4965907149
AUX eselect-mesa.conf.7.11 1670 RMD160 74d85b0481f36a8e2b2e09245d49d09671500946 SHA1 5c5f468feaae946e5901698d1c0ffe8fc480b783 SHA256 448d08e97e931563aa2e33f22feeaf911caf9a2eb9fd7b446485311d1dcc1225
AUX eselect-mesa.conf.7.12 1670 RMD160 4714db2bb66a2fff04d33c05e8051f0c63892371 SHA1 d101931591ec5aefbf3d2ec48f1331709686a4f4 SHA256 3b760d19524870b067b3717f403c748a705fc71cdf5373a049d857ca1b3139fb
AUX eselect-mesa.conf.7.9 1652 RMD160 922a0cc81e31548eacc7bc079448a93912124180 SHA1 2fb5a1fad37cc907871541ba8daca927dca968bb SHA256 bee4d061f1fb63c4c70d3f643fee7b53726c8826782f57b988f545e12eccd8c1
AUX glx_ro_text_segm.patch 731 RMD160 6d2bd85591d6349fa45a5ee16c724859c640e902 SHA1 3015aa2bd139bcdf2c3fae61f460f0c5aaeb1df7 SHA256 e36af5b530fdbe2b0e62a035bf4bf4baef267c3dc56133d1a58e56899ebffc5c
DIST MesaLib-7.10.2.tar.bz2 5863551 RMD160 4e5cfdf3b66f1b05d1aefd5267fe157e542f6ac2 SHA1 71bbb2686230f6334aa625a951b58b4b2d5d6aa0 SHA256 8ced2678ce11cf30804694a92ea3ca6b82f158ae8995bdc626c7e85aac71c7c1
DIST MesaLib-7.10.3.tar.bz2 6056837 RMD160 bd9800a0cf98560a4424742cac635b4c07a39647 SHA1 e1fe8bad90bb24cc4b25a42932c277a0e0d7a2ac SHA256 1e701fc839b872677ddca9ed8784d754c9da1fbeda98173980e06aa7df0e85c0
DIST MesaLib-7.11.tar.bz2 6559702 RMD160 1637654c0f8e9e581753057f439f41bfdf7d7638 SHA1 942358e42dcfaac966c643fe39375549c8638b68 SHA256 f8bf37a00882840a3e3d327576bc26a79ae7f4e18fe1f7d5f17a5b1c80dd7acf
DIST MesaLib-7.9.2.tar.bz2 5648858 RMD160 d6665c1eb1035b9bebc743401355c39aaffcdf5c SHA1 973d27e49654b7bd1ed0d3c4c986d26d25ccabed SHA256 6b54c96ba0673c3f088bf9a56c2d64a6e54831a1065dedf0ac234d7cd5151253
DIST mesa-7.10.1-gentoo-patches-01.tar.bz2 5488 RMD160 acc52b4f05b82a98e7994dc005699630270de360 SHA1 f38c616eeacbeebe597ed4bc98b84a41caa18108 SHA256 31cd4f6d1a0a70249c40452919074856d120cd473a01a8457e3dc147a1b622d8
DIST mesa-7.10.2-gentoo-patches-01.tar.bz2 5974 RMD160 aa2ddbd006734b4493fafeb2daeac2c5f36b0469 SHA1 5cfe8ba2e23cc55eea2d8bf44cd6515b5fe453de SHA256 9944599547f9552f5233043a8964708a05608cc2b17127503bf299fede037f80
EBUILD mesa-7.10.2-r1.ebuild 9854 RMD160 6980a728f59759468973e700e0daf47407323847 SHA1 a8a6142b986b46632edc66e9d2e4a7e742646b98 SHA256 c8acbc7929f653cf688f357dc386b5fdd159660fb1ddd77570f83645c81ec595
EBUILD mesa-7.10.2.ebuild 9880 RMD160 602825641f5260410704f9c6139c5efa8c8579d5 SHA1 c57307ce8cda3c19ff60a70f8ef3d021fa550727 SHA256 c9a1edd7372316b8c24454b425fac51fa84b764e5ba024ba4b8b31445b3ce3a1
EBUILD mesa-7.10.3.ebuild 9875 RMD160 3da03bf00c7b25c34c1f6c12558becba2da1f0ec SHA1 e44ffd573d74173117f2649d376f4775599e38f9 SHA256 e4d7d28bee74490e5c85c5c7faef0dd7f80ee9472c5d93557fae8e1bfa181d66
EBUILD mesa-7.11.ebuild 9965 RMD160 3cbce485ea30854e29d7b40f3c09dd39cb655cbc SHA1 9dfc43adb6f0e9f39fa7ccf98900eba7401aa4f6 SHA256 56e7b09e0dbf66397fabf4eac5e2cdef76a4ca74b16c80fed1a650964bf3d354
EBUILD mesa-7.9.2.ebuild 9022 RMD160 780c2c2742617ee1b7949f6e38d3a9e19738f2d8 SHA1 a8719366134ec8b94d889aa510144c826bde0a41 SHA256 2efb2d0136bd9cb743534b05547595305be1e706c52813e052b0c46f7631f361
EBUILD mesa-9999.ebuild 11364 RMD160 305ec7c9ea8194f685acf5e4f67761b7491aad84 SHA1 d3bc9aebb0dee74716d0364c4b717eda6848fd7b SHA256 ce2f43837d7fc603b4376094c904247ecdb7cb5c2c06866df9a8352bdccbe335
MISC ChangeLog 60379 RMD160 49020e367a2e1ee83b0a47a76e78c0b305d8753e SHA1 a3d466147f5158a04c010a84ba7d9f93be82adf8 SHA256 65033c713a1e0982d968b19a5c5a674a6b2455b58638688b3e00558af0db9f48
MISC metadata.xml 1035 RMD160 ac239f40d4af2f6537c731c9d79c4113f3ac7987 SHA1 f6d8bf7cdbae944e148d7eddc987440a58e3c1a9 SHA256 354e32cb51112b1bcb225e0b918b6fe142636c3b42e50d0ac3fc5fc2e5b2ea42
39 changes: 39 additions & 0 deletions media-libs/mesa/files/eselect-mesa.conf.7.10
@@ -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]="classic"

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"
39 changes: 39 additions & 0 deletions 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"
39 changes: 39 additions & 0 deletions media-libs/mesa/files/eselect-mesa.conf.7.12
@@ -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]="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)"
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"
39 changes: 39 additions & 0 deletions media-libs/mesa/files/eselect-mesa.conf.7.9
@@ -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)"
MESA_DRIVERS[r600,classicdriver]="r600_dri.so"
MESA_DRIVERS[r600,galliumdriver]="r600g_dri.so"
MESA_DRIVERS[r600,default]="classic"

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"
28 changes: 28 additions & 0 deletions 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

0 comments on commit 376a3fe

Please sign in to comment.