Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/netbeans/
Date: Sat, 14 Sep 2019 15:37:54
Message-Id: 1568475437.1b79fafd5c9c3d7fb1ec8aab83320e03b204dc30.mgorny@gentoo
1 commit: 1b79fafd5c9c3d7fb1ec8aab83320e03b204dc30
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 14 15:27:05 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 14 15:37:17 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b79fafd
7
8 dev-util/netbeans: Remove last-rited pkg
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-util/netbeans/Manifest | 3 -
13 dev-util/netbeans/metadata.xml | 23 ----
14 dev-util/netbeans/netbeans-8.2.ebuild | 236 ----------------------------------
15 3 files changed, 262 deletions(-)
16
17 diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
18 deleted file mode 100644
19 index 6bb3f14a8fc..00000000000
20 --- a/dev-util/netbeans/Manifest
21 +++ /dev/null
22 @@ -1,3 +0,0 @@
23 -DIST netbeans-8.2-201609300101-src.zip 217356974 BLAKE2B 0afd60c1060a0a1d7be882628a0d4df1d8e214aabb4c8ec511341e40960eb291dbd768150711e3d639e6cd200136d2170e3cfead6c9c76be19509327debcf8a9 SHA512 d0499489dcd9383f719209997fd5518ea93ad5c2f727005f074a351a4adc7f8708ebff972a4bff4572e2ba9237b14c7a24b7fb1f89100e33012e14404f0336e7
24 -DIST netbeans-8.2-build.xml.patch.bz2 2678 BLAKE2B abfb7cb228a8f0a03d052226d4ea6b5ce111d8d246cf070a2548a6019b7abf793af5fb21dcde54bcfaaa31ffdfdc112f742971a7b55dfc79a5d78483bde299d4 SHA512 a287681acc0771445f9389b22ca6fd855393c0b9e8885680d13c9157aa37b215162aac6f958d0831dc64a55fc21a391fdee13c3ab9a97ad416929c6a4710b619
25 -DIST netbeans-l10n-8.2-20160920.tar.bz2 12723797 BLAKE2B b87fc120d6dbb1207d70bbc3324c60c41c2ac8cae8af014ba47bc15c383f7fb821924d3337b25a0b59d0ef2ad641444ed5f85e46d02cd19b07b8913d9ddaf10d SHA512 4ac086e8189d89e7a0b91e7e03352f691f09edf208017062a8fc798e6f54906f1c85112dd2780feefa6a21c8fcb582b91bdd9758f5a90c05cbd2e3042d6c87c3
26
27 diff --git a/dev-util/netbeans/metadata.xml b/dev-util/netbeans/metadata.xml
28 deleted file mode 100644
29 index 8834161921f..00000000000
30 --- a/dev-util/netbeans/metadata.xml
31 +++ /dev/null
32 @@ -1,23 +0,0 @@
33 -<?xml version="1.0" encoding="UTF-8"?>
34 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 -<pkgmetadata>
36 - <maintainer type="person">
37 - <email>fordfrog@g.o</email>
38 - <name>Miroslav Šulc</name>
39 - </maintainer>
40 - <maintainer type="project">
41 - <email>java@g.o</email>
42 - <name>Java</name>
43 - </maintainer>
44 - <longdescription>
45 -NetBeans is dedicated to providing rock solid software development products (NetBeans IDE, NetBeans Platform) that address the needs
46 -of developers, users and the businesses who rely on NetBeans as a basis for their products. NetBeans is also a vibrant community
47 -where people from just about any country you can think of, have the ability ask questions, give advice, make a wide variety of
48 -contributions and ultimately share in the success of our products. You will find students on our mailing list, developers from top
49 -companies and individuals looking to sharpen their skills.
50 -
51 -In June of 2000 NetBeans was made Open Source by Sun Microsystems who remains the project sponsor. Today two products exist: the
52 -NetBeans IDE and NetBeans Platform. Both products are free for commercial and noncommercial use. The source code to both are available
53 -to anyone, to reuse as they see fit, under the terms of use.
54 - </longdescription>
55 -</pkgmetadata>
56
57 diff --git a/dev-util/netbeans/netbeans-8.2.ebuild b/dev-util/netbeans/netbeans-8.2.ebuild
58 deleted file mode 100644
59 index 1fc9f826f55..00000000000
60 --- a/dev-util/netbeans/netbeans-8.2.ebuild
61 +++ /dev/null
62 @@ -1,236 +0,0 @@
63 -# Copyright 1999-2018 Gentoo Foundation
64 -# Distributed under the terms of the GNU General Public License v2
65 -
66 -EAPI="6"
67 -inherit eutils java-pkg-2 java-ant-2
68 -
69 -DESCRIPTION="Netbeans IDE"
70 -HOMEPAGE="https://netbeans.org/"
71 -SLOT="8.2"
72 -SOURCE_URL="https://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101-src.zip"
73 -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.2-build.xml.patch.bz2"
74 -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-8.2-20160920.tar.bz2"
75 -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
76 -SRC_URI="l10n_af? ( ${ALL_URLS} )
77 - l10n_ar? ( ${ALL_URLS} )
78 - l10n_bg? ( ${ALL_URLS} )
79 - l10n_ca? ( ${ALL_URLS} )
80 - l10n_cs? ( ${ALL_URLS} )
81 - l10n_de? ( ${ALL_URLS} )
82 - l10n_el? ( ${ALL_URLS} )
83 - l10n_es? ( ${ALL_URLS} )
84 - l10n_fil? ( ${ALL_URLS} )
85 - l10n_fr? ( ${ALL_URLS} )
86 - l10n_gl? ( ${ALL_URLS} )
87 - l10n_hi? ( ${ALL_URLS} )
88 - l10n_id? ( ${ALL_URLS} )
89 - l10n_it? ( ${ALL_URLS} )
90 - l10n_ja? ( ${ALL_URLS} )
91 - l10n_ko? ( ${ALL_URLS} )
92 - l10n_lt? ( ${ALL_URLS} )
93 - l10n_nl? ( ${ALL_URLS} )
94 - l10n_pl? ( ${ALL_URLS} )
95 - l10n_pt-BR? ( ${ALL_URLS} )
96 - l10n_pt-PT? ( ${ALL_URLS} )
97 - l10n_ro? ( ${ALL_URLS} )
98 - l10n_ru? ( ${ALL_URLS} )
99 - l10n_si? ( ${ALL_URLS} )
100 - l10n_sq? ( ${ALL_URLS} )
101 - l10n_sr? ( ${ALL_URLS} )
102 - l10n_sv? ( ${ALL_URLS} )
103 - l10n_ta? ( ${ALL_URLS} )
104 - l10n_tr? ( ${ALL_URLS} )
105 - l10n_vi? ( ${ALL_URLS} )
106 - l10n_zh-CN? ( ${ALL_URLS} )
107 - l10n_zh-TW? ( ${ALL_URLS} )
108 -"
109 -LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
110 -KEYWORDS="amd64 ~x86"
111 -IUSE_NETBEANS_MODULES="
112 - +netbeans_modules_apisupport
113 - netbeans_modules_cnd
114 - netbeans_modules_dlight
115 - netbeans_modules_enterprise
116 - netbeans_modules_ergonomics
117 - netbeans_modules_extide
118 - netbeans_modules_groovy
119 - +netbeans_modules_java
120 - netbeans_modules_javacard
121 - +netbeans_modules_javafx
122 - netbeans_modules_mobility
123 - netbeans_modules_php
124 - +netbeans_modules_profiler
125 - netbeans_modules_webcommon
126 - +netbeans_modules_websvccommon"
127 -IUSE_L10N="
128 - l10n_af
129 - l10n_ar
130 - l10n_bg
131 - l10n_ca
132 - l10n_cs
133 - l10n_de
134 - l10n_el
135 - l10n_es
136 - l10n_fil
137 - l10n_fr
138 - l10n_gl
139 - l10n_hi
140 - l10n_id
141 - l10n_it
142 - l10n_ja
143 - l10n_ko
144 - l10n_lt
145 - l10n_nl
146 - l10n_pl
147 - l10n_pt-BR
148 - l10n_pt-PT
149 - l10n_ro
150 - l10n_ru
151 - l10n_si
152 - l10n_sq
153 - l10n_sr
154 - l10n_sv
155 - l10n_ta
156 - l10n_tr
157 - l10n_vi
158 - l10n_zh-CN
159 - l10n_zh-TW"
160 -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}"
161 -S="${WORKDIR}"
162 -
163 -CDEPEND="virtual/jdk:1.8"
164 -DEPEND="${CDEPEND}
165 - app-arch/unzip
166 - dev-java/javahelp:0"
167 -RDEPEND="${CDEPEND}
168 - ~dev-java/netbeans-harness-${PV}
169 - ~dev-java/netbeans-ide-${PV}
170 - ~dev-java/netbeans-nb-${PV}
171 - ~dev-java/netbeans-platform-${PV}
172 - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} )
173 - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} )
174 - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} )
175 - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} )
176 - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} )
177 - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} )
178 - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} )
179 - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} )
180 - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} )
181 - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} )
182 - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} )
183 - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} )
184 - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} )
185 - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} )
186 - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} )
187 - doc? ( ~dev-java/netbeans-javadoc-${PV} )"
188 -
189 -JAVA_PKG_BSFIX="off"
190 -NBLOCALES=""
191 -
192 -pkg_setup() {
193 - for lingua in ${IUSE_L10N} ; do
194 - if use ${lingua} ; then
195 - local lang=${lingua/l10n_/}
196 - lang=${lang/-/_}
197 -
198 - case ${lang} in
199 - ar) lang="ar_EG,ar_SA" ;;
200 - es) lang="es,es_CO" ;;
201 - fil) lang="fil_PH" ;;
202 - gl) lang="gl_ES" ;;
203 - hi) lang="hi_IN" ;;
204 - id) lang="in_ID" ;;
205 - nl) lang="nl_BE,nl_NL" ;;
206 - ta) lang="ta_IN" ;;
207 - esac
208 -
209 - if [ -z "${NBLOCALES}" ] ; then
210 - NBLOCALES="${lang}"
211 - else
212 - NBLOCALES="${NBLOCALES},${lang}"
213 - fi
214 - fi
215 - done
216 -
217 - java-pkg-2_pkg_setup
218 -}
219 -
220 -src_unpack() {
221 - if [ -n "${NBLOCALES}" ] ; then
222 - unpack $(basename ${SOURCE_URL})
223 - unpack $(basename ${L10N_URL})
224 -
225 - einfo "Deleting bundled jars..."
226 - find -name "*.jar" -type f -delete
227 -
228 - unpack netbeans-8.2-build.xml.patch.bz2
229 - fi
230 -}
231 -
232 -src_prepare() {
233 - if [ -n "${NBLOCALES}" ] ; then
234 - einfo "Deleting bundled class files..."
235 - find -name "*.class" -type f | xargs rm -vf
236 -
237 - eapply netbeans-8.2-build.xml.patch
238 -
239 - einfo "Symlinking external libraries..."
240 - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
241 - fi
242 -
243 - java-pkg-2_src_prepare
244 - default
245 -}
246 -
247 -src_compile() {
248 - if [ -n "${NBLOCALES}" ] ; then
249 - einfo "Compiling support for locales: ${NBLOCALES}"
250 - eant -f nbbuild/build.xml bootstrap || die
251 - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \
252 - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die
253 - fi
254 -}
255 -
256 -src_install() {
257 - if [ -n "${NBLOCALES}" ] ; then
258 - pushd "${S}"/nbbuild/netbeans >/dev/null || die
259 -
260 - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do
261 - if [ -d "${cluster}" ] ; then
262 - insinto /usr/share/netbeans-${cluster}-${SLOT}
263 - doins -r ${cluster}/*
264 - fi
265 - done
266 -
267 - if [ -d nb ] ; then
268 - insinto /usr/share/netbeans-nb-${SLOT}/nb
269 - doins -r nb/*
270 - fi
271 -
272 - popd >/dev/null || die
273 -
274 - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development
275 -
276 - for lingua in ${IUSE_L10N}; do
277 - if use ${lingua} ; then
278 - local locales=${lingua/l10n_/}
279 - locales=${locales/-/:}
280 -
281 - case ${locales} in
282 - ar) lang="ar:EG ar:SA" ;;
283 - es) lang="es es:CO" ;;
284 - fil) lang="fil:PH" ;;
285 - gl) lang="gl:ES" ;;
286 - hi) lang="hi:IN" ;;
287 - id) lang="in:ID" ;;
288 - nl) lang="nl:BE nl:NL" ;;
289 - ta) lang="ta:IN" ;;
290 - esac
291 -
292 - for locale in ${locales}; do
293 - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development
294 - done
295 - fi
296 - done
297 - fi
298 -}