diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2008-11-21 01:23:35 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2008-11-21 01:23:35 +0000 |
commit | 9b4a1bb7cfb8db4edd7d7ec0d2d480eca55fc644 (patch) | |
tree | fe86818e513e79ef0617d34cbda687999d1590c2 /dev-util | |
parent | sweethome3d moved from java-experimental to java-overlay as it works now (diff) | |
download | java-9b4a1bb7cfb8db4edd7d7ec0d2d480eca55fc644.tar.gz java-9b4a1bb7cfb8db4edd7d7ec0d2d480eca55fc644.tar.bz2 java-9b4a1bb7cfb8db4edd7d7ec0d2d480eca55fc644.zip |
removing netbeans-6.1 from java-overlay as it is obsoleted by netbeans-6.5 which is now in the main tree
svn path=/java-overlay/; revision=7232
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/netbeans/ChangeLog | 17 | ||||
-rw-r--r-- | dev-util/netbeans/Manifest | 12 | ||||
-rw-r--r-- | dev-util/netbeans/files/6.1/config.sh | 216 | ||||
-rw-r--r-- | dev-util/netbeans/files/6.1/nbbuild-build.xml.patch | 16 | ||||
-rw-r--r-- | dev-util/netbeans/files/6.1/o.apache.tools.ant.module-build.xml.patch | 23 | ||||
-rw-r--r-- | dev-util/netbeans/files/6.1/o.apache.tools.ant.module-external-build.xml.patch | 10 | ||||
-rw-r--r-- | dev-util/netbeans/files/6.1/startscript.sh | 2 | ||||
-rw-r--r-- | dev-util/netbeans/files/6.1/visualweb-JxpsSerializer.java-xerces-2.8.1.patch | 47 | ||||
-rw-r--r-- | dev-util/netbeans/files/6.1/websvc.jaxws21-build.xml.patch | 9 | ||||
-rw-r--r-- | dev-util/netbeans/files/6.1/websvc.jaxws21api-build.xml.patch | 9 | ||||
-rw-r--r-- | dev-util/netbeans/metadata.xml | 17 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-6.1-r1.ebuild | 431 |
12 files changed, 0 insertions, 809 deletions
diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog deleted file mode 100644 index 273cf60d..00000000 --- a/dev-util/netbeans/ChangeLog +++ /dev/null @@ -1,17 +0,0 @@ -# ChangeLog for dev-util/netbeans -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 16 Oct 2008; Miroslav Šulc <fordfrog@gentoo.org> netbeans-6.1-r1.ebuild: - pkg_postrm() removed - - 08 Oct 2008; Miroslav Šulc <fordfrog@gentoo.org> +files/6.1/config.sh, - +files/6.1/o.apache.tools.ant.module-build.xml.patch, - +files/6.1/o.apache.tools.ant.module-external-build.xml.patch, - +files/6.1/startscript.sh, +files/6.1/websvc.jaxws21-build.xml.patch, - +files/6.1/visualweb-JxpsSerializer.java-xerces-2.8.1.patch, - +files/6.1/nbbuild-build.xml.patch, - +files/6.1/websvc.jaxws21api-build.xml.patch, +metadata.xml, - +netbeans-6.1-r1.ebuild: - Moved from java-experimental overlay - diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest deleted file mode 100644 index 32b7af4c..00000000 --- a/dev-util/netbeans/Manifest +++ /dev/null @@ -1,12 +0,0 @@ -AUX 6.1/config.sh 8352 RMD160 1372eee38b8ef3b624fd1690d5e47948ab3219b0 SHA1 8582da271addae8cd3537bd3e9f2bb38bde6aeda SHA256 a4c88ca39c0feeda75659d670db9d0f05a61ce3cf13089e99c7ab9f67cea05f2 -AUX 6.1/nbbuild-build.xml.patch 891 RMD160 e0c125f84a86e42f23048ee086cc5e6a9891bb06 SHA1 d5a09fd78b287672464c49a37b0c26612acfa1de SHA256 353c575543b4d62f5bb849c5e82400b84c1ca71c230bd842eb384c71e7bf6ab0 -AUX 6.1/o.apache.tools.ant.module-build.xml.patch 822 RMD160 8d4bdcbf34a50d4cad0cfa6297c020c45c8892c9 SHA1 3019a573679ee4f792dc5e970d258f1fe619f52f SHA256 9c70911af02dea348f000ebcabccb21917eb4206f96547261124a367c0cf9aca -AUX 6.1/o.apache.tools.ant.module-external-build.xml.patch 431 RMD160 13c0f75bacb4e9cc12463d5043d9be0a0dd9a6bf SHA1 7abdd603f8a9a59d0d972644c52afbf17ad258cd SHA256 fb64412cc56cf9a67c598b59556c5acf368c7fa25275594f409e6d032380655e -AUX 6.1/startscript.sh 54 RMD160 290cf29ddf046cc86b40bc346ba87d0a0982a63b SHA1 a8012e9c6be0fe26e5032abd2641165519cf84af SHA256 e7671eb8ad5ec5010102c6dbcb3b08612463322e5367df16a93c2bb02ab6d174 -AUX 6.1/visualweb-JxpsSerializer.java-xerces-2.8.1.patch 2260 RMD160 262c5c7bc6d0363cc3bafa5f8731373f5c5e5922 SHA1 8efa45c7e90a8f2e29ec3eaa28193b9ee5abc30a SHA256 c2c0f9ba2a9d4040ef1ae09f59a26856826c8542a10b3ccfabda3af84476c89f -AUX 6.1/websvc.jaxws21-build.xml.patch 337 RMD160 8c217c1b7f7699be7a567ad4a471250355c686ac SHA1 6d779521f17d392643f2e56c752df4262d1c3eeb SHA256 3b5225b345596b05f8734757961624c499073e38900964d0308e28128dccefdb -AUX 6.1/websvc.jaxws21api-build.xml.patch 346 RMD160 06a8fb2400812251621a13f642e7fc22ab7d4413 SHA1 f06d0ac3829983e3506e88638e43292ad4aaa15d SHA256 472f32352ca320a2522fe1096f3f8acdf619d6012e903dfe8f76e51e9806b662 -DIST netbeans-6.1-bundled.tar.bz2 222310744 RMD160 0da76fc5bd5c276c80f11b6e3b763e32ebe86748 SHA1 958ced3eebd563bc6faf09387e6b9fe7a0ad4040 SHA256 cc68db782a0be34134db525a77b70a8864cf174c94187e4c8ce92dbf182f5664 -EBUILD netbeans-6.1-r1.ebuild 16234 RMD160 454a035bb545553fe1ee0219f67a31242069042b SHA1 f7e10b6e9070197f756c15a83990e917a5617e50 SHA256 ef56d38a103bbf20004c46aa9ce2791d98bd4a92d303b18d5a64c42752485dfe -MISC ChangeLog 716 RMD160 e3e5d2575e9ed07cf4a4a42bd642e1c945b3e18d SHA1 9b5b83032e76f34490d4554c8576bc64fa50ea4b SHA256 daee6b2f00ed52d89931d85c4f720d6eb0c2e07f01dd7cd718c38bdfdfdfdb36 -MISC metadata.xml 1128 RMD160 9ba1b3fec0fedacd10416e7c61edfecada1912cd SHA1 997b3db42167a9e591c3667ffddd125bbb85fa98 SHA256 8c524b060fdbfc4aa432a528c2e78ad05eb20fcf4bc8973c1c8366699bb90b5a diff --git a/dev-util/netbeans/files/6.1/config.sh b/dev-util/netbeans/files/6.1/config.sh deleted file mode 100644 index e0e1f504..00000000 --- a/dev-util/netbeans/files/6.1/config.sh +++ /dev/null @@ -1,216 +0,0 @@ -#!/bin/bash - -source /etc/init.d/functions.sh - -function display_usage() { - einfo "Gentoo Netbeans 6.1 Configuration Utility" - einfo - einfo "Usage ${0} <action>" - einfo "Actions:" - einfo " ant - Configures Netbeans 6.1 ant classpath. Useful if you want to use ant-1.7 with Netbeans." - einfo " Default Netbeans configuration doesn't work with Gentoo ant-1.7 because Gentoo ant-1.7" - einfo " is split into several packages in separate directories whereas default Netbeans" - einfo " configuration expects all these packages being in single directory. You must define" - einfo " paths to these packages in Netbeans ant configuration so ant can find them. This action" - einfo " configures Netbeans ant classpath for you so ant knows where these packages are. You" - einfo " can modify the classpath in Tools -> Options -> Miscellaneous -> Ant -> Manage Classpath." - einfo " lm - Copies settings of Library Manager from one version of Netbeans to another so you do not" - einfo " have to define/update it manually. It is useful if you are upgrading from 5.5 to 6.1 or" - einfo " you use both 5.5 and 6.1 and want to copy the settings from one version to the other." - einfo " Netbeans 5.5 and 6.1 are supported." - einfo " tomcat55 - Adds Tomcat 5.5 configuration to Netbeans Server Manager. Tomcat 5.5 must be installed" - einfo " before it can be used from Netbeans." - einfo " jboss4 - Adds JBoss 4.x configuration to Netbeans Server Manager. JBoss 4.x must be installed" - einfo " before it can be used from Netbeans." -} - -function config_ant() { - einfo "Gentoo Netbeans 6.1 Configuration Utility - Ant Configuration" - einfo - einfo "Provide path to your Netbeans home dir." - einfo "Default is [${HOME}/.netbeans/dev]:" - read USERDIR - if [ -z "${USERDIR}" ]; then - USERDIR="${HOME}/.netbeans/dev" - fi - - einfo "Updating file ${FILE}" - FILE="${USERDIR}/config/Preferences/org/apache/tools/ant/module.properties" - if [ ! -f ${FILE} ]; then - mkdir -p `dirname ${FILE}` - echo "extraClasspath=$(java-config -dp ant-tasks | sed -e 's/:/\\:/g')" >> ${FILE} \ - || die "Ant classpath update failed" - else - sed -i -e "s/extraClasspath=.*//" ${FILE} - echo "extraClasspath=$(java-config -dp ant-tasks | sed -e 's/:/\\:/g')" >> ${FILE} \ - || die "Ant classpath update failed" - fi - - einfo - einfo "Ant configuration file has been updated" -} - -function config_lm() { - einfo "Gentoo Netbeans 6.1 Configuration Utility - Library Manager Configuration" - einfo - einfo "Provide path to Netbeans user dir you want to copy the configuration FROM." - einfo "Default is [${HOME}/.netbeans/5.5]:" - read SOURCE - if [ -z "${SOURCE}" ]; then - SOURCE="${HOME}/.netbeans/5.5" - fi - if [ ! -d "${SOURCE}" ]; then - eerror "Directory ${SOURCE} does not exist." - return 1 - fi - einfo "Provide path to Netbeans user dir you want to copy the configuration TO." - einfo "Default is [${HOME}/.netbeans/dev]:" - read TARGET - if [ -z "${TARGET}" ]; then - TARGET="${HOME}/.netbeans/dev" - fi - if [ ! -d "${TARGET}" ]; then - eerror "Directory ${TARGET} does not exist." - return 1 - fi - einfo "Copying Library Manager configuration" - einfo "from: ${SOURCE}" - einfo "to : ${TARGET}" - cp -R ${SOURCE}/config/org-netbeans-api-project-libraries/* ${TARGET}/config/org-netbeans-api-project-libraries/ \ - || die "Cannot copy Library Manager configuration" - - einfo - einfo "Library Manager configuration files has been updated" -} - -config_tomcat55() { - SERVER_NAME="Tomcat 5.5" - INSTANCE_CONFIG=" <attr name=\"admin_port\" stringvalue=\"8005\"/> - <attr name=\"debug_type\" stringvalue=\"SEL_debuggingType_socket\"/> - <attr name=\"displayName\" stringvalue=\"Tomcat 5.5\"/> - <attr name=\"httpportnumber\" stringvalue=\"8080\"/> - <attr name=\"instance_id\" stringvalue=\"tomcat55\"/> - <attr name=\"monitor_enabled\" stringvalue=\"false\"/> - <attr name=\"password\" stringvalue=\"password\"/> - <attr name=\"runningCheckTimeout\" stringvalue=\"2000\"/> - <attr name=\"timestamp\" stringvalue=\"1161241641000\"/> - <attr name=\"url\" stringvalue=\"tomcat55:home=/usr/share/tomcat-5.5:base=/var/lib/tomcat-5.5\"/> - <attr name=\"username\" stringvalue=\"ide\"/>" - PROPERTIES_FILE="tomcat55.properties" - PROPERTIES="tomcat.home=/usr/share/tomcat-5.5\ntomcat.password=password\ntomcat.url=http://localhost:8080\ntomcat.username=ide" - SERVER_PACKAGE="www-servers/tomcat-5.5" - config_server - einfo - einfo "You still need to add" - einfo "<user username=\"ide\" password=\"password\" roles=\"manager\"/>" - einfo "to /etc/tomcat-5.5/tomcat-users.xml to be able to deploy applications from Netbeans." -} - -config_jboss4() { - SERVER_NAME="JBoss 4" - INSTANCE_CONFIG=" <attr name=\"deploy-dir\" stringvalue=\"/usr/share/jboss-4/server/default/deploy\"/> - <attr name=\"displayName\" stringvalue=\"JBoss Application Server 4\"/> - <attr name=\"host\" stringvalue=\"localhost\"/> - <attr name=\"password\" stringvalue=\"\"/> - <attr name=\"port\" stringvalue=\"8080\"/> - <attr name=\"root-dir\" stringvalue=\"/usr/share/jboss-4\"/> - <attr name=\"server\" stringvalue=\"default\"/> - <attr name=\"server-dir\" stringvalue=\"/usr/share/jboss-4/server/default\"/> - <attr name=\"url\" stringvalue=\"jboss-deployer:localhost:8080#default&/usr/share/jboss-4\"/> - <attr name=\"username\" stringvalue=\"\"/>" - PROPERTIES_FILE="config/J2EE/jb.properties" - PROPERTIES="#\n#Tue Nov 21 23:34:10 CET 2006\ninstallRoot=/usr/share/jboss-4" - SERVER_PACKAGE="www-servers/jboss-4" - config_server -} - -# These variables must be set before this function is called: -# SERVER_NAME -# INSTANCE_CONFIG -# PROPERTIES_FILE -# PROPERTIES -# SERVER_PACKAGE -# See config_tomcat55 for content. - -config_server() { - einfo "Gentoo Netbeans 6.1 Configuration Utility - ${SERVER_NAME} Configuration" - einfo - einfo "Provide path to your Netbeans home dir." - einfo "Default is [${HOME}/.netbeans/dev]:" - read USERDIR - if [ -z "${USERDIR}" ]; then - USERDIR="${HOME}/.netbeans/dev" - fi - - FILE="${USERDIR}/config/J2EE/InstalledServers/.nbattrs" - if [ ! -d "${USERDIR}/config/J2EE/InstalledServers" ]; then - mkdir -p ${USERDIR}/config/J2EE/InstalledServers - fi - - if [ ! -f "${FILE}" ]; then - echo -e "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE attributes PUBLIC \"-//NetBeans//DTD DefaultAttributes 1.0//EN\" \"http://www.netbeans.org/dtds/attributes-1_0.dtd\">\n<attributes version=\"1.0\">\n</attributes>" > ${FILE} - fi - - EXISTS=`grep "\"${SERVER_NAME}\"" ${FILE}` - if [ -n "${EXISTS}" ]; then - ewarn - ewarn "Netbeans configuration file already contains \"${SERVER_NAME}\" configuration. Doing nothing." - else - get_j2ee_instance ${FILE} - - sed -i -e "s%</attributes>%%" ${FILE} - get_j2ee_instance - echo " <fileobject name=\"${INSTANCE}\">" >> ${FILE} - echo ${INSTANCE_CONFIG} >> ${FILE} - echo -e " </fileobject>\n</attributes>" >> ${FILE} - touch ${USERDIR}/config/J2EE/InstalledServers/${INSTANCE} - - echo -e ${PROPERTIES} > ${USERDIR}/${PROPERTIES_FILE} - - einfo - einfo "Netbeans has been configured for ${SERVER_NAME}." - - if ! portageq has_version / =${SERVER_PACKAGE}*; then - ewarn "You do not have ${SERVER_NAME} emerged. Run" - ewarn "emerge =${SERVER_PACKAGE}*" - ewarn "to have ${SERVER_NAME} installed." - fi - fi -} - -get_j2ee_instance() { - INSTANCE_FILE="${USERDIR}/config/J2EE/InstalledServers/.nbattrs" - INSTANCE=`grep "\"instance\"" ${INSTANCE_FILE}` - if [ -z "${INSTANCE}" ]; then - INSTANCE="instance" - else - COUNTER=0 - while [ -n "${INSTANCE}" ]; do - COUNTER=$((${COUNTER} + 1)) - INSTANCE=`grep "\"instance_${COUNTER}\"" ${INSTANCE_FILE}` - done - INSTANCE="instance_${COUNTER}" - fi -} - -case ${1} in - ant) - config_ant - ;; - - lm) - config_lm - ;; - - tomcat55) - config_tomcat55 - ;; - - jboss4) - config_jboss4 - ;; - - *) - display_usage - ;; -esac diff --git a/dev-util/netbeans/files/6.1/nbbuild-build.xml.patch b/dev-util/netbeans/files/6.1/nbbuild-build.xml.patch deleted file mode 100644 index 4642a183..00000000 --- a/dev-util/netbeans/files/6.1/nbbuild-build.xml.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- nbbuild/build.xml.orig 2008-03-16 17:20:39.000000000 +0100 -+++ nbbuild/build.xml 2008-03-16 17:30:45.000000000 +0100 -@@ -1693,7 +1693,13 @@ - <target name="create-license-summary" depends="bootstrap" description="Create a summary of the licenses used by libraries in the build."> - <taskdef name="createlicensesummary" classname="org.netbeans.nbbuild.extlibs.CreateLicenseSummary" classpath="nbantext.jar"/> - <mkdir dir="build"/> -+ <echo> -+ *** WARNING *** -+ We (Gentoo devs) are not currently able to run createlicensessummary task as it fails for currently unknown reason. -+ </echo> -+ <!-- - <createlicensesummary report="build/createlicensesummary.xml" nball=".." build="${netbeans.dest.dir}" summary="${netbeans.dest.dir}/THIRDPARTYLICENSE-generated.txt"/> -+ --> - </target> - - <target name="sanity-build-from-source-pkg" depends="build-source"> diff --git a/dev-util/netbeans/files/6.1/o.apache.tools.ant.module-build.xml.patch b/dev-util/netbeans/files/6.1/o.apache.tools.ant.module-build.xml.patch deleted file mode 100644 index cc56504a..00000000 --- a/dev-util/netbeans/files/6.1/o.apache.tools.ant.module-build.xml.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- o.apache.tools.ant.module/build.xml.orig 2008-02-08 11:53:31.000000000 +0100 -+++ o.apache.tools.ant.module/build.xml 2008-02-08 11:53:55.000000000 +0100 -@@ -76,20 +76,6 @@ - - <target name="release" depends="init"> - <mkdir dir="${cluster}/ant/lib"/> -- <copy todir="${cluster}/ant/lib"> -- <fileset dir="external/lib"/> -- </copy> -- <unzip dest="${cluster}/ant"> -- <fileset dir="external"> -- <include name="ant-misc-*.zip"/> -- </fileset> -- </unzip> -- <chmod perm="ugo+x"> -- <fileset dir="${cluster}/ant/bin"> -- <exclude name="*.cmd"/> -- <exclude name="*.bat"/> -- </fileset> -- </chmod> - </target> - - <target name="netbeans-extra" depends="jar-bridge,release"/> diff --git a/dev-util/netbeans/files/6.1/o.apache.tools.ant.module-external-build.xml.patch b/dev-util/netbeans/files/6.1/o.apache.tools.ant.module-external-build.xml.patch deleted file mode 100644 index e12ec3ed..00000000 --- a/dev-util/netbeans/files/6.1/o.apache.tools.ant.module-external-build.xml.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- o.apache.tools.ant.module/external/build.xml.orig 2008-02-07 18:48:01.000000000 +0100 -+++ o.apache.tools.ant.module/external/build.xml 2008-02-07 18:48:13.000000000 +0100 -@@ -42,7 +42,6 @@ - --> - <project name="o.apache.tools.ant.module/external" default="unzip" basedir="."> - <target name="unzip"> -- <unzip src="ant-libs-1.7.0.zip" dest="lib"/> - </target> - <target name="clean"> - <delete dir="lib"/> diff --git a/dev-util/netbeans/files/6.1/startscript.sh b/dev-util/netbeans/files/6.1/startscript.sh deleted file mode 100644 index 24856792..00000000 --- a/dev-util/netbeans/files/6.1/startscript.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -/usr/share/netbeans-6.1/bin/netbeans "$@" diff --git a/dev-util/netbeans/files/6.1/visualweb-JxpsSerializer.java-xerces-2.8.1.patch b/dev-util/netbeans/files/6.1/visualweb-JxpsSerializer.java-xerces-2.8.1.patch deleted file mode 100644 index a4831f81..00000000 --- a/dev-util/netbeans/files/6.1/visualweb-JxpsSerializer.java-xerces-2.8.1.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- JspxSerializer.java.original 2007-04-17 17:15:38.000000000 +0200 -+++ JspxSerializer.java 2007-04-17 17:16:10.000000000 +0200 -@@ -1359,7 +1359,7 @@ - int ch = source.charAt(i); - if (!XMLChar.isValid(ch)) { - if (++i < length) { -- surrogates(ch, source.charAt(i)); -+ surrogates(ch, source.charAt(i), true); - } else { - fatalError("The character '" + (char) ch + "' is an invalid XML character"); - } -@@ -1419,7 +1419,7 @@ - if (!XMLChar.isValid(ch)) { - // check if it is surrogate - if (++index <length) { -- surrogates(ch, text.charAt(index)); -+ surrogates(ch, text.charAt(index), true); - } else { - fatalError("The character '"+(char)ch+"' is an invalid XML character"); - } -@@ -1441,7 +1441,7 @@ - if (!XMLChar.isValid(ch)) { - // check if it is surrogate - if (++index <length) { -- surrogates(ch, text.charAt(index)); -+ surrogates(ch, text.charAt(index), true); - } else { - fatalError("The character '"+(char)ch+"' is an invalid XML character"); - } -@@ -1473,7 +1473,7 @@ - if (!XMLChar.isValid(ch)) { - // check if it is surrogate - if (++start <length) { -- surrogates(ch, chars[start]); -+ surrogates(ch, chars[start], true); - } else { - fatalError("The character '"+(char)ch+"' is an invalid XML character"); - } -@@ -1497,7 +1497,7 @@ - if (!XMLChar.isValid(ch)) { - // check if it is surrogate - if (++start <length) { -- surrogates(ch, chars[start]); -+ surrogates(ch, chars[start], true); - } else { - fatalError("The character '"+(char)ch+"' is an invalid XML character"); - } diff --git a/dev-util/netbeans/files/6.1/websvc.jaxws21-build.xml.patch b/dev-util/netbeans/files/6.1/websvc.jaxws21-build.xml.patch deleted file mode 100644 index 45ad37df..00000000 --- a/dev-util/netbeans/files/6.1/websvc.jaxws21-build.xml.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- websvc.jaxws21/build.xml.orig 2008-02-11 13:19:16.000000000 +0100 -+++ websvc.jaxws21/build.xml 2008-02-11 13:19:56.000000000 +0100 -@@ -42,4 +42,6 @@ - --> - <project name="websvc.jaxws21" default="netbeans" basedir="."> - <import file="../nbbuild/templates/projectized.xml"/> -+ <target name="release"> -+ </target> - </project> diff --git a/dev-util/netbeans/files/6.1/websvc.jaxws21api-build.xml.patch b/dev-util/netbeans/files/6.1/websvc.jaxws21api-build.xml.patch deleted file mode 100644 index 547b6080..00000000 --- a/dev-util/netbeans/files/6.1/websvc.jaxws21api-build.xml.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- websvc.jaxws21api/build.xml.orig 2008-02-10 18:36:25.000000000 +0100 -+++ websvc.jaxws21api/build.xml 2008-02-10 18:28:01.000000000 +0100 -@@ -42,4 +42,6 @@ - --> - <project name="websvc.jaxws21api" default="netbeans" basedir="."> - <import file="../nbbuild/templates/projectized.xml"/> -+ <target name="release"> -+ </target> - </project> diff --git a/dev-util/netbeans/metadata.xml b/dev-util/netbeans/metadata.xml deleted file mode 100644 index 7369d35c..00000000 --- a/dev-util/netbeans/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>dev-tools</herd> -<herd>java</herd> -<longdescription> -NetBeans is dedicated to providing rock solid software development products (NetBeans IDE, NetBeans Platform) that address the needs -of developers, users and the businesses who rely on NetBeans as a basis for their products. NetBeans is also a vibrant community -where people from just about any country you can think of, have the ability ask questions, give advice, make a wide variety of -contributions and ultimately share in the success of our products. You will find students on our mailing list, developers from top -companies and individuals looking to sharpen their skills. - -In June of 2000 NetBeans was made Open Source by Sun Microsystems who remains the project sponsor. Today two products exist: the -NetBeans IDE and NetBeans Platform. Both products are free for commercial and noncommercial use. The source code to both are available -to anyone, to reuse as they see fit, under the terms of use. -</longdescription> -</pkgmetadata> diff --git a/dev-util/netbeans/netbeans-6.1-r1.ebuild b/dev-util/netbeans/netbeans-6.1-r1.ebuild deleted file mode 100644 index 0ba59e8b..00000000 --- a/dev-util/netbeans/netbeans-6.1-r1.ebuild +++ /dev/null @@ -1,431 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/netbeans/netbeans-5.5-r4.ebuild,v 1.1 2007/01/28 19:40:16 fordfrog Exp $ - -EAPI=1 -WANT_SPLIT_ANT="true" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="NetBeans IDE for Java" -HOMEPAGE="http://www.netbeans.org" - -SLOT="6.1" -MY_PV=${PV} -SRC_URI="http://dev.gentoo.org/~fordfrog/distfiles/${P}-bundled.tar.bz2" - -LICENSE="CDDL" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -#IUSE_NETBEANS_MODULES="apisupport cnd gsf harness ide identity j2ee java mobility nb php profiler ruby soa uml visualweb xml" -IUSE="+apisupport +cnd debug doc +gsf +harness +ide +identity +j2ee +java +mobility +nb +php +profiler +ruby +soa +uml +visualweb +xml linguas_de linguas_es linguas_ja linguas_pt_BR linguas_sq linguas_zh_CN" - -RDEPEND=">=virtual/jdk-1.5 - >=dev-java/ant-core-1.7.0" - -DEPEND="=virtual/jdk-1.5* - >=dev-java/ant-core-1.7.0" - -BUILDDESTINATION="${S}/nbbuild/netbeans" -ENTERPRISE="5" -IDE_VERSION="9" -PLATFORM="8" -MY_FDIR="${FILESDIR}/${SLOT}" -DESTINATION="/usr/share/netbeans-${SLOT}" -JAVA_PKG_BSFIX="off" - -pkg_setup() { - if use doc ; then - ewarn "Currently building with 'doc' USE flag fails, see bugs http://www.netbeans.org/issues/show_bug.cgi?id=109722 http://www.netbeans.org/issues/show_bug.cgi?id=107510" - fi - - if use apisupport && ! ( use harness && use ide && use java ) ; then - eerror "'apisupport' USE flag requires 'harness', 'ide' and 'java' USE flags" - exit 1 - fi - - if use cnd && ! use ide ; then - eerror "'cnd' USE flag requires 'ide' USE flag" - exit 1 - fi - - if use gsf && ! use ide ; then - eerror "'gsf' USE flag requires 'ide' USE flag" - exit 1 - fi - - if use identity && ! ( use gsf && use ide && use j2ee && use java ) ; then - eerror "'identity' USE flag requires 'gsf', 'ide', 'j2ee' and 'java' USE flags" - exit 1 - fi - - if use j2ee && ! ( use gsf && use ide && use java ) ; then - eerror "'j2ee' USE flag requires 'gsf', 'ide' and 'java' USE flags" - exit 1 - fi - - if use java && ! use ide ; then - eerror "'java' USE flag requires 'ide' USE flag" - exit 1 - fi - - if use mobility && ! ( use ide && use java ) ; then - eerror "'mobility' USE flag requires 'ide' and 'java' USE flags" - exit 1 - fi - - if use nb && ! use ide ; then - eerror "'nb' USE flag requires 'ide' USE flag" - exit 1 - fi - - if use php && ! ( use gsf && use ide ) ; then - eerror "'php' USE flag requires 'gsf' and 'ide' USE flags" - exit 1 - fi - - if use profiler && ! ( use gsf && use ide && use j2ee && use java ) ; then - eerror "'profiler' USE flag requires 'gsf', 'ide', 'j2ee' and 'java' USE flags" - exit 1 - fi - - if use ruby && ! ( use gsf && use ide) ; then - eerror "'ruby' USE flag requires 'gsf' and 'ide' USE flag" - exit 1 - fi - - if use soa && ! ( use gsf && use ide && use j2ee && use java && use xml ) ; then - eerror "'soa' USE flag requires 'gsf', 'ide', 'j2ee', 'java' and 'xml' USE flags" - exit 1 - fi - - if use uml && ! ( use ide && use java ) ; then - eerror "'uml' USE flag requires 'ide' and 'java' USE flags" - exit 1 - fi - - if use visualweb && ! ( use gsf && use ide && use j2ee && use java ) ; then - eerror "'visualweb' USE flag requires 'gsf', 'ide', 'j2ee' and 'java' USE flags" - exit 1 - fi - - if use xml && ! use ide ; then - eerror "'xml' USE flag requires 'ide' USE flag" - exit 1 - fi - - java-pkg-2_pkg_setup -} - -src_unpack () { - unpack ${A} - - # Clean up nbbuild - einfo "Removing prebuilt *.class files from nbbuild" - find "${S}"/nbbuild -name "*.class" -delete - - #place_unpack_symlinks - - #einfo "Removing rest of the bundled jars..." - #find "${S}" -type f -name "*.jar" | xargs rm -v -} - -src_compile() { - local antflags="-Dstop.when.broken.modules=true" - - if use debug; then - antflags="${antflags} -Dbuild.compiler.debug=true" - antflags="${antflags} -Dbuild.compiler.deprecation=true" - else - antflags="${antflags} -Dbuild.compiler.deprecation=false" - fi - - local clusters="-Dnb.clusters.list=nb.cluster.platform" - use apisupport && clusters="${clusters},nb.cluster.apisupport" - use cnd && clusters="${clusters},nb.cluster.cnd" - use gsf && clusters="${clusters},nb.cluster.gsf" - use harness && clusters="${clusters},nb.cluster.harness" - use ide && clusters="${clusters},nb.cluster.ide" - use identity && clusters="${clusters},nb.cluster.identity" - use j2ee && clusters="${clusters},nb.cluster.j2ee" - use java && clusters="${clusters},nb.cluster.java" - use mobility && clusters="${clusters},nb.cluster.mobility" - use nb && clusters="${clusters},nb.cluster.nb" - use php && clusters="${clusters},nb.cluster.php" - use profiler && clusters="${clusters},nb.cluster.profiler" - use ruby && clusters="${clusters},nb.cluster.ruby" - use soa && clusters="${clusters},nb.cluster.soa" - use uml && clusters="${clusters},nb.cluster.uml" - use visualweb && clusters="${clusters},nb.cluster.visualweb" - use xml && clusters="${clusters},nb.cluster.xml" - - # Fails to compile - java-pkg_filter-compiler ecj-3.1 ecj-3.2 - - # Build the clusters - use ruby && addpredict /root/.jruby - ANT_TASKS="ant-nodeps" - #use cnd && ANT_TASKS="${ANT_TASKS} antlr-netbeans-cnd" - ANT_OPTS="-Xmx1g -Djava.awt.headless=true" eant ${antflags} ${clusters} build-nozip - - use linguas_de && compile_locale_support "${antflags}" "${clusters}" de - use linguas_es && compile_locale_support "${antflags}" "${clusters}" es - use linguas_ja && compile_locale_support "${antflags}" "${clusters}" ja - use linguas_pt_BR && compile_locale_support "${antflags}" "${clusters}" pt_BR - use linguas_sq && compile_locale_support "${antflags}" "${clusters}" sq - use linguas_zh_CN && compile_locale_support "${antflags}" "${clusters}" zh_CN - - # Running build-javadoc from the same command line as build-nozip doesn't work - # so we must run it separately - if use doc ; then - #! use testtools && ANT_TASKS="${ANT_TASKS} ant-trax" - ANT_OPTS="-Xmx1g" eant ${antflags} ${clusters} build-javadoc - fi - - # Remove non-Linux binaries - find ${BUILDDESTINATION} -type f \ - -name "*.exe" -o \ - -name "*.cmd" -o \ - -name "*.bat" -o \ - -name "*.dll" \ - | xargs rm -f - - # Removing external stuff. They are api docs from external libs. - rm -f ${BUILDDESTINATION}/ide${IDE_VERSION}/docs/*.zip - - # Remove zip files from generated javadocs. - rm -f ${BUILDDESTINATION}/javadoc/*.zip - - # Use the system ant - if use ide ; then - cd ${BUILDDESTINATION}/java2/ant || die "Cannot cd to ${BUILDDESTINATION}/ide${IDE_VERSION}/ant" - rm -fr lib - rm -fr bin - fi - - # Set initial default jdk - if [[ -e ${BUILDDESTINATION}/etc/netbeans.conf ]]; then - echo "netbeans_jdkhome=\"\$(java-config -O)\"" >> ${BUILDDESTINATION}/etc/netbeans.conf - fi - - # fix paths per bug# 163483 - if [[ -e ${BUILDDESTINATION}/bin/netbeans ]]; then - sed -i -e 's:"$progdir"/../etc/:/etc/netbeans-6.1/:' ${BUILDDESTINATION}/bin/netbeans - sed -i -e 's:"${userdir}"/etc/:/etc/netbeans-6.1/:' ${BUILDDESTINATION}/bin/netbeans - fi -} - -src_install() { - insinto ${DESTINATION} - - einfo "Installing the program..." - cd ${BUILDDESTINATION} - doins -r * - - # Remove the build helper files - rm -f "${D}"/${DESTINATION}/nb.cluster.* - rm -f "${D}"/${DESTINATION}/*.built - rm -f "${D}"/${DESTINATION}/moduleCluster.properties - rm -f "${D}"/${DESTINATION}/module_tracking.xml - rm -f "${D}"/${DESTINATION}/build_info - - # Change location of etc files - if [[ -e ${BUILDDESTINATION}/etc ]]; then - insinto /etc/${PN}-${SLOT} - doins ${BUILDDESTINATION}/etc/* - rm -fr "${D}"/${DESTINATION}/etc - dosym /etc/${PN}-${SLOT} ${DESTINATION}/etc - fi - - # Replace bundled jars with system jars - #symlink_extjars - - # Correct permissions on executables - local nbexec_exe="${DESTINATION}/platform${PLATFORM}/lib/nbexec" - fperms 775 ${nbexec_exe} || die "Cannot update perms on ${nbexec_exe}" - if [[ -e "${D}"/${DESTINATION}/bin/netbeans ]] ; then - local netbeans_exe="${DESTINATION}/bin/netbeans" - fperms 755 ${netbeans_exe} || die "Cannot update perms on ${netbeans_exe}" - fi - if use ruby ; then - local ruby_path="${DESTINATION}/ruby2/jruby-1.1/bin" - cd "${D}"/${ruby_path} || die "Cannot cd to ${D}/${ruby_path}" - for file in * ; do - fperms 755 ${ruby_path}/${file} || die "Cannot update perms on ${ruby_path}/${file}" - done - fi - - # Link netbeans executable from bin - if [[ -f "${D}"/${DESTINATION}/bin/netbeans ]]; then - dosym ${DESTINATION}/bin/netbeans /usr/bin/${PN}-${SLOT} - else - dosym ${DESTINATION}/platform7/lib/nbexec /usr/bin/${PN}-${SLOT} - fi - - # Ant installation - if use java ; then - local ANTDIR="${DESTINATION}/java2/ant" - dosym /usr/share/ant/lib ${ANTDIR}/lib - dosym /usr/share/ant-core/bin ${ANTDIR}/bin - fi - - # Documentation - einfo "Installing Documentation..." - - cd "${D}"/${DESTINATION} - dohtml CREDITS.html README.html netbeans.css - rm -f build_info CREDITS.html README.html netbeans.css - - use doc && java-pkg_dojavadoc "${S}"/nbbuild/build/javadoc - - # Icons and shortcuts - if use nb ; then - einfo "Installing icon..." - dodir /usr/share/icons/hicolor/32x32/apps - dosym ${DESTINATION}/nb${SLOT}/netbeans.png /usr/share/icons/hicolor/32x32/apps/netbeans-${SLOT}.png - - fi - - make_desktop_entry netbeans-${SLOT} "Netbeans ${SLOT}" netbeans-${SLOT}.png Development -} - -pkg_postinst() { - einfo "If you want to use specific locale of netbeans, use --locale argument, for example:" - einfo "${PN}-${SLOT} --locale de" - einfo "${PN}-${SLOT} --locale pt:BR" -} - -# Supporting functions for this ebuild - -place_unpack_symlinks() { - local target="" - - einfo "Symlinking compilation-time jars" - - dosymcompilejar "apisupport.harness/external" javahelp jhall.jar jsearch-2.0_05.jar - dosymcompilejar "javahelp/external" javahelp jh.jar jh-2.0_05.jar - dosymcompilejar "o.jdesktop.layout/external" swing-layout-1 swing-layout.jar swing-layout-1.0.3.jar - dosymcompilejar "libs.jsr223/external" jsr223 script-api.jar jsr223-api.jar - dosymcompilejar "libs.jna/external" jna jna.jar jna-3.0.2.jar - - if use ide ; then - dosymcompilejar "web.flyingsaucer/external" flyingsaucer core-renderer.jar core-renderer-R7final.jar - dosymcompilejar "css.visual/external" flute flute.jar flute-1.3.jar - dosymcompilejar "css.visual/external" sac sac.jar sac-1.3.jar - dosymcompilejar "db.sql.visualeditor/external" javacc javacc.jar javacc-3.2.jar - dosymcompilejar "servletapi/external" tomcat-servlet-api-2.2 servlet.jar servlet-2.2.jar - cp "${WORKDIR}/tomcat-webserver-3.2.jar" "${S}/httpserver/external/tomcat-webserver-3.2.jar" || die "Cannot copy file" - dosymcompilejar "libs.commons_logging/external" commons-logging commons-logging.jar commons-logging-1.0.4.jar - dosymcompilejar "libs.freemarker/external" freemarker-2.3 freemarker.jar freemarker-2.3.8.jar - dosymcompilejar "libs.ini4j/external" ini4j ini4j.jar ini4j-0.2.6.jar - dosymcompilejar "libs.jsch/external" jsch jsch.jar jsch-0.1.24.jar - dosymcompilejar "libs.lucene/external" lucene-2 lucene-core.jar lucene-core-2.2.0.jar - dosymcompilejar "libs.svnClientAdapter/external" netbeans-svnclientadapter svnClientAdapter.jar svnClientAdapter-0.9.23.jar - dosymcompilejar "libs.xerces/external" xerces-2 xercesImpl.jar xerces-2.8.0.jar - cp "${WORKDIR}/resolver-1.2.jar" "${S}/o.apache.xml.resolver/external/resolver-1.2.jar" || die "Cannot copy file" - cp "${WORKDIR}/javac-api-nb-7.0-b07.jar" "${S}/libs.javacapi/external/javac-api-nb-7.0-b07.jar" || die "Cannot copy file" - cp "${WORKDIR}/javac-impl-nb-7.0-b07.jar" "${S}/libs.javacimpl/external/javac-impl-nb-7.0-b07.jar" || die "Cannot copy file" - dosymcompilejar "form/external" beansbinding beansbinding.jar beansbinding-1.2.1.jar - dosymcompilejar "j2ee.toplinklib/external" glassfish-persistence glassfish-persistence.jar glassfish-persistence-v2-build-58g.jar - cp "${WORKDIR}/appframework-1.0.3.jar" "${S}/swingapp/external/appframework-1.0.3.jar" || die "Cannot copy file" - dosymcompilejar "swingapp/external" swing-worker swing-worker.jar swing-worker-1.1.jar - mkdir -p "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21/api" - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21/api" jax-ws-api-2 jax-ws-api.jar jaxws-api.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21/api" jaxb-2 jaxb-api.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21/api" jsr173 jsr173.jar jsr173_api.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21/api" jsr181 jsr181.jar jsr181-api.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21/api" jsr250 jsr250.jar jsr250-api.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21/api" jsr67 jsr67.jar saaj-api.jar - mkdir -p "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" jax-ws-tools-2 jax-ws-tools.jar jaxws-tools.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" jax-ws-2 jax-ws.jar jaxws-rt.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" jaxb-tools-2 jaxb-tools.jar jaxb-xjc.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" jaxb-2 jaxb-impl.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" sun-jaf - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" sjsxp - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" xmlstreambuffer - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" stax-ex - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" saaj saaj.jar saaj-impl.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" fastinfoset fastinfoset.jar FastInfoset.jar - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" sun-httpserver-bin-2 - java-pkg_jar-from --into "${S}/nbbuild/netbeans/java2/modules/ext/jaxws21" xml-commons - cp "${WORKDIR}/jxpath1.1.jar" "${S}/libs.jxpath/external/jxpath1.1.jar" || die "Cannot copy file" - dosymcompilejar "o.n.xml.libs.jxpath/external" commons-jxpath commons-jxpath.jar jxpath-1.2.jar || die "Cannot copy file" - dosymcompilejar "visdev.prefuse/external" prefuse-2006 prefuse.jar prefuse-beta.jar - dosymcompilejar "j2eeapis/external" sun-j2ee-deployment-bin-1.1 sun-j2ee-deployment-bin.jar jsr88javax.jar - fi - - if [ -n "${NB_DOSYMCOMPILEJARFAILED}" ] ; then - die "Some compilation-time jars could not be symlinked" - fi -} - -symlink_extjars() { - local targetdir="" - - einfo "Symlinking runtime jars" - - cd ${BUILDDESTINATION}/netbeans/platform7/modules/ext - java-pkg_jar-from jsr223 - - cd ${BUILDDESTINATION}/platform7/modules/ext - java-pkg_jar-from javahelp jh.jar jh-2.0_05.jar - - cd ${BUILDDESTINATION}/platform7/modules/ext - java-pkg_jar-from swing-layout-1 swing-layout.jar swing-layout-1.0.3.jar - - if [ -n "${NB_DOSYMINSTJARFAILED}" ] ; then - die "Some runtime jars could not be symlinked" - fi -} - -dosymcompilejar() { - if [ -z "${JAVA_PKG_NB_BUNDLED}" ] ; then - local dest="${1}" - local package="${2}" - local jar_file="${3}" - local target_file="${4}" - - # We want to know whether the target jar exists and fail if it doesn't so we know - # something is wrong - local target="${S}/${dest}/${target_file}" - if [ -e "${target}" ] ; then - java-pkg_jar-from --build-only --into "${S}"/${dest} ${package} ${jar_file} ${target_file} - else - ewarn "Target jar does not exist so will not create link: ${target}" - NB_DOSYMCOMPILEJARFAILED="1" - fi - fi -} - -dosyminstjar() { - if [ -z "${JAVA_PKG_NB_BUNDLED}" ] ; then - local dest="${1}" - local package="${2}" - local jar_file="${3}" - local target_file="" - if [ -z "${4}" ]; then - target_file="${3}" - else - target_file="${4}" - fi - - # We want to know whether the target jar exists and fail if it doesn't so we know - # something is wrong - local target="${DESTINATION}/${dest}/${target_file}" - if [ -e "${D}/${target}" ] ; then - dosym /usr/share/${package}/lib/${jar_file} ${target} - else - ewarn "Target jar does not exist so will not create link: ${D}/${target}" - NB_DOSYMINSTJARFAILED="1" - fi - fi -} - -# Compiles locale support -# Arguments -# 1 - ant flags -# 2 - clusters -# 3 - locale -compile_locale_support() { - einfo "Compiling support for '${3}' locale" - ANT_OPTS="-Xmx1g -Djava.awt.headless=true" eant ${1} ${2} -Dlocales=${3} build-nozip-ml -} |