summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-09-20 19:55:12 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-09-20 19:55:12 +0000
commitcba31ec38216a25d7be35cb97951dfb499f27af1 (patch)
tree452aff67b30f6e3133071e1ed34c0819e5268771 /x11-drivers
parentBump to 2.18.2 (diff)
downloadhistorical-cba31ec38216a25d7be35cb97951dfb499f27af1.tar.gz
historical-cba31ec38216a25d7be35cb97951dfb499f27af1.tar.bz2
historical-cba31ec38216a25d7be35cb97951dfb499f27af1.zip
Removing older ebuilds where newer ebuilds in the same class have the same KEYWORDS or better, moving nvidia-2 to nvidia, since nothing uses the old file anymore, simplified sed by changing ${PACKAGE} to PACKAGE, and changed a newins to doins, since we were not renaming anything.
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/ChangeLog14
-rw-r--r--x11-drivers/nvidia-drivers/Manifest112
-rw-r--r--x11-drivers/nvidia-drivers/files/NVIDIA_kernel-2.6.19.patch44
-rw-r--r--x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.8776-r19
-rw-r--r--x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9631-r18
-rw-r--r--x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9746-r19
-rw-r--r--x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9755-r19
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia12
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia-240
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-1.0.7185.ebuild11
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-1.0.8776-r1.ebuild444
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9631-r1.ebuild445
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9639.ebuild11
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9746-r1.ebuild448
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9755-r1.ebuild448
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-100.14.09.ebuild11
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild11
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild11
18 files changed, 85 insertions, 2012 deletions
diff --git a/x11-drivers/nvidia-drivers/ChangeLog b/x11-drivers/nvidia-drivers/ChangeLog
index c81b94551e7a..6f86c93feffc 100644
--- a/x11-drivers/nvidia-drivers/ChangeLog
+++ b/x11-drivers/nvidia-drivers/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for x11-drivers/nvidia-drivers
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/ChangeLog,v 1.62 2007/09/18 23:50:03 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/ChangeLog,v 1.63 2007/09/20 19:55:12 wolf31o2 Exp $
+
+ 20 Sep 2007; Chris Gianelloni <wolf31o2@gentoo.org> -files/nvidia-2,
+ -files/NVIDIA_kernel-2.6.19.patch, files/nvidia,
+ nvidia-drivers-1.0.7185.ebuild, -nvidia-drivers-1.0.8776-r1.ebuild,
+ -nvidia-drivers-1.0.9631-r1.ebuild, nvidia-drivers-1.0.9639.ebuild,
+ -nvidia-drivers-1.0.9746-r1.ebuild, -nvidia-drivers-1.0.9755-r1.ebuild,
+ nvidia-drivers-100.14.09.ebuild, nvidia-drivers-100.14.11.ebuild,
+ nvidia-drivers-100.14.19.ebuild:
+ Removing older ebuilds where newer ebuilds in the same class have the same
+ KEYWORDS or better, moving nvidia-2 to nvidia, since nothing uses the old
+ file anymore, simplified sed by changing ${PACKAGE} to PACKAGE, and changed
+ a newins to doins, since we were not renaming anything.
*nvidia-drivers-100.14.19 (18 Sep 2007)
diff --git a/x11-drivers/nvidia-drivers/Manifest b/x11-drivers/nvidia-drivers/Manifest
index 9795ba30318b..9be1b33a1c23 100644
--- a/x11-drivers/nvidia-drivers/Manifest
+++ b/x11-drivers/nvidia-drivers/Manifest
@@ -21,88 +21,52 @@ AUX NVIDIA_i2c-hwmon.patch 669 RMD160 812e7081d8f31116031edb0d8eb9c570b09caf89 S
MD5 bf7e379d6aba09df2f794792e48ae3a6 files/NVIDIA_i2c-hwmon.patch 669
RMD160 812e7081d8f31116031edb0d8eb9c570b09caf89 files/NVIDIA_i2c-hwmon.patch 669
SHA256 0aaa05e1167bd722e00fcb90bd9853413ceb4ce3b00b308c314330f47c82f21a files/NVIDIA_i2c-hwmon.patch 669
-AUX NVIDIA_kernel-2.6.19.patch 1854 RMD160 d30945a61dc53e7d0b4fff7d5c620792bd46beb4 SHA1 615ce9ee703a19fae7ce6475c7fd1eaae6740cd0 SHA256 4fafa8f07403a27d4804e1a1be47381a7bc30e4466172eccf881d46c95803d50
-MD5 4670c3b33e096dc22a89b8a63e856ef1 files/NVIDIA_kernel-2.6.19.patch 1854
-RMD160 d30945a61dc53e7d0b4fff7d5c620792bd46beb4 files/NVIDIA_kernel-2.6.19.patch 1854
-SHA256 4fafa8f07403a27d4804e1a1be47381a7bc30e4466172eccf881d46c95803d50 files/NVIDIA_kernel-2.6.19.patch 1854
AUX libGL.la-r2 733 RMD160 479612ab30c04ca0683c7d9edaf9ab3de783e4a9 SHA1 88656b7e7234ade4f5564373fd6eb5c040167655 SHA256 4856e7a2c31763ade41c93a395f3e80a2705ac2ab4dbd73e5161cdba132f407b
MD5 ca48410a5f23b1fa3c5895201a7161e6 files/libGL.la-r2 733
RMD160 479612ab30c04ca0683c7d9edaf9ab3de783e4a9 files/libGL.la-r2 733
SHA256 4856e7a2c31763ade41c93a395f3e80a2705ac2ab4dbd73e5161cdba132f407b files/libGL.la-r2 733
-AUX nvidia 1152 RMD160 05693b8aa0f5d15336c441f69ca4a05f167b08b9 SHA1 4f1eab22e03b88982e381f0678889f3e2c4d6904 SHA256 a5549cddd18ccd21099d1464fbf12846c280a698672575e67000037cb67d7162
-MD5 afe4717e36604d5c16c3a7db31cd4770 files/nvidia 1152
-RMD160 05693b8aa0f5d15336c441f69ca4a05f167b08b9 files/nvidia 1152
-SHA256 a5549cddd18ccd21099d1464fbf12846c280a698672575e67000037cb67d7162 files/nvidia 1152
-AUX nvidia-2 1522 RMD160 e93417c68fde706c7ad60bf352a1435a999e615e SHA1 4935687df1e7110bb5ffcd4146ca50d1a142c98d SHA256 cf71f8828d36eb7f5e593ef4bb15f6540b8382b23fda4dd2a2b2b74ba7188cfc
-MD5 5af339ee9d149acaf913de13d5cfe977 files/nvidia-2 1522
-RMD160 e93417c68fde706c7ad60bf352a1435a999e615e files/nvidia-2 1522
-SHA256 cf71f8828d36eb7f5e593ef4bb15f6540b8382b23fda4dd2a2b2b74ba7188cfc files/nvidia-2 1522
+AUX nvidia 1510 RMD160 ca0d0e5375109d9edf682d9bdda743b7c693e4d4 SHA1 85cf9bff167dcc063ba61426523973e9598085f7 SHA256 b193cc3f6d6f39138720a2282d9f161fc8f2e8a15bc43d183a30eb879add06c5
+MD5 ddae3e825361932090824cbd4d95ab69 files/nvidia 1510
+RMD160 ca0d0e5375109d9edf682d9bdda743b7c693e4d4 files/nvidia 1510
+SHA256 b193cc3f6d6f39138720a2282d9f161fc8f2e8a15bc43d183a30eb879add06c5 files/nvidia 1510
DIST NVIDIA-FreeBSD-x86-1.0-7185.tar.gz 8433584 RMD160 e9b80d9d804baa83683d0a6965153dbd6d6301e1 SHA1 1ba96326c9a7885a0556454f29c928b77fc8a464 SHA256 a78e4ac89fa4eede8c0510066be441084d605fb0b9c82056ebe6f82c3d32665f
-DIST NVIDIA-FreeBSD-x86-1.0-8776.tar.gz 9448963 RMD160 d646e511978ac77fddb6600eabdfc1ea32146e00 SHA1 ef27e21c6117ba912c8c4351f4e89098d6672296 SHA256 404f25862031d8f3036de33d2a0fafc3c54821a9a08832c1c1616c145d93baa5
-DIST NVIDIA-FreeBSD-x86-1.0-9631.tar.gz 9667093 RMD160 2034f9086ad44ae222199e4949195dffc67274f1 SHA1 2cbeb4c732670b9eac8f95b5b5fb670ffdf03213 SHA256 2b467da57bc3bb8e2216ce3d02909cf077da045ebcf294474b784cb521a5d550
DIST NVIDIA-FreeBSD-x86-1.0-9639.tar.gz 9668348 RMD160 d8712200f67f69e8d98b922d98268152cf6a3ce7 SHA1 cb9014e20729b0da64243c1c2ec9b680874025fc SHA256 a661f039bd838605543a460769bd18a4296717878450eec4baecc6215b91a8a6
-DIST NVIDIA-FreeBSD-x86-1.0-9746.tar.gz 11152524 RMD160 8fe06d1a3af528c6fae9f94ff0e612d42e034ecd SHA1 b242fc70d8eea5825ba330dd5b1adc78df9184c4 SHA256 cf8be89d537423c0acc294e57cb659dae94463f6347f63c32b1de39c8051a5a7
-DIST NVIDIA-FreeBSD-x86-1.0-9755.tar.gz 11207740 RMD160 4ed7a96a36cd53acbe3d8fa4443634589da82635 SHA1 ca5f7dd0077559fe65ea02c2e02fbaa20ff5f0d8 SHA256 c064786952f7f06a91f487dd7f1b8be5531cb56d2a624f3774e7776410326544
DIST NVIDIA-FreeBSD-x86-100.14.09.tar.gz 647923 RMD160 2b53d1254fb2868fac17f34c51d9ecea9c09c601 SHA1 06e098dee3eea68fcc9fa1125561edcd28a81759 SHA256 db448b1c5491995b643bb7009da179ef59315cdea5f2993d0149fe10ebea9906
DIST NVIDIA-FreeBSD-x86-100.14.11.tar.gz 11419761 RMD160 ec5aa5226535bbad07bbd3bc3b3c074339cdb429 SHA1 bc6a78a19002474f116b9a4bcfa2ecd9d07769c8 SHA256 8511656f042a4b2fc2ed5571a96a2b2972fe27961540e0e63d305aaa58753e42
DIST NVIDIA-Linux-x86-1.0-7185-pkg0.run 5576631 RMD160 1eb1bc41249bf06e595b3adfb224fb267c69a34b SHA1 35593bee1499aaa429d9572a0c49f2fd137d0d22 SHA256 384fbb4861be72f3fdd96f6d6168547e514350be49d74157e8401955a39da166
-DIST NVIDIA-Linux-x86-1.0-8776-pkg0.run 6479231 RMD160 296dcc76c43fd65105f8d0c6f99295ee983b8872 SHA1 362902983e11e1b372a102359c6057ebb5aa7ef6 SHA256 0b25f9e407ea513cac8d600054d2dc28ca2e407caa535510210ad9fa5f45e8dc
-DIST NVIDIA-Linux-x86-1.0-9631-pkg0.run 6581907 RMD160 7fc0b394e0a9fbb772e43136528dbd3c2b7ac81e SHA1 52b85567907b2f32a3d3e0eef9a5a509013c05ab SHA256 d1a54248d55f2aecab735e40ae060928670a766a98dd652b2245ebd68085ca5a
DIST NVIDIA-Linux-x86-1.0-9639-pkg0.run 6587405 RMD160 dc21dc575f03e581a7a3f5d5066038a43f40833f SHA1 07b879712fb8b39ad3a11f4d5e0f16c95539e2d3 SHA256 058acd6678ae9c53c5b8083fcab3dbce1f30b77271e6553632d600acafc0bcaf
-DIST NVIDIA-Linux-x86-1.0-9746-pkg0.run 7733466 RMD160 7968dba12e86ecf93470d2aa1442be0ca04c4bb0 SHA1 2e4a6a870f8eb5fe2fdfa75861dedce6c78b621f SHA256 11dd3fa562bb4695a65e69b45634b91d3fa6ab7181be5f0448afd3c7efce0756
-DIST NVIDIA-Linux-x86-1.0-9755-pkg0.run 7750628 RMD160 4a044add72957bfabfaac4fd19550dd4809873ee SHA1 486091e380faa85271d32f95e637dea3fbc6cdbd SHA256 5bba34a15101872d8ca339af3d4c97c83cb2a0ef81ff68a563517bc20bd29cb2
DIST NVIDIA-Linux-x86-100.14.09-pkg0.run 7855581 RMD160 53f0a664dfb27488943697ffac618574ac388f03 SHA1 a71c46749e5ffa4e95473c13cb1183ca240cc381 SHA256 92ec9b407530018df14c7ccfef9c5e76ad8ba49ee7fd83a1324a5514a82a7b9a
DIST NVIDIA-Linux-x86-100.14.11-pkg0.run 7862483 RMD160 5784e1323a4872fa56b43dd2946ec89c9b5b51c4 SHA1 95e101a5b1567bbcce91ce18f48e19d2c344ff05 SHA256 60b459b797d9fea16b4a804f71010c90bb516fe164370df488b0fdd31feab5a4
DIST NVIDIA-Linux-x86-100.14.19-pkg0.run 7592917 RMD160 717c168cbc78c804c540b813ef2bb634834446ec SHA1 d645b21dfd43e0c0640783f2336d51f2e3151353 SHA256 46c8629a0f07eaa3009df835cdeb51db8a24d3d17b114b04ec2eae1b3ab69a2f
DIST NVIDIA-Linux-x86_64-1.0-7185-pkg2.run 8774174 RMD160 629022d5d46f0ae77359eb40d1739a519de0c3be SHA1 bad40693c6e0bb3dba3eb7ea8b587d45961a3657 SHA256 880f202853d550dad119ec2f034943529320319c9a0ab154a33428a4f9a19f9e
-DIST NVIDIA-Linux-x86_64-1.0-8776-pkg2.run 9982646 RMD160 5cba53392aa0fd27231d01883679e1a1dba7ee34 SHA1 2a6297b89f0586192f806a18271c5e58de4eed0b SHA256 6fc8dedf782fdfe408dc0196531c301bb3bafac6878520537807118f3a2f9384
-DIST NVIDIA-Linux-x86_64-1.0-9631-pkg2.run 10233636 RMD160 5e9c501fbfad27686651f64705854552be6c3f0c SHA1 add85f7b7d47c6657c1b53bbe6f8da0e1da0a1d7 SHA256 009d6e4171fa18580264ce0ace92c1c68f0702f009837f1214d77b6948223375
DIST NVIDIA-Linux-x86_64-1.0-9639-pkg2.run 10240436 RMD160 aeb23cfbed6cef57bec4f4e94b897a0cc9fb2f14 SHA1 4e5fb164881cf4d13b12a811bc03a367e6860a7b SHA256 64cb092b05f0865cc176dce5155009958f44d59f57c307de8bcf85834c1d6e3d
-DIST NVIDIA-Linux-x86_64-1.0-9746-pkg2.run 11743919 RMD160 b3a050ea487e627cdf2e9ba8dab8a178be6d0bfc SHA1 eee24a1db159c4cadc367f1ab2ed8306e23c89fe SHA256 22f9f09a5ceca852c20f12690ac396738f26e150713b2e56cbb42e752454abf9
-DIST NVIDIA-Linux-x86_64-1.0-9755-pkg2.run 11768823 RMD160 dbc5f34410294de21cadcd17216c45000a0464a1 SHA1 28fb1ac0948a583e8c760b541e19614f3f6ba0d4 SHA256 eaa467d3cde6fe61feb0cbe911316742e03e841d18a94c531caffa42457be785
DIST NVIDIA-Linux-x86_64-100.14.09-pkg2.run 11834257 RMD160 d8c7987c4053835ec4d23facee855ebc35d95da4 SHA1 001bce9cba1c8ba31b0e942e85b429a5533ca72c SHA256 554aa9e63f1ac9e5f2f218f8532a73b514783d5ea1c674bbf888500998877ec7
DIST NVIDIA-Linux-x86_64-100.14.11-pkg2.run 11838502 RMD160 d357c75e9043e1cb089b3136635af04c88420943 SHA1 d542b702fdf7835f5dc7ec767789b2c1ada60908 SHA256 3215f786838d2d05005ec53cc9e3a684d46939ae2ea8c8e6b3e20f092be3b5e1
DIST NVIDIA-Linux-x86_64-100.14.19-pkg2.run 11566207 RMD160 dde900edfb7c12615a85f629a5e65d1ddfcfafa2 SHA1 964337af292d792e92389897ecd1a819880107ef SHA256 2eaf98e6d09ba7daf73d33750a81afc864e78e27a8c8875d145ee92ac10b68c1
-EBUILD nvidia-drivers-1.0.7185.ebuild 14234 RMD160 b191a9713b21b03d0c537a1caca6846c4c780a2e SHA1 d5e5aaa4390d418a708d63534bf3722aeca62890 SHA256 c97513020df3e96e97babb391602e54e594689afb4d79d3155e23cb7beef55c7
-MD5 29eabb0e34c0fb787d4496f28bb666b9 nvidia-drivers-1.0.7185.ebuild 14234
-RMD160 b191a9713b21b03d0c537a1caca6846c4c780a2e nvidia-drivers-1.0.7185.ebuild 14234
-SHA256 c97513020df3e96e97babb391602e54e594689afb4d79d3155e23cb7beef55c7 nvidia-drivers-1.0.7185.ebuild 14234
-EBUILD nvidia-drivers-1.0.8776-r1.ebuild 12809 RMD160 29bb478b8bed8abf17cb4208974297f92ca6cd44 SHA1 51c0508ce44288a9d470b824a161cc3c2e9868de SHA256 435319c6b441d068eb028eee5aa415d805ed1ff034212f364c81e41f0377e0d5
-MD5 cb1bca971890a48728e1638a31d6167b nvidia-drivers-1.0.8776-r1.ebuild 12809
-RMD160 29bb478b8bed8abf17cb4208974297f92ca6cd44 nvidia-drivers-1.0.8776-r1.ebuild 12809
-SHA256 435319c6b441d068eb028eee5aa415d805ed1ff034212f364c81e41f0377e0d5 nvidia-drivers-1.0.8776-r1.ebuild 12809
-EBUILD nvidia-drivers-1.0.9631-r1.ebuild 13029 RMD160 dc160496881eeda96bad883cbdf55227db329631 SHA1 e2eb56d9346c29184a2d5e62ed2eaf78fda1d70a SHA256 af2b53caecac800a8a05d5d0aa5fe15d8c1687572f41855805fa935f63610bbd
-MD5 c329d8cb7ae06e92a61e25bef6593185 nvidia-drivers-1.0.9631-r1.ebuild 13029
-RMD160 dc160496881eeda96bad883cbdf55227db329631 nvidia-drivers-1.0.9631-r1.ebuild 13029
-SHA256 af2b53caecac800a8a05d5d0aa5fe15d8c1687572f41855805fa935f63610bbd nvidia-drivers-1.0.9631-r1.ebuild 13029
-EBUILD nvidia-drivers-1.0.9639.ebuild 14571 RMD160 86ece803e4b90641f295a0d54cc31a5ca97fafcd SHA1 a5b8478dcb297255ba8081113151dfd930cfb9bd SHA256 aa3e4bcf861ec045103aaac434b693f5c7ea11c3689955b4b869feb4809751bd
-MD5 02b105e349605d1f194898769bdbaddf nvidia-drivers-1.0.9639.ebuild 14571
-RMD160 86ece803e4b90641f295a0d54cc31a5ca97fafcd nvidia-drivers-1.0.9639.ebuild 14571
-SHA256 aa3e4bcf861ec045103aaac434b693f5c7ea11c3689955b4b869feb4809751bd nvidia-drivers-1.0.9639.ebuild 14571
-EBUILD nvidia-drivers-1.0.9746-r1.ebuild 13189 RMD160 11cb21960177ec7cf404bf11a76556823d2ab306 SHA1 9079f5a0613c34c2064bfd361025154c3b11d15f SHA256 cf1f3b44c2c25433f8ff7bc51136e3ca2991666c939aecd953a8b5bee600dbc4
-MD5 75f5b23c04a8fce38657dda7b8b532a5 nvidia-drivers-1.0.9746-r1.ebuild 13189
-RMD160 11cb21960177ec7cf404bf11a76556823d2ab306 nvidia-drivers-1.0.9746-r1.ebuild 13189
-SHA256 cf1f3b44c2c25433f8ff7bc51136e3ca2991666c939aecd953a8b5bee600dbc4 nvidia-drivers-1.0.9746-r1.ebuild 13189
-EBUILD nvidia-drivers-1.0.9755-r1.ebuild 13189 RMD160 f9ade594b6d28819f898327f04bc124bb66ca122 SHA1 f45fc1d378c6df1843f82a3a2483234557ea4b79 SHA256 8ac779b6a273bfd11a7da3ee6c684a4feb4e0ba4bb4e5e6df8e92e26ef0df750
-MD5 a8fe217eecbc0cdd9e5f0a20eff91f45 nvidia-drivers-1.0.9755-r1.ebuild 13189
-RMD160 f9ade594b6d28819f898327f04bc124bb66ca122 nvidia-drivers-1.0.9755-r1.ebuild 13189
-SHA256 8ac779b6a273bfd11a7da3ee6c684a4feb4e0ba4bb4e5e6df8e92e26ef0df750 nvidia-drivers-1.0.9755-r1.ebuild 13189
-EBUILD nvidia-drivers-100.14.09.ebuild 14572 RMD160 70f9a4f3742a3f4cec112a71d1f0d9f52a53d14c SHA1 f38a33e79db907e90a513ce69391e5f7ce3f11f1 SHA256 0ee86f05b2f88a2df1b0f6fce4358f37f015caf1c343abd528373e1feb2ead4a
-MD5 4031bf2fb8dbe5a50d6985f7cd2f99d4 nvidia-drivers-100.14.09.ebuild 14572
-RMD160 70f9a4f3742a3f4cec112a71d1f0d9f52a53d14c nvidia-drivers-100.14.09.ebuild 14572
-SHA256 0ee86f05b2f88a2df1b0f6fce4358f37f015caf1c343abd528373e1feb2ead4a nvidia-drivers-100.14.09.ebuild 14572
-EBUILD nvidia-drivers-100.14.11.ebuild 14574 RMD160 a1283e92cfe0447680eb1d82b15e7a2070ec27b1 SHA1 7f31ea39c35fe18be5a19cea1b2d7a769cce9ebc SHA256 301cb9761ae8fc16d4aba68e70c264a1a2792b3e18050bbec539afa91692a9f2
-MD5 c8109a86311d3e46174b2a047aa6ac65 nvidia-drivers-100.14.11.ebuild 14574
-RMD160 a1283e92cfe0447680eb1d82b15e7a2070ec27b1 nvidia-drivers-100.14.11.ebuild 14574
-SHA256 301cb9761ae8fc16d4aba68e70c264a1a2792b3e18050bbec539afa91692a9f2 nvidia-drivers-100.14.11.ebuild 14574
-EBUILD nvidia-drivers-100.14.19.ebuild 14469 RMD160 8e9654b6f9b7ec117134fd7adac9acbecded394f SHA1 2594902aa6c1f93f18b4881e4398bab1926356a1 SHA256 04b65747e847d948f976362e703899c71403fa53577975c887e4955064021367
-MD5 c3f0cab8ce4ddae6bb424c4e482d44fc nvidia-drivers-100.14.19.ebuild 14469
-RMD160 8e9654b6f9b7ec117134fd7adac9acbecded394f nvidia-drivers-100.14.19.ebuild 14469
-SHA256 04b65747e847d948f976362e703899c71403fa53577975c887e4955064021367 nvidia-drivers-100.14.19.ebuild 14469
-MISC ChangeLog 13862 RMD160 8d3f89c0171ca70ea0202c57b1876c89e452e15c SHA1 8b610903debca03bddb33bed3e0975d5f5cc41f6 SHA256 d49649d1f7d01ce77fd7a535a490ce6c837c98b8dab0321f7bb7afdc03cd67a9
-MD5 8d3d6e392d406b037b3dca8b16a94992 ChangeLog 13862
-RMD160 8d3f89c0171ca70ea0202c57b1876c89e452e15c ChangeLog 13862
-SHA256 d49649d1f7d01ce77fd7a535a490ce6c837c98b8dab0321f7bb7afdc03cd67a9 ChangeLog 13862
+EBUILD nvidia-drivers-1.0.7185.ebuild 14220 RMD160 a9949569c2c1d714cb2c03ff43140cdda6a436d6 SHA1 cc3e402088d95c4ef953f68e0dd81ae79e9d4918 SHA256 b90c80e53aa5bd1d9a13d93ae7e93c9bf56940e19f4deb8d3fa7722a9c3586f1
+MD5 49c79d70ee68e7b4a11ea9961aa55f91 nvidia-drivers-1.0.7185.ebuild 14220
+RMD160 a9949569c2c1d714cb2c03ff43140cdda6a436d6 nvidia-drivers-1.0.7185.ebuild 14220
+SHA256 b90c80e53aa5bd1d9a13d93ae7e93c9bf56940e19f4deb8d3fa7722a9c3586f1 nvidia-drivers-1.0.7185.ebuild 14220
+EBUILD nvidia-drivers-1.0.9639.ebuild 14557 RMD160 aa04af028aab29fb5bb1412b697be2bf8526e47f SHA1 e555d56ad72a6ac755c8b0aff3b660d42ea3e8a2 SHA256 b98ea70a532a891c8193231115b02396ea7f9435963ca92727264181c53e8b10
+MD5 8cd5b697af806dcca5aa16fdc78fd608 nvidia-drivers-1.0.9639.ebuild 14557
+RMD160 aa04af028aab29fb5bb1412b697be2bf8526e47f nvidia-drivers-1.0.9639.ebuild 14557
+SHA256 b98ea70a532a891c8193231115b02396ea7f9435963ca92727264181c53e8b10 nvidia-drivers-1.0.9639.ebuild 14557
+EBUILD nvidia-drivers-100.14.09.ebuild 14558 RMD160 3a89e48aa7a2507aaa29b22eab2acb5db8fa9258 SHA1 e7ea6f10d66f661888822f44fc950f3d3194c9af SHA256 aa3d36c779ce1cedbbdbc0639dc7f3aeec294492a15471e672f2fe8b8e313524
+MD5 de8b893bb750c21beb26a44e95d3167f nvidia-drivers-100.14.09.ebuild 14558
+RMD160 3a89e48aa7a2507aaa29b22eab2acb5db8fa9258 nvidia-drivers-100.14.09.ebuild 14558
+SHA256 aa3d36c779ce1cedbbdbc0639dc7f3aeec294492a15471e672f2fe8b8e313524 nvidia-drivers-100.14.09.ebuild 14558
+EBUILD nvidia-drivers-100.14.11.ebuild 14561 RMD160 80558e03d23341ec5eae0f7229ad50e598c410e3 SHA1 74e043965d6960ece35d952b0628485b2428a2fa SHA256 7bacf1055c140b26da3cbc9404bdbc8276df07dbad12340538101d614d13f7d6
+MD5 beb8a15024e50211ddfca90e7fdf47d3 nvidia-drivers-100.14.11.ebuild 14561
+RMD160 80558e03d23341ec5eae0f7229ad50e598c410e3 nvidia-drivers-100.14.11.ebuild 14561
+SHA256 7bacf1055c140b26da3cbc9404bdbc8276df07dbad12340538101d614d13f7d6 nvidia-drivers-100.14.11.ebuild 14561
+EBUILD nvidia-drivers-100.14.19.ebuild 14458 RMD160 f554e44b9d3677267a5fb7ceba34047e9ed326b8 SHA1 68aa66bc7b281ed99fce32d29a4844bbbe90a133 SHA256 ea04772b380967733da367578368907c9f21286983fd864533ec5cb90f06519f
+MD5 a487cb26341f18715c76add6e45df943 nvidia-drivers-100.14.19.ebuild 14458
+RMD160 f554e44b9d3677267a5fb7ceba34047e9ed326b8 nvidia-drivers-100.14.19.ebuild 14458
+SHA256 ea04772b380967733da367578368907c9f21286983fd864533ec5cb90f06519f nvidia-drivers-100.14.19.ebuild 14458
+MISC ChangeLog 14593 RMD160 e9025f735f2e81e366b8fd957283572c34e7d47e SHA1 1602d895c8b077fd9bab8f6b4d195b68378dea04 SHA256 57785e2820cd949a56a9de3161eddbb755eea8db6cdc9bcc4b05ca0ea03da361
+MD5 028271d48a637b1589abcd3aee4575eb ChangeLog 14593
+RMD160 e9025f735f2e81e366b8fd957283572c34e7d47e ChangeLog 14593
+SHA256 57785e2820cd949a56a9de3161eddbb755eea8db6cdc9bcc4b05ca0ea03da361 ChangeLog 14593
MISC metadata.xml 302 RMD160 66c75d5895f747b8ce5af0f80b90af8fea1d07d7 SHA1 47dde751e4e0c833a65f32e106e594f449fe58a2 SHA256 0aa0f01ad14674164a2898387b83ded31b2b67a12757165debe6b03ee2fd692f
MD5 643cec14f7f1dda9a26f163853dbf080 metadata.xml 302
RMD160 66c75d5895f747b8ce5af0f80b90af8fea1d07d7 metadata.xml 302
@@ -110,21 +74,9 @@ SHA256 0aa0f01ad14674164a2898387b83ded31b2b67a12757165debe6b03ee2fd692f metadata
MD5 0e77ecc14b4df21f3bfc45dbe2c3e4d1 files/digest-nvidia-drivers-1.0.7185 867
RMD160 7992979b851831ae829b27ce3ab6f2caa1e73adb files/digest-nvidia-drivers-1.0.7185 867
SHA256 5cc33a43a4e8c244fafd30bffbc38638ad544ff11a817b8191dc3bd5e76b0ff3 files/digest-nvidia-drivers-1.0.7185 867
-MD5 352fa2d75a4a3f1244165817cdbf61d4 files/digest-nvidia-drivers-1.0.8776-r1 867
-RMD160 073fc276016fc837371f3c321bd76786bc68ca19 files/digest-nvidia-drivers-1.0.8776-r1 867
-SHA256 9a2c001f4a7d6b6461ae0ed151c958442f1bc15f7c4515f499d876a503d41f92 files/digest-nvidia-drivers-1.0.8776-r1 867
-MD5 328e751839d2097237954549876ad0fe files/digest-nvidia-drivers-1.0.9631-r1 790
-RMD160 9ec92550c7d4314b9dec83f392bd3b4ce8c45b24 files/digest-nvidia-drivers-1.0.9631-r1 790
-SHA256 bc807f3d5473faae571a0075d782368de071868f5086af3432f62e8167ee5a51 files/digest-nvidia-drivers-1.0.9631-r1 790
MD5 175d64f3601adc1c5c085a6164f6b828 files/digest-nvidia-drivers-1.0.9639 870
RMD160 5cb5af0663450b5fa3ede68291c936e4f8aadd1e files/digest-nvidia-drivers-1.0.9639 870
SHA256 ee9a11c805541adacb241ecacb91203c4fe65ec3e6690350c23022dc8832ee41 files/digest-nvidia-drivers-1.0.9639 870
-MD5 288c8bcf08292abe4f7ec43168890bf4 files/digest-nvidia-drivers-1.0.9746-r1 873
-RMD160 030aedf4c386fb0df0568fb35f62a36db9697901 files/digest-nvidia-drivers-1.0.9746-r1 873
-SHA256 7a5e7a36e96d0a168150703a0d7c9d5d6604a66046b50d9a81a34f3066bf0c2d files/digest-nvidia-drivers-1.0.9746-r1 873
-MD5 b5eee0015ba9c577cc726a3d2c12ae31 files/digest-nvidia-drivers-1.0.9755-r1 873
-RMD160 f8491760b7f68c1ab846c55517131773f14e0c83 files/digest-nvidia-drivers-1.0.9755-r1 873
-SHA256 8950b102eca59ec72c39db57778a0c47ea65f8bd29abe4c00307fd8bfd64afd3 files/digest-nvidia-drivers-1.0.9755-r1 873
MD5 f054c3105d058ea0a7bd7f356faf1818 files/digest-nvidia-drivers-100.14.09 876
RMD160 28a57f32ca5f73b5c023b2c50332ee756e1e8c44 files/digest-nvidia-drivers-100.14.09 876
SHA256 13ea9084dbdb0ac73f4af2aeec694349b7f68fa32f9e1e136ca25c1fc17afde0 files/digest-nvidia-drivers-100.14.09 876
@@ -135,9 +87,9 @@ MD5 b598db8e3f168552a2d604e122cc339d files/digest-nvidia-drivers-100.14.19 590
RMD160 17585c2bd42ab5b5da8176b2e6c12a34f9db9be7 files/digest-nvidia-drivers-100.14.19 590
SHA256 99d978072a4d49532840c64ae452a9f98d5952d80cea5f4e15ad16907d3515bb files/digest-nvidia-drivers-100.14.19 590
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.6 (GNU/Linux)
-iD8DBQFG8GQ6oeSe8B0zEfwRAihvAJ4sI0DbokayaQyrerEd8Rbxq4ufygCeJTzV
-DEeKEVu1ssYsRzIzehQ0mrs=
-=TWb1
+iD8DBQFG8tAmkT4lNIS36YERArWnAKC30mgsZmqGPH3hjNWozU9IYXyguACdFuCm
+08qD8590mcJAF1Xqs2Horac=
+=tn/H
-----END PGP SIGNATURE-----
diff --git a/x11-drivers/nvidia-drivers/files/NVIDIA_kernel-2.6.19.patch b/x11-drivers/nvidia-drivers/files/NVIDIA_kernel-2.6.19.patch
deleted file mode 100644
index 004cbd8ae224..000000000000
--- a/x11-drivers/nvidia-drivers/files/NVIDIA_kernel-2.6.19.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -Naur NVIDIA.orig/usr/src/nv/nv.c NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c
---- NVIDIA.orig/usr/src/nv/nv.c 2006-10-17 01:31:37.000000000 -0400
-+++ NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c 2006-11-29 21:58:20.000000000 -0500
-@@ -252,7 +252,7 @@
- long nv_kern_unlocked_ioctl(struct file *, unsigned int, unsigned long);
- long nv_kern_compat_ioctl(struct file *, unsigned int, unsigned long);
- void nv_kern_isr_bh(unsigned long);
--irqreturn_t nv_kern_isr(int, void *, struct pt_regs *);
-+irqreturn_t nv_kern_isr(int, void *);
- void nv_kern_rc_timer(unsigned long);
- #if defined(NV_PM_SUPPORT_OLD_STYLE_APM)
- static int nv_kern_apm_event(struct pm_dev *, pm_request_t, void *);
-@@ -2561,8 +2561,7 @@
- */
- irqreturn_t nv_kern_isr(
- int irq,
-- void *arg,
-- struct pt_regs *regs
-+ void *arg
- )
- {
- nv_linux_state_t *nvl = (void *) arg;
-diff -Naur NVIDIA.orig/usr/src/nv/nv-i2c.c NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv-i2c.c
---- NVIDIA.orig/usr/src/nv/nv-i2c.c 2006-10-17 01:31:37.000000000 -0400
-+++ NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv-i2c.c 2006-11-29 21:57:36.000000000 -0500
-@@ -23,8 +23,6 @@
- static struct i2c_algorithm nv_i2c_algo = {
- .master_xfer = nv_i2c_algo_xfer,
- .smbus_xfer = NULL,
-- .slave_send = NULL,
-- .slave_recv = NULL,
- .algo_control = nv_i2c_algo_control,
- .functionality = nv_i2c_algo_functionality,
- };
-diff -Naur NVIDIA.orig/usr/src/nv/nv-linux.h NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv-linux.h
---- NVIDIA.orig/usr/src/nv/nv-linux.h 2006-10-17 01:31:37.000000000 -0400
-+++ NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv-linux.h 2006-11-29 21:57:48.000000000 -0500
-@@ -14,7 +14,6 @@
-
- #include "nv.h"
-
--#include <linux/config.h>
- #include <linux/version.h>
- #include <linux/utsname.h>
diff --git a/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.8776-r1 b/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.8776-r1
deleted file mode 100644
index e42df39f7972..000000000000
--- a/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.8776-r1
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 6a8bb2e699a967b6b20dc24a96bf363d NVIDIA-FreeBSD-x86-1.0-8776.tar.gz 9448963
-RMD160 d646e511978ac77fddb6600eabdfc1ea32146e00 NVIDIA-FreeBSD-x86-1.0-8776.tar.gz 9448963
-SHA256 404f25862031d8f3036de33d2a0fafc3c54821a9a08832c1c1616c145d93baa5 NVIDIA-FreeBSD-x86-1.0-8776.tar.gz 9448963
-MD5 93ad45fe7b974a5a80348e1890f9b7c9 NVIDIA-Linux-x86-1.0-8776-pkg0.run 6479231
-RMD160 296dcc76c43fd65105f8d0c6f99295ee983b8872 NVIDIA-Linux-x86-1.0-8776-pkg0.run 6479231
-SHA256 0b25f9e407ea513cac8d600054d2dc28ca2e407caa535510210ad9fa5f45e8dc NVIDIA-Linux-x86-1.0-8776-pkg0.run 6479231
-MD5 9ff6453fd65a4fff758b36e34afa5141 NVIDIA-Linux-x86_64-1.0-8776-pkg2.run 9982646
-RMD160 5cba53392aa0fd27231d01883679e1a1dba7ee34 NVIDIA-Linux-x86_64-1.0-8776-pkg2.run 9982646
-SHA256 6fc8dedf782fdfe408dc0196531c301bb3bafac6878520537807118f3a2f9384 NVIDIA-Linux-x86_64-1.0-8776-pkg2.run 9982646
diff --git a/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9631-r1 b/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9631-r1
deleted file mode 100644
index c7692cc480b8..000000000000
--- a/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9631-r1
+++ /dev/null
@@ -1,8 +0,0 @@
-RMD160 2034f9086ad44ae222199e4949195dffc67274f1 NVIDIA-FreeBSD-x86-1.0-9631.tar.gz 9667093
-SHA256 2b467da57bc3bb8e2216ce3d02909cf077da045ebcf294474b784cb521a5d550 NVIDIA-FreeBSD-x86-1.0-9631.tar.gz 9667093
-MD5 b0d721c962c4df1a028ae18416d7e862 NVIDIA-Linux-x86-1.0-9631-pkg0.run 6581907
-RMD160 7fc0b394e0a9fbb772e43136528dbd3c2b7ac81e NVIDIA-Linux-x86-1.0-9631-pkg0.run 6581907
-SHA256 d1a54248d55f2aecab735e40ae060928670a766a98dd652b2245ebd68085ca5a NVIDIA-Linux-x86-1.0-9631-pkg0.run 6581907
-MD5 64b88c6f405e7f2dd1607c0062c0c1f3 NVIDIA-Linux-x86_64-1.0-9631-pkg2.run 10233636
-RMD160 5e9c501fbfad27686651f64705854552be6c3f0c NVIDIA-Linux-x86_64-1.0-9631-pkg2.run 10233636
-SHA256 009d6e4171fa18580264ce0ace92c1c68f0702f009837f1214d77b6948223375 NVIDIA-Linux-x86_64-1.0-9631-pkg2.run 10233636
diff --git a/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9746-r1 b/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9746-r1
deleted file mode 100644
index 418cf845d6ec..000000000000
--- a/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9746-r1
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 d6dd2fad4f6e05980c2fbb591b06fb99 NVIDIA-FreeBSD-x86-1.0-9746.tar.gz 11152524
-RMD160 8fe06d1a3af528c6fae9f94ff0e612d42e034ecd NVIDIA-FreeBSD-x86-1.0-9746.tar.gz 11152524
-SHA256 cf8be89d537423c0acc294e57cb659dae94463f6347f63c32b1de39c8051a5a7 NVIDIA-FreeBSD-x86-1.0-9746.tar.gz 11152524
-MD5 575f988468f2c34a302da3d21e282689 NVIDIA-Linux-x86-1.0-9746-pkg0.run 7733466
-RMD160 7968dba12e86ecf93470d2aa1442be0ca04c4bb0 NVIDIA-Linux-x86-1.0-9746-pkg0.run 7733466
-SHA256 11dd3fa562bb4695a65e69b45634b91d3fa6ab7181be5f0448afd3c7efce0756 NVIDIA-Linux-x86-1.0-9746-pkg0.run 7733466
-MD5 c0afc66e1c21a9a54ba6719b8edd3166 NVIDIA-Linux-x86_64-1.0-9746-pkg2.run 11743919
-RMD160 b3a050ea487e627cdf2e9ba8dab8a178be6d0bfc NVIDIA-Linux-x86_64-1.0-9746-pkg2.run 11743919
-SHA256 22f9f09a5ceca852c20f12690ac396738f26e150713b2e56cbb42e752454abf9 NVIDIA-Linux-x86_64-1.0-9746-pkg2.run 11743919
diff --git a/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9755-r1 b/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9755-r1
deleted file mode 100644
index 0d2023e23ed1..000000000000
--- a/x11-drivers/nvidia-drivers/files/digest-nvidia-drivers-1.0.9755-r1
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 24c26e0b17da7c8b2a7c82ce835adb61 NVIDIA-FreeBSD-x86-1.0-9755.tar.gz 11207740
-RMD160 4ed7a96a36cd53acbe3d8fa4443634589da82635 NVIDIA-FreeBSD-x86-1.0-9755.tar.gz 11207740
-SHA256 c064786952f7f06a91f487dd7f1b8be5531cb56d2a624f3774e7776410326544 NVIDIA-FreeBSD-x86-1.0-9755.tar.gz 11207740
-MD5 991e03ceaff94fa8113ac04a541ec576 NVIDIA-Linux-x86-1.0-9755-pkg0.run 7750628
-RMD160 4a044add72957bfabfaac4fd19550dd4809873ee NVIDIA-Linux-x86-1.0-9755-pkg0.run 7750628
-SHA256 5bba34a15101872d8ca339af3d4c97c83cb2a0ef81ff68a563517bc20bd29cb2 NVIDIA-Linux-x86-1.0-9755-pkg0.run 7750628
-MD5 88eb6b856ab201dc00663165e10109f9 NVIDIA-Linux-x86_64-1.0-9755-pkg2.run 11768823
-RMD160 dbc5f34410294de21cadcd17216c45000a0464a1 NVIDIA-Linux-x86_64-1.0-9755-pkg2.run 11768823
-SHA256 eaa467d3cde6fe61feb0cbe911316742e03e841d18a94c531caffa42457be785 NVIDIA-Linux-x86_64-1.0-9755-pkg2.run 11768823
diff --git a/x11-drivers/nvidia-drivers/files/nvidia b/x11-drivers/nvidia-drivers/files/nvidia
index f6cfdd49a15d..7cf0f7c0785c 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia
+++ b/x11-drivers/nvidia-drivers/files/nvidia
@@ -4,7 +4,7 @@ alias /dev/nvidiactl char-major-195
# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!! For more
-# options see /usr/share/doc/${PACKAGE}/README.gz
+# options see /usr/share/doc/PACKAGE/README
#
# To enable Side Band Adressing: NVreg_EnableAGPSBA=1
#
@@ -17,7 +17,7 @@ alias /dev/nvidiactl char-major-195
# if you have hard lockups when starting X.
#
# See: Appendix I. Configuring your laptop
-# In /usr/share/doc/${PACKAGE}/README.gz for full details
+# In /usr/share/doc/PACKAGE/README for full details
#
# Choose the appropriate value for NVreg_Mobile from the table:
# Value Meaning
@@ -30,3 +30,11 @@ alias /dev/nvidiactl char-major-195
# 5 Gateway laptops
#
#options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=3
+
+
+# !!! SECURITY WARNING !!!
+# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
+# WHAT YOU ARE DOING.
+# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
+# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
+options nvidia NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=VIDEOGID NVreg_ModifyDeviceFiles=1
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-2 b/x11-drivers/nvidia-drivers/files/nvidia-2
deleted file mode 100644
index e3583c6ce6f3..000000000000
--- a/x11-drivers/nvidia-drivers/files/nvidia-2
+++ /dev/null
@@ -1,40 +0,0 @@
-# Nvidia drivers support
-alias char-major-195 nvidia
-alias /dev/nvidiactl char-major-195
-
-# To tweak the driver the following options can be used, note that
-# you should be careful, as it could cause instability!! For more
-# options see /usr/share/doc/${PACKAGE}/README.gz
-#
-# To enable Side Band Adressing: NVreg_EnableAGPSBA=1
-#
-# To enable Fast Writes: NVreg_EnableAGPFW=1
-#
-# To enable both for instance, uncomment following line:
-#
-#options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
-# If you have a mobile chip, you may need to enable this option
-# if you have hard lockups when starting X.
-#
-# See: Appendix I. Configuring your laptop
-# In /usr/share/doc/${PACKAGE}/README.gz for full details
-#
-# Choose the appropriate value for NVreg_Mobile from the table:
-# Value Meaning
-# ---------- --------------------------------------------------
-# 0xFFFFFFFF let the kernel module autodetect the correct value
-# 1 Dell laptops
-# 2 non-Compal Toshiba laptops
-# 3 all other laptops
-# 4 Compal Toshiba laptops
-# 5 Gateway laptops
-#
-#options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=3
-
-
-# !!! SECURITY WARNING !!!
-# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
-# WHAT YOU ARE DOING.
-# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
-# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
-options nvidia NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=VIDEOGID NVreg_ModifyDeviceFiles=1
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.7185.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.7185.ebuild
index 1d816aca3516..ae364709ef31 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.7185.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.7185.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.7185.ebuild,v 1.6 2007/07/30 07:51:23 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.7185.ebuild,v 1.7 2007/09/20 19:55:12 wolf31o2 Exp $
inherit eutils multilib versionator linux-mod flag-o-matic nvidia-driver
@@ -226,11 +226,12 @@ src_install() {
fi
# Add the aliases
- [ -f "${FILESDIR}/nvidia-2" ] || die "nvidia-2 missing in FILESDIR"
- sed -e 's:\${PACKAGE}:'${PF}':g' \
- -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia-2 > "${WORKDIR}"/nvidia
+ [ -f "${FILESDIR}/nvidia" ] || die "nvidia missing in FILESDIR"
+ sed -e 's:PACKAGE:'${PF}':g' \
+ -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia > \
+ "${WORKDIR}"/nvidia
insinto /etc/modules.d
- newins "${WORKDIR}"/nvidia nvidia || die
+ doins "${WORKDIR}"/nvidia || die
else
insinto /boot/modules
doins "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.kld" || die
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.8776-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.8776-r1.ebuild
deleted file mode 100644
index 4a8acef5c010..000000000000
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.8776-r1.ebuild
+++ /dev/null
@@ -1,444 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.8776-r1.ebuild,v 1.7 2007/07/30 07:51:23 dberkholz Exp $
-
-inherit eutils multilib versionator linux-mod
-
-NV_V="${PV/1.0./1.0-}"
-X86_NV_PACKAGE="NVIDIA-Linux-x86-${NV_V}"
-AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${NV_V}"
-X86_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86-${NV_V}"
-
-DESCRIPTION="NVIDIA X11 driver and GLX libraries"
-HOMEPAGE="http://www.nvidia.com/"
-SRC_URI="x86? ( ftp://download.nvidia.com/XFree86/Linux-x86/${NV_V}/${X86_NV_PACKAGE}-pkg0.run )
- amd64? ( http://download.nvidia.com/XFree86/Linux-x86_64/${NV_V}/${AMD64_NV_PACKAGE}-pkg2.run )
- x86-fbsd? ( http://download.nvidia.com/freebsd/${NV_V}/${X86_FBSD_NV_PACKAGE}.tar.gz )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="-* amd64 x86 ~x86-fbsd"
-IUSE=""
-RESTRICT="strip"
-EMULTILIB_PKG="true"
-
-DEPEND="kernel_linux? ( virtual/linux-sources )
- app-admin/eselect-opengl"
-RDEPEND="kernel_linux? ( virtual/modutils )
- x11-base/xorg-server
- media-libs/mesa
- kernel_FreeBSD? ( !media-video/nvidia-freebsd )
- !app-emulation/emul-linux-x86-nvidia
- !x11-drivers/nvidia-legacy-drivers"
-
-QA_TEXTRELS_x86="usr/lib/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib/libXvMCNVIDIA.so.${PV}
- usr/lib/xorg/modules/drivers/nvidia_drv.so
- usr/lib/opengl/nvidia/extensions/libglx.so"
-
-QA_WX_LOAD_x86="usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/extensions/libglx.so"
-
-QA_TEXTRELS_amd64="usr/lib64/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib64/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib64/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib64/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib64/libXvMCNVIDIA.so.${PV}
- usr/lib64/xorg/modules/drivers/nvidia_drv.so
- usr/lib64/opengl/nvidia/extensions/libglx.so
- usr/lib32/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib32/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib32/libXvMCNVIDIA.so.${PV}
- usr/lib32/xorg/modules/drivers/nvidia_drv.so
- usr/lib32/opengl/nvidia/extensions/libglx.so"
-
-QA_WX_LOAD_amd64="usr/lib64/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib64/opengl/nvidia/extensions/libglx.so
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/extensions/libglx.so"
-
-export _POSIX2_VERSION="199209"
-
-if use x86; then
- PKG_V="-pkg0"
- NV_PACKAGE="${X86_NV_PACKAGE}"
-elif use amd64; then
- PKG_V="-pkg2"
- NV_PACKAGE="${AMD64_NV_PACKAGE}"
-elif use x86-fbsd; then
- PKG_V=""
- NV_PACKAGE="${X86_FBSD_NV_PACKAGE}"
-fi
-
-S="${WORKDIR}/${NV_PACKAGE}${PKG_V}/usr/src/nv"
-
-# On BSD userland it wants real make command
-MAKE="make"
-
-mtrr_check() {
- ebegin "Checking for MTRR support"
- linux_chkconfig_present MTRR
- eend $?
-
- if [[ $? -ne 0 ]] ; then
- eerror "This version needs MTRR support for most chipsets!"
- eerror "Please enable MTRR support in your kernel config, found at:"
- eerror
- eerror " Processor type and features"
- eerror " [*] MTRR (Memory Type Range Register) support"
- eerror
- eerror "and recompile your kernel ..."
- die "MTRR support not detected!"
- fi
-}
-
-pkg_setup() {
- if use amd64 && has_multilib_profile && [ "${DEFAULT_ABI}" != "amd64" ]; then
- eerror "This ebuild doesn't currently support changing your default abi."
- die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}"
- fi
-
- if ! use x86-fbsd; then
- linux-mod_pkg_setup
- MODULE_NAMES="nvidia(video:${S})"
- BUILD_PARAMS="IGNORE_CC_MISMATCH=yes V=1 SYSSRC=${KV_DIR} SYSOUT=${KV_OUT_DIR}"
- mtrr_check
- fi
-}
-
-src_unpack() {
- local NV_PATCH_PREFIX="${FILESDIR}/${PV}/NVIDIA-${PV}"
-
- if ! use x86-fbsd; then
- if [[ ${KV_MINOR} -eq 6 && ${KV_PATCH} -lt 7 ]] ; then
- echo
- ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
- ewarn "This is not officially supported for ${P}. It is likely you"
- ewarn "will not be able to compile or use the kernel module."
- ewarn "It is recommended that you upgrade your kernel to a version >= 2.6.7"
- echo
- ewarn "DO NOT file bug reports for kernel versions less than 2.6.7 as they will be ignored."
- fi
- fi
-
- if ! use x86-fbsd; then
- cd ${WORKDIR}
- bash ${DISTDIR}/${NV_PACKAGE}${PKG_V}.run --extract-only
- else
- unpack ${A}
- fi
-
- # Patches go below here, add breif description
- use x86-fbsd \
- && cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}/doc" \
- || cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}"
- # Use the correct defines to make gtkglext build work
- epatch ${FILESDIR}/NVIDIA_glx-defines.patch
- # Use some more sensible gl headers and make way for new glext.h
- epatch ${FILESDIR}/NVIDIA_glx-glheader.patch
-
- if ! use x86-fbsd; then
- # Zander kernel patches
- # None yet.
-
- # Quiet down warnings the user do not need to see
- sed -i \
- -e 's:-Wpointer-arith::g' \
- -e 's:-Wsign-compare::g' \
- ${S}/Makefile.kbuild
-
- # If you set this then it's your own fault when stuff breaks :)
- [[ -n ${USE_CRAZY_OPTS} ]] && sed -i "s:-O:${CFLAGS}:" Makefile.*
-
- # If greater than 2.6.5 use M= instead of SUBDIR=
- cd ${S}; convert_to_m Makefile.kbuild
-
- # Patch the Makefile to not warn about nvidia-installer
-# epatch ${FILESDIR}/NVIDIA_glx-makefile.patch
-
- # Patch for kernel 2.6.19 from Daniel Drake <dsd@gentoo.org>
- epatch ${FILESDIR}/NVIDIA_kernel-2.6.19.patch
- fi
-}
-
-src_compile() {
- # This is already the default on Linux, as there's no toplevel Makefile, but
- # on FreeBSD there's one and triggers the kernel module build, as we install
- # it by itself, pass this.
- if use x86-fbsd; then
- cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}/src"
- MAKE="$(get_bmake)" emake CC="$(tc-getCC)" LD="$(tc-getLD)"
- else
- linux-mod_src_compile
- fi
-}
-
-src_install() {
- local MLTEST=$(type dyn_unpack)
-
- cd ${WORKDIR}/${NV_PACKAGE}${PKG_V}
-
- if ! use x86-fbsd; then
- linux-mod_src_install
-
- # Add the aliases
- sed -e 's:\${PACKAGE}:'${PF}':g' ${FILESDIR}/nvidia > ${WORKDIR}/nvidia
- insinto /etc/modules.d
- newins ${WORKDIR}/nvidia nvidia
- else
- insinto /boot/modules
- doins "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.kld"
-
- exeinto /boot/modules
- doexe "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.ko"
- fi
-
- if [[ "${MLTEST/set_abi}" == "${MLTEST}" ]] && has_multilib_profile ; then
- local OABI=${ABI}
- for ABI in $(get_install_abis) ; do
- src_install-libs
- done
- ABI=${OABI}
- unset OABI
- elif use amd64 ; then
- src_install-libs lib32 $(get_multilibdir)
- src_install-libs lib $(get_libdir)
-
- rm -rf ${D}/usr/$(get_multilibdir)/opengl/nvidia/include
- rm -rf ${D}/usr/$(get_multilibdir)/opengl/nvidia/extensions
- else
- src_install-libs
- fi
-
- is_final_abi || return 0
-
- if ! use x86-fbsd; then
- # Docs, remove nvidia-settings as provided by media-video/nvidia-settings
- newdoc usr/share/doc/README.txt README
- dodoc usr/share/doc/Copyrights usr/share/doc/NVIDIA_Changelog
- dodoc usr/share/doc/XF86Config.sample
- dohtml usr/share/doc/html/*
- else
- dodoc doc/README doc/README.Linux doc/XF86Config.sample
- fi
-
- # nVidia want bug reports using this script
- exeinto /usr/bin
- doexe usr/bin/nvidia-bug-report.sh
-}
-
-# Install nvidia library:
-# the first parameter is the place where to install it
-# the second paramis the base name of the library
-# the third parameter is the provided soversion
-donvidia() {
- dodir $1
- exeinto $1
-
- libname=$(basename $2)
-
- doexe $2.$3
- dosym ${libname}.$3 $1/${libname}
-
- [[ $3 != "1" ]] && dosym ${libname}.$3 $1/${libname}.1
-}
-
-src_install-libs() {
- local pkglibdir=lib
- local inslibdir=$(get_libdir)
-
- if [[ ${#} -eq 2 ]] ; then
- pkglibdir=${1}
- inslibdir=${2}
- elif has_multilib_profile && [[ ${ABI} == "x86" ]] ; then
- pkglibdir=lib32
- fi
-
- local usrpkglibdir=usr/${pkglibdir}
- local libdir=usr/X11R6/${pkglibdir}
- local drvdir=${libdir}/modules/drivers
- local extdir=${libdir}/modules/extensions
- local incdir=usr/include/GL
- local sover=${PV}
- local NV_ROOT="/usr/${inslibdir}/opengl/nvidia"
- local NO_TLS_ROOT="${NV_ROOT}/no-tls"
- local TLS_ROOT="${NV_ROOT}/tls"
- local X11_LIB_DIR="/usr/${inslibdir}/xorg"
-
- if ! has_version x11-base/xorg-server ; then
- X11_LIB_DIR="/usr/${inslibdir}"
- fi
-
- if use x86-fbsd; then
- # on FreeBSD everything is on obj/
- pkglibdir=obj
- usrpkglibdir=obj
- x11pkglibdir=obj
- drvdir=obj
- extdir=obj
-
- # don't ask me why the headers are there.. glxext.h is missing
- incdir=doc
-
- # on FreeBSD it has just .1 suffix
- sover=1
- fi
-
- # The GLX libraries
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libGL.so ${sover}
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libGLcore.so ${sover}
-
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libnvidia-cfg.so ${sover}
-
- dodir ${NO_TLS_ROOT}
- donvidia ${NO_TLS_ROOT} ${usrpkglibdir}/libnvidia-tls.so ${sover}
-
- if ! use x86-fbsd; then
- donvidia ${TLS_ROOT} ${usrpkglibdir}/tls/libnvidia-tls.so ${sover}
- fi
-
- if want_tls ; then
- dosym ../tls/libnvidia-tls.so ${NV_ROOT}/lib
- dosym ../tls/libnvidia-tls.so.1 ${NV_ROOT}/lib
- dosym ../tls/libnvidia-tls.so.${sover} ${NV_ROOT}/lib
- else
- dosym ../no-tls/libnvidia-tls.so ${NV_ROOT}/lib
- dosym ../no-tls/libnvidia-tls.so.1 ${NV_ROOT}/lib
- dosym ../no-tls/libnvidia-tls.so.${sover} ${NV_ROOT}/lib
- fi
-
- if ! use x86-fbsd; then
- # Not sure whether installing the .la file is neccessary;
- # this is adopted from the `nvidia' ebuild
- local ver1=$(get_version_component_range 1)
- local ver2=$(get_version_component_range 2)
- local ver3=$(get_version_component_range 3)
- sed -e "s:\${PV}:${PV}:" \
- -e "s:\${ver1}:${ver1}:" \
- -e "s:\${ver2}:${ver2}:" \
- -e "s:\${ver3}:${ver3}:" \
- -e "s:\${libdir}:${inslibdir}:" \
- ${FILESDIR}/libGL.la-r2 > ${D}/${NV_ROOT}/lib/libGL.la
- fi
-
- exeinto ${X11_LIB_DIR}/modules/drivers
-
- [[ -f ${drvdir}/nvidia_drv.so ]] && \
- doexe ${drvdir}/nvidia_drv.so
-
- insinto /usr/${inslibdir}
- [[ -f ${libdir}/libXvMCNVIDIA.a ]] && \
- doins ${libdir}/libXvMCNVIDIA.a
- exeinto /usr/${inslibdir}
- # fix Bug 131315
- [[ -f ${libdir}/libXvMCNVIDIA.so.${PV} ]] && \
- doexe ${libdir}/libXvMCNVIDIA.so.${PV} && \
- dosym libXvMCNVIDIA.so.${PV} \
- /usr/${inslibdir}/libXvMCNVIDIA.so
-
- exeinto ${NV_ROOT}/extensions
- [[ -f ${extdir}/libglx.so.${sover} ]] && \
- newexe ${extdir}/libglx.so.${sover} libglx.so
-
- # Includes
- insinto ${NV_ROOT}/include
- doins ${incdir}/*.h
-}
-
-pkg_preinst() {
- # Can we make up our minds ?!?!?
- local NV_D=${D}
-
- if ! has_version x11-base/xorg-server ; then
- for dir in lib lib32 lib64 ; do
- if [[ -d ${NV_D}/usr/${dir}/xorg ]] ; then
- mv ${NV_D}/usr/${dir}/xorg/* ${NV_D}/usr/${dir}
- rmdir ${NV_D}/usr/${dir}/xorg
- fi
- done
- fi
-
- # Clean the dinamic libGL stuff's home to ensure
- # we dont have stale libs floating around
- if [[ -d ${ROOT}/usr/lib/opengl/nvidia ]] ; then
- rm -rf ${ROOT}/usr/lib/opengl/nvidia/*
- fi
- # Make sure we nuke the old nvidia-glx's env.d file
- if [[ -e ${ROOT}/etc/env.d/09nvidia ]] ; then
- rm -f ${ROOT}/etc/env.d/09nvidia
- fi
-}
-
-pkg_postinst() {
- if ! use x86-fbsd; then
- linux-mod_pkg_postinst
- fi
-
- #switch to the nvidia implementation
- eselect opengl set --use-old nvidia
-
- echo
- elog "To use the Nvidia GLX, run \"eselect opengl set nvidia\""
- echo
- elog "You may also be interested in media-video/nvidia-settings"
- echo
- elog "nVidia has requested that any bug reports submitted have the"
- elog "output of /usr/bin/nvidia-bug-report.sh included."
- echo
- elog "If you are having resolution problems, try disabling DynamicTwinView."
- echo
-}
-
-want_tls() {
- # For uclibc or anything non glibc, return false
- has_version sys-libs/glibc || return 1
-
- # Old versions of glibc were lt/no-tls only
- has_version '<sys-libs/glibc-2.3.2' && return 1
-
- local valid_chost="true"
- if use x86 ; then
- case ${CHOST/-*} in
- i486|i586|i686) ;;
- *) valid_chost="false"
- esac
- fi
-
- [[ ${valid_chost} == "false" ]] && return 1
-
- # If we've got nptl, we've got tls
- built_with_use --missing true sys-libs/glibc nptl && return 0
-
- # 2.3.5 turned off tls for linuxthreads glibc on i486 and i586
- if use x86 && has_version '>=sys-libs/glibc-2.3.5' ; then
- case ${CHOST/-*} in
- i486|i586) return 1 ;;
- esac
- fi
-
- # These versions built linuxthreads version to support tls, too
- has_version '>=sys-libs/glibc-2.3.4.20040619-r2' && return 0
-
- return 1
-}
-
-pkg_postrm() {
- if ! use x86-fbsd; then
- linux-mod_pkg_postrm
- fi
- eselect opengl set --use-old xorg-x11
-}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9631-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9631-r1.ebuild
deleted file mode 100644
index 09de148f241f..000000000000
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9631-r1.ebuild
+++ /dev/null
@@ -1,445 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9631-r1.ebuild,v 1.6 2007/07/30 07:51:23 dberkholz Exp $
-
-inherit eutils multilib versionator linux-mod flag-o-matic
-
-NV_V="${PV/1.0./1.0-}"
-X86_NV_PACKAGE="NVIDIA-Linux-x86-${NV_V}"
-AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${NV_V}"
-X86_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86-${NV_V}"
-
-DESCRIPTION="NVIDIA X11 driver and GLX libraries"
-HOMEPAGE="http://www.nvidia.com/"
-SRC_URI="x86? ( http://us.download.nvidia.com/XFree86/Linux-x86/${NV_V}/${X86_NV_PACKAGE}-pkg0.run )
- amd64? ( http://us.download.nvidia.com/XFree86/Linux-x86_64/${NV_V}/${AMD64_NV_PACKAGE}-pkg2.run )
- x86-fbsd? ( http://us.download.nvidia.com/freebsd/${NV_V}/${X86_FBSD_NV_PACKAGE}.tar.gz )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
-IUSE=""
-RESTRICT="strip"
-EMULTILIB_PKG="true"
-
-DEPEND="kernel_linux? ( virtual/linux-sources )
- app-admin/eselect-opengl"
-RDEPEND="kernel_linux? ( virtual/modutils )
- x11-base/xorg-server
- media-libs/mesa
- kernel_FreeBSD? ( !media-video/nvidia-freebsd )
- !app-emulation/emul-linux-x86-nvidia
- !x11-drivers/nvidia-legacy-drivers"
-
-QA_TEXTRELS_x86="usr/lib/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib/libXvMCNVIDIA.so.${PV}
- usr/lib/xorg/modules/drivers/nvidia_drv.so
- usr/lib/opengl/nvidia/extensions/libglx.so"
-
-QA_TEXTRELS_x86_fbsd="boot/modules/nvidia.ko
- usr/lib/opengl/nvidia/lib/libGL.so.1
- usr/lib/opengl/nvidia/lib/libGLcore.so.1
- usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.1
- usr/lib/opengl/nvidia/extensions/libglx.so
- usr/lib/xorg/modules/drivers/nvidia_drv.so"
-
-QA_WX_LOAD_x86="usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/extensions/libglx.so"
-
-QA_TEXTRELS_amd64="usr/lib64/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib64/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib64/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib64/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib64/libXvMCNVIDIA.so.${PV}
- usr/lib64/xorg/modules/drivers/nvidia_drv.so
- usr/lib64/opengl/nvidia/extensions/libglx.so
- usr/lib32/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib32/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib32/libXvMCNVIDIA.so.${PV}
- usr/lib32/xorg/modules/drivers/nvidia_drv.so
- usr/lib32/opengl/nvidia/extensions/libglx.so"
-
-QA_WX_LOAD_amd64="usr/lib64/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib64/opengl/nvidia/extensions/libglx.so
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/extensions/libglx.so"
-
-export _POSIX2_VERSION="199209"
-
-if use x86; then
- PKG_V="-pkg0"
- NV_PACKAGE="${X86_NV_PACKAGE}"
-elif use amd64; then
- PKG_V="-pkg2"
- NV_PACKAGE="${AMD64_NV_PACKAGE}"
-elif use x86-fbsd; then
- PKG_V=""
- NV_PACKAGE="${X86_FBSD_NV_PACKAGE}"
-fi
-
-S="${WORKDIR}/${NV_PACKAGE}${PKG_V}/usr/src/nv"
-
-# On BSD userland it wants real make command
-MAKE="make"
-
-mtrr_check() {
- ebegin "Checking for MTRR support"
- linux_chkconfig_present MTRR
- eend $?
-
- if [[ $? -ne 0 ]] ; then
- eerror "This version needs MTRR support for most chipsets!"
- eerror "Please enable MTRR support in your kernel config, found at:"
- eerror
- eerror " Processor type and features"
- eerror " [*] MTRR (Memory Type Range Register) support"
- eerror
- eerror "and recompile your kernel ..."
- die "MTRR support not detected!"
- fi
-}
-
-pkg_setup() {
- if use amd64 && has_multilib_profile && [ "${DEFAULT_ABI}" != "amd64" ]; then
- eerror "This ebuild doesn't currently support changing your default abi."
- die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}"
- fi
-
- if ! use x86-fbsd; then
- linux-mod_pkg_setup
- MODULE_NAMES="nvidia(video:${S})"
- BUILD_PARAMS="IGNORE_CC_MISMATCH=yes V=1 SYSSRC=${KV_DIR} SYSOUT=${KV_OUT_DIR}"
- mtrr_check
- fi
-}
-
-src_unpack() {
- local NV_PATCH_PREFIX="${FILESDIR}/${PV}/NVIDIA-${PV}"
-
- if ! use x86-fbsd; then
- if [[ ${KV_MINOR} -eq 6 && ${KV_PATCH} -lt 7 ]] ; then
- echo
- ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
- ewarn "This is not officially supported for ${P}. It is likely you"
- ewarn "will not be able to compile or use the kernel module."
- ewarn "It is recommended that you upgrade your kernel to a version >= 2.6.7"
- echo
- ewarn "DO NOT file bug reports for kernel versions less than 2.6.7 as they will be ignored."
- fi
- fi
-
- if ! use x86-fbsd; then
- cd ${WORKDIR}
- bash ${DISTDIR}/${NV_PACKAGE}${PKG_V}.run --extract-only
- else
- unpack ${A}
- fi
-
- # Patches go below here, add breif description
- use x86-fbsd \
- && cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}/doc" \
- || cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}"
- # Use the correct defines to make gtkglext build work
- epatch ${FILESDIR}/NVIDIA_glx-defines.patch
- # Use some more sensible gl headers and make way for new glext.h
- epatch ${FILESDIR}/NVIDIA_glx-glheader.patch
-
- if ! use x86-fbsd; then
- # Quiet down warnings the user do not need to see
- sed -i \
- -e 's:-Wpointer-arith::g' \
- -e 's:-Wsign-compare::g' \
- ${S}/Makefile.kbuild
-
- # If you set this then it's your own fault when stuff breaks :)
- [[ -n ${USE_CRAZY_OPTS} ]] && sed -i "s:-O:${CFLAGS}:" Makefile.*
-
- # If greater than 2.6.5 use M= instead of SUBDIR=
- cd ${S}; convert_to_m Makefile.kbuild
- fi
-}
-
-src_compile() {
- # This is already the default on Linux, as there's no toplevel Makefile, but
- # on FreeBSD there's one and triggers the kernel module build, as we install
- # it by itself, pass this.
- if use x86-fbsd; then
- cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}/src"
- echo LDFLAGS="$(raw-ldflags)"
- MAKE="$(get_bmake)" emake CC="$(tc-getCC)" LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die
- else
- linux-mod_src_compile
- fi
-}
-
-src_install() {
- local MLTEST=$(type dyn_unpack)
-
- cd ${WORKDIR}/${NV_PACKAGE}${PKG_V}
-
- if ! use x86-fbsd; then
- linux-mod_src_install
-
- # Add the aliases
- sed -e 's:\${PACKAGE}:'${PF}':g' ${FILESDIR}/nvidia > ${WORKDIR}/nvidia
- insinto /etc/modules.d
- newins ${WORKDIR}/nvidia nvidia
- else
- insinto /boot/modules
- doins "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.kld"
-
- exeinto /boot/modules
- doexe "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.ko"
- fi
-
- if [[ "${MLTEST/set_abi}" == "${MLTEST}" ]] && has_multilib_profile ; then
- local OABI=${ABI}
- for ABI in $(get_install_abis) ; do
- src_install-libs
- done
- ABI=${OABI}
- unset OABI
- elif use amd64 ; then
- src_install-libs lib32 $(get_multilibdir)
- src_install-libs lib $(get_libdir)
-
- rm -rf ${D}/usr/$(get_multilibdir)/opengl/nvidia/include
- rm -rf ${D}/usr/$(get_multilibdir)/opengl/nvidia/extensions
- else
- src_install-libs
- fi
-
- is_final_abi || return 0
-
- if ! use x86-fbsd; then
- # Docs, remove nvidia-settings as provided by media-video/nvidia-settings
- newdoc usr/share/doc/README.txt README
- dodoc usr/share/doc/Copyrights usr/share/doc/NVIDIA_Changelog
- dodoc usr/share/doc/XF86Config.sample
- dohtml usr/share/doc/html/*
- # nVidia want bug reports using this script
- dobin usr/bin/nvidia-bug-report.sh
- else
- dodoc doc/{README,XF86Config.sample,Copyrights}
- dohtml doc/html/*
- fi
-}
-
-# Install nvidia library:
-# the first parameter is the place where to install it
-# the second paramis the base name of the library
-# the third parameter is the provided soversion
-donvidia() {
- dodir $1
- exeinto $1
-
- libname=$(basename $2)
-
- doexe $2.$3
- dosym ${libname}.$3 $1/${libname}
-
- [[ $3 != "1" ]] && dosym ${libname}.$3 $1/${libname}.1
-}
-
-src_install-libs() {
- local pkglibdir=lib
- local inslibdir=$(get_libdir)
-
- if [[ ${#} -eq 2 ]] ; then
- pkglibdir=${1}
- inslibdir=${2}
- elif has_multilib_profile && [[ ${ABI} == "x86" ]] ; then
- pkglibdir=lib32
- fi
-
- local usrpkglibdir=usr/${pkglibdir}
- local libdir=usr/X11R6/${pkglibdir}
- local drvdir=${libdir}/modules/drivers
- local extdir=${libdir}/modules/extensions
- local incdir=usr/include/GL
- local sover=${PV}
- local NV_ROOT="/usr/${inslibdir}/opengl/nvidia"
- local NO_TLS_ROOT="${NV_ROOT}/no-tls"
- local TLS_ROOT="${NV_ROOT}/tls"
- local X11_LIB_DIR="/usr/${inslibdir}/xorg"
-
- if ! has_version x11-base/xorg-server ; then
- X11_LIB_DIR="/usr/${inslibdir}"
- fi
-
- if use x86-fbsd; then
- # on FreeBSD everything is on obj/
- pkglibdir=obj
- usrpkglibdir=obj
- x11pkglibdir=obj
- drvdir=obj
- extdir=obj
-
- # don't ask me why the headers are there.. glxext.h is missing
- incdir=doc
-
- # on FreeBSD it has just .1 suffix
- sover=1
- fi
-
- # The GLX libraries
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libGL.so ${sover}
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libGLcore.so ${sover}
-
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libnvidia-cfg.so ${sover}
-
- dodir ${NO_TLS_ROOT}
- donvidia ${NO_TLS_ROOT} ${usrpkglibdir}/libnvidia-tls.so ${sover}
-
- if ! use x86-fbsd; then
- donvidia ${TLS_ROOT} ${usrpkglibdir}/tls/libnvidia-tls.so ${sover}
- fi
-
- if want_tls ; then
- dosym ../tls/libnvidia-tls.so ${NV_ROOT}/lib
- dosym ../tls/libnvidia-tls.so.1 ${NV_ROOT}/lib
- dosym ../tls/libnvidia-tls.so.${sover} ${NV_ROOT}/lib
- else
- dosym ../no-tls/libnvidia-tls.so ${NV_ROOT}/lib
- dosym ../no-tls/libnvidia-tls.so.1 ${NV_ROOT}/lib
- dosym ../no-tls/libnvidia-tls.so.${sover} ${NV_ROOT}/lib
- fi
-
- if ! use x86-fbsd; then
- # Not sure whether installing the .la file is neccessary;
- # this is adopted from the `nvidia' ebuild
- local ver1=$(get_version_component_range 1)
- local ver2=$(get_version_component_range 2)
- local ver3=$(get_version_component_range 3)
- sed -e "s:\${PV}:${PV}:" \
- -e "s:\${ver1}:${ver1}:" \
- -e "s:\${ver2}:${ver2}:" \
- -e "s:\${ver3}:${ver3}:" \
- -e "s:\${libdir}:${inslibdir}:" \
- ${FILESDIR}/libGL.la-r2 > ${D}/${NV_ROOT}/lib/libGL.la
- fi
-
- exeinto ${X11_LIB_DIR}/modules/drivers
-
- [[ -f ${drvdir}/nvidia_drv.so ]] && \
- doexe ${drvdir}/nvidia_drv.so
-
- insinto /usr/${inslibdir}
- [[ -f ${libdir}/libXvMCNVIDIA.a ]] && \
- doins ${libdir}/libXvMCNVIDIA.a
- exeinto /usr/${inslibdir}
- # fix Bug 131315
- [[ -f ${libdir}/libXvMCNVIDIA.so.${PV} ]] && \
- doexe ${libdir}/libXvMCNVIDIA.so.${PV} && \
- dosym libXvMCNVIDIA.so.${PV} \
- /usr/${inslibdir}/libXvMCNVIDIA.so
-
- exeinto ${NV_ROOT}/extensions
- [[ -f ${extdir}/libglx.so.${sover} ]] && \
- newexe ${extdir}/libglx.so.${sover} libglx.so
-
- # Includes
- insinto ${NV_ROOT}/include
- doins ${incdir}/*.h
-}
-
-pkg_preinst() {
- # Can we make up our minds ?!?!?
- local NV_D=${D}
-
- if ! has_version x11-base/xorg-server ; then
- for dir in lib lib32 lib64 ; do
- if [[ -d ${NV_D}/usr/${dir}/xorg ]] ; then
- mv ${NV_D}/usr/${dir}/xorg/* ${NV_D}/usr/${dir}
- rmdir ${NV_D}/usr/${dir}/xorg
- fi
- done
- fi
-
- # Clean the dinamic libGL stuff's home to ensure
- # we dont have stale libs floating around
- if [[ -d ${ROOT}/usr/lib/opengl/nvidia ]] ; then
- rm -rf ${ROOT}/usr/lib/opengl/nvidia/*
- fi
- # Make sure we nuke the old nvidia-glx's env.d file
- if [[ -e ${ROOT}/etc/env.d/09nvidia ]] ; then
- rm -f ${ROOT}/etc/env.d/09nvidia
- fi
-}
-
-pkg_postinst() {
- if ! use x86-fbsd; then
- linux-mod_pkg_postinst
- fi
-
- #switch to the nvidia implementation
- eselect opengl set --use-old nvidia
-
- echo
- elog "To use the Nvidia GLX, run \"eselect opengl set nvidia\""
- echo
- einfo "You may also be interested in media-video/nvidia-settings"
- echo
- elog "nVidia has requested that any bug reports submitted have the"
- elog "output of /usr/bin/nvidia-bug-report.sh included."
- echo
- elog "To work with compiz, you must enable the AddARGBGLXVisuals option."
- echo
- elog "If you are having resolution problems, try disabling DynamicTwinView."
- echo
-}
-
-want_tls() {
- # For uclibc or anything non glibc, return false
- has_version sys-libs/glibc || return 1
-
- # Old versions of glibc were lt/no-tls only
- has_version '<sys-libs/glibc-2.3.2' && return 1
-
- local valid_chost="true"
- if use x86 ; then
- case ${CHOST/-*} in
- i486|i586|i686) ;;
- *) valid_chost="false"
- esac
- fi
-
- [[ ${valid_chost} == "false" ]] && return 1
-
- # If we've got nptl, we've got tls
- built_with_use --missing true sys-libs/glibc nptl && return 0
-
- # 2.3.5 turned off tls for linuxthreads glibc on i486 and i586
- if use x86 && has_version '>=sys-libs/glibc-2.3.5' ; then
- case ${CHOST/-*} in
- i486|i586) return 1 ;;
- esac
- fi
-
- # These versions built linuxthreads version to support tls, too
- has_version '>=sys-libs/glibc-2.3.4.20040619-r2' && return 0
-
- return 1
-}
-
-pkg_postrm() {
- if ! use x86-fbsd; then
- linux-mod_pkg_postrm
- fi
- eselect opengl set --use-old xorg-x11
-}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9639.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9639.ebuild
index 58fdb7271806..76644a0b2563 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9639.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9639.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9639.ebuild,v 1.5 2007/07/30 07:51:23 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9639.ebuild,v 1.6 2007/09/20 19:55:12 wolf31o2 Exp $
inherit eutils multilib versionator linux-mod flag-o-matic nvidia-driver
@@ -228,11 +228,12 @@ src_install() {
fi
# Add the aliases
- [ -f "${FILESDIR}/nvidia-2" ] || die "nvidia-2 missing in FILESDIR"
- sed -e 's:\${PACKAGE}:'${PF}':g' \
- -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia-2 > "${WORKDIR}"/nvidia
+ [ -f "${FILESDIR}/nvidia" ] || die "nvidia missing in FILESDIR"
+ sed -e 's:PACKAGE:'${PF}':g' \
+ -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia > \
+ "${WORKDIR}"/nvidia
insinto /etc/modules.d
- newins "${WORKDIR}"/nvidia nvidia || die
+ doins "${WORKDIR}"/nvidia || die
else
insinto /boot/modules
doins "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.kld" || die
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9746-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9746-r1.ebuild
deleted file mode 100644
index d6e869910660..000000000000
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9746-r1.ebuild
+++ /dev/null
@@ -1,448 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9746-r1.ebuild,v 1.5 2007/07/30 07:51:23 dberkholz Exp $
-
-inherit eutils multilib versionator linux-mod flag-o-matic
-
-NV_V="${PV/1.0./1.0-}"
-X86_NV_PACKAGE="NVIDIA-Linux-x86-${NV_V}"
-AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${NV_V}"
-X86_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86-${NV_V}"
-
-DESCRIPTION="NVIDIA X11 driver and GLX libraries"
-HOMEPAGE="http://www.nvidia.com/"
-SRC_URI="x86? ( http://us.download.nvidia.com/XFree86/Linux-x86/${NV_V}/${X86_NV_PACKAGE}-pkg0.run )
- amd64? ( http://us.download.nvidia.com/XFree86/Linux-x86_64/${NV_V}/${AMD64_NV_PACKAGE}-pkg2.run )
- x86-fbsd? ( http://us.download.nvidia.com/freebsd/${NV_V}/${X86_FBSD_NV_PACKAGE}.tar.gz )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
-IUSE=""
-RESTRICT="strip"
-EMULTILIB_PKG="true"
-
-DEPEND="kernel_linux? ( virtual/linux-sources )
- app-admin/eselect-opengl"
-RDEPEND="kernel_linux? ( virtual/modutils )
- x11-base/xorg-server
- media-libs/mesa
- kernel_FreeBSD? ( !media-video/nvidia-freebsd )
- !app-emulation/emul-linux-x86-nvidia
- !x11-drivers/nvidia-legacy-drivers"
-
-QA_TEXTRELS_x86="usr/lib/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib/libXvMCNVIDIA.so.${PV}
- usr/lib/xorg/modules/drivers/nvidia_drv.so
- usr/lib/opengl/nvidia/extensions/libglx.so"
-
-QA_TEXTRELS_x86_fbsd="boot/modules/nvidia.ko
- usr/lib/opengl/nvidia/lib/libGL.so.1
- usr/lib/opengl/nvidia/lib/libGLcore.so.1
- usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.1
- usr/lib/opengl/nvidia/extensions/libglx.so
- usr/lib/xorg/modules/drivers/nvidia_drv.so"
-
-QA_WX_LOAD_x86="usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/extensions/libglx.so"
-
-QA_TEXTRELS_amd64="usr/lib64/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib64/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib64/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib64/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib64/libXvMCNVIDIA.so.${PV}
- usr/lib64/xorg/modules/drivers/nvidia_drv.so
- usr/lib64/opengl/nvidia/extensions/libglx.so
- usr/lib32/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib32/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib32/libXvMCNVIDIA.so.${PV}
- usr/lib32/xorg/modules/drivers/nvidia_drv.so
- usr/lib32/opengl/nvidia/extensions/libglx.so"
-
-QA_WX_LOAD_amd64="usr/lib64/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib64/opengl/nvidia/extensions/libglx.so
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/extensions/libglx.so"
-
-export _POSIX2_VERSION="199209"
-
-if use x86; then
- PKG_V="-pkg0"
- NV_PACKAGE="${X86_NV_PACKAGE}"
-elif use amd64; then
- PKG_V="-pkg2"
- NV_PACKAGE="${AMD64_NV_PACKAGE}"
-elif use x86-fbsd; then
- PKG_V=""
- NV_PACKAGE="${X86_FBSD_NV_PACKAGE}"
-fi
-
-S="${WORKDIR}/${NV_PACKAGE}${PKG_V}/usr/src/nv"
-
-# On BSD userland it wants real make command
-MAKE="make"
-
-mtrr_check() {
- ebegin "Checking for MTRR support"
- linux_chkconfig_present MTRR
- eend $?
-
- if [[ $? -ne 0 ]] ; then
- eerror "This version needs MTRR support for most chipsets!"
- eerror "Please enable MTRR support in your kernel config, found at:"
- eerror
- eerror " Processor type and features"
- eerror " [*] MTRR (Memory Type Range Register) support"
- eerror
- eerror "and recompile your kernel ..."
- die "MTRR support not detected!"
- fi
-}
-
-pkg_setup() {
- if use amd64 && has_multilib_profile && [ "${DEFAULT_ABI}" != "amd64" ]; then
- eerror "This ebuild doesn't currently support changing your default abi."
- die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}"
- fi
-
- if ! use x86-fbsd; then
- linux-mod_pkg_setup
- MODULE_NAMES="nvidia(video:${S})"
- BUILD_PARAMS="IGNORE_CC_MISMATCH=yes V=1 SYSSRC=${KV_DIR} SYSOUT=${KV_OUT_DIR}"
- mtrr_check
- fi
-}
-
-src_unpack() {
- local NV_PATCH_PREFIX="${FILESDIR}/${PV}/NVIDIA-${PV}"
-
- if ! use x86-fbsd; then
- if [[ ${KV_MINOR} -eq 6 && ${KV_PATCH} -lt 7 ]] ; then
- echo
- ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
- ewarn "This is not officially supported for ${P}. It is likely you"
- ewarn "will not be able to compile or use the kernel module."
- ewarn "It is recommended that you upgrade your kernel to a version >= 2.6.7"
- echo
- ewarn "DO NOT file bug reports for kernel versions less than 2.6.7 as they will be ignored."
- fi
- fi
-
- if ! use x86-fbsd; then
- cd "${WORKDIR}"
- bash ${DISTDIR}/${NV_PACKAGE}${PKG_V}.run --extract-only
- else
- unpack ${A}
- fi
-
- # Patches go below here, add breif description
- use x86-fbsd \
- && cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}/doc" \
- || cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}"
- # Use the correct defines to make gtkglext build work
- epatch "${FILESDIR}"/NVIDIA_glx-defines.patch
- # Use some more sensible gl headers and make way for new glext.h
- epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch
-
- if ! use x86-fbsd; then
- # Quiet down warnings the user do not need to see
- sed -i \
- -e 's:-Wpointer-arith::g' \
- -e 's:-Wsign-compare::g' \
- "${S}"/Makefile.kbuild
-
- # If you set this then it's your own fault when stuff breaks :)
- [[ -n ${USE_CRAZY_OPTS} ]] && sed -i "s:-O:${CFLAGS}:" Makefile.*
-
- # If greater than 2.6.5 use M= instead of SUBDIR=
- cd "${S}"; convert_to_m Makefile.kbuild
- fi
-}
-
-src_compile() {
- # This is already the default on Linux, as there's no toplevel Makefile, but
- # on FreeBSD there's one and triggers the kernel module build, as we install
- # it by itself, pass this.
- if use x86-fbsd; then
- cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}/src"
- echo LDFLAGS="$(raw-ldflags)"
- MAKE="$(get_bmake)" emake CC="$(tc-getCC)" LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die
- else
- linux-mod_src_compile
- fi
-}
-
-src_install() {
- local MLTEST=$(type dyn_unpack)
-
- cd "${WORKDIR}"/${NV_PACKAGE}${PKG_V}
-
- if ! use x86-fbsd; then
- linux-mod_src_install
-
- # Add the aliases
- sed -e 's:\${PACKAGE}:'${PF}':g' "${FILESDIR}"/nvidia > "${WORKDIR}"/nvidia
- insinto /etc/modules.d
- newins "${WORKDIR}"/nvidia nvidia || die
- else
- insinto /boot/modules
- doins "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.kld"
-
- exeinto /boot/modules
- doexe "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.ko"
- fi
-
- if [[ "${MLTEST/set_abi}" == "${MLTEST}" ]] && has_multilib_profile ; then
- local OABI=${ABI}
- for ABI in $(get_install_abis) ; do
- src_install-libs
- done
- ABI=${OABI}
- unset OABI
- elif use amd64 ; then
- src_install-libs lib32 $(get_multilibdir)
- src_install-libs lib $(get_libdir)
-
- rm -rf "${D}"/usr/$(get_multilibdir)/opengl/nvidia/include
- rm -rf "${D}"/usr/$(get_multilibdir)/opengl/nvidia/extensions
- else
- src_install-libs
- fi
-
- is_final_abi || return 0
-
- if ! use x86-fbsd; then
- # Docs, remove nvidia-settings as provided by media-video/nvidia-settings
- newdoc usr/share/doc/README.txt README
- dodoc usr/share/doc/Copyrights usr/share/doc/NVIDIA_Changelog
- dodoc usr/share/doc/XF86Config.sample
- dohtml usr/share/doc/html/*
- # nVidia want bug reports using this script
- dobin usr/bin/nvidia-bug-report.sh
- else
- dodoc doc/{README,XF86Config.sample,Copyrights}
- dohtml doc/html/*
- fi
-}
-
-# Install nvidia library:
-# the first parameter is the place where to install it
-# the second paramis the base name of the library
-# the third parameter is the provided soversion
-donvidia() {
- dodir $1
- exeinto $1
-
- libname=$(basename $2)
-
- doexe $2.$3
- dosym ${libname}.$3 $1/${libname}
-
- [[ $3 != "1" ]] && dosym ${libname}.$3 $1/${libname}.1
-}
-
-src_install-libs() {
- local pkglibdir=lib
- local inslibdir=$(get_libdir)
-
- if [[ ${#} -eq 2 ]] ; then
- pkglibdir=${1}
- inslibdir=${2}
- elif has_multilib_profile && [[ ${ABI} == "x86" ]] ; then
- pkglibdir=lib32
- fi
-
- local usrpkglibdir=usr/${pkglibdir}
- local libdir=usr/X11R6/${pkglibdir}
- local modules=${libdir}/modules
- local drvdir=${modules}/drivers
- local extdir=${modules}/extensions
- local incdir=usr/include/GL
- local sover=${PV}
- local NV_ROOT="/usr/${inslibdir}/opengl/nvidia"
- local NO_TLS_ROOT="${NV_ROOT}/no-tls"
- local TLS_ROOT="${NV_ROOT}/tls"
- local X11_LIB_DIR="/usr/${inslibdir}/xorg"
-
- if ! has_version x11-base/xorg-server ; then
- X11_LIB_DIR="/usr/${inslibdir}"
- fi
-
- if use x86-fbsd; then
- # on FreeBSD everything is on obj/
- pkglibdir=obj
- usrpkglibdir=obj
- x11pkglibdir=obj
- drvdir=obj
- extdir=obj
-
- # don't ask me why the headers are there.. glxext.h is missing
- incdir=doc
-
- # on FreeBSD it has just .1 suffix
- sover=1
- fi
-
- # The GLX libraries
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libGL.so ${sover}
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libGLcore.so ${sover}
-
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libnvidia-cfg.so ${sover}
-
- dodir ${NO_TLS_ROOT}
- donvidia ${NO_TLS_ROOT} ${usrpkglibdir}/libnvidia-tls.so ${sover}
-
- if ! use x86-fbsd; then
- donvidia ${TLS_ROOT} ${usrpkglibdir}/tls/libnvidia-tls.so ${sover}
- fi
-
- if want_tls ; then
- dosym ../tls/libnvidia-tls.so ${NV_ROOT}/lib
- dosym ../tls/libnvidia-tls.so.1 ${NV_ROOT}/lib
- dosym ../tls/libnvidia-tls.so.${sover} ${NV_ROOT}/lib
- else
- dosym ../no-tls/libnvidia-tls.so ${NV_ROOT}/lib
- dosym ../no-tls/libnvidia-tls.so.1 ${NV_ROOT}/lib
- dosym ../no-tls/libnvidia-tls.so.${sover} ${NV_ROOT}/lib
- fi
-
- if ! use x86-fbsd; then
- # Not sure whether installing the .la file is neccessary;
- # this is adopted from the `nvidia' ebuild
- local ver1=$(get_version_component_range 1)
- local ver2=$(get_version_component_range 2)
- local ver3=$(get_version_component_range 3)
- sed -e "s:\${PV}:${PV}:" \
- -e "s:\${ver1}:${ver1}:" \
- -e "s:\${ver2}:${ver2}:" \
- -e "s:\${ver3}:${ver3}:" \
- -e "s:\${libdir}:${inslibdir}:" \
- "${FILESDIR}"/libGL.la-r2 > "${D}"/${NV_ROOT}/lib/libGL.la
- fi
-
- exeinto ${X11_LIB_DIR}/modules/drivers
-
- [[ -f ${drvdir}/nvidia_drv.so ]] && \
- doexe ${drvdir}/nvidia_drv.so
-
- insinto /usr/${inslibdir}
- [[ -f ${libdir}/libXvMCNVIDIA.a ]] && \
- doins ${libdir}/libXvMCNVIDIA.a
- exeinto /usr/${inslibdir}
- # fix Bug 131315
- [[ -f ${libdir}/libXvMCNVIDIA.so.${PV} ]] && \
- doexe ${libdir}/libXvMCNVIDIA.so.${PV} && \
- dosym libXvMCNVIDIA.so.${PV} \
- /usr/${inslibdir}/libXvMCNVIDIA.so
-
- exeinto ${NV_ROOT}/extensions
- [[ -f ${modules}/libnvidia-wfb.so.${sover} ]] && \
- newexe ${modules}/libnvidia-wfb.so.${sover} libwfb.so
- [[ -f ${extdir}/libglx.so.${sover} ]] && \
- newexe ${extdir}/libglx.so.${sover} libglx.so
-
- # Includes
- insinto ${NV_ROOT}/include
- doins ${incdir}/*.h
-}
-
-pkg_preinst() {
- # Can we make up our minds ?!?!?
- local NV_D=${D}
-
- if ! has_version x11-base/xorg-server ; then
- for dir in lib lib32 lib64 ; do
- if [[ -d ${NV_D}/usr/${dir}/xorg ]] ; then
- mv ${NV_D}/usr/${dir}/xorg/* ${NV_D}/usr/${dir}
- rmdir ${NV_D}/usr/${dir}/xorg
- fi
- done
- fi
-
- # Clean the dinamic libGL stuff's home to ensure
- # we dont have stale libs floating around
- if [[ -d ${ROOT}/usr/lib/opengl/nvidia ]] ; then
- rm -rf ${ROOT}/usr/lib/opengl/nvidia/*
- fi
- # Make sure we nuke the old nvidia-glx's env.d file
- if [[ -e ${ROOT}/etc/env.d/09nvidia ]] ; then
- rm -f ${ROOT}/etc/env.d/09nvidia
- fi
-}
-
-pkg_postinst() {
- if ! use x86-fbsd; then
- linux-mod_pkg_postinst
- fi
-
- #switch to the nvidia implementation
- eselect opengl set --use-old nvidia
-
- echo
- elog "To use the Nvidia GLX, run \"eselect opengl set nvidia\""
- echo
- einfo "You may also be interested in media-video/nvidia-settings"
- echo
- elog "nVidia has requested that any bug reports submitted have the"
- elog "output of /usr/bin/nvidia-bug-report.sh included."
- echo
- elog "To work with compiz, you must enable the AddARGBGLXVisuals option."
- echo
- elog "If you are having resolution problems, try disabling DynamicTwinView."
- echo
-}
-
-want_tls() {
- # For uclibc or anything non glibc, return false
- has_version sys-libs/glibc || return 1
-
- # Old versions of glibc were lt/no-tls only
- has_version '<sys-libs/glibc-2.3.2' && return 1
-
- local valid_chost="true"
- if use x86 ; then
- case ${CHOST/-*} in
- i486|i586|i686) ;;
- *) valid_chost="false"
- esac
- fi
-
- [[ ${valid_chost} == "false" ]] && return 1
-
- # If we've got nptl, we've got tls
- built_with_use --missing true sys-libs/glibc nptl && return 0
-
- # 2.3.5 turned off tls for linuxthreads glibc on i486 and i586
- if use x86 && has_version '>=sys-libs/glibc-2.3.5' ; then
- case ${CHOST/-*} in
- i486|i586) return 1 ;;
- esac
- fi
-
- # These versions built linuxthreads version to support tls, too
- has_version '>=sys-libs/glibc-2.3.4.20040619-r2' && return 0
-
- return 1
-}
-
-pkg_postrm() {
- if ! use x86-fbsd; then
- linux-mod_pkg_postrm
- fi
- eselect opengl set --use-old xorg-x11
-}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9755-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9755-r1.ebuild
deleted file mode 100644
index 15863815c925..000000000000
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9755-r1.ebuild
+++ /dev/null
@@ -1,448 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.9755-r1.ebuild,v 1.4 2007/07/30 07:51:23 dberkholz Exp $
-
-inherit eutils multilib versionator linux-mod flag-o-matic
-
-NV_V="${PV/1.0./1.0-}"
-X86_NV_PACKAGE="NVIDIA-Linux-x86-${NV_V}"
-AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${NV_V}"
-X86_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86-${NV_V}"
-
-DESCRIPTION="NVIDIA X11 driver and GLX libraries"
-HOMEPAGE="http://www.nvidia.com/"
-SRC_URI="x86? ( http://us.download.nvidia.com/XFree86/Linux-x86/${NV_V}/${X86_NV_PACKAGE}-pkg0.run )
- amd64? ( http://us.download.nvidia.com/XFree86/Linux-x86_64/${NV_V}/${AMD64_NV_PACKAGE}-pkg2.run )
- x86-fbsd? ( http://us.download.nvidia.com/freebsd/${NV_V}/${X86_FBSD_NV_PACKAGE}.tar.gz )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
-IUSE=""
-RESTRICT="strip"
-EMULTILIB_PKG="true"
-
-DEPEND="kernel_linux? ( virtual/linux-sources )
- app-admin/eselect-opengl"
-RDEPEND="kernel_linux? ( virtual/modutils )
- x11-base/xorg-server
- media-libs/mesa
- kernel_FreeBSD? ( !media-video/nvidia-freebsd )
- !app-emulation/emul-linux-x86-nvidia
- !x11-drivers/nvidia-legacy-drivers"
-
-QA_TEXTRELS_x86="usr/lib/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib/libXvMCNVIDIA.so.${PV}
- usr/lib/xorg/modules/drivers/nvidia_drv.so
- usr/lib/opengl/nvidia/extensions/libglx.so"
-
-QA_TEXTRELS_x86_fbsd="boot/modules/nvidia.ko
- usr/lib/opengl/nvidia/lib/libGL.so.1
- usr/lib/opengl/nvidia/lib/libGLcore.so.1
- usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.1
- usr/lib/opengl/nvidia/extensions/libglx.so
- usr/lib/xorg/modules/drivers/nvidia_drv.so"
-
-QA_WX_LOAD_x86="usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/extensions/libglx.so"
-
-QA_TEXTRELS_amd64="usr/lib64/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib64/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib64/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib64/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib64/libXvMCNVIDIA.so.${PV}
- usr/lib64/xorg/modules/drivers/nvidia_drv.so
- usr/lib64/opengl/nvidia/extensions/libglx.so
- usr/lib32/xorg/libXvMCNVIDIA.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib32/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib32/libXvMCNVIDIA.so.${PV}
- usr/lib32/xorg/modules/drivers/nvidia_drv.so
- usr/lib32/opengl/nvidia/extensions/libglx.so"
-
-QA_WX_LOAD_amd64="usr/lib64/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib64/opengl/nvidia/extensions/libglx.so
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/extensions/libglx.so"
-
-export _POSIX2_VERSION="199209"
-
-if use x86; then
- PKG_V="-pkg0"
- NV_PACKAGE="${X86_NV_PACKAGE}"
-elif use amd64; then
- PKG_V="-pkg2"
- NV_PACKAGE="${AMD64_NV_PACKAGE}"
-elif use x86-fbsd; then
- PKG_V=""
- NV_PACKAGE="${X86_FBSD_NV_PACKAGE}"
-fi
-
-S="${WORKDIR}/${NV_PACKAGE}${PKG_V}/usr/src/nv"
-
-# On BSD userland it wants real make command
-MAKE="make"
-
-mtrr_check() {
- ebegin "Checking for MTRR support"
- linux_chkconfig_present MTRR
- eend $?
-
- if [[ $? -ne 0 ]] ; then
- eerror "This version needs MTRR support for most chipsets!"
- eerror "Please enable MTRR support in your kernel config, found at:"
- eerror
- eerror " Processor type and features"
- eerror " [*] MTRR (Memory Type Range Register) support"
- eerror
- eerror "and recompile your kernel ..."
- die "MTRR support not detected!"
- fi
-}
-
-pkg_setup() {
- if use amd64 && has_multilib_profile && [ "${DEFAULT_ABI}" != "amd64" ]; then
- eerror "This ebuild doesn't currently support changing your default abi."
- die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}"
- fi
-
- if ! use x86-fbsd; then
- linux-mod_pkg_setup
- MODULE_NAMES="nvidia(video:${S})"
- BUILD_PARAMS="IGNORE_CC_MISMATCH=yes V=1 SYSSRC=${KV_DIR} SYSOUT=${KV_OUT_DIR}"
- mtrr_check
- fi
-}
-
-src_unpack() {
- local NV_PATCH_PREFIX="${FILESDIR}/${PV}/NVIDIA-${PV}"
-
- if ! use x86-fbsd; then
- if [[ ${KV_MINOR} -eq 6 && ${KV_PATCH} -lt 7 ]] ; then
- echo
- ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
- ewarn "This is not officially supported for ${P}. It is likely you"
- ewarn "will not be able to compile or use the kernel module."
- ewarn "It is recommended that you upgrade your kernel to a version >= 2.6.7"
- echo
- ewarn "DO NOT file bug reports for kernel versions less than 2.6.7 as they will be ignored."
- fi
- fi
-
- if ! use x86-fbsd; then
- cd "${WORKDIR}"
- bash ${DISTDIR}/${NV_PACKAGE}${PKG_V}.run --extract-only
- else
- unpack ${A}
- fi
-
- # Patches go below here, add breif description
- use x86-fbsd \
- && cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}/doc" \
- || cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}"
- # Use the correct defines to make gtkglext build work
- epatch "${FILESDIR}"/NVIDIA_glx-defines.patch
- # Use some more sensible gl headers and make way for new glext.h
- epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch
-
- if ! use x86-fbsd; then
- # Quiet down warnings the user do not need to see
- sed -i \
- -e 's:-Wpointer-arith::g' \
- -e 's:-Wsign-compare::g' \
- "${S}"/Makefile.kbuild
-
- # If you set this then it's your own fault when stuff breaks :)
- [[ -n ${USE_CRAZY_OPTS} ]] && sed -i "s:-O:${CFLAGS}:" Makefile.*
-
- # If greater than 2.6.5 use M= instead of SUBDIR=
- cd "${S}"; convert_to_m Makefile.kbuild
- fi
-}
-
-src_compile() {
- # This is already the default on Linux, as there's no toplevel Makefile, but
- # on FreeBSD there's one and triggers the kernel module build, as we install
- # it by itself, pass this.
- if use x86-fbsd; then
- cd "${WORKDIR}/${NV_PACKAGE}${PKG_V}/src"
- echo LDFLAGS="$(raw-ldflags)"
- MAKE="$(get_bmake)" emake CC="$(tc-getCC)" LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die
- else
- linux-mod_src_compile
- fi
-}
-
-src_install() {
- local MLTEST=$(type dyn_unpack)
-
- cd "${WORKDIR}"/${NV_PACKAGE}${PKG_V}
-
- if ! use x86-fbsd; then
- linux-mod_src_install
-
- # Add the aliases
- sed -e 's:\${PACKAGE}:'${PF}':g' "${FILESDIR}"/nvidia > "${WORKDIR}"/nvidia
- insinto /etc/modules.d
- newins "${WORKDIR}"/nvidia nvidia || die
- else
- insinto /boot/modules
- doins "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.kld"
-
- exeinto /boot/modules
- doexe "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.ko"
- fi
-
- if [[ "${MLTEST/set_abi}" == "${MLTEST}" ]] && has_multilib_profile ; then
- local OABI=${ABI}
- for ABI in $(get_install_abis) ; do
- src_install-libs
- done
- ABI=${OABI}
- unset OABI
- elif use amd64 ; then
- src_install-libs lib32 $(get_multilibdir)
- src_install-libs lib $(get_libdir)
-
- rm -rf "${D}"/usr/$(get_multilibdir)/opengl/nvidia/include
- rm -rf "${D}"/usr/$(get_multilibdir)/opengl/nvidia/extensions
- else
- src_install-libs
- fi
-
- is_final_abi || return 0
-
- if ! use x86-fbsd; then
- # Docs, remove nvidia-settings as provided by media-video/nvidia-settings
- newdoc usr/share/doc/README.txt README
- dodoc usr/share/doc/Copyrights usr/share/doc/NVIDIA_Changelog
- dodoc usr/share/doc/XF86Config.sample
- dohtml usr/share/doc/html/*
- # nVidia want bug reports using this script
- dobin usr/bin/nvidia-bug-report.sh
- else
- dodoc doc/{README,XF86Config.sample,Copyrights}
- dohtml doc/html/*
- fi
-}
-
-# Install nvidia library:
-# the first parameter is the place where to install it
-# the second paramis the base name of the library
-# the third parameter is the provided soversion
-donvidia() {
- dodir $1
- exeinto $1
-
- libname=$(basename $2)
-
- doexe $2.$3
- dosym ${libname}.$3 $1/${libname}
-
- [[ $3 != "1" ]] && dosym ${libname}.$3 $1/${libname}.1
-}
-
-src_install-libs() {
- local pkglibdir=lib
- local inslibdir=$(get_libdir)
-
- if [[ ${#} -eq 2 ]] ; then
- pkglibdir=${1}
- inslibdir=${2}
- elif has_multilib_profile && [[ ${ABI} == "x86" ]] ; then
- pkglibdir=lib32
- fi
-
- local usrpkglibdir=usr/${pkglibdir}
- local libdir=usr/X11R6/${pkglibdir}
- local modules=${libdir}/modules
- local drvdir=${modules}/drivers
- local extdir=${modules}/extensions
- local incdir=usr/include/GL
- local sover=${PV}
- local NV_ROOT="/usr/${inslibdir}/opengl/nvidia"
- local NO_TLS_ROOT="${NV_ROOT}/no-tls"
- local TLS_ROOT="${NV_ROOT}/tls"
- local X11_LIB_DIR="/usr/${inslibdir}/xorg"
-
- if ! has_version x11-base/xorg-server ; then
- X11_LIB_DIR="/usr/${inslibdir}"
- fi
-
- if use x86-fbsd; then
- # on FreeBSD everything is on obj/
- pkglibdir=obj
- usrpkglibdir=obj
- x11pkglibdir=obj
- drvdir=obj
- extdir=obj
-
- # don't ask me why the headers are there.. glxext.h is missing
- incdir=doc
-
- # on FreeBSD it has just .1 suffix
- sover=1
- fi
-
- # The GLX libraries
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libGL.so ${sover}
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libGLcore.so ${sover}
-
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libnvidia-cfg.so ${sover}
-
- dodir ${NO_TLS_ROOT}
- donvidia ${NO_TLS_ROOT} ${usrpkglibdir}/libnvidia-tls.so ${sover}
-
- if ! use x86-fbsd; then
- donvidia ${TLS_ROOT} ${usrpkglibdir}/tls/libnvidia-tls.so ${sover}
- fi
-
- if want_tls ; then
- dosym ../tls/libnvidia-tls.so ${NV_ROOT}/lib
- dosym ../tls/libnvidia-tls.so.1 ${NV_ROOT}/lib
- dosym ../tls/libnvidia-tls.so.${sover} ${NV_ROOT}/lib
- else
- dosym ../no-tls/libnvidia-tls.so ${NV_ROOT}/lib
- dosym ../no-tls/libnvidia-tls.so.1 ${NV_ROOT}/lib
- dosym ../no-tls/libnvidia-tls.so.${sover} ${NV_ROOT}/lib
- fi
-
- if ! use x86-fbsd; then
- # Not sure whether installing the .la file is neccessary;
- # this is adopted from the `nvidia' ebuild
- local ver1=$(get_version_component_range 1)
- local ver2=$(get_version_component_range 2)
- local ver3=$(get_version_component_range 3)
- sed -e "s:\${PV}:${PV}:" \
- -e "s:\${ver1}:${ver1}:" \
- -e "s:\${ver2}:${ver2}:" \
- -e "s:\${ver3}:${ver3}:" \
- -e "s:\${libdir}:${inslibdir}:" \
- "${FILESDIR}"/libGL.la-r2 > "${D}"/${NV_ROOT}/lib/libGL.la
- fi
-
- exeinto ${X11_LIB_DIR}/modules/drivers
-
- [[ -f ${drvdir}/nvidia_drv.so ]] && \
- doexe ${drvdir}/nvidia_drv.so
-
- insinto /usr/${inslibdir}
- [[ -f ${libdir}/libXvMCNVIDIA.a ]] && \
- doins ${libdir}/libXvMCNVIDIA.a
- exeinto /usr/${inslibdir}
- # fix Bug 131315
- [[ -f ${libdir}/libXvMCNVIDIA.so.${PV} ]] && \
- doexe ${libdir}/libXvMCNVIDIA.so.${PV} && \
- dosym libXvMCNVIDIA.so.${PV} \
- /usr/${inslibdir}/libXvMCNVIDIA.so
-
- exeinto ${NV_ROOT}/extensions
- [[ -f ${modules}/libnvidia-wfb.so.${sover} ]] && \
- newexe ${modules}/libnvidia-wfb.so.${sover} libwfb.so
- [[ -f ${extdir}/libglx.so.${sover} ]] && \
- newexe ${extdir}/libglx.so.${sover} libglx.so
-
- # Includes
- insinto ${NV_ROOT}/include
- doins ${incdir}/*.h
-}
-
-pkg_preinst() {
- # Can we make up our minds ?!?!?
- local NV_D=${D}
-
- if ! has_version x11-base/xorg-server ; then
- for dir in lib lib32 lib64 ; do
- if [[ -d ${NV_D}/usr/${dir}/xorg ]] ; then
- mv ${NV_D}/usr/${dir}/xorg/* ${NV_D}/usr/${dir}
- rmdir ${NV_D}/usr/${dir}/xorg
- fi
- done
- fi
-
- # Clean the dinamic libGL stuff's home to ensure
- # we dont have stale libs floating around
- if [[ -d ${ROOT}/usr/lib/opengl/nvidia ]] ; then
- rm -rf ${ROOT}/usr/lib/opengl/nvidia/*
- fi
- # Make sure we nuke the old nvidia-glx's env.d file
- if [[ -e ${ROOT}/etc/env.d/09nvidia ]] ; then
- rm -f ${ROOT}/etc/env.d/09nvidia
- fi
-}
-
-pkg_postinst() {
- if ! use x86-fbsd; then
- linux-mod_pkg_postinst
- fi
-
- #switch to the nvidia implementation
- eselect opengl set --use-old nvidia
-
- echo
- elog "To use the Nvidia GLX, run \"eselect opengl set nvidia\""
- echo
- einfo "You may also be interested in media-video/nvidia-settings"
- echo
- elog "nVidia has requested that any bug reports submitted have the"
- elog "output of /usr/bin/nvidia-bug-report.sh included."
- echo
- elog "To work with compiz, you must enable the AddARGBGLXVisuals option."
- echo
- elog "If you are having resolution problems, try disabling DynamicTwinView."
- echo
-}
-
-want_tls() {
- # For uclibc or anything non glibc, return false
- has_version sys-libs/glibc || return 1
-
- # Old versions of glibc were lt/no-tls only
- has_version '<sys-libs/glibc-2.3.2' && return 1
-
- local valid_chost="true"
- if use x86 ; then
- case ${CHOST/-*} in
- i486|i586|i686) ;;
- *) valid_chost="false"
- esac
- fi
-
- [[ ${valid_chost} == "false" ]] && return 1
-
- # If we've got nptl, we've got tls
- built_with_use --missing true sys-libs/glibc nptl && return 0
-
- # 2.3.5 turned off tls for linuxthreads glibc on i486 and i586
- if use x86 && has_version '>=sys-libs/glibc-2.3.5' ; then
- case ${CHOST/-*} in
- i486|i586) return 1 ;;
- esac
- fi
-
- # These versions built linuxthreads version to support tls, too
- has_version '>=sys-libs/glibc-2.3.4.20040619-r2' && return 0
-
- return 1
-}
-
-pkg_postrm() {
- if ! use x86-fbsd; then
- linux-mod_pkg_postrm
- fi
- eselect opengl set --use-old xorg-x11
-}
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.09.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.09.ebuild
index 3b10fce73f25..5afa90650c0f 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.09.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.09.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.09.ebuild,v 1.8 2007/07/30 07:51:23 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.09.ebuild,v 1.9 2007/09/20 19:55:12 wolf31o2 Exp $
inherit eutils multilib versionator linux-mod flag-o-matic nvidia-driver
@@ -228,11 +228,12 @@ src_install() {
fi
# Add the aliases
- [ -f "${FILESDIR}/nvidia-2" ] || die "nvidia-2 missing in FILESDIR"
- sed -e 's:\${PACKAGE}:'${PF}':g' \
- -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia-2 > "${WORKDIR}"/nvidia
+ [ -f "${FILESDIR}/nvidia" ] || die "nvidia missing in FILESDIR"
+ sed -e 's:PACKAGE:'${PF}':g' \
+ -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia > \
+ "${WORKDIR}"/nvidia
insinto /etc/modules.d
- newins "${WORKDIR}"/nvidia nvidia || die
+ doins "${WORKDIR}"/nvidia || die
else
insinto /boot/modules
doins "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.kld" || die
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild
index ca75f599121d..9dcf12cfe4b6 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild,v 1.9 2007/07/30 07:51:23 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild,v 1.10 2007/09/20 19:55:12 wolf31o2 Exp $
inherit eutils multilib versionator linux-mod flag-o-matic nvidia-driver
@@ -228,11 +228,12 @@ src_install() {
fi
# Add the aliases
- [ -f "${FILESDIR}/nvidia-2" ] || die "nvidia-2 missing in FILESDIR"
- sed -e 's:\${PACKAGE}:'${PF}':g' \
- -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia-2 > "${WORKDIR}"/nvidia
+ [ -f "${FILESDIR}/nvidia" ] || die "nvidia missing in FILESDIR"
+ sed -e 's:PACKAGE:'${PF}':g' \
+ -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia > \
+ "${WORKDIR}"/nvidia
insinto /etc/modules.d
- newins "${WORKDIR}"/nvidia nvidia || die
+ doins "${WORKDIR}"/nvidia || die
else
insinto /boot/modules
doins "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.kld" || die
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild
index eb25758526ed..de2c5272909b 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild,v 1.1 2007/09/18 23:50:03 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild,v 1.2 2007/09/20 19:55:12 wolf31o2 Exp $
inherit eutils multilib versionator linux-mod flag-o-matic nvidia-driver
@@ -227,11 +227,12 @@ src_install() {
fi
# Add the aliases
- [ -f "${FILESDIR}/nvidia-2" ] || die "nvidia-2 missing in FILESDIR"
- sed -e 's:\${PACKAGE}:'${PF}':g' \
- -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia-2 > "${WORKDIR}"/nvidia
+ [ -f "${FILESDIR}/nvidia" ] || die "nvidia missing in FILESDIR"
+ sed -e 's:PACKAGE:'${PF}':g' \
+ -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia > \
+ "${WORKDIR}"/nvidia
insinto /etc/modules.d
- newins "${WORKDIR}"/nvidia nvidia || die
+ doins "${WORKDIR}"/nvidia || die
else
insinto /boot/modules
doins "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.kld" || die