1 |
commit: 3e3a82383e847270fb2ce1415c4a89704e2a4b15 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 5 12:55:36 2016 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 5 12:56:57 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3a8238 |
7 |
|
8 |
dev-util/netbeans: version bump to version 8.2 |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
dev-util/netbeans/Manifest | 3 + |
13 |
dev-util/netbeans/netbeans-8.2.ebuild | 252 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 255 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest |
17 |
index 576db77..64a2d20 100644 |
18 |
--- a/dev-util/netbeans/Manifest |
19 |
+++ b/dev-util/netbeans/Manifest |
20 |
@@ -2,5 +2,8 @@ DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007d |
21 |
DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff |
22 |
DIST netbeans-8.1-201510222201-src.zip 208692973 SHA256 e8dd9b73304bc7e546150629f7555624b405e8a7af2cd5d616e7a91a0655f463 SHA512 c3ed9e8c9444b1685e3ed7e1a2525d8be43953994aebed962d39f8eae35b6ab0dcab0093b7eeb287e3c74e0620ceded1956ef93205837bb7749db49f53c1c285 WHIRLPOOL 7ff7c3441dbc8f1ebd6f5441c8371ef0ef392f45eef65e06efec3201f417e228fb32879df83ec23ae61898840eadcde43caa66d54182bf3aae2f44c683916268 |
23 |
DIST netbeans-8.1-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509 |
24 |
+DIST netbeans-8.2-201609300101-src.zip 217356974 SHA256 5a7141176fe655807f04bdde12073116a77c1844e4ca7a071d95930b7cd7d5ac SHA512 d0499489dcd9383f719209997fd5518ea93ad5c2f727005f074a351a4adc7f8708ebff972a4bff4572e2ba9237b14c7a24b7fb1f89100e33012e14404f0336e7 WHIRLPOOL 378db0807a616205fee2623f1c1ada6284ecfc85badb06d68e56e91fbedbc4f73af3ce6e4e8eb8bdb9504d15cf20cdc2a30d5f9cad0c72329791f1a53803ca0e |
25 |
+DIST netbeans-8.2-build.xml.patch.bz2 2678 SHA256 d0b395111c04e82aeae2bf99eea17fb5b3275dab92939164602ad27569d73cb2 SHA512 a287681acc0771445f9389b22ca6fd855393c0b9e8885680d13c9157aa37b215162aac6f958d0831dc64a55fc21a391fdee13c3ab9a97ad416929c6a4710b619 WHIRLPOOL 0807ec60843a7e3a232fed52c91303ef47693fcdd364d5e12f2507ea6f073df4b18b0708efc92cce93580d4963cbefb85fa0c3962363542687bdc1e5e73bbb6c |
26 |
DIST netbeans-l10n-8.0.1-20141110.tar.bz2 12065358 SHA256 542d325cbc6e0e617f6076e964e37803ec322b6d0ee4724a6d2127f2f480fb24 SHA512 28242dcbe7bcbc6a9abce15dfe6fd6140a275a417d96ff28228315bdc0ce8110ede899a1815e2fdf9115b48221d50cd3ff5b71a15d36316d04d81f66e9c0cac4 WHIRLPOOL 0318caea3463d3f7bb8876774b1cc9467dadd9bc36497a9304ed12900e2fabdc4dcdfec0b9eaee27bb36c39e9caff3743c5a42ad4c3a432205a716832688c4d6 |
27 |
DIST netbeans-l10n-8.1-20151105.tar.bz2 11945028 SHA256 33e86aa7315021d28fdb64790233327d7599c98bcf3ab9d936b6fe924884325a SHA512 eb3163eaa8add417a0e8ac3ed4923a6e4992a80eaac00a01eed24e0e1ceb8a5cbd308659bcf0e5e1192ac8e84a79ea36744ad6b2589d60891b03b37102e9435d WHIRLPOOL f214a865bfd8c54341fb9d538da6db4d9b24906b0d94b3ee6cbf4a525e8842d28e852febb2f34c4c31f989d1b6baf750480bc2f04d94bcd7a8bdb8c9553ef590 |
28 |
+DIST netbeans-l10n-8.2-20160920.tar.bz2 12723797 SHA256 90d09843d2e0256f3196f4ea2fe9cdfd77d811f366a5d8cf13320cd813c7cc7a SHA512 4ac086e8189d89e7a0b91e7e03352f691f09edf208017062a8fc798e6f54906f1c85112dd2780feefa6a21c8fcb582b91bdd9758f5a90c05cbd2e3042d6c87c3 WHIRLPOOL 1002d7c6769eb9b4c0ae02e6c17ea91a064e7bbf99e151b720967f70a28bad3159fe5804f3c4ece62f7025da661bc717a098883995b0bebbdb7342b685cd475f |
29 |
|
30 |
diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000..d68b665 |
33 |
--- /dev/null |
34 |
+++ b/dev-util/netbeans/netbeans-8.2.ebuild |
35 |
@@ -0,0 +1,252 @@ |
36 |
+# Copyright 1999-2016 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+# $Id$ |
39 |
+ |
40 |
+EAPI="6" |
41 |
+inherit eutils java-pkg-2 java-ant-2 |
42 |
+ |
43 |
+DESCRIPTION="Netbeans IDE" |
44 |
+HOMEPAGE="http://netbeans.org/" |
45 |
+SLOT="8.2" |
46 |
+SOURCE_URL="http://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101-src.zip" |
47 |
+PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.2-build.xml.patch.bz2" |
48 |
+L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.2-20160920.tar.bz2" |
49 |
+ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" |
50 |
+SRC_URI="l10n_af? ( ${ALL_URLS} ) |
51 |
+ l10n_ar-EG? ( ${ALL_URLS} ) |
52 |
+ l10n_ar-SA? ( ${ALL_URLS} ) |
53 |
+ l10n_bg? ( ${ALL_URLS} ) |
54 |
+ l10n_ca? ( ${ALL_URLS} ) |
55 |
+ l10n_cs? ( ${ALL_URLS} ) |
56 |
+ l10n_de? ( ${ALL_URLS} ) |
57 |
+ l10n_el? ( ${ALL_URLS} ) |
58 |
+ l10n_es? ( ${ALL_URLS} ) |
59 |
+ l10n_es-CO? ( ${ALL_URLS} ) |
60 |
+ l10n_fil-PH? ( ${ALL_URLS} ) |
61 |
+ l10n_fr? ( ${ALL_URLS} ) |
62 |
+ l10n_gl-ES? ( ${ALL_URLS} ) |
63 |
+ l10n_hi-IN? ( ${ALL_URLS} ) |
64 |
+ l10n_id-ID? ( ${ALL_URLS} ) |
65 |
+ l10n_it? ( ${ALL_URLS} ) |
66 |
+ l10n_ja? ( ${ALL_URLS} ) |
67 |
+ l10n_ko? ( ${ALL_URLS} ) |
68 |
+ l10n_lt? ( ${ALL_URLS} ) |
69 |
+ l10n_nl-BE? ( ${ALL_URLS} ) |
70 |
+ l10n_nl-NL? ( ${ALL_URLS} ) |
71 |
+ l10n_pl? ( ${ALL_URLS} ) |
72 |
+ l10n_pt-BR? ( ${ALL_URLS} ) |
73 |
+ l10n_pt-PT? ( ${ALL_URLS} ) |
74 |
+ l10n_ro? ( ${ALL_URLS} ) |
75 |
+ l10n_ru? ( ${ALL_URLS} ) |
76 |
+ l10n_si? ( ${ALL_URLS} ) |
77 |
+ l10n_sq? ( ${ALL_URLS} ) |
78 |
+ l10n_sr? ( ${ALL_URLS} ) |
79 |
+ l10n_sv? ( ${ALL_URLS} ) |
80 |
+ l10n_ta-IN? ( ${ALL_URLS} ) |
81 |
+ l10n_tr? ( ${ALL_URLS} ) |
82 |
+ l10n_vi? ( ${ALL_URLS} ) |
83 |
+ l10n_zh-CN? ( ${ALL_URLS} ) |
84 |
+ l10n_zh-TW? ( ${ALL_URLS} ) |
85 |
+" |
86 |
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )" |
87 |
+KEYWORDS="~amd64 ~x86" |
88 |
+IUSE_NETBEANS_MODULES=" |
89 |
+ +netbeans_modules_apisupport |
90 |
+ netbeans_modules_cnd |
91 |
+ netbeans_modules_dlight |
92 |
+ netbeans_modules_enterprise |
93 |
+ netbeans_modules_ergonomics |
94 |
+ netbeans_modules_extide |
95 |
+ netbeans_modules_groovy |
96 |
+ +netbeans_modules_java |
97 |
+ netbeans_modules_javacard |
98 |
+ +netbeans_modules_javafx |
99 |
+ netbeans_modules_mobility |
100 |
+ netbeans_modules_php |
101 |
+ +netbeans_modules_profiler |
102 |
+ netbeans_modules_webcommon |
103 |
+ +netbeans_modules_websvccommon" |
104 |
+IUSE_L10N=" |
105 |
+ l10n_af |
106 |
+ l10n_ar-EG |
107 |
+ l10n_ar-SA |
108 |
+ l10n_bg |
109 |
+ l10n_ca |
110 |
+ l10n_cs |
111 |
+ l10n_de |
112 |
+ l10n_el |
113 |
+ l10n_es |
114 |
+ l10n_es-CO |
115 |
+ l10n_fil-PH |
116 |
+ l10n_fr |
117 |
+ l10n_gl-ES |
118 |
+ l10n_hi-IN |
119 |
+ l10n_id-ID |
120 |
+ l10n_it |
121 |
+ l10n_ja |
122 |
+ l10n_ko |
123 |
+ l10n_lt |
124 |
+ l10n_nl-BE |
125 |
+ l10n_nl-NL |
126 |
+ l10n_pl |
127 |
+ l10n_pt-BR |
128 |
+ l10n_pt-PT |
129 |
+ l10n_ro |
130 |
+ l10n_ru |
131 |
+ l10n_si |
132 |
+ l10n_sq |
133 |
+ l10n_sr |
134 |
+ l10n_sv |
135 |
+ l10n_ta-IN |
136 |
+ l10n_tr |
137 |
+ l10n_vi |
138 |
+ l10n_zh-CN |
139 |
+ l10n_zh-TW" |
140 |
+IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" |
141 |
+S="${WORKDIR}" |
142 |
+ |
143 |
+DEPEND=">=virtual/jdk-1.7 |
144 |
+ dev-java/javahelp:0" |
145 |
+RDEPEND="|| ( virtual/jdk:1.7 virtual/jdk:1.8 ) |
146 |
+ ~dev-java/netbeans-harness-${PV} |
147 |
+ ~dev-java/netbeans-ide-${PV} |
148 |
+ ~dev-java/netbeans-nb-${PV} |
149 |
+ ~dev-java/netbeans-platform-${PV} |
150 |
+ netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) |
151 |
+ netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) |
152 |
+ netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) |
153 |
+ netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) |
154 |
+ netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) |
155 |
+ netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) |
156 |
+ netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) |
157 |
+ netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) |
158 |
+ netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) |
159 |
+ netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) |
160 |
+ netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) |
161 |
+ netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) |
162 |
+ netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) |
163 |
+ netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) |
164 |
+ netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) |
165 |
+ doc? ( ~dev-java/netbeans-javadoc-${PV} )" |
166 |
+ |
167 |
+JAVA_PKG_BSFIX="off" |
168 |
+NBLOCALES="" |
169 |
+ |
170 |
+pkg_setup() { |
171 |
+ for lingua in ${IUSE_L10N} ; do |
172 |
+ if use ${lingua} ; then |
173 |
+ local lang=${lingua/l10n_/} |
174 |
+ lang=${lang/-/_} |
175 |
+ |
176 |
+ case ${lang} in |
177 |
+ id-ID) lang="in_ID";; |
178 |
+ esac |
179 |
+ |
180 |
+ if [ -z "${NBLOCALES}" ] ; then |
181 |
+ NBLOCALES="${lang}" |
182 |
+ else |
183 |
+ NBLOCALES="${NBLOCALES},${lang}" |
184 |
+ fi |
185 |
+ fi |
186 |
+ done |
187 |
+ |
188 |
+ java-pkg-2_pkg_setup |
189 |
+} |
190 |
+ |
191 |
+src_unpack() { |
192 |
+ if [ -n "${NBLOCALES}" ] ; then |
193 |
+ unpack $(basename ${SOURCE_URL}) |
194 |
+ unpack $(basename ${L10N_URL}) |
195 |
+ |
196 |
+ einfo "Deleting bundled jars..." |
197 |
+ find -name "*.jar" -type f -delete |
198 |
+ |
199 |
+ unpack netbeans-8.2-build.xml.patch.bz2 |
200 |
+ fi |
201 |
+} |
202 |
+ |
203 |
+src_prepare() { |
204 |
+ if [ -n "${NBLOCALES}" ] ; then |
205 |
+ einfo "Deleting bundled class files..." |
206 |
+ find -name "*.class" -type f | xargs rm -vf |
207 |
+ |
208 |
+ epatch netbeans-8.2-build.xml.patch |
209 |
+ |
210 |
+ # Support for custom patches |
211 |
+ if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then |
212 |
+ local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` |
213 |
+ |
214 |
+ if [ -n "${files}" ] ; then |
215 |
+ einfo "Applying custom patches:" |
216 |
+ |
217 |
+ for file in ${files} ; do |
218 |
+ epatch "${file}" |
219 |
+ done |
220 |
+ fi |
221 |
+ fi |
222 |
+ |
223 |
+ einfo "Symlinking external libraries..." |
224 |
+ java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar |
225 |
+ fi |
226 |
+ |
227 |
+ java-pkg-2_src_prepare |
228 |
+} |
229 |
+ |
230 |
+src_compile() { |
231 |
+ if [ -n "${NBLOCALES}" ] ; then |
232 |
+ einfo "Compiling support for locales: ${NBLOCALES}" |
233 |
+ eant -f nbbuild/build.xml bootstrap || die |
234 |
+ eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ |
235 |
+ -Dpermit.jdk7.builds=true -f l10n/build.xml build || die |
236 |
+ fi |
237 |
+} |
238 |
+ |
239 |
+src_install() { |
240 |
+ if [ -n "${NBLOCALES}" ] ; then |
241 |
+ pushd "${S}"/nbbuild/netbeans >/dev/null || die |
242 |
+ |
243 |
+ for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do |
244 |
+ if [ -d "${cluster}" ] ; then |
245 |
+ insinto /usr/share/netbeans-${cluster}-${SLOT} |
246 |
+ doins -r ${cluster}/* |
247 |
+ fi |
248 |
+ done |
249 |
+ |
250 |
+ if [ -d nb ] ; then |
251 |
+ insinto /usr/share/netbeans-nb-${SLOT}/nb |
252 |
+ doins -r nb/* |
253 |
+ fi |
254 |
+ |
255 |
+ popd >/dev/null || die |
256 |
+ |
257 |
+ make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development |
258 |
+ |
259 |
+ for lingua in ${IUSE_L10N}; do |
260 |
+ if use ${lingua} ; then |
261 |
+ local locale=${lingua/l10n_/} |
262 |
+ locale=${locale/-/:} |
263 |
+ |
264 |
+ case ${locale} in |
265 |
+ id:ID) lang="in:ID";; |
266 |
+ esac |
267 |
+ |
268 |
+ make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development |
269 |
+ fi |
270 |
+ done |
271 |
+ fi |
272 |
+} |
273 |
+ |
274 |
+pkg_postinst() { |
275 |
+ if [ -n "${NBLOCALES}" ] ; then |
276 |
+ einfo "Netbeans automatically starts with the locale you have set in your user profile, if" |
277 |
+ einfo "the locale is built for Netbeans." |
278 |
+ einfo "If you want to force specific locale, use --locale argument, for example:" |
279 |
+ einfo "${PN}-${SLOT} --locale de" |
280 |
+ einfo "${PN}-${SLOT} --locale pt:BR" |
281 |
+ fi |
282 |
+ |
283 |
+ if use l10n_id_ID ; then |
284 |
+ einfo |
285 |
+ einfo "You selected Indonesian locale which has locale code in:ID in Netbeans." |
286 |
+ fi |
287 |
+} |