summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2014-03-23 18:56:41 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2014-03-23 18:56:41 +0000
commit1448b469723c90a7c492ccc27ac5d327c7ad6ecf (patch)
treed8c3e0cfa5f424a9a62b2503dc77a90b6e5046a9 /dev-java
parentnetbeans-ide: new ebuild for version 8.0 (diff)
downloadhistorical-1448b469723c90a7c492ccc27ac5d327c7ad6ecf.tar.gz
historical-1448b469723c90a7c492ccc27ac5d327c7ad6ecf.tar.bz2
historical-1448b469723c90a7c492ccc27ac5d327c7ad6ecf.zip
netbeans-javacard: new ebuild for version 8.0
Package-Manager: portage-2.2.9-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xCFE47E2F
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/netbeans-javacard/ChangeLog10
-rw-r--r--dev-java/netbeans-javacard/Manifest5
-rw-r--r--dev-java/netbeans-javacard/netbeans-javacard-8.0.ebuild134
3 files changed, 146 insertions, 3 deletions
diff --git a/dev-java/netbeans-javacard/ChangeLog b/dev-java/netbeans-javacard/ChangeLog
index 0be9f3dc9c96..16e897670dd8 100644
--- a/dev-java/netbeans-javacard/ChangeLog
+++ b/dev-java/netbeans-javacard/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/netbeans-javacard
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-javacard/ChangeLog,v 1.19 2013/10/16 09:47:56 fordfrog Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-javacard/ChangeLog,v 1.20 2014/03/23 18:56:36 fordfrog Exp $
+
+*netbeans-javacard-8.0 (23 Mar 2014)
+
+ 23 Mar 2014; Miroslav Šulc <fordfrog@gentoo.org>
+ +netbeans-javacard-8.0.ebuild:
+ new ebuild for version 8.0
*netbeans-javacard-7.4 (16 Oct 2013)
diff --git a/dev-java/netbeans-javacard/Manifest b/dev-java/netbeans-javacard/Manifest
index 843c9427c2bd..15b33aa274aa 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -11,6 +11,8 @@ DIST netbeans-7.3-201302132200-src.zip 179174245 SHA256 5be4ee16868ca3f2a73b397c
DIST netbeans-7.3-build.xml.patch.bz2 2463 SHA256 ec0a58213907f7c8656ded1ba3f21dd0a2197b6eed46d7d5ba37f6afb0ae2a79 SHA512 1f8164efab23f7fdaf7da0191f36043cc10d9a4865e38761c24c83a822d8b1b7abfb891f6072654fdfcd314f6fdf0010cb8560c2222ec07e4b4b217b91142079 WHIRLPOOL 47d8e784b65a9863d6c9c122288720544384b4f9f6815325247cf12fc2dac5678b27b72e0b7580052096957acc245b7f8f1c54b97a1877a3ba1021bf871d08dc
DIST netbeans-7.4-201310111528-src.zip 185900858 SHA256 b6c584c2091d600dcb4d10a732812864265f6ec776da11b4f700195eb3d6fd05 SHA512 424124000026e161bf91688106c0d25668869abde49b6f0fad1a2a8a9ca3b40e664f14056132f3ded43bc319056b2ac56a705c3624f175f279824cae42f9a9a2 WHIRLPOOL 0200e37fc6ca22d8e679327c55fb2fec2fc030106e3802cdec2dde2766df354faec3659a4867cbfc908c673c1a770f59b37c6b4b9cd391b3844d6af11cafc01a
DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
+DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
+DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
EBUILD netbeans-javacard-7.0.1.ebuild 5082 SHA256 7e621a9e5e4edb5bd29d104ba0f4b922b899fcaa51ced8c0a01a797667ddeece SHA512 6b38bfb5f89b8a15956ee9b5238a79ef88817fcc9ac82fa370ea2596122d4a1dba4f728592227fcd9ec30fbbda65bb53342535a79a981b8d1639e305a8311064 WHIRLPOOL 1517ca2c94b3f645c69af15f26e09cd6afb0567b87f52c0611698320b37d225b7e632a8aaa7af9adf705c3ed3d9316a2d330b9403f3114ab0ca0d87e5cbbf854
EBUILD netbeans-javacard-7.1.1.ebuild 5091 SHA256 783af01b7ac1c50b4a85696df116b6b29ef8df3c6861b0b8afa11dd68f6de119 SHA512 e6b65e7aad6ee12a613ac6b3879167e9fcaa0e2f155d13b46d64d36c1cdd4bbf41d84b83a242d44c76b9a077726685cd73545560cbd47218fb666ca7d22820a9 WHIRLPOOL c1fa4704550fa11a72a8b4aec2c5a539f8441b29de5d0d30892a820fc8aae5da3939659a315576b362ade4cba3457762da2010070ca76f6a83da80e77c75ec3b
@@ -18,5 +20,6 @@ EBUILD netbeans-javacard-7.1.2.ebuild 5085 SHA256 e34aa341afaa1a93ec23e2c390c6ab
EBUILD netbeans-javacard-7.2.ebuild 4830 SHA256 48a5a5bf5750a39472057141b3db4d543a626954766c637c8fdad0990f6b580c SHA512 cb4486d1b059ad20c3d7a71468f31388da78362a4fb97ea2ef7b98b5591f4a666509d0e82430b39e69a0f39b87b6591c79ab27025f0c9ae9d885c900c3bd7518 WHIRLPOOL 9ee304b415d6bf9ad4ee540eb3c0ddb8191f90c72a32d7c72150cdd9ccd6e5ac024e54c7848eb68f343006860cf46e7e2162e39d2aa30e40b9d7bc446d83b83e
EBUILD netbeans-javacard-7.3.ebuild 4854 SHA256 1771f31dfb544909124e03124ccb488172871a666893888ae9763adbfda614ee SHA512 136b28a2262fe4bd2c1db2d8c2d72568987d51cee564cb4e16aa73b0995d16c65df754b28344eb3a1d7f7763c9c984c1986cf48d737543646d8e9f2863366b6b WHIRLPOOL 3b5ee0592d2eca9b6fba8f08823dc86766cf612ccb25a3b2de64ede5f680cc14cff88f9fd0b85157948becfd912bdd21a5ef2b853442d0b13409af3b6aaea305
EBUILD netbeans-javacard-7.4.ebuild 5029 SHA256 7fc0b5b965d33b325b1b028aeaddf05a15993905657baa5cce5c1d867826d006 SHA512 780b0cb049573d198aa4365f896411561cc89e637ac5a56d20b7fb915dfaa99e33348c267c9bb20ec0e7474f8861e39a88ef0b8b4c5f6b288f9461288fc1e968 WHIRLPOOL 70018ed09eacde4a3cd54748da45ef87272d1dfb289908554a466e8008c62c6619224d442e381e1ce856a0a2db9d0a8971742ed54e7e97edf2973b3d56622d92
-MISC ChangeLog 2876 SHA256 dfa35cca46a3bb311ac6c82f27e853e100f6c0b17fcc50a97fd1495b5b68641a SHA512 607e929667400d88ad83fea75732be3dd95e9cfe090f051a8c460edbb0e3cb74365125225ec40516655a49520b303f7617092078281917142a5fb3a17877aae0 WHIRLPOOL f78679bc61d0bdab74f73267a66864a8bab6a00d4bfa5b5f498d68f8f6cb0457ac13face3df233edb5f8f825709607790fc628457f9b7cfe7b84dfe5f3dcf22f
+EBUILD netbeans-javacard-8.0.ebuild 5023 SHA256 8f57e1dcb8aac8e49800a1e165003ed4c3b7e563b117422ebad75f3ca0cd4485 SHA512 1abfdfc63b49dc409f53f1b7f85fa5f606559127b3f430812853ba2d597500218d0d8e733f8e20c377127fb4ca822c4dad007bba83720af51a8c8840f01e1579 WHIRLPOOL e6ee489dd776b16f8cf28d0b8d6e0bb424c32b7c60f6c393bda0e157f8709669b352ec6973164d49abe90a96f71be2a2230201795b9902fa7d2648c566215fae
+MISC ChangeLog 3029 SHA256 3d692c2f93e25c9d4a75079881db3a83cfbb3fabd99591919d5f20eb9d1ca12b SHA512 71fea63f692ca0b52ae68b39f1e0ca1a4d93c9f4a46cb1f5f82219570f81c4d49ee537be99e756d279c84a43f791fb5c71a3830f286dce69d0e3151e17dab5ba WHIRLPOOL fb9423e7201d71addc663d9297dd02e98c227e978f8ce8202d5f92aa2aba764f5528a00dcdfef2b0b0b20e26a64b4b07cffba15f6a864b4bc7fa23339410e605
MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43
diff --git a/dev-java/netbeans-javacard/netbeans-javacard-8.0.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-8.0.ebuild
new file mode 100644
index 000000000000..e5ef80d61b3b
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-8.0.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-javacard/netbeans-javacard-8.0.ebuild,v 1.1 2014/03/23 18:56:36 fordfrog Exp $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaCard Cluster"
+HOMEPAGE="http://netbeans.org/projects/javacard"
+SLOT="8.0"
+SOURCE_URL="http://download.netbeans.org/netbeans/8.0/final/zip/netbeans-8.0-201403101706-src.zip"
+SRC_URI="${SOURCE_URL}
+ http://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.0-build.xml.patch.bz2
+ http://hg.netbeans.org/binaries/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar
+ http://hg.netbeans.org/binaries/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar
+ http://hg.netbeans.org/binaries/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+ ~dev-java/netbeans-ide-${PV}
+ ~dev-java/netbeans-java-${PV}
+ ~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+ app-arch/unzip
+ ${CDEPEND}
+ dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+ ${CDEPEND}
+ dev-java/ant-contrib:0
+ dev-java/asm:3
+ dev-java/bcel:0
+ dev-java/commons-cli:1
+ dev-java/commons-codec:0
+ dev-java/commons-httpclient:3
+ dev-java/commons-logging:0"
+
+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.javacard -Dext.binaries.downloaded=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-8.0-build.xml.patch.bz2
+
+ pushd "${S}" >/dev/null || die
+ ln -s "${DISTDIR}"/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar javacard.ri.platform/external/anttasks.jar || die
+ ln -s "${DISTDIR}"/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar javacard.apdu.io/external/apduio.jar || die
+ ln -s "${DISTDIR}"/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip javacard.ri.bundle/external/javacard_ri.zip || die
+ popd >/dev/null || die
+}
+
+src_prepare() {
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-8.0-build.xml.patch
+
+ # Support for custom patches
+ if [ -n "${NETBEANS80_PATCHES_DIR}" -a -d "${NETBEANS80_PATCHES_DIR}" ] ; then
+ local files=`find "${NETBEANS80_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
+
+ einfo "Linking in other clusters..."
+ mkdir "${S}"/nbbuild/netbeans || die
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+ ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+ cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.extide.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-java-${SLOT} java || die
+ cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+ touch nb.cluster.java.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/javacard >/dev/null || die
+
+ insinto ${INSTALL_DIR}
+
+ grep -E "/javacard$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+ doins -r *
+ rm -fr "${D}"/${INSTALL_DIR}/bin || die
+
+ popd >/dev/null || die
+
+ local instdir=${INSTALL_DIR}/JCDK3.0.2_ConnectedEdition/lib
+ pushd "${D}"/${instdir} >/dev/null || die
+ rm ant-contrib-1.0b3.jar && dosym /usr/share/ant-contrib/lib/ant-contrib.jar ${instdir}/ant-contrib-1.0b3.jar || die
+ rm asm-all-3.1.jar && dosym /usr/share/asm-3/lib/asm.jar ${instdir}/asm-all-3.1.jar || die
+ rm bcel-5.2.jar && dosym /usr/share/bcel/lib/bcel.jar ${instdir}/bcel-5.2.jar || die
+ rm commons-cli-1.0.jar && dosym /usr/share/commons-cli-1/lib/commons-cli.jar ${instdir}/commons-cli-1.0.jar || die
+ rm commons-codec-1.3.jar && dosym /usr/share/commons-codec/lib/commons-codec.jar ${instdir}/commons-codec-1.3.jar || die
+ rm commons-httpclient-3.0.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.0.jar || die
+ rm commons-logging-1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.jar || die
+ popd >/dev/null || die
+
+ dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/javacard
+}