summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2011-10-03 21:52:22 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2011-10-03 21:52:22 +0000
commit392540ae855e048a9b1369a0449cdaaa84cc747b (patch)
treef03fc492cb44cf7b7e91f2824d68c9a801c2262d
parentarm stable, bug #382861 (diff)
downloadhistorical-392540ae855e048a9b1369a0449cdaaa84cc747b.tar.gz
historical-392540ae855e048a9b1369a0449cdaaa84cc747b.tar.bz2
historical-392540ae855e048a9b1369a0449cdaaa84cc747b.zip
dev-util/netbeans: updated translation sources
Package-Manager: portage-2.1.10.20/cvs/Linux x86_64
-rw-r--r--dev-util/netbeans/ChangeLog7
-rw-r--r--dev-util/netbeans/Manifest4
-rw-r--r--dev-util/netbeans/netbeans-7.0.1-r1.ebuild250
3 files changed, 259 insertions, 2 deletions
diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog
index 66447ef1a10b..73b5933d829c 100644
--- a/dev-util/netbeans/ChangeLog
+++ b/dev-util/netbeans/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/netbeans
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.157 2011/09/16 19:58:43 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.158 2011/10/03 21:52:22 fordfrog Exp $
+
+*netbeans-7.0.1-r1 (03 Oct 2011)
+
+ 03 Oct 2011; Miroslav Šulc <fordfrog@gentoo.org> +netbeans-7.0.1-r1.ebuild:
+ Updated translation sources
16 Sep 2011; Miroslav Šulc <fordfrog@gentoo.org> netbeans-7.0.1.ebuild:
Building NetBeans is supported only with JDK 1.6
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index cdc50f9a8ed5..4d2582a67679 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -24,12 +24,14 @@ DIST netbeans-6.9.tar.bz2 258605390 RMD160 30f1bb44ba024590f39af8c421eed5a0f3bc9
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-l10n-7.0-20110413.tar.bz2 13405280 RMD160 146a1e4e72e44659fa547bec00712f55063e31ab SHA1 04d91b859a64405c4b71821a4d0ca543f9ab523e SHA256 30c2008d5b7d3b03a1d80b32b681e473fdf89a907c564a1ca4b4dac2fcea7eab
+DIST netbeans-l10n-7.0.1-20110930.tar.bz2 13491185 RMD160 1db97d282a59bbee490fa06046e12c5bc8fb3437 SHA1 fcbe2052e0ee4c9e85ec4819e3c723c53dd0a01d SHA256 ba1b83dd4a543918b7147304d8bba6e35d39fe4e567432766e4749b100c9b2a3
EBUILD netbeans-6.5-r4.ebuild 39583 RMD160 158952f34096de9267be8fa499946745b50d5ea6 SHA1 57b3d721863a47c379a7fd7b744551671479dbf5 SHA256 d06e67beae10c0c1e4dcf82da3b3e597ca56cfc22ce07e64c613c6369d7f2924
EBUILD netbeans-6.7.1.ebuild 42302 RMD160 97684afb2c5ca20d654e03fb44c75918f5bb4f03 SHA1 04502d6b1a6a00eb98f1d3f306aa8d4186d7b7b2 SHA256 367aad17c9ed274ba549a53b4a1a7dacc21534eebb588ab4baf61d7db26c27d1
EBUILD netbeans-6.8-r1.ebuild 43136 RMD160 1ed63a12ce46beb4838913c8f65690aaec9d2a3a SHA1 bf2af027925686c64e58a34d60bbe7fada2cac4a SHA256 5b34a9b43e28cefa7518645f2850f480e25701e09b9cbb4afb304cdb893d3d80
EBUILD netbeans-6.9-r2.ebuild 46059 RMD160 a76d01fb0de80eb5151602e6d7abcf9108b96a29 SHA1 1e8de42b3a199b922e8d1ebe1ca84e8e685a8ed0 SHA256 85f98f30743b35af4bfa9d16706c9c9ebd4d7b0d6c5bb0d385a21b1e1c76326d
EBUILD netbeans-6.9-r3.ebuild 47312 RMD160 46785d484ca8ae6fb3593f43a3bb9fb0e4c91f2b SHA1 d56cb739b6851485809b3b86fda1388682408456 SHA256 1c06cbc5f876129bb4b1c9af05d0cf4f52dfb219b5136b0c8222f3e987ae4282
EBUILD netbeans-6.9.1.ebuild 49397 RMD160 7c445a74eeb28d950321ae931f0a3b5ba1ab871c SHA1 29c689461640e577bb9dff56e4089ed60d81041f SHA256 39eb01abe8cefbb903c70716d4ebf4de7d77022ad0d182a4f944d72ad454e609
+EBUILD netbeans-7.0.1-r1.ebuild 6819 RMD160 b132953151a95878e8853447df3f2d6464525440 SHA1 12aff87b58ca5298d3bc47399e7ccfa59971d30d SHA256 1a5f1d075b0ce4f17cbdb502b6ee159953dc75374cb9b59eedbf5bae442272fd
EBUILD netbeans-7.0.1.ebuild 6814 RMD160 2cf7618c1c1c8cb22268d079993d9b8144bd1089 SHA1 26ced459d47510f6eb3bf8f402b0e66957d7cf95 SHA256 d54a27f221fe5ee2f7064d0a6be29992bb52f97176c8f769908c245c9fb86492
-MISC ChangeLog 29409 RMD160 6fc4c821a064efc40dd7cd5c19efd8a70c052fb4 SHA1 09ad82cac26b47700c7da0842c00e7e1e195729b SHA256 38069e99fe34c9351d4df71de9b11cbf247326ae6d399ebd9fcf62b05bcb5823
+MISC ChangeLog 29553 RMD160 aaaf3e5921bedf39d334d763db4f3e685d8c63f9 SHA1 0f8df60714bcd767bbfcc3be3c877e65b610806a SHA256 a07f154311ccbbdc351cb74b855f96e79239071aae70c6c86550bdc45225a527
MISC metadata.xml 1322 RMD160 04ba87bda7c1a2322721b78b5e071760be5686f7 SHA1 2a9a7b60c4da843a985ab38c0e5deb8654a62952 SHA256 2edbcc66e3e4449c48a6aae87e223c396acaf0a81483d2f7106ebf7a909c2af5
diff --git a/dev-util/netbeans/netbeans-7.0.1-r1.ebuild b/dev-util/netbeans/netbeans-7.0.1-r1.ebuild
new file mode 100644
index 000000000000..b293598ba892
--- /dev/null
+++ b/dev-util/netbeans/netbeans-7.0.1-r1.ebuild
@@ -0,0 +1,250 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-7.0.1-r1.ebuild,v 1.1 2011/10/03 21:52:22 fordfrog Exp $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE"
+HOMEPAGE="http://netbeans.org/"
+SLOT="7.0"
+SOURCE_URL="http://download.netbeans.org/netbeans/7.0.1/final/zip/netbeans-7.0.1-201107282000-src.zip"
+PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-${SLOT}-build.xml-r1.patch.bz2"
+L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-7.0.1-20110930.tar.bz2"
+ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
+SRC_URI="linguas_af? ( ${ALL_URLS} )
+ linguas_ar? ( ${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_sq? ( ${ALL_URLS} )
+ linguas_sr? ( ${ALL_URLS} )
+ linguas_sv? ( ${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_mobility
+ netbeans_modules_php
+ netbeans_modules_profiler
+ +netbeans_modules_websvccommon"
+IUSE_LINGUAS="
+ linguas_af
+ linguas_ar
+ 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_sq
+ linguas_sr
+ linguas_sv
+ 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_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
+}
+
+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-7.0-build.xml-r1.patch.bz2
+ fi
+}
+
+src_prepare() {
+ if [ -n "${NBLOCALES}" ] ; then
+ einfo "Deleting bundled class files..."
+ find -name "*.class" -type f | xargs rm -vf
+
+ epatch netbeans-7.0-build.xml-r1.patch
+
+ # Support for custom patches
+ if [ -n "${NETBEANS70_PATCHES_DIR}" -a -d "${NETBEANS70_PATCHES_DIR}" ] ; then
+ local files=`find "${NETBEANS70_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 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
+}