diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-02-22 09:39:04 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-02-22 09:39:04 +0000 |
commit | ba79ef07c9aea05907210217ee8bcb705e43c8c7 (patch) | |
tree | ef2bf9ce68aa73308d2d1c1977214318a950b8ee /sys-devel/gdb | |
parent | gcc: drop USE=offline flag (diff) | |
download | toolchain-ba79ef07c9aea05907210217ee8bcb705e43c8c7.tar.gz toolchain-ba79ef07c9aea05907210217ee8bcb705e43c8c7.tar.bz2 toolchain-ba79ef07c9aea05907210217ee8bcb705e43c8c7.zip |
drop outdated packages
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-devel/gdb')
55 files changed, 0 insertions, 9200 deletions
diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest deleted file mode 100644 index ea93d8b..0000000 --- a/sys-devel/gdb/Manifest +++ /dev/null @@ -1,70 +0,0 @@ -DIST gdb-6.6-patches-1.3.tar.bz2 15697 SHA256 7911134ce63ede4e1a45488481cf7cdc1b69ab00c8b3a432983344ff95a0051e SHA512 05f479ad62b4a92ef888f760f07c77f69eeffabb3f8cadc17cd72774e3f3c7c59fd44821cff107639986e0af54626dd8bf0f4ed64bffc5fc0c1f4dd2ed83d186 WHIRLPOOL d2dfc5631e7367baaffdac15bf84af0f3087a95c1bb18ba71a8f7df8e3efb9bc5d4d657bd0ac258abd8e6bf139ee483437c309659fde5af3a68315231bb85634 -DIST gdb-6.6.tar.bz2 14535755 SHA256 6e602987298db5ddb479bbb84ce653eabd9c304957a49552245f65cdc70d43bd SHA512 e3f75bd4fd788021564f09069c7872fe1c9f6fc4262f3b0b12829f55cb9e1df20ee1fb708efed01cfe4a069245ef3c3766dc6ddbb57bf43f5bc7d1fd7f38d10b WHIRLPOOL 97cdbf237f8d37a5394ea4e8b7707e4b6a3533d5da4230f26bfe58c7ff390631bbcd6a87c28f09b24eadae8e1f6226152b290e0d4efca4fee580b242dee8a0ae -DIST gdb-6.7.1-patches-1.3.tar.bz2 109192 SHA256 8d614d6ecdb343310904e293bc86f154550829cb45c5b5bd3bff9c26543f9132 SHA512 dd7577a8a900ca35e0a8d1b16c900350dea63bff989529d01697917dc51065f4438ed77386e53c6deffebad8a7bf1acdde1b79eec63268e12223b82ef0a66c3e WHIRLPOOL bbc8bf4df2166d9296df79d4c919d8e42823305a20f59018023d2151605dd9b3e536a9d147ec747f30e8ac6535f5894a1073b0d2057e6c6c5f6330773c11a783 -DIST gdb-6.7.1.tar.bz2 15080950 SHA256 f98cec38420f4f1ce3da2f16e6045f086d24dfcf05996b2d74f8620691442f62 SHA512 16a69765e138a95427dfa27f89c851cc88a39c925b66596a6506f67c69fbec4c5cccf0b9c36d88df59ef48e30e3b03e37c22cab8f1f3672cfd3877315741b3e7 WHIRLPOOL 14c12bbf0aabb3288989d3688a9453d3c42fc21973c55665efe47dd4d0ec7c88a013c36927324aa68e10b2589118c06547fe4a037b97bc0bb75cb619f23d5ba5 -DIST gdb-6.8-patches-1.5.tar.lzma 125348 SHA256 e503204a517992595b37f49e6cb115bcb1c210845197d54d974ffd53bc55647b SHA512 c7b9c81bad82b347b5ec5d87652434553f1ad97c84b977e09340e193f0b85b71bfcf8e374bcfe573adedfccda9dc7e780495009708049e58d6b9fd95ba4d5212 WHIRLPOOL 266b3461ec44c4bb4a44af78f7fc9237466b6c797faa7a777a2e9a58f790db701502d22606de3868adafa22a30dc5a6d96dc2928df54d74c23fe7d4ac00dba75 -DIST gdb-6.8.tar.bz2 15581509 SHA256 eedffd586bf41cf2ae2f77e6819545d6eb1e5062052320a27332fdfaaebdf818 SHA512 c4647142e712d19b8d032e14e09a2293f8f3a75199d7139f2a1d856d335a50d6dd630cd032d5928cbe76906b801aa314cc817476ab889966113efc3a866e02d8 WHIRLPOOL 3e4aac4fe7511a6f0e0800da5747dfa4dbd6d9c9b241b0e58948bee4b7a9b9abbd608d0cc9af41d4c1d41d6cb27e9660f611d2b6074bfce4fcd92c7499cf121a -DIST gdb-7.0.1-patches-1.tar.lzma 11216 SHA256 711d6fb705a0ede2ede6adb036def73f8c7c4fbc9b5a4f27d829800af4d84292 SHA512 65ed2b8b9e793e399d915c8c48cfa8f4ce59f5902dfd8e13729189d959ba3ad7fe06bcae4749d395e500d51b04ae93b11a187cd6c35ffa609c0236d20feccfc4 WHIRLPOOL e29df6569d192a2a0b7768cd979d832a6b6d4faf3bbf35545896746a8ffbb61190cc91cf0376708132355b46964cb38b0bbfb5f1d3f6cc587d9c97305a09c567 -DIST gdb-7.0.1.tar.bz2 17614682 SHA256 560c3fd0053ade6549e71bd045f70282feb88db73b35e401bbad601a311e3c1b SHA512 358abaf38614d16505a8a3b11c87384788affedf6c10ad0f818a22d8803a00e0b366fc6dbad047384291fc249a23d539b050aafbb48acca83cb559ad83c6f776 WHIRLPOOL 4ddf7dc9e721ba455feb38f1c17d93bbb48a8c7b7154b54213cd545787fbf7489b24300a97c3b6e3f98ed2c297314f950ba37c1c54bd4625b986775bbd74c607 -DIST gdb-7.1-patches-1.tar.lzma 9207 SHA256 d2efe1ee66110e4e0c55bbe4365380bdb6e159c45ea849a1e329ac293b4e7e3c SHA512 a181a44b55c62f9c8f9d1a006182c0a09f75517f5d3e47e07afba97da5220c9e01be79f6fb9c2dc525ca8a80a4e6b9b92517ced61e1681a5b81558227701cd00 WHIRLPOOL 6a5e6896f72d98e07e3921df781c3360c86f0c0202465270affea6ff5e99ed9bc38d9d1ba328fd81a830534d24c8ebd306d52ee2ccbebbb82d5189a3daa40e6a -DIST gdb-7.1.tar.bz2 17977195 SHA256 142c27d7970a4e652dc225d61d887777ae00cf22fdd75cd1e8e4e13bfbd85352 SHA512 5edf1568c268e5f94c392bb031d134b89692f265e4e121f29c19c371b96dd835dbb1ab18fdc99bb29da811797187cef87f5a0cacb8a05e8b5a90bcfc673b3d89 WHIRLPOOL 6aeb05f33a54cdb06138d086fd853323ad0fa56b862f5ff66a87ca95fcdcf859ff3416ffeec40eea15580fbc9166663b1f679b5c46f417279079bf4b45ad2e82 -DIST gdb-7.10.tar.xz 18540820 SHA256 7ebdaa44f9786ce0c142da4e36797d2020c55fa091905ac5af1846b5756208a8 SHA512 4d9d7b536ad46f881689fca9f3f0b60268ff413c7900115fed5030d81d1d794793cc51d51510584ea1a63fe5891d006a9867ba36981b86b50806d469b717457d WHIRLPOOL b245ab66171c5bc04fc828a94a7c532ab18c358ee865993cd6e934aba22a45a254ed4b5942a1c5ddb60b5a5fcf81cb493fc275d8a5782d3b32b15b23339b4e43 -DIST gdb-7.2-patches-1.tar.xz 8908 SHA256 c091d46b869aec70ea507d93936d85e134002766808e38cc29d0a6f1f4898fab SHA512 2daf753acffc20f470050e326c3b11650bd7833d23f5b4b6c011646ab9afe5cbc90d98525d62188947880990e20a08f6b656bdc55f47346661d030630c0d2459 WHIRLPOOL e26bdb93c9ac54d14dc15d8e9ece0871c0f3e3082b89b32afc2d4b4107a104c8a29e6e4839d120403983161d9f959280d7d1762ed067e29f9ec704b60a5f471c -DIST gdb-7.2.tar.bz2 18530613 SHA256 bf444b88ab845243364c3d410be9e3f43a57f96ff594d65a37842ea03c3410f0 SHA512 af453ea7b1dbaf9eca35bd58fbe72f09e24e2b467af1d0d883c222310a81f8f96c288bb476a9c96a129c487ceadca858031f3440cad6a9b11a964058140f0dd1 WHIRLPOOL 0056b41be90a0a9c3c0f91e3245c4a421b03fe744f63531eb78d6d0e6e095f2ef4b1035e3ffcea8c21af01eb9bf0f90b62ead5fad200653a36cb847eef118caf -DIST gdb-7.3-patches-1.tar.xz 8192 SHA256 9b6cd79b0a769a1c3575830702c151859f1188d162699edaf4779e54dc13b6ed SHA512 0a09811a27fe534d98fe1123d8891b738f5283cda57d46c81dc0fffef0cab1f7b72c0bc0854ce8c20a44867dc2956f5b37e94b9bbc5e0e3a9506abb91160bcec WHIRLPOOL 9ed7389900cd57b4fc932071b4f353528c7fd8a2e53ad76d3eefe47ee514dfb853216dcc6bcd1bd9f8ac2ab755c4fa856f0b6a98f05b048da97de2f7edef3b57 -DIST gdb-7.3.1-patches-2.tar.xz 17344 SHA256 8dc91c665025faaa716a47404a1645086c5a9db3ee6b38beb564607fa0ef6e69 SHA512 9ab6cfed095128333883b3e8ebfffc724dba21116940397c87107a6eec90b5765e8fb94e5756eac85aaed3b5c2bdd7dcccf4f9b10301cc9196bcace9791f3ecb WHIRLPOOL ac0221711239c49bb0c9ddb620e1ac328a7f570ef62b1d08a25ce0653d3989a47db35d8f784547a6521f918f063a477356c06f32d62d151903f5b5924043cc60 -DIST gdb-7.3.1.tar.bz2 19500995 SHA256 6d7bff716fde98d03866a1b747c0929ee7dba49bca13e01d975e0b0fa9b33a28 SHA512 69d7318a3f6bf3c95804e6526d886348333d85c4f63c19e7575052792851a296073e36e1b54c63151c2db8ca0bfead36693f4513f2fd9dec962870408e8e71d9 WHIRLPOOL 5332eb8bd5a24cac710c39c6948e1d2373939c647ddfb1cae893cafef910e346c880e2ee4f9fa10211e60319fd648176e36362f9a5f3fdd6db7fb967500a0d5f -DIST gdb-7.3.tar.bz2 19091650 SHA256 f9edc83ed921660b77aa2b2fc168b81639aab0f49a94d4b38f2f01bf51d5d2ba SHA512 b7195913c652243f4577bac58adfe80dc90ec9d68fbf316830b1394d13248734178182ba5649ef317411145f57b32a35004b52bcec14886917da340cdf9a2b87 WHIRLPOOL de7b49ad1c09a58c6a5556ab12479729695aa5ffd47b941cb8e834057495835b0ecf3dd063dfb65a75fbb59977034e2dfa168a3b19715ff2e0d7c0b4509d426f -DIST gdb-7.4-patches-1.tar.xz 8192 SHA256 c4349847c80f314c603dd9465b90cda2b3565cac4f8024a4287f756eda9d138b SHA512 936e921ab523bd74e8c8b300346f3d861d3dbc11ec6e659b0eb08c45dc91f98bc4ff9140459f663ffb91d67e2cc51d65891a25a79d5565ff9031ba579dca4282 WHIRLPOOL 86d245c25edaa72d6eca9bd83059cf74eca7da86e137b927b7a44abe4bef3f8322430a27bd44c7de53e37f5c86fcc121e758b8e3242cc3bce69738ed46e34d45 -DIST gdb-7.4.1-patches-2.tar.xz 10944 SHA256 2c57b6edcc3f1cb3915e0bd88f2789eec2a773bb7d115abfc98aa8d55ca03b02 SHA512 4455f68aa345ac04a61547a10f87f11874912227a4e46d836fe1e78bb7754d6bf778b3f52c8bce15492625aac0b238996234fcbff4549c523354187b2729def2 WHIRLPOOL 9b24f6af94266747eb8711fd4b189d9b7a4990a3a19b68561b00c38704a9cb8e7e76ac47d40131619e466cb67cde06f2cee9da248bbfafc53adbeb285464b781 -DIST gdb-7.4.1.tar.bz2 20619200 SHA256 a081343c017732ab4dd30a4730da83667aa01b0b37d1ad3700c3f05a5da0f9f6 SHA512 86a2f19f161da558afdb5b6179ba11e9124651b5e10915dd3e703fc8e54cf68dba5ffa86f5c3c3c595bc8841728e220741c9fa20889f548725dbd034f3456114 WHIRLPOOL 3de6e0b4e3d17a7d97cb804a6ca49761197d9e1230fb686ec84b8c5d68b6bc578ade873493cc8545d2f96f0f7061fedd9cdc7c42dc5d1cd279025dc4f4cb2069 -DIST gdb-7.4.tar.bz2 20614020 SHA256 de7e2db7f0475eca7f9ffa9251abaddd3d37e0eed0b3759f71abfd810a3fd20f SHA512 9a5e8b04be6e8a746cb0e6a8b524ec0fa1fa3a971633c54646d722d2ff9200304e36f80cdf30d5a8ba69b5d188f7c1b2baad40d11881c416a3a54e7dee8cc724 WHIRLPOOL f8b0a046071da405194d2bd07007b044e2fd037852493ba6ab6f9fc81400b85583f36b6d6c13d4f1f04e5dafc7d324404606b235e1b962ea7f80b955141cd6c2 -DIST gdb-7.5-patches-1.tar.xz 9208 SHA256 07d2e5cd96c3acf64710d3cd1098684aa7db7e9e448b5a49775650c2abcb9daf SHA512 775c4b5953e7f02a0bfdc1801fa220e3446bf5cc2153e49cbba7dc883740e64604fde1bd04b6916f47530c94ab6a5351e4d4151a5b1f6f3f3d15f42e9210c196 WHIRLPOOL 69d4079327dce6e8fa8522c155b1a55687a1e14949d6812700512efcc99b51bb1a2becb4c0562b0b5bbc2ee87718d89ea278fa7f7166fa8c88b346cd5968f636 -DIST gdb-7.5.1-patches-2.tar.xz 8720 SHA256 7b93f737eb90c981685b6eab8ab7cda7ee0a3637b0110450efa5900486cca9dc SHA512 ab04daff6c83738fb7dc96f3444d8b6ab0bc52dd380ee6079676ba9507201c4e19bf8a8dd092705c968e4109d0080216020ad4a03c963b15cd37c6da3e8804ac WHIRLPOOL 8c520dbfb3288ff19a8978f2c1e7687467e2362fa0385d1f62beb1b2081264b597b4ca45b16d0d658cfba7bd754e10f219d84bedcb8acd0c2be4d5c64b201aca -DIST gdb-7.5.1.tar.bz2 21349391 SHA256 070b808d289fa8f0291738eeaccc0cd7700d476998781f572856155240d29d20 SHA512 23b240f0ca9376dfc2fdeb79e725a3784841d1f787db9f7ca62a5e2f824ddd8b2d5fb3450e19dd8fee79589e3b0a5fe638eaa35966363c78c82711731c26dc47 WHIRLPOOL b1bb3d5133efcdd3e842ba03bf2f8ebcd01f4cbda8333a6725cd4160604b592fb991c02c17b725ffbcea0b7e37de9ade380079d903541124b4b76fcbd5f9e754 -DIST gdb-7.5.tar.bz2 21327195 SHA256 d178c45c328369ae4f24f9a0ec53b7d009e2bfa1d41b7027280b24f58ae61932 SHA512 fcedba8a8ba50470e8c032801e99a43dae7fcaf7885b55beaf2d47bfb7b0b666cb5e3bb40d0b67e9a3ba50bd88faba0a255474ab38c2a0272e880d5c668e0506 WHIRLPOOL fa2d238380508cfe8c1ca9a0906e87d539b0470230da407c5c6a02cd9f2b63c727586a9651943ee9328bb44d782a66bb9fae7dd27e9bd31fd5cbd0161cc3514d -DIST gdb-7.6-patches-3.tar.xz 13644 SHA256 5ec83531a6bab75d9e3a67431d724b936cadb06862810b3182ac13f8d9b0cd22 SHA512 23a6e597629ecc544f8646eda5a637752b04cb5ecb7797f88d342e0c38f0680419a3656d8718722e8eeb7165e9aa7696c2e5b889049e5b405415bb7c391fa350 WHIRLPOOL 5a9f5cc513768c3218353ee74605ae224d556a72b557763370cc059e75fc31d438b57521df2e9d8eb5d713bbfb8d308d6b2cdf7dbdb7838343b12afc9d81e619 -DIST gdb-7.6.1-patches-2.tar.xz 14136 SHA256 327948403616d1376cca2bfb0ff174b93bf0494390708864ef54bdd98bc4729f SHA512 f1364d5cc70ea3c131e48ec5cc7275bcf0f875b0dcbe663f507b0f5d082e7db38636fd9036db3da7b2e9794dbc7d42b24126d91fde9447f6f10fcc8b3aea7817 WHIRLPOOL aa738854e26da8469ae98fb681552a7f25777809027761bb788a42db73bfd7852a09e82a8bacb2870ffc52a5953bc398adc4e098c6d36f331cd23a9a9a75c6ed -DIST gdb-7.6.1.tar.bz2 24338919 SHA256 e3dfa38a14a5457f9b8b26f7b5080ba5491bd10ae4d69bfe357cea87b7d162e4 SHA512 ca42f003073d35cde42b43efe12f42888b39f2fc4b55f7df9faca2c8381a9329f19bf9366fff0af3ae59711aafaf9b4a33a15cb73a531c0c046b8ada98ed774b WHIRLPOOL 0489854f52e5d3e8fa36f4deb629e9aa7e83fd0ce80fe9aef6a9284e348e52e5d71e655d403a856911b868891ee2ba07bacc707326ef68d68052b557d5aef963 -DIST gdb-7.6.2-patches-1.tar.xz 14136 SHA256 aeb45e64c4d1f70cf97cd89e66dfe72d219b140e583f602720f29b5fa6ea5145 SHA512 d56e8a613ca0f33ebe203aa85a39881b10a0a15c56ea51c7633b6f032628e207d31d1adfc8f0b7e83754da729baead0acbc83893f1d480c41ce02cad38b6b4ff WHIRLPOOL e9f5482619653c54ad95f4c9eb5310320345ef3b825e373b629b320b9d11f6acfe88e5d713faf98927da77f05d5a37edef61bfce09a4a3990c20135945930a2c -DIST gdb-7.6.2.tar.bz2 24269334 SHA256 2f6a0e2ce1c66c9dedeb7f58a8d1298ad602ddcdaf15d23104e1f7832b96d0e8 SHA512 e72e9c2abb58cc08c38841380270fe783f26baf62798171d21cf0843e6c9a81d285f424dc6229ea7b1c6c957d999c8aa75c2bd15076817abb9caab28c4eb7666 WHIRLPOOL bff0c9b33401b5efdf9c87408b4e4ee635509b536f371b4104895844a86256451d684412d0fab6dfb8e5ea2108ac2e4e383a33f2966ed2a32c4dbbbf54a280f4 -DIST gdb-7.6.tar.bz2 24333590 SHA256 a410e8f35ee70cce83dbbf1da9e2a8373f271ac0e4b71db4336ae293fc7bdf1b SHA512 3b4f7f25ab8a8014a339966fd165dac6ac63df7d6403c338bbd38737bc0033d7e6461cdea2cd6dd095335a9d2a0ecd9d694e862b8d54d269dae577402e2b3ffe WHIRLPOOL c519955a9b6246e90b979783e5745e49de36b6fcd5b17360ae8db92283efb63117a592a03b92e173a11f986dfcc587e2d5c26f3aea49634f317f554ffe2f0e72 -DIST gdb-7.7-patches-1.tar.xz 9368 SHA256 89fd4da18dec37773121d8f0cb5403c7edb1b9ad81ccaa5bcf9cfc389e60ed83 SHA512 1afac04f426e8bda4def8694bf9aee7783a55681c06c823527ae6c2b9237fc9a20d4854a1fc2452b4c72bd8eb0e7b991d66167bbad76bb36334bda76d6d7d5d1 WHIRLPOOL 93766c32540223e81b54573aede9cd7995a28f80d2ded70fac519c310b3a9e7413028942d3a70bcd3ea831e4ee2c00da8547def64accf890b651d89c712068ce -DIST gdb-7.7.1-patches-1.tar.xz 8600 SHA256 336cdcb2c90da0ca970dc21dc0285a8cb1fbcf81af63c49ee3f3d45c0aef7200 SHA512 427aba554e77ccfe9cdf5b0a833a1d64f1882e8f9e37d1288c5f2510cc63d154b4c22054a2a653d156e37044d7655937dee4a1a9cd0f9768abaafc8c34ae1cc0 WHIRLPOOL d5db4b874475724ac62bae9f1b33c566192570dd68195fe1c2065b7502a36b06f5a64079a88c63a965392d87e9b7a8eb0c709578297d6692fdce1ee933a867f4 -DIST gdb-7.7.1.tar.bz2 24849503 SHA256 0dbd5260406f1b0c70fcf027c6488527fadde0cd9bb574593491fe076eb03aa5 SHA512 887b9b726dae8f6e3e5e41574460a67e4f9002b0d47bc985dcf63bdf3518397a90b6a208cb5b19e5ed2341715ad75cfeed4df4fb423f39f74218e36bc87f1cab WHIRLPOOL 3b726d5f519167105248eb3a400be0d9bc70f72dbce9a04aa56a765b6c2ed9fc00a7c2e6ec72d0372f87bada1d74a40fc998c10a5322e2f3b5c8ea53c7ba6aa4 -DIST gdb-7.7.tar.bz2 24846320 SHA256 0404d1c6ee6b3ddd811722b5197944758d37b4591c216030effbac204f5a6c23 SHA512 42c8d312c0ca1042d1df7e115c541abc7453c20813b3f4f1fe52c62bc04b85d9116539d245e6404fa556260ba13f78f9a2ac35424eb7fd8ef9954cdbfc9581e0 WHIRLPOOL 8f1610e7f2023a5f273c15cdca6da40e22527d61f694e841c55c696d14e55d6abc3aa4144ffb995fe78448e69c50ea7ac9854aaab1ef2e2b8d551b975d35e8b7 -DIST gdb-7.8.1.tar.xz 17669136 SHA256 497722b58386f4428c3474281eb3ef1c872404998b6ace907edb3bba1fabdc35 SHA512 c40775e727a665300b45ec5d375424565671768cb73eee6793285a5b9a29db66072fc55d56bc1b4189cd38e0590573554e283661e4fbec23e4ad3d5b90542a87 WHIRLPOOL 845988be5a667eae2ca2f433399d51af3bf8219a692385477f6f7f37bae000a017f39db271f28cf101a0b92eb4b48fe79c7edd1da1b84a83f3a612e49b96e265 -DIST gdb-7.8.2.tar.xz 17678568 SHA256 605954d5747d5f08ea4b7f48e958d1ebbf39265e18f7f36738deeabb83744485 SHA512 face5bf1b4ce144fc8604fc84620beed956177a11fd632b4e41906fc7f632910b2b43a50e6cfdfd6cbd876ee527c813bddab8df29dc560a6c36694cdb8edc4e4 WHIRLPOOL b0e5adc8e98c8363c25b86a8f47d07863a97f215c74b4fe2fcce4e72ce82867bafea60cb51d26f3814e895a93e047ca962b19fb2557e9c74a0ab3d88b1e6ee1d -DIST gdb-7.8.tar.xz 17664316 SHA256 49c4abe174f79f54e1f9e75210ffb590d9b497d5b5200b5398c0e073a4ecb875 SHA512 e3977393c3a9bc2860d845928f457f4696a87106ccf30569cb69a82893deeab9b05fd1cffa4316cc5cfdfd3ad11a2d5660ed07a9965fa3d696a0ec604702557f WHIRLPOOL fb97f1fbee170fccf462d25fd6b4a218a8126b75465b59e21322ff2cacf2707d6b037d593663a4f52ae293c72d012a69a65377ee6827de18da80159c829b672d -DIST gdb-7.9.1.tar.xz 17867692 SHA256 cd9c543a411a05b2b647dd38936034b68c2b5d6f10e0d51dc168c166c973ba40 SHA512 eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b15506071f450102a9d4bcecdde8e93dc3748a10699b7f73f3e04fb2d9d8414 WHIRLPOOL fe7afb392f453fa5aab290da3b74118c4e3bbae6f4e276f2efd7f978e3987e031d92ecd90d35e0531901f1cf68b04a313df050b25bb3b632d1b6e62360acd591 -DIST gdb-7.9.tar.xz 17859428 SHA256 9b315651a16528f7af8c7d8284699fb0c965df316cc7339bb0b7bae335848392 SHA512 850202a477b486a75dc8196efead79c95bc675e348064a5eefee2a50215d40f62e9e052e9b8df29f997f91430f6e7454883652c701f5b1e688d9e2c575876c83 WHIRLPOOL 597cbe8b8c9da7e2188f6d207738fd9679c3a841fec9483f67ff91156d7886636b1da61bf1255155115655d87648278a0670ad381afde931c7c6ab6e762a9ecd -DIST gdb-weekly-7.10.50.20160208.tar.xz 20420380 SHA256 83ebc3c7d88c27aad58a3ee58316edbead4c5f59517a7ecadaa7b3c86d19d7cb SHA512 eedbe85bde498120acc49ab5d9969298d284653b6a3250eb0d0ac1d7de3b61410ff7f89edfdcc2edda5d0302468effe2a1faafdd29c90a272061c816e7bd0162 WHIRLPOOL faaa6090d5c5db4ede08518739188c10bc2ada81c03a80b11580204b34d7b026495b434efde09daf3c87c2243c9395a476f19427c278b9b2ff6a454efef37358 -DIST gdb-weekly-7.10.50.20160209.tar.xz 20420252 SHA256 929e3554a628ce7df613174341eb01596a91a72ddf224d0b0697bda0f2239068 SHA512 a11c5625e4333e61f4ccaa730a4b279d899da07a819fb26827cd8d91b8f2af6933e2ab4ef7fa9e5010b1c03811f86fa47ffa852d40f669c42f7da2ba1ff20b8a WHIRLPOOL 8cead2e17234390204716796cb5d866580aea1ac5ee974734f0c32caf504e309e5b9c992b96050563d6d4c343e39c0fb7c8833a09904a773fec6749124919a2b -DIST gdb-weekly-7.10.50.20160210.tar.xz 20418720 SHA256 c1140c64d828e53b60abf6a9744795a5bbd7e9223d16918c95f44b179cd9406d SHA512 d56233a623745ce0d3ac1a70bba3f7ae96ea851903541b3e38d52cd3ea3b1ce841e6a77ad571bf488d6cdbc051e5a76a1b8c4b988762bbebe9c9f84f33dc82aa WHIRLPOOL 7fc12e686b69139c3b21ffea4660ceea0fbe51f1cb01b2c02c4ebda7f655517143822abd1813047b347d4e22b1bc3126b41808dad6d1075ef9969b592f4efbaa -DIST gdb-weekly-7.11.50.20160305.tar.xz 20445584 SHA256 6b52f27523a4d3c217a2771dfb7ad5e19efe5ca2a7d7755f679f0a7e12a7d146 SHA512 e1689e6feefdec7aa2d0de383195e08b6e228a5d5994908ac774b6291fdff79c6268218371bc2df165e6cb0c5c07ad10fbc9ea5b68c89377db421afdfece381e WHIRLPOOL 031fcdb1119c48ebe54a308bfc8134f69119ec3e1965319e51e06f325c552efe85a94f36e6e0681de3642914d83284251260c7606d31a91b6a5946b703a23c1f -DIST gdb-weekly-7.11.50.20160306.tar.xz 20446920 SHA256 fe33d1a4dbe3377d18014933714a0d5af5e524648f7568406012138bbf3b27ae SHA512 c81bc6c825c43f70dab3c1f6fcf41d3fa6dbdc6a90bb45b578dfe8932a4ff1d0dc4e265de9e20b38bbaaef0de593b60d638576aaae9a8242d59789db75b7f074 WHIRLPOOL b33d7d3d008491b9d5fda17f5fc009994b4985658865e555b5b325646dd7d2434ba1bdb929ff61d6b36ddb5947e19c4c3e2788e1676e62f6e68a640ba7fd5caa -DIST gdb-weekly-7.11.50.20160307.tar.xz 20444440 SHA256 84a980f513019957635db65ba75ae88aa8f18d449c8f60fd7a8b81a42fa9786c SHA512 666101e74b126b896a48c3665d9eb59b17021a413b3c0f9313fc485bf5421ba5a9fae631cf008e1b1fd35a8e6f95f07bcb9551f054af34b1dacb60d4e823568d WHIRLPOOL e5d334dc2279430e213c1bf83ea1b4e25e7b82d803aec43bb3c8dbf432d31d7659959b6e0307115243c3b03701c24227eb8c644b666aba669bb2fef0e855b686 -DIST gdb-weekly-7.3.50.20111129.tar.bz2 21632339 SHA256 d8dd66e50c014bfc5d1a83501615ea9e83c6bd7b504f4fdb434fffed362f9211 -DIST gdb-weekly-7.3.50.20111206.tar.bz2 21710785 SHA256 1169ccb5cc300ccdb2f3d3088ce44a4abcdd5945cbb987686a442a43649100dc -DIST gdb-weekly-7.3.50.20111213.tar.bz2 21725949 SHA256 01ce3897be48245dd7af2abf130adbeab5cd3c0d8df264f1dc409ff3ab419327 -DIST gdb-weekly-7.4.50.20120703.tar.bz2 22408969 SHA256 cf74296a1227052c64f48b68e19383bbb0c8d31b5146756a8b5ccf43a62227b9 SHA512 459ffc38092dac406f6686cbb19302a36c10fdbd11c57db4df5e8111afb634b986c4bd95bf3af081a3bc68fdc9744888e2d18dbd067da4718016ad04c5884ef2 WHIRLPOOL 505e0430f9d744cfd052e7febc20af3a5adbb57b0b2717ca02893e7f2b13118ab8992d22e6569c74c421a7b20af38f3489232db8dce13082dbd53be093e40ab3 -DIST gdb-weekly-7.4.50.20120710.tar.bz2 22435129 SHA256 498749be1c6a81475e10cde3da2bc1177d5b5337b66474092e55972e626fa100 SHA512 e69928915347f528beec452982bc0f5e999aae56df150c7f618068051c4884a13cb11633c8b8834585ee95f6eae81aa384a2be721f7777edf8329f5233389d23 WHIRLPOOL 49c9325a25bbeca60b8feb4dc679dfd009251617bbfc9bab3679e61853ed61723c979a1c7b7d191fd5dcdfbd5ab5a2364ddde411b72848d7b12015c6eb5d3964 -DIST gdb-weekly-7.4.50.20120717.tar.bz2 22475023 SHA256 d07d1109607858aa16fde637001224e27d97fb9ac1c9ab6294024c4aa026efca SHA512 6d2fcb1fa8b401d98aba8241d165bb8e43925a621c651bdd6adeaf53e9e7a7c22fcf78270238155e67c02fa79af9f0ba1ef2d50c9305071ef90e82f371478516 WHIRLPOOL 335a29fc4267c5c5ed04e273fd0ccbcde0b7a193a1384ae18c2c0baece8a3d266e02af1addfac2f9464c3c65a158bfb18186ef55b4434827ab87d41193a4a3b0 -DIST gdb-weekly-7.5.50.20130226.tar.bz2 24213692 SHA256 c7164cc5c686904a8006bf34d53d5ddfdae86e899180a9973725d55b518e5558 SHA512 fb75e8a2ff63c4166fe6074aa64950087f582b63d3ea22689f8ae9b80744fa21a4c3c5b6b0f49c5da78fe26a990537ac6202e3f78138c061d963d42be3c67af3 WHIRLPOOL 80446534108f8ddd7606b3b0622cc6c0717fef4af66f44f052f848f0992decc5e10cdf9502b041534da53d2dc1b148c0b69a68d310c276a7c7a6440477db6f14 -DIST gdb-weekly-7.5.50.20130305.tar.bz2 24235357 SHA256 7d31b68cf742bdf8d6588e37e4cc8a2d47b39c33c76d391316365d582d153b48 SHA512 c624d5ea1ff4ff8f6fd67a6080dcd5dc4f7f738b4e0cdd8c0d52b6075fe3f172faf8df64029f6a2f12dd68fb70007064de60a68e057bd2ae85d209b824b9812e WHIRLPOOL ff5559eab999b127b8e6ba3c7859ab85f12a3b8fc28682b7b3d671b572ab09bc170c6a20836bb160563d55632e41fb8c651e525589be31ba3aa5c3ae82000609 -DIST gdb-weekly-7.5.50.20130312.tar.bz2 24279303 SHA256 92e588432a1f3cc7cd4cf822be450953db9d5f95e239240cbb11ca30b2e81530 SHA512 7af444420fe2fc808c4e668ac9a57f9fac2c9c34ed9b7cf440636c23c31c5089eff41efa12faaa73b28bcda5532114faa4bde3b1d3a3f6c23f14b5048a41cfe3 WHIRLPOOL bac109bba9bc6cc27493d17c3df6d5661328975ca51e5917d4387586dd47f8bcba561ac35faa101abdbd8be8a7b5fd1561aba140121872f5e5e92791ff8441bc -DIST gdb-weekly-7.6.50.20131224.tar.bz2 24974619 SHA256 5d452e155815b4d02f34c05b87888571494f8bd7dc66716aa1036ca5c28f916b SHA512 eabcba0506712d26261c2a66cd3b74c55c42af2049520a3e2d7b4e125c7a16e07bd981e525c632af3ecaa64962ece1a937163928aa5d13eb6d0b0395ed34e1db WHIRLPOOL abe54e8c082aa5b650a45ee289cd69a3243f430ff6d4e017936817f12c58db7dcb011a2676f7052db2e7000434823e33ca5b4c8a24e9053a26d457bcd2eed1d4 -DIST gdb-weekly-7.6.50.20131231.tar.bz2 24978918 SHA256 776986eb4edc28b8d8367a6d4fc3c2561997c8dae95ded015d6ee60c4c407d59 SHA512 7092ef038f2bdada4e8e3a42ff1d7a87e98845224037dd1b994bb4bc1811a150866c06c3dcb4d7be1bc58f4373d12674e1ee1d0e90fd1584035ffa55807b9e20 WHIRLPOOL b268053b49776d9ca02e2dcaaabd4d909580bc90f4d2679a7d3e21055e861ea5edb182d8ebdd9d8bf259483ca519130fa70388f6dac740917a5b53aaa88fe490 -DIST gdb-weekly-7.6.50.20140107.tar.bz2 24988218 SHA256 d4749c5d9de5aa77cc6272785f5294e77c365962f4f316c9fcb889663529049d SHA512 db7fe6a75f8f26e87035082d3e3634cd0f8b4064306bd997de25e1724c07b21ba2f7c49e9c9f08466f8d5934e4ec69cc7ebf753988c20a38254a3c404948f4f0 WHIRLPOOL d968dd93ba773353705630f608b09654eecd3dce40ac087504a9f10de17c45f9c4514f9e7a9cc7f2ad1640dc7d5ccbccc8207b4cec9f6133ef26abf010c235a2 -DIST gdb-weekly-7.7.50.20140527.tar.bz2 25414486 SHA256 290cef1bc94c12b12d60316560551347d55fcbb743ba7d721c097351ebece6aa SHA512 8f1d8c801b156f8cd2e686eefcddd580ec8d272bfe970e9bf1756299aabfdda1adb44311b80b2f3edb763fda37fd9402be1acac20c827b4c4c66c8dadf3ad895 WHIRLPOOL 158e1c65dd9dcddf2b6d144e5d653d883f95ff0825a9a73d86d8993b35ae73a293d8053f6488e45e4ba6eebe159ac7f660bf77a2dc8e3d890ed1cce6a01e24c7 -DIST gdb-weekly-7.7.50.20140603.tar.bz2 25411073 SHA256 0b3c9baa22ca5aa627e91d0108072b800b3f8d5f6f2fe596ae5cf92837c79693 SHA512 f5fcb51a1d1af2d2b7ff4c308e122a2a73bfb4833f8878d7cb4d0cf21acea47bafcfe0b541760a468e2f5e9887c7522c89bf62d413c124619f239300224f4ad3 WHIRLPOOL 35469c381ac7e6725e6dd8b8807c980d49cdb795b9519ae4f67f53774a6cfb6c85d77cbf33b0d1817dfddffddb4d19ccca79fd12e098e58f2705ffaf4fc6f05e -DIST gdb-weekly-7.7.50.20140610.tar.bz2 25454190 SHA256 cda14be3d8375a89d118c648be9a816c6c37813d5670d82b42c0eaefa523ace8 SHA512 144c7dbc7af7cde4c5d65c51c3ee7160a1f99fcccc64f68fcdcf4df73faa5ca27bcaa067d0dd9c749a520f05f404a1a2ce9fb4b7031562dadb935fd94fc4459c WHIRLPOOL 3b6e2499f75f0e51a9328b55cc4035ba3abe07b525ccc2639da4ada447bbf6380c4c8ee5486a2ccbd6090c1920699403b47947aadfc7665d4172f1125d0333cc -DIST gdb-weekly-7.8.50.20141209.tar.bz2 25616983 SHA256 20d6294fba1785341161aa9df1df5081f39c6a36c6951a73d83d012593bf364e SHA512 3631134753500d1628166cb097aa552385ed7e2967668842fa7dca180138b96f45a490439101441d4ccf76d10fe723eda42042ba902951f56be410004fbc0934 WHIRLPOOL ef03d7ba18f83cfbae0c29aed0da61f352dc75f83a2c8b8fb672c74ba7ba2786a706b622869fdf0e9c4f8331896d98d1b6502be5247b8257f8641b27cf98ec2a -DIST gdb-weekly-7.8.50.20141216.tar.bz2 25691936 SHA256 a60d9036f422c66bd02e7393fc657875393f7cf91e6abb5ccb8c24ffb73afaf9 SHA512 3e5c90b98534bef5ea3cd41dab5ca5f01f0971ea8aad7c2358847276e62e11736bda1d7395a9aff210c76e4a8e0f13326776a5984b842dc9f4f16888b53ecdda WHIRLPOOL 684eca2bbf7b10bb4b67214260a308b598de4d74254598f627ee0e655c885a7a47a6d765391959856572cece95ee65faccf33cc22e176c186c06926bbab7f24b -DIST gdb-weekly-7.8.50.20141223.tar.bz2 25724381 SHA256 f7850045a64a44681888ddd514a42c5ee2c64caa1abf03c3ef52ce4a72867ba6 SHA512 389194b3bd576a4269bf84c93249bc856dc8dcab1e5d4f3734ef7f7b9fe0f19c3e1b955824a3bed0e86c92004ec463cda271bdb8d7bfcb8275ac4526a7daf056 WHIRLPOOL 1205f08f9dce1aa3f235a8b1d257c96b44506f9b10a5ec262212f330092178473f89556cf2033e8296973ce7d374590d256d391bf788243e5465dd2c56a69c01 -DIST gdb-weekly-7.8.50.20141231.tar.xz 19194688 SHA256 9a128691b7eb1819fd5419b29ddf24917d6c1d69cb7408e87b9873b52eb27477 SHA512 7e1130f5a100e5d161f6d7abb5ba3ba6b9911a90652ea4aea00e32e846f6fad5e78b6a4ed5002b2d9c7466d1d2563c452a7b9a73afac7dbd30b1df05884ed351 WHIRLPOOL ebc5d29a6382224fa04dd15eb0e16c4cf9e8754e62cb68cdc2e098fb351463ca58dc60ef05f2ed4183433d46d65132297e409bc9c15c018c66027214757340fc -DIST gdb-weekly-7.8.50.20150106.tar.xz 19198676 SHA256 3bbfe217aee3472a09f1a8f81747555e185147a3569e3eeeb0cc0c9b44ad191a SHA512 676e73cd9470d0bf132d3ccf6979a2af6170031abb5f5482d1f4972f9082039337aaa35da48299f99196f08117c1f07d809e5a6b4213986abf08b760625432d5 WHIRLPOOL 3f195efd5a2c583fddee33b471e7afa649ae14a67daa7167e78946b57871ea63819c790add01edcc80a89b21d0f6fd8d937a9a0fc54238895853f1d73f94fb9c -DIST gdb-weekly-7.8.50.20150113.tar.xz 19204140 SHA256 e40e207516cb30aa35161c87742581fa87e4ad08d5f328c0084905309efa5a44 SHA512 4432a53f8780272786490ee36fac9d2aaf3d23a46ca75f918ea5d4c17ac5b13341e795f6f09ba614006172208344e8319e1a34cb543592644acb3770580f0ea1 WHIRLPOOL 67854fc683a4f56b00d44af9698a3a83a46fcfb4271a4d15e15da474039d1e0bc575dbe0bbce490a0803aea1ad54e24440e7afa11de9be032c443b7101c8acc1 -DIST gdb-weekly-7.9.50.20150616.tar.xz 19896368 SHA256 c0bdb60b1a297e129048027ffebaaa8962cb9121dac0b0c6f126df286b88a103 SHA512 9ba2a4ac17a0ac3736b6d81ad4e826d57b217929cfe36bcc0fa999654f9424a147e6f3918434d0d371539253e11503723f6e9851740ad5f5f84fa49624d7abac WHIRLPOOL 3f8faf894e840b519daf6a99678843c53662f189943f5fdccc6363f3292390ec5ea949a626bffe01627ce89c21bcbcbe9ebf105a16dde5fb4ff82fe816598837 -DIST gdb-weekly-7.9.50.20150623.tar.xz 1140408 SHA256 c6b86b4c8353e1c2cc5165c38edc9edc0cf8579d923f259ac7643e07a8c4d266 SHA512 782ce083575e74e7d36ba13d37cd4300152df16a2f98b0acea398e4f6117857dd9a2d2f6ff821d8d578190f14cb54cff18671514c0608be156eb2cb178d7fa18 WHIRLPOOL 4427295b82a995a0cd43d05983cd00ecfd3343c5a74e75907996cfab190bb6a65094aaabc887a711f72660e372da1a5817862fa7925aeca563f6cc826a037406 -DIST gdb-weekly-7.9.50.20150630.tar.xz 19928656 SHA256 639aa45df62392e241b0113ae8eb15f3f5ba4f7d9bf2b781ee585a0e0b726bf3 SHA512 7ecd34410401938b4e2a4df55f2ab757133e7360427ab6212e78a4dfc355e73a762ae6547adc13120ef87012b11a28476c2ad1ced8173648836bc5e4a3af0eb3 WHIRLPOOL 43e68468ad84ee9638f245e3d25d7ba2819ab01ac1d750db0606636827c4855ffd1e30ffdbd7f90bec495c49916ad9daed89ed11c39a50d0bb5517cc0c6de797 diff --git a/sys-devel/gdb/gdb-6.6-r2.ebuild b/sys-devel/gdb/gdb-6.6-r2.ebuild deleted file mode 100644 index c3d0cdd..0000000 --- a/sys-devel/gdb/gdb-6.6-r2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -PATCH_VER="1.3" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2 - mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x86-fbsd" -IUSE="nls test vanilla" - -RDEPEND=">=sys-libs/ncurses-5.2-r2" -DEPEND="${RDEPEND} - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd "${S}" - ! use vanilla && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -src_compile() { - replace-flags -O? -O2 - econf \ - --disable-werror \ - $(use_enable nls) \ - || die - emake || die -} - -src_test() { - make check || ewarn "tests failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - libdir=/nukeme includedir=/nukeme \ - install || die - rm -r "${D}"/nukeme || die - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${D}"/usr/share - return 0 - fi - - dodoc README - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - docinto sim - dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING - - dodoc "${WORKDIR}"/extra/gdbinit.sample - - # Remove shared info pages - rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-6.7.1-r3.ebuild b/sys-devel/gdb/gdb-6.7.1-r3.ebuild deleted file mode 100644 index 988a363..0000000 --- a/sys-devel/gdb/gdb-6.7.1-r3.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -PATCH_VER="1.3" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2 - mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x86-fbsd" -IUSE="nls test vanilla" - -RDEPEND=">=sys-libs/ncurses-5.2-r2 - sys-libs/readline" -DEPEND="${RDEPEND} - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd "${S}" - ! use vanilla && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -src_compile() { - strip-unsupported-flags - econf \ - --disable-werror \ - --with-system-readline \ - $(use_enable nls) \ - || die - emake || die -} - -src_test() { - make check || ewarn "tests failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ - install || die - rm -r "${D}"/nukeme || die - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${D}"/usr/share - return 0 - fi - - dodoc README - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - docinto sim - dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING - - dodoc "${WORKDIR}"/extra/gdbinit.sample - - # Remove shared info pages - rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-6.8-r2.ebuild b/sys-devel/gdb/gdb-6.8-r2.ebuild deleted file mode 100644 index 94454a9..0000000 --- a/sys-devel/gdb/gdb-6.8-r2.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -PATCH_VER="1.5" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2 - mirror://gentoo/${P}-patches-${PATCH_VER}.tar.lzma" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" -IUSE="expat multitarget nls test vanilla" - -RDEPEND=">=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat )" -DEPEND="${RDEPEND} - app-arch/xz-utils - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd "${S}" - ! use vanilla && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -src_compile() { - strip-unsupported-flags - econf \ - --disable-werror \ - $(has_version '=sys-libs/readline-5*:0' && echo --with-system-readline) \ - $(use_enable nls) \ - $(use multitarget && echo --enable-targets=all) \ - $(use_with expat) \ - || die - emake || die -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ - install || die - rm -r "${D}"/nukeme || die - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${D}"/usr/share - return 0 - fi - - dodoc README - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - docinto sim - dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING - - dodoc "${WORKDIR}"/extra/gdbinit.sample - - # Remove shared info pages - rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.0.1.ebuild b/sys-devel/gdb/gdb-7.0.1.ebuild deleted file mode 100644 index d1a6305..0000000 --- a/sys-devel/gdb/gdb-7.0.1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -PATCH_VER="1" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2 - ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.lzma}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x86-fbsd" -IUSE="expat multitarget nls python test vanilla" - -RDEPEND=">=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - python? ( dev-lang/python )" -DEPEND="${RDEPEND} - app-arch/xz-utils - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd "${S}" - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_compile() { - strip-unsupported-flags - econf \ - --with-pkgversion="$(gdb_branding)" \ - --with-bugurl='http://bugs.gentoo.org/' \ - --disable-werror \ - $(has_version '=sys-libs/readline-5*:0' && echo --with-system-readline) \ - $(is_cross && echo --with-sysroot=/usr/${CTARGET}) \ - $(use_with expat) \ - $(use_enable nls) \ - $(use multitarget && echo --enable-targets=all) \ - $(use_with python) \ - || die - emake || die -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ - install || die - rm -r "${D}"/nukeme || die - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${D}"/usr/share - return 0 - fi - - dodoc README - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - docinto sim - dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING - - dodoc "${WORKDIR}"/extra/gdbinit.sample - - # Remove shared info pages - rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.1.ebuild b/sys-devel/gdb/gdb-7.1.ebuild deleted file mode 100644 index cd100c8..0000000 --- a/sys-devel/gdb/gdb-7.1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -PATCH_VER="1" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2 - ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.lzma}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" -IUSE="expat multitarget nls python test vanilla" - -RDEPEND=">=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - python? ( dev-lang/python )" -DEPEND="${RDEPEND} - app-arch/xz-utils - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd "${S}" - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_compile() { - strip-unsupported-flags - econf \ - --with-pkgversion="$(gdb_branding)" \ - --with-bugurl='http://bugs.gentoo.org/' \ - --disable-werror \ - --with-system-readline \ - $(is_cross && echo --with-sysroot=/usr/${CTARGET}) \ - $(use_with expat) \ - $(use_enable nls) \ - $(use multitarget && echo --enable-targets=all) \ - $(use_with python) \ - || die - emake || die -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ - install || die - rm -r "${D}"/nukeme || die - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${D}"/usr/share - return 0 - fi - - dodoc README - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - docinto sim - dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING - - dodoc "${WORKDIR}"/extra/gdbinit.sample - - # Remove shared info pages - rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.10-r1.ebuild b/sys-devel/gdb/gdb-7.10-r1.ebuild deleted file mode 100644 index 40b1117..0000000 --- a/sys-devel/gdb/gdb-7.10-r1.ebuild +++ /dev/null @@ -1,233 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*.*.50.2???????) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -*.*.*.*.*.*) - # fedora versions; note we swap the rpm & fedora core versions. - # gdb-6.8.50.20090302-8.fc11.src.rpm -> gdb-6.8.50.20090302.11.8.ebuild - # gdb-7.9-11.fc23.src.rpm -> gdb-7.9.23.11.ebuild - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - parse_fedora_ver() { - set -- $(get_version_components) - MY_PV=$(gvcr 1-$(( $# - 2 ))) - RPM="${PN}-${MY_PV}-$(gvcr $#).fc$(gvcr $(( $# - 1 ))).src.rpm" - } - parse_fedora_ver - SRC_URI="mirror://fedora-dev/development/rawhide/source/SRPMS/g/${RPM}" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2:0= - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - sys-libs/zlib - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi - [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}" -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - # This only disables building in the zlib subdir. - # For gdb itself, it'll use the system version. - --without-zlib - --with-system-zlib - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Delete translations that conflict with binutils-libs. #528088 - # Note: Should figure out how to store these in an internal gdb dir. - if use nls ; then - find "${ED}" \ - -regextype posix-extended -regex '.*/(bfd|opcodes)[.]g?mo$' \ - -delete - fi - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.10.50.20160208.ebuild b/sys-devel/gdb/gdb-7.10.50.20160208.ebuild deleted file mode 100644 index 1a0b3fa..0000000 --- a/sys-devel/gdb/gdb-7.10.50.20160208.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.10.50.20160209.ebuild b/sys-devel/gdb/gdb-7.10.50.20160209.ebuild deleted file mode 100644 index 1a0b3fa..0000000 --- a/sys-devel/gdb/gdb-7.10.50.20160209.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.10.50.20160210.ebuild b/sys-devel/gdb/gdb-7.10.50.20160210.ebuild deleted file mode 100644 index 1a0b3fa..0000000 --- a/sys-devel/gdb/gdb-7.10.50.20160210.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.11.50.20160305.ebuild b/sys-devel/gdb/gdb-7.11.50.20160305.ebuild deleted file mode 100644 index 1a0b3fa..0000000 --- a/sys-devel/gdb/gdb-7.11.50.20160305.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.11.50.20160306.ebuild b/sys-devel/gdb/gdb-7.11.50.20160306.ebuild deleted file mode 100644 index 1a0b3fa..0000000 --- a/sys-devel/gdb/gdb-7.11.50.20160306.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.11.50.20160307.ebuild b/sys-devel/gdb/gdb-7.11.50.20160307.ebuild deleted file mode 100644 index 1a0b3fa..0000000 --- a/sys-devel/gdb/gdb-7.11.50.20160307.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.2.ebuild b/sys-devel/gdb/gdb-7.2.ebuild deleted file mode 100644 index 384e9fe..0000000 --- a/sys-devel/gdb/gdb-7.2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} - -PATCH_VER="1" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2 - ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x86-fbsd ~x64-macos ~x86-macos" -IUSE="expat multitarget nls python test vanilla" - -RDEPEND=">=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - python? ( =dev-lang/python-2* )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - econf \ - --with-pkgversion="$(gdb_branding)" \ - --with-bugurl='http://bugs.gentoo.org/' \ - --disable-werror \ - --enable-64-bit-bfd \ - --with-system-readline \ - $(is_cross && echo --with-sysroot="${EPREFIX}"/usr/${CTARGET}) \ - $(use_with expat) \ - $(use_enable nls) \ - $(use multitarget && echo --enable-targets=all) \ - $(use_with python python "${EPREFIX}/usr/bin/python2") -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ - install || die - rm -r "${D}"/nukeme || die - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - - dodoc README - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - docinto sim - dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING - - dodoc "${WORKDIR}"/extra/gdbinit.sample - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.3.1-r1.ebuild b/sys-devel/gdb/gdb-7.3.1-r1.ebuild deleted file mode 100644 index 14af961..0000000 --- a/sys-devel/gdb/gdb-7.3.1-r1.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="2" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - python? ( =dev-lang/python-2* ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - $(is_cross && echo --with-sysroot="${EPREFIX}"/usr/${CTARGET}) - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPREFIX}/usr/bin/python2") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - emake DESTDIR="${D}" install || die - use client && { find "${ED}"/usr -name libiberty.a -delete || die ; } - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && { dobin gdb/gdbserver/gdbreplay || die ; } - - dodoc README - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.3.50.20111129.ebuild b/sys-devel/gdb/gdb-7.3.50.20111129.ebuild deleted file mode 100644 index 98711cb..0000000 --- a/sys-devel/gdb/gdb-7.3.50.20111129.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.3.50.20111206.ebuild b/sys-devel/gdb/gdb-7.3.50.20111206.ebuild deleted file mode 100644 index 98711cb..0000000 --- a/sys-devel/gdb/gdb-7.3.50.20111206.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.3.50.20111213.ebuild b/sys-devel/gdb/gdb-7.3.50.20111213.ebuild deleted file mode 100644 index 98711cb..0000000 --- a/sys-devel/gdb/gdb-7.3.50.20111213.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.3.ebuild b/sys-devel/gdb/gdb-7.3.ebuild deleted file mode 100644 index 039cb5b..0000000 --- a/sys-devel/gdb/gdb-7.3.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="1" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x64-macos ~x86-macos" -fi -IUSE="expat multitarget nls python test vanilla" - -RDEPEND=">=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - python? ( =dev-lang/python-2* )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - econf \ - --with-pkgversion="$(gdb_branding)" \ - --with-bugurl='http://bugs.gentoo.org/' \ - --disable-werror \ - --enable-64-bit-bfd \ - --with-system-readline \ - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug \ - $(is_cross && echo --with-sysroot="${EPREFIX}"/usr/${CTARGET}) \ - $(use_with expat) \ - $(use_enable nls) \ - $(use multitarget && echo --enable-targets=all) \ - $(use_with python python "${EPREFIX}/usr/bin/python2") -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - {include,lib}dir=/nukeme/pretty/pretty/please \ - install || die - rm -r "${D}"/nukeme || die - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - - dodoc README - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - docinto sim - dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.4.1.ebuild b/sys-devel/gdb/gdb-7.4.1.ebuild deleted file mode 100644 index a00bdfd..0000000 --- a/sys-devel/gdb/gdb-7.4.1.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="2" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - python? ( =dev-lang/python-2* ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local sysroot="${EPREFIX}"/usr/${CTARGET} - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - $(is_cross && echo \ - --with-sysroot="${sysroot}" \ - --includedir="${sysroot}/usr/include") - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPREFIX}/usr/bin/python2") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - emake DESTDIR="${D}" install || die - use client && { find "${ED}"/usr -name libiberty.a -delete || die ; } - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && { dobin gdb/gdbserver/gdbreplay || die ; } - - dodoc README - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.4.50.20120703.ebuild b/sys-devel/gdb/gdb-7.4.50.20120703.ebuild deleted file mode 100644 index 98711cb..0000000 --- a/sys-devel/gdb/gdb-7.4.50.20120703.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.4.50.20120710.ebuild b/sys-devel/gdb/gdb-7.4.50.20120710.ebuild deleted file mode 100644 index 98711cb..0000000 --- a/sys-devel/gdb/gdb-7.4.50.20120710.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.4.50.20120717.ebuild b/sys-devel/gdb/gdb-7.4.50.20120717.ebuild deleted file mode 100644 index 98711cb..0000000 --- a/sys-devel/gdb/gdb-7.4.50.20120717.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.4.ebuild b/sys-devel/gdb/gdb-7.4.ebuild deleted file mode 100644 index 294044f..0000000 --- a/sys-devel/gdb/gdb-7.4.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="1" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - python? ( =dev-lang/python-2* ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local sysroot="${EPREFIX}"/usr/${CTARGET} - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - $(is_cross && echo \ - --with-sysroot="${sysroot}" \ - --includedir="${sysroot}/usr/include") - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPREFIX}/usr/bin/python2") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - emake DESTDIR="${D}" install || die - use client && { find "${ED}"/usr -name libiberty.a -delete || die ; } - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && { dobin gdb/gdbserver/gdbreplay || die ; } - - dodoc README - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.5.1.ebuild b/sys-devel/gdb/gdb-7.5.1.ebuild deleted file mode 100644 index b2fd15a..0000000 --- a/sys-devel/gdb/gdb-7.5.1.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="2" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - python? ( =dev-lang/python-2* ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local sysroot="${EPREFIX}"/usr/${CTARGET} - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - $(is_cross && echo \ - --with-sysroot="${sysroot}" \ - --includedir="${sysroot}/usr/include") - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPREFIX}/usr/bin/python2") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - emake DESTDIR="${D}" install || die - use client && { find "${ED}"/usr -name libiberty.a -delete || die ; } - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && { dobin gdb/gdbserver/gdbreplay || die ; } - - dodoc README - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.5.50.20130226.ebuild b/sys-devel/gdb/gdb-7.5.50.20130226.ebuild deleted file mode 100644 index 98711cb..0000000 --- a/sys-devel/gdb/gdb-7.5.50.20130226.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.5.50.20130305.ebuild b/sys-devel/gdb/gdb-7.5.50.20130305.ebuild deleted file mode 100644 index 98711cb..0000000 --- a/sys-devel/gdb/gdb-7.5.50.20130305.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.5.50.20130312.ebuild b/sys-devel/gdb/gdb-7.5.50.20130312.ebuild deleted file mode 100644 index 98711cb..0000000 --- a/sys-devel/gdb/gdb-7.5.50.20130312.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.5.ebuild b/sys-devel/gdb/gdb-7.5.ebuild deleted file mode 100644 index a5c0ddb..0000000 --- a/sys-devel/gdb/gdb-7.5.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="1" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - python? ( =dev-lang/python-2* ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local sysroot="${EPREFIX}"/usr/${CTARGET} - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - $(is_cross && echo \ - --with-sysroot="${sysroot}" \ - --includedir="${sysroot}/usr/include") - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPREFIX}/usr/bin/python2") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - emake DESTDIR="${D}" install || die - use client && { find "${ED}"/usr -name libiberty.a -delete || die ; } - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && { dobin gdb/gdbserver/gdbreplay || die ; } - - dodoc README - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.6.1.ebuild b/sys-devel/gdb/gdb-7.6.1.ebuild deleted file mode 100644 index ff08c2b..0000000 --- a/sys-devel/gdb/gdb-7.6.1.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="2" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( =dev-lang/python-2* ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po - if [[ ${CHOST} == *-darwin* ]] ; then - # make sure we have a python-config that matches our install, - # such that the python check doesn't fail just because the - # gdb-provided copy isn't quite what our python installed - # version is - rm -f "${S}"/gdb/python/python-config.py || die - pushd "${S}"/gdb/python > /dev/null || die - ln -s "${EROOT}"/usr/bin/$(eselect python show --python2)-config \ - python-config.py || die - popd > /dev/null || die - fi -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPREFIX}/usr/bin/python2") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - emake DESTDIR="${D}" install || die - use client && { find "${ED}"/usr -name libiberty.a -delete || die ; } - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && { dobin gdb/gdbserver/gdbreplay || die ; } - - dodoc README - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.6.2.ebuild b/sys-devel/gdb/gdb-7.6.2.ebuild deleted file mode 100644 index 0d9e2f5..0000000 --- a/sys-devel/gdb/gdb-7.6.2.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="1" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( =dev-lang/python-2* ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po - if [[ ${CHOST} == *-darwin* ]] ; then - # make sure we have a python-config that matches our install, - # such that the python check doesn't fail just because the - # gdb-provided copy isn't quite what our python installed - # version is - rm -f "${S}"/gdb/python/python-config.py || die - pushd "${S}"/gdb/python > /dev/null || die - ln -s "${EROOT}"/usr/bin/$(eselect python show --python2)-config \ - python-config.py || die - popd > /dev/null || die - fi -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPREFIX}/usr/bin/python2") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - emake DESTDIR="${D}" install || die - use client && { find "${ED}"/usr -name libiberty.a -delete || die ; } - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && { dobin gdb/gdbserver/gdbreplay || die ; } - - dodoc README - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.6.50.20131224.ebuild b/sys-devel/gdb/gdb-7.6.50.20131224.ebuild deleted file mode 100644 index 9561c6d..0000000 --- a/sys-devel/gdb/gdb-7.6.50.20131224.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.6.50.20131231.ebuild b/sys-devel/gdb/gdb-7.6.50.20131231.ebuild deleted file mode 100644 index 9561c6d..0000000 --- a/sys-devel/gdb/gdb-7.6.50.20131231.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.6.50.20140107.ebuild b/sys-devel/gdb/gdb-7.6.50.20140107.ebuild deleted file mode 100644 index 9561c6d..0000000 --- a/sys-devel/gdb/gdb-7.6.50.20140107.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.6.ebuild b/sys-devel/gdb/gdb-7.6.ebuild deleted file mode 100644 index 46fb2df..0000000 --- a/sys-devel/gdb/gdb-7.6.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit flag-o-matic eutils - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="3" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( =dev-lang/python-2* ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPREFIX}/usr/bin/python2") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - emake DESTDIR="${D}" install || die - use client && { find "${ED}"/usr -name libiberty.a -delete || die ; } - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && { dobin gdb/gdbserver/gdbreplay || die ; } - - dodoc README - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.7-r1.ebuild b/sys-devel/gdb/gdb-7.7-r1.ebuild deleted file mode 100644 index 7344127..0000000 --- a/sys-devel/gdb/gdb-7.7-r1.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="1" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2:0= - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.7.1.ebuild b/sys-devel/gdb/gdb-7.7.1.ebuild deleted file mode 100644 index 12b61ce..0000000 --- a/sys-devel/gdb/gdb-7.7.1.ebuild +++ /dev/null @@ -1,201 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="1" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2:0= - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po - if [[ ${CHOST} == *-darwin* ]] ; then - # make sure we have a python-config that matches our install, - # such that the python check doesn't fail just because the - # gdb-provided copy isn't quite what our python installed - # version is - rm -f "${S}"/gdb/python/python-config.py || die - pushd "${S}"/gdb/python > /dev/null || die - ln -s "${T}"/${EPYTHON}/bin/python-config python-config.py || die - popd > /dev/null || die - fi -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.7.50.20140527.ebuild b/sys-devel/gdb/gdb-7.7.50.20140527.ebuild deleted file mode 100644 index 9561c6d..0000000 --- a/sys-devel/gdb/gdb-7.7.50.20140527.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.7.50.20140603.ebuild b/sys-devel/gdb/gdb-7.7.50.20140603.ebuild deleted file mode 100644 index 9561c6d..0000000 --- a/sys-devel/gdb/gdb-7.7.50.20140603.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.7.50.20140610.ebuild b/sys-devel/gdb/gdb-7.7.50.20140610.ebuild deleted file mode 100644 index 9561c6d..0000000 --- a/sys-devel/gdb/gdb-7.7.50.20140610.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.8.1.ebuild b/sys-devel/gdb/gdb-7.8.1.ebuild deleted file mode 100644 index 83469ed..0000000 --- a/sys-devel/gdb/gdb-7.8.1.ebuild +++ /dev/null @@ -1,207 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2:0= - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.8.2.ebuild b/sys-devel/gdb/gdb-7.8.2.ebuild deleted file mode 100644 index 1e12855..0000000 --- a/sys-devel/gdb/gdb-7.8.2.ebuild +++ /dev/null @@ -1,207 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2:0= - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.8.50.20141209.ebuild b/sys-devel/gdb/gdb-7.8.50.20141209.ebuild deleted file mode 100644 index aa15d75..0000000 --- a/sys-devel/gdb/gdb-7.8.50.20141209.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.8.50.20141216.ebuild b/sys-devel/gdb/gdb-7.8.50.20141216.ebuild deleted file mode 100644 index aa15d75..0000000 --- a/sys-devel/gdb/gdb-7.8.50.20141216.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.8.50.20141223.ebuild b/sys-devel/gdb/gdb-7.8.50.20141223.ebuild deleted file mode 100644 index aa15d75..0000000 --- a/sys-devel/gdb/gdb-7.8.50.20141223.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.bz2 - ftp://sourceware.org/pub/gdb/releases/${P}.tar.bz2" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.8.50.20141231.ebuild b/sys-devel/gdb/gdb-7.8.50.20141231.ebuild deleted file mode 100644 index dc4c51d..0000000 --- a/sys-devel/gdb/gdb-7.8.50.20141231.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.8.50.20150106.ebuild b/sys-devel/gdb/gdb-7.8.50.20150106.ebuild deleted file mode 100644 index dc4c51d..0000000 --- a/sys-devel/gdb/gdb-7.8.50.20150106.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.8.50.20150113.ebuild b/sys-devel/gdb/gdb-7.8.50.20150113.ebuild deleted file mode 100644 index dc4c51d..0000000 --- a/sys-devel/gdb/gdb-7.8.50.20150113.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.8.ebuild b/sys-devel/gdb/gdb-7.8.ebuild deleted file mode 100644 index eaa583a..0000000 --- a/sys-devel/gdb/gdb-7.8.ebuild +++ /dev/null @@ -1,200 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.bz2" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="!dev-util/gdbserver - >=sys-libs/ncurses-5.2-r2:0= - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - app-arch/xz-utils - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.9.1.ebuild b/sys-devel/gdb/gdb-7.9.1.ebuild deleted file mode 100644 index fdcddda..0000000 --- a/sys-devel/gdb/gdb-7.9.1.ebuild +++ /dev/null @@ -1,221 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*.*.50.2???????) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -*.*.*.*.*.*) - # fedora versions; note we swap the rpm & fedora core versions. - # gdb-6.8.50.20090302-8.fc11.src.rpm -> gdb-6.8.50.20090302.11.8.ebuild - # gdb-7.9-11.fc23.src.rpm -> gdb-7.9.23.11.ebuild - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - parse_fedora_ver() { - set -- $(get_version_components) - MY_PV=$(gvcr 1-$(( $# - 2 ))) - RPM="${PN}-${MY_PV}-$(gvcr $#).fc$(gvcr $(( $# - 1 ))).src.rpm" - } - parse_fedora_ver - SRC_URI="mirror://fedora-dev/development/rawhide/source/SRPMS/g/${RPM}" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2:0= - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/gdb-7.9.50.20150616.ebuild b/sys-devel/gdb/gdb-7.9.50.20150616.ebuild deleted file mode 100644 index dc4c51d..0000000 --- a/sys-devel/gdb/gdb-7.9.50.20150616.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.9.50.20150623.ebuild b/sys-devel/gdb/gdb-7.9.50.20150623.ebuild deleted file mode 100644 index dc4c51d..0000000 --- a/sys-devel/gdb/gdb-7.9.50.20150623.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.9.50.20150630.ebuild b/sys-devel/gdb/gdb-7.9.50.20150630.ebuild deleted file mode 100644 index dc4c51d..0000000 --- a/sys-devel/gdb/gdb-7.9.50.20150630.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -MY_PV=${PV} -case ${PV} in -*.*.50.*) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2 - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='http://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} diff --git a/sys-devel/gdb/gdb-7.9.ebuild b/sys-devel/gdb/gdb-7.9.ebuild deleted file mode 100644 index 28f9f90..0000000 --- a/sys-devel/gdb/gdb-7.9.ebuild +++ /dev/null @@ -1,221 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit flag-o-matic eutils python-single-r1 - -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi -is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } - -RPM= -MY_PV=${PV} -case ${PV} in -9999*) - # live git tree - EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git" - inherit git-2 - SRC_URI="" - ;; -*.*.50.2???????) - # weekly snapshots - SRC_URI="ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${PV}.tar.xz" - ;; -*.*.*.*.*.*) - # fedora versions; note we swap the rpm & fedora core versions. - # gdb-6.8.50.20090302-8.fc11.src.rpm -> gdb-6.8.50.20090302.11.8.ebuild - # gdb-7.9-11.fc23.src.rpm -> gdb-7.9.23.11.ebuild - inherit versionator rpm - gvcr() { get_version_component_range "$@"; } - parse_fedora_ver() { - set -- $(get_version_components) - MY_PV=$(gvcr 1-$(( $# - 2 ))) - RPM="${PN}-${MY_PV}-$(gvcr $#).fc$(gvcr $(( $# - 1 ))).src.rpm" - } - parse_fedora_ver - SRC_URI="mirror://fedora-dev/development/rawhide/source/SRPMS/g/${RPM}" - ;; -*) - # Normal upstream release - SRC_URI="mirror://gnu/gdb/${P}.tar.xz - ftp://sourceware.org/pub/gdb/releases/${P}.tar.xz" - ;; -esac - -PATCH_VER="" -DESCRIPTION="GNU debugger" -HOMEPAGE="http://sourceware.org/gdb/" -SRC_URI="${SRC_URI} ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz}" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi -IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - || ( client server ) -" - -RDEPEND="server? ( !dev-util/gdbserver ) - client? ( - >=sys-libs/ncurses-5.2-r2:0= - sys-libs/readline:0= - expat? ( dev-libs/expat ) - lzma? ( app-arch/xz-utils ) - python? ( ${PYTHON_DEPS} ) - zlib? ( sys-libs/zlib ) - )" -DEPEND="${RDEPEND} - app-arch/xz-utils - client? ( - virtual/yacc - test? ( dev-util/dejagnu ) - nls? ( sys-devel/gettext ) - )" - -S=${WORKDIR}/${PN}-${MY_PV} - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec - ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch - epatch_user - strip-linguas -u bfd/po opcodes/po -} - -gdb_branding() { - printf "Gentoo ${PV} " - if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then - printf "p${PATCH_VER}" - else - printf "vanilla" - fi -} - -src_configure() { - strip-unsupported-flags - - local myconf=( - --with-pkgversion="$(gdb_branding)" - --with-bugurl='https://bugs.gentoo.org/' - --disable-werror - # Disable modules that are in a combined binutils/gdb tree. #490566 - --disable-{binutils,etc,gas,gold,gprof,ld} - ) - local sysroot="${EPREFIX}/usr/${CTARGET}" - is_cross && myconf+=( - --with-sysroot="${sysroot}" - --includedir="${sysroot}/usr/include" - --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" - ) - - if use server && ! use client ; then - # just configure+build in the gdbserver subdir to speed things up - cd gdb/gdbserver - myconf+=( --program-transform-name='' ) - else - # gdbserver only works for native targets (CHOST==CTARGET). - # it also doesn't support all targets, so rather than duplicate - # the target list (which changes between versions), use the - # "auto" value when things are turned on. - is_cross \ - && myconf+=( --disable-gdbserver ) \ - || myconf+=( $(use_enable server gdbserver auto) ) - fi - - if ! ( use server && ! use client ) ; then - # if we are configuring in the top level, then use all - # the additional global options - myconf+=( - --enable-64-bit-bfd - --disable-install-libbfd - --disable-install-libiberty - # Disable guile for now as it requires guile-2.x #562902 - --without-guile - # This only disables building in the readline subdir. - # For gdb itself, it'll use the system version. - --disable-readline - --with-system-readline - --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug - $(use_with expat) - $(use_with lzma) - $(use_enable nls) - $(use multitarget && echo --enable-targets=all) - $(use_with python python "${EPYTHON}") - $(use_with zlib) - ) - fi - - econf "${myconf[@]}" -} - -src_test() { - nonfatal emake check || ewarn "tests failed" -} - -src_install() { - use server && ! use client && cd gdb/gdbserver - default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" - - # Don't install docs when building a cross-gdb - if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} - local f - for f in "${ED}"/usr/share/man/*/* ; do - if [[ ${f##*/} != ${CTARGET}-* ]] ; then - mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die - fi - done - return 0 - fi - # Install it by hand for now: - # http://sourceware.org/ml/gdb-patches/2011-12/msg00915.html - # Only install if it exists due to the twisted behavior (see - # notes in src_configure above). - [[ -e gdb/gdbserver/gdbreplay ]] && dobin gdb/gdbserver/gdbreplay - - if use client ; then - docinto gdb - dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ - gdb/NEWS gdb/ChangeLog gdb/PROBLEMS - fi - docinto sim - dodoc sim/{ChangeLog,MAINTAINERS,README-HACKING} - if use server ; then - docinto gdbserver - dodoc gdb/gdbserver/{ChangeLog,README} - fi - - if [[ -n ${PATCH_VER} ]] ; then - dodoc "${WORKDIR}"/extra/gdbinit.sample - fi - - # Remove shared info pages - rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* -} - -pkg_postinst() { - # portage sucks and doesnt unmerge files in /etc - rm -vf "${EROOT}"/etc/skel/.gdbinit - - if use prefix && [[ ${CHOST} == *-darwin* ]] ; then - ewarn "gdb is unable to get a mach task port when installed by Prefix" - ewarn "Portage, unprivileged. To make gdb fully functional you'll" - ewarn "have to perform the following steps:" - ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" - ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" - fi -} diff --git a/sys-devel/gdb/metadata.xml b/sys-devel/gdb/metadata.xml deleted file mode 100644 index bef8f2f..0000000 --- a/sys-devel/gdb/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>toolchain@gentoo.org</email> -</maintainer> -<use> - <flag name="client">Install the main "gdb" program (most people want this)</flag> - <flag name="lzma">Support lzma compression in ELF debug info</flag> - <flag name="multitarget">Support all known targets in one gdb binary</flag> - <flag name="python">Enable support for the new internal scripting language, as well as extended pretty printers</flag> - <flag name="server">Install the "gdbserver" program (useful for embedded/remote targets)</flag> - <flag name="xml">Support parsing XML data files needed (at least) for cpu features, memory maps, and syscall tracing</flag> -</use> -<upstream> - <remote-id type="cpe">cpe:/a:gnu:gdb</remote-id> -</upstream> -</pkgmetadata> |