diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-09-18 00:22:54 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-09-18 00:22:54 +0000 |
commit | 055ecafcaf3fad4fcffc6f63f037cd2bc1d8ca95 (patch) | |
tree | 7fde475397485bab5b2e57c95bc1f3b89c9c5f60 /x11-drivers | |
parent | Cleanup (diff) | |
download | gentoo-2-055ecafcaf3fad4fcffc6f63f037cd2bc1d8ca95.tar.gz gentoo-2-055ecafcaf3fad4fcffc6f63f037cd2bc1d8ca95.tar.bz2 gentoo-2-055ecafcaf3fad4fcffc6f63f037cd2bc1d8ca95.zip |
Cleanup
(Portage version: 2.1.2_pre1)
(Unsigned Manifest commit)
Diffstat (limited to 'x11-drivers')
59 files changed, 4 insertions, 7681 deletions
diff --git a/x11-drivers/ati-drivers/Manifest b/x11-drivers/ati-drivers/Manifest index 25de4d447b55..2bbc84ff991a 100644 --- a/x11-drivers/ati-drivers/Manifest +++ b/x11-drivers/ati-drivers/Manifest @@ -2,34 +2,6 @@ AUX 09ati 75 RMD160 f4b42cfdc7deaa6fe7618e3506860a06a75de435 SHA1 01cac55ba02710 MD5 5ac06946904a0282c5da617bda2a8f6b files/09ati 75 RMD160 f4b42cfdc7deaa6fe7618e3506860a06a75de435 files/09ati 75 SHA256 5daa70f3e4c19f2b006bc7b2b22abde5404c3b498485b9ffac428eb458c32134 files/09ati 75 -AUX 8.8.25-smp.patch 376 RMD160 1cdbb501940e54baa5b3ecec3f1100c83d944b97 SHA1 715c3736702d3078ab60c5724ec5959148ec211d SHA256 9505ac06d77ba0fdd30c93b8b59d01fa2a3e585702dc5a728dd85b02a49c69dd -MD5 32c54a887820a2712b641217c3b54272 files/8.8.25-smp.patch 376 -RMD160 1cdbb501940e54baa5b3ecec3f1100c83d944b97 files/8.8.25-smp.patch 376 -SHA256 9505ac06d77ba0fdd30c93b8b59d01fa2a3e585702dc5a728dd85b02a49c69dd files/8.8.25-smp.patch 376 -AUX 8.8.25-via-amd64.patch 1198 RMD160 12b795f41f3f81ded2bbb1bb470fbef1807c0b0e SHA1 16ee3e992e2091fc30cf40c0692deb5ea79893d5 SHA256 ac416243670c5c7d3f66162cf6cee50823def0e9cd3b19d7470cad965c82a744 -MD5 f1b11573ad27da023fce7d7a67a37861 files/8.8.25-via-amd64.patch 1198 -RMD160 12b795f41f3f81ded2bbb1bb470fbef1807c0b0e files/8.8.25-via-amd64.patch 1198 -SHA256 ac416243670c5c7d3f66162cf6cee50823def0e9cd3b19d7470cad965c82a744 files/8.8.25-via-amd64.patch 1198 -AUX ati-drivers-8.20.8-linux-2.6.15.patch 522 RMD160 d36a5b6cc84e2e69d8057c3cd15a3aea1f3d613a SHA1 6a89927d2d33424e28635f23521acd2739ce653f SHA256 0e5a1cf04bd4d45be694e6df82a5c784fa5e4257ea738a98178168cfb1808999 -MD5 193e384c325f1483353da6ea4ca87da3 files/ati-drivers-8.20.8-linux-2.6.15.patch 522 -RMD160 d36a5b6cc84e2e69d8057c3cd15a3aea1f3d613a files/ati-drivers-8.20.8-linux-2.6.15.patch 522 -SHA256 0e5a1cf04bd4d45be694e6df82a5c784fa5e4257ea738a98178168cfb1808999 files/ati-drivers-8.20.8-linux-2.6.15.patch 522 -AUX ati-drivers-8.21.7-linux-2.6.15.patch 447 RMD160 4c2f538cda5a52f8696a99cc722137b08d86fcea SHA1 88cd45f391f957c928f73f9ce4075e5d8c296d2f SHA256 134172104d1e7bcf056e723b05eff9d16745b49a4911a765666f4f5c81c59c51 -MD5 12b0f155a9a1089d55b85d9c89c2ef86 files/ati-drivers-8.21.7-linux-2.6.15.patch 447 -RMD160 4c2f538cda5a52f8696a99cc722137b08d86fcea files/ati-drivers-8.21.7-linux-2.6.15.patch 447 -SHA256 134172104d1e7bcf056e723b05eff9d16745b49a4911a765666f4f5c81c59c51 files/ati-drivers-8.21.7-linux-2.6.15.patch 447 -AUX ati-drivers-8.22.5-intermodule.patch 831 RMD160 fdc33818770a97f1b90a8b413cf88c1ad381bdc8 SHA1 a4e90a325aff2c2e17d441fda3697d5956a2ce21 SHA256 b2cd8404b415ec472ba07604ba77aa6b52aa9a7bb98b08fbf9d18ac180bfe749 -MD5 ead3d9f8477752d9059916e567916e5d files/ati-drivers-8.22.5-intermodule.patch 831 -RMD160 fdc33818770a97f1b90a8b413cf88c1ad381bdc8 files/ati-drivers-8.22.5-intermodule.patch 831 -SHA256 b2cd8404b415ec472ba07604ba77aa6b52aa9a7bb98b08fbf9d18ac180bfe749 files/ati-drivers-8.22.5-intermodule.patch 831 -AUX ati-drivers-8.23.7-gcc41.patch 1953 RMD160 6b757dc0a3b7baa5f739094a55125b64022688ae SHA1 e2ddc31aa3dffe724a911c05b01edf8f84564309 SHA256 52fb3bba1fdc1a152f8dd7024715a0290cf56b42aee2e4b4edcceb0d0ab4a986 -MD5 b7a3d6fb45f6885fa2fca2b3e8cc3fc2 files/ati-drivers-8.23.7-gcc41.patch 1953 -RMD160 6b757dc0a3b7baa5f739094a55125b64022688ae files/ati-drivers-8.23.7-gcc41.patch 1953 -SHA256 52fb3bba1fdc1a152f8dd7024715a0290cf56b42aee2e4b4edcceb0d0ab4a986 files/ati-drivers-8.23.7-gcc41.patch 1953 -AUX ati-drivers-8.23.7-noiommu.patch 407 RMD160 12b506cb26db5ebfe11db3d0d909008008dfac79 SHA1 5b043683a457417d0d55cee12aff8fc0f040114f SHA256 ad666b54963a14aab83a04beed38902df4a586e0de25778905fe00a1cec37b54 -MD5 e33c06b8983330741fe60ab12265a144 files/ati-drivers-8.23.7-noiommu.patch 407 -RMD160 12b506cb26db5ebfe11db3d0d909008008dfac79 files/ati-drivers-8.23.7-noiommu.patch 407 -SHA256 ad666b54963a14aab83a04beed38902df4a586e0de25778905fe00a1cec37b54 files/ati-drivers-8.23.7-noiommu.patch 407 AUX ati-powermode.sh.patch 1142 RMD160 b81cdd4d2a49c2f7b04f7e00e4391b4e0ad67a40 SHA1 eef7f658474ca8e9e66ee1955a851782eba4dd0e SHA256 050602d5e0656961c0b16a75b470a7327a9e8b16f7d0ae3228341b3a8dcc9289 MD5 c3d42d3e0ad9acb6b682d7d7c27e6489 files/ati-powermode.sh.patch 1142 RMD160 b81cdd4d2a49c2f7b04f7e00e4391b4e0ad67a40 files/ati-powermode.sh.patch 1142 @@ -38,233 +10,25 @@ AUX atieventsd.rc6 590 RMD160 fbf8aba7ada36aed666d506d6b0f7146e1b2f4ad SHA1 b2b4 MD5 07a53c230d412cbfbd4a76954c5c85bb files/atieventsd.rc6 590 RMD160 fbf8aba7ada36aed666d506d6b0f7146e1b2f4ad files/atieventsd.rc6 590 SHA256 a00aa241e53b21872218bd247bfdb6292a075d9ef641f36198d8f4e399cc025e files/atieventsd.rc6 590 -AUX fglrx-2.6.12-inter_module_get.patch 1265 RMD160 1c349a894ed606b8f51b4caf0b63a0dc152626f8 SHA1 8f9345252cf6cc385136a4473f75e24fa6d28a9d SHA256 f1aedd70278cb8a11fdc9139ab698056dcc7ad2922aaa902fa7a8816ec10c43b -MD5 9ae27a9d7736cb6ce30b41ff384004d8 files/fglrx-2.6.12-inter_module_get.patch 1265 -RMD160 1c349a894ed606b8f51b4caf0b63a0dc152626f8 files/fglrx-2.6.12-inter_module_get.patch 1265 -SHA256 f1aedd70278cb8a11fdc9139ab698056dcc7ad2922aaa902fa7a8816ec10c43b files/fglrx-2.6.12-inter_module_get.patch 1265 -AUX fglrx-2.6.12-pci_name.patch 2807 RMD160 dd81ef92ddf35e915682e40ae7042c15bcb6d040 SHA1 8a2173786a46e137dc8517bae020b776b381912a SHA256 8dc2a7d9cdf449fd040ed9bb6b7f891f3885cf33a35a39e858b8072eb505f67a -MD5 0850638c4f5ac2466c793df428fc5d84 files/fglrx-2.6.12-pci_name.patch 2807 -RMD160 dd81ef92ddf35e915682e40ae7042c15bcb6d040 files/fglrx-2.6.12-pci_name.patch 2807 -SHA256 8dc2a7d9cdf449fd040ed9bb6b7f891f3885cf33a35a39e858b8072eb505f67a files/fglrx-2.6.12-pci_name.patch 2807 -AUX fglrx-2.6.14-access_ok.patch 521 RMD160 e05b7cb791e45cbe14d0ae0a3a441f8ea070d54e SHA1 736189f1340f9d8a50e3005ed1e8bd7a2b6303e3 SHA256 f004c293df8e9587445288ad1243806138c60a632f0950e42c29fa6df18f1b7e -MD5 27685e5b509889cb606108eec627aaac files/fglrx-2.6.14-access_ok.patch 521 -RMD160 e05b7cb791e45cbe14d0ae0a3a441f8ea070d54e files/fglrx-2.6.14-access_ok.patch 521 -SHA256 f004c293df8e9587445288ad1243806138c60a632f0950e42c29fa6df18f1b7e files/fglrx-2.6.14-access_ok.patch 521 -AUX fglrx-2.6.14-compat_ioctl.patch 3227 RMD160 1ea3344cf626a24e4a4d9a71736885a5029a144b SHA1 1f907e7c6821cd15277f37d36b7c8b4933845448 SHA256 db9cb37b566cff3877f1afeeb25c56daf476959c7271992ddfcf13fc50fa9de6 -MD5 2e151bc6c93225be53fd1a68d36ee877 files/fglrx-2.6.14-compat_ioctl.patch 3227 -RMD160 1ea3344cf626a24e4a4d9a71736885a5029a144b files/fglrx-2.6.14-compat_ioctl.patch 3227 -SHA256 db9cb37b566cff3877f1afeeb25c56daf476959c7271992ddfcf13fc50fa9de6 files/fglrx-2.6.14-compat_ioctl.patch 3227 -AUX fglrx-8.14.13-alt-2.6.12-agp.patch 2586 RMD160 bc92bd50af60009784c694a18dc22a5d9ac32a26 SHA1 f4aacb397cfb828f37c9424f70d83e845fa2e8ac SHA256 21a33f12f7383fb5485055078a6e4baca4adab4939c9ed0dee2cd82fce13689b -MD5 275238baa6d2db2b96bc8b98275a7928 files/fglrx-8.14.13-alt-2.6.12-agp.patch 2586 -RMD160 bc92bd50af60009784c694a18dc22a5d9ac32a26 files/fglrx-8.14.13-alt-2.6.12-agp.patch 2586 -SHA256 21a33f12f7383fb5485055078a6e4baca4adab4939c9ed0dee2cd82fce13689b files/fglrx-8.14.13-alt-2.6.12-agp.patch 2586 -AUX ioctl32.patch 368 RMD160 69a753f5f02206fbef9c7e84a1f062c9817c9538 SHA1 52317e0267636a20848355dd03c712187f7e7f13 SHA256 d74890440560671e65ae12c7345675ff95baa01420dfbd2ccdde04de86b674c0 -MD5 73907ca81a7435350b4529ddaa7305d5 files/ioctl32.patch 368 -RMD160 69a753f5f02206fbef9c7e84a1f062c9817c9538 files/ioctl32.patch 368 -SHA256 d74890440560671e65ae12c7345675ff95baa01420dfbd2ccdde04de86b674c0 files/ioctl32.patch 368 -AUX p1.patch 1120 RMD160 363335f5acee2e39b1fb3f6b2437fc4211c825fe SHA1 7ab094bad9ecd743fe76e8b6f310999946828ef7 SHA256 7d6317988ae9a533a60baf70ac7fa86f46375a6f9083aef292e847b04c026410 -MD5 0a9c95a134ef4f317240c54f62e9480e files/p1.patch 1120 -RMD160 363335f5acee2e39b1fb3f6b2437fc4211c825fe files/p1.patch 1120 -SHA256 7d6317988ae9a533a60baf70ac7fa86f46375a6f9083aef292e847b04c026410 files/p1.patch 1120 -DIST ati-driver-installer-8.18.6-i386.run 62368301 -DIST ati-driver-installer-8.18.6-x86_64.run 53491900 -DIST ati-driver-installer-8.18.8-i386.run 62367182 RMD160 2cea354f9e9a02cc255aa4aeb4468756263e8c17 SHA256 48b7ca2c529c0263ffab8a42e7e272e8dbe603d0ea2ebda99ab7f8a3b9789021 -DIST ati-driver-installer-8.18.8-x86_64.run 53490938 -DIST ati-driver-installer-8.19.10-i386.run 63744416 RMD160 240c23319faf4dd60e87457abbe3d5bb79e11355 SHA256 3063e1e3ee44fb83565d8496964cf4b351618d3ef8a0b57967ac065eed79294c -DIST ati-driver-installer-8.19.10-x86_64.run 54043719 -DIST ati-driver-installer-8.20.8-i386.run 72229632 RMD160 cab34d42d2641f2e6ebb7f0eb3597c63b83aa61b SHA256 1ef80cca59315fee811d6b425c33235c2e9928350d3c5c0f3b07a2ceeeb14867 -DIST ati-driver-installer-8.20.8-x86_64.run 57389816 -DIST ati-driver-installer-8.21.7-i386.run 37095872 RMD160 22d241eaa060c8bf6fbcd3bb340cfa603b7e4bd6 SHA256 8fe26909c49d6dab64aa97e840c07abf8be0bd0abfbff2285cf2ebfb5a51a93d -DIST ati-driver-installer-8.21.7-x86_64.run 28235137 RMD160 8d0af873b42c5c94c27a05895d97dc5f8f4836ad SHA256 8a5ddf6a391834f1111b19a36d2592714f15b9565be306d58b9c540f9fa54007 -DIST ati-driver-installer-8.22.5-i386.run 37222832 RMD160 57ad6f7dc118aa1e10f7a83548a49501964fc219 SHA256 347b36e3ece945f7d635f2b8d4b6a94010c7049ededa697d89c2839500f4d014 -DIST ati-driver-installer-8.22.5-x86_64.run 28274358 RMD160 baa9f546fb7e0f73d993e9fd2f9100aaf5df8a6e SHA256 a8a4d011dc31998aee43b535e1d1d2bfab37237a628e448801bcd61dd429c9f9 -DIST ati-driver-installer-8.23.7-i386.run 34448865 RMD160 f4f31ed77e84e9dc5a2885635488f3d582e1b474 SHA256 b7226f640d08b583f05fc95dea75238aeedcd13d1252d3911b40f6fd3a064c24 -DIST ati-driver-installer-8.23.7-x86_64.run 28293314 RMD160 97c7b027622c2382be39751ddb249840d8269243 SHA256 a28e01b46c7187cb9542754a1b9621e1ba7f86d8803e44fed1a8c773ecf4341d -DIST ati-driver-installer-8.24.8-x86.run 36287485 RMD160 c20a2ad9101490cdbe867f752eb1126a8fe9d26d SHA256 8bf846799ce288473805c1dd5a7cb692385de7d2518453042c51ef3bc3c30c06 -DIST ati-driver-installer-8.24.8-x86_64.run 30189769 RMD160 daaa495cf2d7597496f9e4264cfd8ff15c546fd4 SHA256 83859f349af60821a609bb40344b99bb4c48ba35af01c189dceaa458ab9049c7 -DIST ati-driver-installer-8.25.18-x86.run 36270279 RMD160 644309288fae0674f2674fd998862f84d739254a SHA1 f3597e62295739544a8cebd64562aff340f45c60 SHA256 3da4f667b5382ede8ee05aa38e60bd0539e6f1699786ca9d8d3e953f31373f34 -DIST ati-driver-installer-8.25.18-x86_64.run 30487934 RMD160 51108aea2b771df97faaf0c1f45c8ca71c8019e4 SHA1 fab0b6ead6644f214241f43026e99c318d9ee97e SHA256 cd4da0c00b1eae4bfba5728c6c4ebfca28c06230912c5aad6bb4a15eeeae1801 -DIST ati-driver-installer-8.26.18-x86.run 23716730 RMD160 dc9ab7862e6c0a1872ba48ad08842fdbb10d1414 SHA1 5c84a8d3526accccb0154c9d701948629f7ae45d SHA256 3376608d7a0049c30c9497e2f326ad2afe6b3874777f36af33b09019cbe71c55 -DIST ati-driver-installer-8.26.18-x86_64.run 30927154 RMD160 d4cf53f10fd7ca66cd52577c7e5e9bc42502f59f SHA1 3004c7fe409293ac2882ee7ef80addb92706fc35 SHA256 390eb44786b72cb09c78a995163155739f21d6ad121d22a9e6a72a18d9b5496f DIST ati-driver-installer-8.27.10-x86.run 25136032 RMD160 5080d72e97101b97da661019c00a89e01cf2abd6 SHA1 dc386ae275e7623d383a83b50b8685b53fe97f03 SHA256 444c2d957308793b1164ed013c724090900aae20fcd63ebf9001b795066fc4f0 DIST ati-driver-installer-8.27.10-x86_64.run 32487472 RMD160 04dc8598253791b52215ba3be847a9dc6eb54079 SHA1 9844ad5dc79a8d914d8707d2d17cf6be0de9e7d5 SHA256 1039d0b2218bab7076ef55626e510a779027ab658e62730c74dc2de439f4ab33 DIST ati-driver-installer-8.28.8.run 53989404 RMD160 0ea23d37c0e203fc8acc5bd7e100bdf78c05745f SHA1 811b73481f82d178b26417fd3d4b227864bd4527 SHA256 5eaeab1b906a0b8a30f88ab733390ecbc3ebeaa0c04c0368b757b99c31919e77 -DIST fglrx64_6_8_0-8.14.13-1.x86_64.rpm 14977136 -DIST fglrx64_6_8_0-8.16.20-1.x86_64.rpm 16328353 -DIST fglrx64_6_8_0-8.18.6-1.x86_64.rpm 17028932 -DIST fglrx_6_8_0-8.14.13-1.i386.rpm 8765541 -DIST fglrx_6_8_0-8.16.20-1.i386.rpm 11463523 -DIST fglrx_6_8_0-8.18.6-1.i386.rpm 12102933 -EBUILD ati-drivers-8.14.13-r2.ebuild 7039 RMD160 fd5038a13b471d3eb7616ab9009e1bc447b5bd65 SHA1 8ea487612a5df00ecebcacdc62f593cbeb99bc04 SHA256 b88d1f2c1cd0288d1ac3883f0dc323d61b15b72c27a923c7f3e04557fd214146 -MD5 dc85ad39b6b0a2f23923fa19940a8ba6 ati-drivers-8.14.13-r2.ebuild 7039 -RMD160 fd5038a13b471d3eb7616ab9009e1bc447b5bd65 ati-drivers-8.14.13-r2.ebuild 7039 -SHA256 b88d1f2c1cd0288d1ac3883f0dc323d61b15b72c27a923c7f3e04557fd214146 ati-drivers-8.14.13-r2.ebuild 7039 -EBUILD ati-drivers-8.14.13-r3.ebuild 7972 RMD160 b76aec6a5d984b44cd1a78fd2cc48e33d91a665e SHA1 049b290bf53fe88d3b0e06ecd8a5b2dcc3be791f SHA256 e91f0e8203eafe20efb64fbf0415f9293f505ba7571043b03cdf0c86f950be83 -MD5 e5b61d613ae05b2d2ce8c44ced3f6c87 ati-drivers-8.14.13-r3.ebuild 7972 -RMD160 b76aec6a5d984b44cd1a78fd2cc48e33d91a665e ati-drivers-8.14.13-r3.ebuild 7972 -SHA256 e91f0e8203eafe20efb64fbf0415f9293f505ba7571043b03cdf0c86f950be83 ati-drivers-8.14.13-r3.ebuild 7972 -EBUILD ati-drivers-8.14.13-r4.ebuild 7533 RMD160 060c7b6b1960584f68e73322ba0b57c30f75fabf SHA1 16e932de1909237982fd272bd50e6a433e0f45a9 SHA256 a566d5a1fe7e349a5f87b066d025f0ac25ffa78e4658c63d535170c8e92b9169 -MD5 9dbcbd6214ffae01d9203456860bf416 ati-drivers-8.14.13-r4.ebuild 7533 -RMD160 060c7b6b1960584f68e73322ba0b57c30f75fabf ati-drivers-8.14.13-r4.ebuild 7533 -SHA256 a566d5a1fe7e349a5f87b066d025f0ac25ffa78e4658c63d535170c8e92b9169 ati-drivers-8.14.13-r4.ebuild 7533 -EBUILD ati-drivers-8.14.13-r5.ebuild 7837 RMD160 2a8d67f710916c1374f4f91b9c1254eb6f628a4f SHA1 901f0f1919fef9d0a9be9a9ebb3745c0819d3747 SHA256 24d5ee84a58fdec9506dbf8384f8f27f390542e0f0083bde2095d2ebb4ae0f14 -MD5 034277f284e08b8f57fe95b62779dfda ati-drivers-8.14.13-r5.ebuild 7837 -RMD160 2a8d67f710916c1374f4f91b9c1254eb6f628a4f ati-drivers-8.14.13-r5.ebuild 7837 -SHA256 24d5ee84a58fdec9506dbf8384f8f27f390542e0f0083bde2095d2ebb4ae0f14 ati-drivers-8.14.13-r5.ebuild 7837 -EBUILD ati-drivers-8.16.20-r1.ebuild 6573 RMD160 0b95d4c82c1c6ad5e17ddecd5bab741be9be1a54 SHA1 afc72b23fa509fe7ce9ab9c3592cbd7a0c7b2035 SHA256 b0db9da83160ed00af2523314839c5bc0a46a1762f44dc412f5359782a062095 -MD5 d2e46dcba71f55f2bae80c9a13bac430 ati-drivers-8.16.20-r1.ebuild 6573 -RMD160 0b95d4c82c1c6ad5e17ddecd5bab741be9be1a54 ati-drivers-8.16.20-r1.ebuild 6573 -SHA256 b0db9da83160ed00af2523314839c5bc0a46a1762f44dc412f5359782a062095 ati-drivers-8.16.20-r1.ebuild 6573 -EBUILD ati-drivers-8.16.20.ebuild 6265 RMD160 2a8690217a9719ca139769502c4fa198a5028f38 SHA1 ead0483e1f57dc5981440631250318197f12277a SHA256 2eab4ad8cac8c9ac63984cb41cca7ed2c555f4adf5ff9e0395f1805d4c940a50 -MD5 8fe25a2ea346bfb3313c0f248343fd70 ati-drivers-8.16.20.ebuild 6265 -RMD160 2a8690217a9719ca139769502c4fa198a5028f38 ati-drivers-8.16.20.ebuild 6265 -SHA256 2eab4ad8cac8c9ac63984cb41cca7ed2c555f4adf5ff9e0395f1805d4c940a50 ati-drivers-8.16.20.ebuild 6265 -EBUILD ati-drivers-8.18.6-r1.ebuild 7968 RMD160 1ffdfd4ad1b4da342e3ce92c4f80466118492b6b SHA1 7fb4805ef0434ad62f5139670df9e4da45bcf2b4 SHA256 91612d32ddedc44ac2e894aa4255c7369e1e7dd7c8dc53ded1c154830f811290 -MD5 4e9a6cba1d52c3c6a3b89785d9a4d016 ati-drivers-8.18.6-r1.ebuild 7968 -RMD160 1ffdfd4ad1b4da342e3ce92c4f80466118492b6b ati-drivers-8.18.6-r1.ebuild 7968 -SHA256 91612d32ddedc44ac2e894aa4255c7369e1e7dd7c8dc53ded1c154830f811290 ati-drivers-8.18.6-r1.ebuild 7968 -EBUILD ati-drivers-8.18.6.ebuild 7144 RMD160 d6f58c4ed92d67c01b75d8a3848de9d2e71ecf46 SHA1 39abda973258698ce76d50cc63fcc921e5d663f1 SHA256 3f72f3af4ec72cfa4d8d734183a8e17877d1adde32fd21f900ae1d03e7672960 -MD5 29e02c9a5780e44e33dd7e2bae4f4ba0 ati-drivers-8.18.6.ebuild 7144 -RMD160 d6f58c4ed92d67c01b75d8a3848de9d2e71ecf46 ati-drivers-8.18.6.ebuild 7144 -SHA256 3f72f3af4ec72cfa4d8d734183a8e17877d1adde32fd21f900ae1d03e7672960 ati-drivers-8.18.6.ebuild 7144 -EBUILD ati-drivers-8.18.8-r1.ebuild 8232 RMD160 4d7a3abf019608b488b05afeda40cd8107404f72 SHA1 c9f691cbd99652fb8a73356b8ff7e10d779a962e SHA256 bc9acefc53864c072fb19a3b9a82fcc1e9f4e1ec84bfd31d999a0d65e054accb -MD5 b69f1250c1d832e83c5cd00a1cf5e853 ati-drivers-8.18.8-r1.ebuild 8232 -RMD160 4d7a3abf019608b488b05afeda40cd8107404f72 ati-drivers-8.18.8-r1.ebuild 8232 -SHA256 bc9acefc53864c072fb19a3b9a82fcc1e9f4e1ec84bfd31d999a0d65e054accb ati-drivers-8.18.8-r1.ebuild 8232 -EBUILD ati-drivers-8.18.8-r2.ebuild 8225 RMD160 ffea7f5fa58901b5ec394a34283704a866bdab94 SHA1 1ddee697cb329520e46818495b2c9438cc76a5a2 SHA256 e4dec79a509f2b8105996de0a01b7187b11b2998d9428714547a231d136d9949 -MD5 642a628c84c2a6adcf54ba20323a0e05 ati-drivers-8.18.8-r2.ebuild 8225 -RMD160 ffea7f5fa58901b5ec394a34283704a866bdab94 ati-drivers-8.18.8-r2.ebuild 8225 -SHA256 e4dec79a509f2b8105996de0a01b7187b11b2998d9428714547a231d136d9949 ati-drivers-8.18.8-r2.ebuild 8225 -EBUILD ati-drivers-8.18.8.ebuild 7915 RMD160 fdd9bfde05005c5e5e2a1859cbcf09b1f334a0c5 SHA1 3747cbda067f9fd9195a33a90395d46854ec4ca4 SHA256 6360eecd0f36b97b6ae5d552e31d3c43bff4aa6cc348cb794e1b6e5a29d0408c -MD5 cc1b13f235de15d117a7082bd2cb23c8 ati-drivers-8.18.8.ebuild 7915 -RMD160 fdd9bfde05005c5e5e2a1859cbcf09b1f334a0c5 ati-drivers-8.18.8.ebuild 7915 -SHA256 6360eecd0f36b97b6ae5d552e31d3c43bff4aa6cc348cb794e1b6e5a29d0408c ati-drivers-8.18.8.ebuild 7915 -EBUILD ati-drivers-8.19.10.ebuild 8280 RMD160 7d100da1135f59a1e2b6e45b6619086269f80f73 SHA1 000fc81d30726a185d5a24601e010372d788787f SHA256 ad2cfb124834196bbd3f1537aaa79b08f0214e84fe1dd4c823e4e762fb031319 -MD5 1e060475c76ca037277b387c0fe4b3ec ati-drivers-8.19.10.ebuild 8280 -RMD160 7d100da1135f59a1e2b6e45b6619086269f80f73 ati-drivers-8.19.10.ebuild 8280 -SHA256 ad2cfb124834196bbd3f1537aaa79b08f0214e84fe1dd4c823e4e762fb031319 ati-drivers-8.19.10.ebuild 8280 -EBUILD ati-drivers-8.20.8.ebuild 8426 RMD160 c3af6b7c8ebda61ba2e4ab3f5e22204c3da7a2ac SHA1 6f91d4e20c1fe358eae07b31111ba1685a51a32d SHA256 7a7129ce13a1f4985ebddc3ac9eaaeb95ccec4bd37bbe7fe52135ce07644c5db -MD5 16e88f722d3680b58d743c4c7cd08f36 ati-drivers-8.20.8.ebuild 8426 -RMD160 c3af6b7c8ebda61ba2e4ab3f5e22204c3da7a2ac ati-drivers-8.20.8.ebuild 8426 -SHA256 7a7129ce13a1f4985ebddc3ac9eaaeb95ccec4bd37bbe7fe52135ce07644c5db ati-drivers-8.20.8.ebuild 8426 -EBUILD ati-drivers-8.21.7-r1.ebuild 8910 RMD160 a3ae2b10321b94b9c6df19f00685e3743bfc8bf4 SHA1 bfe2df8b66a02d4f23312c8d787bc5f932112182 SHA256 550787527ac642f7e486f8c373a13469431cbf258b2f6fa927e72d70a1487939 -MD5 2f4cd2308b2d364ceef691583e0180f7 ati-drivers-8.21.7-r1.ebuild 8910 -RMD160 a3ae2b10321b94b9c6df19f00685e3743bfc8bf4 ati-drivers-8.21.7-r1.ebuild 8910 -SHA256 550787527ac642f7e486f8c373a13469431cbf258b2f6fa927e72d70a1487939 ati-drivers-8.21.7-r1.ebuild 8910 -EBUILD ati-drivers-8.21.7.ebuild 8508 RMD160 ed7dff07b28bb26b5e7edf85bc583cf7f6085fa0 SHA1 440c4aefe8e4f42cb0e9787847e99f648db78e63 SHA256 b6ef9565b70affbb86aaf1759e4b64bda5212b132c220b5ad36a4314a02b8977 -MD5 faf3c3897fc4d86de6270db569ccceeb ati-drivers-8.21.7.ebuild 8508 -RMD160 ed7dff07b28bb26b5e7edf85bc583cf7f6085fa0 ati-drivers-8.21.7.ebuild 8508 -SHA256 b6ef9565b70affbb86aaf1759e4b64bda5212b132c220b5ad36a4314a02b8977 ati-drivers-8.21.7.ebuild 8508 -EBUILD ati-drivers-8.22.5.ebuild 8933 RMD160 f32e4e2e4535030aba988cb93fbdb00082799043 SHA1 16d32317f70afe52558c7eb4f11ad5418be8b81f SHA256 e77deea87c1233949ab7e889629888cd54c44d5a03ac79a69110bffb40ef0f9e -MD5 3f252540d76d2709c3b2b56c359ad413 ati-drivers-8.22.5.ebuild 8933 -RMD160 f32e4e2e4535030aba988cb93fbdb00082799043 ati-drivers-8.22.5.ebuild 8933 -SHA256 e77deea87c1233949ab7e889629888cd54c44d5a03ac79a69110bffb40ef0f9e ati-drivers-8.22.5.ebuild 8933 -EBUILD ati-drivers-8.23.7.ebuild 9244 RMD160 07ce3342ecd22acb2c6554b01720ba57c5b2d7c0 SHA1 7c499de0b0557d6980d9b1a19e413cfe55151999 SHA256 1ed1c6896c0b14c40ae6e09a9dff2ddaa5abaaef62a150c538fad84af9c3eff7 -MD5 056da0ad0f67d2b0280f4f02d6bfed05 ati-drivers-8.23.7.ebuild 9244 -RMD160 07ce3342ecd22acb2c6554b01720ba57c5b2d7c0 ati-drivers-8.23.7.ebuild 9244 -SHA256 1ed1c6896c0b14c40ae6e09a9dff2ddaa5abaaef62a150c538fad84af9c3eff7 ati-drivers-8.23.7.ebuild 9244 -EBUILD ati-drivers-8.24.8.ebuild 9244 RMD160 44d3b96fd8350cdd5abfa0bd758fb73b1e9056c4 SHA1 effe6ac6be67f3555b53f4bac36e7b8f135526e9 SHA256 80d7a25e50fc9c7e3d4d35e6a878b094428d257d8236ccc4bac6873f43c9dd14 -MD5 6253c8de09815661f933e87c392cdf8f ati-drivers-8.24.8.ebuild 9244 -RMD160 44d3b96fd8350cdd5abfa0bd758fb73b1e9056c4 ati-drivers-8.24.8.ebuild 9244 -SHA256 80d7a25e50fc9c7e3d4d35e6a878b094428d257d8236ccc4bac6873f43c9dd14 ati-drivers-8.24.8.ebuild 9244 -EBUILD ati-drivers-8.25.18.ebuild 9626 RMD160 46474f18cf41cec14ae970e6abb2287295e105b4 SHA1 d94060dec076ea6491680a80b1bd5991f25f6370 SHA256 ba3b29f1c80b17038b5c1bce4616987ec0937c6158d0378d67805c01b2f4c85b -MD5 f218eab19f44af1cfe1c72291b25b405 ati-drivers-8.25.18.ebuild 9626 -RMD160 46474f18cf41cec14ae970e6abb2287295e105b4 ati-drivers-8.25.18.ebuild 9626 -SHA256 ba3b29f1c80b17038b5c1bce4616987ec0937c6158d0378d67805c01b2f4c85b ati-drivers-8.25.18.ebuild 9626 -EBUILD ati-drivers-8.26.18-r1.ebuild 10721 RMD160 93377498621f684485eab996be1a0206f1bdfcfd SHA1 2271b9b709cfc8e0c70e70aa44f1c79f577c7c22 SHA256 3f85d4e7b157da59d08239bf3ce2b163b7d76555ec7602736bdc484748bcb273 -MD5 6d0ec65c221967f2f148240fc0350130 ati-drivers-8.26.18-r1.ebuild 10721 -RMD160 93377498621f684485eab996be1a0206f1bdfcfd ati-drivers-8.26.18-r1.ebuild 10721 -SHA256 3f85d4e7b157da59d08239bf3ce2b163b7d76555ec7602736bdc484748bcb273 ati-drivers-8.26.18-r1.ebuild 10721 -EBUILD ati-drivers-8.26.18.ebuild 9709 RMD160 8e3be8c55c12e208ba8cf7498802cc2e26bcac4a SHA1 2ba3492c35ab12d94e291748c865c8cfbaea83c5 SHA256 2072e45d32b6610948f71b9407e247695f06dd06c64c549a42ddb6eef37f7772 -MD5 fd471cf445a3bd8c942ae87df01cea9c ati-drivers-8.26.18.ebuild 9709 -RMD160 8e3be8c55c12e208ba8cf7498802cc2e26bcac4a ati-drivers-8.26.18.ebuild 9709 -SHA256 2072e45d32b6610948f71b9407e247695f06dd06c64c549a42ddb6eef37f7772 ati-drivers-8.26.18.ebuild 9709 EBUILD ati-drivers-8.27.10-r1.ebuild 11280 RMD160 cb39de47bde7ebbdcb82e0ca91a561f6d01b04c4 SHA1 02aadb027d063671ec66f5f45fcfa212808369d0 SHA256 b9f71dab15185be542ecb651a35d3c9b9e83f6db9d1447a30aff67089770d49e MD5 5b4a8fb9bd9fdabb5a8d1a550613f6e3 ati-drivers-8.27.10-r1.ebuild 11280 RMD160 cb39de47bde7ebbdcb82e0ca91a561f6d01b04c4 ati-drivers-8.27.10-r1.ebuild 11280 SHA256 b9f71dab15185be542ecb651a35d3c9b9e83f6db9d1447a30aff67089770d49e ati-drivers-8.27.10-r1.ebuild 11280 -EBUILD ati-drivers-8.27.10.ebuild 11111 RMD160 a703a71ca00a1c1daacafcc0a6069c95e8933342 SHA1 138fe0d528ba6dde40fb82bdd75184aad4d53288 SHA256 4a8e4ff64a4cf7ae84f1885aa2d2ab53c772026cd0930e0858059a9078796470 -MD5 0ad9d5094c34dbcd6e4df0081dda1b3b ati-drivers-8.27.10.ebuild 11111 -RMD160 a703a71ca00a1c1daacafcc0a6069c95e8933342 ati-drivers-8.27.10.ebuild 11111 -SHA256 4a8e4ff64a4cf7ae84f1885aa2d2ab53c772026cd0930e0858059a9078796470 ati-drivers-8.27.10.ebuild 11111 EBUILD ati-drivers-8.28.8.ebuild 11196 RMD160 5e249948b05c8deda8d91aca334f940caa1fec81 SHA1 9d67b666679361c75ffb23e1b3eb125f69ebba3a SHA256 320b563a1d76dcb459176509ba8409b370db2e5e6476267aaa0e3544ded65b30 MD5 0feecaa2f336e7ee816912fa90aed0d7 ati-drivers-8.28.8.ebuild 11196 RMD160 5e249948b05c8deda8d91aca334f940caa1fec81 ati-drivers-8.28.8.ebuild 11196 SHA256 320b563a1d76dcb459176509ba8409b370db2e5e6476267aaa0e3544ded65b30 ati-drivers-8.28.8.ebuild 11196 -MISC ChangeLog 31085 RMD160 86a0cd830b73946d192e59ff361520a324394fe0 SHA1 4491b2d025770379d82b5d98ed5bac60d53c1ffc SHA256 a1df1166e30dd49eef7081e5d33b6ae04fc38025c4a4f0c84f1722bc5d86a8a5 -MD5 12fc39b221553c4c1d1e6c91b418dbce ChangeLog 31085 -RMD160 86a0cd830b73946d192e59ff361520a324394fe0 ChangeLog 31085 -SHA256 a1df1166e30dd49eef7081e5d33b6ae04fc38025c4a4f0c84f1722bc5d86a8a5 ChangeLog 31085 +MISC ChangeLog 32356 RMD160 221a8753f0f7fb082106b8a1089177cdc6eff12a SHA1 a8a7de38f2741b54272e950b226ab1cbcb3bb244 SHA256 826e4a9b4b412bb5ee52f90ec269cd3c80d5716ae47a6b6d97a801d91ac5f633 +MD5 e589a352027df2019dc967b0b43c6160 ChangeLog 32356 +RMD160 221a8753f0f7fb082106b8a1089177cdc6eff12a ChangeLog 32356 +SHA256 826e4a9b4b412bb5ee52f90ec269cd3c80d5716ae47a6b6d97a801d91ac5f633 ChangeLog 32356 MISC metadata.xml 227 RMD160 e2ed1445a0405b39e40741d3d1f67746daab8fff SHA1 47e1824ff5e7e3789fcbb4ca5de9c3ccd9162b76 SHA256 4fbed7030b32bcdc95b70000adbbcb6f1d73092c4a2f20e6cfb737a1b44d6e07 MD5 c306bb93866a4dd8913899229dd20726 metadata.xml 227 RMD160 e2ed1445a0405b39e40741d3d1f67746daab8fff metadata.xml 227 SHA256 4fbed7030b32bcdc95b70000adbbcb6f1d73092c4a2f20e6cfb737a1b44d6e07 metadata.xml 227 -MD5 82c5244e2e3822f5e73ff38138dc23c1 files/digest-ati-drivers-8.14.13-r2 157 -RMD160 64a8113b9d97d97e499206831806f92b9fbd08e7 files/digest-ati-drivers-8.14.13-r2 157 -SHA256 835d5b4060013736135b0a18a0e8805c379a2b811f326489c6194ecf0b947f00 files/digest-ati-drivers-8.14.13-r2 157 -MD5 82c5244e2e3822f5e73ff38138dc23c1 files/digest-ati-drivers-8.14.13-r3 157 -RMD160 64a8113b9d97d97e499206831806f92b9fbd08e7 files/digest-ati-drivers-8.14.13-r3 157 -SHA256 835d5b4060013736135b0a18a0e8805c379a2b811f326489c6194ecf0b947f00 files/digest-ati-drivers-8.14.13-r3 157 -MD5 82c5244e2e3822f5e73ff38138dc23c1 files/digest-ati-drivers-8.14.13-r4 157 -RMD160 64a8113b9d97d97e499206831806f92b9fbd08e7 files/digest-ati-drivers-8.14.13-r4 157 -SHA256 835d5b4060013736135b0a18a0e8805c379a2b811f326489c6194ecf0b947f00 files/digest-ati-drivers-8.14.13-r4 157 -MD5 82c5244e2e3822f5e73ff38138dc23c1 files/digest-ati-drivers-8.14.13-r5 157 -RMD160 64a8113b9d97d97e499206831806f92b9fbd08e7 files/digest-ati-drivers-8.14.13-r5 157 -SHA256 835d5b4060013736135b0a18a0e8805c379a2b811f326489c6194ecf0b947f00 files/digest-ati-drivers-8.14.13-r5 157 -MD5 ac17fe94be90be4ac158d26cd759884f files/digest-ati-drivers-8.16.20 158 -RMD160 94712edc64ec2b1fdd9f426829a2c9efefd019d8 files/digest-ati-drivers-8.16.20 158 -SHA256 a1f284e887a88eb0b8971d0c7d6fb6dca7ba549827bf32b64c93cae89ca86a00 files/digest-ati-drivers-8.16.20 158 -MD5 ac17fe94be90be4ac158d26cd759884f files/digest-ati-drivers-8.16.20-r1 158 -RMD160 94712edc64ec2b1fdd9f426829a2c9efefd019d8 files/digest-ati-drivers-8.16.20-r1 158 -SHA256 a1f284e887a88eb0b8971d0c7d6fb6dca7ba549827bf32b64c93cae89ca86a00 files/digest-ati-drivers-8.16.20-r1 158 -MD5 3e29001f6bcfcec91a4802e6c6e37fc1 files/digest-ati-drivers-8.18.6 156 -RMD160 1829c69833f8ae7e4ddc9a40bb221a8460797920 files/digest-ati-drivers-8.18.6 156 -SHA256 53e65e45d358d1c31afa2149a69acbd30cbc1c21bb7a1f5ee3b5f79fa10458ad files/digest-ati-drivers-8.18.6 156 -MD5 3f9c6083c83f1c87c4b860ef4eca55f6 files/digest-ati-drivers-8.18.6-r1 168 -RMD160 920751660490bb6288bc5d8591d07d6f777c2d5a files/digest-ati-drivers-8.18.6-r1 168 -SHA256 d16c2f859c4a4bc4efb3b652f8034f9e5249c2e784408292c0f6b7ee8d0c131a files/digest-ati-drivers-8.18.6-r1 168 -MD5 8e3e24d3e6f9e13c0f43426c3dceb69f files/digest-ati-drivers-8.18.8 380 -RMD160 16f52b1b40bf8452d8f2b2977c798b70f743249f files/digest-ati-drivers-8.18.8 380 -SHA256 41a263ce013c8fbbbea8265e859b90912405152b90e8fc992be8798dd1c417cd files/digest-ati-drivers-8.18.8 380 -MD5 8e3e24d3e6f9e13c0f43426c3dceb69f files/digest-ati-drivers-8.18.8-r1 380 -RMD160 16f52b1b40bf8452d8f2b2977c798b70f743249f files/digest-ati-drivers-8.18.8-r1 380 -SHA256 41a263ce013c8fbbbea8265e859b90912405152b90e8fc992be8798dd1c417cd files/digest-ati-drivers-8.18.8-r1 380 -MD5 8e3e24d3e6f9e13c0f43426c3dceb69f files/digest-ati-drivers-8.18.8-r2 380 -RMD160 16f52b1b40bf8452d8f2b2977c798b70f743249f files/digest-ati-drivers-8.18.8-r2 380 -SHA256 41a263ce013c8fbbbea8265e859b90912405152b90e8fc992be8798dd1c417cd files/digest-ati-drivers-8.18.8-r2 380 -MD5 6a6ed7559016b5ffb400d561e532a8a8 files/digest-ati-drivers-8.19.10 384 -RMD160 e999afa2c7f1d0bc9b9f7b1da91f2493f0247c92 files/digest-ati-drivers-8.19.10 384 -SHA256 cfa219d78c5855e29a7dec31d2589339065970f03c98e050a4c2abc3211f1a43 files/digest-ati-drivers-8.19.10 384 -MD5 a6f3afacdaf57fd01acb955f3969741a files/digest-ati-drivers-8.20.8 380 -RMD160 340a556185964c86a919c1b6781e1b832d7d6588 files/digest-ati-drivers-8.20.8 380 -SHA256 fc58d9d76ea630d63b4be16379c4ac2f288e2e77d942db9d5deccf3130dd9a0f files/digest-ati-drivers-8.20.8 380 -MD5 6939eac3a8d0c0ec955c537437077493 files/digest-ati-drivers-8.21.7 596 -RMD160 16b5c3c17b0a69768e30d443e0ad2b88781c3dbe files/digest-ati-drivers-8.21.7 596 -SHA256 46a6fabddf192d46fe9f52c985f4a080133cbe2fd789cdefae9cfe43fffba572 files/digest-ati-drivers-8.21.7 596 -MD5 2c571e6b1e3ca3d8ee89d6e4e793aa2c files/digest-ati-drivers-8.21.7-r1 596 -RMD160 17c3fcda5ab015b2c9b9c722c178b48dcb3e6e5c files/digest-ati-drivers-8.21.7-r1 596 -SHA256 5c104d7d09ff96a5ea5ffec862143a98d7f1a787fb0fdcaeb4d6a2872a2d3859 files/digest-ati-drivers-8.21.7-r1 596 -MD5 c3eca00b2284649ba6d10e1d27ef260a files/digest-ati-drivers-8.22.5 596 -RMD160 a31343326c85aeb28e9f88542542ded42a256453 files/digest-ati-drivers-8.22.5 596 -SHA256 eb5ca9c22deac672f2e3afff6028f5bfb06840c674660b9a610ef2befc1095cd files/digest-ati-drivers-8.22.5 596 -MD5 73ed5ba89fc27d97d8487ddbbb91d1c8 files/digest-ati-drivers-8.23.7 596 -RMD160 d4270cb764537c2c2e172f72a01b0e30b99cc856 files/digest-ati-drivers-8.23.7 596 -SHA256 e6e4bbc3a090c81cb390b64eca1ec85d12b62e8aa9d1e3a36dd48f458b8f6b14 files/digest-ati-drivers-8.23.7 596 -MD5 bd50ca17992e76197fb6d7c31c4e2dc7 files/digest-ati-drivers-8.24.8 593 -RMD160 ce5e73ecd8ae3cf649848d9b78935d51620a3379 files/digest-ati-drivers-8.24.8 593 -SHA256 10c9172a288f6ee2c6362c7ea4dab08bfbf24b6c470283b5bbba2ff85e158791 files/digest-ati-drivers-8.24.8 593 -MD5 e946b14b251ce9d45bac8901c5becebd files/digest-ati-drivers-8.25.18 599 -RMD160 90654e309cb3899cb37167e7a460ef8e4b158c23 files/digest-ati-drivers-8.25.18 599 -SHA256 7a56d95f00b852cfa213ac342f4e1394e84ec7bf035852127cfbee2a615c565a files/digest-ati-drivers-8.25.18 599 -MD5 864cc020053f67a28c2399f0c5e830fa files/digest-ati-drivers-8.26.18 599 -RMD160 9010de31d186da94f756eda0c6da2769d187283f files/digest-ati-drivers-8.26.18 599 -SHA256 180ded06d335b8f8053b8a8587d1707fe650e4915e87a7ca7315326e8727939f files/digest-ati-drivers-8.26.18 599 -MD5 864cc020053f67a28c2399f0c5e830fa files/digest-ati-drivers-8.26.18-r1 599 -RMD160 9010de31d186da94f756eda0c6da2769d187283f files/digest-ati-drivers-8.26.18-r1 599 -SHA256 180ded06d335b8f8053b8a8587d1707fe650e4915e87a7ca7315326e8727939f files/digest-ati-drivers-8.26.18-r1 599 -MD5 918748360fc78a295d9b5495f3f6b762 files/digest-ati-drivers-8.27.10 599 -RMD160 400d87e50df2105715fe51eb3181598b4d9d3756 files/digest-ati-drivers-8.27.10 599 -SHA256 d4d707b283f07b61963445d17b9454993007acb26a60cf48ea82e01654f686d8 files/digest-ati-drivers-8.27.10 599 MD5 918748360fc78a295d9b5495f3f6b762 files/digest-ati-drivers-8.27.10-r1 599 RMD160 400d87e50df2105715fe51eb3181598b4d9d3756 files/digest-ati-drivers-8.27.10-r1 599 SHA256 d4d707b283f07b61963445d17b9454993007acb26a60cf48ea82e01654f686d8 files/digest-ati-drivers-8.27.10-r1 599 diff --git a/x11-drivers/ati-drivers/ati-drivers-8.14.13-r2.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.14.13-r2.ebuild deleted file mode 100644 index 47c1cfa8047b..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.14.13-r2.ebuild +++ /dev/null @@ -1,268 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.14.13-r2.ebuild,v 1.5 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( http://www2.ati.com/drivers/linux/fglrx_6_8_0-${PV}-1.i386.rpm ) - amd64? ( http://www2.ati.com/drivers/linux/64bit/fglrx64_6_8_0-${PV}-1.x86_64.rpm )" - -LICENSE="ATI" -KEYWORDS="-* amd64 x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - >=x11-base/opengl-update-2.1_pre1 - || ( || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* ) =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - cd ${WORKDIR} - rpm_src_unpack - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - - #epatch ${FILESDIR}/fglrx-3.9.0-allocation.patch - - if kernel_is 2 6 - then - epatch ${FILESDIR}/fglrx-2.6.12-pci_name.patch - epatch ${FILESDIR}/fglrx-2.6.12-inter_module_get.patch - epatch ${FILESDIR}/fglrx-8.14.13-alt-2.6.12-agp.patch - epatch ${FILESDIR}/fglrx-2.6.14-access_ok.patch - fi - epatch ${FILESDIR}/8.8.25-via-amd64.patch - epatch ${FILESDIR}/8.8.25-smp.patch - epatch ${FILESDIR}/ioctl32.patch - epatch ${FILESDIR}/p1.patch - if use amd64 - then - epatch ${FILESDIR}/fglrx-2.6.14-compat_ioctl.patch - fi - - rm -rf ${WORKDIR}/usr/X11R6/bin/fgl_glxgears -} - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/lib/modules/fglrx/build_mod - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || die "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dinamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR} - - # DRM module - insinto /lib/modules/${KV_FULL}/video - # set_kvobj - doins ${WORKDIR}/lib/modules/fglrx/build_mod/fglrx.${KV_OBJ} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - insinto /etc/env.d - doins ${FILESDIR}/09ati - exeinto /opt/ati/bin - doexe usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/usr/include -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir=$(get_libdir) - - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/${inslibdir}/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/${inslibdir}/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - cp -pPR ${WORKDIR}/usr/X11R6/${pkglibdir}/libfglrx_gamma.* \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${WORKDIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - -} - - -pkg_postinst() { -# Ebuild shouldn't do this automatically, just tell the user to do it, -# otherwise it messes up livecd/gamecd stuff ... (drobbins, 1 May 2003) -# if [ "${ROOT}" = "/" ] -# then -# /usr/sbin/opengl-update ati -# fi - - echo - einfo "To switch to ATI OpenGL, run \"opengl-update ati\"" - einfo "To change your XF86Config you can use the bundled \"fglrxconfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - update-modules -} - -pkg_postrm() { - opengl-update --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild deleted file mode 100644 index 8d238cc72c3e..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild +++ /dev/null @@ -1,286 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.14.13-r3.ebuild,v 1.6 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl dlloader" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( http://www2.ati.com/drivers/linux/fglrx_6_8_0-${PV}-1.i386.rpm ) - amd64? ( http://www2.ati.com/drivers/linux/64bit/fglrx64_6_8_0-${PV}-1.x86_64.rpm )" - -LICENSE="ATI" -KEYWORDS="-* amd64 x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - >=x11-base/opengl-update-2.1_pre1 - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -MODULE_NAMES="fglrx(video:${WORKDIR}/lib/modules/fglrx/build_mod)" - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - cd ${WORKDIR} - rpm_src_unpack - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - - #epatch ${FILESDIR}/fglrx-3.9.0-allocation.patch - - if kernel_is 2 6 - then - epatch ${FILESDIR}/fglrx-2.6.12-pci_name.patch - epatch ${FILESDIR}/fglrx-2.6.12-inter_module_get.patch - epatch ${FILESDIR}/fglrx-8.14.13-alt-2.6.12-agp.patch - epatch ${FILESDIR}/fglrx-2.6.14-access_ok.patch - fi - epatch ${FILESDIR}/8.8.25-via-amd64.patch - epatch ${FILESDIR}/8.8.25-smp.patch - epatch ${FILESDIR}/ioctl32.patch - epatch ${FILESDIR}/p1.patch - - rm -rf ${WORKDIR}/usr/X11R6/bin/fgl_glxgears -} - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/lib/modules/fglrx/build_mod - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || die "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dinamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - insinto /etc/env.d - doins ${FILESDIR}/09ati - exeinto /opt/ati/bin - doexe usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/usr/include -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir=$(get_libdir) - - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/${inslibdir}/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/${inslibdir}/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - if use !dlloader ; then - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.o - else - einfo "Adapting fglrx_drv to dlloader..." - gcc -shared -o ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.so \ - ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.o \ - -Xlinker -L/usr/lib/modules -Xlinker -R/usr/lib/modules \ - -Xlinker -L/usr/lib/modules/linux -Xlinker -R/usr/lib/modules/linux \ - -Xlinker -L/usr/lib/modules/extensions -Xlinker -R/usr/lib/modules/extensions \ - -lfbdevhw -lglx -lfglrxdrm -ldrm -lxaa -lramdac -ldri -lfb -lint10 -lvgahw -li2c -lddc -lvbe - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.so - fi - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - if use !dlloader ; then - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - else - einfo "Adapting libfglrxdrm to dlloader..." - ar x ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - gcc -shared -o ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so \ - module.o FireGLdrm.o - rm module.o FireGLdrm.o - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - fi - cp -a ${WORKDIR}/usr/X11R6/${pkglibdir}/libfglrx_gamma.* \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${WORKDIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - -} - - -pkg_postinst() { -# Ebuild shouldn't do this automatically, just tell the user to do it, -# otherwise it messes up livecd/gamecd stuff ... (drobbins, 1 May 2003) -# if [ "${ROOT}" = "/" ] -# then -# /usr/sbin/opengl-update ati -# fi - - echo - einfo "To switch to ATI OpenGL, run \"opengl-update ati\"" - einfo "To change your XF86Config you can use the bundled \"fglrxconfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - opengl-update --use-old xorg-x11 -} - diff --git a/x11-drivers/ati-drivers/ati-drivers-8.14.13-r4.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.14.13-r4.ebuild deleted file mode 100644 index 6ef460cc13eb..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.14.13-r4.ebuild +++ /dev/null @@ -1,270 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.14.13-r4.ebuild,v 1.3 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl dlloader" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( http://www2.ati.com/drivers/linux/fglrx_6_8_0-${PV}-1.i386.rpm ) - amd64? ( http://www2.ati.com/drivers/linux/64bit/fglrx64_6_8_0-${PV}-1.x86_64.rpm )" - -LICENSE="ATI" -KEYWORDS="-* ~amd64 ~x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have AGP support enabled, the direct rendering" - ewarn "will not work." - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_present DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - cd ${WORKDIR} - rpm_src_unpack - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - - #epatch ${FILESDIR}/fglrx-3.9.0-allocation.patch - - if kernel_is 2 6 - then - epatch ${FILESDIR}/fglrx-2.6.12-pci_name.patch - epatch ${FILESDIR}/fglrx-2.6.12-inter_module_get.patch - epatch ${FILESDIR}/fglrx-8.14.13-alt-2.6.12-agp.patch - fi - epatch ${FILESDIR}/8.8.25-via-amd64.patch - epatch ${FILESDIR}/8.8.25-smp.patch - epatch ${FILESDIR}/ioctl32.patch - epatch ${FILESDIR}/p1.patch - - rm -rf ${WORKDIR}/usr/X11R6/bin/fgl_glxgears -} - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/lib/modules/fglrx/build_mod - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || die "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dinamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR} - - # DRM module - insinto /lib/modules/${KV_FULL}/video - # set_kvobj - doins ${WORKDIR}/lib/modules/fglrx/build_mod/fglrx.${KV_OBJ} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - insinto /etc/env.d - doins ${FILESDIR}/09ati - exeinto /opt/ati/bin - doexe usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/usr/include -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir=$(get_libdir) - - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/${inslibdir}/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/${inslibdir}/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - if use !dlloader ; then - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.o - else - einfo "Adapting fglrx_drv to dlloader..." - gcc -shared -o ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.so \ - ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.o \ - -Xlinker -L/usr/lib/modules -Xlinker -R/usr/lib/modules \ - -Xlinker -L/usr/lib/modules/linux -Xlinker -R/usr/lib/modules/linux \ - -Xlinker -L/usr/lib/modules/extensions -Xlinker -R/usr/lib/modules/extensions \ - -lfbdevhw -lglx -lfglrxdrm -ldrm -lxaa -lramdac -ldri -lfb -lint10 -lvgahw -li2c -lddc -lvbe - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.so - fi - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - if use !dlloader ; then - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - else - einfo "Adapting libfglrxdrm to dlloader..." - ar x ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - gcc -shared -o ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so \ - module.o FireGLdrm.o - rm module.o FireGLdrm.o - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - fi - cp -a ${WORKDIR}/usr/X11R6/${pkglibdir}/libfglrx_gamma.* \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${WORKDIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"opengl-update ati\"" - einfo "To change your XF86Config you can use the bundled \"fglrxconfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - update-modules -} - -pkg_postrm() { - /usr/bin/eselect opengl set --use-old xorg-x11 -} - diff --git a/x11-drivers/ati-drivers/ati-drivers-8.14.13-r5.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.14.13-r5.ebuild deleted file mode 100644 index 0f0dc6c421a1..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.14.13-r5.ebuild +++ /dev/null @@ -1,282 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.14.13-r5.ebuild,v 1.4 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl dlloader" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( http://www2.ati.com/drivers/linux/fglrx_6_8_0-${PV}-1.i386.rpm ) - amd64? ( http://www2.ati.com/drivers/linux/64bit/fglrx64_6_8_0-${PV}-1.x86_64.rpm )" - -LICENSE="ATI" -KEYWORDS="-* ~amd64 ~x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -MODULE_NAMES="fglrx(video:${WORKDIR}/lib/modules/fglrx/build_mod)" - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have AGP support enabled, the direct rendering" - ewarn "will not work." - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_present DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - cd ${WORKDIR} - rpm_src_unpack - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - - #epatch ${FILESDIR}/fglrx-3.9.0-allocation.patch - - if kernel_is 2 6 - then - epatch ${FILESDIR}/fglrx-2.6.12-pci_name.patch - epatch ${FILESDIR}/fglrx-2.6.12-inter_module_get.patch - epatch ${FILESDIR}/fglrx-8.14.13-alt-2.6.12-agp.patch - fi - epatch ${FILESDIR}/8.8.25-via-amd64.patch - epatch ${FILESDIR}/8.8.25-smp.patch - epatch ${FILESDIR}/ioctl32.patch - epatch ${FILESDIR}/p1.patch - - rm -rf ${WORKDIR}/usr/X11R6/bin/fgl_glxgears -} - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/lib/modules/fglrx/build_mod - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || die "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dinamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="/usr/lib32/modules/dri/:/usr/$(get_libdir)/modules/dri" -EOF - fi - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir=$(get_libdir) - - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/${inslibdir}/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/${inslibdir}/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - if use !dlloader ; then - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.o - else - einfo "Adapting fglrx_drv to dlloader..." - gcc -shared -o ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.so \ - ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.o \ - -Xlinker -L/usr/lib/modules -Xlinker -R/usr/lib/modules \ - -Xlinker -L/usr/lib/modules/linux -Xlinker -R/usr/lib/modules/linux \ - -Xlinker -L/usr/lib/modules/extensions -Xlinker -R/usr/lib/modules/extensions \ - -lfbdevhw -lglx -lfglrxdrm -ldrm -lxaa -lramdac -ldri -lfb -lint10 -lvgahw -li2c -lddc -lvbe - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.so - fi - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - if use !dlloader ; then - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - else - einfo "Adapting libfglrxdrm to dlloader..." - ar x ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - gcc -shared -o ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so \ - module.o FireGLdrm.o - rm module.o FireGLdrm.o - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - fi - cp -a ${WORKDIR}/usr/X11R6/${pkglibdir}/libfglrx_gamma.* \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${WORKDIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"opengl-update ati\"" - einfo "To change your XF86Config you can use the bundled \"fglrxconfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} - diff --git a/x11-drivers/ati-drivers/ati-drivers-8.16.20-r1.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.16.20-r1.ebuild deleted file mode 100644 index 2e657e933caf..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.16.20-r1.ebuild +++ /dev/null @@ -1,255 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.16.20-r1.ebuild,v 1.4 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( http://www2.ati.com/drivers/linux/fglrx_6_8_0-${PV}-1.i386.rpm ) - amd64? ( http://www2.ati.com/drivers/linux/64bit/fglrx64_6_8_0-${PV}-1.x86_64.rpm )" - -LICENSE="ATI" -KEYWORDS="-*" #~amd64 ~x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have AGP support enabled, the direct rendering" - ewarn "will not work." - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_present DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - cd ${WORKDIR} - rpm_src_unpack - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - - #epatch ${FILESDIR}/fglrx-3.9.0-allocation.patch - -# if kernel_is 2 6 -# then -# fi - epatch ${FILESDIR}/ioctl32.patch - - rm -rf ${WORKDIR}/usr/X11R6/bin/fgl_glxgears -} - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/lib/modules/fglrx/build_mod - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || die "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dinamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - MODULE_NAMES="fglrx(video::${WORKDIR}/lib/modules/fglrx/build_mod)" - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="/usr/lib32/modules/dri/:/usr/$(get_libdir)/modules/dri" -EOF - fi - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir=$(get_libdir) - - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/${inslibdir}/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/${inslibdir}/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - cp -pPR ${WORKDIR}/usr/X11R6/${pkglibdir}/libfglrx_gamma.* \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${WORKDIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"opengl-update ati\"" - einfo "To change your XF86Config you can use the bundled \"fglrxconfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} - diff --git a/x11-drivers/ati-drivers/ati-drivers-8.16.20.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.16.20.ebuild deleted file mode 100644 index 20bb23b27ce2..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.16.20.ebuild +++ /dev/null @@ -1,244 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.16.20.ebuild,v 1.3 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( http://www2.ati.com/drivers/linux/fglrx_6_8_0-${PV}-1.i386.rpm ) - amd64? ( http://www2.ati.com/drivers/linux/64bit/fglrx64_6_8_0-${PV}-1.x86_64.rpm )" - -LICENSE="ATI" -KEYWORDS="-*" #~amd64 ~x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have AGP support enabled, the direct rendering" - ewarn "will not work." - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_present DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - cd ${WORKDIR} - rpm_src_unpack - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - - #epatch ${FILESDIR}/fglrx-3.9.0-allocation.patch - -# if kernel_is 2 6 -# then -# fi - epatch ${FILESDIR}/ioctl32.patch - - rm -rf ${WORKDIR}/usr/X11R6/bin/fgl_glxgears -} - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/lib/modules/fglrx/build_mod - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || die "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dinamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR} - - # DRM module - insinto /lib/modules/${KV_FULL}/video - # set_kvobj - doins ${WORKDIR}/lib/modules/fglrx/build_mod/fglrx.${KV_OBJ} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe usr/X11R6/bin/* - - #ati custom stuff - insinto /etc/env.d - doins ${FILESDIR}/09ati - insinto /usr - doins -r ${WORKDIR}/usr/include -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir=$(get_libdir) - - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/${inslibdir}/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/${inslibdir}/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - cp -pPR ${WORKDIR}/usr/X11R6/${pkglibdir}/libfglrx_gamma.* \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${WORKDIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"opengl-update ati\"" - einfo "To change your XF86Config you can use the bundled \"fglrxconfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - update-modules -} - -pkg_postrm() { - /usr/bin/eselect opengl set --use-old xorg-x11 -} - diff --git a/x11-drivers/ati-drivers/ati-drivers-8.18.6-r1.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.18.6-r1.ebuild deleted file mode 100644 index d47f36a2428d..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.18.6-r1.ebuild +++ /dev/null @@ -1,300 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.18.6-r1.ebuild,v 1.4 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-i386.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_folder() { - BASE_NAME="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_NAME="${BASE_NAME}90" - else - BASE_NAME="${BASE_NAME}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - - if use amd64 ; then - BASE_NAME="${BASE_NAME}_64a" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_folder -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${BASE_NAME}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - rm -rf ${BASE_NAME}/usr/X11R6/bin/{aticonfig,fglrx_pplay} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - if kernel_is 2 6 - then - sed -i -e "s:verify_area:access_ok:g" \ - drm_os_linux.h firegl_public.c firegl_public.h - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s ${BASE_NAME}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${BASE_NAME}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="/usr/lib32/modules/dri/:/usr/$(get_libdir)/modules/dri" -EOF - fi - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir=$(get_libdir) - - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/${inslibdir}/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/${inslibdir}/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" - then - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - cp -pPR ${BASE_NAME}/usr/X11R6/${pkglibdir}/libfglrx_gamma.* \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${BASE_NAME}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${BASE_NAME}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"opengl-update ati\"" - einfo "To change your XF86Config you can use the bundled \"fglrxconfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} - diff --git a/x11-drivers/ati-drivers/ati-drivers-8.18.6.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.18.6.ebuild deleted file mode 100644 index 75ee6681272c..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.18.6.ebuild +++ /dev/null @@ -1,274 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.18.6.ebuild,v 1.4 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/fglrx_6_8_0-${PV}-1.i386.rpm ) - amd64? ( mirror://gentoo/fglrx64_6_8_0-${PV}-1.x86_64.rpm )" - -LICENSE="ATI" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -MODULE_NAMES="fglrx(video:${WORKDIR}/lib/modules/fglrx/build_mod)" - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "will not work." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - cd ${WORKDIR} - rpm_src_unpack - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - - if kernel_is 2 6 - then - sed -i -e "s:verify_area:access_ok:g" \ - drm_os_linux.h firegl_public.c firegl_public.h -# epatch ${FILESDIR}/fglrx-2.6.12-pci_name.patch -# epatch ${FILESDIR}/fglrx-2.6.12-inter_module_get.patch - fi -# epatch ${FILESDIR}/8.8.25-via-amd64.patch -# epatch ${FILESDIR}/8.8.25-smp.patch -# epatch ${FILESDIR}/8.14.13-amd64.patch - rm -rf ${WORKDIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - rm -rf ${WORKDIR}/usr/X11R6/bin/{aticonfig,fglrx_pplay} - -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/lib/modules/fglrx/build_mod - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dinamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR}/lib/modules/fglrx/build_mod - linux-mod_src_install - # DRM module - # insinto /lib/modules/${KV_FULL}/video - # set_kvobj - # doins ${WORKDIR}/lib/modules/fglrx/build_mod/fglrx.${KV_OBJ} - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="/usr/lib32/modules/dri/:/usr/$(get_libdir)/modules/dri" -EOF - fi - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir=$(get_libdir) - - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/${inslibdir}/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/${inslibdir}/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - doexe ${WORKDIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - cp -pPR ${WORKDIR}/usr/X11R6/${pkglibdir}/libfglrx_gamma.* \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${WORKDIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"opengl-update ati\"" - einfo "To change your XF86Config you can use the bundled \"fglrxconfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} - diff --git a/x11-drivers/ati-drivers/ati-drivers-8.18.8-r1.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.18.8-r1.ebuild deleted file mode 100644 index 257ff0499027..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.18.8-r1.ebuild +++ /dev/null @@ -1,311 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.18.8-r1.ebuild,v 1.4 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-i386.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_folder() { - #new modular X paths, 0 is a workaround. - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 7 ] \ - || [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 0 ] - then - BASE_NAME="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_NAME="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_NAME="${BASE_NAME}90" - else - BASE_NAME="${BASE_NAME}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_NAME="${BASE_NAME}_64a" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_folder -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${BASE_NAME}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - if kernel_is 2 6 - then - epatch "${FILESDIR}/fglrx-2.6.14-access_ok.patch" - - if use amd64 - then - epatch "${FILESDIR}/fglrx-2.6.14-compat_ioctl.patch" - fi - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s ${BASE_NAME}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${BASE_NAME}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="/usr/lib32/modules/dri/:/usr/$(get_libdir)/modules/dri" -EOF - fi - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/$xlibdir" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" - then - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - cp -pPR ${BASE_NAME}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${BASE_NAME}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${BASE_NAME}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your XF86Config you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} - diff --git a/x11-drivers/ati-drivers/ati-drivers-8.18.8-r2.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.18.8-r2.ebuild deleted file mode 100644 index 728596d688be..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.18.8-r2.ebuild +++ /dev/null @@ -1,311 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.18.8-r2.ebuild,v 1.5 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-i386.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="amd64" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - >=x11-base/opengl-update-2.1_pre1 - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_folder() { - #new modular X paths, 0 is a workaround. - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 7 ] \ - || [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 0 ] - then - BASE_NAME="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_NAME="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_NAME="${BASE_NAME}90" - else - BASE_NAME="${BASE_NAME}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_NAME="${BASE_NAME}_64a" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_folder -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${BASE_NAME}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - if kernel_is 2 6 - then - epatch "${FILESDIR}/fglrx-2.6.14-access_ok.patch" - - if use amd64 - then - epatch "${FILESDIR}/fglrx-2.6.14-compat_ioctl.patch" - fi - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s ${BASE_NAME}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${BASE_NAME}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="/usr/lib32/modules/dri/:/usr/$(get_libdir)/modules/dri" -EOF - fi - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/$xlibdir" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" - then - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - cp -pPR ${BASE_NAME}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${BASE_NAME}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${BASE_NAME}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/opengl-update --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your XF86Config you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/opengl-update --use-old xorg-x11 -} - diff --git a/x11-drivers/ati-drivers/ati-drivers-8.18.8.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.18.8.ebuild deleted file mode 100644 index bab72cdefa23..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.18.8.ebuild +++ /dev/null @@ -1,299 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.18.8.ebuild,v 1.4 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-i386.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_folder() { - BASE_NAME="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_NAME="${BASE_NAME}90" - else - BASE_NAME="${BASE_NAME}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - - if use amd64 ; then - BASE_NAME="${BASE_NAME}_64a" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_folder -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${BASE_NAME}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - if kernel_is 2 6 - then - sed -i -e "s:verify_area:access_ok:g" \ - drm_os_linux.h firegl_public.c firegl_public.h - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s ${BASE_NAME}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_ROOT="/usr/lib/opengl/ati" - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${BASE_NAME}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="/usr/lib32/modules/dri/:/usr/$(get_libdir)/modules/dri" -EOF - fi - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir=$(get_libdir) - - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/${inslibdir}/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/${inslibdir}/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version ">=x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/" - else - local X11_DIR="/usr/X11R6/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" - then - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - cp -pPR ${BASE_NAME}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${BASE_NAME}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${BASE_NAME}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your XF86Config you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} - diff --git a/x11-drivers/ati-drivers/ati-drivers-8.19.10.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.19.10.ebuild deleted file mode 100644 index 30fc4bbc34fe..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.19.10.ebuild +++ /dev/null @@ -1,309 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.19.10.ebuild,v 1.12 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-i386.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=x11-base/xorg-x11-6.8.0 - !>x11-base/xorg-x11-7.1_rc0 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_folder() { - #new modular X paths, 0 is a workaround. - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 7 ] \ - || [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 0 ] - then - BASE_NAME="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_NAME="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_NAME="${BASE_NAME}90" - else - BASE_NAME="${BASE_NAME}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_NAME="${BASE_NAME}_64a" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_folder -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${BASE_NAME}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - if kernel_is ge 2 6 14 - then - if use amd64 - then - epatch ${FILESDIR}/fglrx-2.6.14-compat_ioctl.patch - fi - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s ${BASE_NAME}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${BASE_NAME}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib32/modules/dri/:/usr/$(get_libdir)/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="$ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" - then - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - cp -pPR ${BASE_NAME}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/${X11_LIB_DIR} - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${BASE_NAME}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${BASE_NAME}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.20.8.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.20.8.ebuild deleted file mode 100644 index 3164652b64f9..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.20.8.ebuild +++ /dev/null @@ -1,313 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.20.8.ebuild,v 1.9 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-i386.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="~amd64 ~x86" - -RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) - !>=x11-base/xorg-server-1.0.99 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_folder() { - #new modular X paths, 0 is a workaround. - if has_version "x11-base/xorg-server"; then - BASE_NAME="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_NAME="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_NAME="${BASE_NAME}90" - else - BASE_NAME="${BASE_NAME}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_NAME="${BASE_NAME}_64a" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - if has_version "x11-base/xorg-server"; then - X11_IMPLEM=xorg-x11 - else - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - fi - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_folder -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${BASE_NAME}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - # fix kernel oops for acpi - if kernel_is 2 6 15; then - epatch ${FILESDIR}/${P}-linux-2.6.15.patch - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s ${BASE_NAME}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${BASE_NAME}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib32/${xlibdir}/modules/dri/:/usr/$(get_libdir)/${xlibdir}/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="$ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" - then - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - - if has_version "x11-base/xorg-server"; then - doexe ${BASE_NAME}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - fi - - cp -pPR ${BASE_NAME}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/usr/$(get_libdir) - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${BASE_NAME}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${BASE_NAME}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.21.7-r1.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.21.7-r1.ebuild deleted file mode 100644 index c916a2d5fec6..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.21.7-r1.ebuild +++ /dev/null @@ -1,331 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.21.7-r1.ebuild,v 1.6 2006/07/20 13:25:04 blubb Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-i386.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="amd64 x86" - -RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) - !>=x11-base/xorg-server-1.0.99 - >=x11-base/opengl-update-2.1_pre1 - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force stricter" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_paths() { - ARCH_DIR="${WORKDIR}/arch" - COMMON_DIR="${WORKDIR}/common" - - #new modular X paths, 0 is a workaround. - if has_version "x11-base/xorg-server"; then - BASE_DIR="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_DIR="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_DIR="${BASE_DIR}90" - else - BASE_DIR="${BASE_DIR}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_DIR="${BASE_DIR}_64a" - ARCH_DIR="${ARCH_DIR}/x86_64" - else - ARCH_DIR="${ARCH_DIR}/x86" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - if has_version "x11-base/xorg-server"; then - X11_IMPLEM=xorg-x11 - elif has_version "<x11-base/xorg-x11-6.8.99"; then - X11_IMPLEM=xorg-x11 - X11_IMPLEM_V="$(best_version x11-base/xorg-x11)" - X11_IMPLEM_V="${X11_IMPLEM_V/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - else - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - fi - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_paths -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${ARCH_DIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - # fix kernel oops for acpi - if kernel_is 2 6 15; then - epatch ${FILESDIR}/${P}-linux-2.6.15.patch - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s \ - ${ARCH_DIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) \ - || die "cannot find precompiled core" - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${ARCH_DIR}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib32/${xlibdir}/modules/dri/:/usr/$(get_libdir)/${xlibdir}/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="$ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/usr/$(get_libdir) - else - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig.a} \ - ${D}/usr/$(get_libdir) - fi - - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${COMMON_DIR}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/opengl-update --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"opengl-update ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/opengl-update --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.21.7.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.21.7.ebuild deleted file mode 100644 index 1d5371f21ba7..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.21.7.ebuild +++ /dev/null @@ -1,318 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.21.7.ebuild,v 1.7 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-i386.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="~amd64 ~x86" - -RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) - !>=x11-base/xorg-server-1.0.99 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force stricter" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_paths() { - ARCH_DIR="${WORKDIR}/arch" - COMMON_DIR="${WORKDIR}/common" - - #new modular X paths, 0 is a workaround. - if has_version "x11-base/xorg-server"; then - BASE_DIR="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_DIR="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_DIR="${BASE_DIR}90" - else - BASE_DIR="${BASE_DIR}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_DIR="${BASE_DIR}_64a" - ARCH_DIR="${ARCH_DIR}/x86_64" - else - ARCH_DIR="${ARCH_DIR}/x86" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - if has_version "x11-base/xorg-server"; then - X11_IMPLEM=xorg-x11 - else - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - fi - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_paths -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${ARCH_DIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - # fix kernel oops for acpi - if kernel_is 2 6 15; then - epatch ${FILESDIR}/${P}-linux-2.6.15.patch - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s \ - ${ARCH_DIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) \ - || die "cannot find precompiled core" - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${ARCH_DIR}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib32/${xlibdir}/modules/dri/:/usr/$(get_libdir)/${xlibdir}/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="$ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/usr/$(get_libdir) - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${COMMON_DIR}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.22.5.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.22.5.ebuild deleted file mode 100644 index 261e72cfd974..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.22.5.ebuild +++ /dev/null @@ -1,331 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.22.5.ebuild,v 1.6 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-info linux-mod toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-i386.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="~amd64 ~x86" - -RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) - !>=x11-base/xorg-server-1.0.99 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force stricter" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_paths() { - ARCH_DIR="${WORKDIR}/arch" - COMMON_DIR="${WORKDIR}/common" - - #new modular X paths, 0 is a workaround. - if has_version "x11-base/xorg-server"; then - BASE_DIR="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_DIR="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_DIR="${BASE_DIR}90" - else - BASE_DIR="${BASE_DIR}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_DIR="${BASE_DIR}_64a" - ARCH_DIR="${ARCH_DIR}/x86_64" - else - ARCH_DIR="${ARCH_DIR}/x86" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - if has_version "x11-base/xorg-server"; then - X11_IMPLEM=xorg-x11 - elif has_version "<x11-base/xorg-x11-6.8.99"; then - X11_IMPLEM=xorg-x11 - X11_IMPLEM_V="$(best_version x11-base/xorg-x11)" - X11_IMPLEM_V="${X11_IMPLEM_V/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - else - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - fi - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_paths -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${ARCH_DIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - # remove intermodule calls for 2.6.16 - if kernel_is 2 6 16; then - epatch ${FILESDIR}/${P}-intermodule.patch - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s \ - ${ARCH_DIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) \ - || die "cannot find precompiled core" - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${ARCH_DIR}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib32/${xlibdir}/modules/dri/:/usr/$(get_libdir)/${xlibdir}/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="$ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/usr/$(get_libdir) - else - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig.a} \ - ${D}/usr/$(get_libdir) - fi - - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${COMMON_DIR}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.23.7.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.23.7.ebuild deleted file mode 100644 index 0e0fdde20793..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.23.7.ebuild +++ /dev/null @@ -1,337 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.23.7.ebuild,v 1.8 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-mod linux-info toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-i386.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="~amd64 ~x86" - -RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) - !>=x11-base/xorg-server-1.0.99 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force stricter" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_paths() { - ARCH_DIR="${WORKDIR}/arch" - COMMON_DIR="${WORKDIR}/common" - - #new modular X paths, 0 is a workaround. - if has_version "x11-base/xorg-server"; then - BASE_DIR="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_DIR="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_DIR="${BASE_DIR}90" - else - BASE_DIR="${BASE_DIR}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_DIR="${BASE_DIR}_64a" - ARCH_DIR="${ARCH_DIR}/x86_64" - else - ARCH_DIR="${ARCH_DIR}/x86" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - if has_version "x11-base/xorg-server"; then - X11_IMPLEM=xorg-x11 - elif has_version "<x11-base/xorg-x11-6.8.99"; then - X11_IMPLEM=xorg-x11 - X11_IMPLEM_V="$(best_version x11-base/xorg-x11)" - X11_IMPLEM_V="${X11_IMPLEM_V/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - else - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - fi - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_paths -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${ARCH_DIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - # remove intermodule calls for 2.6.16 - if kernel_is ge 2 6 16; then - epatch ${FILESDIR}/${PN}-8.22.5-intermodule.patch - epatch ${FILESDIR}/${P}-noiommu.patch - epatch ${FILESDIR}/${P}-gcc41.patch - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s \ - ${ARCH_DIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) \ - || die "cannot find precompiled core" - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${ARCH_DIR}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib32/${xlibdir}/modules/dri/:/usr/$(get_libdir)/${xlibdir}/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="$ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/usr/$(get_libdir) - else - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig.a} \ - ${D}/usr/$(get_libdir) - fi - - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${COMMON_DIR}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - echo - einfo "If you experience unexplained segmentation faults and kernel crashes" - einfo "with this driver and multi-threaded applications such as wine," - einfo "set UseFastTLS in xorg.conf to either 0 or 1, but not 2." - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.24.8.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.24.8.ebuild deleted file mode 100644 index b9d99b7f924f..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.24.8.ebuild +++ /dev/null @@ -1,336 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.24.8.ebuild,v 1.6 2006/06/03 06:06:54 joshuabaergen Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-mod linux-info toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-x86.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="-* ~amd64 ~x86" - -RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) - !>=x11-base/xorg-server-1.0.99 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force stricter" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - - -choose_driver_paths() { - ARCH_DIR="${WORKDIR}/arch" - COMMON_DIR="${WORKDIR}/common" - - #new modular X paths, 0 is a workaround. - if has_version "x11-base/xorg-server"; then - BASE_DIR="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_DIR="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_DIR="${BASE_DIR}90" - else - BASE_DIR="${BASE_DIR}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_DIR="${BASE_DIR}_64a" - ARCH_DIR="${ARCH_DIR}/x86_64" - else - ARCH_DIR="${ARCH_DIR}/x86" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - if has_version "x11-base/xorg-server"; then - X11_IMPLEM=xorg-x11 - elif has_version "<x11-base/xorg-x11-6.8.99"; then - X11_IMPLEM=xorg-x11 - X11_IMPLEM_V="$(best_version x11-base/xorg-x11)" - X11_IMPLEM_V="${X11_IMPLEM_V/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - else - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - fi - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_paths -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${ARCH_DIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - if kernel_is ge 2 6 16; then - epatch ${FILESDIR}/${PN}-8.22.5-intermodule.patch - epatch ${FILESDIR}/${PN}-8.23.7-noiommu.patch - epatch ${FILESDIR}/${PN}-8.23.7-gcc41.patch - fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s \ - ${ARCH_DIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) \ - || die "cannot find precompiled core" - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${ARCH_DIR}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib32/${xlibdir}/modules/dri/:/usr/$(get_libdir)/${xlibdir}/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="\$LIBGL_DRIVERS_PATH $ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/usr/$(get_libdir) - else - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig.a} \ - ${D}/usr/$(get_libdir) - fi - - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${COMMON_DIR}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - echo - einfo "If you experience unexplained segmentation faults and kernel crashes" - einfo "with this driver and multi-threaded applications such as wine," - einfo "set UseFastTLS in xorg.conf to either 0 or 1, but not 2." - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.25.18.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.25.18.ebuild deleted file mode 100644 index acb4d466553f..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.25.18.ebuild +++ /dev/null @@ -1,340 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.25.18.ebuild,v 1.5 2006/06/27 23:56:44 lu_zero Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-mod linux-info toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-x86.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="-* ~amd64 ~x86" - -RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) - !>=x11-base/xorg-server-1.0.99 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force stricter" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - -QA_EXECSTACK_x86="usr/lib/xorg/modules/dri/fglrx_dri.so" -QA_EXECSTACK_amd64="usr/lib64/xorg/modules/dri/fglrx_dri.so usr/lib32/xorg/modules/dri/fglrx_dri.so" -QA_TEXTREL_x86="usr/lib/xorg/modules/dri/fglrx_dri.so usr/lib/opengl/ati/lib/libGL.so.1.2" -QA_TEXTREL_amd64="usr/lib64/xorg/modules/dri/fglrx_dri.so usr/lib32/opengl/ati/lib/libGL.so.1.2" - -choose_driver_paths() { - ARCH_DIR="${WORKDIR}/arch" - COMMON_DIR="${WORKDIR}/common" - - #new modular X paths, 0 is a workaround. - if has_version "x11-base/xorg-server"; then - BASE_DIR="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_DIR="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_DIR="${BASE_DIR}90" - else - BASE_DIR="${BASE_DIR}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_DIR="${BASE_DIR}_64a" - ARCH_DIR="${ARCH_DIR}/x86_64" - else - ARCH_DIR="${ARCH_DIR}/x86" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - if has_version "x11-base/xorg-server"; then - X11_IMPLEM=xorg-x11 - elif has_version "<x11-base/xorg-x11-6.8.99"; then - X11_IMPLEM=xorg-x11 - X11_IMPLEM_V="$(best_version x11-base/xorg-x11)" - X11_IMPLEM_V="${X11_IMPLEM_V/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - else - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - fi - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_paths -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${ARCH_DIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - #if kernel_is ge 2 6 16; then - # epatch ${FILESDIR}/${PN}-8.22.5-intermodule.patch - # epatch ${FILESDIR}/${PN}-8.23.7-noiommu.patch - # epatch ${FILESDIR}/${PN}-8.23.7-gcc41.patch - #fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s \ - ${ARCH_DIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) \ - || die "cannot find precompiled core" - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${ARCH_DIR}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib/dri:/usr/$(get_libdir)/dri:/usr/lib32/${xlibdir}/modules/dri/:/usr/$(get_libdir)/${xlibdir}/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="\$LIBGL_DRIVERS_PATH:$ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/usr/$(get_libdir) - else - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig.a} \ - ${D}/usr/$(get_libdir) - fi - - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${COMMON_DIR}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - echo - einfo "If you experience unexplained segmentation faults and kernel crashes" - einfo "with this driver and multi-threaded applications such as wine," - einfo "set UseFastTLS in xorg.conf to either 0 or 1, but not 2." - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.26.18-r1.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.26.18-r1.ebuild deleted file mode 100644 index 7ce49586c87d..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.26.18-r1.ebuild +++ /dev/null @@ -1,376 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.26.18-r1.ebuild,v 1.2 2006/07/09 17:24:02 lu_zero Exp $ - -IUSE="acpi doc opengl" - -inherit eutils rpm multilib linux-mod linux-info toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-x86.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="-* ~amd64 ~x86" - -RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) - || ( x11-apps/xauth virtual/x11 ) - !>=x11-base/xorg-server-1.0.99 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* ) - acpi? ( sys-power/acpid )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force stricter" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - -QA_EXECSTACK_x86="usr/lib/xorg/modules/dri/fglrx_dri.so" -QA_EXECSTACK_amd64="usr/lib64/xorg/modules/dri/fglrx_dri.so usr/lib32/xorg/modules/dri/fglrx_dri.so" -QA_TEXTREL_x86="usr/lib/xorg/modules/dri/fglrx_dri.so usr/lib/opengl/ati/lib/libGL.so.1.2" -QA_TEXTREL_amd64="usr/lib64/xorg/modules/dri/fglrx_dri.so usr/lib32/opengl/ati/lib/libGL.so.1.2 usr/lib32/xorg/modules/dri/fglrx_dri.so usr/lib32/xorg/modules/dri/atiogl_a_dri.so" - -choose_driver_paths() { - ARCH_DIR="${WORKDIR}/arch" - COMMON_DIR="${WORKDIR}/common" - - #new modular X paths, 0 is a workaround. - if has_version "x11-base/xorg-server"; then - BASE_DIR="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_DIR="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_DIR="${BASE_DIR}90" - else - BASE_DIR="${BASE_DIR}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_DIR="${BASE_DIR}_64a" - ARCH_DIR="${ARCH_DIR}/x86_64" - else - ARCH_DIR="${ARCH_DIR}/x86" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - if has_version "x11-base/xorg-server"; then - X11_IMPLEM=xorg-x11 - elif has_version "<x11-base/xorg-x11-6.8.99"; then - X11_IMPLEM=xorg-x11 - X11_IMPLEM_V="$(best_version x11-base/xorg-x11)" - X11_IMPLEM_V="${X11_IMPLEM_V/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - else - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - fi - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_paths -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${ARCH_DIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - #if kernel_is ge 2 6 16; then - # epatch ${FILESDIR}/${PN}-8.22.5-intermodule.patch - # epatch ${FILESDIR}/${PN}-8.23.7-noiommu.patch - # epatch ${FILESDIR}/${PN}-8.23.7-gcc41.patch - #fi - if use acpi - then - sed -i \ - -e "s/\/var\/lib\/xdm\/authdir/\/etc\/X11\/xdm\/authdir/" \ - -e "s/\/var\/lib\/gdm/\/var\/gdm/" \ - -e "s/#ffff#/#ffff##:.*MIT-MAGIC-COOKIE/" \ - "${WORKDIR}/common/etc/ati/authatieventsd.sh" \ - || die "sed failed." - fi -} - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s \ - ${ARCH_DIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) \ - || die "cannot find precompiled core" - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps, man pages, and conf files - exeinto /opt/ati/bin - doexe ${ARCH_DIR}/usr/X11R6/bin/* - if use acpi - then - exeinto /opt/ati/sbin - doexe ${ARCH_DIR}/usr/sbin/* - insinto /opt/ati/man/man8 - doins common/usr/share/man/man8/* - doinitd ${FILESDIR}/atieventsd.rc6 atieventsd - dodir /etc/conf.d - echo 'ATIEVENTSDOPTS=""' > ${D}/etc/conf.d/atieventsd - fi - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - # doc's - if use doc; then - dodir /usr/share/doc/fglrx - cp -pPR common/usr/share/doc/fglrx/* \ - ${D}/usr/share/doc/fglrx - fi - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - if use acpi - then - local ATIETC="${WORKDIR}/common/usr/share/doc/fglrx/examples/etc/acpi" - exeinto /etc/acpi - doexe ${ATIETC}/ati-powermode.sh - insinto /etc/acpi/events - doins ${ATIETC}/events/a-ac-aticonfig - doins ${ATIETC}/events/a-lid-aticonfig - fi - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib/dri:/usr/$(get_libdir)/dri:/usr/lib32/${xlibdir}/modules/dri/:/usr/$(get_libdir)/${xlibdir}/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="\$LIBGL_DRIVERS_PATH:$ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/usr/$(get_libdir) - else - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig.a} \ - ${D}/usr/$(get_libdir) - fi - - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${COMMON_DIR}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - echo - einfo "If you experience unexplained segmentation faults and kernel crashes" - einfo "with this driver and multi-threaded applications such as wine," - einfo "set UseFastTLS in xorg.conf to either 0 or 1, but not 2." - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.26.18.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.26.18.ebuild deleted file mode 100644 index c303c9257fa0..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.26.18.ebuild +++ /dev/null @@ -1,340 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.26.18.ebuild,v 1.1 2006/06/27 23:56:44 lu_zero Exp $ - -IUSE="opengl" - -inherit eutils rpm multilib linux-mod linux-info toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -SRC_URI="x86? ( mirror://gentoo/ati-driver-installer-${PV}-x86.run ) - amd64? ( mirror://gentoo/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="-* ~amd64 ~x86" - -RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) - !>=x11-base/xorg-server-1.0.99 - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force stricter" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - -QA_EXECSTACK_x86="usr/lib/xorg/modules/dri/fglrx_dri.so" -QA_EXECSTACK_amd64="usr/lib64/xorg/modules/dri/fglrx_dri.so usr/lib32/xorg/modules/dri/fglrx_dri.so" -QA_TEXTREL_x86="usr/lib/xorg/modules/dri/fglrx_dri.so usr/lib/opengl/ati/lib/libGL.so.1.2" -QA_TEXTREL_amd64="usr/lib64/xorg/modules/dri/fglrx_dri.so usr/lib32/opengl/ati/lib/libGL.so.1.2 usr/lib32/xorg/modules/dri/fglrx_dri.so usr/lib32/xorg/modules/dri/atiogl_a_dri.so" - -choose_driver_paths() { - ARCH_DIR="${WORKDIR}/arch" - COMMON_DIR="${WORKDIR}/common" - - #new modular X paths, 0 is a workaround. - if has_version "x11-base/xorg-server"; then - BASE_DIR="${WORKDIR}/x690" - xlibdir="xorg" - else - BASE_DIR="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_DIR="${BASE_DIR}90" - else - BASE_DIR="${BASE_DIR}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_DIR="${BASE_DIR}_64a" - ARCH_DIR="${ARCH_DIR}/x86_64" - else - ARCH_DIR="${ARCH_DIR}/x86" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - if has_version "x11-base/xorg-server"; then - X11_IMPLEM=xorg-x11 - elif has_version "<x11-base/xorg-x11-6.8.99"; then - X11_IMPLEM=xorg-x11 - X11_IMPLEM_V="$(best_version x11-base/xorg-x11)" - X11_IMPLEM_V="${X11_IMPLEM_V/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - else - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - fi - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_paths -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${ARCH_DIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - #if kernel_is ge 2 6 16; then - # epatch ${FILESDIR}/${PN}-8.22.5-intermodule.patch - # epatch ${FILESDIR}/${PN}-8.23.7-noiommu.patch - # epatch ${FILESDIR}/${PN}-8.23.7-gcc41.patch - #fi -} - - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s \ - ${ARCH_DIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) \ - || die "cannot find precompiled core" - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps - exeinto /opt/ati/bin - doexe ${ARCH_DIR}/usr/X11R6/bin/* - - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib/dri:/usr/$(get_libdir)/dri:/usr/lib32/${xlibdir}/modules/dri/:/usr/$(get_libdir)/${xlibdir}/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="\$LIBGL_DRIVERS_PATH:$ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/usr/$(get_libdir) - else - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig.a} \ - ${D}/usr/$(get_libdir) - fi - - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${COMMON_DIR}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - echo - einfo "If you experience unexplained segmentation faults and kernel crashes" - einfo "with this driver and multi-threaded applications such as wine," - einfo "set UseFastTLS in xorg.conf to either 0 or 1, but not 2." - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/ati-drivers-8.27.10.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.27.10.ebuild deleted file mode 100644 index 35293829f588..000000000000 --- a/x11-drivers/ati-drivers/ati-drivers-8.27.10.ebuild +++ /dev/null @@ -1,385 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.27.10.ebuild,v 1.1 2006/08/01 22:44:42 lu_zero Exp $ - -IUSE="acpi doc opengl" - -inherit eutils rpm multilib linux-mod linux-info toolchain-funcs - -DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets" -HOMEPAGE="http://www.ati.com" -ATI_URL="https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/" -SRC_URI="x86? ( ${ATI_URL}/ati-driver-installer-${PV}-x86.run ) - amd64? ( ${ATI_URL}/64bit/ati-driver-installer-${PV}-x86_64.run )" - -LICENSE="ATI" -KEYWORDS="-* ~amd64 ~x86" - -RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) - || ( x11-apps/xauth virtual/x11 ) - app-admin/eselect-opengl - || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* ) - acpi? ( sys-power/acpid )" - -DEPEND=">=virtual/linux-sources-2.4 - ${RDEPEND}" - -PROVIDE="virtual/opengl" - -ATIBIN="${D}/opt/ati/bin" -RESTRICT="nostrip multilib-pkg-force stricter" - -MODULE_NAMES="fglrx(video:${WORKDIR}/common/lib/modules/fglrx/build_mod)" - -QA_EXECSTACK_x86="usr/lib/xorg/modules/dri/fglrx_dri.so" -QA_EXECSTACK_amd64="usr/lib64/xorg/modules/dri/fglrx_dri.so usr/lib32/xorg/modules/dri/fglrx_dri.so" -QA_TEXTREL_x86="usr/lib/xorg/modules/dri/fglrx_dri.so usr/lib/opengl/ati/lib/libGL.so.1.2" -QA_TEXTREL_amd64="usr/lib64/xorg/modules/dri/fglrx_dri.so usr/lib32/opengl/ati/lib/libGL.so.1.2 usr/lib32/xorg/modules/dri/fglrx_dri.so usr/lib32/xorg/modules/dri/atiogl_a_dri.so" - -choose_driver_paths() { - ARCH_DIR="${WORKDIR}/arch" - COMMON_DIR="${WORKDIR}/common" - - #new modular X paths, 0 is a workaround. - if has_version "x11-base/xorg-server"; then - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 1 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 0 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] || - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" -gt 0 ] - then - BASE_DIR="${WORKDIR}/x710" - else - BASE_DIR="${WORKDIR}/x690" - fi - xlibdir="xorg" - else - BASE_DIR="${WORKDIR}/x$(get_version_component_range 1 ${X11_IMPLEM_V})" - xlibdir="" - - # Determine if we are facing X.org 6.8.99 aka 6.9 - if [ "$(get_version_component_range 1 ${X11_IMPLEM_V})" = 6 ] && - [ "$(get_version_component_range 2 ${X11_IMPLEM_V})" = 8 ] && - [ "$(get_version_component_range 3 ${X11_IMPLEM_V})" = 99 ] - then - BASE_DIR="${BASE_DIR}90" - else - BASE_DIR="${BASE_DIR}$(get_version_component_range 2 ${X11_IMPLEM_V})0" - fi - fi - - if use amd64 ; then - BASE_DIR="${BASE_DIR}_64a" - ARCH_DIR="${ARCH_DIR}/x86_64" - else - ARCH_DIR="${ARCH_DIR}/x86" - fi -} - -pkg_setup(){ - #check kernel and sets up KV_OBJ - linux-mod_pkg_setup - local agp - ebegin "Checking for MTRR support enabled" - linux_chkconfig_present MTRR - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You don't have MTRR support enabled, the direct rendering" - ewarn "will not work." - fi - - ebegin "Checking for AGP support enabled" - linux_chkconfig_present AGP - eend $? - - if [[ $? -ne 0 ]] ; then - - ebegin "Checking for PCI Express support enabled" - linux_chkconfig_present PCIEPORTBUS - eend $? - - if [[ $? -ne 0 ]] ; then - ewarn "If you don't have either AGP or PCI Express support enabled, direct rendering" - ewarn "could work only using the internal support." - fi - - fi - ebegin "Checking for DRM support disabled" - ! linux_chkconfig_builtin DRM - eend $? - if [[ $? -ne 0 ]] ; then - ewarn "You have DRM support enabled builtin, the direct rendering" - ewarn "will not work." - fi - - # Set up X11 implementation - if has_version "x11-base/xorg-server"; then - X11_IMPLEM=xorg-x11 - elif has_version "<x11-base/xorg-x11-6.8.99"; then - X11_IMPLEM=xorg-x11 - X11_IMPLEM_V="$(best_version x11-base/xorg-x11)" - X11_IMPLEM_V="${X11_IMPLEM_V/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - else - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - X11_IMPLEM_V="${X11_IMPLEM_P/${X11_IMPLEM}-/}" - X11_IMPLEM_V="${X11_IMPLEM_V##*\/}" - fi - einfo "X11 implementation is ${X11_IMPLEM}." - choose_driver_paths -} - -src_unpack() { - local OLDBIN="/usr/X11R6/bin" - - ebegin "Unpacking Ati drivers" - sh ${DISTDIR}/${A} --extract ${WORKDIR} &> /dev/null - eend $? || die "unpack failed" - - rm -rf ${ARCH_DIR}/usr/X11R6/bin/{fgl_glxgears,fireglcontrolpanel} - - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - - #if kernel_is ge 2 6 16; then - # epatch ${FILESDIR}/${PN}-8.22.5-intermodule.patch - # epatch ${FILESDIR}/${PN}-8.23.7-noiommu.patch - # epatch ${FILESDIR}/${PN}-8.23.7-gcc41.patch - #fi - if use acpi - then - sed -i \ - -e "s/\/var\/lib\/xdm\/authdir/\/etc\/X11\/xdm\/authdir/" \ - -e "s/\/var\/lib\/gdm/\/var\/gdm/" \ - -e "s/#ffff#/#ffff##:.*MIT-MAGIC-COOKIE/" \ - "${WORKDIR}/common/etc/ati/authatieventsd.sh" \ - || die "sed failed." - fi -} - -src_compile() { - einfo "Building the DRM module..." - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - ln -s \ - ${ARCH_DIR}/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC$(gcc-major-version) \ - || die "cannot find precompiled core" - - if kernel_is 2 6 - then - set_arch_to_kernel - addwrite "/usr/src/${FK}" - cp 2.6.x/Makefile . - export _POSIX2_VERSION="199209" - if use_m ; - then - make -C ${KV_DIR} M="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - else - make -C ${KV_DIR} SUBDIRS="`pwd`" GCC_VER_MAJ=$(gcc-major-version) \ - modules || ewarn "DRM module not built" - fi - set_arch_to_portage - else - export _POSIX2_VERSION="199209" - # That is the dirty way to avoid the id -u check - sed -e 's:`id -u`:0:' \ - -e "s:\`uname -r\`:${KV_FULL}:" \ - -i make.sh - chmod +x make.sh - ./make.sh || ewarn "DRM module not built" - fi -} - -pkg_preinst() { - # Clean the dynamic libGL stuff's home to ensure - # we don't have stale libs floating around ... - if [ -d "${ROOT}/usr/lib/opengl/ati" ] - then - rm -rf ${ROOT}/usr/lib/opengl/ati/* - fi -} - -src_install() { - local ATI_LIBGL_PATH="" - cd ${WORKDIR}/common/lib/modules/fglrx/build_mod - linux-mod_src_install - - cd ${WORKDIR} - - local native_dir - use x86 && native_dir="lib" - use amd64 && native_dir="lib64" - - # Install the libs - # MULTILIB-CLEANUP: Fix this when FEATURES=multilib-pkg is in portage - local MLTEST=$(type dyn_unpack) - 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 has_multilib_profile; then - src_install-libs - elif use amd64; then - src_install-libs lib $(get_multilibdir) - src_install-libs lib64 $(get_libdir) - else - src_install-libs - fi &> /dev/null - - #apps, man pages, and conf files - exeinto /opt/ati/bin - doexe ${ARCH_DIR}/usr/X11R6/bin/* - if use acpi - then - exeinto /opt/ati/sbin - doexe ${ARCH_DIR}/usr/sbin/* - insinto /opt/ati/man/man8 - doins common/usr/share/man/man8/* - cp ${FILESDIR}/atieventsd.rc6 ${T}/atieventsd - doinitd ${T}/atieventsd - dodir /etc/conf.d - echo 'ATIEVENTSDOPTS=""' > ${D}/etc/conf.d/atieventsd - fi - #ati custom stuff - insinto /usr - doins -r ${WORKDIR}/common/usr/include - - #documentation - if use doc; then - dodir /usr/share/doc/fglrx - cp -pPR common/usr/share/doc/fglrx/* \ - ${D}/usr/share/doc/fglrx - fi - - #env.d entry - cp ${FILESDIR}/09ati ${T}/ - - if use acpi - then - local ATIETC="${WORKDIR}/common/usr/share/doc/fglrx/examples/etc/acpi" - exeinto /etc/acpi - doexe ${ATIETC}/ati-powermode.sh - insinto /etc/acpi/events - doins ${ATIETC}/events/a-ac-aticonfig - doins ${ATIETC}/events/a-lid-aticonfig - fi - - #Work around hardcoded path in 32bit libGL.so on amd64, bug 101539 - if has_multilib_profile && [ $(get_abi_LIBDIR x86) = "lib32" ] ; then - ATI_LIBGL_PATH="/usr/lib/dri:/usr/$(get_libdir)/dri:/usr/lib32/${xlibdir}/modules/dri/:/usr/$(get_libdir)/${xlibdir}/modules/dri" - fi - cat >>${T}/09ati <<EOF - -LIBGL_DRIVERS_PATH="\$LIBGL_DRIVERS_PATH:$ATI_LIBGL_PATH" -EOF - - doenvd ${T}/09ati -} - -src_install-libs() { - local pkglibdir=lib - local inslibdir="$(get_libdir)/${xlibdir}" - ATI_LIBGL_PATH="${ATI_LIBGL_PATH}:/usr/$(get_libdir)/${xlibdir}/modules/dri" - if [ ${#} -eq 2 ]; then - pkglibdir=${1} - inslibdir=${2} - elif has_multilib_profile && [ "${ABI}" == "amd64" ]; then - pkglibdir=lib64 - fi - - einfo "${pkglibdir} -> ${inslibdir}" - - local ATI_ROOT="/usr/$(get_libdir)/opengl/ati" - - # The GLX libraries - exeinto ${ATI_ROOT}/lib - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/libGL.so.1.2 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1 - dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so - - # Don't do this... see bug #47598 - #dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so - - # same as the xorg implementation - dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions - #Workaround - if use opengl ; then - sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \ - /usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la \ - > $D/${ATI_ROOT}/lib/libGL.la - dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include - fi - # X and DRI driver - if has_version "<x11-base/xorg-x11-6.8.0-r4" - then - local X11_DIR="/usr/X11R6/" - else - local X11_DIR="/usr/" - fi - - local X11_LIB_DIR="${X11_DIR}${inslibdir}" - - exeinto ${X11_LIB_DIR}/modules/drivers - # In X.org 6.8.99 / 6.9 this is a .so - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/drivers/fglrx_drv.*o - - exeinto ${X11_LIB_DIR}/modules/dri - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/fglrx_dri.so - doexe ${ARCH_DIR}/usr/X11R6/${pkglibdir}/modules/dri/atiogl_a_dri.so - - exeinto ${X11_LIB_DIR}/modules/linux - # In X.org 6.8.99 / 6.9 this is a .so - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.so - else - doexe ${BASE_DIR}/usr/X11R6/${pkglibdir}/modules/linux/libfglrxdrm.a - fi - - if has_version ">=x11-base/xorg-x11-6.8.99" || \ - has_version "x11-base/xorg-server" - then - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig} \ - ${D}/usr/$(get_libdir) - else - cp -pPR ${ARCH_DIR}/usr/X11R6/${pkglibdir}/lib{fglrx_*,aticonfig.a} \ - ${D}/usr/$(get_libdir) - fi - - #Not the best place - insinto ${X11_DIR}/include/X11/extensions - doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h - - dodir /etc - cp -pPR ${COMMON_DIR}/etc/* ${D}/etc/ -} - - -pkg_postinst() { - /usr/bin/eselect opengl set --use-old ati - - echo - einfo "To switch to ATI OpenGL, run \"eselect opengl set ati\"" - einfo "To change your xorg.conf you can use the bundled \"aticonfig\"" - if use !opengl ; then - ewarn "You don't have the opengl useflag enabled, you won't be able to build" - ewarn "opengl applications nor use opengl driver features, if that isn't" - ewarn "the intended behaviour please add opengl to your useflag and issue" - ewarn "# emerge -Nu ati-drivers" - fi - echo - einfo "If you experience unexplained segmentation faults and kernel crashes" - einfo "with this driver and multi-threaded applications such as wine," - einfo "set UseFastTLS in xorg.conf to either 0 or 1, but not 2." - # DRM module - linux-mod_pkg_postinst -} - -pkg_postrm() { - linux-mod_pkg_postrm - /usr/bin/eselect opengl set --use-old xorg-x11 -} diff --git a/x11-drivers/ati-drivers/files/8.8.25-smp.patch b/x11-drivers/ati-drivers/files/8.8.25-smp.patch deleted file mode 100644 index 9914a8d9fde0..000000000000 --- a/x11-drivers/ati-drivers/files/8.8.25-smp.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- firegl_public.c.bak 2004-12-10 11:35:14.091477807 +0100 -+++ firegl_public.c 2004-12-10 11:07:12.000000000 +0100 -@@ -32,6 +32,9 @@ - // ============================================================ - #include <linux/version.h> - #include <linux/autoconf.h> -+#ifdef CONFIG_SMP -+#define __SMP__ -+#endif - - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,71) - #define EXPORT_SYMTAB 1 diff --git a/x11-drivers/ati-drivers/files/8.8.25-via-amd64.patch b/x11-drivers/ati-drivers/files/8.8.25-via-amd64.patch deleted file mode 100644 index 78473847404d..000000000000 --- a/x11-drivers/ati-drivers/files/8.8.25-via-amd64.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- agpgart_be.c 2005-01-18 15:02:14.639429632 +0100 -+++ agpgart_be.c 2005-01-18 14:54:34.000000000 +0100 -@@ -6167,6 +6167,22 @@ - "Via", - "Apollo P4M266", - via_generic_setup }, -+ -+ { PCI_DEVICE_ID_VIA_8380_0, -+ PCI_VENDOR_ID_VIA, -+ AMD_8151, -+ "AMD", -+ "On-CPU GART", -+ amd_8151_setup }, -+ -+ { PCI_DEVICE_ID_VIA_8385_0, -+ PCI_VENDOR_ID_VIA, -+ AMD_8151, -+ "AMD", -+ "On-CPU GART", -+ amd_8151_setup }, -+ -+ - { 0, - PCI_VENDOR_ID_VIA, - VIA_GENERIC, ---- agp.h 2005-01-18 15:02:14.644428872 +0100 -+++ agp.h 2005-01-18 14:55:33.000000000 +0100 -@@ -202,6 +202,9 @@ - #define SIS_GENERIC _X(SIS_GENERIC) - #define AMD_GENERIC _X(AMD_GENERIC) - #define AMD_IRONGATE _X(AMD_IRONGATE) -+ #define PCI_DEVICE_ID_VIA_8380_0 0x0204 -+ #define PCI_DEVICE_ID_VIA_8385_0 0x3188 -+ - // #define AMD_IGD4 _X(AMD_IGD4) - // #define AMD_IGD4_2P _X(AMD_IGD4_2P) - #define AMD_761 _X(AMD_761) diff --git a/x11-drivers/ati-drivers/files/ati-drivers-8.20.8-linux-2.6.15.patch b/x11-drivers/ati-drivers/files/ati-drivers-8.20.8-linux-2.6.15.patch deleted file mode 100644 index 6503170a1ff7..000000000000 --- a/x11-drivers/ati-drivers/files/ati-drivers-8.20.8-linux-2.6.15.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- fglrx.orig/build_mod/firegl_public.c 2005-12-05 15:47:41.000000000 +0000 -+++ fglrx/build_mod/firegl_public.c 2005-12-05 17:18:12.000000000 +0000 -@@ -2586,7 +2586,7 @@ static __inline__ vm_nopage_ret_t do_vm_ - - pMmPage = virt_to_page(kaddr); - --#if 0 -+#if LINUX_VERSION_CODE >= 0x02060f - // WARNING WARNINIG WARNNING WARNNING WARNNING WARNNING WARNNING WARNNING - // Don't increment page usage count, cause ctx pages are allocated - // with drm_alloc_pages, which marks all pages as reserved. Reserved -- diff --git a/x11-drivers/ati-drivers/files/ati-drivers-8.21.7-linux-2.6.15.patch b/x11-drivers/ati-drivers/files/ati-drivers-8.21.7-linux-2.6.15.patch deleted file mode 100644 index 98123f4f6ef3..000000000000 --- a/x11-drivers/ati-drivers/files/ati-drivers-8.21.7-linux-2.6.15.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- firegl_public.c-orig 2006-01-21 10:54:12.007580904 -0600 -+++ firegl_public.c 2006-01-21 10:56:28.515828496 -0600 -@@ -2638,7 +2638,7 @@ - - pMmPage = virt_to_page(kaddr); - --#if 0 -+#if LINUX_VERSION_CODE >= 0x02060f - // WARNING WARNINIG WARNNING WARNNING WARNNING WARNNING WARNNING WARNNING - // Don't increment page usage count, cause ctx pages are allocated - // with drm_alloc_pages, which marks all pages as reserved. Reserved diff --git a/x11-drivers/ati-drivers/files/ati-drivers-8.22.5-intermodule.patch b/x11-drivers/ati-drivers/files/ati-drivers-8.22.5-intermodule.patch deleted file mode 100644 index af91b48be721..000000000000 --- a/x11-drivers/ati-drivers/files/ati-drivers-8.22.5-intermodule.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- firegl_public.c-orig 2006-02-23 14:54:16.386740016 -0600 -+++ firegl_public.c 2006-02-23 14:56:38.054203288 -0600 -@@ -361,13 +361,15 @@ - } firegl_drm_stub_info_t; - static firegl_drm_stub_info_t firegl_stub_info; - --#if LINUX_VERSION_CODE < 0x020400 -+#if LINUX_VERSION_CODE > 0x02060F - struct firegl_drm_stub_info_t *firegl_stub_pointer = NULL; - #define inter_module_put(x) - #define inter_module_unregister(x) - #define inter_module_get_request(x,y) firegl_stub_pointer - #define inter_module_register(x,y,z) do { firegl_stub_pointer = z; } while (0) -+#endif - /* This is a kludge for backward compatibility that is only useful in DRM(stub_open) */ -+#if LINUX_VERSION_CODE < 0x020400 - #define fops_put(fops) MOD_DEC_USE_COUNT - #define fops_get(fops) (fops); MOD_INC_USE_COUNT - #endif // LINUX_VERSION_CODE < 0x020400 diff --git a/x11-drivers/ati-drivers/files/ati-drivers-8.23.7-gcc41.patch b/x11-drivers/ati-drivers/files/ati-drivers-8.23.7-gcc41.patch deleted file mode 100644 index 97bfeee05f9c..000000000000 --- a/x11-drivers/ati-drivers/files/ati-drivers-8.23.7-gcc41.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff -urN firegl_agpgart/firegl_wrap.c.orig firegl_agpgart/firegl_wrap.c ---- firegl_agpgart/firegl_wrap.c.orig 2006-04-30 17:05:16.822673160 -0500 -+++ firegl_agpgart/firegl_wrap.c 2006-04-30 17:09:21.780433920 -0500 -@@ -168,7 +168,7 @@ - - #if !defined(__ia64__) - // the macros do use errno variable --static int errno; -+//static int errno; - #endif // __ia64__ - - // int mlock(const void *addr, size_t len); -@@ -217,7 +217,7 @@ - /* global module vars and constants - defined trough macros */ - MODULE_AUTHOR("Fire GL - ATI Research GmbH, Germany"); - MODULE_DESCRIPTION("ATI Fire GL"); --MODULE_PARM(firegl, "s"); -+module_param(firegl, short, 0); - #ifdef MODULE_LICENSE - MODULE_LICENSE("Proprietary. (C) 2005 - ATI Technologies, Starnberg, GERMANY"); - #endif -@@ -1120,7 +1120,7 @@ - - int ATI_API_CALL __ke_verify_area(int type, const void * addr, unsigned long size) - { -- return verify_area(type, addr, size); -+ return access_ok(type, addr, size); - } - - int ATI_API_CALL __ke_get_pci_device_info(__ke_pci_dev_t* dev, __ke_pci_device_info_t *pinfo) -diff -urN firegl_public.c.orig firegl_public.c. ---- firegl_public.c.orig 2006-04-30 17:05:16.687693680 -0500 -+++ firegl_public.c 2006-04-30 17:07:31.553191008 -0500 -@@ -225,7 +225,7 @@ - /* global module vars and constants - defined trough macros */ - MODULE_AUTHOR("Fire GL - ATI Research GmbH, Germany"); - MODULE_DESCRIPTION("ATI Fire GL"); --MODULE_PARM(firegl, "s"); -+module_param(firegl, short, 0); - #ifdef MODULE_LICENSE - MODULE_LICENSE("Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY"); - #endif -diff -urN firegl_public.h.orig firegl_public.h ---- firegl_public.h.orig 2006-04-30 17:05:16.765681824 -0500 -+++ firegl_public.h 2006-04-30 17:44:20.040449912 -0500 -@@ -152,7 +152,7 @@ - } \ - } while(0) - --#ifdef pfn_to_page -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14) - #define PMD_PAGE(pmd) pmd_page(pmd) - #else /* for old 2.4 kernels */ - #define pfn_to_page(pfn) (mem_map + (pfn)) diff --git a/x11-drivers/ati-drivers/files/ati-drivers-8.23.7-noiommu.patch b/x11-drivers/ati-drivers/files/ati-drivers-8.23.7-noiommu.patch deleted file mode 100644 index 4b2133c383ca..000000000000 --- a/x11-drivers/ati-drivers/files/ati-drivers-8.23.7-noiommu.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- firegl_public.c.orig 2006-03-21 15:32:05.000000000 +0100 -+++ firegl_public.c 2006-03-21 15:38:06.000000000 +0100 -@@ -2353,7 +2353,7 @@ - - int ATI_API_CALL __ke_no_iommu(void) - { --#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,1) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,1) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) - #ifdef CONFIG_GART_IOMMU - return no_iommu; - #else /* !CONFIG_GART_IOMMU */ diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r2 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r2 deleted file mode 100644 index 5c1bc0c5f191..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 5187698cee2edf3dee89bc3eee5729c1 fglrx_6_8_0-8.14.13-1.i386.rpm 8765541 -MD5 fc6c39cdf856955359c6f7087a78581c fglrx64_6_8_0-8.14.13-1.x86_64.rpm 14977136 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r3 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r3 deleted file mode 100644 index 5c1bc0c5f191..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 5187698cee2edf3dee89bc3eee5729c1 fglrx_6_8_0-8.14.13-1.i386.rpm 8765541 -MD5 fc6c39cdf856955359c6f7087a78581c fglrx64_6_8_0-8.14.13-1.x86_64.rpm 14977136 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r4 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r4 deleted file mode 100644 index 5c1bc0c5f191..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 5187698cee2edf3dee89bc3eee5729c1 fglrx_6_8_0-8.14.13-1.i386.rpm 8765541 -MD5 fc6c39cdf856955359c6f7087a78581c fglrx64_6_8_0-8.14.13-1.x86_64.rpm 14977136 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r5 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r5 deleted file mode 100644 index 5c1bc0c5f191..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.14.13-r5 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 5187698cee2edf3dee89bc3eee5729c1 fglrx_6_8_0-8.14.13-1.i386.rpm 8765541 -MD5 fc6c39cdf856955359c6f7087a78581c fglrx64_6_8_0-8.14.13-1.x86_64.rpm 14977136 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.16.20 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.16.20 deleted file mode 100644 index 1f351a19affd..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.16.20 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 db413c61d9d00a96c6a103fe9cf697d5 fglrx_6_8_0-8.16.20-1.i386.rpm 11463523 -MD5 71524b4690b1df108c2cc5d37f945856 fglrx64_6_8_0-8.16.20-1.x86_64.rpm 16328353 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.16.20-r1 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.16.20-r1 deleted file mode 100644 index 1f351a19affd..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.16.20-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 db413c61d9d00a96c6a103fe9cf697d5 fglrx_6_8_0-8.16.20-1.i386.rpm 11463523 -MD5 71524b4690b1df108c2cc5d37f945856 fglrx64_6_8_0-8.16.20-1.x86_64.rpm 16328353 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.6 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.6 deleted file mode 100644 index b9a1b3a7e463..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.6 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 7d7b2397e5423ce6584b2efe7730754e fglrx_6_8_0-8.18.6-1.i386.rpm 12102933 -MD5 4d2a647586cfac6734a8903d563fd8b0 fglrx64_6_8_0-8.18.6-1.x86_64.rpm 17028932 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.6-r1 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.6-r1 deleted file mode 100644 index c59c131d4be8..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.6-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 fbe9d229241a496bd6b4786b17a6cb5f ati-driver-installer-8.18.6-i386.run 62368301 -MD5 b1ab61da644117028b1d911ac20ba709 ati-driver-installer-8.18.6-x86_64.run 53491900 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.8 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.8 deleted file mode 100644 index 46a95cc1df1c..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.8 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 0618d75904a4b2dd3a2dc822c093a116 ati-driver-installer-8.18.8-i386.run 62367182 -RMD160 2cea354f9e9a02cc255aa4aeb4468756263e8c17 ati-driver-installer-8.18.8-i386.run 62367182 -SHA256 48b7ca2c529c0263ffab8a42e7e272e8dbe603d0ea2ebda99ab7f8a3b9789021 ati-driver-installer-8.18.8-i386.run 62367182 -MD5 71da0e3a3f01b401017d85c3cf16d715 ati-driver-installer-8.18.8-x86_64.run 53490938 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.8-r1 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.8-r1 deleted file mode 100644 index 46a95cc1df1c..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.8-r1 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 0618d75904a4b2dd3a2dc822c093a116 ati-driver-installer-8.18.8-i386.run 62367182 -RMD160 2cea354f9e9a02cc255aa4aeb4468756263e8c17 ati-driver-installer-8.18.8-i386.run 62367182 -SHA256 48b7ca2c529c0263ffab8a42e7e272e8dbe603d0ea2ebda99ab7f8a3b9789021 ati-driver-installer-8.18.8-i386.run 62367182 -MD5 71da0e3a3f01b401017d85c3cf16d715 ati-driver-installer-8.18.8-x86_64.run 53490938 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.8-r2 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.8-r2 deleted file mode 100644 index 46a95cc1df1c..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.18.8-r2 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 0618d75904a4b2dd3a2dc822c093a116 ati-driver-installer-8.18.8-i386.run 62367182 -RMD160 2cea354f9e9a02cc255aa4aeb4468756263e8c17 ati-driver-installer-8.18.8-i386.run 62367182 -SHA256 48b7ca2c529c0263ffab8a42e7e272e8dbe603d0ea2ebda99ab7f8a3b9789021 ati-driver-installer-8.18.8-i386.run 62367182 -MD5 71da0e3a3f01b401017d85c3cf16d715 ati-driver-installer-8.18.8-x86_64.run 53490938 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.19.10 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.19.10 deleted file mode 100644 index cca3f626a523..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.19.10 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 e35876bafb54f23cebbaf822646646eb ati-driver-installer-8.19.10-i386.run 63744416 -RMD160 240c23319faf4dd60e87457abbe3d5bb79e11355 ati-driver-installer-8.19.10-i386.run 63744416 -SHA256 3063e1e3ee44fb83565d8496964cf4b351618d3ef8a0b57967ac065eed79294c ati-driver-installer-8.19.10-i386.run 63744416 -MD5 6d14ff7c8a28d24a0ba0c55930d5fe6a ati-driver-installer-8.19.10-x86_64.run 54043719 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.20.8 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.20.8 deleted file mode 100644 index 0b73c990f4a7..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.20.8 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 d3cd0788936d57c2b6734449c66987f8 ati-driver-installer-8.20.8-i386.run 72229632 -RMD160 cab34d42d2641f2e6ebb7f0eb3597c63b83aa61b ati-driver-installer-8.20.8-i386.run 72229632 -SHA256 1ef80cca59315fee811d6b425c33235c2e9928350d3c5c0f3b07a2ceeeb14867 ati-driver-installer-8.20.8-i386.run 72229632 -MD5 1ffc8dfe93db24fa18f3dd387e20bbcd ati-driver-installer-8.20.8-x86_64.run 57389816 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.21.7 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.21.7 deleted file mode 100644 index c5f542720f49..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.21.7 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 d20ca4b2d9da8249461c4bb7c75333b6 ati-driver-installer-8.21.7-i386.run 37095872 -RMD160 22d241eaa060c8bf6fbcd3bb340cfa603b7e4bd6 ati-driver-installer-8.21.7-i386.run 37095872 -SHA256 8fe26909c49d6dab64aa97e840c07abf8be0bd0abfbff2285cf2ebfb5a51a93d ati-driver-installer-8.21.7-i386.run 37095872 -MD5 6895783811017aad8e1d9316641f2b65 ati-driver-installer-8.21.7-x86_64.run 28235137 -RMD160 8d0af873b42c5c94c27a05895d97dc5f8f4836ad ati-driver-installer-8.21.7-x86_64.run 28235137 -SHA256 8a5ddf6a391834f1111b19a36d2592714f15b9565be306d58b9c540f9fa54007 ati-driver-installer-8.21.7-x86_64.run 28235137 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.21.7-r1 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.21.7-r1 deleted file mode 100644 index 3539113fb0a8..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.21.7-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 d20ca4b2d9da8249461c4bb7c75333b6 ati-driver-installer-8.21.7-i386.run 37095872 -RMD160 22d241eaa060c8bf6fbcd3bb340cfa603b7e4bd6 ati-driver-installer-8.21.7-i386.run 37095872 -SHA256 8fe26909c49d6dab64aa97e840c07abf8be0bd0abfbff2285cf2ebfb5a51a93d ati-driver-installer-8.21.7-i386.run 37095872 -RMD160 8d0af873b42c5c94c27a05895d97dc5f8f4836ad ati-driver-installer-8.21.7-x86_64.run 28235137 -SHA256 8a5ddf6a391834f1111b19a36d2592714f15b9565be306d58b9c540f9fa54007 ati-driver-installer-8.21.7-x86_64.run 28235137 -MD5 6895783811017aad8e1d9316641f2b65 ati-driver-installer-8.21.7-x86_64.run 28235137 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.22.5 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.22.5 deleted file mode 100644 index 156933f50a93..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.22.5 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 283eb8b53dbd0887fff3277d4bf0b3f9 ati-driver-installer-8.22.5-i386.run 37222832 -RMD160 57ad6f7dc118aa1e10f7a83548a49501964fc219 ati-driver-installer-8.22.5-i386.run 37222832 -SHA256 347b36e3ece945f7d635f2b8d4b6a94010c7049ededa697d89c2839500f4d014 ati-driver-installer-8.22.5-i386.run 37222832 -MD5 a24571ecb45b2a26092ef103d8eecefd ati-driver-installer-8.22.5-x86_64.run 28274358 -RMD160 baa9f546fb7e0f73d993e9fd2f9100aaf5df8a6e ati-driver-installer-8.22.5-x86_64.run 28274358 -SHA256 a8a4d011dc31998aee43b535e1d1d2bfab37237a628e448801bcd61dd429c9f9 ati-driver-installer-8.22.5-x86_64.run 28274358 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.23.7 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.23.7 deleted file mode 100644 index 533745a9b6d8..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.23.7 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 3cc417f243a227163ac8a73e3f467240 ati-driver-installer-8.23.7-i386.run 34448865 -RMD160 f4f31ed77e84e9dc5a2885635488f3d582e1b474 ati-driver-installer-8.23.7-i386.run 34448865 -SHA256 b7226f640d08b583f05fc95dea75238aeedcd13d1252d3911b40f6fd3a064c24 ati-driver-installer-8.23.7-i386.run 34448865 -MD5 9b5b56edf50464a182f0b61586f19c23 ati-driver-installer-8.23.7-x86_64.run 28293314 -RMD160 97c7b027622c2382be39751ddb249840d8269243 ati-driver-installer-8.23.7-x86_64.run 28293314 -SHA256 a28e01b46c7187cb9542754a1b9621e1ba7f86d8803e44fed1a8c773ecf4341d ati-driver-installer-8.23.7-x86_64.run 28293314 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.24.8 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.24.8 deleted file mode 100644 index b19219edb2ef..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.24.8 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 03495fe2f7d54eb9cb0d230940194440 ati-driver-installer-8.24.8-x86.run 36287485 -RMD160 c20a2ad9101490cdbe867f752eb1126a8fe9d26d ati-driver-installer-8.24.8-x86.run 36287485 -SHA256 8bf846799ce288473805c1dd5a7cb692385de7d2518453042c51ef3bc3c30c06 ati-driver-installer-8.24.8-x86.run 36287485 -MD5 347e818a4eb8fb11da2aa3ebcb31afd4 ati-driver-installer-8.24.8-x86_64.run 30189769 -RMD160 daaa495cf2d7597496f9e4264cfd8ff15c546fd4 ati-driver-installer-8.24.8-x86_64.run 30189769 -SHA256 83859f349af60821a609bb40344b99bb4c48ba35af01c189dceaa458ab9049c7 ati-driver-installer-8.24.8-x86_64.run 30189769 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.25.18 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.25.18 deleted file mode 100644 index 731fd124e537..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.25.18 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 37ea9a8fedf514d3ebdb266d4cb6cd4a ati-driver-installer-8.25.18-x86.run 36270279 -RMD160 644309288fae0674f2674fd998862f84d739254a ati-driver-installer-8.25.18-x86.run 36270279 -SHA256 3da4f667b5382ede8ee05aa38e60bd0539e6f1699786ca9d8d3e953f31373f34 ati-driver-installer-8.25.18-x86.run 36270279 -MD5 875c80fc3ae5fc55b2a8f8c4a9437a35 ati-driver-installer-8.25.18-x86_64.run 30487934 -RMD160 51108aea2b771df97faaf0c1f45c8ca71c8019e4 ati-driver-installer-8.25.18-x86_64.run 30487934 -SHA256 cd4da0c00b1eae4bfba5728c6c4ebfca28c06230912c5aad6bb4a15eeeae1801 ati-driver-installer-8.25.18-x86_64.run 30487934 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.26.18 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.26.18 deleted file mode 100644 index 181d0151e3e9..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.26.18 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 0cd66013e31fbaa6470f3dad3391cfd1 ati-driver-installer-8.26.18-x86.run 23716730 -RMD160 dc9ab7862e6c0a1872ba48ad08842fdbb10d1414 ati-driver-installer-8.26.18-x86.run 23716730 -SHA256 3376608d7a0049c30c9497e2f326ad2afe6b3874777f36af33b09019cbe71c55 ati-driver-installer-8.26.18-x86.run 23716730 -MD5 a755a02cd7bb71697ac4c249d0e32eb0 ati-driver-installer-8.26.18-x86_64.run 30927154 -RMD160 d4cf53f10fd7ca66cd52577c7e5e9bc42502f59f ati-driver-installer-8.26.18-x86_64.run 30927154 -SHA256 390eb44786b72cb09c78a995163155739f21d6ad121d22a9e6a72a18d9b5496f ati-driver-installer-8.26.18-x86_64.run 30927154 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.26.18-r1 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.26.18-r1 deleted file mode 100644 index 181d0151e3e9..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.26.18-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 0cd66013e31fbaa6470f3dad3391cfd1 ati-driver-installer-8.26.18-x86.run 23716730 -RMD160 dc9ab7862e6c0a1872ba48ad08842fdbb10d1414 ati-driver-installer-8.26.18-x86.run 23716730 -SHA256 3376608d7a0049c30c9497e2f326ad2afe6b3874777f36af33b09019cbe71c55 ati-driver-installer-8.26.18-x86.run 23716730 -MD5 a755a02cd7bb71697ac4c249d0e32eb0 ati-driver-installer-8.26.18-x86_64.run 30927154 -RMD160 d4cf53f10fd7ca66cd52577c7e5e9bc42502f59f ati-driver-installer-8.26.18-x86_64.run 30927154 -SHA256 390eb44786b72cb09c78a995163155739f21d6ad121d22a9e6a72a18d9b5496f ati-driver-installer-8.26.18-x86_64.run 30927154 diff --git a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.27.10 b/x11-drivers/ati-drivers/files/digest-ati-drivers-8.27.10 deleted file mode 100644 index fcd61d64a9c4..000000000000 --- a/x11-drivers/ati-drivers/files/digest-ati-drivers-8.27.10 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 72f69477c66d8b2d1a580c7885afa892 ati-driver-installer-8.27.10-x86.run 25136032 -RMD160 5080d72e97101b97da661019c00a89e01cf2abd6 ati-driver-installer-8.27.10-x86.run 25136032 -SHA256 444c2d957308793b1164ed013c724090900aae20fcd63ebf9001b795066fc4f0 ati-driver-installer-8.27.10-x86.run 25136032 -MD5 4cc78c0fc864fd2b3205cee5f866f3d7 ati-driver-installer-8.27.10-x86_64.run 32487472 -RMD160 04dc8598253791b52215ba3be847a9dc6eb54079 ati-driver-installer-8.27.10-x86_64.run 32487472 -SHA256 1039d0b2218bab7076ef55626e510a779027ab658e62730c74dc2de439f4ab33 ati-driver-installer-8.27.10-x86_64.run 32487472 diff --git a/x11-drivers/ati-drivers/files/fglrx-2.6.12-inter_module_get.patch b/x11-drivers/ati-drivers/files/fglrx-2.6.12-inter_module_get.patch deleted file mode 100644 index 47433de8fae7..000000000000 --- a/x11-drivers/ati-drivers/files/fglrx-2.6.12-inter_module_get.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- build_mod.orig/firegl_public.c 2005-06-19 21:37:23.000000000 +0200 -+++ build_mod/firegl_public.c 2005-06-19 21:22:49.000000000 +0200 -@@ -343,17 +343,17 @@ - struct firegl_drm_stub_info_t *firegl_stub_pointer = NULL; - #define inter_module_put(x) - #define inter_module_unregister(x) --#define inter_module_get(x) firegl_stub_pointer -+#define inter_module_get_request(x,y) firegl_stub_pointer - #define inter_module_register(x,y,z) do { firegl_stub_pointer = z; } while (0) - /* This is a kludge for backward compatibility that is only useful in DRM(stub_open) */ - #define fops_put(fops) MOD_DEC_USE_COUNT - #define fops_get(fops) (fops); MOD_INC_USE_COUNT - #endif // LINUX_VERSION_CODE < 0x020400 - --#define DRM_MODULE_GET (firegl_drm_stub_info_t *)inter_module_get("drm") -+#define DRM_MODULE_GET (firegl_drm_stub_info_t *)inter_module_get_request("drm", "drm") - #define DRM_MODULE_PUT inter_module_put("drm") - --#define DRM_AGP_MODULE_GET (drm_agp_t *)inter_module_get("drm_agp") -+#define DRM_AGP_MODULE_GET (drm_agp_t *)inter_module_get_request("drm_agp","drm_agp") - #define DRM_AGP_MODULE_PUT inter_module_put("drm_agp") - - unsigned long ATI_API_CALL __ke_cpu_to_le32(unsigned long _u) diff --git a/x11-drivers/ati-drivers/files/fglrx-2.6.12-pci_name.patch b/x11-drivers/ati-drivers/files/fglrx-2.6.12-pci_name.patch deleted file mode 100644 index 03197a9748cb..000000000000 --- a/x11-drivers/ati-drivers/files/fglrx-2.6.12-pci_name.patch +++ /dev/null @@ -1,71 +0,0 @@ ---- build_mod.orig/agpgart_be.c 2005-06-19 15:59:55.000000000 +0200 -+++ build_mod/agpgart_be.c 2005-06-19 15:58:59.000000000 +0200 - #if (LINUX_VERSION_CODE >= 0x020400) - #define FGL_PM_PRESENT - #else -@@ -7083,7 +7087,7 @@ - if ( agp_bridge.capndx ) - { - printk(KERN_INFO PFX "Detected HP ZX1 AGP " -- "chipset at %s\n", dev->slot_name); -+ "chipset at %s\n", pci_name(dev)); - agp_bridge.type = HP_ZX1; - agp_bridge.dev = dev; - /* fill in the mode register */ -@@ -7149,7 +7153,7 @@ - if( cap_ptr ) - { - printk(KERN_INFO PFX "Detected a Via Apollo KT400 chipset in AGP v3 mode " -- "at %s\n", dev->slot_name); -+ "at %s\n", pci_name(dev)); - - agp_bridge.type = VIA_APOLLO_KT400; - agp_bridge.dev = dev; -@@ -7169,12 +7173,12 @@ - if( cap_ptr ) - { - printk(KERN_DEBUG PFX "Detected a Via Apollo KT400 chipset in AGP v2 compat mode " -- "at %s\n", dev->slot_name); -+ "at %s\n", pci_name(dev)); - } - else - { - printk(KERN_ERR PFX "Detected a Via Apollo KT400 chipset but no AGPv2/v3 caps found " -- "at %s\n", dev->slot_name); -+ "at %s\n", pci_name(dev)); - } - } - break; -@@ -7200,7 +7204,7 @@ - if( cap_ptr ) - { - printk(KERN_INFO PFX "Detected a Via P4X400 chipset in AGP v3 mode " -- "at %s\n", dev->slot_name); -+ "at %s\n", pci_name(dev)); - - agp_bridge.type = VIA_APOLLO_P4X400; - agp_bridge.dev = dev; -@@ -7220,7 +7224,7 @@ - if( cap_ptr ) - { - printk(KERN_INFO PFX "Detected a Via P4X400 chipset with AGP v3.x caps in AGP v2 compatibility mode " -- "at %s\n", dev->slot_name); -+ "at %s\n", pci_name(dev)); - - agp_bridge.type = VIA_APOLLO_P4X400; - agp_bridge.dev = dev; -@@ -7240,12 +7244,12 @@ - if( cap_ptr ) - { - printk(KERN_DEBUG PFX "Detected a Via P4X400 chipset with AGP v2 caps in true AGP v2 mode " -- "at %s\n", dev->slot_name); -+ "at %s\n", pci_name(dev)); - } - else - { - printk(KERN_ERR PFX "Detected a Via P4X400 chipset but no AGPv2/v3 caps found " -- "at %s\n", dev->slot_name); -+ "at %s\n", pci_name(dev)); - } - } - break; diff --git a/x11-drivers/ati-drivers/files/fglrx-2.6.14-access_ok.patch b/x11-drivers/ati-drivers/files/fglrx-2.6.14-access_ok.patch deleted file mode 100644 index 50f1944fe05f..000000000000 --- a/x11-drivers/ati-drivers/files/fglrx-2.6.14-access_ok.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- build_mod.orig/firegl_public.c 2005-10-22 10:35:00.000000000 +0200 -+++ build_mod/firegl_public.c 2005-10-29 11:13:21.000000000 +0200 - -@@ -1590,7 +1595,11 @@ - - int ATI_API_CALL __ke_verify_area(int type, const void * addr, unsigned long size) - { -- return verify_area(type, addr, size); -+#ifdef access_ok -+ return access_ok(type,addr,size) ? 0 : -EFAULT; -+#else -+ return verify_area(type, addr, size); -+#endif - } - - int ATI_API_CALL __ke_get_pci_device_info(__ke_pci_dev_t* dev, __ke_pci_device_info_t *pinfo) diff --git a/x11-drivers/ati-drivers/files/fglrx-2.6.14-compat_ioctl.patch b/x11-drivers/ati-drivers/files/fglrx-2.6.14-compat_ioctl.patch deleted file mode 100644 index b333b5b5dff3..000000000000 --- a/x11-drivers/ati-drivers/files/fglrx-2.6.14-compat_ioctl.patch +++ /dev/null @@ -1,104 +0,0 @@ ---- build_mod.orig/firegl_public.c 2005-11-02 20:29:43.535048712 -0800 -+++ build_mod/firegl_public.c 2005-11-02 20:27:19.013019400 -0800 -@@ -122,7 +122,6 @@ - - #ifdef __x86_64__ - #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) --#include "linux/ioctl32.h" - #else - #include "asm/ioctl32.h" - #endif -@@ -191,6 +190,16 @@ _syscall3( int, modify_ldt, int, func, v - // ============================================================ - /* globals */ - -+int register_ioctl32_conversion(unsigned int cmd, int (*handler)(unsigned int, unsigned int, unsigned long, struct file*)); -+long realHandler_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); -+void unregister_ioctl32_conversion(unsigned int cmd); -+struct HandlerList { -+ unsigned int cmd; -+ void *handler; -+ struct HandlerList *next; -+}; -+struct HandlerList *HandlerListHead = 0x0; -+ - char* firegl = NULL; - int __ke_debuglevel = 0; - int __ke_moduleflags = 0; -@@ -258,6 +267,7 @@ static struct file_operations firegl_fop - open: ip_firegl_open, - release: ip_firegl_release, - ioctl: ip_firegl_ioctl, -+ compat_ioctl: realHandler_compat_ioctl, - mmap: ip_firegl_mmap, - }; - -@@ -2220,10 +2230,68 @@ int ATI_API_CALL __ke_register_ioctl32_c - return register_ioctl32_conversion(cmd, handler); - } - -+ -+ int register_ioctl32_conversion(unsigned int cmd, int (*handler)(unsigned int, unsigned int, unsigned long, struct file*)) -+ { -+ sizeof(struct HandlerList); -+ struct HandlerList *newHandler = kmalloc(sizeof(struct HandlerList), 0); -+ newHandler->cmd = cmd; -+ newHandler->handler = handler; -+ newHandler->next = HandlerListHead; -+ HandlerListHead = newHandler; -+ return 0; -+ } -+ -+ long realHandler_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) -+ { -+ int fd; -+ int (*handler)(unsigned int, unsigned int, unsigned long, struct file*); -+ struct fdtable *fdt; -+ struct HandlerList *HandlerEntry = HandlerListHead; -+ -+ while(HandlerEntry->cmd != cmd){ -+ if(HandlerEntry->next == 0x0){ -+ return -1; -+ } -+ HandlerEntry = HandlerEntry->next; -+ } -+ handler = HandlerEntry->handler; -+ fdt = files_fdtable(current->files); -+ for(fd=0;fd<fdt->max_fds;fd++){ -+ if(fdt->fd[fd] == filp){ -+ return handler(fd, cmd, arg, filp); -+ } -+ } -+ return -1; -+} -+ -+ -+ - void ATI_API_CALL __ke_unregister_ioctl32_conversion(unsigned int cmd) - { - unregister_ioctl32_conversion(cmd); - } -+ -+ void unregister_ioctl32_conversion(unsigned int cmd) -+ { -+ struct HandlerList *ahead, *behind; -+ if(HandlerListHead == 0x0) return; -+ behind = HandlerListHead; -+ ahead = HandlerListHead->next; -+ if(behind->cmd == cmd){ -+ HandlerListHead = ahead; -+ kfree(behind); -+ return; -+ } -+ while(ahead->cmd != cmd){ -+ behind = ahead; -+ ahead = ahead->next; -+ } -+ behind->next = ahead->next; -+ kfree(ahead); -+ return; -+ } -+ - #endif - - /* agp_memory related routine for IGP */ diff --git a/x11-drivers/ati-drivers/files/fglrx-8.14.13-alt-2.6.12-agp.patch b/x11-drivers/ati-drivers/files/fglrx-8.14.13-alt-2.6.12-agp.patch deleted file mode 100644 index beda866414f5..000000000000 --- a/x11-drivers/ati-drivers/files/fglrx-8.14.13-alt-2.6.12-agp.patch +++ /dev/null @@ -1,98 +0,0 @@ ---- build_mod/firegl_public.c.alt-2.6.12-agp 2005-06-26 19:35:34 +0400 -+++ build_mod/firegl_public.c 2005-06-26 19:41:28 +0400 -@@ -1002,8 +1002,16 @@ void* ATI_API_CALL __ke_high_memory(void - return high_memory; - } - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) -+/* Saved pci_dev pointer for the new agpgart API */ -+static struct pci_dev *fglrx_pci_dev; -+#endif -+ - int ATI_API_CALL __ke_pci_enable_device(__ke_pci_dev_t* dev) - { -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) -+ fglrx_pci_dev = (struct pci_dev *)dev; -+#endif - return (pci_enable_device( (struct pci_dev*)(void *)dev )); - } - -@@ -2865,6 +2873,68 @@ typedef struct { - int (*copy_info)(struct agp_kern_info *); - } drm_agp_t; - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) -+/* -+ * Kernel 2.6.12 has new agpgart API with support for multiple AGP bridges, but -+ * the fglrx core does not know about this yet. For now, just emulate the old -+ * API. -+ */ -+ -+static struct agp_bridge_data *fglrx_agp_bridge; -+ -+static int fglrx_compat_agp_backend_acquire(void) -+{ -+ fglrx_agp_bridge = agp_backend_acquire(fglrx_pci_dev); -+ if (!fglrx_agp_bridge) -+ return -ENODEV; -+ return 0; -+} -+ -+static void fglrx_compat_agp_backend_release(void) -+{ -+ agp_backend_release(fglrx_agp_bridge); -+} -+ -+static struct agp_memory *fglrx_compat_agp_allocate_memory(size_t page_count, -+ u32 type) -+{ -+ return agp_allocate_memory(fglrx_agp_bridge, page_count, type); -+} -+ -+static void fglrx_compat_agp_enable(u32 mode) -+{ -+ agp_enable(fglrx_agp_bridge, mode); -+} -+ -+static int fglrx_compat_agp_copy_info(struct agp_kern_info *info) -+{ -+ if (!fglrx_agp_bridge) { -+ fglrx_agp_bridge = agp_find_bridge(fglrx_pci_dev); -+ if (!fglrx_agp_bridge) { -+ memset(info, 0, sizeof(struct agp_kern_info)); -+ info->chipset = NOT_SUPPORTED; -+ return -ENODEV; -+ } -+ } -+ return agp_copy_info(fglrx_agp_bridge, info); -+} -+ -+static const drm_agp_t drm_agp = { -+ &agp_free_memory, -+ &fglrx_compat_agp_allocate_memory, -+ &agp_bind_memory, -+ &agp_unbind_memory, -+ &fglrx_compat_agp_enable, -+ &fglrx_compat_agp_backend_acquire, -+ &fglrx_compat_agp_backend_release, -+ &fglrx_compat_agp_copy_info -+}; -+ -+#else /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12) */ -+/* -+ * For 2.6.11 we can just use the agpgart functions directly. -+ */ -+ - static const drm_agp_t drm_agp = { - &agp_free_memory, - &agp_allocate_memory, -@@ -2875,6 +2945,9 @@ static const drm_agp_t drm_agp = { - &agp_backend_release, - &agp_copy_info - }; -+ -+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12) */ -+ - #undef DRM_AGP_MODULE_GET - #undef DRM_AGP_MODULE_PUT - diff --git a/x11-drivers/ati-drivers/files/ioctl32.patch b/x11-drivers/ati-drivers/files/ioctl32.patch deleted file mode 100644 index f5ba9bd60982..000000000000 --- a/x11-drivers/ati-drivers/files/ioctl32.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- firegl_public.c.orig 2005-06-18 17:42:41.000000000 -0300 -+++ firegl_public.c 2005-06-18 17:43:46.000000000 -0300 -@@ -116,7 +116,11 @@ - #endif - - #ifdef __x86_64__ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) -+#include "asm/ioctl.h" -+#else - #include "asm/ioctl32.h" -+#endif - #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,2) - #include "linux/syscalls.h" - #endif diff --git a/x11-drivers/ati-drivers/files/p1.patch b/x11-drivers/ati-drivers/files/p1.patch deleted file mode 100644 index 0d25d6ba8cdf..000000000000 --- a/x11-drivers/ati-drivers/files/p1.patch +++ /dev/null @@ -1,53 +0,0 @@ - - -2005-03-02 22:32 diff -lu or.c agpgart_be.c Page 1 - - ---- or.c 2005-01-31 19:50:00.000000000 +0200 -+++ agpgart_be.c 2005-03-02 22:19:25.000000000 +0200 -@@ -4075,6 +4081,13 @@ - } - } - } -+ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11) -+ // the reference count has been increased in agp_backend_initialize. -+ if (device) -+ pci_dev_put(device); -+#endif -+ - /* - * PASS3: Figure out the 8X/4X setting and enable the - * target (our motherboard chipset). -@@ -5283,6 +5296,12 @@ - pci_dev_put(device); - #endif - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11) -+ // the reference count has been increased in agp_backend_initialize. -+ if (device) -+ pci_dev_put(device); -+#endif -+ - return(0); /* success */ - } - -@@ -7428,6 +7447,11 @@ - return rc; - } - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11) -+ // decrease the reference count. -+ pci_dev_put(agp_bridge.dev); -+#endif -+ - if (agp_bridge.needs_scratch_page == TRUE) { - agp_bridge.scratch_page = agp_bridge.agp_alloc_page(); - - - - - - - - |