diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2012-09-30 03:11:08 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2012-09-30 03:11:08 +0000 |
commit | f6a5839364fcef86fdfa9675eb955b204f31a09e (patch) | |
tree | f2ceb854f25c00fc0d773a2cdfea99f9fbd0abb3 /x11-drivers | |
parent | Bump to the 0.10.2 release plus a few patches and virInterface support for Ge... (diff) | |
download | historical-f6a5839364fcef86fdfa9675eb955b204f31a09e.tar.gz historical-f6a5839364fcef86fdfa9675eb955b204f31a09e.tar.bz2 historical-f6a5839364fcef86fdfa9675eb955b204f31a09e.zip |
Version bump in the 295.x series.
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/nvidia-drivers/ChangeLog | 8 | ||||
-rw-r--r-- | x11-drivers/nvidia-drivers/Manifest | 7 | ||||
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-295.75.ebuild | 584 |
3 files changed, 597 insertions, 2 deletions
diff --git a/x11-drivers/nvidia-drivers/ChangeLog b/x11-drivers/nvidia-drivers/ChangeLog index d5d6c4374556..6501fe0f58c0 100644 --- a/x11-drivers/nvidia-drivers/ChangeLog +++ b/x11-drivers/nvidia-drivers/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-drivers/nvidia-drivers # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/ChangeLog,v 1.398 2012/09/25 16:47:34 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/ChangeLog,v 1.399 2012/09/30 03:11:08 cardoe Exp $ + +*nvidia-drivers-295.75 (30 Sep 2012) + + 30 Sep 2012; Doug Goldstein <cardoe@gentoo.org> + +nvidia-drivers-295.75.ebuild: + Version bump in the 295.x series. *nvidia-drivers-304.51 (25 Sep 2012) diff --git a/x11-drivers/nvidia-drivers/Manifest b/x11-drivers/nvidia-drivers/Manifest index b367b4dbc2ad..6c23721e6d0e 100644 --- a/x11-drivers/nvidia-drivers/Manifest +++ b/x11-drivers/nvidia-drivers/Manifest @@ -16,6 +16,7 @@ AUX nvidia-udev.sh 185 SHA256 120c0af2b64fbcbd7032217a78eec8b104874c1ca68726367b AUX nvidia.udev-rule 462 SHA256 37b152a5055a16d1947171567178e2841679ddf03dba9d48e7d30f1e3b469ac6 SHA512 96f9edaa0b46bea5fce17596f868bea5265b303d7185af6ba81527bbd7b8fdf92de9311317cbde51a29d222083d451c25ab77c3d6837cbc4072a50d9af89aa86 WHIRLPOOL 89ed95f33db7485a3a1acd91df33ecdfb7d0a249db2d7674f134fb85b35a54653d0458e478503315ce506ae5d3c8dcd4ac20420711fdbdd087ea4bd779627d13 DIST NVIDIA-FreeBSD-x86-173.14.35.tar.gz 18748428 SHA256 51e82a12db81b5af4ae5ee59612875c0dbef52cb641d61a44c72f2e1cd7f4c78 SHA512 11c26504641895cbfe0af18c4578d5aeb9bef48270dde1d1463250c0b26e9b6cab0ed97402bc07829b489ee5b773e6bb854fdfc87599c726d48dd0c59bb49336 WHIRLPOOL d739fbf2452a3b4f418d6b901bb3fd2940c5e9758d239760a9eae52ac6079032cf10628ee121ad44138c7eac4355f627dc41b1b765d825d58c18352359740520 DIST NVIDIA-FreeBSD-x86-295.71.tar.gz 32098813 SHA256 6cc7f25c3b49d3ac2d2cdc2d84e4f0417d51115110bee159de2cc53d7f9ef049 SHA512 2a5e264595daef0b1bd78e523c3a5eb9d8be37f6d18ad515cfdc36eb3712e94f5cee6ebf409aae653657023cad11bee7a986d13618b0eb101ac7bfdbb7ff3a45 WHIRLPOOL 34481121243fc0894142a335398a08805d64208b71cec66f587ba25cf42e8aedfe8978ac77d061f8dafea6ae0bbd3cd91f5a45e2377408ba6fbc752df18c7127 +DIST NVIDIA-FreeBSD-x86-295.75.tar.gz 32100768 SHA256 69702d5f27343672646bc93ece44367b2204e77b5b7e9c3234ac415629e4d8f3 SHA512 78b4aeebdc218b6d15d97f89f5eaeb3dba0d9db01f5eb59e798fb5b129577ca9e7321e497592c367c7c56b7e1a25d5265a2c97727b79b259730107b745eb3c17 WHIRLPOOL f94f330ec35c8e08b812f127cedecaf3e1cc939ec19a9905b19788fb0e102aa9900ab8dca6dd2bf67f5c34dd730ab499b892a99502b9e669b8cd317991f7e4f8 DIST NVIDIA-FreeBSD-x86-302.17.tar.gz 32072917 SHA256 b0d50c3333ee7c485bfd5287b37e253ed358dd5d205997f0c50e16f04b7714c5 SHA512 e7adefad95fb8345728d9920324946f87b4fb94b8dedf7ab1ad49f7c02015ba6492aa95d07e5c2914b8256f62b743b7eaa2267fc8881a8a335e3d60502d1786f WHIRLPOOL d541381f6492e7c1c4f0d77109b5371cf17009c1aa0157dde5d911c9100d4e7b30543fcdf352822bf53006da16b3e0bfb49621b4721be49ef6f81b7a6874ac60 DIST NVIDIA-FreeBSD-x86-304.37.tar.gz 33291575 SHA256 e6c3a1d4a757b5d4f2ab54a43d5d7008fcb1b481f14515f58adcd31f3edc6576 SHA512 4370cc805b428f331402f5adde386813e40272ab30744f38442b706b1f80c45e2b44ab56477fe7f3ddeb437b5a97cc088ba2f9a67834a45cf42377d450d3f8bf WHIRLPOOL e41ac7c8cbd207483503da81b64ea16f8d80a8c20b45508ce6a817fd5986628c95e7f64bafc8967d96bf0c0611b66da6899153e4e22cb7b0bb9840c07e76c27c DIST NVIDIA-FreeBSD-x86-304.43.tar.gz 33305109 SHA256 6a8c229ebab96afb94ea82c2f7d20fd095de75bedbcf7bb367ab7b2c9c3d3050 SHA512 394655c3eccaa5c47d4675dcd6fcfede1660e75f06677e031be38a0e2bd4abdda072b3801e2551e4f0d8dfa0d83cd60729be6037d648ec67fd3956ae0123fdcd WHIRLPOOL 930f2c5c8627b2c3ee94082b4e86820b9de40c0e5e3a9bc1594246af21b510016ed2efd5b73efe61714c930605028b70b9086b3fd0ab672f5221dae9fddb0c87 @@ -23,6 +24,7 @@ DIST NVIDIA-FreeBSD-x86-304.48.tar.gz 33305880 SHA256 c048cea02aa2a0a50b4f9dfce0 DIST NVIDIA-FreeBSD-x86-304.51.tar.gz 33304401 SHA256 a65d1978b28acd4d730156f27b2e6998cae57a1c09d6f7a3ab2a863d0b4cfba7 SHA512 332f21ff3af44c524cdbf289bc07b2ae1de00f03bca4aebef3fbd6bb7c9bd15bc3922e74844e653a7c6092d42e4a90455773893029868053e992e04dbbc1befc WHIRLPOOL 46cedf2001d5009a78aa7c9885394541011d07714548b50bc0dc44616bdcb34e293b0aa9331fa967ad5a97fcb450e90b2712a22212c4f39d5b57269d9840d37f DIST NVIDIA-FreeBSD-x86-96.43.20.tar.gz 14060884 SHA256 e75fce272e72644d53e6ad3c0957fe173735a4b621726ce227ba8ecf9bd9c5cf SHA512 3a2c6bdfb6e4d8d085abe53a9f64f45a9872d968698da01599f27ae35d197d2e32e7cdff4873f6fa646118af48bbee0ecf95e6af3a9af279fe8f39e72c483a97 WHIRLPOOL d7fc9fd10b09b028e27203b388594a9d61d62f50bca7f2b667c53e1fcfea299029024e16f12f3114d0bbd4fd942bf51daf1f3467588d7e96767229524c980e5c DIST NVIDIA-FreeBSD-x86_64-295.71.tar.gz 33058244 SHA256 d563a75b07068c7182809bab63fe964377961fdf99cbfcfb2ff25b471a3815dd SHA512 19d4c8200d9764b42cedf675bc1d03547177fc3cdde1cbfa24a7c65a0e47f393d253e3584a8976cbefdd8813918008faae53f8809fd2540b2df867add8f1034a WHIRLPOOL 9ed8987472a00a2005f1013c14a323bdd385d56ee9ffded8266ecdd14d64ebab14e493105b8099f8e936220a5fc2d14a442d00b7820482c1038817aee886386d +DIST NVIDIA-FreeBSD-x86_64-295.75.tar.gz 33066509 SHA256 584edd68516ad3b7e154fe97667005f61fe4ccbd7c3129485d34a7d7812c1243 SHA512 87f150691a294f74e11d39b38abde6bc7d313e3494f0cccec650074e9e8d28e40ced5831e54625b6de3280c7e14e660bb8cbb56c50e565e8e6337a3920ed4a06 WHIRLPOOL 57868a7b86610ce0d12bb40f5316d00cc52ffce39adb7eb1b7ffd0b0d4a9c591bd2806ae6859c96e4b1af4b3ba307f30216c7a358bdd329887895a58585f9ab8 DIST NVIDIA-FreeBSD-x86_64-302.17.tar.gz 32993726 SHA256 609f2abe8459714993f62eb6ee90114a26beecfc375d72ab1776b503ef549166 SHA512 6ee33ae0518f596a978e4cff9342925ee5ac7927dc3dc84ed0b245608b438729c2c96a755e786e0e27641fff1ac78d814afa90db1c118bcd7a877647e5e05344 WHIRLPOOL 2c741e87928f2cea8c65e8b9dcd0d43582fd2c68620a208cc4e751135d4a3513925c4c0b94eecb6935206becc7eeec392cf8524e8bb84a0d3ed8254101db4aab DIST NVIDIA-FreeBSD-x86_64-304.37.tar.gz 34210803 SHA256 0d00046c8463954b6c8e13e245b2619758e947389161a113aa005ef7566e5dd3 SHA512 8414efc3c4b2d654b960892178fc5bc3c6c1ea6fb24558887dd18f0a72fa02dd16adf228a97d53b34c679f61c0c7fdaf72f460bbe818eaeef85ae7d69a204b21 WHIRLPOOL 5db2fb3cb23608703e9e915ccb3324465a23832516990f7765fb5317203f37fe8f91c76f88578583eba749a3440b7b13a7cb95e3dfe855c4c54f1f884c861b44 DIST NVIDIA-FreeBSD-x86_64-304.43.tar.gz 34225997 SHA256 5e76b1660639b2af2fcfbe37457043138f26698866653726dd37cbf4c2ee2ac5 SHA512 2827f484e9936436a279ac78bb7eaae892a01d1df045308b1af95889b0002e39e81672b404c4a63c9940315ce2ec0160d7a2398033186017fc65eb607b85289a WHIRLPOOL 074276d8a9684bde8e317674449dbad78d3a7d595ab811566f17f0c88e09f520ae26914ec7f99a0a38c91c21d920d0d013737d9e1906ddc39af0dfe7d4a8bf7e @@ -30,6 +32,7 @@ DIST NVIDIA-FreeBSD-x86_64-304.48.tar.gz 34232252 SHA256 89814a464e906632e28e3e7 DIST NVIDIA-FreeBSD-x86_64-304.51.tar.gz 34233798 SHA256 0db3ca0267b20e4ef60f480375860fdf46848e58492ce452452264544263bd56 SHA512 d84f592a4cf97638346fbf14062d678dc94311845c17b43f8ea451cbf937d71b5d6eb380f462fe3e50c57558fdc11cf56b4e10cec43235a34113089986c5f1b6 WHIRLPOOL 76c000899ae171a67abcaf2f4b154fc7c1b785e1714071ae7ffb3570b12a1853f41ac9af6d5f87ba8448531445cc089bf4ce83fd351f484ee6ba4e4d05b0eb77 DIST NVIDIA-Linux-x86-173.14.35-pkg0.run 14028887 SHA256 2d26100f7691047e424e1614deca0f1d862da5fa69e04e967f0c1dbb84ec729a SHA512 6f752a33ec69ec05979e2cc8754c59377d248675ab3ec2a55212a97ee6591e80942a44b96df612ed1b41eecd2c7a0e49f464dbe251a74345ca6e9b8650dc095c WHIRLPOOL b58e84c02e0e151555ba48dbe512d4f85de4852af6ed98e4e10d6cff1ce52f5a5f509752bdc28a31704a9a7d3325790ed236c37aa31622d096d39507653121c1 DIST NVIDIA-Linux-x86-295.71.run 34738880 SHA256 e02dc300324eb953278664acfe5f4c3e6e4b7e45cc7b1c700c79ff368f2c9e4d SHA512 430b884d8e510dd2a722d4893f85a4f8e4227e3cfcbdd802ef1edfd776d4f6ca487854e1fc509537285fdc38c2d87474e3e7c9ed728871527a06227fd4306e3c WHIRLPOOL c65573d09be775e29c889c86bf8fcce2442d5e9e3d6aaedd6e2147d7fd12cf3e9fedc736f5cd90116ea1dabc169f7a42aa70e34d0c93ab6d1862cba13acfd6c0 +DIST NVIDIA-Linux-x86-295.75.run 4772292 SHA256 99b555e61ae6d74f0724dcf81544a4b20777059b53aa510e7dcadc0d7ac907e3 SHA512 7785d8b887326018622806addef1d459237b2ad83382a87d7336f8bd2c6792d262de29c7251bfd8c6e030c05f1e93423ca11a74c86d039393ef00e797b695286 WHIRLPOOL 487fabb06d008414495d7ae1d2a0c213560de14374edc9ced195923a876cdc9c3d71773b6194bb211833585c3801c24482bd3512b5c8edd8e98f49b0a8b786d4 DIST NVIDIA-Linux-x86-302.17.run 34598956 SHA256 3525d3814361bd202998cea2962bb3d1bb3419206d02fd8ac30d61358c1a284f SHA512 e2ec7f9dcf566c9ed0085eaf45e40940830677f3d964077fb34681b6518a3a666fae6c7594e7eaea125c265db8ecf2087a3c309c0dc63ab9941d051ee73b252b WHIRLPOOL c81e3e8da372d3a217d0cf08f05d9aba468d75949d7a3c025595327aef7c61b882eb2bbef19373ebf2a79b5210f873cb7b13597fc6e9d3612791bec3ee1ca58a DIST NVIDIA-Linux-x86-304.37.run 39349097 SHA256 ab3174a0c9ab37a8fc3f4a8fc1121d72fbdd5e00ddecf44f7dbd84bb8d51b337 SHA512 82b38b6aabcce910bc5b9c4e80c7e1eeff0c969388e34bab30a6ae79fe58101b576bbdf3483bd9d846a39f124491ee3e4bb5c5592c3ee794b55f67f45d014719 WHIRLPOOL 79517d7258d5dd765c3d92fa2dab9f0d648e06c1d4db6799e87d888e7ce633f75004ec649712cadbab01f97f310d1c796f32b3ba697d60e1031890eedc40f2e6 DIST NVIDIA-Linux-x86-304.43.run 39363770 SHA256 7c7f483302a0a5a828b8ef1f5a4a53f8e16d3b73d0c17bd61ed0d843cad32c4c SHA512 4915735ff744eb9b47bbd5cf3419452cdff9d94101fae0202f4f9fc8ecd0c3550a785bda9b374022c441f26f34f0bf10a080a4b3dbe2187b36eb1814e3c66222 WHIRLPOOL 0e4f5de98587652f65199f4085eba41b0bf2f14b74a0d4baa59d8cc09e7b0b126e7e49ffa4f948b5f08585b107a3de646a235159f25c1c8fe7809a6c2f4b534c @@ -38,6 +41,7 @@ DIST NVIDIA-Linux-x86-304.51.run 39375416 SHA256 78fdf66377d996863fa56c9165745e4 DIST NVIDIA-Linux-x86-96.43.20-pkg0.run 10323541 SHA256 bc778062cf745ee4916de77a702f702312d33eeb3b6f379b63e4366fa5197517 SHA512 6fd8218dde3f3a3b49e83cd2e9df6aff502d17483ac5687c4f7009671a456bda008c12cde7d73a9d9999e6da777fe58f6093791cd7e7b10113c4a91deb1340fb WHIRLPOOL fd8e54f171bbf004eea9e7ea9bf0ad49386173e357221679f7144f6c9ec11d37d717f9b764a24a37bc10864b37e937a5dd7fd68319aa3e10edcdb835c4a2b1b0 DIST NVIDIA-Linux-x86_64-173.14.35-pkg2.run 19767039 SHA256 5af64646b098021b550242fe8eb03817f862af0442023545d1295027f589595f SHA512 c6f4b56f9154af06bfef888be94dd7bbfe48e67593e901da13bc60bb0bfbfc7d00995ca61820419259e80fbc898373d26ef04c309ed6af3b73d13dc1245cc5e7 WHIRLPOOL 3c321157821751dcc82781db6fd0b9df6697d688280763ebfb11d8c004df1d5d7f975b70db9271797bfbe30d525dbe9b9a9987aeb272d854cba5a974c04d7584 DIST NVIDIA-Linux-x86_64-295.71.run 58537709 SHA256 956c7660bff61c07a99cea2130e73baf1574907008d41d9462147aad6b83dcc6 SHA512 7eb21240ca44a648c081e38aab3ae6203ca70f2dd4ab187c67ef1f3cff9ab848f4040a640dfbd1f146135b37b98c6976943ff6caef8806a25784ff2263d23e8d WHIRLPOOL ea85d8fe42b15f7a7933b8dd3e31a48549a7dd411f21f60b69986fda8b2b4b53c6148194227097be6bc5323b448a5a8c452c784591e32281be576403e3caa435 +DIST NVIDIA-Linux-x86_64-295.75.run 58548201 SHA256 b7ae04da001ade59b87abd15e7786b3f0fc75a312368fa466f6c0400e803debd SHA512 2e8b932d1e9ab9d4585fee5e7ee28f4aa1ba61628e8d8292599839ef8f7651c82dea77c438a516452aaaa565bce32455764f21911f6c88ed294ff6d7920004a0 WHIRLPOOL bda10ba441d273bc5863ea038f0a6da34fade860f7b00ef3c1dcf7914e4575fac97d324304f0f78892597dd812a9f6244fc09d0b16beb90314fb3099cb9c501f DIST NVIDIA-Linux-x86_64-302.17.run 58653717 SHA256 5cf9059ebb70ade99e5621c0a605ed5bbb6c274f7c52a7ef40342ceb41b381fc SHA512 2e945eab66328e0fd71bb5c428ada87fc210748e71605f1304d0b37abe92ee247834a22ce0a58e14bb799ee99e704dcf5daa17c036a6648445c30a90d30a25b3 WHIRLPOOL 49c141ad09ae74a8caef2e25d0b6b750a02f6b121b8951ef53ca43e6863f7bba243b380f9c8180b5d0f5fda6b009a32252e3972cd61c7f7626a5841e65541c82 DIST NVIDIA-Linux-x86_64-304.37.run 64075318 SHA256 cae75158047d0b97ea48f269fd2903a6731f53b978a1065720343436c97ca9c2 SHA512 03ce52ad2f3ba232a9c9665ece40611a249ebd0bd74505adefe758064027f0d4afb4ea4e2411372183f46e372298d974c16708735f3d2b5bafe0038716d77bbc WHIRLPOOL 9a8f299db7e47a603805ce383bb30be520aa63acf91949f6ece7a8cac638eaf01d5e40b5f6279d2e243020b8d9c9af1ca94c6ca20c1ae5fa1ab3133bb56b4ed9 DIST NVIDIA-Linux-x86_64-304.43.run 64094885 SHA256 76946e2fe4160cfd59e7a75fefd174a9c7e71c51cca6b88c40a16cf35947b777 SHA512 ff34f8d1aceb9190835de7bf9ae25cf973083ae747b79c9a18b0f5f01abc80ebe6a7355d0c17e40de0c8497f43a8041d524a666fc18aca324ad521bef5163f97 WHIRLPOOL c4ac780efacadc389e477f9c289fc5158826bf231d285b0c2848c4a797871575575453b08207ca24cb27afa18cc0c9eddce8b92aee8d35fdd2ab31a930b9d7ed @@ -46,11 +50,12 @@ DIST NVIDIA-Linux-x86_64-304.51.run 64118811 SHA256 28654ff26923660de72964880541 DIST NVIDIA-Linux-x86_64-96.43.20-pkg2.run 14572507 SHA256 562107a262e250b836966e29851628f6162ee2857d53252221c780d9b201de18 SHA512 ca89961463bc705b1aa0e5fcbb284317e60e455d444035ba8f6a44cb3884f3a4b4c98ed5a37465d6f70a0eb6578a7d865b25f15a6b6f48bdbcb5aaca6e541623 WHIRLPOOL 873e32237ee1441625c1335e1d325649f139306a49bc87fc25afe81ec37671984a2f0bb904b2d7b435d5ceb52572740bb910fac32853627ce5583655178674dc EBUILD nvidia-drivers-173.14.35.ebuild 16668 SHA256 50d53cbce419e474e7e6611d8d8a96988d4863f0934cca843e50d3ba857b0840 SHA512 ac31942bf15278e4ae90376a55e06925c639592325b34cac7d3df386ef863bbaa8d9b554cfc6431ab72777440c08387af5ffd8bf03a711dd34596e9553c5f073 WHIRLPOOL 145bbd21f812553547065bcaf5f2e264de5b05b72bbd068fc0498f0ecc9188993d293c086680b9a4e19479b62d88cab727e12f02666d13319bcbe85b5f7a5b68 EBUILD nvidia-drivers-295.71.ebuild 18409 SHA256 57c7941eeaf10cca5805ce2d15ee2c8ea12007a1dedf08ad4e9d3b61fabd9872 SHA512 e7dd6c2138f73c2e12412cc1e36e3c1986c609165f03b40153f5cfd9ca9b85b339facf6f043683cb6f9aa5e65811d67d37a76bfcb0cfbed96e1c2e7e42a91886 WHIRLPOOL 2186a695dfb64621e00d60da84fba7695a26c6e256c95a03ec976b962ce311ec4e059f40ed731e87485c71c9913e10d27a30122de8101141ccd08f30fa6fa1b4 +EBUILD nvidia-drivers-295.75.ebuild 18399 SHA256 8613d0372bcc8af97e5901fd9b61bd5ced42564ffef0728bf685dd59d185b077 SHA512 82e8d7b8abc1a9f173d3c858963e4910519a3f718de13e1fb69624863c9bd5270a1fd12a479f79ac0f611113ad81239ef06a3e4e87f2dfd6e8e2da32bb5092e8 WHIRLPOOL b777639f5e065e5254251cd60b1723b103f30d02e735a7c1db98a7b22e31f98a959d9c6e685b0edbabff769d17d01d7eb9263550f4071f444da0c68e3f2eccd5 EBUILD nvidia-drivers-302.17-r1.ebuild 18698 SHA256 35904addec73863f63bb8fc43c5af5e2fb64d045af5dfd398c5eadbd9895a023 SHA512 841cab5ffa46133e92747bc6ed1c6da47f4c7bbc17acfc2eb69f6cf5fc8ac117c65156952e88d1c54448d81f139232736a74dfcdb4bab1c33aecb87f088867f1 WHIRLPOOL 6344ce83089745633704607ddb52f0f9a3ed8006b5c3c28a2ffa98d5856a093c6a9657832e49205da2ab5d39511ae863ed2fe1ff3cc3303debe0e38d2c27aca9 EBUILD nvidia-drivers-304.37-r1.ebuild 12465 SHA256 e612f041c52a8d2cf227974cf69f147de3e511b2412a1f42a7070bf8ec1000bf SHA512 c7bb2e905148973665f4f21dddbae6653cd69326bf753b7a28986eed62188707e64590296a1105c73f5a38fcdfc5ccf2ea666ea3d208b8e85973d638b1427180 WHIRLPOOL 94a9b5758051a27e5e98b1e9e5d94706a17bd8dae5b148825c14ab0b472f9a87bb890d6c797b5aa510457dcfe0936d70630fee6996bd3ea4e877df5ab1b29815 EBUILD nvidia-drivers-304.43.ebuild 12757 SHA256 dd68253051edbd209519bba87930a78ed4aa66f5f82452540274da42464d6f17 SHA512 6e82c538c2d92d960f89b810cac995dc65d851dfac5c1947c1acc08e3fc26fd8ba8046e7874809bb475cdb09df7348aa5e8df8a7be05ab3628ede996c44fed4f WHIRLPOOL b99001ae780f87967244bca11a0d39eea6888f8edb447788034dd7301d5b5cfb54b4f6b2457dff8acc3f066b4c3183d83740b58041ba39363dd8fd2399c57e00 EBUILD nvidia-drivers-304.48.ebuild 12810 SHA256 ab5a76e604b7cef8bfe5e477633a7c1afc2075664a3d747ecff2d6086632b759 SHA512 9dda2d0a34e37256e553dc5e384e806f8e51fff3541bc4201bd01065adc63d6888c2e5220499b0204ca0985a6a96f6e7f2351f09b21757e891918979dd1bfa5c WHIRLPOOL fd35c96adcdeb5b284d8986792e1b73c3fb5426ed964e418c20d123a8c8e7303b7cab26d25ef11be7d7f7fafc6ad64754975954f0f9dd1a2d94f8b2a459ab2c3 EBUILD nvidia-drivers-304.51.ebuild 12808 SHA256 26cd467b0002c42f0ed5be5ae52ecee2a3324e082fbaab997509debb1a818f76 SHA512 e7a6a31a61430bd39d236b8898e93e03569db891be61a4755af659ed2e9dbc58f4bfe6fd62e96a472df1672ee15187d1ff13ed50940d9334912af0349f67043d WHIRLPOOL a2666bee4110771cf78fb037e996cf3d12974571c89e6a02150c6b8d722af0653114636e5d5df4614870818592c34af61286e8227f4a625863fb77fdd371d6ae EBUILD nvidia-drivers-96.43.20.ebuild 15283 SHA256 dc5391522b493ae6fd04526f41ef1d78cc43d4bc063f06a2f9f04fa6f996bf16 SHA512 f5c198dcadc904d8e96f0071dbf1449a418b147b132b697b110fa9b313cb6678e8c3a3b496c8654655b9f3eb03360742a11b5b689062c4b653baa750d670e21f WHIRLPOOL 0224ba1195f9a231036b8f74bc291776d4eda966f82b7eb7a5f81744d989494d26b8e86ac83e866104bf847f3fded537dd386c9b11f897af3d92ee37881eaa0b -MISC ChangeLog 84533 SHA256 cb1ec733b7202ac4e1251868b5d06b5f5b74a8c583b9e59461b0b2754add2e98 SHA512 b82f3a883f7bfc607edf82d4375a0fc542944973acfbc509bb62eff7ec9f2a89de923713941137919ab469bca140303753eaca6f7e66744b5155c4d705bbab07 WHIRLPOOL 2f84b2517d82c9aec70a279f8e81e64bebbb2c9909d1200533f9c4a8c452bfac82356d19500c4c58f020488901d943856f0ed8643e6ad23fe1b27647a7b5c56e +MISC ChangeLog 84691 SHA256 9b52382aaf722eef6dc5793dd662fa450332243ead1c358908ddae68939ae5a4 SHA512 abf91160b9b372fc80bc3780fd72fead65f4078428db6ca1e48f1239606b13b80c18cb9d54a62354862aa5b0703f2213021af87a1083a85c8b2d06c685ba87f4 WHIRLPOOL 84f626f6cf8efd7e0c96ef317ba573a429ff0ee8db54af4cf4427b351cf411395895dad57cbc136490d323de477b5ea478b50e297ea9303367e2369d1755285e MISC metadata.xml 937 SHA256 807dcc6ae2775af89d15e2253a264ea0d24803bd876f93519d9dfa46abcd8c80 SHA512 85a7324e9a065c9bd003e1f9067adf5ad5408cabd5e37480422066fef392da841622aa6049aba0fabe249cc7e5014d4cb8435e4ad8507645802fad48f2021af9 WHIRLPOOL e87f8890be0329cffefc58b491cde96920344b0cfec5b04589dfd49f3805250c6ff7ecff2e8709fc930b7b77a32ff65ca530596ea521aaf9e97b6f82ccbc6e01 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-295.75.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-295.75.ebuild new file mode 100644 index 000000000000..d01928df4c79 --- /dev/null +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-295.75.ebuild @@ -0,0 +1,584 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-295.75.ebuild,v 1.1 2012/09/30 03:11:08 cardoe Exp $ + +EAPI="2" + +inherit eutils flag-o-matic linux-mod multilib nvidia-driver portability \ + unpacker user versionator + +X86_NV_PACKAGE="NVIDIA-Linux-x86-${PV}" +AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${PV}" +X86_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86-${PV}" +AMD64_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86_64-${PV}" + +DESCRIPTION="NVIDIA X11 driver and GLX libraries" +HOMEPAGE="http://www.nvidia.com/" +SRC_URI="x86? ( http://us.download.nvidia.com/XFree86/Linux-x86/${PV}/${X86_NV_PACKAGE}.run ) + amd64? ( http://us.download.nvidia.com/XFree86/Linux-x86_64/${PV}/${AMD64_NV_PACKAGE}.run ) + amd64-fbsd? ( http://us.download.nvidia.com/XFree86/FreeBSD-x86_64/${PV}/${AMD64_FBSD_NV_PACKAGE}.tar.gz ) + x86-fbsd? ( http://us.download.nvidia.com/XFree86/FreeBSD-x86/${PV}/${X86_FBSD_NV_PACKAGE}.tar.gz )" + +LICENSE="NVIDIA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="acpi multilib kernel_FreeBSD kernel_linux +tools" +RESTRICT="strip" +EMULTILIB_PKG="true" + +COMMON="<x11-base/xorg-server-1.12.99 + kernel_linux? ( >=sys-libs/glibc-2.6.1 ) + multilib? ( app-emulation/emul-linux-x86-xlibs ) + >=app-admin/eselect-opengl-1.0.9 + app-admin/eselect-opencl" +DEPEND="${COMMON} + kernel_linux? ( virtual/linux-sources )" +RDEPEND="${COMMON} + x11-libs/libXvMC + acpi? ( sys-power/acpid ) + tools? ( + dev-libs/atk + dev-libs/glib + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXext + x11-libs/pango[X] + )" +PDEPEND=">=x11-libs/libvdpau-0.3-r1" + +QA_TEXTRELS_x86=" + usr/lib/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0 + usr/lib/libXvMCNVIDIA.so.${PV} + usr/lib/libcuda.so.${PV} + usr/lib/libnvcuvid.so.${PV} + usr/lib/libnvidia-cfg.so.${PV} + usr/lib/libnvidia-compiler.so.${PV} + usr/lib/libnvidia-glcore.so.${PV} + usr/lib/libnvidia-ml.so.${PV} + usr/lib/libvdpau_nvidia.so.${PV} + usr/lib/opengl/nvidia/extensions/libglx.so.${PV} + usr/lib/opengl/nvidia/lib/libGL.so.${PV} + usr/lib/opengl/nvidia/lib/libnvidia-tls.so.${PV} + usr/lib/xorg/modules/drivers/nvidia_drv.so" + +QA_TEXTRELS_x86_fbsd="boot/modules/nvidia.ko + usr/lib/opengl/nvidia/lib/libGL.so.1 + usr/lib/libnvidia-glcore.so.1 + usr/lib/libvdpau_nvidia.so.1 + usr/lib/libnvidia-cfg.so.1 + usr/lib/opengl/nvidia/extensions/libglx.so.1 + usr/lib/xorg/modules/drivers/nvidia_drv.so" + +QA_TEXTRELS_amd64="usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.${PV} + usr/lib32/libnvidia-glcore.so.${PV} + usr/lib32/libvdpau_nvidia.so.${PV} + usr/lib32/opengl/nvidia/lib/libGL.so.${PV} + usr/lib32/libcuda.so.${PV} + usr/lib32/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0 + usr/lib32/libnvidia-compiler.so.${PV}" + +QA_EXECSTACK_x86="usr/lib/opengl/nvidia/lib/libGL.so.${PV} + usr/lib/libnvidia-glcore.so.${PV} + usr/lib/opengl/nvidia/extensions/libglx.so.${PV} + usr/lib64/libXvMCNVIDIA.so.${PV} + usr/lib/libXvMCNVIDIA.a:NVXVMC.o + usr/lib/libvdpau_nvidia.so.${PV} + usr/lib/libnvidia-compiler.so.${PV} + usr/lib/libcuda.so.${PV} + usr/lib/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0" + +QA_EXECSTACK_amd64="usr/lib32/libnvidia-glcore.so.${PV} + usr/lib32/opengl/nvidia/lib/libGL.so.${PV} + usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.${PV} + usr/lib32/libvdpau_nvidia.so.${PV} + usr/lib32/libcuda.so.${PV} + usr/lib32/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0 + usr/lib32/libnvidia-compiler.so.${PV} + usr/lib64/libXvMCNVIDIA.a:NVXVMC.o + usr/lib64/libnvidia-cfg.so.${PV} + usr/lib64/libnvidia-ml.so.${PV} + usr/lib64/libvdpau_nvidia.so.${PV} + usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.${PV} + usr/lib64/opengl/nvidia/lib/libGL.so.${PV} + usr/lib64/libnvidia-glcore.so.${PV} + usr/lib64/opengl/nvidia/extensions/libglx.so.${PV} + usr/lib64/libXvMCNVIDIA.so.${PV} + usr/lib64/libcuda.so.${PV} + usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0 + usr/lib64/libnvidia-compiler.so.${PV} + usr/lib64/xorg/modules/drivers/nvidia_drv.so + opt/bin/nvidia-smi + opt/bin/nvidia-xconfig + opt/bin/nvidia-debugdump + opt/bin/nvidia-settings" + +QA_WX_LOAD_x86="usr/lib/libnvidia-glcore.so.${PV} + usr/lib/opengl/nvidia/lib/libGL.so.${PV} + usr/lib/opengl/nvidia/extensions/libglx.so.${PV} + usr/lib/libXvMCNVIDIA.a + usr/lib64/libXvMCNVIDIA.so.${PV}" + +QA_WX_LOAD_amd64="usr/lib32/opengl/nvidia/lib/libGL.so.${PV} + usr/lib32/libnvidia-glcore.so.${PV} + usr/lib64/opengl/nvidia/lib/libGL.so.${PV} + usr/lib64/libnvidia-glcore.so.${PV} + usr/lib64/opengl/nvidia/extensions/libglx.so.${PV} + usr/lib64/libXvMCNVIDIA.so.${PV}" + +QA_SONAME_x86="usr/lib/libnvidia-compiler.so.${PV}" + +QA_SONAME_amd64="usr/lib64/libnvidia-compiler.so.${PV} + usr/lib32/libnvidia-compiler.so.${PV}" + +QA_DT_HASH_amd64="usr/lib32/libcuda.so.${PV} + usr/lib32/opengl/nvidia/lib/libGL.so.${PV} + usr/lib32/libnvidia-glcore.so.${PV} + usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.${PV} + usr/lib32/libvdpau_nvidia.so.${PV} + usr/lib32/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0 + usr/lib32/libnvidia-compiler.so.${PV} + usr/lib64/libXvMCNVIDIA.so.${PV} + usr/lib64/libcuda.so.${PV} + usr/lib64/libnvidia-cfg.so.${PV} + usr/lib64/libnvidia-glcore.so.${PV} + usr/lib64/libnvidia-ml.so.${PV} + usr/lib64/opengl/nvidia/lib/libGL.so.${PV} + usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.${PV} + usr/lib64/opengl/nvidia/extensions/libglx.so.${PV} + usr/lib64/xorg/modules/drivers/nvidia_drv.so + usr/lib64/libvdpau_nvidia.so.${PV} + usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0 + usr/lib64/libnvidia-compiler.so.${PV} + usr/lib64/libnvcuvid.so.${PV} + opt/bin/nvidia-smi + opt/bin/nvidia-xconfig + opt/bin/nvidia-debugdump + opt/bin/nvidia-settings" + +QA_DT_HASH_x86="usr/lib/libcuda.so.${PV} + usr/lib/libnvidia-cfg.so.${PV} + usr/lib/libnvidia-glcore.so.${PV} + usr/lib/libnvidia-ml.so.${PV} + usr/lib/opengl/nvidia/lib/libGL.so.${PV} + usr/lib/opengl/nvidia/lib/libnvidia-tls.so.${PV} + usr/lib/opengl/nvidia/extensions/libglx.so.${PV} + usr/lib/xorg/modules/drivers/nvidia_drv.so + usr/lib/libXvMCNVIDIA.so.${PV} + usr/lib/libvdpau_nvidia.so.${PV} + usr/lib/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0 + usr/lib/libnvidia-compiler.so.${PV} + usr/lib/libnvcuvid.so.${PV} + opt/bin/nvidia-smi + opt/bin/nvidia-xconfig + opt/bin/nvidia-debugdump + opt/bin/nvidia-settings" + +S=${WORKDIR}/ + +mtrr_check() { + ebegin "Checking for MTRR support" + linux_chkconfig_present MTRR + eend $? + + if [[ $? -ne 0 ]] ; then + 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 +} + +lockdep_check() { + if linux_chkconfig_present LOCKDEP; then + eerror "You've enabled LOCKDEP -- lock tracking -- in the kernel." + eerror "Unfortunately, this option exports the symbol " + eerror "'lockdep_init_map' as GPL-only which will prevent " + eerror "${P} from compiling." + eerror "Please make sure the following options have been unset:" + eerror + eerror " Kernel hacking --->" + eerror " [ ] Lock debugging: detect incorrect freeing of live locks" + eerror " [ ] Lock debugging: prove locking correctness" + eerror " [ ] Lock usage statistics" + eerror "in 'menuconfig'" + die "LOCKDEP enabled" + fi +} + +pkg_setup() { + # try to turn off distcc and ccache for people that have a problem with it + export DISTCC_DISABLE=1 + export CCACHE_DISABLE=1 + + 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 kernel_linux; then + linux-mod_pkg_setup + MODULE_NAMES="nvidia(video:${S}/kernel)" + BUILD_PARAMS="IGNORE_CC_MISMATCH=yes V=1 SYSSRC=${KV_DIR} \ + SYSOUT=${KV_OUT_DIR} CC=$(tc-getBUILD_CC)" + # linux-mod_src_compile calls set_arch_to_kernel, which + # sets the ARCH to x86 but NVIDIA's wrapping Makefile + # expects x86_64 or i386 and then converts it to x86 + # later on in the build process + BUILD_FIXES="ARCH=$(uname -m | sed -e 's/i.86/i386/')" + mtrr_check + lockdep_check + fi + + # On BSD userland it wants real make command + use userland_BSD && MAKE="$(get_bmake)" + + export _POSIX2_VERSION="199209" + + # Since Nvidia ships 3 different series of drivers, we need to give the user + # some kind of guidance as to what version they should install. This tries + # to point the user in the right direction but can't be perfect. check + # nvidia-driver.eclass + nvidia-driver-check-warning + + # set variables to where files are in the package structure + if use kernel_FreeBSD; then + use x86-fbsd && S="${WORKDIR}/${X86_FBSD_NV_PACKAGE}" + use amd64-fbsd && S="${WORKDIR}/${AMD64_FBSD_NV_PACKAGE}" + NV_DOC="${S}/doc" + NV_EXEC="${S}/obj" + NV_LIB="${S}/obj" + NV_SRC="${S}/src" + NV_MAN="${S}/x11/man" + NV_X11="${S}/obj" + NV_X11_DRV="${NV_X11}" + NV_X11_EXT="${NV_X11}" + NV_SOVER=1 + elif use kernel_linux; then + NV_DOC="${S}" + NV_EXEC="${S}" + NV_LIB="${S}" + NV_SRC="${S}/kernel" + NV_MAN="${S}" + NV_X11="${S}" + NV_X11_DRV="${NV_X11}" + NV_X11_EXT="${NV_X11}" + NV_SOVER=${PV} + else + die "Could not determine proper NVIDIA package" + fi +} + +src_unpack() { + if use kernel_linux && kernel_is lt 2 6 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 + + if ! use kernel_FreeBSD; then + cd "${S}" + unpack_makeself + else + unpack ${A} + fi +} + +src_prepare() { + # Please add a brief description for every added patch + use kernel_FreeBSD && cd doc + + if use kernel_linux; then + # Quiet down warnings the user does not need to see + sed -i \ + -e 's:-Wsign-compare::g' \ + "${NV_SRC}"/Makefile.kbuild + + # If greater than 2.6.5 use M= instead of SUBDIR= + convert_to_m "${NV_SRC}"/Makefile.kbuild + fi + cat <<- EOF > "${S}"/nvidia.icd + /usr/$(get_libdir)/libcuda.so + EOF + + # Allow user patches so they can support RC kernels and whatever else + epatch_user +} + +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. + + cd "${NV_SRC}" + if use kernel_FreeBSD; then + MAKE="$(get_bmake)" CFLAGS="-Wno-sign-compare" emake CC="$(tc-getCC)" \ + LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die + elif use kernel_linux; then + linux-mod_src_compile + fi +} + +src_install() { + if use kernel_linux; then + linux-mod_src_install + + VIDEOGROUP="$(egetent group video | cut -d ':' -f 3)" + if [ -z "$VIDEOGROUP" ]; then + eerror "Failed to determine the video group gid." + die "Failed to determine the video group gid." + fi + + # Add the aliases + [ -f "${FILESDIR}/nvidia-169.07" ] || die "nvidia missing in FILESDIR" + sed -e 's:PACKAGE:'${PF}':g' \ + -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia-169.07 > \ + "${WORKDIR}"/nvidia + insinto /etc/modprobe.d + newins "${WORKDIR}"/nvidia nvidia.conf || die + + # Ensures that our device nodes are created when not using X + exeinto /lib/udev + doexe "${FILESDIR}"/nvidia-udev.sh + + insinto /lib/udev/rules.d + newins "${FILESDIR}"/nvidia.udev-rule 99-nvidia.rules + elif use kernel_FreeBSD; then + if use x86-fbsd; then + insinto /boot/modules + doins "${S}/src/nvidia.kld" || die + fi + + exeinto /boot/modules + doexe "${S}/src/nvidia.ko" || die + fi + + # NVIDIA kernel <-> userspace driver config lib + dolib.so ${NV_LIB}/libnvidia-cfg.so.${NV_SOVER} || \ + die "failed to install libnvidia-cfg" + dosym libnvidia-cfg.so.${NV_SOVER} \ + /usr/$(get_libdir)/libnvidia-cfg.so.1 || \ + die "failed to create libnvidia-cfg.so symlink" + dosym libnvidia-cfg.so.1 \ + /usr/$(get_libdir)/libnvidia-cfg.so || \ + die "failed to create libnvidia-cfg.so symlink" + + if use kernel_linux; then + # NVIDIA monitoring library + dolib.so ${NV_LIB}/libnvidia-ml.so.${NV_SOVER} || \ + die "failed to install libnvidia-ml" + dosym libnvidia-ml.so.${NV_SOVER} \ + /usr/$(get_libdir)/libnvidia-ml.so.1 || \ + die "failed to create libnvidia-ml.so symlink" + dosym libnvidia-ml.so.1 \ + /usr/$(get_libdir)/libnvidia-ml.so || \ + die "failed to create libnvidia-ml.so symlink" + + # NVIDIA video decode <-> CUDA + dolib.so ${NV_LIB}/libnvcuvid.so.${NV_SOVER} || \ + die "failed to install libnvcuvid.so" + dosym libnvcuvid.so.${NV_SOVER} \ + /usr/$(get_libdir)/libnvcuvid.so.1 || \ + die "failed to create libnvcuvid.so symlink" + dosym libnvcuvid.so.1 \ + /usr/$(get_libdir)/libnvcuvid.so || \ + die "failed to create libnvcuvid.so symlink" + fi + + # Xorg DDX driver + insinto /usr/$(get_libdir)/xorg/modules/drivers + doins ${NV_X11_DRV}/nvidia_drv.so || die "failed to install nvidia_drv.so" + + # Xorg GLX driver + insinto /usr/$(get_libdir)/opengl/nvidia/extensions + doins ${NV_X11_EXT}/libglx.so.${NV_SOVER} || \ + die "failed to install libglx.so" + dosym libglx.so.${NV_SOVER} \ + /usr/$(get_libdir)/opengl/nvidia/extensions/libglx.so || \ + die "failed to create libglx.so symlink" + + # XvMC driver + dolib.a ${NV_X11}/libXvMCNVIDIA.a || \ + die "failed to install libXvMCNVIDIA.so" + dolib.so ${NV_X11}/libXvMCNVIDIA.so.${NV_SOVER} || \ + die "failed to install libXvMCNVIDIA.so" + dosym libXvMCNVIDIA.so.${NV_SOVER} \ + /usr/$(get_libdir)/libXvMCNVIDIA.so.1 || \ + die "failed to create libXvMCNVIDIA.so symlink" + dosym libXvMCNVIDIA.so.1 /usr/$(get_libdir)/libXvMCNVIDIA.so || \ + die "failed to create libXvMCNVIDIA.so symlink" + dosym libXvMCNVIDIA.so.${NV_SOVER} \ + /usr/$(get_libdir)/libXvMCNVIDIA_dynamic.so.1 || \ + die "failed to create libXvMCNVIDIA_dynamic.so symlink" + + # OpenCL ICD for NVIDIA + if use kernel_linux; then + insinto /etc/OpenCL/vendors + doins nvidia.icd + fi + + # Documentation + dohtml ${NV_DOC}/html/* + if use kernel_FreeBSD; then + dodoc "${NV_DOC}/README" + doman "${NV_MAN}/nvidia-xconfig.1" + doman "${NV_MAN}/nvidia-settings.1" + else + # Docs + newdoc "${NV_DOC}/README.txt" README + dodoc "${NV_DOC}/NVIDIA_Changelog" + doman "${NV_MAN}/nvidia-smi.1.gz" + doman "${NV_MAN}/nvidia-xconfig.1.gz" + doman "${NV_MAN}/nvidia-settings.1.gz" + fi + + # Helper Apps + exeinto /opt/bin/ + doexe ${NV_EXEC}/nvidia-xconfig || die + use kernel_linux && { doexe ${NV_EXEC}/nvidia-debugdump || die ; } + if use tools; then + doexe ${NV_EXEC}/nvidia-settings || die + fi + doexe ${NV_EXEC}/nvidia-bug-report.sh || die + if use kernel_linux; then + doexe ${NV_EXEC}/nvidia-smi || die + fi + + # Desktop entries for nvidia-settings + if use tools && use kernel_linux ; then + sed -e 's:__UTILS_PATH__:/opt/bin:' \ + -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' \ + -i "${NV_EXEC}/nvidia-settings.desktop" + newmenu ${NV_EXEC}/nvidia-settings.desktop nvidia-settings-opt.desktop + fi + + doicon ${NV_EXEC}/nvidia-settings.png + + if has_multilib_profile && use multilib ; then + local OABI=${ABI} + for ABI in $(get_install_abis) ; do + src_install-libs + done + ABI=${OABI} + unset OABI + else + src_install-libs + fi + + is_final_abi || die "failed to iterate through all ABIs" +} + +# Install nvidia library: +# the first parameter is the place where to install it +# the second parameter is the base name of the library +# the third parameter is the provided soversion +donvidia() { + dodir $1 + exeinto $1 + + libname=$(basename $2) + + doexe $2.$3 || die "failed to install $2" + dosym ${libname}.$3 $1/${libname} || die "failed to symlink $2" + [[ $3 != "1" ]] && dosym ${libname}.$3 $1/${libname}.1 +} + +src_install-libs() { + local inslibdir=$(get_libdir) + local NV_ROOT="/usr/${inslibdir}/opengl/nvidia" + local CL_ROOT=/usr/${inslibdir}/OpenCL/vendors/nvidia + local libdir= sover= + + if use kernel_linux; then + if has_multilib_profile && [[ ${ABI} == "x86" ]] ; then + libdir=32 + else + libdir=. + fi + sover=${PV} + else + libdir=obj + # on FreeBSD it has just .1 suffix + sover=1 + fi + + # The GLX libraries + donvidia ${NV_ROOT}/lib ${libdir}/libGL.so ${sover} + donvidia /usr/${inslibdir} ${libdir}/libnvidia-glcore.so ${sover} + if use kernel_FreeBSD; then + donvidia ${NV_ROOT}/lib ${libdir}/libnvidia-tls.so ${sover} + else + donvidia ${NV_ROOT}/lib ${libdir}/tls/libnvidia-tls.so ${sover} + fi + + # VDPAU + donvidia /usr/${inslibdir} ${libdir}/libvdpau_nvidia.so ${sover} + + # CUDA & OpenCL + if use kernel_linux; then + donvidia /usr/${inslibdir} ${libdir}/libcuda.so ${sover} + donvidia /usr/${inslibdir} ${libdir}/libnvidia-compiler.so ${sover} + donvidia ${CL_ROOT} ${libdir}/libOpenCL.so 1.0.0 + #dosym libOpenCL.so.1 ${CL_ROOT}/libOpenCL.so + fi +} + +pkg_preinst() { + use kernel_linux && linux-mod_pkg_preinst + + # Clean the dynamic 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() { + use kernel_linux && linux-mod_pkg_postinst + + # Switch to the nvidia implementation + "${ROOT}"/usr/bin/eselect opengl set --use-old nvidia + "${ROOT}"/usr/bin/eselect opencl set --use-old nvidia + + elog "You must be in the video group to use the NVIDIA device" + elog "For more info, read the docs at" + elog "http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6" + elog + elog "This ebuild installs a kernel module and X driver. Both must" + elog "match explicitly in their version. This means, if you restart" + elog "X, you must modprobe -r nvidia before starting it back up" + elog + elog "To use the NVIDIA GLX, run \"eselect opengl set nvidia\"" + elog + elog "To use the NVIDIA CUDA/OpenCL, run \"eselect opencl set nvidia\"" + elog + elog "NVIDIA has requested that any bug reports submitted have the" + elog "output of /opt/bin/nvidia-bug-report.sh included." + elog + if ! use tools; then + elog "USE=tools controls whether the nvidia-settings application" + elog "is installed. If you would like to use it, enable that" + elog "flag and re-emerge this ebuild. Optionally you can install" + elog "media-video/nvidia-settings" + fi +} + +pkg_prerm() { + "${ROOT}"/usr/bin/eselect opengl set --use-old xorg-x11 +} + +pkg_postrm() { + use kernel_linux && linux-mod_pkg_postrm + "${ROOT}"/usr/bin/eselect opengl set --use-old xorg-x11 +} |