Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: nvidia-driver.eclass
Date: Mon, 23 Jun 2008 12:58:14
Message-Id: E1KAlcU-0000QB-7j@stork.gentoo.org
1 chainsaw 08/06/23 12:58:06
2
3 Modified: nvidia-driver.eclass
4 Log:
5 Add 173 level masking for GeForce FX series cards, being discontinued in 177.
6
7 Revision Changes Path
8 1.13 eclass/nvidia-driver.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/nvidia-driver.eclass?rev=1.13&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/nvidia-driver.eclass?rev=1.13&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/nvidia-driver.eclass?r1=1.12&r2=1.13
13
14 Index: nvidia-driver.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v
17 retrieving revision 1.12
18 retrieving revision 1.13
19 diff -u -r1.12 -r1.13
20 --- nvidia-driver.eclass 7 May 2008 14:54:34 -0000 1.12
21 +++ nvidia-driver.eclass 23 Jun 2008 12:58:05 -0000 1.13
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2008 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.12 2008/05/07 14:54:34 cardoe Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.13 2008/06/23 12:58:05 chainsaw Exp $
27
28 # @ECLASS: nvidia-driver.eclass
29 # @MAINTAINER: <chainsaw@g.o>
30 @@ -16,7 +16,7 @@
31 DEPEND="sys-apps/pciutils"
32
33 # the data below is derived from
34 -# http://us.download.nvidia.com/XFree86/Linux-x86_64/100.14.11/README/appendix-a.html
35 +# http://us.download.nvidia.com/XFree86/Linux-x86_64/177.13/README/appendix-a.html
36
37 drv_96xx="0110 0111 0112 0113 0170 0171 0172 0173 0174 0175 0176 0177 0178 \
38 0179 017a 017c 017d 0181 0182 0183 0185 0188 018a 018b 018c 01a0 01f0 0200 \
39 @@ -25,8 +25,13 @@
40
41 drv_71xx="0020 0028 0029 002c 002d 00a0 0100 0101 0103 0150 0151 0152 0153"
42
43 +drv_173x="00FA 00FB 00FC 00FD 00FE 0301 0302 0308 0309 0311 0312 0314 031A \
44 +031B 031C 0320 0321 0322 0323 0324 0325 0326 0327 0328 032A 032B 032C 032D \
45 +0330 0331 0332 0333 0334 0338 033F 0341 0342 0343 0344 0347 0348 034C 034E"
46 +
47 mask_96xx=">=x11-drivers/nvidia-drivers-97.0.0"
48 mask_71xx=">=x11-drivers/nvidia-drivers-72.0.0"
49 +mask_173x=">=x11-drivers/nvidia-drivers-177.0.0"
50
51 # @FUNCTION: nvidia-driver-get-card
52 # @DESCRIPTION:
53 @@ -59,6 +64,12 @@
54 fi
55 done
56
57 + for drv in $drv_173x; do
58 + if [ "x$card" = "x$drv" ]; then
59 + echo "$mask_173x";
60 + return 0;
61 + fi
62 + done
63 done
64
65 echo "";
66
67
68
69 --
70 gentoo-commits@l.g.o mailing list