Gentoo Archives: gentoo-commits

From: "Miroslav Sulc (fordfrog)" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/netbeans-javadoc: ChangeLog netbeans-javadoc-7.1.ebuild
Date: Fri, 06 Jan 2012 11:45:47
Message-Id: 20120106114534.F3FC620033@flycatcher.gentoo.org
1 fordfrog 12/01/06 11:45:34
2
3 Modified: ChangeLog
4 Added: netbeans-javadoc-7.1.ebuild
5 Log:
6 dev-java/netbeans-javadoc: version bump
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 dev-java/netbeans-javadoc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/netbeans-javadoc/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/netbeans-javadoc/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/netbeans-javadoc/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-java/netbeans-javadoc/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 16 Sep 2011 19:48:33 -0000 1.7
24 +++ ChangeLog 6 Jan 2012 11:45:34 -0000 1.8
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-java/netbeans-javadoc
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-javadoc/ChangeLog,v 1.7 2011/09/16 19:48:33 fordfrog Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-javadoc/ChangeLog,v 1.8 2012/01/06 11:45:34 fordfrog Exp $
31 +
32 +*netbeans-javadoc-7.1 (06 Jan 2012)
33 +
34 + 06 Jan 2012; Miroslav Šulc <fordfrog@g.o>
35 + +netbeans-javadoc-7.1.ebuild:
36 + Version bump
37
38 16 Sep 2011; Miroslav Šulc <fordfrog@g.o>
39 netbeans-javadoc-7.0.1.ebuild:
40
41
42
43 1.1 dev-java/netbeans-javadoc/netbeans-javadoc-7.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/netbeans-javadoc/netbeans-javadoc-7.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/netbeans-javadoc/netbeans-javadoc-7.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: netbeans-javadoc-7.1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-javadoc/netbeans-javadoc-7.1.ebuild,v 1.1 2012/01/06 11:45:34 fordfrog Exp $
53
54 EAPI="4"
55 WANT_ANT_TASKS="ant-nodeps"
56 inherit eutils java-pkg-2 java-ant-2
57
58 DESCRIPTION="Netbeans JavaDocs"
59 HOMEPAGE="http://netbeans.org/"
60 SLOT="7.1"
61 SOURCE_URL="http://dlc.sun.com.edgesuite.net/netbeans/7.1/final/zip/netbeans-7.1-201112071828-src.zip"
62 SRC_URI="${SOURCE_URL}
63 http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r1-build.xml.patch.bz2
64 http://hg.netbeans.org/binaries/FF23DBB427D09AAEC3998B50D740C42B6A3FCD61-ant-libs-1.8.2.zip"
65 LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68 S="${WORKDIR}"
69
70 DEPEND="virtual/jdk:1.6
71 app-arch/unzip
72 dev-java/javahelp:0
73 dev-java/junit:4
74 ~dev-java/netbeans-apisupport-${PV}
75 ~dev-java/netbeans-cnd-${PV}
76 ~dev-java/netbeans-dlight-${PV}
77 ~dev-java/netbeans-enterprise-${PV}
78 ~dev-java/netbeans-ergonomics-${PV}
79 ~dev-java/netbeans-groovy-${PV}
80 ~dev-java/netbeans-harness-${PV}
81 ~dev-java/netbeans-ide-${PV}
82 ~dev-java/netbeans-java-${PV}
83 ~dev-java/netbeans-javacard-${PV}
84 ~dev-java/netbeans-javafx-${PV}
85 ~dev-java/netbeans-mobility-${PV}
86 ~dev-java/netbeans-nb-${PV}
87 ~dev-java/netbeans-php-${PV}
88 ~dev-java/netbeans-platform-${PV}
89 ~dev-java/netbeans-profiler-${PV}
90 ~dev-java/netbeans-websvccommon-${PV}"
91 RDEPEND=""
92
93 JAVA_PKG_BSFIX="off"
94
95 src_unpack() {
96 unpack $(basename ${SOURCE_URL})
97
98 einfo "Deleting bundled jars..."
99 find -name "*.jar" -type f -delete
100
101 unpack netbeans-9999-r1-build.xml.patch.bz2
102
103 pushd "${S}" >/dev/null || die
104 ln -s "${DISTDIR}"/FF23DBB427D09AAEC3998B50D740C42B6A3FCD61-ant-libs-1.8.2.zip o.apache.tools.ant.module/external/ant-libs-1.8.2.zip || die
105 popd >/dev/null || die
106 }
107
108 src_prepare() {
109 einfo "Deleting bundled class files..."
110 find -name "*.class" -type f | xargs rm -vf
111
112 epatch netbeans-9999-r1-build.xml.patch
113
114 # Support for custom patches
115 if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
116 local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
117
118 if [ -n "${files}" ] ; then
119 einfo "Applying custom patches:"
120
121 for file in ${files} ; do
122 epatch "${file}"
123 done
124 fi
125 fi
126
127 einfo "Symlinking external libraries..."
128 java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
129 java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
130
131 einfo "Linking in other clusters..."
132 mkdir "${S}"/nbbuild/netbeans || die
133 pushd "${S}"/nbbuild/netbeans >/dev/null || die
134
135 ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
136 cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
137 touch nb.cluster.apisupport.built
138
139 ln -s /usr/share/netbeans-cnd-${SLOT} cnd || die
140 cat /usr/share/netbeans-cnd-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
141 touch nb.cluster.cnd.built
142
143 ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
144 cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
145 touch nb.cluster.dlight.built
146
147 ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
148 cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
149 touch nb.cluster.enterprise.built
150
151 ln -s /usr/share/netbeans-ergonomics-${SLOT} ergonomics || die
152 cat /usr/share/netbeans-ergonomics-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
153 touch nb.cluster.ergonomics.built
154
155 ln -s /usr/share/netbeans-groovy-${SLOT} groovy || die
156 cat /usr/share/netbeans-groovy-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
157 touch nb.cluster.groovy.built
158
159 ln -s /usr/share/netbeans-harness-${SLOT} harness || die
160 cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
161 touch nb.cluster.harness.built
162
163 ln -s /usr/share/netbeans-ide-${SLOT} ide || die
164 cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
165 touch nb.cluster.ide.built
166
167 ln -s /usr/share/netbeans-java-${SLOT} java || die
168 cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
169 touch nb.cluster.java.built
170
171 ln -s /usr/share/netbeans-javacard-${SLOT} javacard || die
172 cat /usr/share/netbeans-javacard-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
173 touch nb.cluster.javacard.built
174
175 ln -s /usr/share/netbeans-mobility-${SLOT} mobility || die
176 cat /usr/share/netbeans-mobility-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
177 touch nb.cluster.mobility.built
178
179 ln -s /usr/share/netbeans-nb-${SLOT}/nb nb || die
180 cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die
181 touch nb.cluster.nb.built
182
183 ln -s /usr/share/netbeans-php-${SLOT} php || die
184 cat /usr/share/netbeans-php-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
185 touch nb.cluster.php.built
186
187 ln -s /usr/share/netbeans-platform-${SLOT} platform || die
188 cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
189 touch nb.cluster.platform.built
190
191 ln -s /usr/share/netbeans-profiler-${SLOT} profiler || die
192 cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
193 touch nb.cluster.profiler.built
194
195 ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
196 cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
197 touch nb.cluster.websvccommon.built
198
199 java-pkg-2_src_prepare
200 }
201
202 src_compile() {
203 eant -f nbbuild/build.xml bootstrap || die
204 ANT_OPTS="-Xmx1536m" eant -f nbbuild/javadoctools/build.xml build-javadoc
205 }
206
207 src_install() {
208 rm nbbuild/build/javadoc/*.zip
209 java-pkg_dojavadoc nbbuild/build/javadoc
210 }