# ChangeLog for dev-util/netbeans
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.57 2007/04/06 18:01:36 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/ChangeLog,v 1.58 2007/04/06 18:14:38 wltjr Exp $
+
+ 06 Apr 2007; William L. Thomson Jr. <wltjr@gentoo.org>
+ -files/antbuild.xml.patch, -files/emptyunscramble.xsl,
+ -files/nbbuild.patch, -files/netbeans, -files/netbeans-KDE.desktop,
+ -netbeans-3.5.1.ebuild:
+ Removed older version, along with old files, some orphaned by previous removals
06 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
netbeans-3.6-r1.ebuild:
+++ /dev/null
---- build.xml.old 2005-03-20 22:39:56.064664753 +0200
-+++ build.xml 2005-03-20 22:40:28.277780414 +0200
-@@ -19,11 +19,8 @@
- <!-- LFI #2106 for all: -->
- <binary clear="ant-api-1.6.2.zip" scrambled="ant-api-1.6.2.zip.scrambled" license="${extnl}/apache-license-2.0.txt"/>
- <binary clear="ant-docs-1.6.2.zip" scrambled="ant-docs-1.6.2.zip.scrambled" license="${extnl}/apache-license-2.0.txt"/>
-- <binary clear="ant-libs-1.6.2.zip" scrambled="ant-libs-1.6.2.zip.scrambled" license="${extnl}/apache-license-2.0.txt"/>
- <binary clear="ant-misc-1.6.2.zip" scrambled="ant-misc-1.6.2.zip.scrambled" license="${extnl}/apache-license-2.0.txt"/>
- </unscramble>
-- <mkdir dir="lib"/>
-- <unzip src="ant-libs-1.6.2.zip" dest="lib"/>
- </target>
- <target name="scramble">
- <taskdef name="scramble" classname="org.netbeans.nbbuild.Scramble" classpath="${extnl}/scrambler.jar"/>
+++ /dev/null
-MD5 25d4bdc431dcd5a229082f716a35768c NetBeansIDE-release351.tar.bz2 24379869
-RMD160 64e851d8771391c8d911ced11c481e150da62423 NetBeansIDE-release351.tar.bz2 24379869
-SHA256 a9cfceb8aa950b1b7c72663a325a7fbfa1f9d2d9bd54af8f94cb2124297f0f43 NetBeansIDE-release351.tar.bz2 24379869
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:template match="@*|node()">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:template>
-
- <xsl:template match="//target[@name='unscramble']/*">
- <!-- nothing here -->
- </xsl:template>
-
-</xsl:stylesheet>
+++ /dev/null
-diff -Naur nbbuildold/build.properties nbbuild/build.properties
---- nbbuildold/build.properties 2005-02-10 23:37:01.248593180 +0200
-+++ nbbuild/build.properties 2005-02-10 23:37:59.946697450 +0200
-@@ -56,7 +56,7 @@
- # a config.modules.XXX property, where XXX is the config name.
- # Each is a list of module names, as subdirectories beneath the
- # root of the source tree, separated by commas.
--moduleconfig=stable
-+moduleconfig=stable-without-webapps
-
- # Dist directory for L10N kits
- l10n.dist.dir=l10ndist
-@@ -165,8 +165,6 @@
- web/core, \
- web/jspdebug, \
- web/examples, \
-- tomcatint/tomcat5, \
-- tomcatint/tomcat5/bundled, \
- monitor
-
- config.fixedmodules.platform=core, \
-diff -Naur nbbuildold/cluster.properties nbbuild/cluster.properties
---- nbbuildold/cluster.properties 2005-02-10 23:38:22.249317476 +0200
-+++ nbbuild/cluster.properties 2005-02-10 23:39:19.373660250 +0200
-@@ -150,7 +150,6 @@
- j2eeserver/j2eeapis, \
- j2eeserver/ant, \
- schema2beans/rt, \
-- tomcatint/tomcat5, \
- monitor, \
- httpserver, \
- httpserver/servletapi, \
-@@ -177,7 +176,6 @@
- ide/welcome, \
- ide/launcher/upgrade, \
- ide/applemenu, \
-- tomcatint/tomcat5/bundled, \
- web/examples
-
- nb.pkg.testtools.dir=testtools
+++ /dev/null
-# Author: Dylan Carlson
-# May 2003
-# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/files/netbeans,v 1.2 2004/07/18 03:13:23 dragonheart Exp $
-
-JAVA_HOME=`/usr/bin/java-config --jdk-home`
-if [ -z "${JAVA_HOME}" ] ; then
- JAVA_HOME=`/usr/bin/java-config --jre-home`
-fi
-
-if [ ! -f ${JAVA_HOME}/bin/java ] ; then
- echo " "
- echo "I tried using the following Java Runtime:"
- echo "${JAVA_HOME}/bin/java"
- echo " "
- echo "Java Runtime missing. Please run java-config(1) and ensure"
- echo "your environment is configured properly."
- exit 1
-else
- echo " "
- echo "Using Java Runtime:"
- echo "${JAVA_HOME}/bin/java"
- echo " "
- echo "Using CLASSPATH:"
- echo "${CLASSPATH}"
- echo " "
-fi
+++ /dev/null
-[Desktop Entry]
-Encoding=UTF-8
-GenericName=Java IDE
-X-KDE-StartupNotify=true
-MimeType=application/x-java
-Terminal=false
-Type=Application
-
-
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-3.5.1.ebuild,v 1.15 2006/10/05 14:41:29 gustavoz Exp $
-
-IUSE="kde gnome"
-
-MY_BUILD=200307252${PV//.}
-MY_P=NetBeansIDE-release${PV//.}
-S=${WORKDIR}/${PN}
-DESCRIPTION="NetBeans IDE for Java"
-SRC_URI="http://www.netbeans.org/download/release${PV//.}/night/build${MY_BUILD}/${MY_P}.tar.bz2"
-HOMEPAGE="http://www.netbeans.org"
-
-SLOT="0"
-LICENSE="GPL-2 Apache-1.1 sun-bcla-j2ee JPython SPL"
-KEYWORDS="amd64 ppc x86"
-#still need to add JPython, Sun Public and DynamicJava licenses
-#sun-j2ee actually contains Sun Binary Code license
-#will have to be renamed and containing it ebuilds updated at spome point..
-
-DEPEND=">=virtual/jdk-1.3
- >=sys-apps/sed-4"
-
-src_unpack() {
- unpack ${A}
-
- # fix jdkhome references
- cd ${S}/bin
- # runide.sh
- sed -i -e 's:^jdkhome="":jdkhome="`java-config --jdk-home`":' \
- runide.sh
-}
-
-src_install() {
- # remove non-x86 Linux binaries
- rm -f ${S}/bin/runide*.exe ${S}/bin/rmid_wrapper.exe
- rm -f ${S}/bin/runide_exe_defaults
- rm -f ${S}/bin/runide*.com
- rm -f ${S}/bin/runideos2.cmd
- rm -f ${S}/bin/fastjavac/fastjavac.exe
- rm -f ${S}/bin/fastjavac/fastjavac.sun
- rm -f ${S}/bin/fastjavac/fastjavac.sun.intel
- rm -f ${S}/bin/unsupported/*.bat
-
- # Remove MacOS X Binaries? This doesn't necessarily make
- # sense because MacOS X could live happily beside Gentoo.
- rm -f ${S}/bin/macosx_launcher.dmg
-
- dodir /opt/${P}
- dodoc build_info
- dohtml CHANGES.html CREDITS.html README.html netbeans.css
- # note: docs/ are docs used internally by the IDE
- cp -Rdp beans bin \
- docs lib \
- modules sources \
- system tomcat406 \
- update_tracking ${D}/opt/${P}
- keepdir /opt/${P}/lib/patches \
- /opt/${P}/modules \
- /opt/netbeans-3.5/tomcat406/server/classes \
- /opt/netbeans-3.5/tomcat406/classes \
- /opt/netbeans-3.5/modules/ext/locale
- dodir /usr/bin
- dosym /opt/${P}/bin/runide.sh /usr/bin/netbeans
-
- # If either Gnome or KDE are installed, then install the icons.
- if use gnome || use kde; then
- echo "Adding icons...."
- insinto /usr/share/pixmaps
- doins ${FILESDIR}/netbeans.png
- fi
-
- # If Gnome is installed, then copy in the desktop entry.
- if use gnome ; then
- einfo "Adding Gnome support...."
- insinto /usr/share/gnome/apps/Development
- doins ${FILESDIR}/netbeans.desktop
- echo "Exec=/opt/${P}/bin/runide.sh" >> ${D}/usr/share/gnome/apps/Development/netbeans.desktop
- echo >> ${D}/usr/share/gnome/apps/Development/netbeans.desktop
- fi
-
- # If KDE is installed, the copy in the menu entry to the
- # "Development" menu.
- # Unfortunately, the file doesn't contain any internationalized
- # text at the moment.
- if use kde ; then
- einfo "Adding KDE support...."
- DESKTOP_FILE=netbeans-KDE.desktop
- DESKTOP_DIR=/usr/share/applnk/Development
- DESKTOP=${DESKTOP_DIR}/${DESKTOP_FILE}
- insinto ${DESKTOP_DIR}
- doins ${FILESDIR}/${DESKTOP_FILE}
- echo "Name=NetBeans ${PV}" >> ${D}/${DESKTOP}
- echo "Exec=/usr/bin/netbeans" >> ${D}/${DESKTOP}
- echo "Icon=/usr/share/pixmaps/netbeans.png" >> ${D}/${DESKTOP}
- echo >> ${D}/${DESKTOP}
- fi
-}