From e9b58e8bc32178fb2f593ab26a71691d2e678acd Mon Sep 17 00:00:00 2001 From: William Thomson Date: Sat, 27 Jan 2007 23:05:45 +0000 Subject: [PATCH] House cleaning, removed older versions Package-Manager: portage-2.1.2-r1 --- dev-util/netbeans/ChangeLog | 12 +- dev-util/netbeans/Manifest | 69 +-- dev-util/netbeans/files/4.0/startscript.sh | 21 - dev-util/netbeans/files/5.5/deps-txt.patch | 11 - .../5.5/jdbcstorage-build.xml-comments.patch | 38 -- .../mdr_extras_jdbcstorage_build.xml.patch | 34 -- .../5.5/mdr_extras_mdrant_build.xml.patch | 34 -- .../files/5.5/mdrant-build.xml-comments.patch | 37 -- dev-util/netbeans/files/5.5/modules-txt.patch | 10 - .../files/5.5/public-packages-txt.patch | 25 - dev-util/netbeans/files/5.5/startscript.sh | 21 - .../netbeans/files/digest-netbeans-4.0-r2 | 6 - dev-util/netbeans/files/digest-netbeans-5.5 | 9 - .../netbeans/files/digest-netbeans-5.5-r1 | 6 - dev-util/netbeans/netbeans-4.0-r2.ebuild | 410 ----------------- dev-util/netbeans/netbeans-5.5-r1.ebuild | 426 ------------------ dev-util/netbeans/netbeans-5.5.ebuild | 409 ----------------- 17 files changed, 15 insertions(+), 1563 deletions(-) delete mode 100644 dev-util/netbeans/files/4.0/startscript.sh delete mode 100644 dev-util/netbeans/files/5.5/deps-txt.patch delete mode 100644 dev-util/netbeans/files/5.5/jdbcstorage-build.xml-comments.patch delete mode 100644 dev-util/netbeans/files/5.5/mdr_extras_jdbcstorage_build.xml.patch delete mode 100644 dev-util/netbeans/files/5.5/mdr_extras_mdrant_build.xml.patch delete mode 100644 dev-util/netbeans/files/5.5/mdrant-build.xml-comments.patch delete mode 100644 dev-util/netbeans/files/5.5/modules-txt.patch delete mode 100644 dev-util/netbeans/files/5.5/public-packages-txt.patch delete mode 100644 dev-util/netbeans/files/5.5/startscript.sh delete mode 100644 dev-util/netbeans/files/digest-netbeans-4.0-r2 delete mode 100644 dev-util/netbeans/files/digest-netbeans-5.5 delete mode 100644 dev-util/netbeans/files/digest-netbeans-5.5-r1 delete mode 100644 dev-util/netbeans/netbeans-4.0-r2.ebuild delete mode 100644 dev-util/netbeans/netbeans-5.5-r1.ebuild delete mode 100644 dev-util/netbeans/netbeans-5.5.ebuild diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog index 7d277651c528..8227b98d62aa 100644 --- a/dev-util/netbeans/ChangeLog +++ b/dev-util/netbeans/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for dev-util/netbeans # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.50 2007/01/23 19:21:29 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.51 2007/01/27 23:05:45 wltjr Exp $ + + 27 Jan 2007; William L. Thomson Jr. + -files/5.5/deps-txt.patch, + -files/5.5/mdr_extras_jdbcstorage_build.xml.patch, + -files/5.5/jdbcstorage-build.xml-comments.patch, + -files/5.5/mdr_extras_mdrant_build.xml.patch, -files/4.0/startscript.sh, + -files/5.5/mdrant-build.xml-comments.patch, -files/5.5/modules-txt.patch, + -files/5.5/public-packages-txt.patch, -files/5.5/startscript.sh, + -netbeans-4.0-r2.ebuild, -netbeans-5.5.ebuild, -netbeans-5.5-r1.ebuild: + House cleaning, removed older versions 23 Jan 2007; Miroslav Å ulc netbeans-5.5-r2.ebuild: Corrected dependency on prefuse slot 2006, reported by Alistair Bush diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest index a80564829558..4976ca976685 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -1,7 +1,3 @@ -AUX 4.0/startscript.sh 409 RMD160 602a9d56a47f799c1b29a1a8a9e2616252109a4b SHA1 ca245693b313ca319ccfe9c1546206bdce0b8832 SHA256 e702d5b321e55dd949f16bb3c5783e1974f9fd04b76548dd6fb565f2381d0f39 -MD5 0c98dd3e09a6ddfc91bf8eac2ef22871 files/4.0/startscript.sh 409 -RMD160 602a9d56a47f799c1b29a1a8a9e2616252109a4b files/4.0/startscript.sh 409 -SHA256 e702d5b321e55dd949f16bb3c5783e1974f9fd04b76548dd6fb565f2381d0f39 files/4.0/startscript.sh 409 AUX 5.5-r2/jdbcstorage-build.xml-comments.patch 1967 RMD160 263b55e7d35ea2623e61453fd46f2e846401703c SHA1 2a49ea838d17bded357cbea9587cb4e83025f4c6 SHA256 82d2b0616f4b0d0624e1bb8438ff47b82b7c9375329a3eb2397d915674abf9c4 MD5 0734227595e25a5df0ecb46f96f6cd50 files/5.5-r2/jdbcstorage-build.xml-comments.patch 1967 RMD160 263b55e7d35ea2623e61453fd46f2e846401703c files/5.5-r2/jdbcstorage-build.xml-comments.patch 1967 @@ -14,38 +10,6 @@ AUX 5.5-r2/startscript.sh 54 RMD160 bd94453fd8b68f1edf6a1f33ffe1cdc329fe1acc SHA MD5 defd3db5cc17afe0fa248ef59b11ee42 files/5.5-r2/startscript.sh 54 RMD160 bd94453fd8b68f1edf6a1f33ffe1cdc329fe1acc files/5.5-r2/startscript.sh 54 SHA256 28d1b63ec8d52b3510edd7073dedc2fb8dbadd2edeefb33086c830cd62843dd8 files/5.5-r2/startscript.sh 54 -AUX 5.5/deps-txt.patch 511 RMD160 94f7f487bc0007ddcf4522cbb9554d5d59b4a202 SHA1 f1255ea6ee8880345f2e8fa976ad6958bd83c4a4 SHA256 8b2a4041825adb2ee714d5b635024bb28efef3e9d24b3018b12db5c12e52c394 -MD5 01a15f1329edc1694152b4da9fe1bce0 files/5.5/deps-txt.patch 511 -RMD160 94f7f487bc0007ddcf4522cbb9554d5d59b4a202 files/5.5/deps-txt.patch 511 -SHA256 8b2a4041825adb2ee714d5b635024bb28efef3e9d24b3018b12db5c12e52c394 files/5.5/deps-txt.patch 511 -AUX 5.5/jdbcstorage-build.xml-comments.patch 1967 RMD160 263b55e7d35ea2623e61453fd46f2e846401703c SHA1 2a49ea838d17bded357cbea9587cb4e83025f4c6 SHA256 82d2b0616f4b0d0624e1bb8438ff47b82b7c9375329a3eb2397d915674abf9c4 -MD5 0734227595e25a5df0ecb46f96f6cd50 files/5.5/jdbcstorage-build.xml-comments.patch 1967 -RMD160 263b55e7d35ea2623e61453fd46f2e846401703c files/5.5/jdbcstorage-build.xml-comments.patch 1967 -SHA256 82d2b0616f4b0d0624e1bb8438ff47b82b7c9375329a3eb2397d915674abf9c4 files/5.5/jdbcstorage-build.xml-comments.patch 1967 -AUX 5.5/mdr_extras_jdbcstorage_build.xml.patch 1787 RMD160 836321e4bad7b06abfe42e9bad8387724b68d8a7 SHA1 f708acc4565a67a35e30a6e76d1562979743fd37 SHA256 7685c67bf71dfca7f71b82af6b4a1d05fb90afbb24b72515df7332430e33860f -MD5 90fca9a67bccdec94f44d6d8971b88e1 files/5.5/mdr_extras_jdbcstorage_build.xml.patch 1787 -RMD160 836321e4bad7b06abfe42e9bad8387724b68d8a7 files/5.5/mdr_extras_jdbcstorage_build.xml.patch 1787 -SHA256 7685c67bf71dfca7f71b82af6b4a1d05fb90afbb24b72515df7332430e33860f files/5.5/mdr_extras_jdbcstorage_build.xml.patch 1787 -AUX 5.5/mdr_extras_mdrant_build.xml.patch 1777 RMD160 724a5f79e993e8a1924d36691ed0808694768ccb SHA1 adbf6363754b77dd5eb310809ca71571f91bcc32 SHA256 476082ad5558dd771a291e9172666e2ad82fa61bc94f5adef841991a86fcec37 -MD5 1fa768b97ba22a33da97ed633ffad78c files/5.5/mdr_extras_mdrant_build.xml.patch 1777 -RMD160 724a5f79e993e8a1924d36691ed0808694768ccb files/5.5/mdr_extras_mdrant_build.xml.patch 1777 -SHA256 476082ad5558dd771a291e9172666e2ad82fa61bc94f5adef841991a86fcec37 files/5.5/mdr_extras_mdrant_build.xml.patch 1777 -AUX 5.5/mdrant-build.xml-comments.patch 1943 RMD160 d6c759a758aa6e2cf2cdd09f97b5894e83fe4a64 SHA1 28cf3e5f0906d564724ed816c04d4e84e1e5b4a7 SHA256 c3ffe9773503241a6ed34e4f5e293f048f3da07b7681a9bb2c1b25561d72d190 -MD5 0e4b9372e42a50dec4fccec80d9af95b files/5.5/mdrant-build.xml-comments.patch 1943 -RMD160 d6c759a758aa6e2cf2cdd09f97b5894e83fe4a64 files/5.5/mdrant-build.xml-comments.patch 1943 -SHA256 c3ffe9773503241a6ed34e4f5e293f048f3da07b7681a9bb2c1b25561d72d190 files/5.5/mdrant-build.xml-comments.patch 1943 -AUX 5.5/modules-txt.patch 485 RMD160 a437c7a9048e5f3941f13798bfe921fc80f90cf2 SHA1 93ee5c8af702b2bde38e00c38104bc6087cd633a SHA256 3ec06df27e29bd2d708bf253bba4059620c57070d60549b0fc8f03d81eebd3b5 -MD5 f87d1c0d3181a05cb99f1595d7a75de2 files/5.5/modules-txt.patch 485 -RMD160 a437c7a9048e5f3941f13798bfe921fc80f90cf2 files/5.5/modules-txt.patch 485 -SHA256 3ec06df27e29bd2d708bf253bba4059620c57070d60549b0fc8f03d81eebd3b5 files/5.5/modules-txt.patch 485 -AUX 5.5/public-packages-txt.patch 674 RMD160 94bf2c4d192d4718b9c4958ec8e3f467ac9a11d4 SHA1 2a3db3c49feb352ab6bce1bb30e5d06df4fddaee SHA256 1e6357b7355eb21789d779c532cd7df3a1325ce2a637e5735e76cf4e0518d7f3 -MD5 1268cd79a9c91aa172746702a001445c files/5.5/public-packages-txt.patch 674 -RMD160 94bf2c4d192d4718b9c4958ec8e3f467ac9a11d4 files/5.5/public-packages-txt.patch 674 -SHA256 1e6357b7355eb21789d779c532cd7df3a1325ce2a637e5735e76cf4e0518d7f3 files/5.5/public-packages-txt.patch 674 -AUX 5.5/startscript.sh 421 RMD160 6494dc2a8d810d37f9eea36b4cf759aea8ec92d9 SHA1 2b15c71af3e585e57ecc3712144205ae5119a016 SHA256 dfd619a0a71b28e17facb015e8d4be79c495361f29e97da4cf55ced7f3f87b5f -MD5 06cb85e3af52ad431914dd95f3ed4eff files/5.5/startscript.sh 421 -RMD160 6494dc2a8d810d37f9eea36b4cf759aea8ec92d9 files/5.5/startscript.sh 421 -SHA256 dfd619a0a71b28e17facb015e8d4be79c495361f29e97da4cf55ced7f3f87b5f files/5.5/startscript.sh 421 AUX antbuild.xml.patch 957 RMD160 0ec0888271912ce1ca86c8c54482735e1a64c8c0 SHA1 d5ec90aab2eafca4ecec3f450d441f298632e184 SHA256 12d166b6b75a9222fcdabed5829a67b18f4525f988cb319392e99f4a5f18d479 MD5 95ab6db4dc5ed189e21f0e6ae1aa657e files/antbuild.xml.patch 957 RMD160 0ec0888271912ce1ca86c8c54482735e1a64c8c0 files/antbuild.xml.patch 957 @@ -81,11 +45,7 @@ SHA256 e702d5b321e55dd949f16bb3c5783e1974f9fd04b76548dd6fb565f2381d0f39 files/st DIST NetBeansIDE-release341.tar.bz2 23344238 RMD160 313f87b7707c29ba7b23b2592e2e612c71786e34 SHA1 b953720c08753d95bdb53692e0c8bd5c9c97bb4d SHA256 8389f6c97fd3992e17121d182e8dde2ccda604e4b215fd685d796e31d2918a85 DIST NetBeansIDE-release351.tar.bz2 24379869 RMD160 64e851d8771391c8d911ced11c481e150da62423 SHA1 d12ae1bbb0236b0171f5eb884f73f7cf788885e6 SHA256 a9cfceb8aa950b1b7c72663a325a7fbfa1f9d2d9bd54af8f94cb2124297f0f43 DIST netbeans-3_6.tar.bz2 32270184 RMD160 e6e3ad89fe7b9f005ee36dab28bd2b5ef125dfc8 SHA1 92925d02730e80fde67cc4800ae424d79e755f6d SHA256 56c015a5c33bcb3fc658c2732ad72e99384b80ff5e9563f843f3c5a52ef0a3f1 -DIST netbeans-4_0-docs-javadoc.tar.bz2 12728428 RMD160 28ff8af7e3bfdd37c7bf8e51e380147e6ece539a SHA1 bd25667bbfd2906f828eb580200ddb2d838a1331 SHA256 8de56aafdd7943dde474b2f8e6cd3ac0442f1a7dd64632143b2c93e48cb23256 -DIST netbeans-4_0-src-ide_sources.tar.bz2 53877180 RMD160 7720ef5d53869316437c35d3c54bd50fe2f58143 SHA1 3dd97d474d19be866aab0ea5404e191bef7b2a5a SHA256 3d65584f74a43d4f4e3b41f85b1f719c4867488d91f31116ef3d5746dc4faf14 -DIST netbeans-5.5-files-layout-txt.patch.bz2 2543 RMD160 7650d3ede210872779164d78c0624468e29da9e8 SHA1 9f11852bfa5d3a965ecbee3abc9e7efb4ad5b60b SHA256 311b21d53b5f27b9c12d9139157179d908ae3c1a57a6f2adb46cbd1f4ddfc81a DIST netbeans-5_5-ide_sources.tar.bz2 109745446 RMD160 075f33dbbc666ee00dc8b25281a43dcf49d84247 SHA1 255b863e41c23abc00678a228f881c697160bd2a SHA256 ee521fa4a4807cc41b567ff6bff6d927a61415a4246fd4e6cc24f511b5827999 -DIST netbeans-5_5-javadoc.tar.bz2 11345846 RMD160 745641defdb56f0e860e3c46f0275f3b44efe808 SHA1 64603756c56a216315d0598ea20bfcdc429598c2 SHA256 50851849d0121e5ffa36cd5e3b9c366d40f9e2cdce4b58f030bb6716e3438c33 EBUILD netbeans-3.4.1.ebuild 3179 RMD160 9242d275fba562093ceb04d3aa8d655077019aab SHA1 62e6d6e79c612c5928ac411af4603e294ea761ad SHA256 512a07d2a8f79aebbbb86ce1f71b98f515238ec30f4581d919e4847baca16bba MD5 edbb2534536fd9ece4393e28c8f02727 netbeans-3.4.1.ebuild 3179 RMD160 9242d275fba562093ceb04d3aa8d655077019aab netbeans-3.4.1.ebuild 3179 @@ -98,26 +58,14 @@ EBUILD netbeans-3.6-r1.ebuild 3140 RMD160 ac4f77b469f1c04a0ad666bc6ef15358c8739d MD5 e0cc15658650890cb727d0889626405b netbeans-3.6-r1.ebuild 3140 RMD160 ac4f77b469f1c04a0ad666bc6ef15358c8739d53 netbeans-3.6-r1.ebuild 3140 SHA256 6464d8799e0dc198b2ed6c83cfd534287449ee8e795072c98d14ba3e64e0fc46 netbeans-3.6-r1.ebuild 3140 -EBUILD netbeans-4.0-r2.ebuild 12145 RMD160 02ecc9189ee75bf5e579acd3fa03bde6f0e21d86 SHA1 1938d443ca234dbea1f7b1653e816e13db8c5d00 SHA256 c3869ca5901c484e19a664f16c9e7c52161e0c2bfe37abc3661dfdecbe7923b0 -MD5 2cb70abbba97969f4dd065df95a4f5cd netbeans-4.0-r2.ebuild 12145 -RMD160 02ecc9189ee75bf5e579acd3fa03bde6f0e21d86 netbeans-4.0-r2.ebuild 12145 -SHA256 c3869ca5901c484e19a664f16c9e7c52161e0c2bfe37abc3661dfdecbe7923b0 netbeans-4.0-r2.ebuild 12145 -EBUILD netbeans-5.5-r1.ebuild 12754 RMD160 41f426710cf86a431833e03f2c87a947648e53d6 SHA1 b53ed45eb242f232ac6b83a4c6888cd3aa830cc6 SHA256 e5f551006663ac3a6ada7e26fc3261ad0911b2cc4d8108365d45c509578d2a38 -MD5 18fa3abe2e302bbdf4394c494e807a43 netbeans-5.5-r1.ebuild 12754 -RMD160 41f426710cf86a431833e03f2c87a947648e53d6 netbeans-5.5-r1.ebuild 12754 -SHA256 e5f551006663ac3a6ada7e26fc3261ad0911b2cc4d8108365d45c509578d2a38 netbeans-5.5-r1.ebuild 12754 EBUILD netbeans-5.5-r2.ebuild 17088 RMD160 f29151b7bb7e3564d5e90174395ddd9d531e53e4 SHA1 fe361bec1ca8c7d3457949e9b79582f4774ffb6d SHA256 7b78efe96c5ed6b41cf48788591e8ebed09d19ad1073952cb08310e1f0e3fb37 MD5 9bf1b87547053a8cfe3e57228a15076b netbeans-5.5-r2.ebuild 17088 RMD160 f29151b7bb7e3564d5e90174395ddd9d531e53e4 netbeans-5.5-r2.ebuild 17088 SHA256 7b78efe96c5ed6b41cf48788591e8ebed09d19ad1073952cb08310e1f0e3fb37 netbeans-5.5-r2.ebuild 17088 -EBUILD netbeans-5.5.ebuild 12028 RMD160 2f403711773337f7e1fbf9735eee65fba0b559f2 SHA1 1fc9878655e5e0051a1f186e2e237337d573c7f5 SHA256 208dcc7473c1d37120ed0978048234f061875cfaea9a3636e0882d9f9cc3e392 -MD5 d89e31c2d62e3221deca3e385ab47446 netbeans-5.5.ebuild 12028 -RMD160 2f403711773337f7e1fbf9735eee65fba0b559f2 netbeans-5.5.ebuild 12028 -SHA256 208dcc7473c1d37120ed0978048234f061875cfaea9a3636e0882d9f9cc3e392 netbeans-5.5.ebuild 12028 -MISC ChangeLog 9385 RMD160 bf4c23542ed3a0388e43339cabaa2ce5eead6e67 SHA1 463581ba5a74461cc347d9f576c9377cc043df68 SHA256 f8cf0389ad59f6f2d6c6cc0921157366365d7d4c8fb2f493248d049eff7af378 -MD5 d2e2c59ccffe89b7f12443697489acda ChangeLog 9385 -RMD160 bf4c23542ed3a0388e43339cabaa2ce5eead6e67 ChangeLog 9385 -SHA256 f8cf0389ad59f6f2d6c6cc0921157366365d7d4c8fb2f493248d049eff7af378 ChangeLog 9385 +MISC ChangeLog 9906 RMD160 7ddc7ba953cc5a04363872b594108be40fcec7f6 SHA1 a66fd5dff4dc2247a7049fbcb62c3df6827fe005 SHA256 728e7b3f158d67adc509b3773423a97b33d6be1078e372fd92348dcb35da268a +MD5 113d7dbbc0a5053187837089f8d1f591 ChangeLog 9906 +RMD160 7ddc7ba953cc5a04363872b594108be40fcec7f6 ChangeLog 9906 +SHA256 728e7b3f158d67adc509b3773423a97b33d6be1078e372fd92348dcb35da268a ChangeLog 9906 MISC metadata.xml 1231 RMD160 7bb940d05effa2a91a56ba3e82d9387018890b4f SHA1 4cc032a1928fcb75eb60dc7e1b5b0411704678d9 SHA256 4ff5362b7d9bf8eeed01ee71b738ae3ce845cfe8c645533ea83ae91bcbbc3e2e MD5 fb3f98637f1c435df7f2203cc4d7c04d metadata.xml 1231 RMD160 7bb940d05effa2a91a56ba3e82d9387018890b4f metadata.xml 1231 @@ -131,15 +79,6 @@ SHA256 0789a066b68590a8b0f278ce82c9cb8fa5cac75985a6b3a2b13b4a6f9e9fb76c files/di MD5 4bff75c3ad42f1ea6045bb39cebeb853 files/digest-netbeans-3.6-r1 247 RMD160 f84f34da26bf479b04f759d9b2ad7f9fcd4841a1 files/digest-netbeans-3.6-r1 247 SHA256 d3c304856aab911f497e7031545584f0f325b920a00c28260f97f9bcf0fb406d files/digest-netbeans-3.6-r1 247 -MD5 8b740e12c38ada0d0e40547b2136c57d files/digest-netbeans-4.0-r2 581 -RMD160 25e277a7b4fe1582b57a29898380429097412f6f files/digest-netbeans-4.0-r2 581 -SHA256 4f441675a5300ee468a669078d5f813f9fae8a7a503acb2dd50f2adee90d24e2 files/digest-netbeans-4.0-r2 581 -MD5 c8a0b3075b05eee17b3d72a4e0ae3da6 files/digest-netbeans-5.5 849 -RMD160 698fc8a03d93e1d953518e85a154f81c39420a16 files/digest-netbeans-5.5 849 -SHA256 106a591a21d31b7b730bf5f922f7f2fcf26eb87d1f9e8f9e808cf8be9b9ea09c files/digest-netbeans-5.5 849 -MD5 941a64540f925f5b9c672d7aab71fcb4 files/digest-netbeans-5.5-r1 557 -RMD160 8811d7450a173585439b243004eab0b615f505e8 files/digest-netbeans-5.5-r1 557 -SHA256 b47a0c7239e8eadf6723160c9c9a3e02fafffcaebee20d758da0359c27afd923 files/digest-netbeans-5.5-r1 557 MD5 f237047066edfa79b73944b48b864660 files/digest-netbeans-5.5-r2 286 RMD160 f9ccd6b0d51aa578effc86871f374b8d419ef42a files/digest-netbeans-5.5-r2 286 SHA256 6ccefbf351ddcc6eb05dc70fb8ba2453bbec18957ccf012e31f920e52c73e664 files/digest-netbeans-5.5-r2 286 diff --git a/dev-util/netbeans/files/4.0/startscript.sh b/dev-util/netbeans/files/4.0/startscript.sh deleted file mode 100644 index 8fe13cc00b01..000000000000 --- a/dev-util/netbeans/files/4.0/startscript.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -check_symlinks() { - for file in `find ${1} -type l` ; do - - if ! test -e ${file} ; then - echo "Broken symlink:" - echo "${file}" - fi - - done -} - -NBDIR="/usr/share/netbeans-4.0" - -check_symlinks ${NBDIR}/ide4/modules/ext -check_symlinks ${NBDIR}/ide4/modules/autoload/ext -check_symlinks ${NBDIR}/ide4/config/TagLibraries/JSTL11 -check_symlinks ${NBDIR}/platform4/modules/ext - -${NBDIR}/bin/netbeans diff --git a/dev-util/netbeans/files/5.5/deps-txt.patch b/dev-util/netbeans/files/5.5/deps-txt.patch deleted file mode 100644 index 0307ecf40c60..000000000000 --- a/dev-util/netbeans/files/5.5/deps-txt.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ide/golden/deps.txt 2006-10-03 02:31:07.000000000 +0200 -+++ deps.txt 2006-10-08 22:57:14.000000000 +0200 -@@ -2145,8 +2145,6 @@ - REQUIRES org.openide.text (platform) - REQUIRES org.openide.util (platform) - REQUIRES org.openide.windows (platform) --MODULE org.netbeans.modules.tomcat5.bundled/1 (j2ee) -- REQUIRES org.netbeans.modules.tomcat5/1 (j2ee) - MODULE org.netbeans.modules.updatecenters/1 (nb) - REQUIRES org.netbeans.modules.autoupdate/1 (platform) - REQUIRES org.openide.modules.ModuleFormat1 diff --git a/dev-util/netbeans/files/5.5/jdbcstorage-build.xml-comments.patch b/dev-util/netbeans/files/5.5/jdbcstorage-build.xml-comments.patch deleted file mode 100644 index 500173aeb3cc..000000000000 --- a/dev-util/netbeans/files/5.5/jdbcstorage-build.xml-comments.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -ur netbeans-src.old/mdr/extras/jdbcstorage/build.xml netbeans-src/mdr/extras/jdbcstorage/build.xml ---- netbeans-src.old/mdr/extras/jdbcstorage/build.xml 2006-12-06 23:46:13.000000000 +0200 -+++ netbeans-src/mdr/extras/jdbcstorage/build.xml 2006-12-06 23:53:28.000000000 +0200 -@@ -1,20 +1,22 @@ - - -- - diff --git a/dev-util/netbeans/files/5.5/mdr_extras_jdbcstorage_build.xml.patch b/dev-util/netbeans/files/5.5/mdr_extras_jdbcstorage_build.xml.patch deleted file mode 100644 index 29de4607eeba..000000000000 --- a/dev-util/netbeans/files/5.5/mdr_extras_jdbcstorage_build.xml.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- netbeans-src/mdr/extras/jdbcstorage/build.xml 2006-10-05 16:58:43.000000000 +1300 -+++ netbeans-src/mdr/extras/jdbcstorage/build-new.xml 2006-10-05 17:09:48.000000000 +1300 -@@ -1,20 +1,20 @@ - - - - diff --git a/dev-util/netbeans/files/5.5/mdr_extras_mdrant_build.xml.patch b/dev-util/netbeans/files/5.5/mdr_extras_mdrant_build.xml.patch deleted file mode 100644 index 53c2e76ab3bc..000000000000 --- a/dev-util/netbeans/files/5.5/mdr_extras_mdrant_build.xml.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- build.ns-src/mdr/extras/mdrant/build.xml 2006-10-05 17:19:25.000000000 +1300 -+++ netbeans-src/mdr/extras/mdrant/build-new.xml 2006-10-05 17:43:31.000000000 +1300 -@@ -1,20 +1,20 @@ - - - - diff --git a/dev-util/netbeans/files/5.5/mdrant-build.xml-comments.patch b/dev-util/netbeans/files/5.5/mdrant-build.xml-comments.patch deleted file mode 100644 index 36e9ad19aa8a..000000000000 --- a/dev-util/netbeans/files/5.5/mdrant-build.xml-comments.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff -ur netbeans-src.old/mdr/extras/mdrant/build.xml netbeans-src/mdr/extras/mdrant/build.xml ---- netbeans-src.old/mdr/extras/mdrant/build.xml 2006-12-07 00:14:08.000000000 +0200 -+++ netbeans-src/mdr/extras/mdrant/build.xml 2006-12-07 00:18:35.000000000 +0200 -@@ -1,20 +1,21 @@ - - -- - diff --git a/dev-util/netbeans/files/5.5/modules-txt.patch b/dev-util/netbeans/files/5.5/modules-txt.patch deleted file mode 100644 index 198e8155e369..000000000000 --- a/dev-util/netbeans/files/5.5/modules-txt.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- ide/golden/modules.txt 2006-10-03 02:31:07.000000000 +0200 -+++ modules.txt 2006-10-08 22:35:13.000000000 +0200 -@@ -148,7 +148,6 @@ - MODULE org.netbeans.modules.tasklist.core/2 (ide) - MODULE org.netbeans.modules.tasklist.docscan/2 (ide) - MODULE org.netbeans.modules.tomcat5/1 (j2ee) --MODULE org.netbeans.modules.tomcat5.bundled/1 (j2ee) - MODULE org.netbeans.modules.updatecenters/1 (nb) - MODULE org.netbeans.modules.usersguide/1 (ide) - MODULE org.netbeans.modules.utilities/1 (ide) diff --git a/dev-util/netbeans/files/5.5/public-packages-txt.patch b/dev-util/netbeans/files/5.5/public-packages-txt.patch deleted file mode 100644 index b7e68f80ed09..000000000000 --- a/dev-util/netbeans/files/5.5/public-packages-txt.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- ide/golden/public-packages.txt 2006-05-09 04:48:57.000000000 -0400 -+++ netbeans-src/nbbuild/build/generated/public-packages.txt 2006-09-21 01:43:29.000000000 -0400 -@@ -77,6 +77,7 @@ - org.apache.xml.resolver.readers - org.apache.xml.resolver.tools - org.apache.xml.serialize -+org.apache.xmlcommons - org.jdesktop.layout - org.netbeans.api.db.explorer - org.netbeans.api.db.explorer.support -@@ -274,5 +275,14 @@ - org.openide.windows - org.openide.xml - org.openidex.search -+org.w3c.dom -+org.w3c.dom.css -+org.w3c.dom.events - org.w3c.dom.html - org.w3c.dom.ranges -+org.w3c.dom.stylesheets -+org.w3c.dom.traversal -+org.w3c.dom.views -+org.xml.sax -+org.xml.sax.ext -+org.xml.sax.helpers diff --git a/dev-util/netbeans/files/5.5/startscript.sh b/dev-util/netbeans/files/5.5/startscript.sh deleted file mode 100644 index 91d573a7c9d3..000000000000 --- a/dev-util/netbeans/files/5.5/startscript.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -check_symlinks() { - for file in `find ${1} -type l` ; do - - if ! test -e ${file} ; then - echo "Broken symlink:" - echo "${file}" - fi - - done -} - -NBDIR="/usr/share/netbeans-5.5" - -check_symlinks ${NBDIR}/ide7/modules/ext -check_symlinks ${NBDIR}/ide7/modules/autoload/ext -check_symlinks ${NBDIR}/enterprise3/config/TagLibraries/JSTL11 -check_symlinks ${NBDIR}/platform6/modules/ext - -${NBDIR}/bin/netbeans "$@" diff --git a/dev-util/netbeans/files/digest-netbeans-4.0-r2 b/dev-util/netbeans/files/digest-netbeans-4.0-r2 deleted file mode 100644 index 4600c47e6cfb..000000000000 --- a/dev-util/netbeans/files/digest-netbeans-4.0-r2 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 c851459f64b3e8586b616463a1ad75e8 netbeans-4_0-docs-javadoc.tar.bz2 12728428 -RMD160 28ff8af7e3bfdd37c7bf8e51e380147e6ece539a netbeans-4_0-docs-javadoc.tar.bz2 12728428 -SHA256 8de56aafdd7943dde474b2f8e6cd3ac0442f1a7dd64632143b2c93e48cb23256 netbeans-4_0-docs-javadoc.tar.bz2 12728428 -MD5 a5488c563b93b3181cfeccbb67ee761c netbeans-4_0-src-ide_sources.tar.bz2 53877180 -RMD160 7720ef5d53869316437c35d3c54bd50fe2f58143 netbeans-4_0-src-ide_sources.tar.bz2 53877180 -SHA256 3d65584f74a43d4f4e3b41f85b1f719c4867488d91f31116ef3d5746dc4faf14 netbeans-4_0-src-ide_sources.tar.bz2 53877180 diff --git a/dev-util/netbeans/files/digest-netbeans-5.5 b/dev-util/netbeans/files/digest-netbeans-5.5 deleted file mode 100644 index 3851987fb154..000000000000 --- a/dev-util/netbeans/files/digest-netbeans-5.5 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 72c8b1462df3a642285e2b4c9b197e82 netbeans-5.5-files-layout-txt.patch.bz2 2543 -RMD160 7650d3ede210872779164d78c0624468e29da9e8 netbeans-5.5-files-layout-txt.patch.bz2 2543 -SHA256 311b21d53b5f27b9c12d9139157179d908ae3c1a57a6f2adb46cbd1f4ddfc81a netbeans-5.5-files-layout-txt.patch.bz2 2543 -MD5 de16a300f772af6b7d29a9d8ddf5a043 netbeans-5_5-ide_sources.tar.bz2 109745446 -RMD160 075f33dbbc666ee00dc8b25281a43dcf49d84247 netbeans-5_5-ide_sources.tar.bz2 109745446 -SHA256 ee521fa4a4807cc41b567ff6bff6d927a61415a4246fd4e6cc24f511b5827999 netbeans-5_5-ide_sources.tar.bz2 109745446 -MD5 4adaf6574008cc05bc04585bdbcc887e netbeans-5_5-javadoc.tar.bz2 11345846 -RMD160 745641defdb56f0e860e3c46f0275f3b44efe808 netbeans-5_5-javadoc.tar.bz2 11345846 -SHA256 50851849d0121e5ffa36cd5e3b9c366d40f9e2cdce4b58f030bb6716e3438c33 netbeans-5_5-javadoc.tar.bz2 11345846 diff --git a/dev-util/netbeans/files/digest-netbeans-5.5-r1 b/dev-util/netbeans/files/digest-netbeans-5.5-r1 deleted file mode 100644 index 219e4f0d5fa3..000000000000 --- a/dev-util/netbeans/files/digest-netbeans-5.5-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 de16a300f772af6b7d29a9d8ddf5a043 netbeans-5_5-ide_sources.tar.bz2 109745446 -RMD160 075f33dbbc666ee00dc8b25281a43dcf49d84247 netbeans-5_5-ide_sources.tar.bz2 109745446 -SHA256 ee521fa4a4807cc41b567ff6bff6d927a61415a4246fd4e6cc24f511b5827999 netbeans-5_5-ide_sources.tar.bz2 109745446 -MD5 4adaf6574008cc05bc04585bdbcc887e netbeans-5_5-javadoc.tar.bz2 11345846 -RMD160 745641defdb56f0e860e3c46f0275f3b44efe808 netbeans-5_5-javadoc.tar.bz2 11345846 -SHA256 50851849d0121e5ffa36cd5e3b9c366d40f9e2cdce4b58f030bb6716e3438c33 netbeans-5_5-javadoc.tar.bz2 11345846 diff --git a/dev-util/netbeans/netbeans-4.0-r2.ebuild b/dev-util/netbeans/netbeans-4.0-r2.ebuild deleted file mode 100644 index 45c3cd6b78e2..000000000000 --- a/dev-util/netbeans/netbeans-4.0-r2.ebuild +++ /dev/null @@ -1,410 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-4.0-r2.ebuild,v 1.5 2007/01/09 15:40:25 caster Exp $ - -inherit eutils java-pkg - -DESCRIPTION="NetBeans IDE for Java" -HOMEPAGE="http://www.netbeans.org" - -# ant-mis is stuff we never use put instead of pactching we let the build process use this file -# so adding the license just to be sure -# The list of files in here is not complete but just some I listed. -# Apache-1.1: webserver.jar -# Apache-2.0: ant-misc-1.6.2.zip -# as-is: docbook-xsl-1.65.1.zip, pmd-netbeans35-bin-0.91.zip - -# There are many other scrambled files in Netbeans but the -# default module configuration doesn't use all of them. -# -# Check the experimental tree for useful stuff. -# https://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-util/netbeans/files -# -# This command should be run after ebuild unpack in the source root -# 'ebuild netbeans-${PVR}.ebuild compile | grep Unscrambling | grep "\.jar"' -# Check which jars are actually being used to compile Netbeans -# -# This command should be run after ebuild install in the image root -# 'find . -name "*.jar" -type f | less' -# Check the list to see that no packed jars get copied to the image -# -# Remove the unset DISPLAY line from src_compile to get graphical license dialogs and pause before -# unscramble - -MY_PV=${PV/./_} - -BASELOCATION="http://www.netbeans.org/download/${MY_PV}/fcs/200412081800/d5a0f13566068cb86e33a46ea130b207" -MAINTARBALL="netbeans-${MY_PV}-src-ide_sources.tar.bz2" -JAVADOCTARBALL="netbeans-${MY_PV}-docs-javadoc.tar.bz2" - -SRC_URI="${BASELOCATION}/${MAINTARBALL} - doc? ( ${BASELOCATION}/${JAVADOCTARBALL} )" - -LICENSE="Apache-1.1 Apache-2.0 SPL W3C sun-bcla-j2eeeditor sun-bcla-javac sun-javac as-is docbook sun-resolver" -SLOT="4.0" -KEYWORDS="~x86 ~amd64" -IUSE="debug doc" - -# dev-java/xml-commons-resolver for future versions -RDEPEND=">=virtual/jre-1.4.2 - =dev-java/commons-logging-1.0* - dev-java/commons-el - =dev-java/junit-3.8* - =dev-java/servletapi-2.2* - =dev-java/servletapi-2.3* - =dev-java/servletapi-2.4* - >=dev-java/xerces-2.7 - dev-java/sac - dev-java/flute - >=dev-java/jmi-interface-1.0-r1 - >=dev-java/javahelp-bin-2.0.02-r1 - ~www-servers/tomcat-5.0.28 - dev-java/sun-j2ee-deployment-bin - dev-java/xml-commons - dev-java/jakarta-jstl" -DEPEND="${RDEPEND} - >=virtual/jdk-1.4.2 - >=dev-java/ant-1.6.1 - =dev-java/jakarta-regexp-1.3* - =dev-java/xalan-2* - dev-java/jtidy - =dev-java/jaxen-1.1* - dev-java/saxpath - dev-java/javamake-bin - dev-util/pmd - dev-libs/libxslt" - -TOMCATSLOT="5" - -# Replacement JARs for Netbeans -COMMONS_LOGGING="commons-logging commons-logging.jar commons-logging-1.0.4.jar" -JASPERCOMPILER="tomcat-${TOMCATSLOT} jasper-compiler.jar jasper-compiler-5.0.28.jar" -JASPERRUNTIME="tomcat-${TOMCATSLOT} jasper-runtime.jar jasper-runtime-5.0.28.jar" -JH="javahelp-bin jh.jar jh-2.0_01.jar" -JMI="jmi-interface jmi.jar jmi.jar" -JSPAPI="servletapi-2.4 jsp-api.jar jsp-api-2.0.jar" -JSR="sun-j2ee-deployment-bin-1.1 sun-j2ee-deployment-bin.jar jsr88javax.jar" -JSTL="jakarta-jstl jstl.jar jstl-1.1.2.jar" -JUNIT="junit junit.jar junit-3.8.1.jar" -MOF="jmi-interface mof.jar mof.jar" -PMD="pmd pmd.jar pmd-1.3.jar" -REGEXP="jakarta-regexp-1.3 jakarta-regexp.jar regexp-1.2.jar" -SERVLET22="servletapi-2.2 servlet.jar servlet-2.2.jar" -SERVLET23="servletapi-2.3 servlet.jar servlet-2.3.jar" -SERVLET24="servletapi-2.4 servlet-api.jar servlet-api-2.4.jar" -STANDARD="jakarta-jstl standard.jar standard-1.1.2.jar" -XERCES="xerces-2 xercesImpl.jar xerces-2.6.2.jar" -XMLCOMMONS="xml-commons xml-apis.jar xml-commons-dom-ranges-1.0.b2.jar" - -S=${WORKDIR}/netbeans-src -BUILDDESTINATION="${S}/nbbuild/netbeans" -IDE_VERSION="4" -MY_FDIR="${FILESDIR}/4.0" -DESTINATION="${ROOT}usr/share/netbeans-${SLOT}" - -antflags="" - -set_env() { - - antflags="" - - if use debug; then - antflags="${antflags} -Dbuild.compiler.debug=true" - antflags="${antflags} -Dbuild.compiler.deprecation=true" - else - antflags="${antflags} -Dbuild.compiler.deprecation=false" - fi - - antflags="${antflags} -Dnetbeans.no.pre.unscramble=true" - antflags="${antflags} -Dstop.when.broken.modules=true" - - # The build will attempt to display graphical - # dialogs for the licence agreements if this is set. - unset DISPLAY - - # -Xmx1g: Increase Java maximum heap size, otherwise ant will die with - # an OutOfMemoryError while building. - # -Djava.awt.headless=true: Sun JDK doesnt like that very much, so - # lets pleasure them too ;-) - # - # We use the ANT_OPTS environment variable because other ways seem to - # fail. - # - export ANT_OPTS="${ANT_OPTS} -Xmx1g -Djava.awt.headless=true" - -} - -src_unpack () { - unpack ${MAINTARBALL} - - if use doc; then - mkdir javadoc && cd javadoc - unpack ${JAVADOCTARBALL} || die "Unable to extract javadoc" - rm -f *.zip - fi - - cd ${S}/nbbuild - # Disable the bundled Tomcat in favor of Portage installed version - sed -i -e "s%tomcatint/tomcat5/bundled,%%g" *.properties - - einfo "Symlinking packed jars to system jars" - - set_env - - cd ${S}/ant/external/ - touch ant-api-1.6.2.zip - touch ant-docs-1.6.2.zip - unscramble_and_empty - - # We have ant libs here so using the system libs - cd lib - rm -fr *.jar - java-pkg_jar-from ant-tasks - java-pkg_jar-from ant-core - - cd ${S}/core/external - unscramble_and_empty - java-pkg_jar-from ${JH} - - cd ${S}/mdr/external/ - unscramble_and_empty - java-pkg_jar-from ${JMI} - java-pkg_jar-from ${MOF} - - cd ${S}/nbbuild/external - unscramble_and_empty - java-pkg_jar-from javahelp-bin jhall.jar jhall-2.0_01.jar - - cd ${S}/libs/external/ - unscramble_and_empty - java-pkg_jar-from ${XERCES} - java-pkg_jar-from ${COMMONS_LOGGING} - java-pkg_jar-from xalan xalan.jar xalan-2.5.2.jar - java-pkg_jar-from ${XMLCOMMONS} - java-pkg_jar-from ${PMD} - java-pkg_jar-from ${REGEXP} - # j2eeeditor-1.0.jar is only used in Netbeans but licensed under - # Sun's bcla + supplemental terms - - cd ${S}/xml/external/ - unscramble_and_empty - java-pkg_jar-from sac - java-pkg_jar-from xerces-2 xercesImpl.jar xerces2.jar - java-pkg_jar-from flute - # There's also resolver-1_1_nb.jar in this directory. - # The implementation is from Sun and I haven't found it. - # In later Netbeans versions xml-commons is used so we will use it - # then. - - cd ${S}/httpserver/external/ - unscramble_and_empty - java-pkg_jar-from ${SERVLET22} - # The webserver.jar in here is a stripped down version of Tomcat 3.3. - # We will use the included jar because we don't want to have Tomcat 3.X - # in the tree and because maintaining it would probably be a pain. - - cd ${S}/j2eeserver/external - unscramble_and_empty - java-pkg_jar-from ${JSR} - - cd ${S}/java/external/ - unscramble_and_empty - java-pkg_jar-from javamake-bin javamake.jar javamake-1.2.12.jar - # gjast.jar is a mix of Netbeans stuff with sun javac stuff - # It is not available elsewhere. - - cd ${S}/junit/external/ - touch junit-3.8.1-api.zip - unscramble_and_empty - java-pkg_jar-from ${JUNIT} - - cd ${S}/tasklist/external/ - unscramble_and_empty - java-pkg_jar-from jtidy Tidy.jar Tidy-r7.jar - - cd ${S}/web/external - touch jsp20-docs.zip - touch jstl-1.1.2-javadoc.zip - touch servlet24-docs.zip - unscramble_and_empty - java-pkg_jar-from ${SERVLET23} - java-pkg_jar-from ${SERVLET24} - java-pkg_jar-from commons-el - java-pkg_jar-from jaxen-1.1 jaxen.jar jaxen-full.jar - java-pkg_jar-from saxpath - java-pkg_jar-from ${JASPERCOMPILER} - java-pkg_jar-from ${JASPERRUNTIME} - java-pkg_jar-from ${JSPAPI} - java-pkg_jar-from ${JSTL} - java-pkg_jar-from ${STANDARD} - -} - -src_compile() { - - set_env - - # The location of the main build.xml file - cd ${S}/nbbuild - - # Specify the build-nozip target otherwise it will build - # a zip file of the netbeans folder, which will copy directly. - yes yes 2>/dev/null | ant ${antflags} build-nozip || die "Compiling failed!" - - # Remove non-x86 Linux binaries - find ${BUILDDESTINATION} -type f \ - -name "*.exe" -o \ - -name "*.cmd" -o \ - -name "*.bat" -o \ - -name "*.dll" \ - | xargs rm -f - - # Removing external stuff. They are api docs from external libs. - cd ${BUILDDESTINATION}/ide${IDE_VERSION}/docs - rm -f *.zip - - # The next directory seems to be empty - if ! rmdir doc 2> /dev/null; then - use doc || rm -fr ./doc - fi - - # Use the system ant - cd ${BUILDDESTINATION}/ide${IDE_VERSION}/ant - - rm -fr ./lib - rm -fr ./bin -} - -src_install() { - insinto $DESTINATION - - einfo "Installing the program..." - cd ${BUILDDESTINATION} - doins -r * - - symlink_extjars ${D}/${DESTINATION} - - fperms 755 \ - ${DESTINATION}/bin/netbeans \ - ${DESTINATION}/platform${IDE_VERSION}/lib/nbexec - - # The wrapper wrapper :) - newbin ${MY_FDIR}/startscript.sh netbeans-${SLOT} - - # Ant installation - local ANTDIR="${DESTINATION}/ide${IDE_VERSION}/ant" - cd ${D}/${ANTDIR} - - dodir /usr/share/ant-core/lib - dosym /usr/share/ant-core/lib ${ANTDIR}/lib - - dodir /usr/share/ant-core/bin - dosym /usr/share/ant-core/bin ${ANTDIR}/bin - - # Documentation - einfo "Installing Documentation..." - - cd ${D}/${DESTINATION} - - use doc && java-pkg_dohtml -r ${WORKDIR}/javadoc/* - - dodoc build_info - dohtml CREDITS.html README.html netbeans.css - - rm -f build_info CREDITS.html README.html netbeans.css - - # Icons and shortcuts - einfo "Installing icons..." - - dodir ${DESTINATION}/icons - insinto ${DESTINATION}/icons - doins ${S}/core/ide/release/bin/icons/*png - - for res in "16x16" "24x24" "32x32" "48x48" "128x128" ; do - dodir /usr/share/icons/hicolor/${res}/apps - dosym ${DESTINATION}/icons/nb${res}.png /usr/share/icons/hicolor/${res}/apps/netbeans.png - done - - make_desktop_entry netbeans-${SLOT} "Netbeans ${SLOT}" netbeans Development -} - -pkg_postinst () { - elog "Your tomcat directory might not have the right permissions." - elog "Please make sure that normal users can read the directory: " - elog "${ROOT}usr/share/tomcat-${TOMCATSLOT} " - elog " " - elog "The integrated Tomcat is not installed, but you can easily " - elog "use the system Tomcat. See Netbeans documentation if you " - elog "don't know how to do that. The relevant settings are in the" - elog "runtime window. " -} - -pkg_postrm() { -# einfo "Removing symlinks to jars from" -# einfo "${DESTINATION}" -# find ${DESTINATION} -type l | xargs rm -fr - - if ! test -e /usr/bin/netbeans-${SLOT}; then - elog "Because of the way Portage works at the moment" - elog "symlinks to the system jars are left to:" - elog "${DESTINATION}" - elog "If you are uninstalling Netbeans you can safely" - elog "remove everything in this directory" - fi -} - -# Supporting functions for this ebuild - -function fix_manifest() { - sed -i "s%ext/${1}%$(java-pkg_getjar ${2} ${3})%" ${4} -} - -function symlink_extjars() { - einfo "Added symlinks to system jars inside" - einfo "${DESTINATION}" - - cd ${1}/ide${IDE_VERSION}/modules/ext - java-pkg_jar-from ${COMMONS_LOGGING} - java-pkg_jar-from flute - java-pkg_jar-from sac - java-pkg_jar-from ${JMI} - java-pkg_jar-from ${MOF} - java-pkg_jar-from ${JUNIT} - - cd ${1}/ide${IDE_VERSION}/modules/autoload/ext - java-pkg_jar-from commons-el - java-pkg_jar-from ${SERVLET22} - java-pkg_jar-from ${SERVLET23} - java-pkg_jar-from ${SERVLET24} - java-pkg_jar-from ${XERCES} - java-pkg_jar-from ${JSR} - java-pkg_jar-from ${JASPERCOMPILER} - java-pkg_jar-from ${JASPERRUNTIME} - java-pkg_jar-from ${XMLCOMMONS} - java-pkg_jar-from ${JSPAPI} - - cd ${1}/ide4/config/TagLibraries/JSTL11 - java-pkg_jar-from jakarta-jstl jstl.jar - java-pkg_jar-from jakarta-jstl standard.jar - - cd ${1}/platform${IDE_VERSION}/modules/ext - java-pkg_jar-from ${JH} -} - -function unscramble_and_empty() { - echo $(pwd) - yes yes 2> /dev/null | ant ${antflags} unscramble > /dev/null || die "Failed to unscramble" - remove_unscrambling -} - -function remove_unscrambling() { - local file=${1} - - [ -z ${file} ] && file="build.xml" - - xsltproc -o ${T}/out.xml ${FILESDIR}/emptyunscramble.xsl ${file} \ - || die "Failed to remove unscrambling from one of the build.xml files" - - mv ${T}/out.xml ${file} \ - || die "Failed to create a build.xml file without unscrambling" -} diff --git a/dev-util/netbeans/netbeans-5.5-r1.ebuild b/dev-util/netbeans/netbeans-5.5-r1.ebuild deleted file mode 100644 index 35bfc9030adb..000000000000 --- a/dev-util/netbeans/netbeans-5.5-r1.ebuild +++ /dev/null @@ -1,426 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-5.5-r1.ebuild,v 1.8 2007/01/16 12:22:02 caster Exp $ - -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="NetBeans IDE for Java" -HOMEPAGE="http://www.netbeans.org" - -# ant-mis is stuff we never use put instead of pactching we let the build process use this file -# so adding the license just to be sure -# The list of files in here is not complete but just some I listed. -# Apache-1.1: webserver.jar -# Apache-2.0: ant-misc-1.6.2.zip -# as-is: docbook-xsl-1.65.1.zip, pmd-netbeans35-bin-0.91.zip - -# There are many other scrambled files in Netbeans but the -# default module configuration doesn't use all of them. -# -# Check the experimental tree for useful stuff. -# https://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-util/netbeans/files -# -# This command should be run after ebuild unpack in the source root -# 'ebuild netbeans-${PVR}.ebuild compile | grep Unscrambling | grep "\.jar"' -# Check which jars are actually being used to compile Netbeans -# -# This command should be run after ebuild install in the image root -# 'find . -name "*.jar" -type f | less' -# Check the list to see that no packed jars get copied to the image -# To list the contents -# ( for zip in $(find -name "*.jar" -type f); do unzip -l $zip; done ) | less -# -# Remove the unset DISPLAY line from src_compile to get graphical license dialogs and pause before -# unscramble - -MY_PV=${PV/_/-} -MY_PV=${MY_PV/./_} - -BASELOCATION="http://us1.mirror.netbeans.org/download/${MY_PV/-//}/fcs/200610171010" -MAINTARBALL="netbeans-${MY_PV}-ide_sources.tar.bz2" -JAVADOCTARBALL="netbeans-${MY_PV}-javadoc.tar.bz2" - -SRC_URI="${BASELOCATION}/${MAINTARBALL} - doc? ( ${BASELOCATION}/${JAVADOCTARBALL} )" - -LICENSE="Apache-1.1 Apache-2.0 SPL W3C sun-bcla-j2eeeditor sun-bcla-javac sun-javac as-is docbook sun-resolver" -SLOT="5.5" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -IUSE="debug doc" - -RDEPEND=">=virtual/jre-1.5 - dev-java/antlr - dev-java/commons-el - =dev-java/commons-beanutils-1.6* - =dev-java/commons-beanutils-1.7* - dev-java/commons-beanutils - dev-java/commons-digester - >=dev-java/commons-fileupload-1.1 - >=dev-java/commons-io-1.2 - >=dev-java/commons-logging-1.1 - dev-java/commons-validator - =dev-java/gnu-jaf-1* - dev-java/jakarta-jstl - dev-java/jakarta-oro - >=dev-java/javahelp-bin-2.0.02-r1 - dev-java/jgoodies-forms - >=dev-java/jmi-interface-1.0-r3 - >=dev-java/jsch-0.1.24 - =dev-java/junit-3.8* - dev-java/flute - dev-java/sac - =dev-java/servletapi-2.2* - =dev-java/servletapi-2.3* - =dev-java/servletapi-2.4* - =dev-java/struts-1.2* - dev-java/sun-j2ee-deployment-bin - dev-java/sun-javamail - dev-java/sun-jmx - >=dev-java/xerces-2.8.0 - =dev-java/swing-layout-1* - dev-java/xml-commons - =www-servers/tomcat-5.5* - " -DEPEND="${RDEPEND} - >=virtual/jdk-1.5 - >=dev-java/ant-1.6.2 - dev-util/pmd - dev-libs/libxslt - =dev-java/xalan-2* -" - -TOMCATSLOT="5.5" - -# Replacement JARs for Netbeans used more than once -COMMONS_LOGGING="commons-logging commons-logging.jar commons-logging-1.0.4.jar" -JAVAHELP_VERSION="2.0_03" -JH="javahelp-bin jh.jar jh-${JAVAHELP_VERSION}.jar" -JHALL="javahelp-bin jhall.jar jhall-${JAVAHELP_VERSION}.jar" -JMI="jmi-interface jmi.jar jmi.jar" -JSCH="jsch jsch.jar jsch-0.1.24.jar" -JSPAPI="servletapi-2.4 jsp-api.jar jsp-api-2.0.jar" -JSR="sun-j2ee-deployment-bin-1.1 sun-j2ee-deployment-bin.jar jsr88javax.jar" -JSTL="jakarta-jstl jstl.jar jstl-1.1.2.jar" -JUNIT="junit junit.jar junit-3.8.1.jar" -MOF="jmi-interface mof.jar mof.jar" -SERVLET22="servletapi-2.2 servlet.jar servlet-2.2.jar" -SERVLET23="servletapi-2.3 servlet.jar servlet-2.3.jar" -SERVLET24="servletapi-2.4 servlet-api.jar servlet-api-2.4.jar" -XERCES="xerces-2 xercesImpl.jar xerces-2.8.0.jar" -XMLCOMMONS="xml-commons xml-apis.jar xml-commons-dom-ranges-1.0.b2.jar" -SWINGLAYOUT="swing-layout-1 swing-layout.jar swing-layout-1.0.jar" - -S=${WORKDIR}/netbeans-src -BUILDDESTINATION="${S}/nbbuild/netbeans" -ENTERPRISE="3" -IDE_VERSION="7" -PLATFORM="6" -MY_FDIR="${FILESDIR}/${SLOT}" -DESTINATION="${ROOT}usr/share/netbeans-${SLOT}" -JAVA_PKG_BSFIX="off" - -antflags="" - -set_env() { - - antflags="" - - if use debug; then - antflags="${antflags} -Dbuild.compiler.debug=true" - antflags="${antflags} -Dbuild.compiler.deprecation=true" - else - antflags="${antflags} -Dbuild.compiler.deprecation=false" - fi - - antflags="${antflags} -Dstop.when.broken.modules=true" - - # The build will attempt to display graphical - # dialogs for the licence agreements if this is set. - unset DISPLAY - - # -Xmx1g: Increase Java maximum heap size, otherwise ant will die with - # an OutOfMemoryError while building. - # -Djava.awt.headless=true: Sun JDK doesnt like that very much, so - # lets pleasure them too ;-) - # - # We use the ANT_OPTS environment variable because other ways seem to - # fail. - # - export ANT_OPTS="${ANT_OPTS} -Xmx1g -Djava.awt.headless=true" - -} - -src_unpack () { - unpack ${MAINTARBALL} - - epatch "${MY_FDIR}/jdbcstorage-build.xml-comments.patch" - epatch "${MY_FDIR}/mdrant-build.xml-comments.patch" - - if use doc; then - mkdir javadoc && cd javadoc - unpack ${JAVADOCTARBALL} || die "Unable to extract javadoc" - rm -f *.zip - fi - - cd ${S}/nbbuild - # Disable the bundled Tomcat in favor of Portage installed version - sed -i -e "s%tomcatint/tomcat5/bundled,%%g" *.properties - - set_env - place_symlinks -} - -src_compile() { - - set_env - - # The location of the main build.xml file - cd ${S}/nbbuild - - # Fails to compile - java-pkg_filter-compiler ecj-3.1 ecj-3.2 - - # Specify the build-nozip target otherwise it will build - # a zip file of the netbeans folder, which will copy directly. - eant ${antflags} build-nozip - - # Remove non-x86 Linux binaries - find ${BUILDDESTINATION} -type f \ - -name "*.exe" -o \ - -name "*.cmd" -o \ - -name "*.bat" -o \ - -name "*.dll" \ - | xargs rm -f - - # Removing external stuff. They are api docs from external libs. - cd ${BUILDDESTINATION}/ide${IDE_VERSION}/docs - rm -f *.zip - - # The next directory seems to be empty - if ! rmdir doc 2> /dev/null; then - use doc || rm -fr ./doc - fi - - # Use the system ant - cd ${BUILDDESTINATION}/ide${IDE_VERSION}/ant - - rm -fr ./lib - rm -fr ./bin - - # Set a initial default jdk - echo "netbeans_jdkhome=\"\$(java-config -O)\"" >> ${BUILDDESTINATION}/etc/netbeans.conf -} - -src_install() { - insinto $DESTINATION - - einfo "Installing the program..." - cd ${BUILDDESTINATION} - doins -r * - - symlink_extjars ${D}/${DESTINATION} - - fperms 755 \ - ${DESTINATION}/bin/netbeans \ - ${DESTINATION}/platform${PLATFORM}/lib/nbexec - - # The wrapper wrapper :) - newbin ${MY_FDIR}/startscript.sh netbeans-${SLOT} - - # Ant installation - local ANTDIR="${DESTINATION}/ide${IDE_VERSION}/ant" - cd ${D}/${ANTDIR} - - dodir /usr/share/ant-core/lib - dosym /usr/share/ant-core/lib ${ANTDIR}/lib - - dodir /usr/share/ant-core/bin - dosym /usr/share/ant-core/bin ${ANTDIR}/bin - - # Documentation - einfo "Installing Documentation..." - - cd ${D}/${DESTINATION} - - use doc && java-pkg_dohtml -r ${WORKDIR}/javadoc/* - - dodoc build_info - dohtml CREDITS.html README.html netbeans.css - - rm -f build_info CREDITS.html README.html netbeans.css - - # Icons and shortcuts - einfo "Installing icons..." - - dodir ${DESTINATION}/icons - insinto ${DESTINATION}/icons - doins ${S}/ide/branding/release/*png - - for res in "16x16" "24x24" "32x32" "48x48" "128x128" ; do - dodir /usr/share/icons/hicolor/${res}/apps - dosym ${DESTINATION}/icons/netbeans.png /usr/share/icons/hicolor/${res}/apps/netbeans.png - done - - make_desktop_entry netbeans-${SLOT} "Netbeans ${SLOT}" netbeans Development -} - -pkg_postinst () { - elog "The integrated Tomcat is not installed, but you can easily " - elog "use the system Tomcat. See Netbeans documentation if you " - elog "don't know how to do that. The relevant settings are in the" - elog "runtime window. " - elog - elog "If you are using some packages on top of Netbeans, you have" - elog "to re-emerge them now. " -} - -pkg_postrm() { -# einfo "Removing symlinks to jars from" -# einfo "${DESTINATION}" -# find ${DESTINATION} -type l | xargs rm -fr - - if ! test -e /usr/bin/netbeans-${SLOT}; then - elog "Because of the way Portage works at the moment" - elog "symlinks to the system jars are left to:" - elog "${DESTINATION}" - elog "If you are uninstalling Netbeans you can safely" - elog "remove everything in this directory" - fi -} - -# Supporting functions for this ebuild - -function fix_manifest() { - sed -i "s%ext/${1}%$(java-pkg_getjar ${2} ${3})%" ${4} -} - -function place_symlinks() { - einfo "Symlinking scrambled jars to system jars" - - cd ${S}/apisupport/external - java-pkg_jar-from javahelp-bin jsearch.jar jsearch-${JAVAHELP_VERSION}.jar - - cd ${S}/mdr/external/ - hide jmi.jar mof.jar || die - java-pkg_jar-from ${JMI} || die - java-pkg_jar-from ${MOF} || die - - cd ${S}/nbbuild/external - hide jhall*.jar || die - java-pkg_jar-from ${JHALL} || die - - cd ${S}/libs/external/ - hide xerces*.jar commons-logging*.jar xml-commons*.jar pmd*.jar || die - java-pkg_jar-from ${XERCES} || die - java-pkg_jar-from ${COMMONS_LOGGING} || die - java-pkg_jar-from ${XMLCOMMONS} || die - java-pkg_jar-from pmd pmd.jar pmd-1.3.jar || die - java-pkg_jar-from ${SWINGLAYOUT} || die - java-pkg_jar-from ${JSCH} || die - java-pkg_jar-from jgoodies-forms forms.jar forms-1.0.5.jar || die - - cd ${S}/httpserver/external/ - hide servlet*.jar || die - java-pkg_jar-from ${SERVLET22} || die - - cd ${S}/j2eeserver/external - hide jsr*.jar || die - java-pkg_jar-from ${JSR} || die - - cd ${S}/junit/external/ - hide junit*.jar || die - java-pkg_jar-from ${JUNIT} || die - - cd ${S}/web/external - hide servlet-*.jar jstl*.jar standard*.jar commons-el*.jar || die - java-pkg_jar-from ${SERVLET23} || die - java-pkg_jar-from ${SERVLET24} || die - java-pkg_jar-from ${JSPAPI} || die - java-pkg_jar-from ${JSTL} || die - java-pkg_jar-from jakarta-jstl standard.jar standard-1.1.2.jar || die - java-pkg_jar-from commons-el || die - - cd ${S}/xml/external/ - hide flute*.jar sac*.jar || die - java-pkg_jar-from sac || die - java-pkg_jar-from flute || die -} - -function symlink_extjars() { - einfo "Added symlinks to system jars inside" - einfo "${DESTINATION}" - - cd ${1}/enterprise${ENTERPRISE}/modules/ext - java-pkg_jar-from ${JSR} - java-pkg_jar-from jakarta-jstl jstl.jar - java-pkg_jar-from jakarta-jstl standard.jar - - cd ${1}/enterprise${ENTERPRISE}/modules/ext/blueprints/ - java-pkg_jar-from commons-fileupload commons-fileupload.jar commons-fileupload-1.1.1.jar - java-pkg_jar-from commons-io-1 commons-io.jar commons-io-1.2.jar - java-pkg_jar-from commons-logging commons-logging.jar commons-logging-1.1.jar - - cd ${1}/enterprise${ENTERPRISE}/modules/ext/jsf - java-pkg_jar-from commons-beanutils-1.6 commons-beanutils.jar - java-pkg_jar-from commons-collections commons-collections.jar - java-pkg_jar-from commons-digester commons-digester.jar - java-pkg_jar-from commons-logging commons-logging.jar - #java-pkg_jar-from ? jsf-api.jar - #java-pkg_jar-from ? jsf-impl.jar - - cd ${1}/enterprise${ENTERPRISE}/modules/ext/struts - java-pkg_jar-from antlr antlr.jar - java-pkg_jar-from commons-beanutils-1.7 commons-beanutils.jar - java-pkg_jar-from commons-digester commons-digester.jar - java-pkg_jar-from commons-fileupload commons-fileupload.jar - java-pkg_jar-from commons-logging commons-logging.jar - java-pkg_jar-from commons-validator commons-validator.jar - java-pkg_jar-from jakarta-oro-2.0 jakarta-oro.jar - java-pkg_jar-from struts-1.2 struts.jar - - cd ${1}/ide${IDE_VERSION}/modules/ext - java-pkg_jar-from ${COMMONS_LOGGING} - java-pkg_jar-from flute - java-pkg_jar-from sac - java-pkg_jar-from ${JMI} - java-pkg_jar-from ${JSCH} - java-pkg_jar-from ${MOF} - java-pkg_jar-from ${JUNIT} - java-pkg_jar-from ${SERVLET22} - java-pkg_jar-from ${XERCES} - java-pkg_jar-from ${XMLCOMMONS} - - cd "${1}/ide${IDE_VERSION}/modules/ext/jaxrpc16/" - java-pkg_jar-from gnu-jaf-1 activation.jar activation.jar - java-pkg_jar-from sun-javamail mail.jar - - cd "${1}/ide${IDE_VERSION}/modules/ext/jaxws20/" - java-pkg_jar-from gnu-jaf-1 activation.jar activation.jar - -# Commented out JHALL till 2.0_03 is released - cd ${1}/platform${PLATFORM}/modules/ext - java-pkg_jar-from ${SWINGLAYOUT} -# java-pkg_jar-from ${JHALL} -} - -function hide() { - for x in $@ ; do - mv $x _$x - done -} - -function unscramble_and_empty() { - echo $(pwd) - yes yes 2> /dev/null | ant ${antflags} unscramble > /dev/null || die "Failed to unscramble" - remove_unscrambling -} - -function remove_unscrambling() { - local file=${1} - - [ -z ${file} ] && file="build.xml" - - xsltproc -o ${T}/out.xml ${FILESDIR}/emptyunscramble.xsl ${file} \ - || die "Failed to remove unscrambling from one of the build.xml files" - mv ${T}/out.xml ${file} -} diff --git a/dev-util/netbeans/netbeans-5.5.ebuild b/dev-util/netbeans/netbeans-5.5.ebuild deleted file mode 100644 index 216610f4043e..000000000000 --- a/dev-util/netbeans/netbeans-5.5.ebuild +++ /dev/null @@ -1,409 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-5.5.ebuild,v 1.3 2007/01/16 12:22:02 caster Exp $ - -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="NetBeans IDE for Java" -HOMEPAGE="http://www.netbeans.org" - -# ant-mis is stuff we never use put instead of pactching we let the build process use this file -# so adding the license just to be sure -# The list of files in here is not complete but just some I listed. -# Apache-1.1: webserver.jar -# Apache-2.0: ant-misc-1.6.2.zip -# as-is: docbook-xsl-1.65.1.zip, pmd-netbeans35-bin-0.91.zip - -# There are many other scrambled files in Netbeans but the -# default module configuration doesn't use all of them. -# -# Check the experimental tree for useful stuff. -# https://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-util/netbeans/files -# -# This command should be run after ebuild unpack in the source root -# 'ebuild netbeans-${PVR}.ebuild compile | grep Unscrambling | grep "\.jar"' -# Check which jars are actually being used to compile Netbeans -# -# This command should be run after ebuild install in the image root -# 'find . -name "*.jar" -type f | less' -# Check the list to see that no packed jars get copied to the image -# -# Remove the unset DISPLAY line from src_compile to get graphical license dialogs and pause before -# unscramble - -MY_PV=${PV/_/-} -MY_PV=${MY_PV/./_} - -BASELOCATION="http://us1.mirror.netbeans.org/download/${MY_PV/-//}/fcs/200610171010" -MAINTARBALL="netbeans-${MY_PV}-ide_sources.tar.bz2" -JAVADOCTARBALL="netbeans-${MY_PV}-javadoc.tar.bz2" -FILELAYOUTPATCH="netbeans-5.5-files-layout-txt.patch.bz2" - -SRC_URI="${BASELOCATION}/${MAINTARBALL} - mirror://gentoo/${FILELAYOUTPATCH} - doc? ( ${BASELOCATION}/${JAVADOCTARBALL} )" - -#LICENSE="Apache-1.1 Apache-2.0 SPL W3C sun-bcla-j2eeeditor sun-bcla-javac sun-javac as-is docbook sun-resolver" -LICENSE="CDDL" -SLOT="5.5" -KEYWORDS="~amd64 ~x86" -IUSE="debug doc" - -# dev-java/xml-commons-resolver for future versions -# dev-java/saxpath -# =dev-java/jakarta-regexp-1.3* -# dev-java/javamake-bin -# =dev-java/jaxen-1.1* -# dev-java/jtidy - -# NB 5.5 requires javahelp 2.0_03 not yet released :( -RDEPEND="=virtual/jre-1.5* - >=dev-java/commons-logging-1.0 - dev-java/commons-el - dev-java/sun-jmx - =dev-java/junit-3.8* - =dev-java/servletapi-2.2* - =dev-java/servletapi-2.3* - =dev-java/servletapi-2.4* - dev-java/sac - dev-java/flute - >=dev-java/jmi-interface-1.0-r3 - >=dev-java/javahelp-bin-2.0.02-r1 - =www-servers/tomcat-5.5* - dev-java/sun-j2ee-deployment-bin - dev-java/xml-commons - dev-java/jakarta-jstl - >=dev-java/xerces-2.8.0 - =dev-java/swing-layout-1* - " -DEPEND="${RDEPEND} - =virtual/jdk-1.5* - >=dev-java/ant-1.6.2 - dev-util/pmd - dev-libs/libxslt - =dev-java/xalan-2* -" - -TOMCATSLOT="5.5" - -# Replacement JARs for Netbeans -COMMONS_LOGGING="commons-logging commons-logging.jar commons-logging-1.0.4.jar" -#JASPERCOMPILER="tomcat-${TOMCATSLOT} jasper-compiler.jar jasper-compiler-5.5.9.jar" -#JASPERRUNTIME="tomcat-${TOMCATSLOT} jasper-runtime.jar jasper-runtime-5.5.9.jar" -JH="javahelp-bin jh.jar jh-2.0_02.jar" -JHALL="javahelp-bin jhall.jar jhall-2.0_02.jar" -JMI="jmi-interface jmi.jar jmi.jar" -JSPAPI="servletapi-2.4 jsp-api.jar jsp-api-2.0.jar" -JSR="sun-j2ee-deployment-bin-1.1 sun-j2ee-deployment-bin.jar jsr88javax.jar" -JSTL="jakarta-jstl jstl.jar jstl-1.1.2.jar" -JUNIT="junit junit.jar junit-3.8.1.jar" -MOF="jmi-interface mof.jar mof.jar" -PMD="pmd pmd.jar pmd-1.3.jar" -SERVLET22="servletapi-2.2 servlet.jar servlet-2.2.jar" -SERVLET23="servletapi-2.3 servlet.jar servlet-2.3.jar" -SERVLET24="servletapi-2.4 servlet-api.jar servlet-api-2.4.jar" -STANDARD="jakarta-jstl standard.jar standard-1.1.2.jar" -XERCES="xerces-2 xercesImpl.jar xerces-2.8.0.jar" -XMLCOMMONS="xml-commons xml-apis.jar xml-commons-dom-ranges-1.0.b2.jar" -SWINGLAYOUT="swing-layout-1 swing-layout.jar swing-layout-1.0.jar" -#REGEXP="jakarta-regexp-1.3 jakarta-regexp.jar regexp-1.2.jar" - -S=${WORKDIR}/netbeans-src -BUILDDESTINATION="${S}/nbbuild/netbeans" -ENTERPRISE="3" -IDE_VERSION="7" -PLATFORM="6" -MY_FDIR="${FILESDIR}/${SLOT}" -DESTINATION="${ROOT}usr/share/netbeans-${SLOT}" - -antflags="" - -set_env() { - - antflags="" - - if use debug; then - antflags="${antflags} -Dbuild.compiler.debug=true" - antflags="${antflags} -Dbuild.compiler.deprecation=true" - else - antflags="${antflags} -Dbuild.compiler.deprecation=false" - fi - - antflags="${antflags} -Dstop.when.broken.modules=true" - - # The build will attempt to display graphical - # dialogs for the licence agreements if this is set. - unset DISPLAY - - # -Xmx1g: Increase Java maximum heap size, otherwise ant will die with - # an OutOfMemoryError while building. - # -Djava.awt.headless=true: Sun JDK doesnt like that very much, so - # lets pleasure them too ;-) - # - # We use the ANT_OPTS environment variable because other ways seem to - # fail. - # - export ANT_OPTS="${ANT_OPTS} -Xmx1g -Djava.awt.headless=true" - -} - -src_unpack () { - unpack ${MAINTARBALL} - - if use doc; then - mkdir javadoc && cd javadoc - unpack ${JAVADOCTARBALL} || die "Unable to extract javadoc" - rm -f *.zip - fi - - cd ${S} - unpack ${FILELAYOUTPATCH} - - epatch netbeans-5.5-files-layout-txt.patch - epatch ${FILESDIR}/${SLOT}/modules-txt.patch - epatch ${FILESDIR}/${SLOT}/deps-txt.patch - epatch ${FILESDIR}/${SLOT}/public-packages-txt.patch - epatch ${FILESDIR}/${SLOT}/mdr_extras_jdbcstorage_build.xml.patch - epatch ${FILESDIR}/${SLOT}/mdr_extras_mdrant_build.xml.patch - - cd ${S}/nbbuild - # Disable the bundled Tomcat in favor of Portage installed version - sed -i -e "s%tomcatint/tomcat5/bundled,%%g" *.properties - - set_env - place_symlinks -} - -src_compile() { - - set_env - - # The location of the main build.xml file - cd ${S}/nbbuild - - # Specify the build-nozip target otherwise it will build - # a zip file of the netbeans folder, which will copy directly. - eant ${antflags} - - # Remove non-x86 Linux binaries - find ${BUILDDESTINATION} -type f \ - -name "*.exe" -o \ - -name "*.cmd" -o \ - -name "*.bat" -o \ - -name "*.dll" \ - | xargs rm -f - - # Removing external stuff. They are api docs from external libs. - cd ${BUILDDESTINATION}/ide${IDE_VERSION}/docs - rm -f *.zip - - # The next directory seems to be empty - if ! rmdir doc 2> /dev/null; then - use doc || rm -fr ./doc - fi - - # Use the system ant - cd ${BUILDDESTINATION}/ide${IDE_VERSION}/ant - - rm -fr ./lib - rm -fr ./bin - - # Set a initial default jdk - echo "netbeans_jdkhome=\"\$(java-config -O)\"" >> ${BUILDDESTINATION}/etc/netbeans.conf -} - -src_install() { - insinto $DESTINATION - - einfo "Installing the program..." - cd ${BUILDDESTINATION} - doins -r * - - symlink_extjars ${D}/${DESTINATION} - - fperms 755 \ - ${DESTINATION}/bin/netbeans \ - ${DESTINATION}/platform${PLATFORM}/lib/nbexec - - # The wrapper wrapper :) - newbin ${MY_FDIR}/startscript.sh netbeans-${SLOT} - - # Ant installation - local ANTDIR="${DESTINATION}/ide${IDE_VERSION}/ant" - cd ${D}/${ANTDIR} - - dodir /usr/share/ant-core/lib - dosym /usr/share/ant-core/lib ${ANTDIR}/lib - - dodir /usr/share/ant-core/bin - dosym /usr/share/ant-core/bin ${ANTDIR}/bin - - # Documentation - einfo "Installing Documentation..." - - cd ${D}/${DESTINATION} - - use doc && java-pkg_dohtml -r ${WORKDIR}/javadoc/* - - dodoc build_info - dohtml CREDITS.html README.html netbeans.css - - rm -f build_info CREDITS.html README.html netbeans.css - - # Icons and shortcuts - einfo "Installing icons..." - - dodir ${DESTINATION}/icons - insinto ${DESTINATION}/icons - doins ${S}/ide/branding/release/*png - - for res in "16x16" "24x24" "32x32" "48x48" "128x128" ; do - dodir /usr/share/icons/hicolor/${res}/apps - dosym ${DESTINATION}/icons/netbeans.png /usr/share/icons/hicolor/${res}/apps/netbeans.png - done - - make_desktop_entry netbeans-${SLOT} "Netbeans ${SLOT}" netbeans Development -} - -pkg_postinst () { - elog "Your tomcat directory might not have the right permissions." - elog "Please make sure that normal users can read the directory: " - elog "${ROOT}usr/share/tomcat-${TOMCATSLOT} " - elog " " - elog "The integrated Tomcat is not installed, but you can easily " - elog "use the system Tomcat. See Netbeans documentation if you " - elog "don't know how to do that. The relevant settings are in the" - elog "runtime window. " -} - -pkg_postrm() { -# einfo "Removing symlinks to jars from" -# einfo "${DESTINATION}" -# find ${DESTINATION} -type l | xargs rm -fr - - if ! test -e /usr/bin/netbeans-${SLOT}; then - elog "Because of the way Portage works at the moment" - elog "symlinks to the system jars are left to:" - elog "${DESTINATION}" - elog "If you are uninstalling Netbeans you can safely" - elog "remove everything in this directory" - fi -} - -# Supporting functions for this ebuild - -function fix_manifest() { - sed -i "s%ext/${1}%$(java-pkg_getjar ${2} ${3})%" ${4} -} - -function place_symlinks() { - einfo "Symlinking scrambled jars to system jars" - -# Commented out till 2.0_03 is released -# cd ${S}/core/external -# hide jh*.jar || die -# java-pkg_jar-from ${JHALL} - - cd ${S}/mdr/external/ - hide jmi.jar mof.jar || die - java-pkg_jar-from ${JMI} || die - java-pkg_jar-from ${MOF} || die - -# Commented out till 2.0_03 is released -# cd ${S}/nbbuild/external -# hide jhall*.jar || die -# java-pkg_jar-from ${JHALL} || die - - cd ${S}/libs/external/ - hide xerces*.jar commons-logging*.jar xml-commons*.jar pmd*.jar || die - java-pkg_jar-from ${XERCES} || die - java-pkg_jar-from ${COMMONS_LOGGING} || die - java-pkg_jar-from ${XMLCOMMONS} || die - java-pkg_jar-from ${PMD} || die - java-pkg_jar-from ${SWINGLAYOUT} || die - - cd ${S}/httpserver/external/ - hide servlet*.jar || die - java-pkg_jar-from ${SERVLET22} || die - - cd ${S}/j2eeserver/external - hide jsr*.jar || die - java-pkg_jar-from ${JSR} || die - - cd ${S}/junit/external/ - hide junit*.jar || die - java-pkg_jar-from ${JUNIT} || die - - cd ${S}/web/external -# hide servlet-*.jar jasper*.jar jsp*.jar jstl*.jar standard*.jar commons-el*.jar || die - hide servlet-*.jar jstl*.jar standard*.jar commons-el*.jar || die - java-pkg_jar-from ${SERVLET23} || die - java-pkg_jar-from ${SERVLET24} || die -# java-pkg_jar-from ${JASPERCOMPILER} || die -# java-pkg_jar-from ${JASPERRUNTIME} || die - java-pkg_jar-from ${JSPAPI} || die - java-pkg_jar-from ${JSTL} || die - java-pkg_jar-from ${STANDARD} || die - java-pkg_jar-from commons-el || die - - cd ${S}/xml/external/ - hide flute*.jar sac*.jar || die - java-pkg_jar-from sac || die - java-pkg_jar-from flute || die -} - -function symlink_extjars() { - einfo "Added symlinks to system jars inside" - einfo "${DESTINATION}" - - cd ${1}/ide${IDE_VERSION}/modules/ext - java-pkg_jar-from ${COMMONS_LOGGING} - java-pkg_jar-from flute - java-pkg_jar-from sac - java-pkg_jar-from ${JMI} - java-pkg_jar-from ${MOF} - java-pkg_jar-from ${JUNIT} - - cd ${1}/ide${IDE_VERSION}/modules/ext - java-pkg_jar-from ${SERVLET22} - java-pkg_jar-from ${XERCES} - java-pkg_jar-from ${XMLCOMMONS} - - cd ${1}/enterprise${ENTERPRISE}/modules/ext - java-pkg_jar-from commons-el - java-pkg_jar-from ${SERVLET23} - java-pkg_jar-from ${SERVLET24} - java-pkg_jar-from ${JSR} -# java-pkg_jar-from ${JASPERCOMPILER} -# java-pkg_jar-from ${JASPERRUNTIME} - java-pkg_jar-from ${JSPAPI} - java-pkg_jar-from jakarta-jstl jstl.jar - java-pkg_jar-from jakarta-jstl standard.jar - -# Commented out JHALL till 2.0_03 is released - cd ${1}/platform${PLATFORM}/modules/ext - java-pkg_jar-from ${SWINGLAYOUT} -# java-pkg_jar-from ${JHALL} -} - -function hide() { - for x in $@ ; do - mv $x _$x - done -} - -function unscramble_and_empty() { - echo $(pwd) - yes yes 2> /dev/null | ant ${antflags} unscramble > /dev/null || die "Failed to unscramble" - remove_unscrambling -} - -function remove_unscrambling() { - local file=${1} - - [ -z ${file} ] && file="build.xml" - - xsltproc -o ${T}/out.xml ${FILESDIR}/emptyunscramble.xsl ${file} \ - || die "Failed to remove unscrambling from one of the build.xml files" - mv ${T}/out.xml ${file} -} -- 2.26.2