diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2014-03-23 18:59:45 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2014-03-23 18:59:45 +0000 |
commit | b9fc9f6fca99e842dfed0e58d40d7212d02aaee6 (patch) | |
tree | 0db3c90a77d5ea96c57bade843709e43dd10c908 /dev-java | |
parent | netbeans-profiler: new ebuild for version 8.0 (diff) | |
download | historical-b9fc9f6fca99e842dfed0e58d40d7212d02aaee6.tar.gz historical-b9fc9f6fca99e842dfed0e58d40d7212d02aaee6.tar.bz2 historical-b9fc9f6fca99e842dfed0e58d40d7212d02aaee6.zip |
netbeans-webcommon: 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-webcommon/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/netbeans-webcommon/Manifest | 5 | ||||
-rw-r--r-- | dev-java/netbeans-webcommon/netbeans-webcommon-8.0.ebuild | 118 |
3 files changed, 130 insertions, 3 deletions
diff --git a/dev-java/netbeans-webcommon/ChangeLog b/dev-java/netbeans-webcommon/ChangeLog index 91714c5cbad4..516e60f4b794 100644 --- a/dev-java/netbeans-webcommon/ChangeLog +++ b/dev-java/netbeans-webcommon/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/netbeans-webcommon -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-webcommon/ChangeLog,v 1.5 2013/10/16 09:52:19 fordfrog Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-webcommon/ChangeLog,v 1.6 2014/03/23 18:59:40 fordfrog Exp $ + +*netbeans-webcommon-8.0 (23 Mar 2014) + + 23 Mar 2014; Miroslav Šulc <fordfrog@gentoo.org> + +netbeans-webcommon-8.0.ebuild: + new ebuild for version 8.0 *netbeans-webcommon-7.4 (16 Oct 2013) diff --git a/dev-java/netbeans-webcommon/Manifest b/dev-java/netbeans-webcommon/Manifest index 8ac00423fefe..dfb5fbd2a279 100644 --- a/dev-java/netbeans-webcommon/Manifest +++ b/dev-java/netbeans-webcommon/Manifest @@ -12,8 +12,11 @@ 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 EBUILD netbeans-webcommon-7.2.ebuild 2779 SHA256 6ac012fa2dadead53a10d176f84e87666f8395cc4243b11932ba8b7bcd7488b7 SHA512 59ff11e69943035a8cf8538b82ba2c905bfeffe63f3269a460c338f3ecca24869cdbe53b1dcb045fd3478d8fceedf0a18f389a49c58daa47aa73122dbac385af WHIRLPOOL 12cef0d7cb3c07843f81743a0d42ddc84f4953e249a870aed2321ce365fad4b864da266862f44c8811db3d86639cda43209ca9f0462b33a93948ee2176b65a03 EBUILD netbeans-webcommon-7.3.ebuild 3107 SHA256 8c81f3d9bf5f14ebeb1e5232c174ecd2ab4efb45896f39300f2222ccca3b4f57 SHA512 f264b640d44408c536cb3e83b6fda6324548121e2cb0b7ce84cb21c57f92caf93a1f1d6ec42b8114bcfb5e4fa0098a809f898abf7ce29d1cf74f56c0c3d55896 WHIRLPOOL ebbdf55cbe4857183d03ba63be8c414c09f6f4fbcef6002528855880414b0907aa9f16c755a34b539446ffe1e5ba934fe83015c29f5eb332b1275aabfcc72f2a EBUILD netbeans-webcommon-7.4.ebuild 4848 SHA256 354f0acf61488f2a9ada7de4afc21c9ecd1f9eeaf91295714a8d0b860ece0090 SHA512 1a45516f3ff908840dfd7b549be674ad0f3f0a4cb37784f0cc381680f3e66d72dccf744705872c9ebfeed1fcc71d92bf91abe89cc023b3060a7163ec27c09bbf WHIRLPOOL 59be2b97f16ec7649d8df835f75764c8b39ab925dac1462f8c6b6d4ff73bcd4af5edc09d12228de2dfd477ed44350d8361e349033d9431bbf90d1075a266bd25 -MISC ChangeLog 858 SHA256 5b1df6a99a3b4fb08c48d34db9c6fb88da677e1cd8cfba55a841dbb1d312ba77 SHA512 f9419eb8efda383875a8f1f69e6181411d30dfb713ea4c3b89cc1b66beab2c51ff5420d6424f607b5a842b1c790174dcd66f680d19a13fea0356dcf1d7b8ace1 WHIRLPOOL be77f9271d0ea5c8d29109e7761e9492255a3038b93b54e5edea9be86c12f1c869e17581ffd0a4f5b730539d65500e034f3f35d4ecd8774affc0a885cd5a51eb +EBUILD netbeans-webcommon-8.0.ebuild 4842 SHA256 2042499ef549328607787080395751e7886628d9aba6607132bc7cc422dca912 SHA512 ec2b3a027c5dcb0aeb8cbad9f8d1d470e0d53faadbd9474cd16418b2587ae9902862c968c61d6c1d724caa03743c1a782b5b70d5c21255d688d3667e3a148c27 WHIRLPOOL 2b24a9dda465c7f76f3a553e3979295ca419783a4dea3b24a89dbe7cc993d5e0cdb79e241c135b90befc56865a0782d40ec344c9713a3f9a09396d0eb59904d8 +MISC ChangeLog 1013 SHA256 4546782d5c0c6c5c25426a20a5c539819de78fbcfe424984a95e203cb0df051f SHA512 50889c2f08cbf542e99548d4c8f8363cc74bdacc33b593a4cb271184d236a67f7e1e7fda519076d1202defda41ed252f0885c1c37f6bf299dd5362af920330c8 WHIRLPOOL 8285880affb59beab6bd156371f9fd7a72b965f1f23cbf8b895a11e76295a52b80318b6334728e5d3a34cabffd30e0df2384deba4f08cec3e9b7a9df131120eb MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43 diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-8.0.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-8.0.ebuild new file mode 100644 index 000000000000..47a7ddc38af0 --- /dev/null +++ b/dev-java/netbeans-webcommon/netbeans-webcommon-8.0.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-webcommon/netbeans-webcommon-8.0.ebuild,v 1.1 2014/03/23 18:59:40 fordfrog Exp $ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans Web Services Cluster" +HOMEPAGE="http://netbeans.org/" +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/20317762D93542637CD2C6123B836C8DA267DE9D-cdnjs.zip + http://hg.netbeans.org/binaries/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar + http://hg.netbeans.org/binaries/E1B4ED2DCA9B1BDE7FE6D8F4B0A0CA265BCFFC16-ios-sim + http://hg.netbeans.org/binaries/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib + http://hg.netbeans.org/binaries/9F0D0D95F57E73C0110FA023813A4F9756D543B1-libimobiledevice.4.dylib + http://hg.netbeans.org/binaries/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib + http://hg.netbeans.org/binaries/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar + http://hg.netbeans.org/binaries/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-platform-${PV} + ~dev-java/netbeans-extide-${PV} + ~dev-java/netbeans-ide-${PV}" +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + ${CDEPEND} + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.7 + ${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.webcommon -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}"/20317762D93542637CD2C6123B836C8DA267DE9D-cdnjs.zip web.clientproject.api/external/cdnjs.zip || die + ln -s "${DISTDIR}"/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar libs.plist/external/dd-plist.jar || die + ln -s "${DISTDIR}"/E1B4ED2DCA9B1BDE7FE6D8F4B0A0CA265BCFFC16-ios-sim cordova.platforms.ios/external/ios-sim || die + ln -s "${DISTDIR}"/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib cordova.platforms.ios/external/libiDeviceNativeBinding.dylib || die + ln -s "${DISTDIR}"/9F0D0D95F57E73C0110FA023813A4F9756D543B1-libimobiledevice.4.dylib cordova.platforms.ios/external/libimobiledevice.4.dylib || die + ln -s "${DISTDIR}"/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib cordova.platforms.ios/external/libplist.1.dylib || die + ln -s "${DISTDIR}"/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar libs.jstestdriver/external/libs.jstestdriver-ext.jar || die + ln -s "${DISTDIR}"/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib cordova.platforms.ios/external/libusbmuxd.2.dylib || 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-platform-${SLOT} platform || die + cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.platform.built + + 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 + + popd >/dev/null || die + + java-pkg-2_src_prepare +} + +src_install() { + pushd nbbuild/netbeans/webcommon >/dev/null || die + + insinto ${INSTALL_DIR} + grep -E "/webcommon$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + doins -r * + + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/webcommon +} |