From 8aea3c526cfe687a678408092035abf227aefb04 Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Thu, 21 Feb 2013 15:45:14 +0000 Subject: dev-java/netbeans-cnd: version bump Package-Manager: portage-2.1.11.52/cvs/Linux x86_64 Manifest-Sign-Key: 0xCFE47E2F --- dev-java/netbeans-cnd/ChangeLog | 9 +- dev-java/netbeans-cnd/Manifest | 19 +++- dev-java/netbeans-cnd/netbeans-cnd-7.3.ebuild | 126 ++++++++++++++++++++++++++ 3 files changed, 151 insertions(+), 3 deletions(-) create mode 100644 dev-java/netbeans-cnd/netbeans-cnd-7.3.ebuild (limited to 'dev-java') diff --git a/dev-java/netbeans-cnd/ChangeLog b/dev-java/netbeans-cnd/ChangeLog index 3037e01e700b..e0a7558082e9 100644 --- a/dev-java/netbeans-cnd/ChangeLog +++ b/dev-java/netbeans-cnd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/netbeans-cnd -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-cnd/ChangeLog,v 1.19 2012/12/09 19:31:36 ago Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-cnd/ChangeLog,v 1.20 2013/02/21 15:45:09 fordfrog Exp $ + +*netbeans-cnd-7.3 (21 Feb 2013) + + 21 Feb 2013; Miroslav Šulc +netbeans-cnd-7.3.ebuild: + version bump 09 Dec 2012; netbeans-cnd-7.2.ebuild: Stable for x86, wrt bug #441170 diff --git a/dev-java/netbeans-cnd/Manifest b/dev-java/netbeans-cnd/Manifest index bfeadbe6ad3e..b6ffdd6b56fb 100644 --- a/dev-java/netbeans-cnd/Manifest +++ b/dev-java/netbeans-cnd/Manifest @@ -1,20 +1,37 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST 11B1CFD9AB9B7BB572F272CD1972693D1E9721E9-antlr-3.3.jar 1940955 SHA256 7cb0fc0c46b960e49cd22a7d84879e9e5033b26bcd20ac9c668bd96c40914b88 SHA512 c9fd47960a0870d0791a764d94f76864ff6164729c54bd432027f54fd4f42ac2d7e464e1c17785fbca762ed414a78a71519f68e5dbc947eb57f85af0c7ce61f4 WHIRLPOOL 7502dea3662b5f9bc56ba1f36461fb79672afcdb16c8a96f4d5c28d26c4c01d3d757c5e1e658cbad541bb5552c6634139d649adb44ba802aae12b971aa5aee31 DIST 296C195B720404C2683BA2F65E2A423DD0611B8B-open-fortran-parser-0.7.1.2.zip 86627 SHA256 de7cf8ce10a3d50eefa5e493953404be7db138007aa9fb53b894e307ea033195 SHA512 0c052abbda51e910e89c378c15ff31a905af2c7beca587219e9191e9ed64af863b3d9261375a48c18d3ee79c9bac9a5517da9e7693d2e9db91d2937d8174314c WHIRLPOOL 898b55abaa5381f3f414e70d7e8e3738775f04493f12020b2e845a0bb3081bcd6ac524d85b9ba599fcf4cde26f24cb7d9f6207cc2d1d30271af6abfceefdbdb4 +DIST 2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip 152701 SHA256 ee454c52dab7af01a0c292bbbd9bd5fa62e07480d4284a34e38746aba4bb501b SHA512 222ae7d6fc8a1f5610a107264fd249180a7a865094979dd5426fb266b94e1d24ef421199cdcb923ab58577c292a183863c45a1434b4dcb35bd67dbdcde945e54 WHIRLPOOL 821c0e5e9534955ee9b4200476fa1fe65b453520551cb71a71a225bb96ac69ba6c408e9d59b5df7008ec1b8d173035e76358172cf3ebafbbd50d0971db3a8983 +DIST 4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar 164365 SHA256 8633aa79a2566f51a089195e09a4581af3ee71bfc13eb234af5e0cf6383078b4 SHA512 f1300e2d1e47659f6113a0a3dcc953766b5a8ab32f13bedf4d6ac652ffcf828c17474d47edec08d7ad9039d7abb8570770b48fa53b8ff6b47a028836490777bc WHIRLPOOL 765c87803d9cf622ae7936cb922ad9bff8823a09baf01a6c8b4a81df8ba5fd7cd17b513b36da9910b75349de45185f4641680f35be8335e08b9c30283b6d3345 DIST 5C917BCC015510DC6C7E3B511DB85B2978C0774C-cnd-build-trace-1.0.zip 19708 SHA256 e2c7a9e2ae6488e1c7cddfb969f42ac19335077bfe8b39fdb57ad3202648bac3 SHA512 0b409dcdb99dc8972b281ae6614b2780166033d79d7da5c9e8214d5044b46e4561c0d604ab1f35817404f5f6a295bb7c62209810baf16f60fb808da069a328ed WHIRLPOOL 0b092090f9430c8526201db4a591fa82269490f2f4ca7622b2cc3cda379cee24479dd626e3dcb4b91821c2dccbad7590f6639b42cfb6792ab48749355686885a +DIST 5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar 2388361 SHA256 9d3e866b610460664522520f73b81777b5626fb0a282a5952b9800b751550bf7 SHA512 04be4dfba3a21f3ab9d9e439a64958bd8e844a9f151b798383bd9e0dd6ebc416783ae7cb1d1dbb27fb7288ab9756b13b8338cdb8ceb41a10949c852ad45ab1f2 WHIRLPOOL 488b7b9af1d1d06cca163d43e7be190730e2f0421796c21a26ace11196ee37a16b1bdeea78a1e2e64f8ca0e87f67a2aecd066af21505f3dd92dd76de40a94fa0 DIST 61CC1E7181A8B26E9B3E1357C06B63F8F0077FA5-open-fortran-parser-0.7.1.2.zip 94483 SHA256 11fa943df02788767f4c3439f142a4d1d9937818e9c0b2812dc824230d890a7c SHA512 c15a6092859c6dffe07a51a78596c09f40b0c4ae7073dc119c19462d955d4b3e4fd0057907a50db50c4936fbc802c8a034659383df0b66842ac9382abb5896e8 WHIRLPOOL 8ae8e818f912709ea38b7702cda934c41c828041244f6f1a6249fa392a98e1b58c6c1dc60921c7625dda0ec7aed30665a58420e35ba94d3c33d1098ccde87d58 DIST 84F10BEAA967E2896F0B43B0BBD08D834841F554-cnd-rfs-1.0.zip 146651 SHA256 4921fdeeb7dcf6b7c8677000a75e36894757cf78ba87cc744fb7239480d3ad17 SHA512 8400fce70d4083f83cf619378838d8880deca491cf4e79a26885df02fd0d80709b2acb7a6fafda3aa081a5a45a9ccfc00db6c26bcbb36c0d86be149dc0271372 WHIRLPOOL a2aae1eb36d6c70db6db8f670ea8183a99600a4fc5f9c93f846733978576c279035da455236dfb36c9d83b153beb4afbc18a5a1135d95d686cc7c6332d379f83 DIST A17998A985D048F3195B6ADE1A360440FCE30102-open-fortran-parser-0.7.1.2.zip 94549 SHA256 94927e1464ab91df0ef44646a88160dba6ed209a2e7b17f0fa6284ca296e5097 SHA512 016745718f8cf590eebd122d1af1c83e3ca6a17a23a47590255429942331f5a7fea4ede008fd698079783533ae648ca03ef20fb761ce098ec93be53a082dc07d WHIRLPOOL 042f826d6d47d7035e80365a14b7c49d807ea6ddaaefab319ffcd3dc8c2d6266f60636ae65a419b73c293d92e1bd04b198a5cc395f7b494984bf404ee0f80ac9 DIST C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip 27300 SHA256 8bcfad100ee9664b7fb2b6b8f20b14b3790121b06487e790214c571c9ec1f21e SHA512 21e69d6881efaa27ae91eb88cd851bb1e67c755668b1f96bdbdf8f4af2b2aee093c37b5edbb85317c22143083ea1fd1ca7386cb9523c32f502d86d933e27b739 WHIRLPOOL e09be2e79f88d6dd9d2e3cc89710fdcc67d4f825d44916a70a5625ec8b2f12112c9d9c0c39cd2e579d3c7846e9bfbf5ab709197cc784f5742a2ab9b22ae89b07 +DIST E0710C0DAFAA51881A5981061C4D94D3C4AC9FE6-open-fortran-parser-0.7.1.2.zip 94447 SHA256 e1a955c8a4468f8272e5bd769660e454bead719b2e0bad511167c410f75dfd1d SHA512 727e5f95961acd04fc44a42c9104887dcf82c832ac5f33b40954b88ae7c1ca2a9185a4c87906b5b80beaa371c8d0997edec463c549d3609798a190ea90881f64 WHIRLPOOL 43f9f3de0073c8b6c7fea32c06de18c991d11aad6e1746dfb05f736659999dc43e3b8056345e6ac4dead482f7a812c03f31a0a9ac777c8ea57569229a6f6acf4 DIST netbeans-7.0-build.xml-r1.patch.bz2 1344 SHA256 f323cb4694f6351fe47b76fa8b8b3e3f8e456e7d45ca76f9b88c5c6b90cc103f SHA512 ec81bbef311f891dd4371644afd549bef460e8e70eed49f7dbb5aec68f386097f340a411932345ba7bc786a1aef1f0b70a719d8e784b048d5ebf8b1e9ef3bb44 WHIRLPOOL 5c4440c6e2b75209b00030d1e78c28600dc387cc836be8b74bd2d55a6426c5a10d57e21a9572b83f499aa9ed6c33e2ecce44a82c440bba818e4d22c1cf856a55 DIST netbeans-7.0.1-201107282000-src.zip 175987235 SHA256 8bf4dd2375bc9fd02adf64ca9066118e0392a33428232ccf3f9091b96557b9aa SHA512 c2b4122d7bf8332455ac71d72e76d29bc31e13d892997e153ee1bb99a019f58bfc12179a24ab2bdaaf1c61ad823b7c24857523d0363ea6856b81a0aaef9d2eca WHIRLPOOL 296b51405e16e580101f15a459f4e07ec31ab353fec1e4c4d5ae79ff7d378e994291c7c378f380fbf83d1718366f38bbb3801834079db466a1c3bade099d7fd0 DIST netbeans-7.1.1-201203012225-src.zip 172146133 SHA256 a8ff48a5837f7952cf305d70b511c4abb77d6f1639fc7de1578aac75274450d4 SHA512 e43d5477f6d6bc5471af4f7b624a806a88d34e9467ea6dc228dbbdb374e1bf073b96b3ab3c85a301207f6abb1ee6292c6fe1e859f78a620ff6654e5617b880c1 WHIRLPOOL 22e8d1c562d3702ccd0e66012819447c92fc7cc1c5f0c52ceb9f9990372b1f7b976b3b1b8e31bd1bfb96726fbb8963c4e444ff0fad931d75a8201d6dcb012bac DIST netbeans-7.1.2-201204101705-src.zip 172346251 SHA256 95df26a2eafdc88887a835b3abcf930fd0e72c1639c3e0bfceb9489e44c5865c SHA512 9470f00021fd401e33c9bb4871e40780f1775e0e41c6d0c28ee0ac157c3eede324703d0ed8b1cf14e22441a14ba82fdf72315d7135f55b2a8ffa75f935496f23 WHIRLPOOL ba64a70001e8a18080cc58279e3ba70f61b3ab2c51d2f0be81bec178610f9ff37d41a77d2d5f39e16a8c07e9a7931d1487f35054d2d5fa7e379bb8edab09fc1b DIST netbeans-7.2-201207171143-src.zip 174804170 SHA256 7fbbb9e2d3daa41344800a7571e94574aa54fb586b514095ec31b87f1dd4551a SHA512 7306039b30ebddf5766b8d938f1b69291e6bfa20ed54866d38a9832dba8a568e9b79577aea963dd36d93a4e0a5e487a64cf404720c5d62316307181f7e4a17e1 WHIRLPOOL fda3e9772c0f9b3b6abc65231c2642567711e3d72cf031625f3c47fed35343484b81e6897510a71410cd797a14d956af8d9ed336993753b7085c7303d8ab9e02 DIST netbeans-7.2-r1-build.xml.patch.bz2 2476 SHA256 ba0812d86c8d77cc69c75899d5b070d8b8c7dd1e33b5bdc7ac6e166d5015601d SHA512 8d0a2d80afafe875d9872a0aa15b2ade41f174ae522bc0363021e8d490dfd43b09a97af9c77dd635b56964fb57fd218424c17de0a13b946d55247db06a3e8c33 WHIRLPOOL 3833520b791d6fcb3b531b4cb1fbeec2fbadcc05e8c8a439794ea83bfb315e538d6039d2a6a188735cd996e916a1e5e88871050392947a2f5702accf9fceb16a +DIST netbeans-7.3-201302132200-src.zip 179174245 SHA256 5be4ee16868ca3f2a73b397ca1b1a83d7603657722cb033a37925e8ee0ebeab3 SHA512 c616ae3e148b677ad74b4e113fe2d5f9e97029a601abf39558e35c57085362dc802d0eb26be9ab05731bce14dd10c5af22d4b77251471da95421ad28e08ce700 WHIRLPOOL 66670d62c023f321220c7cd416c0d0347055e618c9501df56934a35bf6f15ebde37245c78ab6416ce3c5cc733b4f8bc0e9c9d2a94f8d940e64443dab2e5967f8 +DIST netbeans-7.3-build.xml.patch.bz2 2463 SHA256 ec0a58213907f7c8656ded1ba3f21dd0a2197b6eed46d7d5ba37f6afb0ae2a79 SHA512 1f8164efab23f7fdaf7da0191f36043cc10d9a4865e38761c24c83a822d8b1b7abfb891f6072654fdfcd314f6fdf0010cb8560c2222ec07e4b4b217b91142079 WHIRLPOOL 47d8e784b65a9863d6c9c122288720544384b4f9f6815325247cf12fc2dac5678b27b72e0b7580052096957acc245b7f8f1c54b97a1877a3ba1021bf871d08dc DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6 EBUILD netbeans-cnd-7.0.1.ebuild 4713 SHA256 afd59d21ead5998be6c91657b31a7d621a12f65a90d73c0d06b0bb7da6c330e7 SHA512 ad2163775f1e125a7f8a4b87f3b6919c36badcc7e6f41d1cbd62253ab45a2fff94d517ebdf36e8c0d30a6b96fbdcd3617108ed5ba0035d82dfb5686ea1bc7301 WHIRLPOOL f5bbfb78fcd095f1c1775d7009ce1d03834c1a04d9d7de0adf171a1818af6fb3b4f33b2c2d805e14f8c96753d61c61b380182e9ad2e77751022b6cf060f43977 EBUILD netbeans-cnd-7.1.1.ebuild 4327 SHA256 de455a5d8cb1cac1ac39e6b2bf152eeabda626d289b4738002d09ca5332bce96 SHA512 50bf97284479d1369f97d1fc7da92010e46a8393ba17d51d6ed870e942ebfe4f353d3511bde38dc1bf6c78479f7a9701d6f6be77d477909b6518a26b7e41a9e5 WHIRLPOOL 35172afd88e176169415670654f8612fdc32a1eec9e47f2c24c162d6be78c309b9447a88b58d390d494495eba840574ffeb465c2e2deb4e9b94eef2db4387754 EBUILD netbeans-cnd-7.1.2.ebuild 4322 SHA256 4d504c18505efc95ff80756deff4a610908d898f62ec97e73d2fdd04a5221275 SHA512 74fc232a3901ebee70986190341dec740b2e07eadafcae6fdd40e750b1e7f25e9b59cb6cf58f776199996e49ec33dc1277b80a0dd7c686bd0679dc8a0c1072b5 WHIRLPOOL 78a9191f53787957b616d32dcc23238d1113fb23a4ed5c05c9a3990457c3269f7654e369b0a238b48c19a8c20827bcd0dc659befc40d7e23cc2bfbd1ff68ecd9 EBUILD netbeans-cnd-7.2.ebuild 4303 SHA256 b7e20aad79382db668c02d00df97168b17f14d72db7baffc3d713acd68a81c53 SHA512 d588a021f8cb358d25465a84145ec0ad1955b9a1cdb9e2447f5e1a68280e729cfe858cc939e4b8822473c5b60c0e4d6f1c641432670cc4d179f9396ecfbc4c8f WHIRLPOOL 593bfeeaaf7c1e33c48bd98124f5096dd91a6dcd86281e12c482807e2155dfe53149b31bc0b10ed5fe322976c346e824721a73b38ed3f99852fe14fbf80b3427 -MISC ChangeLog 2749 SHA256 bccc98fab7b2251d0869597d807c34afb1073b722cddca02c4d4144be28677e6 SHA512 3a6a43349826d1c0908c77fab1b976951f0dbe17e030f88bbb6c35125408c437beb2787097ca7d949011c797fc56dfd423feb11a4bd17e3b8e4c23ed1eefc9c2 WHIRLPOOL 86aeb606b1bd89a5e0ad01b8fdc162e6ba599d45585469cf9a844b962db91a6769e82efd1415c3d0f987d1ffaadf17f9c839a521923a4da6001cdc8125061262 +EBUILD netbeans-cnd-7.3.ebuild 4669 SHA256 81f2f1ce6c13ffddf75701192373dd97b167b854888342e9f48117fbf4aaee4c SHA512 7ec00c110ecaabb98b4ea99bccf57fe6ac275607b4aa5d42b1fcc9b36b44e73f783e7b8fcadd0e68f907d7c6ef5b84054f4458d1f15e779a513fa715c450dc7a WHIRLPOOL 724467201370ca4a3c2c79a7d126be354aabe7fd050539b0bbc1e4cc15ca4f8a8b52750da304308bd60bf782949e6ff0b5058b7b0c02080afa6f42a92a7b8fad +MISC ChangeLog 2881 SHA256 bf8ecc14979d6cc419a500c7bca40ee1fe130e7798f9418a1b84f03b846607a5 SHA512 67e86d985fa8de493f8ce677368f66e4bc8b8dd6bdffba738c75c1e7073ecc89def7f87fa5aa61e8d2b077ccc88c752ee19cdbf8ca1ba4b79d02e87fd6d91edd WHIRLPOOL efd5b8d190d69276c0a3dbdb118df1418ed12e4a617e38ef7d2c340f6649fcf61ae2e171f1b3c49fd929fb9bd1185ce47a57b9e463e40c9201357248508f98fa MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iF4EAREIAAYFAlEmQQYACgkQ5LnnVc/kfi/pVwEAo4Ug94Y2dO3ysi3w1pJl6WmU +dzV/iiiie5ive3o5dQoBAKMCfH2+kEH9Jx0rfvsCdS+Y4wd8grlyEIAGk3Mz8NMf +=c49Z +-----END PGP SIGNATURE----- diff --git a/dev-java/netbeans-cnd/netbeans-cnd-7.3.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-7.3.ebuild new file mode 100644 index 000000000000..bd12f1523bc9 --- /dev/null +++ b/dev-java/netbeans-cnd/netbeans-cnd-7.3.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-cnd/netbeans-cnd-7.3.ebuild,v 1.1 2013/02/21 15:45:09 fordfrog Exp $ + +EAPI="4" +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans CND Cluster" +HOMEPAGE="http://netbeans.org/projects/cnd" +SLOT="7.3" +SOURCE_URL="http://download.netbeans.org/netbeans/7.3/final/zip/netbeans-7.3-201302132200-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.3-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar + http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar + http://hg.netbeans.org/binaries/C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip + http://hg.netbeans.org/binaries/2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip + http://hg.netbeans.org/binaries/E0710C0DAFAA51881A5981061C4D94D3C4AC9FE6-open-fortran-parser-0.7.1.2.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +# These files are for remote development and debugging +QA_PREBUILT="usr/share/netbeans-cnd-${SLOT}/bin/*" + +CDEPEND="~dev-java/netbeans-dlight-${PV} + ~dev-java/netbeans-harness-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-platform-${PV}" +DEPEND="virtual/jdk:1.6 + app-arch/unzip + >=dev-java/jna-3.4.0 + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.6 + ${CDEPEND}" + +INSTALL_DIR="/usr/share/${PN}-${SLOT}" + +EANT_BUILD_XML="nbbuild/build.xml" +EANT_BUILD_TARGET="rebuild-cluster" +EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.cnd -Dext.binaries.downloaded=true -Dpermit.jdk7.builds=true" +EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7" +JAVA_PKG_BSFIX="off" + +src_unpack() { + unpack $(basename ${SOURCE_URL}) + + einfo "Deleting bundled jars..." + find -name "*.jar" -type f -delete + + unpack netbeans-7.3-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar libs.antlr3.devel/external/antlr-3.4.jar || die + ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.jar || die + ln -s "${DISTDIR}"/C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip cnd.discovery/external/cnd-build-trace-1.0.zip || die + ln -s "${DISTDIR}"/2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip cnd.remote/external/cnd-rfs-1.0.zip || die + ln -s "${DISTDIR}"/E0710C0DAFAA51881A5981061C4D94D3C4AC9FE6-open-fortran-parser-0.7.1.2.zip cnd.modelimpl/external/open-fortran-parser-0.7.1.2.zip || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-7.3-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS73_PATCHES_DIR}" -a -d "${NETBEANS73_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS73_PATCHES_DIR}" -type f` + + if [ -n "${files}" ] ; then + einfo "Applying custom patches:" + + for file in ${files} ; do + epatch "${file}" + done + fi + fi + + einfo "Symlinking external libraries..." + java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar + java-pkg_jar-from --build-only --into libs.jna/external jna jna.jar jna-3.4.0.jar + + einfo "Linking in other clusters..." + mkdir "${S}"/nbbuild/netbeans || die + pushd "${S}"/nbbuild/netbeans >/dev/null || die + + ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die + cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.dlight.built + + ln -s /usr/share/netbeans-harness-${SLOT} harness || die + cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.harness.built + + ln -s /usr/share/netbeans-ide-${SLOT} ide || die + cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.ide.built + + ln -s /usr/share/netbeans-platform-${SLOT} platform || die + cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.platform.built + + popd >/dev/null || die + + java-pkg-2_src_prepare +} + +src_install() { + pushd nbbuild/netbeans/cnd >/dev/null || die + + insinto ${INSTALL_DIR} + + grep -E "/cnd$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + + doins -r * + fperms 755 bin/dorun.sh + + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/cnd +} -- cgit v1.2.3-65-gdbad