From 7ebbd01538d3eabe5b09ebb6947bdaa988205815 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miroslav=20=C5=A0ulc?= Date: Fri, 6 Jan 2012 11:35:28 +0000 Subject: [PATCH] dev-java/netbeans-php: version bump Package-Manager: portage-2.1.10.44/cvs/Linux x86_64 --- dev-java/netbeans-php/ChangeLog | 9 +- dev-java/netbeans-php/netbeans-php-7.1.ebuild | 118 ++++++++++++++++++ dev-java/netbeans-profiler/Manifest | 5 +- 3 files changed, 129 insertions(+), 3 deletions(-) create mode 100644 dev-java/netbeans-php/netbeans-php-7.1.ebuild diff --git a/dev-java/netbeans-php/ChangeLog b/dev-java/netbeans-php/ChangeLog index d3d33a0d9829..371899c479f2 100644 --- a/dev-java/netbeans-php/ChangeLog +++ b/dev-java/netbeans-php/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/netbeans-php -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-php/ChangeLog,v 1.7 2011/10/25 00:24:07 fordfrog Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-php/ChangeLog,v 1.8 2012/01/06 11:35:28 fordfrog Exp $ + +*netbeans-php-7.1 (06 Jan 2012) + + 06 Jan 2012; Miroslav Å ulc +netbeans-php-7.1.ebuild: + Version bump 25 Oct 2011; Miroslav Å ulc netbeans-php-7.0.1.ebuild: Filtering ecj compilers as the package does not compile using them diff --git a/dev-java/netbeans-php/netbeans-php-7.1.ebuild b/dev-java/netbeans-php/netbeans-php-7.1.ebuild new file mode 100644 index 000000000000..c53ad638c9c5 --- /dev/null +++ b/dev-java/netbeans-php/netbeans-php-7.1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-php/netbeans-php-7.1.ebuild,v 1.1 2012/01/06 11:35:28 fordfrog Exp $ + +EAPI="4" +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans PHP Cluster" +HOMEPAGE="http://netbeans.org/projects/php" +SLOT="7.1" +SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1/final/zip/netbeans-7.1-201112071828-src.zip" +SRC_URI="${SOURCE_URL} + http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2 + http://hg.netbeans.org/binaries/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip + http://hg.netbeans.org/binaries/BB8CBBD70CCD7ABF40943487C48512D82FB01AE9-phpsigfiles.zip + http://hg.netbeans.org/binaries/40BC40A6E6DBD598900E8FAB87E460FCC601275C-predefined_vars.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-platform-${PV} + ~dev-java/netbeans-websvccommon-${PV} + dev-java/javacup:0" +DEPEND="virtual/jdk:1.6 + app-arch/unzip + ${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.php -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-9999-r1-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip php.phpdoc.documentation/external/phpdocdesc.zip || die + ln -s "${DISTDIR}"/BB8CBBD70CCD7ABF40943487C48512D82FB01AE9-phpsigfiles.zip php.project/external/phpsigfiles.zip || die + ln -s "${DISTDIR}"/40BC40A6E6DBD598900E8FAB87E460FCC601275C-predefined_vars.zip php.editor/external/predefined_vars.zip || die + popd >/dev/null || die +} + +src_prepare() { + einfo "Deleting bundled class files..." + find -name "*.class" -type f | xargs rm -vf + + epatch netbeans-9999-r1-build.xml.patch + + # Support for custom patches + if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then + local files=`find "${NETBEANS9999_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 --into libs.javacup/external javacup javacup.jar java-cup-11a.jar + + einfo "Linking in other clusters..." + mkdir "${S}"/nbbuild/netbeans || die + pushd "${S}"/nbbuild/netbeans >/dev/null || die + + 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 + + ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die + cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.websvccommon.built + + popd >/dev/null || die + + java-pkg-2_src_prepare +} + +src_install() { + pushd nbbuild/netbeans/php >/dev/null || die + + insinto ${INSTALL_DIR} + + grep -E "/php$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + + doins -r * + + popd >/dev/null || die + + local instdir=${INSTALL_DIR}/modules/ext + pushd "${D}"/${instdir} >/dev/null || die + rm java-cup-11a.jar && dosym /usr/share/javacup/lib/javacup.jar ${instdir}/java-cup-11a.jar || die + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/php +} diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest index 0d591f4ef7e8..d48ff5ac6a23 100644 --- a/dev-java/netbeans-profiler/Manifest +++ b/dev-java/netbeans-profiler/Manifest @@ -1,5 +1,8 @@ DIST netbeans-7.0-build.xml-r1.patch.bz2 1344 RMD160 f8f092c93c1197ce759afbd8674ff1216d504d2d SHA1 6324909cc2dfae583f38e3544a38d1058c73a7ec SHA256 f323cb4694f6351fe47b76fa8b8b3e3f8e456e7d45ca76f9b88c5c6b90cc103f DIST netbeans-7.0.1-201107282000-src.zip 175987235 RMD160 0104cfeb656f76a7e8041e725c98cff3cc0734cf SHA1 3c5c47b60a4265a8a89d5ab688f6609a613ab1ec SHA256 8bf4dd2375bc9fd02adf64ca9066118e0392a33428232ccf3f9091b96557b9aa +DIST netbeans-7.1-201112071828-src.zip 171732619 RMD160 8dcfac6a6f19edded24526c327e77b17d0a4bf0a SHA1 7438ff91225683f47bc4c0a3faee437989f03e5b SHA256 245c95fc9d78a1b38dd60fb52d256ca933efd043e2a96f26089f8a80d043d53c +DIST netbeans-9999-r1-build.xml.patch.bz2 2379 RMD160 9713acb05ca5c9000528dd195d5297e84103df2d SHA1 209945171a811e17ad52f63896cc4f5894a5ac0c SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e EBUILD netbeans-profiler-7.0.1.ebuild 3234 RMD160 1bab3fda7565e8429f670c5da0d604ec7cfb28a2 SHA1 0184f5a27d50a95e3fbedab43b8e248cd999a7f4 SHA256 e6d283bf01225547790f843221a2bde5b66e3edce822e7c6adf7096658903d29 -MISC ChangeLog 1174 RMD160 630a055e829ee83335215389ece15ce3b77b72f9 SHA1 3901cc976381ed3605f7053f8765982247fa7e4a SHA256 1c03b723e9f70818fc5984dd62affd88cbce6f235868ffa323edd472735c7451 +EBUILD netbeans-profiler-7.1.ebuild 3237 RMD160 9e15191b623b67ee3a198f84897ae68754bb8f00 SHA1 bf0434958f9072e55689de952678009b1a151b87 SHA256 cb3ebacbad9c6cf33bd48cb78725436d16a2438ae938272b7cce6d7594700511 +MISC ChangeLog 1313 RMD160 4c29d02772cfa5115e669971aa1bf7a7ef8860aa SHA1 e90bcf22c8adb1a00b8d110e0efd7c4bd8e355f4 SHA256 2df01a3d88ebee8753b1b75c1a3949546d20da1da34a6da50aa50c321c673583 MISC metadata.xml 251 RMD160 c109b2aca38527553ce33f0d84b45662745a7bce SHA1 3089a1ae4346cc3b7c5c37df7fbc253033f542d8 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 -- 2.26.2