diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2012-04-26 21:51:37 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2012-04-26 21:51:37 +0000 |
commit | 465e3badd68ec604d1d391a4c5863d954ed37f08 (patch) | |
tree | 719ffa12e9053d6b5aec4fbddbd5673b0052bae7 /dev-util/netbeans | |
parent | dev-java/netbeans-websvccommon: version bump in 7.1 slot (diff) | |
download | historical-465e3badd68ec604d1d391a4c5863d954ed37f08.tar.gz historical-465e3badd68ec604d1d391a4c5863d954ed37f08.tar.bz2 historical-465e3badd68ec604d1d391a4c5863d954ed37f08.zip |
dev-util/netbeans: version bump in 7.1 slot
Package-Manager: portage-2.1.10.57/cvs/Linux x86_64
Diffstat (limited to 'dev-util/netbeans')
-rw-r--r-- | dev-util/netbeans/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/netbeans/Manifest | 4 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-7.1.2.ebuild | 260 |
3 files changed, 269 insertions, 2 deletions
diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog index 4b9a689040a6..cbf4bc2c810a 100644 --- a/dev-util/netbeans/ChangeLog +++ b/dev-util/netbeans/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/netbeans # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.162 2012/03/05 14:21:47 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.163 2012/04/26 21:51:37 fordfrog Exp $ + +*netbeans-7.1.2 (26 Apr 2012) + + 26 Apr 2012; Miroslav Šulc <fordfrog@gentoo.org> +netbeans-7.1.2.ebuild: + Version bump in 7.1 slot *netbeans-7.1.1 (05 Mar 2012) diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest index b3d4efecb484..724739c0c7bb 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -5,11 +5,13 @@ DIST netbeans-6.8-l10n-20091209164706.tar.bz2 11453127 RMD160 2cff6a0d78aa57d8b4 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.1-201203012225-src.zip 172146133 RMD160 2c8f5798bab20b2f219cbe07931776191470a5e0 SHA1 a2d1b0fa5550d0071cd45f79998851fdd4516f79 SHA256 a8ff48a5837f7952cf305d70b511c4abb77d6f1639fc7de1578aac75274450d4 +DIST netbeans-7.1.2-201204101705-src.zip 172346251 RMD160 483068b4dceff3a82abd6b183c6675bf21ce7f00 SHA1 5bfb0ef3cc8ef08c2b20bddfcff91f59417f7478 SHA256 95df26a2eafdc88887a835b3abcf930fd0e72c1639c3e0bfceb9489e44c5865c DIST netbeans-9999-r1-build.xml.patch.bz2 2379 RMD160 9713acb05ca5c9000528dd195d5297e84103df2d SHA1 209945171a811e17ad52f63896cc4f5894a5ac0c SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e DIST netbeans-l10n-7.0.1-20110930.tar.bz2 13491185 RMD160 1db97d282a59bbee490fa06046e12c5bc8fb3437 SHA1 fcbe2052e0ee4c9e85ec4819e3c723c53dd0a01d SHA256 ba1b83dd4a543918b7147304d8bba6e35d39fe4e567432766e4749b100c9b2a3 DIST netbeans-l10n-7.1.1-20120214091350.tar.bz2 12586999 RMD160 c9eb2ad1c262b94479b511563b4ffd743445ffb2 SHA1 5df1523cddbe1bb2b7114b2c4ec00e28c3269721 SHA256 3f104bffac464143f2efe96824a1e1c796e16d568fb39c9719152f84248e236c EBUILD netbeans-6.8-r1.ebuild 43136 RMD160 1ed63a12ce46beb4838913c8f65690aaec9d2a3a SHA1 bf2af027925686c64e58a34d60bbe7fada2cac4a SHA256 5b34a9b43e28cefa7518645f2850f480e25701e09b9cbb4afb304cdb893d3d80 EBUILD netbeans-7.0.1-r2.ebuild 6842 RMD160 0cd4f3008e0188fce526463083ca518e2008e529 SHA1 b8b2cb5805b3f6a68db9845f1aae99b582ee11df SHA256 9342c08914553a40cdd4aa54c82a40340885569ef6c9b39166021e5474da7a67 EBUILD netbeans-7.1.1.ebuild 7079 RMD160 34a6ca883ccc7056ee49577120cbccfa5937f14f SHA1 0ad68739a6adc1a7dbfb68556ee776241d92914e SHA256 818c95b243acebc0fdbe0c945929b975afe0434a1df2c6b10bcc1d11a586b3de -MISC ChangeLog 30752 RMD160 2a19fd742cc8a722c4076822eee58eaf3f51bd6a SHA1 dff308349e91acd0175aa63e1b5f17f2fd3594f2 SHA256 b3480a06f132db1b5e518f6adedd2ee09f6ee13aa405c5e26d4c57b6ff034f39 +EBUILD netbeans-7.1.2.ebuild 7079 RMD160 ee6281cff848c5df549ee1ad02daba0cf070f847 SHA1 83bec3c99226a548e41b104606b5678cc4936315 SHA256 dfb2fa2611414d4ed1bc90f9cf4d3bcbd0ad9efc5a43e717d80b7cbebb7f8f60 +MISC ChangeLog 30887 RMD160 5b6f346c98ada4b1cf1fa4472e24a7661fb487bb SHA1 8e92bd352c8a93d1bbc00788e9d36e5bd73320b7 SHA256 f4c1df0b68c026935824b17eb19ef6bae4d657cb1a43e0d85c467bbe63fb618e MISC metadata.xml 1222 RMD160 a5a0ca131ea1c52fa8c3efa9a3fecbddb918a0cc SHA1 44874856f49f4789a19962595493d50260333fb1 SHA256 08bcc20abdc5d2499dedd8695247221c667747bb19a75e77034ed34edbceb9b9 diff --git a/dev-util/netbeans/netbeans-7.1.2.ebuild b/dev-util/netbeans/netbeans-7.1.2.ebuild new file mode 100644 index 000000000000..8430e6130734 --- /dev/null +++ b/dev-util/netbeans/netbeans-7.1.2.ebuild @@ -0,0 +1,260 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-7.1.2.ebuild,v 1.1 2012/04/26 21:51:37 fordfrog Exp $ + +EAPI="4" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Netbeans IDE" +HOMEPAGE="http://netbeans.org/" +SLOT="7.1" +SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip" +PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2" +L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-7.1.1-20120214091350.tar.bz2" +ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" +SRC_URI="linguas_af? ( ${ALL_URLS} ) + linguas_ar? ( ${ALL_URLS} ) + linguas_bg? ( ${ALL_URLS} ) + linguas_ca? ( ${ALL_URLS} ) + linguas_cs? ( ${ALL_URLS} ) + linguas_de? ( ${ALL_URLS} ) + linguas_el? ( ${ALL_URLS} ) + linguas_es? ( ${ALL_URLS} ) + linguas_fr? ( ${ALL_URLS} ) + linguas_gl? ( ${ALL_URLS} ) + linguas_hi_IN? ( ${ALL_URLS} ) + linguas_id? ( ${ALL_URLS} ) + linguas_it? ( ${ALL_URLS} ) + linguas_ja? ( ${ALL_URLS} ) + linguas_ko? ( ${ALL_URLS} ) + linguas_lt? ( ${ALL_URLS} ) + linguas_nl? ( ${ALL_URLS} ) + linguas_pl? ( ${ALL_URLS} ) + linguas_pt_BR? ( ${ALL_URLS} ) + linguas_pt_PT? ( ${ALL_URLS} ) + linguas_ro? ( ${ALL_URLS} ) + linguas_ru? ( ${ALL_URLS} ) + linguas_si? ( ${ALL_URLS} ) + linguas_sq? ( ${ALL_URLS} ) + linguas_sr? ( ${ALL_URLS} ) + linguas_sv? ( ${ALL_URLS} ) + linguas_ta_IN? ( ${ALL_URLS} ) + linguas_tl? ( ${ALL_URLS} ) + linguas_tr? ( ${ALL_URLS} ) + linguas_vi? ( ${ALL_URLS} ) + linguas_zh_CN? ( ${ALL_URLS} ) + linguas_zh_TW? ( ${ALL_URLS} ) +" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE_NETBEANS_MODULES=" + +netbeans_modules_apisupport + netbeans_modules_cnd + netbeans_modules_dlight + netbeans_modules_enterprise + netbeans_modules_ergonomics + netbeans_modules_groovy + +netbeans_modules_java + netbeans_modules_javacard + +netbeans_modules_javafx + netbeans_modules_mobility + netbeans_modules_php + +netbeans_modules_profiler + +netbeans_modules_websvccommon" +IUSE_LINGUAS=" + linguas_af + linguas_ar + linguas_bg + linguas_ca + linguas_cs + linguas_de + linguas_el + linguas_es + linguas_fr + linguas_gl + linguas_hi_IN + linguas_id + linguas_it + linguas_ja + linguas_ko + linguas_lt + linguas_nl + linguas_pl + linguas_pt_BR + linguas_pt_PT + linguas_ro + linguas_ru + linguas_si + linguas_sq + linguas_sr + linguas_sv + linguas_ta_IN + linguas_tl + linguas_tr + linguas_vi + linguas_zh_CN + linguas_zh_TW" +IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_LINGUAS}" +S="${WORKDIR}" + +DEPEND="virtual/jdk:1.6 + dev-java/javahelp:0" +RDEPEND=">=virtual/jdk-1.6 + ~dev-java/netbeans-harness-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-nb-${PV} + ~dev-java/netbeans-platform-${PV} + netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) + netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) + netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) + netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) + netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) + netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) + netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) + netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) + netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) + netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) + netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) + netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) + netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) + doc? ( ~dev-java/netbeans-javadoc-${PV} )" +JAVA_PKG_BSFIX="off" +NBLOCALES="" + +pkg_setup() { + for lingua in ${IUSE_LINGUAS} ; do + local lang=${lingua/linguas_/} + + if [[ "${lang}" = "ar" ]] ; then + lang="ar_EG,ar_SA" + elif [[ "${lang}" = "es" ]] ; then + lang="es,es_CO" + elif [[ "${lang}" = "gl" ]] ; then + lang="gl_ES" + elif [[ "${lang}" = "id" ]] ; then + lang="in_ID" + elif [[ "${lang}" = "nl" ]] ; then + lang="nl_BE,nl_NL" + elif [[ "${lang}" = "tl" ]] ; then + lang="fil_PH" + fi + + if use ${lingua} ; then + if [ -z "${NBLOCALES}" ] ; then + NBLOCALES="${lang}" + else + NBLOCALES="${NBLOCALES},${lang}" + fi + fi + done + + java-pkg-2_pkg_setup +} + +src_unpack() { + if [ -n "${NBLOCALES}" ] ; then + unpack $(basename ${SOURCE_URL}) + unpack $(basename ${L10N_URL}) + + einfo "Deleting bundled jars..." + find -name "*.jar" -type f -delete + + unpack netbeans-9999-r1-build.xml.patch.bz2 + fi +} + +src_prepare() { + if [ -n "${NBLOCALES}" ] ; then + 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 + fi + + java-pkg-2_src_prepare +} + +src_compile() { + if [ -n "${NBLOCALES}" ] ; then + einfo "Compiling support for locales: ${NBLOCALES}" + eant -f nbbuild/build.xml bootstrap || die + eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ + -f l10n/build.xml build || die + fi +} + +src_install() { + if [ -n "${NBLOCALES}" ] ; then + pushd "${S}"/nbbuild/netbeans >/dev/null || die + + for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler websvccommon ; do + if [ -d "${cluster}" ] ; then + insinto /usr/share/netbeans-${cluster}-${SLOT} + doins -r ${cluster}/* + fi + done + + if [ -d nb ] ; then + insinto /usr/share/netbeans-nb-${SLOT}/nb + doins -r nb/* + fi + + popd >/dev/null || die + fi +} + +pkg_postinst() { + if [ -n "${NBLOCALES}" ] ; then + einfo "Netbeans automatically starts with the locale you have set in your user profile, if" + einfo "the locale is built for Netbeans." + einfo "If you want to force specific locale, use --locale argument, for example:" + einfo "${PN}-${SLOT} --locale de" + einfo "${PN}-${SLOT} --locale pt:BR" + fi + + if use linguas_ar ; then + einfo + einfo "You selected Arabic locale so you can choose either ar:EG or ar:SA variant." + fi + + if use linguas_es ; then + einfo + einfo "You selected Spanish locale so you can choose either es or es:CO variant." + fi + + if use linguas_gl ; then + einfo + einfo "You selected Galician locale which has locale code gl:ES in Netbeans." + fi + + if use linguas_id ; then + einfo + einfo "You selected Indonesian locale which has locale code in:ID in Netbeans." + fi + + if use linguas_nl ; then + einfo + einfo "You selected Dutch locale so you can choose either nl:BE or nl:NL variant." + fi + + if use linguas_tl ; then + einfo + einfo "You selected Tagalog locale which has for Filipino locale code fil:PH in Netbeans." + fi +} |