diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2013-02-21 15:52:47 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2013-02-21 15:52:47 +0000 |
commit | 6a9c56a93a2ea3e90e98b612ae4573361c7b61c2 (patch) | |
tree | e26faf67df5c5b856f56ccdb23e81da49e0eea78 /dev-java | |
parent | dev-java/netbeans-php: version bump (diff) | |
download | historical-6a9c56a93a2ea3e90e98b612ae4573361c7b61c2.tar.gz historical-6a9c56a93a2ea3e90e98b612ae4573361c7b61c2.tar.bz2 historical-6a9c56a93a2ea3e90e98b612ae4573361c7b61c2.zip |
dev-java/netbeans-platform: version bump
Package-Manager: portage-2.1.11.52/cvs/Linux x86_64
Manifest-Sign-Key: 0xCFE47E2F
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/netbeans-platform/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/netbeans-platform/Manifest | 16 | ||||
-rw-r--r-- | dev-java/netbeans-platform/netbeans-platform-7.3.ebuild | 127 |
3 files changed, 150 insertions, 3 deletions
diff --git a/dev-java/netbeans-platform/ChangeLog b/dev-java/netbeans-platform/ChangeLog index 228c3c0685ac..1eb70ec6622a 100644 --- a/dev-java/netbeans-platform/ChangeLog +++ b/dev-java/netbeans-platform/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/netbeans-platform -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-platform/ChangeLog,v 1.19 2012/10/17 11:07:54 ago Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-platform/ChangeLog,v 1.20 2013/02/21 15:52:43 fordfrog Exp $ + +*netbeans-platform-7.3 (21 Feb 2013) + + 21 Feb 2013; Miroslav Šulc <fordfrog@gentoo.org> + +netbeans-platform-7.3.ebuild: + version bump 17 Oct 2012; Agostino Sarubbo <ago@gentoo.org> netbeans-platform-7.2.ebuild: Stable for amd64, wrt bug #433215 diff --git a/dev-java/netbeans-platform/Manifest b/dev-java/netbeans-platform/Manifest index 2ea1ba2c8b16..e5303833f71f 100644 --- a/dev-java/netbeans-platform/Manifest +++ b/dev-java/netbeans-platform/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST 08676C719D33D26DF4F3988E210A04D7F11183B7-felix-2.0.3.jar 284924 SHA256 654e4e24680cffaca17ccf43b0028978741fdc25abc7c1cf82a23ae11b160077 SHA512 8478d4d1e2cf602b06d235a7b38ef84b441a683710db8084849b75529f2716e5c4254efbe417cf5151bcfb6034eff9aa0485a86c1ac662af440b3e846329f5b5 WHIRLPOOL 3d1eed325dd2b1d3c742b0bfa6cf855fc24bb80a8441b6a9f172fa189328745970fe7de0b4541ba1e7a45c89fc55888715ace84563de0f2879ff4544c55c0f58 DIST 14F630EDF137F54188636B5139432986D5FB19B7-felix-4.0.2.jar 493190 SHA256 f05d8543385a31f22eba0a6d2e10c69fb3883a32e0101832e58d9dda66bc33c6 SHA512 9e49eeb7f1bc61e6db16047ce846081ffcd3e7777b0538d48b6f5a3ecd7778637518f7ded7d2ef4cf812befa03dc43e7b7996b715e00f7600d87cf3cf741a065 WHIRLPOOL 55e21a695489e1c70757ca0061a30f8561fa69262662455601b1457fb911378cd5a9168afaa6c88a077e56709efcd15bc6a0ad178ed7b17cf832d8e9edc632cf DIST 1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip 77859 SHA256 1503657e36d02befc5433a57f1134209f98f3d193ea30c9ac0553814a8590a21 SHA512 15834d5448da80be539259e902ffa678a3b94293ffec221ad1e6238f0abd2dd2b588b8c06165f7e89796e96a6660c3166aad13112d34eebbed29163b52074b56 WHIRLPOOL 274c0cf5fa7d44701d7ea82b34758d6fceada1fe88bbea34058a468d350e1661c76f07e7ee0edc6b0c34113f7afc4540f2345e2d1bf6bf577969a305362d4227 @@ -5,6 +8,7 @@ DIST 1D63B972926D053DFA427CA03841F67D4EAC6DB2-org.eclipse.osgi_3.6.0.v20100517.j DIST 2D80F93B8803250F232902C46EBA850BF1F3E67F-org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar 1363464 SHA256 8562aed06ec44197ad0dcb20426cf31d4785a62f050d76964d2aefda3d2b43dc SHA512 e561b535b5d2e33d064154d79ec04435c4112ff02aa125935c06fe72f6b0187ad1e9a4f12b86a201df1755f4a9e69068f748bd59e52efb710f26c46d3c3a7a68 WHIRLPOOL 18ecda478a730a34270cb19b6adfaea56ef2a1d1b7451cb377bf29703f49d0137902f10de08ad37381d644fcfb6dc839ae3013817aaa05f763ffe77804dcb14b DIST 972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar 234898 SHA256 d80c97da091ccc495479980aca82bb9ade3c3239fbc60b5f3840440ed3fe785d SHA512 889ebf198602afd574774ea3f41898f497d7f9af8e9a6397f6555d6fa7ac690e6e7e2e869e181636528f7a5b32204866e53250f6ce790d05763fcea4c8649d16 WHIRLPOOL 47cd43dd5732fe6a773ed50047af2786dd3d4ba712ae5f70c1f80571e835fbbdef68ee90ef3dde9d8e10a0e983f213656acbe287d7d6262c8a0bd0925799d35b DIST 986195A7E31034EE73F7A896A36B24169692F142-osgi.core-4.2.jar 101276 SHA256 f352484ea4d982793637f9c6978ebb283b2b026ec4c5add78b776084f420b8d8 SHA512 84d689b8704d3f172ba73df7b1d51e9c8a48f8bb983fc136da9b195d600201aa03a62df68fe13cdd04cf00302def3bdd89756c0553feecd0095b85a0067e6a4c WHIRLPOOL 4d8ca7718e056d970ddff2a0a8fe625f26efda7d5cfd8380d622025178c93c92bb783dd4093443bcfb34e78baaf9bf0648ca18ce35fc57d84ceb7f1e28573f8f +DIST B54E470D47DF378B9DCE9423F919CCF4C7A60138-org.eclipse.osgi_3.8.0.v20120529-1548.jar 1396175 SHA256 97c917e3ad621f9ad686ebb1188c7dd9b188758b93002e835f2d5beb27e10123 SHA512 f9403eb300726407d4a196c1a0908832cab80a61756f68b462231f2f18c7e6429396a9fcc1c35c1aab8352fb8660ef9f3402a6c8b973d049d6f249098ebe9ab5 WHIRLPOOL 58716acaa1e5821c47d343f44409167d6a4cb949542ebf72583a025fea12df2ba92cae917dfbfd0fac865d2d6106e2de92ca997a3944acb7c114a5173d935526 DIST BD5615C6A15497B60A0AAA9A04D4F05E2BC42D07-felix-main-2.0.2.jar 23434 SHA256 73bb137228039e9aef458d1ee6272f3c0adcac2d0565d3ad307c60c941d33abf SHA512 18e87e31b1e4500e37f7c03457c5089eb0df3cf8e89ef3864b3f6a5b041ddbc35ba2469c978232d829279e37b7237138c866a25be846aa2bdf9e2274ecbc647a WHIRLPOOL b41987fdb17d548a5f1f20f0191f6c3bf859d6b0a3bd5321ef918863495dbd0a3814ef257bc2a429e9120df1947eb9ab6440ee03651cd7cb141dd4cace4040a5 DIST CFF0A34484AAF26F18BC15D0B2C226FD66769EAA-testng-6.5.1-dist.jar 743573 SHA256 ab0d94285affc6fe39d88b4658563cf229e8f15a1004c380f4c1b8e0efdf8ca2 SHA512 a0c8d68660fced5de558be2b8b897b6a10ed9810a33263189a051cc655c188acea088af8cfb22f64f778177fda215c8b695a61c99b8993387e206ac25bd0d875 WHIRLPOOL b68359e9ca72a1aab011876b647b21fac33c96f0b487b22891b429c8c725f0c6c7f22c08c89f6e197bd9634a42ce05e1c1fcd9fc97d503a3c685e27189be47b8 DIST D9B2EEC6413BDD174D047F9B7804C2EA440B79A5-testng-6.5.1-javadoc.zip 363598 SHA256 54f88f05f4b2299e1b5a269291c89ac308e55ba96759206f3455781233d2a8bd SHA512 700b255228fec523d8124b62eb76e042fdc024d2ee3d6a2ff8ad9f5292000999bd7115955383d340b4cf0a0cf3dc89aa5e2073f26e0af010d769605fc192f267 WHIRLPOOL 5ab54a093f9388bf9ef97d2ace491ed2b128a72590bd2b5f882a73f9e7bb7497768cda3fb869d7ef552f757504eb8bde21eadb9689871b4f8562c07007c65c83 @@ -15,10 +19,20 @@ DIST netbeans-7.1.1-201203012225-src.zip 172146133 SHA256 a8ff48a5837f7952cf305d 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-platform-7.0.1.ebuild 5170 SHA256 0d1c717b7205100217af9a0dd49cde936567ab0fbf8de929c476f6e79031c941 SHA512 b996175e10a1a0a8287be224116b9debdb3c2c053726740498fac6d4eb373aae3816106b55071dc72a79e13a7bc52d57daebd72073e44aa981d2543819bf690f WHIRLPOOL 88d5f2d3de609ff5877486b05631b35eb852efd3264466441ef5d97da7575cac8c5819ec40186d042704cf7d61f63d07d592cdf9deff7e66f7ff00c435396add EBUILD netbeans-platform-7.1.1.ebuild 5155 SHA256 5fccb28da00bb81331940acff0742d966932098b60bf7f52b533d2df1818be01 SHA512 5290aa806a4f44a0c8932493b82a66c999df8cbde678be78cf1d2600dc55d0869f40211a4be5086feb7b32beda473161eb4167b2544421e821da647dcbb854dc WHIRLPOOL 5dabc0e0a17f5343fefc5c2e76c8ab8527e7d6a1af75646d9600e7a3c1f6397decd17e20d842c1aea99ae676e30ca79bac5023fadf70d00db0f8cf6917c78ed8 EBUILD netbeans-platform-7.1.2.ebuild 5149 SHA256 749d388bddb60973f04e71c61e58d31db6552319bad519fb8765895d0847186a SHA512 7a872d203cc6cdeb89d15038a3ed2dced2081227bc07b5ea229a8b56d41c7a9cc5b41bb0f4a85f81b74987a5555a7ecb2a113881aa10015e11c451bf27fb1eed WHIRLPOOL 1b5f482a718fa77afee21beede5ccc2f1e7d1dc4c02d948a0bdac2c78ca5d3ea495b5a290bca401e0f4cda8d719287a66007ca7f0079d456f1cd60ab84907981 EBUILD netbeans-platform-7.2.ebuild 5544 SHA256 9274f2018f44c059de5eaa55ba2047cb0802e2456cddccd22e51a666747368d8 SHA512 a1b1644bc00aea5523e3415f311319afdb2941584d73da16456bc96d11606a554ed77fc2956ff421878aebba2d43b502825f31e8387d79cccdf29622ebac537d WHIRLPOOL 65a4f8c80bb829e1804028737d650bf316a4dc98bb0f7ae5af4236cfeb7d9f0df08f8d1cec751ae2958f260d7a181dcf92584325ab92b9e03492a398c8ec4f1f -MISC ChangeLog 2922 SHA256 5cfb90b655f034c45ad6a03452a1b46338668352061f61361d401d6cd6f15776 SHA512 3c08add09480ea0fceab1af6f3c02b5d61b031a07ce802edb141d981f94b9bc7e0021b7281149966ddb71c558d4a4e4a8a736ac4b28808b25684aedddaf46a8e WHIRLPOOL b8ba468730a5b8f8ff61e1cf671e0195d203267cba17bda271298c4442a4f62df2da48555514ab66f177cbefc00e869db0e4c7280f323d635ce00b904cb1f20a +EBUILD netbeans-platform-7.3.ebuild 5563 SHA256 dc43d7ca5a8ece206bf8f45e9fdbcadea09c7df356418ba22ad25911a088459d SHA512 8b4d0cac16ede4ae0641e2866e0e73e31efa75f12479ea1941103ed879b38c8053761b3229a2bee12a9cd771ef835394b1956438f05f177843441867e1f620cf WHIRLPOOL 08054017f7016879e9d7fefe272065da53771208c0d11c3566488994e91312fcda7d3ba77651c5c935e1d72dde2e44ae1e0446a20a87c5f552cef7c7e8686a3e +MISC ChangeLog 3066 SHA256 026fec2d43f44bd736ad4f202723d581b16643140491bd173c9faeca5d409f25 SHA512 4ac298a7e87ed7b707958e8dda02dde6c419f081fea064c49010c9b4c34c224af368a0a584fdfab37975cd16e761e090eb7d4de11e03be36de3455b8e011d9d8 WHIRLPOOL b77e1f5037c00cc9b93a44f9c70cb58ee2e093c709264b2ab3694cebb5cffb600a2c4b26b2d70e1d50f1529f8d48b9dd0039d2798e298c1faff82077683ed054 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iF4EAREIAAYFAlEmQswACgkQ5LnnVc/kfi/O7wD+J+foYr/6MPAF9WXziSISXugI +mO8XXd3JhTfVii1S1OQA/jeJ0QdJwy7DCXupgPzeCvK7coczal6NHQLb4SYmx9wo +=6Q1F +-----END PGP SIGNATURE----- diff --git a/dev-java/netbeans-platform/netbeans-platform-7.3.ebuild b/dev-java/netbeans-platform/netbeans-platform-7.3.ebuild new file mode 100644 index 000000000000..ec1deaf84bc7 --- /dev/null +++ b/dev-java/netbeans-platform/netbeans-platform-7.3.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-platform/netbeans-platform-7.3.ebuild,v 1.1 2013/02/21 15:52:43 fordfrog Exp $ + +EAPI="4" +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Platform" +HOMEPAGE="http://netbeans.org/features/platform/" +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/14F630EDF137F54188636B5139432986D5FB19B7-felix-4.0.2.jar + http://hg.netbeans.org/binaries/B54E470D47DF378B9DCE9423F919CCF4C7A60138-org.eclipse.osgi_3.8.0.v20120529-1548.jar + http://hg.netbeans.org/binaries/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar + http://hg.netbeans.org/binaries/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip + http://hg.netbeans.org/binaries/CFF0A34484AAF26F18BC15D0B2C226FD66769EAA-testng-6.5.1-dist.jar + http://hg.netbeans.org/binaries/D9B2EEC6413BDD174D047F9B7804C2EA440B79A5-testng-6.5.1-javadoc.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="dev-java/javahelp:0 + >=dev-java/jna-3.4:0 + >=dev-java/osgi-core-api-5:0 + dev-java/swing-layout:1[source]" +DEPEND="virtual/jdk:1.6 + app-arch/unzip + ${CDEPEND}" +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.platform -Dext.binaries.downloaded=true -Djava.awt.headless=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}"/14F630EDF137F54188636B5139432986D5FB19B7-felix-4.0.2.jar libs.felix/external/felix-4.0.2.jar || die + ln -s "${DISTDIR}"/B54E470D47DF378B9DCE9423F919CCF4C7A60138-org.eclipse.osgi_3.8.0.v20120529-1548.jar netbinox/external/org.eclipse.osgi_3.8.0.v20120529-1548.jar || die + ln -s "${DISTDIR}"/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar libs.osgi/external/osgi.cmpn-4.2.jar || die + ln -s "${DISTDIR}"/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip o.jdesktop.layout/external/swing-layout-1.0.4-doc.zip || die + ln -s "${DISTDIR}"/CFF0A34484AAF26F18BC15D0B2C226FD66769EAA-testng-6.5.1-dist.jar libs.testng/external/testng-6.5.1-dist.jar || die + ln -s "${DISTDIR}"/D9B2EEC6413BDD174D047F9B7804C2EA440B79A5-testng-6.5.1-javadoc.zip libs.testng/external/testng-6.5.1-javadoc.zip || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + # upstream jna jar contains bundled binary libraries so we disable that feature + 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 --into core.nativeaccess/external jna platform.jar platform-3.4.0.jar + java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar + java-pkg_jar-from --into libs.jna/external jna jna.jar jna-3.4.0.jar + java-pkg_jar-from --into libs.osgi/external osgi-core-api osgi-core-api.jar osgi.core-5.0.0.jar + java-pkg_jar-from --into o.jdesktop.layout/external swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar + ln -s /usr/share/swing-layout-1/sources/swing-layout-src.zip o.jdesktop.layout/external/swing-layout-1.0.4-src.zip || die + + java-pkg-2_src_prepare +} + +src_compile() { + unset DISPLAY + eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed" +} + +src_install() { + pushd nbbuild/netbeans/platform >/dev/null || die + + java-pkg_dojar lib/*.jar + grep -E "/platform$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + + insinto ${INSTALL_DIR} + doins -r * + rm "${D}"/${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip || die + dosym /usr/share/swing-layout-1/sources/swing-layout-src.zip ${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip + find "${D}"/${INSTALL_DIR} -name "*.exe" -delete + find "${D}"/${INSTALL_DIR} -name "*.dll" -delete + rm -fr "${D}"/modules/lib || die + + popd >/dev/null || die + + fperms 775 ${INSTALL_DIR}/lib/nbexec + dosym ${INSTALL_DIR}/lib/nbexec /usr/bin/nbexec-${SLOT} + + local instdir=${INSTALL_DIR}/modules/ext + pushd "${D}"/${instdir} >/dev/null || die + rm jhall-2.0_05.jar && dosym /usr/share/javahelp/lib/jhall.jar ${instdir}/jhall-2.0_05.jar || die + rm jna-3.4.0.jar && dosym /usr/share/jna/lib/jna.jar ${instdir}/jna-3.4.0.jar || die + rm osgi.core-5.0.0.jar && dosym /usr/share/osgi-core-api/lib/osgi-core-api.jar ${instdir}/osgi.core-5.0.0.jar || die + rm platform-3.4.0.jar && dosym /usr/share/jna/lib/platform.jar ${instdir}/platform-3.4.0.jar || die + rm swing-layout-1.0.4.jar && dosym /usr/share/swing-layout-1/lib/swing-layout.jar ${instdir}/swing-layout-1.0.4.jar || die + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/platform +} |