1 |
fordfrog 12/04/26 21:49:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: netbeans-mobility-7.1.2.ebuild |
5 |
Log: |
6 |
dev-java/netbeans-mobility: version bump in 7.1 slot |
7 |
|
8 |
(Portage version: 2.1.10.57/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.10 dev-java/netbeans-mobility/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/netbeans-mobility/ChangeLog?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/netbeans-mobility/ChangeLog?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/netbeans-mobility/ChangeLog?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/netbeans-mobility/ChangeLog,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- ChangeLog 5 Mar 2012 14:18:19 -0000 1.9 |
24 |
+++ ChangeLog 26 Apr 2012 21:49:38 -0000 1.10 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-java/netbeans-mobility |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-mobility/ChangeLog,v 1.9 2012/03/05 14:18:19 fordfrog Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-mobility/ChangeLog,v 1.10 2012/04/26 21:49:38 fordfrog Exp $ |
30 |
+ |
31 |
+*netbeans-mobility-7.1.2 (26 Apr 2012) |
32 |
+ |
33 |
+ 26 Apr 2012; Miroslav Ć ulc <fordfrog@g.o> |
34 |
+ +netbeans-mobility-7.1.2.ebuild: |
35 |
+ Version bump in 7.1 slot |
36 |
|
37 |
*netbeans-mobility-7.1.1 (05 Mar 2012) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-java/netbeans-mobility/netbeans-mobility-7.1.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/netbeans-mobility/netbeans-mobility-7.1.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/netbeans-mobility/netbeans-mobility-7.1.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: netbeans-mobility-7.1.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-mobility/netbeans-mobility-7.1.2.ebuild,v 1.1 2012/04/26 21:49:38 fordfrog Exp $ |
52 |
|
53 |
EAPI="4" |
54 |
WANT_ANT_TASKS="ant-nodeps" |
55 |
inherit eutils java-pkg-2 java-ant-2 |
56 |
|
57 |
DESCRIPTION="Netbeans Mobility Cluster" |
58 |
HOMEPAGE="http://netbeans.org/features/platform/" |
59 |
SLOT="7.1" |
60 |
SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1.2/final/zip/netbeans-7.1.2-201204101705-src.zip" |
61 |
SRC_URI="${SOURCE_URL} |
62 |
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2 |
63 |
http://hg.netbeans.org/binaries/CEF99941E945D543DF0711F2C6AEF765B50F8501-jakarta-slide-ant-webdav-2.1.jar |
64 |
http://hg.netbeans.org/binaries/D1B5BA3BFE8DCFAF08A0468F8879EF1D0E998038-jakarta-slide-webdavlib-2.1.jar |
65 |
http://hg.netbeans.org/binaries/2FB485DD8C5EFC7972037781BFFF0CE31316FCE6-jmunit-1.2.1-api.zip |
66 |
http://hg.netbeans.org/binaries/BD84F1A4C0789070CC62A8D2DBA75121A57C069C-jmunit4cldc10-1.2.1.jar |
67 |
http://hg.netbeans.org/binaries/D76B8334DCBDBE93297AA5C02B17D9A856E72246-jmunit4cldc11-1.2.1.jar |
68 |
http://hg.netbeans.org/binaries/D63B2CB355170F1BC8E126E43021047F94243B70-perseus-nb-1.0.1.jar" |
69 |
LICENSE="|| ( CDDL GPL-2-with-linking-exception )" |
70 |
KEYWORDS="~amd64 ~x86" |
71 |
IUSE="" |
72 |
S="${WORKDIR}" |
73 |
|
74 |
CDEPEND="~dev-java/netbeans-apisupport-${PV} |
75 |
~dev-java/netbeans-enterprise-${PV} |
76 |
~dev-java/netbeans-ide-${PV} |
77 |
~dev-java/netbeans-java-${PV} |
78 |
~dev-java/netbeans-platform-${PV} |
79 |
~dev-java/netbeans-websvccommon-${PV} |
80 |
dev-java/ant-contrib:0 |
81 |
dev-java/commons-httpclient:3 |
82 |
dev-java/jdom:1.0" |
83 |
DEPEND="virtual/jdk:1.6 |
84 |
app-arch/unzip |
85 |
${CDEPEND} |
86 |
dev-java/javahelp:0" |
87 |
RDEPEND=">=virtual/jdk-1.6 |
88 |
${CDEPEND}" |
89 |
|
90 |
INSTALL_DIR="/usr/share/${PN}-${SLOT}" |
91 |
|
92 |
EANT_BUILD_XML="nbbuild/build.xml" |
93 |
EANT_BUILD_TARGET="rebuild-cluster" |
94 |
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.mobility -Dext.binaries.downloaded=true" |
95 |
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7" |
96 |
JAVA_PKG_BSFIX="off" |
97 |
|
98 |
src_unpack() { |
99 |
unpack $(basename ${SOURCE_URL}) |
100 |
|
101 |
einfo "Deleting bundled jars..." |
102 |
find -name "*.jar" -type f | grep -vE "mobility.databindingme/lib/netbeans_databindingme.*\.jar" \ |
103 |
| grep -v "vmd.components.midp/netbeans_midp_components_basic/dist/netbeans_midp_components_basic.jar" \ |
104 |
| grep -v "vmd.components.midp.pda/netbeans_midp_components_pda/dist/netbeans_midp_components_pda.jar" \ |
105 |
| grep -v "vmd.components.midp.wma/netbeans_midp_components_wma/dist/netbeans_midp_components_wma.jar" \ |
106 |
| grep -v "vmd.components.svg/nb_svg_midp_components/dist/nb_svg_midp_components.jar" | xargs rm |
107 |
|
108 |
unpack netbeans-9999-r1-build.xml.patch.bz2 |
109 |
|
110 |
pushd "${S}" >/dev/null || die |
111 |
ln -s "${DISTDIR}"/CEF99941E945D543DF0711F2C6AEF765B50F8501-jakarta-slide-ant-webdav-2.1.jar mobility.deployment.webdav/external/jakarta-slide-ant-webdav-2.1.jar || die |
112 |
ln -s "${DISTDIR}"/D1B5BA3BFE8DCFAF08A0468F8879EF1D0E998038-jakarta-slide-webdavlib-2.1.jar mobility.deployment.webdav/external/jakarta-slide-webdavlib-2.1.jar || die |
113 |
ln -s "${DISTDIR}"/2FB485DD8C5EFC7972037781BFFF0CE31316FCE6-jmunit-1.2.1-api.zip mobility.j2meunit/external/jmunit-1.2.1-api.zip || die |
114 |
ln -s "${DISTDIR}"/BD84F1A4C0789070CC62A8D2DBA75121A57C069C-jmunit4cldc10-1.2.1.jar mobility.j2meunit/external/jmunit4cldc10-1.2.1.jar || die |
115 |
ln -s "${DISTDIR}"/D76B8334DCBDBE93297AA5C02B17D9A856E72246-jmunit4cldc11-1.2.1.jar mobility.j2meunit/external/jmunit4cldc11-1.2.1.jar || die |
116 |
ln -s "${DISTDIR}"/D63B2CB355170F1BC8E126E43021047F94243B70-perseus-nb-1.0.1.jar svg.perseus/external/perseus-nb-1.0.1.jar || die |
117 |
popd >/dev/null || die |
118 |
} |
119 |
|
120 |
src_prepare() { |
121 |
einfo "Deleting bundled class files..." |
122 |
find -name "*.class" -type f | xargs rm -vf |
123 |
|
124 |
epatch netbeans-9999-r1-build.xml.patch |
125 |
|
126 |
# Support for custom patches |
127 |
if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then |
128 |
local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f` |
129 |
|
130 |
if [ -n "${files}" ] ; then |
131 |
einfo "Applying custom patches:" |
132 |
|
133 |
for file in ${files} ; do |
134 |
epatch "${file}" |
135 |
done |
136 |
fi |
137 |
fi |
138 |
|
139 |
einfo "Symlinking external libraries..." |
140 |
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar |
141 |
java-pkg_jar-from --into mobility.antext/external ant-contrib ant-contrib.jar ant-contrib-1.0b3.jar |
142 |
java-pkg_jar-from --into mobility.deployment.webdav/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.0.1.jar |
143 |
java-pkg_jar-from --into mobility.deployment.webdav/external jdom-1.0 jdom.jar jdom-1.0.jar |
144 |
|
145 |
einfo "Linking in other clusters..." |
146 |
mkdir "${S}"/nbbuild/netbeans || die |
147 |
pushd "${S}"/nbbuild/netbeans >/dev/null || die |
148 |
|
149 |
ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die |
150 |
cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die |
151 |
touch nb.cluster.apisupport.built |
152 |
|
153 |
ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die |
154 |
cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die |
155 |
touch nb.cluster.enterprise.built |
156 |
|
157 |
ln -s /usr/share/netbeans-ide-${SLOT} ide || die |
158 |
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die |
159 |
touch nb.cluster.ide.built |
160 |
|
161 |
ln -s /usr/share/netbeans-java-${SLOT} java || die |
162 |
cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die |
163 |
touch nb.cluster.java.built |
164 |
|
165 |
ln -s /usr/share/netbeans-platform-${SLOT} platform || die |
166 |
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die |
167 |
touch nb.cluster.platform.built |
168 |
|
169 |
ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die |
170 |
cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die |
171 |
touch nb.cluster.websvccommon.built |
172 |
|
173 |
popd >/dev/null || die |
174 |
|
175 |
java-pkg-2_src_prepare |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
pushd nbbuild/netbeans/mobility >/dev/null || die |
180 |
|
181 |
insinto ${INSTALL_DIR} |
182 |
|
183 |
grep -E "/mobility$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die |
184 |
|
185 |
doins -r * |
186 |
rm -rf "${D}"/${INSTALL_DIR}/modules/lib || die |
187 |
|
188 |
popd >/dev/null || die |
189 |
|
190 |
local instdir=${INSTALL_DIR}/modules/ext |
191 |
pushd "${D}"/${instdir} >/dev/null || die |
192 |
rm ant-contrib-1.0b3.jar && dosym /usr/share/ant-contrib/lib/ant-contrib.jar ${instdir}/ant-contrib-1.0b3.jar || die |
193 |
# cdc-agui-swing-layout.jar |
194 |
# cdc-pp-awt-layout.jar |
195 |
rm commons-httpclient-3.0.1.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.0.1.jar || die |
196 |
# jakarta-slide-ant-webdav-2.1.jar |
197 |
# jakarta-slide-webdavlib-2.1.jar |
198 |
rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die |
199 |
# jmunit4cldc10-1.2.1.jar |
200 |
# jmunit4cldc11-1.2.1.jar |
201 |
# nbactivesync-5.0.jar |
202 |
# nb_svg_midp_components.jar |
203 |
# netbeans_databindingme.jar |
204 |
# netbeans_databindingme_pim.jar |
205 |
# netbeans_databindingme_svg.jar |
206 |
# netbeans_midp_components_basic.jar |
207 |
# netbeans_midp_components_pda.jar |
208 |
# netbeans_midp_components_wma.jar |
209 |
# org-netbeans-modules-deployment-deviceanywhere.jar |
210 |
# org-netbeans-modules-j2me-cdc-platform-nsicom-probe.jar |
211 |
# org-netbeans-modules-j2me-cdc-project.jar |
212 |
# org-netbeans-modules-j2me-cdc-project-nokiaS80.jar |
213 |
# org-netbeans-modules-j2me-cdc-project-ojec.jar |
214 |
# org-netbeans-modules-j2me-cdc-project-ricoh.jar |
215 |
# org-netbeans-modules-j2me-cdc-project-savaje.jar |
216 |
# org-netbeans-modules-j2me-cdc-project-semc.jar |
217 |
# org-netbeans-modules-j2me-cdc-project-sjmc.jar |
218 |
# perseus-nb-1.0.1.jar |
219 |
# RicohAntTasks-2.0.jar |
220 |
popd >/dev/null || die |
221 |
|
222 |
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/mobility |
223 |
} |