diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2010-07-08 20:45:26 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2010-07-08 20:45:26 +0000 |
commit | e162168e6b893ff31dddba04a82c1cb9acd9a8fb (patch) | |
tree | 8ca04686f58373af579c714ba252187346844ab3 /dev-util/netbeans | |
parent | Version bump. Switched to EAPI3 (diff) | |
download | gentoo-2-e162168e6b893ff31dddba04a82c1cb9acd9a8fb.tar.gz gentoo-2-e162168e6b893ff31dddba04a82c1cb9acd9a8fb.tar.bz2 gentoo-2-e162168e6b893ff31dddba04a82c1cb9acd9a8fb.zip |
fixed bug #325217 and added highres icon to netbeans 6.9
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/netbeans')
-rw-r--r-- | dev-util/netbeans/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/netbeans/files/6.9/netbeans.png | bin | 0 -> 20011 bytes | |||
-rw-r--r-- | dev-util/netbeans/netbeans-6.9-r1.ebuild (renamed from dev-util/netbeans/netbeans-6.9.ebuild) | 86 |
3 files changed, 52 insertions, 43 deletions
diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog index 6af2d86f8dda..2d09938a1798 100644 --- a/dev-util/netbeans/ChangeLog +++ b/dev-util/netbeans/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/netbeans # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.140 2010/07/07 20:01:01 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.141 2010/07/08 20:45:25 fordfrog Exp $ + +*netbeans-6.9-r1 (08 Jul 2010) + + 08 Jul 2010; Miroslav Šulc <fordfrog@gentoo.org> +files/6.9/netbeans.png, + -netbeans-6.9.ebuild, +netbeans-6.9-r1.ebuild: + Fixed bug #325217 which caused javadoc could not be built, also added high + resolution icon 07 Jul 2010; Christian Faulhammer <fauli@gentoo.org> netbeans-6.8-r1.ebuild: diff --git a/dev-util/netbeans/files/6.9/netbeans.png b/dev-util/netbeans/files/6.9/netbeans.png Binary files differnew file mode 100644 index 000000000000..f99dbb6b7a62 --- /dev/null +++ b/dev-util/netbeans/files/6.9/netbeans.png diff --git a/dev-util/netbeans/netbeans-6.9.ebuild b/dev-util/netbeans/netbeans-6.9-r1.ebuild index 38c1f09d2836..ca47c831caac 100644 --- a/dev-util/netbeans/netbeans-6.9.ebuild +++ b/dev-util/netbeans/netbeans-6.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-6.9.ebuild,v 1.2 2010/06/30 12:16:56 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-6.9-r1.ebuild,v 1.1 2010/07/08 20:45:25 fordfrog Exp $ EAPI="2" WANT_SPLIT_ANT="true" @@ -351,24 +351,26 @@ pkg_setup() { # currently we require all clusters when building javadoc, can be tested # what clusters are really needed to build javadoc - if use doc ; then - need_apisupport="1" - need_cnd="1" - need_dlight="1" - need_enterprise="1" - need_ergonomics="1" - need_groovy="1" - need_harness="1" - need_ide="1" - need_identity="1" - need_java="1" - need_mobility="1" - need_nb="1" - need_php="1" - need_profiler="1" - need_ruby="1" - need_websvccommon="1" - fi + # disabled for now as building javadoc now fails with providing clusters + # so trying to drop this requirement + #if use doc ; then + # need_apisupport="1" + # need_cnd="1" + # need_dlight="1" + # need_enterprise="1" + # need_ergonomics="1" + # need_groovy="1" + # need_harness="1" + # need_ide="1" + # need_identity="1" + # need_java="1" + # need_mobility="1" + # need_nb="1" + # need_php="1" + # need_profiler="1" + # need_ruby="1" + # need_websvccommon="1" + #fi if [ -n "${need_apisupport}" ] ; then need_harness="1" @@ -430,7 +432,7 @@ pkg_setup() { if [ -n "${missing}" ] ; then eerror "You need to add these modules to NETBEANS_MODULES because they are needed by modules you have selected." - use doc && eerror "With \"doc\" USE flag enabled, all modules are required." + # use doc && eerror "With \"doc\" USE flag enabled, all modules are required." eerror " Missing NETBEANS_MODULES:${missing}" die "Missing NETBEANS_MODULES" fi @@ -447,8 +449,11 @@ pkg_setup() { src_prepare () { # We need to disable downloading of jars epatch "${FILESDIR}"/${SLOT}/nbbuild_build.xml.patch \ - "${FILESDIR}"/${SLOT}/nbbuild_templates_projectized.xml.patch \ - "${FILESDIR}"/${SLOT}/o.jruby.distro_disable.patch + "${FILESDIR}"/${SLOT}/nbbuild_templates_projectized.xml.patch + + if [ -z "${JAVA_PKG_NB_TRY_JRUBY}" ] ; then + epatch "${FILESDIR}"/${SLOT}/o.jruby.distro_disable.patch + fi # Clean up nbbuild einfo "Removing prebuilt *.class files from nbbuild" @@ -640,19 +645,14 @@ src_compile() { # Fails to compile java-pkg_filter-compiler ecj-3.2 ecj-3.3 ecj-3.4 ecj-3.5 - # Build the clusters - local heap="" + ANT_TASKS="ant-nodeps ant-trax" ANT_OPTS="-Xmx1g -Djava.awt.headless=true" \ + eant ${antflags} ${clusters} -f nbbuild/build.xml ${extra_flags} ${build_target} + if use doc ; then - heap="-Xmx1536m" - else - heap="-Xmx1g" + ANT_TASKS="ant-nodeps ant-trax" ANT_OPTS="-Xmx1536m -Djava.awt.headless=true" \ + eant ${antflags} -f nbbuild/build.xml ${extra_flags} build-javadoc fi - local extra_tasks="" - - ANT_TASKS="ant-nodeps ant-trax" ANT_OPTS="${heap} -Djava.awt.headless=true" \ - eant ${antflags} ${clusters} -f nbbuild/build.xml ${extra_flags} ${build_target} $(use_doc build-javadoc) - local locales="" for lang in ${IUSE_LINGUAS} ; do local mylang=${lang/linguas_/} @@ -778,14 +778,16 @@ src_install() { done fi - # this is disabled because we have issue with building jruby-1.5.0, so we do not - # build jruby at all and instead users will have to use only system jruby - #if use netbeans_modules_ruby ; then - # cd "${D}"/${DESTINATION}/ruby/jruby-1.5.0/bin || die - # for file in * ; do - # fperms 755 ${file} || die - # done - #fi + # DISABLED FOR NOW BECAUSE BUILDING BUNDLED JRUBY FAILS + # see: http://netbeans.org/bugzilla/show_bug.cgi?id=186736 + if [ -n "${JAVA_PKG_NB_TRY_JRUBY}" ] ; then + if use netbeans_modules_ruby ; then + cd "${D}"/${DESTINATION}/ruby/jruby-1.5.0/bin || die + for file in * ; do + fperms 755 ${file} || die + done + fi + fi # Link netbeans executable from bin if [[ -f "${D}"/${DESTINATION}/bin/netbeans ]]; then @@ -817,8 +819,8 @@ src_install() { # Icons and shortcuts if use netbeans_modules_nb ; then einfo "Installing icon..." - dodir /usr/share/icons/hicolor/32x32/apps - dosym ${DESTINATION}/nb/netbeans.png /usr/share/icons/hicolor/32x32/apps/netbeans-${SLOT}.png + dodir /usr/share/icons/hicolor/128x128/apps + dosym "${FILESDIR}"/${SLOT}/netbeans.png /usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png fi make_desktop_entry netbeans-${SLOT} "Netbeans ${SLOT}" netbeans-${SLOT} Development |