public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2016-06-25  1:14 Ulrich Müller
  0 siblings, 0 replies; 11+ messages in thread
From: Ulrich Müller @ 2016-06-25  1:14 UTC (permalink / raw
  To: gentoo-commits

commit:     aa83fc801686929008a600d1213d0449a174f0d1
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 00:43:40 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 01:14:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa83fc80

dev-util/netbeans: Migrate from LINGUAS to L10N.

The following language codes are remapped to codes used by upstream:
ar: ar_EG,ar_SA
es: es,es_CO
gl: gl_ES
hi: hi_IN
id: in_ID
nl: nl_BE,nl_NL
ta: ta_IN
tl: fil_PH

Package-Manager: portage-2.3.0

 dev-util/netbeans/netbeans-8.0.2.ebuild | 177 +++++++++++++++---------------
 dev-util/netbeans/netbeans-8.1.ebuild   | 184 ++++++++++++++++----------------
 2 files changed, 179 insertions(+), 182 deletions(-)

diff --git a/dev-util/netbeans/netbeans-8.0.2.ebuild b/dev-util/netbeans/netbeans-8.0.2.ebuild
index 6712306..4ad72ba 100644
--- a/dev-util/netbeans/netbeans-8.0.2.ebuild
+++ b/dev-util/netbeans/netbeans-8.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,38 +12,38 @@ SOURCE_URL="http://download.netbeans.org/netbeans/8.0.2/final/zip/netbeans-8.0.2
 PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.0.2-build.xml.patch.bz2"
 L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.0.1-20141110.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} )
+SRC_URI="l10n_af? ( ${ALL_URLS} )
+	l10n_ar? ( ${ALL_URLS} )
+	l10n_bg? ( ${ALL_URLS} )
+	l10n_ca? ( ${ALL_URLS} )
+	l10n_cs? ( ${ALL_URLS} )
+	l10n_de? ( ${ALL_URLS} )
+	l10n_el? ( ${ALL_URLS} )
+	l10n_es? ( ${ALL_URLS} )
+	l10n_fr? ( ${ALL_URLS} )
+	l10n_gl? ( ${ALL_URLS} )
+	l10n_hi? ( ${ALL_URLS} )
+	l10n_id? ( ${ALL_URLS} )
+	l10n_it? ( ${ALL_URLS} )
+	l10n_ja? ( ${ALL_URLS} )
+	l10n_ko? ( ${ALL_URLS} )
+	l10n_lt? ( ${ALL_URLS} )
+	l10n_nl? ( ${ALL_URLS} )
+	l10n_pl? ( ${ALL_URLS} )
+	l10n_pt-BR? ( ${ALL_URLS} )
+	l10n_pt-PT? ( ${ALL_URLS} )
+	l10n_ro? ( ${ALL_URLS} )
+	l10n_ru? ( ${ALL_URLS} )
+	l10n_si? ( ${ALL_URLS} )
+	l10n_sq? ( ${ALL_URLS} )
+	l10n_sr? ( ${ALL_URLS} )
+	l10n_sv? ( ${ALL_URLS} )
+	l10n_ta? ( ${ALL_URLS} )
+	l10n_tl? ( ${ALL_URLS} )
+	l10n_tr? ( ${ALL_URLS} )
+	l10n_vi? ( ${ALL_URLS} )
+	l10n_zh-CN? ( ${ALL_URLS} )
+	l10n_zh-TW? ( ${ALL_URLS} )
 "
 LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
 KEYWORDS="amd64 x86"
@@ -63,40 +63,40 @@ IUSE_NETBEANS_MODULES="
 	+netbeans_modules_profiler
 	netbeans_modules_webcommon
 	+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}"
+IUSE_L10N="
+	l10n_af
+	l10n_ar
+	l10n_bg
+	l10n_ca
+	l10n_cs
+	l10n_de
+	l10n_el
+	l10n_es
+	l10n_fr
+	l10n_gl
+	l10n_hi
+	l10n_id
+	l10n_it
+	l10n_ja
+	l10n_ko
+	l10n_lt
+	l10n_nl
+	l10n_pl
+	l10n_pt-BR
+	l10n_pt-PT
+	l10n_ro
+	l10n_ru
+	l10n_si
+	l10n_sq
+	l10n_sr
+	l10n_sv
+	l10n_ta
+	l10n_tl
+	l10n_tr
+	l10n_vi
+	l10n_zh-CN
+	l10n_zh-TW"
+IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}"
 S="${WORKDIR}"
 
 DEPEND="virtual/jdk:1.7
@@ -126,22 +126,20 @@ JAVA_PKG_BSFIX="off"
 NBLOCALES=""
 
 pkg_setup() {
-	for lingua in ${IUSE_LINGUAS} ; do
-		local lang=${lingua/linguas_/}
+	for lingua in ${IUSE_L10N} ; do
+		local lang=${lingua/l10n_/}
+		lang=${lang/-/_}
 
-		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
+		case ${lang} in
+			ar) lang="ar_EG,ar_SA" ;;
+			es) lang="es,es_CO"    ;;
+			gl) lang="gl_ES"       ;;
+			hi) lang="hi_IN"       ;;
+			id) lang="in_ID"       ;;
+			nl) lang="nl_BE,nl_NL" ;;
+			ta) lang="ta_IN"       ;;
+			tl) lang="fil_PH"      ;;
+		esac
 
 		if use ${lingua} ; then
 			if [ -z "${NBLOCALES}" ] ; then
@@ -232,32 +230,27 @@ pkg_postinst() {
 		einfo "${PN}-${SLOT} --locale pt:BR"
 	fi
 
-	if use linguas_ar ; then
+	if use l10n_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
+	if use l10n_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
+	if use l10n_id ; then
 		einfo
 		einfo "You selected Indonesian locale which has locale code in:ID in Netbeans."
 	fi
 
-	if use linguas_nl ; then
+	if use l10n_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
+	if use l10n_tl ; then
 		einfo
 		einfo "You selected Tagalog locale which has for Filipino locale code fil:PH in Netbeans."
 	fi

diff --git a/dev-util/netbeans/netbeans-8.1.ebuild b/dev-util/netbeans/netbeans-8.1.ebuild
index 396b5de..c302477 100644
--- a/dev-util/netbeans/netbeans-8.1.ebuild
+++ b/dev-util/netbeans/netbeans-8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,41 +12,38 @@ SOURCE_URL="http://download.netbeans.org/netbeans/8.1/final/zip/netbeans-8.1-201
 PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.1-build.xml.patch.bz2"
 L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.1-20151105.tar.bz2"
 ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
-SRC_URI="linguas_af? ( ${ALL_URLS} )
-	linguas_ar? ( ${ALL_URLS} )
-	linguas_ar_SA? ( ${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_es_CO? ( ${ALL_URLS} )
-	linguas_fil? ( ${ALL_URLS} )
-	linguas_fr? ( ${ALL_URLS} )
-	linguas_gl? ( ${ALL_URLS} )
-	linguas_hi_IN? ( ${ALL_URLS} )
-	linguas_id_ID? ( ${ALL_URLS} )
-	linguas_it? ( ${ALL_URLS} )
-	linguas_ja? ( ${ALL_URLS} )
-	linguas_ko? ( ${ALL_URLS} )
-	linguas_lt? ( ${ALL_URLS} )
-	linguas_nl_BE? ( ${ALL_URLS} )
-	linguas_nl_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_tr? ( ${ALL_URLS} )
-	linguas_vi? ( ${ALL_URLS} )
-	linguas_zh_CN? ( ${ALL_URLS} )
-	linguas_zh_TW? ( ${ALL_URLS} )
+SRC_URI="l10n_af? ( ${ALL_URLS} )
+	l10n_ar? ( ${ALL_URLS} )
+	l10n_bg? ( ${ALL_URLS} )
+	l10n_ca? ( ${ALL_URLS} )
+	l10n_cs? ( ${ALL_URLS} )
+	l10n_de? ( ${ALL_URLS} )
+	l10n_el? ( ${ALL_URLS} )
+	l10n_es? ( ${ALL_URLS} )
+	l10n_fr? ( ${ALL_URLS} )
+	l10n_gl? ( ${ALL_URLS} )
+	l10n_hi? ( ${ALL_URLS} )
+	l10n_id? ( ${ALL_URLS} )
+	l10n_it? ( ${ALL_URLS} )
+	l10n_ja? ( ${ALL_URLS} )
+	l10n_ko? ( ${ALL_URLS} )
+	l10n_lt? ( ${ALL_URLS} )
+	l10n_nl? ( ${ALL_URLS} )
+	l10n_pl? ( ${ALL_URLS} )
+	l10n_pt-BR? ( ${ALL_URLS} )
+	l10n_pt-PT? ( ${ALL_URLS} )
+	l10n_ro? ( ${ALL_URLS} )
+	l10n_ru? ( ${ALL_URLS} )
+	l10n_si? ( ${ALL_URLS} )
+	l10n_sq? ( ${ALL_URLS} )
+	l10n_sr? ( ${ALL_URLS} )
+	l10n_sv? ( ${ALL_URLS} )
+	l10n_ta? ( ${ALL_URLS} )
+	l10n_tl? ( ${ALL_URLS} )
+	l10n_tr? ( ${ALL_URLS} )
+	l10n_vi? ( ${ALL_URLS} )
+	l10n_zh-CN? ( ${ALL_URLS} )
+	l10n_zh-TW? ( ${ALL_URLS} )
 "
 LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
 KEYWORDS="~amd64 ~x86"
@@ -66,43 +63,40 @@ IUSE_NETBEANS_MODULES="
 	+netbeans_modules_profiler
 	netbeans_modules_webcommon
 	+netbeans_modules_websvccommon"
-IUSE_LINGUAS="
-	linguas_af
-	linguas_ar
-	linguas_ar_SA
-	linguas_bg
-	linguas_ca
-	linguas_cs
-	linguas_de
-	linguas_el
-	linguas_es
-	linguas_es_CO
-	linguas_fil
-	linguas_fr
-	linguas_gl
-	linguas_hi_IN
-	linguas_id_ID
-	linguas_it
-	linguas_ja
-	linguas_ko
-	linguas_lt
-	linguas_nl_BE
-	linguas_nl_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_tr
-	linguas_vi
-	linguas_zh_CN
-	linguas_zh_TW"
-IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_LINGUAS}"
+IUSE_L10N="
+	l10n_af
+	l10n_ar
+	l10n_bg
+	l10n_ca
+	l10n_cs
+	l10n_de
+	l10n_el
+	l10n_es
+	l10n_fr
+	l10n_gl
+	l10n_hi
+	l10n_id
+	l10n_it
+	l10n_ja
+	l10n_ko
+	l10n_lt
+	l10n_nl
+	l10n_pl
+	l10n_pt-BR
+	l10n_pt-PT
+	l10n_ro
+	l10n_ru
+	l10n_si
+	l10n_sq
+	l10n_sr
+	l10n_sv
+	l10n_ta
+	l10n_tl
+	l10n_tr
+	l10n_vi
+	l10n_zh-CN
+	l10n_zh-TW"
+IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}"
 S="${WORKDIR}"
 
 DEPEND=">=virtual/jdk-1.7
@@ -132,20 +126,20 @@ 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}" = "fil" ]] ; then
-			lang="fil_PH"
-		elif [[ "${lang}" = "gl" ]] ; then
-			lang="gl_ES"
-		elif [[ "${lang}" = "id_ID" ]] ; then
-			lang="in_ID"
-		fi
+	for lingua in ${IUSE_L10N} ; do
+		local lang=${lingua/l10n_/}
+		lang=${lang/-/_}
+
+		case ${lang} in
+			ar) lang="ar_EG,ar_SA" ;;
+			es) lang="es,es_CO"    ;;
+			gl) lang="gl_ES"       ;;
+			hi) lang="hi_IN"       ;;
+			id) lang="in_ID"       ;;
+			nl) lang="nl_BE,nl_NL" ;;
+			ta) lang="ta_IN"       ;;
+			tl) lang="fil_PH"      ;;
+		esac
 
 		if use ${lingua} ; then
 			if [ -z "${NBLOCALES}" ] ; then
@@ -236,18 +230,28 @@ pkg_postinst() {
 		einfo "${PN}-${SLOT} --locale pt:BR"
 	fi
 
-	if use linguas_ar ; then
+	if use l10n_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
+	if use l10n_es ; then
 		einfo
 		einfo "You selected Spanish locale so you can choose either es or es:CO variant."
 	fi
 
-	if use linguas_id_ID ; then
+	if use l10n_id ; then
 		einfo
 		einfo "You selected Indonesian locale which has locale code in:ID in Netbeans."
 	fi
+
+	if use l10n_nl ; then
+		einfo
+		einfo "You selected Dutch locale so you can choose either nl:BE or nl:NL variant."
+	fi
+
+	if use l10n_tl ; then
+		einfo
+		einfo "You selected Tagalog locale which has for Filipino locale code fil:PH in Netbeans."
+	fi
 }


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2016-06-25 11:06 Ulrich Müller
  0 siblings, 0 replies; 11+ messages in thread
From: Ulrich Müller @ 2016-06-25 11:06 UTC (permalink / raw
  To: gentoo-commits

commit:     918832aec84e778d86cb11182f773fec1ba34b54
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 11:06:34 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 11:06:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=918832ae

dev-util/netbeans: Use L10N value "fil" rather than "tl" for Filipino.

Package-Manager: portage-2.3.0

 dev-util/netbeans/netbeans-8.0.2.ebuild | 21 ++++++++-------------
 dev-util/netbeans/netbeans-8.1.ebuild   | 21 ++++++++-------------
 2 files changed, 16 insertions(+), 26 deletions(-)

diff --git a/dev-util/netbeans/netbeans-8.0.2.ebuild b/dev-util/netbeans/netbeans-8.0.2.ebuild
index 4ad72ba..5176a35 100644
--- a/dev-util/netbeans/netbeans-8.0.2.ebuild
+++ b/dev-util/netbeans/netbeans-8.0.2.ebuild
@@ -131,14 +131,14 @@ pkg_setup() {
 		lang=${lang/-/_}
 
 		case ${lang} in
-			ar) lang="ar_EG,ar_SA" ;;
-			es) lang="es,es_CO"    ;;
-			gl) lang="gl_ES"       ;;
-			hi) lang="hi_IN"       ;;
-			id) lang="in_ID"       ;;
-			nl) lang="nl_BE,nl_NL" ;;
-			ta) lang="ta_IN"       ;;
-			tl) lang="fil_PH"      ;;
+			ar)  lang="ar_EG,ar_SA" ;;
+			es)  lang="es,es_CO"    ;;
+			fil) lang="fil_PH"      ;;
+			gl)  lang="gl_ES"       ;;
+			hi)  lang="hi_IN"       ;;
+			id)  lang="in_ID"       ;;
+			nl)  lang="nl_BE,nl_NL" ;;
+			ta)  lang="ta_IN"       ;;
 		esac
 
 		if use ${lingua} ; then
@@ -249,9 +249,4 @@ pkg_postinst() {
 		einfo
 		einfo "You selected Dutch locale so you can choose either nl:BE or nl:NL variant."
 	fi
-
-	if use l10n_tl ; then
-		einfo
-		einfo "You selected Tagalog locale which has for Filipino locale code fil:PH in Netbeans."
-	fi
 }

diff --git a/dev-util/netbeans/netbeans-8.1.ebuild b/dev-util/netbeans/netbeans-8.1.ebuild
index c302477..786491e 100644
--- a/dev-util/netbeans/netbeans-8.1.ebuild
+++ b/dev-util/netbeans/netbeans-8.1.ebuild
@@ -131,14 +131,14 @@ pkg_setup() {
 		lang=${lang/-/_}
 
 		case ${lang} in
-			ar) lang="ar_EG,ar_SA" ;;
-			es) lang="es,es_CO"    ;;
-			gl) lang="gl_ES"       ;;
-			hi) lang="hi_IN"       ;;
-			id) lang="in_ID"       ;;
-			nl) lang="nl_BE,nl_NL" ;;
-			ta) lang="ta_IN"       ;;
-			tl) lang="fil_PH"      ;;
+			ar)  lang="ar_EG,ar_SA" ;;
+			es)  lang="es,es_CO"    ;;
+			fil) lang="fil_PH"      ;;
+			gl)  lang="gl_ES"       ;;
+			hi)  lang="hi_IN"       ;;
+			id)  lang="in_ID"       ;;
+			nl)  lang="nl_BE,nl_NL" ;;
+			ta)  lang="ta_IN"       ;;
 		esac
 
 		if use ${lingua} ; then
@@ -249,9 +249,4 @@ pkg_postinst() {
 		einfo
 		einfo "You selected Dutch locale so you can choose either nl:BE or nl:NL variant."
 	fi
-
-	if use l10n_tl ; then
-		einfo
-		einfo "You selected Tagalog locale which has for Filipino locale code fil:PH in Netbeans."
-	fi
 }


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2016-06-26 20:35 Ulrich Müller
  0 siblings, 0 replies; 11+ messages in thread
From: Ulrich Müller @ 2016-06-26 20:35 UTC (permalink / raw
  To: gentoo-commits

commit:     977188eab8942999134d4e7736a2f4fce78ab4a3
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 20:34:55 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 20:35:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=977188ea

dev-util/netbeans: Fix l10n_* flags in IUSE and SRC_URI.

Package-Manager: portage-2.3.0

 dev-util/netbeans/netbeans-8.0.2.ebuild | 4 ++--
 dev-util/netbeans/netbeans-8.1.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/netbeans/netbeans-8.0.2.ebuild b/dev-util/netbeans/netbeans-8.0.2.ebuild
index 5176a35..938d5da 100644
--- a/dev-util/netbeans/netbeans-8.0.2.ebuild
+++ b/dev-util/netbeans/netbeans-8.0.2.ebuild
@@ -20,6 +20,7 @@ SRC_URI="l10n_af? ( ${ALL_URLS} )
 	l10n_de? ( ${ALL_URLS} )
 	l10n_el? ( ${ALL_URLS} )
 	l10n_es? ( ${ALL_URLS} )
+	l10n_fil? ( ${ALL_URLS} )
 	l10n_fr? ( ${ALL_URLS} )
 	l10n_gl? ( ${ALL_URLS} )
 	l10n_hi? ( ${ALL_URLS} )
@@ -39,7 +40,6 @@ SRC_URI="l10n_af? ( ${ALL_URLS} )
 	l10n_sr? ( ${ALL_URLS} )
 	l10n_sv? ( ${ALL_URLS} )
 	l10n_ta? ( ${ALL_URLS} )
-	l10n_tl? ( ${ALL_URLS} )
 	l10n_tr? ( ${ALL_URLS} )
 	l10n_vi? ( ${ALL_URLS} )
 	l10n_zh-CN? ( ${ALL_URLS} )
@@ -72,6 +72,7 @@ IUSE_L10N="
 	l10n_de
 	l10n_el
 	l10n_es
+	l10n_fil
 	l10n_fr
 	l10n_gl
 	l10n_hi
@@ -91,7 +92,6 @@ IUSE_L10N="
 	l10n_sr
 	l10n_sv
 	l10n_ta
-	l10n_tl
 	l10n_tr
 	l10n_vi
 	l10n_zh-CN

diff --git a/dev-util/netbeans/netbeans-8.1.ebuild b/dev-util/netbeans/netbeans-8.1.ebuild
index 786491e..6c0f15c 100644
--- a/dev-util/netbeans/netbeans-8.1.ebuild
+++ b/dev-util/netbeans/netbeans-8.1.ebuild
@@ -20,6 +20,7 @@ SRC_URI="l10n_af? ( ${ALL_URLS} )
 	l10n_de? ( ${ALL_URLS} )
 	l10n_el? ( ${ALL_URLS} )
 	l10n_es? ( ${ALL_URLS} )
+	l10n_fil? ( ${ALL_URLS} )
 	l10n_fr? ( ${ALL_URLS} )
 	l10n_gl? ( ${ALL_URLS} )
 	l10n_hi? ( ${ALL_URLS} )
@@ -39,7 +40,6 @@ SRC_URI="l10n_af? ( ${ALL_URLS} )
 	l10n_sr? ( ${ALL_URLS} )
 	l10n_sv? ( ${ALL_URLS} )
 	l10n_ta? ( ${ALL_URLS} )
-	l10n_tl? ( ${ALL_URLS} )
 	l10n_tr? ( ${ALL_URLS} )
 	l10n_vi? ( ${ALL_URLS} )
 	l10n_zh-CN? ( ${ALL_URLS} )
@@ -72,6 +72,7 @@ IUSE_L10N="
 	l10n_de
 	l10n_el
 	l10n_es
+	l10n_fil
 	l10n_fr
 	l10n_gl
 	l10n_hi
@@ -91,7 +92,6 @@ IUSE_L10N="
 	l10n_sr
 	l10n_sv
 	l10n_ta
-	l10n_tl
 	l10n_tr
 	l10n_vi
 	l10n_zh-CN


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2016-10-05 12:57 Miroslav Šulc
  0 siblings, 0 replies; 11+ messages in thread
From: Miroslav Šulc @ 2016-10-05 12:57 UTC (permalink / raw
  To: gentoo-commits

commit:     3e3a82383e847270fb2ce1415c4a89704e2a4b15
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  5 12:55:36 2016 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Oct  5 12:56:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3a8238

dev-util/netbeans: version bump to version 8.2

Package-Manager: portage-2.3.1

 dev-util/netbeans/Manifest            |   3 +
 dev-util/netbeans/netbeans-8.2.ebuild | 252 ++++++++++++++++++++++++++++++++++
 2 files changed, 255 insertions(+)

diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index 576db77..64a2d20 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -2,5 +2,8 @@ DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007d
 DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-8.1-201510222201-src.zip 208692973 SHA256 e8dd9b73304bc7e546150629f7555624b405e8a7af2cd5d616e7a91a0655f463 SHA512 c3ed9e8c9444b1685e3ed7e1a2525d8be43953994aebed962d39f8eae35b6ab0dcab0093b7eeb287e3c74e0620ceded1956ef93205837bb7749db49f53c1c285 WHIRLPOOL 7ff7c3441dbc8f1ebd6f5441c8371ef0ef392f45eef65e06efec3201f417e228fb32879df83ec23ae61898840eadcde43caa66d54182bf3aae2f44c683916268
 DIST netbeans-8.1-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.2-201609300101-src.zip 217356974 SHA256 5a7141176fe655807f04bdde12073116a77c1844e4ca7a071d95930b7cd7d5ac SHA512 d0499489dcd9383f719209997fd5518ea93ad5c2f727005f074a351a4adc7f8708ebff972a4bff4572e2ba9237b14c7a24b7fb1f89100e33012e14404f0336e7 WHIRLPOOL 378db0807a616205fee2623f1c1ada6284ecfc85badb06d68e56e91fbedbc4f73af3ce6e4e8eb8bdb9504d15cf20cdc2a30d5f9cad0c72329791f1a53803ca0e
+DIST netbeans-8.2-build.xml.patch.bz2 2678 SHA256 d0b395111c04e82aeae2bf99eea17fb5b3275dab92939164602ad27569d73cb2 SHA512 a287681acc0771445f9389b22ca6fd855393c0b9e8885680d13c9157aa37b215162aac6f958d0831dc64a55fc21a391fdee13c3ab9a97ad416929c6a4710b619 WHIRLPOOL 0807ec60843a7e3a232fed52c91303ef47693fcdd364d5e12f2507ea6f073df4b18b0708efc92cce93580d4963cbefb85fa0c3962363542687bdc1e5e73bbb6c
 DIST netbeans-l10n-8.0.1-20141110.tar.bz2 12065358 SHA256 542d325cbc6e0e617f6076e964e37803ec322b6d0ee4724a6d2127f2f480fb24 SHA512 28242dcbe7bcbc6a9abce15dfe6fd6140a275a417d96ff28228315bdc0ce8110ede899a1815e2fdf9115b48221d50cd3ff5b71a15d36316d04d81f66e9c0cac4 WHIRLPOOL 0318caea3463d3f7bb8876774b1cc9467dadd9bc36497a9304ed12900e2fabdc4dcdfec0b9eaee27bb36c39e9caff3743c5a42ad4c3a432205a716832688c4d6
 DIST netbeans-l10n-8.1-20151105.tar.bz2 11945028 SHA256 33e86aa7315021d28fdb64790233327d7599c98bcf3ab9d936b6fe924884325a SHA512 eb3163eaa8add417a0e8ac3ed4923a6e4992a80eaac00a01eed24e0e1ceb8a5cbd308659bcf0e5e1192ac8e84a79ea36744ad6b2589d60891b03b37102e9435d WHIRLPOOL f214a865bfd8c54341fb9d538da6db4d9b24906b0d94b3ee6cbf4a525e8842d28e852febb2f34c4c31f989d1b6baf750480bc2f04d94bcd7a8bdb8c9553ef590
+DIST netbeans-l10n-8.2-20160920.tar.bz2 12723797 SHA256 90d09843d2e0256f3196f4ea2fe9cdfd77d811f366a5d8cf13320cd813c7cc7a SHA512 4ac086e8189d89e7a0b91e7e03352f691f09edf208017062a8fc798e6f54906f1c85112dd2780feefa6a21c8fcb582b91bdd9758f5a90c05cbd2e3042d6c87c3 WHIRLPOOL 1002d7c6769eb9b4c0ae02e6c17ea91a064e7bbf99e151b720967f70a28bad3159fe5804f3c4ece62f7025da661bc717a098883995b0bebbdb7342b685cd475f

diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild
new file mode 100644
index 00000000..d68b665
--- /dev/null
+++ b/dev-util/netbeans/netbeans-8.2.ebuild
@@ -0,0 +1,252 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE"
+HOMEPAGE="http://netbeans.org/"
+SLOT="8.2"
+SOURCE_URL="http://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101-src.zip"
+PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.2-build.xml.patch.bz2"
+L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.2-20160920.tar.bz2"
+ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
+SRC_URI="l10n_af? ( ${ALL_URLS} )
+	l10n_ar-EG? ( ${ALL_URLS} )
+	l10n_ar-SA? ( ${ALL_URLS} )
+	l10n_bg? ( ${ALL_URLS} )
+	l10n_ca? ( ${ALL_URLS} )
+	l10n_cs? ( ${ALL_URLS} )
+	l10n_de? ( ${ALL_URLS} )
+	l10n_el? ( ${ALL_URLS} )
+	l10n_es? ( ${ALL_URLS} )
+	l10n_es-CO? ( ${ALL_URLS} )
+	l10n_fil-PH? ( ${ALL_URLS} )
+	l10n_fr? ( ${ALL_URLS} )
+	l10n_gl-ES? ( ${ALL_URLS} )
+	l10n_hi-IN? ( ${ALL_URLS} )
+	l10n_id-ID? ( ${ALL_URLS} )
+	l10n_it? ( ${ALL_URLS} )
+	l10n_ja? ( ${ALL_URLS} )
+	l10n_ko? ( ${ALL_URLS} )
+	l10n_lt? ( ${ALL_URLS} )
+	l10n_nl-BE? ( ${ALL_URLS} )
+	l10n_nl-NL? ( ${ALL_URLS} )
+	l10n_pl? ( ${ALL_URLS} )
+	l10n_pt-BR? ( ${ALL_URLS} )
+	l10n_pt-PT? ( ${ALL_URLS} )
+	l10n_ro? ( ${ALL_URLS} )
+	l10n_ru? ( ${ALL_URLS} )
+	l10n_si? ( ${ALL_URLS} )
+	l10n_sq? ( ${ALL_URLS} )
+	l10n_sr? ( ${ALL_URLS} )
+	l10n_sv? ( ${ALL_URLS} )
+	l10n_ta-IN? ( ${ALL_URLS} )
+	l10n_tr? ( ${ALL_URLS} )
+	l10n_vi? ( ${ALL_URLS} )
+	l10n_zh-CN? ( ${ALL_URLS} )
+	l10n_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_extide
+	netbeans_modules_groovy
+	+netbeans_modules_java
+	netbeans_modules_javacard
+	+netbeans_modules_javafx
+	netbeans_modules_mobility
+	netbeans_modules_php
+	+netbeans_modules_profiler
+	netbeans_modules_webcommon
+	+netbeans_modules_websvccommon"
+IUSE_L10N="
+	l10n_af
+	l10n_ar-EG
+	l10n_ar-SA
+	l10n_bg
+	l10n_ca
+	l10n_cs
+	l10n_de
+	l10n_el
+	l10n_es
+	l10n_es-CO
+	l10n_fil-PH
+	l10n_fr
+	l10n_gl-ES
+	l10n_hi-IN
+	l10n_id-ID
+	l10n_it
+	l10n_ja
+	l10n_ko
+	l10n_lt
+	l10n_nl-BE
+	l10n_nl-NL
+	l10n_pl
+	l10n_pt-BR
+	l10n_pt-PT
+	l10n_ro
+	l10n_ru
+	l10n_si
+	l10n_sq
+	l10n_sr
+	l10n_sv
+	l10n_ta-IN
+	l10n_tr
+	l10n_vi
+	l10n_zh-CN
+	l10n_zh-TW"
+IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}"
+S="${WORKDIR}"
+
+DEPEND=">=virtual/jdk-1.7
+	dev-java/javahelp:0"
+RDEPEND="|| ( virtual/jdk:1.7 virtual/jdk:1.8 )
+	~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_extide? ( ~dev-java/netbeans-extide-${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_webcommon? ( ~dev-java/netbeans-webcommon-${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_L10N} ; do
+		if use ${lingua} ; then
+			local lang=${lingua/l10n_/}
+			lang=${lang/-/_}
+
+			case ${lang} in
+				id-ID)  lang="in_ID";;
+			esac
+
+			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-8.2-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-8.2-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="" \
+			-Dpermit.jdk7.builds=true -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 webcommon 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
+
+		make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development
+
+		for lingua in ${IUSE_L10N}; do
+			if use ${lingua} ; then
+				local locale=${lingua/l10n_/}
+				locale=${locale/-/:}
+
+				case ${locale} in
+					id:ID)  lang="in:ID";;
+				esac
+
+				make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development
+			fi
+		done
+	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 l10n_id_ID ; then
+		einfo
+		einfo "You selected Indonesian locale which has locale code in:ID in Netbeans."
+	fi
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2016-10-06  9:11 Miroslav Šulc
  0 siblings, 0 replies; 11+ messages in thread
From: Miroslav Šulc @ 2016-10-06  9:11 UTC (permalink / raw
  To: gentoo-commits

commit:     ce68826d2295ca6f5ff70c7f0767b3fe7036731e
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  6 09:07:32 2016 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 09:07:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce68826d

dev-util/netbeans: fixed eapi 6 issue and reverted l10n changes

Package-Manager: portage-2.3.1

 dev-util/netbeans/netbeans-8.2.ebuild | 93 ++++++++++++++---------------------
 1 file changed, 38 insertions(+), 55 deletions(-)

diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild
index d68b665..c6b49d4 100644
--- a/dev-util/netbeans/netbeans-8.2.ebuild
+++ b/dev-util/netbeans/netbeans-8.2.ebuild
@@ -13,26 +13,23 @@ PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.2-build.xml.pa
 L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.2-20160920.tar.bz2"
 ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
 SRC_URI="l10n_af? ( ${ALL_URLS} )
-	l10n_ar-EG? ( ${ALL_URLS} )
-	l10n_ar-SA? ( ${ALL_URLS} )
+	l10n_ar? ( ${ALL_URLS} )
 	l10n_bg? ( ${ALL_URLS} )
 	l10n_ca? ( ${ALL_URLS} )
 	l10n_cs? ( ${ALL_URLS} )
 	l10n_de? ( ${ALL_URLS} )
 	l10n_el? ( ${ALL_URLS} )
 	l10n_es? ( ${ALL_URLS} )
-	l10n_es-CO? ( ${ALL_URLS} )
-	l10n_fil-PH? ( ${ALL_URLS} )
+	l10n_fil? ( ${ALL_URLS} )
 	l10n_fr? ( ${ALL_URLS} )
-	l10n_gl-ES? ( ${ALL_URLS} )
-	l10n_hi-IN? ( ${ALL_URLS} )
-	l10n_id-ID? ( ${ALL_URLS} )
+	l10n_gl? ( ${ALL_URLS} )
+	l10n_hi? ( ${ALL_URLS} )
+	l10n_id? ( ${ALL_URLS} )
 	l10n_it? ( ${ALL_URLS} )
 	l10n_ja? ( ${ALL_URLS} )
 	l10n_ko? ( ${ALL_URLS} )
 	l10n_lt? ( ${ALL_URLS} )
-	l10n_nl-BE? ( ${ALL_URLS} )
-	l10n_nl-NL? ( ${ALL_URLS} )
+	l10n_nl? ( ${ALL_URLS} )
 	l10n_pl? ( ${ALL_URLS} )
 	l10n_pt-BR? ( ${ALL_URLS} )
 	l10n_pt-PT? ( ${ALL_URLS} )
@@ -42,7 +39,7 @@ SRC_URI="l10n_af? ( ${ALL_URLS} )
 	l10n_sq? ( ${ALL_URLS} )
 	l10n_sr? ( ${ALL_URLS} )
 	l10n_sv? ( ${ALL_URLS} )
-	l10n_ta-IN? ( ${ALL_URLS} )
+	l10n_ta? ( ${ALL_URLS} )
 	l10n_tr? ( ${ALL_URLS} )
 	l10n_vi? ( ${ALL_URLS} )
 	l10n_zh-CN? ( ${ALL_URLS} )
@@ -68,26 +65,23 @@ IUSE_NETBEANS_MODULES="
 	+netbeans_modules_websvccommon"
 IUSE_L10N="
 	l10n_af
-	l10n_ar-EG
-	l10n_ar-SA
+	l10n_ar
 	l10n_bg
 	l10n_ca
 	l10n_cs
 	l10n_de
 	l10n_el
 	l10n_es
-	l10n_es-CO
-	l10n_fil-PH
+	l10n_fil
 	l10n_fr
-	l10n_gl-ES
-	l10n_hi-IN
-	l10n_id-ID
+	l10n_gl
+	l10n_hi
+	l10n_id
 	l10n_it
 	l10n_ja
 	l10n_ko
 	l10n_lt
-	l10n_nl-BE
-	l10n_nl-NL
+	l10n_nl
 	l10n_pl
 	l10n_pt-BR
 	l10n_pt-PT
@@ -97,7 +91,7 @@ IUSE_L10N="
 	l10n_sq
 	l10n_sr
 	l10n_sv
-	l10n_ta-IN
+	l10n_ta
 	l10n_tr
 	l10n_vi
 	l10n_zh-CN
@@ -139,7 +133,14 @@ pkg_setup() {
 			lang=${lang/-/_}
 
 			case ${lang} in
-				id-ID)  lang="in_ID";;
+				ar)  lang="ar_EG,ar_SA" ;;
+				es)  lang="es,es_CO"    ;;
+				fil) lang="fil_PH"	;;
+				gl)  lang="gl_ES"	;;
+				hi)  lang="hi_IN"	;;
+				id)  lang="in_ID"	;;
+				nl)  lang="nl_BE,nl_NL" ;;
+				ta)  lang="ta_IN"	;;
 			esac
 
 			if [ -z "${NBLOCALES}" ] ; then
@@ -172,24 +173,12 @@ src_prepare() {
 
 		epatch netbeans-8.2-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
+	default
 }
 
 src_compile() {
@@ -223,30 +212,24 @@ src_install() {
 
 		for lingua in ${IUSE_L10N}; do
 			if use ${lingua} ; then
-				local locale=${lingua/l10n_/}
-				locale=${locale/-/:}
-
-				case ${locale} in
-					id:ID)  lang="in:ID";;
+				local locales=${lingua/l10n_/}
+				locales=${locales/-/:}
+
+				case ${locales} in
+					ar)  lang="ar:EG ar:SA" ;;
+					es)  lang="es es:CO"    ;;
+					fil) lang="fil:PH"	;;
+					gl)  lang="gl:ES"	;;
+					hi)  lang="hi:IN"	;;
+					id)  lang="in:ID"	;;
+					nl)  lang="nl:BE nl:NL" ;;
+					ta)  lang="ta:IN"	;;
 				esac
 
-				make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development
+				for locale in ${locales}; do
+					make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development
+				done
 			fi
 		done
 	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 l10n_id_ID ; then
-		einfo
-		einfo "You selected Indonesian locale which has locale code in:ID in Netbeans."
-	fi
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2016-11-10 15:49 Miroslav Šulc
  0 siblings, 0 replies; 11+ messages in thread
From: Miroslav Šulc @ 2016-11-10 15:49 UTC (permalink / raw
  To: gentoo-commits

commit:     afdb58eb2b11cfe9fec0a8b13aaaf047eb76dd1a
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 15:47:45 2016 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 15:48:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afdb58eb

dev-util/netbeans: restricted to jdk 1.8 in netbeans slot 8.2

Package-Manager: portage-2.3.2

 dev-util/netbeans/netbeans-8.2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild
index c6b49d4..821bfd6 100644
--- a/dev-util/netbeans/netbeans-8.2.ebuild
+++ b/dev-util/netbeans/netbeans-8.2.ebuild
@@ -99,9 +99,10 @@ IUSE_L10N="
 IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}"
 S="${WORKDIR}"
 
-DEPEND=">=virtual/jdk-1.7
+CDEPEND="virtual/jdk:1.8"
+DEPEND="${CDEPEND}
 	dev-java/javahelp:0"
-RDEPEND="|| ( virtual/jdk:1.7 virtual/jdk:1.8 )
+RDEPEND="${CDEPEND}
 	~dev-java/netbeans-harness-${PV}
 	~dev-java/netbeans-ide-${PV}
 	~dev-java/netbeans-nb-${PV}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2016-11-23 11:30 Miroslav Šulc
  0 siblings, 0 replies; 11+ messages in thread
From: Miroslav Šulc @ 2016-11-23 11:30 UTC (permalink / raw
  To: gentoo-commits

commit:     c5587ed7f24b8cf8d98f8f83a346df5a4d2c301f
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 23 11:29:54 2016 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 11:29:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5587ed7

dev-util/netbeans: stabilized slot 8.2 (to be able to remove previous versions of netbeans and java 7)

Package-Manager: portage-2.3.2

 dev-util/netbeans/netbeans-8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild
index 821bfd6..5c2df57 100644
--- a/dev-util/netbeans/netbeans-8.2.ebuild
+++ b/dev-util/netbeans/netbeans-8.2.ebuild
@@ -46,7 +46,7 @@ SRC_URI="l10n_af? ( ${ALL_URLS} )
 	l10n_zh-TW? ( ${ALL_URLS} )
 "
 LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE_NETBEANS_MODULES="
 	+netbeans_modules_apisupport
 	netbeans_modules_cnd


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2017-09-06 21:00 Michał Górny
  0 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2017-09-06 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     695fbf0d0fdc3c2382b50124384b3dffa0614b36
Author:     Francesco Turco <fturco <AT> fastmail <DOT> fm>
AuthorDate: Sun Sep  3 16:11:25 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep  6 20:58:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=695fbf0d

dev-util/netbeans: use HTTPS for links to dev.gentoo.org

 dev-util/netbeans/netbeans-8.1.ebuild | 6 +++---
 dev-util/netbeans/netbeans-8.2.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-util/netbeans/netbeans-8.1.ebuild b/dev-util/netbeans/netbeans-8.1.ebuild
index ba0ae8921ae..06d93483709 100644
--- a/dev-util/netbeans/netbeans-8.1.ebuild
+++ b/dev-util/netbeans/netbeans-8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="4"
@@ -8,8 +8,8 @@ DESCRIPTION="Netbeans IDE"
 HOMEPAGE="http://netbeans.org/"
 SLOT="8.1"
 SOURCE_URL="http://download.netbeans.org/netbeans/8.1/final/zip/netbeans-8.1-201510222201-src.zip"
-PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.1-build.xml.patch.bz2"
-L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.1-20151105.tar.bz2"
+PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.1-build.xml.patch.bz2"
+L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.1-20151105.tar.bz2"
 ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
 SRC_URI="l10n_af? ( ${ALL_URLS} )
 	l10n_ar? ( ${ALL_URLS} )

diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild
index 394a478b276..71c3e2eafe3 100644
--- a/dev-util/netbeans/netbeans-8.2.ebuild
+++ b/dev-util/netbeans/netbeans-8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -8,8 +8,8 @@ DESCRIPTION="Netbeans IDE"
 HOMEPAGE="http://netbeans.org/"
 SLOT="8.2"
 SOURCE_URL="http://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101-src.zip"
-PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.2-build.xml.patch.bz2"
-L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.2-20160920.tar.bz2"
+PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.2-build.xml.patch.bz2"
+L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.2-20160920.tar.bz2"
 ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
 SRC_URI="l10n_af? ( ${ALL_URLS} )
 	l10n_ar? ( ${ALL_URLS} )


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2018-04-14 21:04 Patrice Clement
  0 siblings, 0 replies; 11+ messages in thread
From: Patrice Clement @ 2018-04-14 21:04 UTC (permalink / raw
  To: gentoo-commits

commit:     40d9cce307eb5e40882d157104e5756347ddd787
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Tue Apr 10 23:21:14 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Apr 14 21:04:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d9cce3

dev-util/netbeans: epatch->eapply.

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-util/netbeans/netbeans-8.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild
index 71c3e2eafe3..3ee81e8dc9b 100644
--- a/dev-util/netbeans/netbeans-8.2.ebuild
+++ b/dev-util/netbeans/netbeans-8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -171,7 +171,7 @@ src_prepare() {
 		einfo "Deleting bundled class files..."
 		find -name "*.class" -type f | xargs rm -vf
 
-		epatch netbeans-8.2-build.xml.patch
+		eapply netbeans-8.2-build.xml.patch
 
 		einfo "Symlinking external libraries..."
 		java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2018-04-28 21:05 Patrice Clement
  0 siblings, 0 replies; 11+ messages in thread
From: Patrice Clement @ 2018-04-28 21:05 UTC (permalink / raw
  To: gentoo-commits

commit:     2d7e27b367caebf6db0a2ab5cc21093eed17a701
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Apr 27 19:16:10 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Apr 28 21:05:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d7e27b3

dev-util/netbeans: use HTTPS, fix DEPEND.

Closes: https://github.com/gentoo/gentoo/pull/8173

 dev-util/netbeans/netbeans-8.2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild
index 3ee81e8dc9b..1fc9f826f55 100644
--- a/dev-util/netbeans/netbeans-8.2.ebuild
+++ b/dev-util/netbeans/netbeans-8.2.ebuild
@@ -5,9 +5,9 @@ EAPI="6"
 inherit eutils java-pkg-2 java-ant-2
 
 DESCRIPTION="Netbeans IDE"
-HOMEPAGE="http://netbeans.org/"
+HOMEPAGE="https://netbeans.org/"
 SLOT="8.2"
-SOURCE_URL="http://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101-src.zip"
+SOURCE_URL="https://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101-src.zip"
 PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.2-build.xml.patch.bz2"
 L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.2-20160920.tar.bz2"
 ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
@@ -100,6 +100,7 @@ S="${WORKDIR}"
 
 CDEPEND="virtual/jdk:1.8"
 DEPEND="${CDEPEND}
+	app-arch/unzip
 	dev-java/javahelp:0"
 RDEPEND="${CDEPEND}
 	~dev-java/netbeans-harness-${PV}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
@ 2019-09-14 15:37 Michał Górny
  0 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2019-09-14 15:37 UTC (permalink / raw
  To: gentoo-commits

commit:     1b79fafd5c9c3d7fb1ec8aab83320e03b204dc30
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 14 15:27:05 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 15:37:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b79fafd

dev-util/netbeans: Remove last-rited pkg

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/netbeans/Manifest            |   3 -
 dev-util/netbeans/metadata.xml        |  23 ----
 dev-util/netbeans/netbeans-8.2.ebuild | 236 ----------------------------------
 3 files changed, 262 deletions(-)

diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
deleted file mode 100644
index 6bb3f14a8fc..00000000000
--- a/dev-util/netbeans/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST netbeans-8.2-201609300101-src.zip 217356974 BLAKE2B 0afd60c1060a0a1d7be882628a0d4df1d8e214aabb4c8ec511341e40960eb291dbd768150711e3d639e6cd200136d2170e3cfead6c9c76be19509327debcf8a9 SHA512 d0499489dcd9383f719209997fd5518ea93ad5c2f727005f074a351a4adc7f8708ebff972a4bff4572e2ba9237b14c7a24b7fb1f89100e33012e14404f0336e7
-DIST netbeans-8.2-build.xml.patch.bz2 2678 BLAKE2B abfb7cb228a8f0a03d052226d4ea6b5ce111d8d246cf070a2548a6019b7abf793af5fb21dcde54bcfaaa31ffdfdc112f742971a7b55dfc79a5d78483bde299d4 SHA512 a287681acc0771445f9389b22ca6fd855393c0b9e8885680d13c9157aa37b215162aac6f958d0831dc64a55fc21a391fdee13c3ab9a97ad416929c6a4710b619
-DIST netbeans-l10n-8.2-20160920.tar.bz2 12723797 BLAKE2B b87fc120d6dbb1207d70bbc3324c60c41c2ac8cae8af014ba47bc15c383f7fb821924d3337b25a0b59d0ef2ad641444ed5f85e46d02cd19b07b8913d9ddaf10d SHA512 4ac086e8189d89e7a0b91e7e03352f691f09edf208017062a8fc798e6f54906f1c85112dd2780feefa6a21c8fcb582b91bdd9758f5a90c05cbd2e3042d6c87c3

diff --git a/dev-util/netbeans/metadata.xml b/dev-util/netbeans/metadata.xml
deleted file mode 100644
index 8834161921f..00000000000
--- a/dev-util/netbeans/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>fordfrog@gentoo.org</email>
-		<name>Miroslav Šulc</name>
-	</maintainer>
-	<maintainer type="project">
-		<email>java@gentoo.org</email>
-		<name>Java</name>
-	</maintainer>
-	<longdescription>
-NetBeans is dedicated to providing rock solid software development products (NetBeans IDE, NetBeans Platform) that address the needs
-of developers, users and the businesses who rely on NetBeans as a basis for their products. NetBeans is also a vibrant community
-where people from just about any country you can think of, have the ability ask questions, give advice, make a wide variety of
-contributions and ultimately share in the success of our products. You will find students on our mailing list, developers from top
-companies and individuals looking to sharpen their skills.
-
-In June of 2000 NetBeans was made Open Source by Sun Microsystems who remains the project sponsor. Today two products exist: the
-NetBeans IDE and NetBeans Platform. Both products are free for commercial and noncommercial use. The source code to both are available
-to anyone, to reuse as they see fit, under the terms of use.
-	</longdescription>
-</pkgmetadata>

diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild
deleted file mode 100644
index 1fc9f826f55..00000000000
--- a/dev-util/netbeans/netbeans-8.2.ebuild
+++ /dev/null
@@ -1,236 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-inherit eutils java-pkg-2 java-ant-2
-
-DESCRIPTION="Netbeans IDE"
-HOMEPAGE="https://netbeans.org/"
-SLOT="8.2"
-SOURCE_URL="https://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101-src.zip"
-PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.2-build.xml.patch.bz2"
-L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.2-20160920.tar.bz2"
-ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
-SRC_URI="l10n_af? ( ${ALL_URLS} )
-	l10n_ar? ( ${ALL_URLS} )
-	l10n_bg? ( ${ALL_URLS} )
-	l10n_ca? ( ${ALL_URLS} )
-	l10n_cs? ( ${ALL_URLS} )
-	l10n_de? ( ${ALL_URLS} )
-	l10n_el? ( ${ALL_URLS} )
-	l10n_es? ( ${ALL_URLS} )
-	l10n_fil? ( ${ALL_URLS} )
-	l10n_fr? ( ${ALL_URLS} )
-	l10n_gl? ( ${ALL_URLS} )
-	l10n_hi? ( ${ALL_URLS} )
-	l10n_id? ( ${ALL_URLS} )
-	l10n_it? ( ${ALL_URLS} )
-	l10n_ja? ( ${ALL_URLS} )
-	l10n_ko? ( ${ALL_URLS} )
-	l10n_lt? ( ${ALL_URLS} )
-	l10n_nl? ( ${ALL_URLS} )
-	l10n_pl? ( ${ALL_URLS} )
-	l10n_pt-BR? ( ${ALL_URLS} )
-	l10n_pt-PT? ( ${ALL_URLS} )
-	l10n_ro? ( ${ALL_URLS} )
-	l10n_ru? ( ${ALL_URLS} )
-	l10n_si? ( ${ALL_URLS} )
-	l10n_sq? ( ${ALL_URLS} )
-	l10n_sr? ( ${ALL_URLS} )
-	l10n_sv? ( ${ALL_URLS} )
-	l10n_ta? ( ${ALL_URLS} )
-	l10n_tr? ( ${ALL_URLS} )
-	l10n_vi? ( ${ALL_URLS} )
-	l10n_zh-CN? ( ${ALL_URLS} )
-	l10n_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_extide
-	netbeans_modules_groovy
-	+netbeans_modules_java
-	netbeans_modules_javacard
-	+netbeans_modules_javafx
-	netbeans_modules_mobility
-	netbeans_modules_php
-	+netbeans_modules_profiler
-	netbeans_modules_webcommon
-	+netbeans_modules_websvccommon"
-IUSE_L10N="
-	l10n_af
-	l10n_ar
-	l10n_bg
-	l10n_ca
-	l10n_cs
-	l10n_de
-	l10n_el
-	l10n_es
-	l10n_fil
-	l10n_fr
-	l10n_gl
-	l10n_hi
-	l10n_id
-	l10n_it
-	l10n_ja
-	l10n_ko
-	l10n_lt
-	l10n_nl
-	l10n_pl
-	l10n_pt-BR
-	l10n_pt-PT
-	l10n_ro
-	l10n_ru
-	l10n_si
-	l10n_sq
-	l10n_sr
-	l10n_sv
-	l10n_ta
-	l10n_tr
-	l10n_vi
-	l10n_zh-CN
-	l10n_zh-TW"
-IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}"
-S="${WORKDIR}"
-
-CDEPEND="virtual/jdk:1.8"
-DEPEND="${CDEPEND}
-	app-arch/unzip
-	dev-java/javahelp:0"
-RDEPEND="${CDEPEND}
-	~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_extide? ( ~dev-java/netbeans-extide-${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_webcommon? ( ~dev-java/netbeans-webcommon-${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_L10N} ; do
-		if use ${lingua} ; then
-			local lang=${lingua/l10n_/}
-			lang=${lang/-/_}
-
-			case ${lang} in
-				ar)  lang="ar_EG,ar_SA" ;;
-				es)  lang="es,es_CO"    ;;
-				fil) lang="fil_PH"	;;
-				gl)  lang="gl_ES"	;;
-				hi)  lang="hi_IN"	;;
-				id)  lang="in_ID"	;;
-				nl)  lang="nl_BE,nl_NL" ;;
-				ta)  lang="ta_IN"	;;
-			esac
-
-			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-8.2-build.xml.patch.bz2
-	fi
-}
-
-src_prepare() {
-	if [ -n "${NBLOCALES}" ] ; then
-		einfo "Deleting bundled class files..."
-		find -name "*.class" -type f | xargs rm -vf
-
-		eapply netbeans-8.2-build.xml.patch
-
-		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
-	default
-}
-
-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="" \
-			-Dpermit.jdk7.builds=true -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 webcommon 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
-
-		make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development
-
-		for lingua in ${IUSE_L10N}; do
-			if use ${lingua} ; then
-				local locales=${lingua/l10n_/}
-				locales=${locales/-/:}
-
-				case ${locales} in
-					ar)  lang="ar:EG ar:SA" ;;
-					es)  lang="es es:CO"    ;;
-					fil) lang="fil:PH"	;;
-					gl)  lang="gl:ES"	;;
-					hi)  lang="hi:IN"	;;
-					id)  lang="in:ID"	;;
-					nl)  lang="nl:BE nl:NL" ;;
-					ta)  lang="ta:IN"	;;
-				esac
-
-				for locale in ${locales}; do
-					make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development
-				done
-			fi
-		done
-	fi
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-09-14 15:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06  9:11 [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/ Miroslav Šulc
  -- strict thread matches above, loose matches on Subject: below --
2019-09-14 15:37 Michał Górny
2018-04-28 21:05 Patrice Clement
2018-04-14 21:04 Patrice Clement
2017-09-06 21:00 Michał Górny
2016-11-23 11:30 Miroslav Šulc
2016-11-10 15:49 Miroslav Šulc
2016-10-05 12:57 Miroslav Šulc
2016-06-26 20:35 Ulrich Müller
2016-06-25 11:06 Ulrich Müller
2016-06-25  1:14 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox