aboutsummaryrefslogtreecommitdiffstats
path: root/java/eclipse
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-06-26 16:48:10 +0800
committermarino <marino@FreeBSD.org>2014-06-26 16:48:10 +0800
commit044b62d77e0271a139a91c2daf9baab706984fd1 (patch)
tree372bec47be6eb6b2b86781c1263f75844c105264 /java/eclipse
parentc51da6a2ea54b051b9ebadd4ec14bb2fce7bf34c (diff)
downloadfreebsd-ports-gnome-044b62d77e0271a139a91c2daf9baab706984fd1.tar.gz
freebsd-ports-gnome-044b62d77e0271a139a91c2daf9baab706984fd1.tar.zst
freebsd-ports-gnome-044b62d77e0271a139a91c2daf9baab706984fd1.zip
java/eclipse: Update version 3.7.1 => 4.3.2 and assign maintainer
At long last, eclipse has been updated to the latest release and is now under the stewardship of Jimmy Kelly. This version supports OpenJDK8 runtime environments. A special thanks to Jonathan Chen for getting the ball rolling after the PR stalled. PR: 188659 Submitted by: Jimmy Kelly Distfiles by: Jonathan Chen Verified by: F10/amd64 poudriere
Diffstat (limited to 'java/eclipse')
-rw-r--r--java/eclipse/Makefile323
-rw-r--r--java/eclipse/Makefile.plugins13
-rw-r--r--java/eclipse/distinfo48
-rw-r--r--java/eclipse/files/eclipse-build-config-upstream.patch72
-rw-r--r--java/eclipse/files/eclipse-build-upstream.patch357
-rw-r--r--java/eclipse/files/freebsd-support.patch7497
-rw-r--r--java/eclipse/files/patch-aggregator385
-rw-r--r--java/eclipse/files/patch-dependencyManifests90
-rw-r--r--java/eclipse/files/patch-eclipse-build419
-rw-r--r--java/eclipse/files/patch-freebsd_natives577
-rw-r--r--java/eclipse/files/patch-generatedScripts80
-rw-r--r--java/eclipse/files/patch-submodules2459
-rw-r--r--java/eclipse/scripts/pre-patch40
13 files changed, 3551 insertions, 8809 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile
index f8b56812e12a..db1c03d7fbb5 100644
--- a/java/eclipse/Makefile
+++ b/java/eclipse/Makefile
@@ -1,247 +1,100 @@
+# Created by: Jimmy Kelley <ljboiler@gmail.com>
# $FreeBSD$
PORTNAME= eclipse
-PORTVERSION= 3.7.1
-PORTREVISION= 4
+PORTVERSION= 4.3.2
CATEGORIES= java devel
-MASTER_SITES= http://download.eclipse.org/technology/linuxtools/eclipse-build/3.7.x_Indigo/:1 \
- http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/repository/plugins/:2 \
- ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:4,} \
- ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%/,junit/junit/${JUNIT3_VERSION}/:5,} \
- http://cloud.github.com/downloads/KentBeck/junit/:6 \
- ${MASTER_SITE_APACHE_TOMCAT:S,%SUBDIR%/,tomcat-7/v${TOMCAT_VERSION}/bin/:7,} \
- ${MASTER_SITE_APACHE_TOMCAT:S,%SUBDIR%/,tomcat-7/v${TOMCAT_VERSION}/bin/extras/:7,}
-DISTFILES= ${ECLIPSE_BUILD_SRCFILE}:1 \
- ${ECLIPSE_SRCFILE}:1 \
- ${ANT_SRCFILE}:4 \
- ${JUNIT3_SRCFILE}:5 \
- ${JUNIT4_SRCFILE}:6 \
- ${TOMCAT_SRCFILES:C,(.*),\\1:7,}
+MASTER_SITES= https://googledrive.com/host/0B2kYpXHnC5LpSk01bU1ud0N5bXc/
+DISTFILES= eclipse.platform.releng.aggregator-${PORTVERSION}.xz \
+ ${PORTNAME}-maven-repo-${PORTVERSION}.xz
DIST_SUBDIR= eclipse
-EXTRACT_ONLY= ${ECLIPSE_BUILD_SRCFILE}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Open extensible IDE for anything and nothing in particular
+MAINTAINER= ljboiler@gmail.com
+COMMENT= Eclipse Kepler SR-2
-EXTRACT_DEPENDS=${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
-PATCH_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \
- gpatch:${PORTSDIR}/devel/patch \
- zip:${PORTSDIR}/archivers/zip \
- ${DEPEND_JAVA}
-BUILD_DEPENDS= gpatch:${PORTSDIR}/devel/patch \
- rsync:${PORTSDIR}/net/rsync \
- ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \
- zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
- webkitgtk-1.0.0:${PORTSDIR}/www/webkit-gtk2
+LICENSE= EPL
-OPTIONS_DEFINE= TESTS
-TESTS_DESC= Build SDK test suite
+BUILD_DEPENDS= ${LOCALBASE}/share/java/maven31/bin/mvn:${PORTSDIR}/devel/maven31
+LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo \
+ libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2
ONLY_FOR_ARCHS= i386 amd64
+CONFLICTS_INSTALL= eclipse
-USES= pkgconfig gmake tar:xz
-USE_ANT= yes
+USES= gmake pkgconfig tar:xz
USE_GL= glu
-USE_GNOME= desktopfileutils gconf2 gtk20 gnomevfs2 libgnome libgnomeui
+USE_GNOME= gconf2 gtk20 gnomevfs2 libgnome libgnomeui
USE_JAVA= yes
-BZIP2_SUFX= .tar.bz2
-ZIP_CMD?= ${LOCALBASE}/bin/zip
-
-JAVA_BUILD= yes
JAVA_OS= native
-JAVA_RUN= yes
-JAVA_VERSION= 1.6
+JAVA_VERSION= 1.7
JAVA_VENDOR= openjdk
+JAVA_BUILD= yes
+JAVA_RUN= yes
-ECLIPSE_BUILD_SRCFILE= eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92${EXTRACT_SUFX}
-ECLIPSE_SRCFILE= eclipse-${PORTVERSION}-src${BZIP2_SUFX}
-ECLIPSE_TEST_SRCFILE= eclipse-sdktests-${PORTVERSION}-src${BZIP2_SUFX}
-ECLIPSE_TEST_SCRIPTFILE=eclipse-sdktests-${PORTVERSION}-scripts${BZIP2_SUFX}
-ECLIPSE_JAR_BUNDLES= com.ibm.icu_4.4.2.v20110208.jar \
- com.jcraft.jsch_0.1.41.v201101211617.jar \
- org.apache.commons.codec_1.3.0.v201101211617.jar \
- org.apache.commons.el_1.0.0.v201101211617.jar \
- org.apache.commons.httpclient_3.1.0.v201012070820.jar \
- org.apache.commons.logging_1.0.4.v201101211617.jar \
- org.apache.lucene.core_2.9.1.v201101211721.jar \
- org.apache.lucene.analysis_2.9.1.v201101211721.jar \
- org.hamcrest.core_1.1.0.v20090501071000.jar \
- org.mortbay.jetty.util_6.1.23.v201012071420.jar \
- org.mortbay.jetty.server_6.1.23.v201012071420.jar \
- org.objectweb.asm_3.3.1.v201105211655.jar
-ECLIPSE_SAT4J_BUNDLES= org.sat4j.core_2.3.0.v20110329.jar \
- org.sat4j.pb_2.3.0.v20110329.jar
-ANT_VERSION= 1.8.2
-ANT_SRCFILE= apache-ant-${ANT_VERSION}-bin${BZIP2_SUFX}
-ANT_BUNDLES= ant-antlr.jar \
- ant-apache-bcel.jar \
- ant-apache-bsf.jar \
- ant-apache-log4j.jar \
- ant-apache-oro.jar \
- ant-apache-regexp.jar \
- ant-apache-resolver.jar \
- ant-apache-xalan2.jar \
- ant-commons-logging.jar \
- ant-commons-net.jar \
- ant.jar \
- ant-javamail.jar \
- ant-jdepend.jar \
- ant-jmf.jar \
- ant-jsch.jar \
- ant-junit.jar \
- ant-junit4.jar \
- ant-launcher.jar \
- ant-swing.jar \
- ant-testutil.jar
-JUNIT3_VERSION= 3.8.2
-JUNIT3_SRCFILE= junit${JUNIT3_VERSION}.zip
-JUNIT4_VERSION= 4.8.2
-JUNIT4_SRCFILE= junit-${JUNIT4_VERSION}.jar
-TOMCAT_VERSION= 7.0.25
-TOMCAT_SRCFILES= apache-tomcat-${TOMCAT_VERSION}.tar.gz tomcat-juli.jar
-TOMCAT_BUNDLES= el-api.jar \
- jasper-el.jar \
- jasper.jar \
- jsp-api.jar \
- servlet-api.jar \
- tomcat-api.jar \
- tomcat-juli.jar
-FBSD_SUPPORT_SRCFILE= freebsd-support.patch
-ECLIPSE_GENERATED_BUILDSCRIPTS= eclipse-build-generatedScripts.tar.bz2
-
-ALL_TARGET= provision.cvs
-INSTALL_TARGET= installSDKinDropins
-MAKE_ARGS= -DbuildOs=freebsd -DbuildArch=${ARCH:C/amd64/x86_64/:C/i386/x86/} -Dprefix=${PREFIX} -Dlocalbase=${LOCALBASE} -Dlabel=${PORTVERSION}
-MAKE_ENV+= GRE_HOME=${PREFIX}/lib/${GECKO:S/19//} _JAVA_OPTIONS="-Xmx1024m" JAVA_VENDOR=${JAVA_VENDOR}
-
-WRKSRC= ${WRKDIR}/${ECLIPSE_BUILD_SRCFILE:C/${EXTRACT_SUFX}//}
-PATCH_STRIP= -p1
-
-BOOTCLASSPATH= ${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/jsse.jar
-PORTDESTDIR= ${PREFIX}/lib/${PORTNAME}
-DROPINS_DIR= share/${PORTNAME}/dropins
-
-PLIST_FILES= bin/${PORTNAME} \
- share/applications/${PORTNAME}.desktop \
- share/icons/hicolor/16x16/apps/${PORTNAME}.png \
- share/icons/hicolor/32x32/apps/${PORTNAME}.png \
- share/icons/hicolor/48x48/apps/${PORTNAME}.png \
- share/pixmaps/${PORTNAME}.png
-
-.for f in ${ECLIPSE_JAR_BUNDLES} ${ECLIPSE_SAT4J_BUNDLES}
-DISTFILES+= ${f}:2
-.endfor
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_SINGLE= INSTALLPKG
+OPTIONS_SINGLE_INSTALLPKG= FULL_SDK PLATFORM_SDK PLATFORM
+FULL_SDK_DESC= Full SDK (JDT, PDE, source, API docs)
+PLATFORM_SDK_DESC= Platform with source, API Docs (no Java tools)
+PLATFORM_DESC= Platform only (no Java tools, no source or docs)
-.if ${PORT_OPTIONS:MTESTS}
-DISTFILES+= ${ECLIPSE_TEST_SRCFILE}:1 ${ECLIPSE_TEST_SCRIPTFILE}:1
+OPTIONS_DEFAULT= FULL_SDK
-BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash \
- Xvnc:${PORTSDIR}/net/tightvnc
+.include <bsd.port.pre.mk>
-ALL_TARGET= runTests
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+PATCH_DEPENDS+= gpatch:${PORTSDIR}/devel/patch
+PATCH= gpatch
.endif
+PATCH_STRIP= -p1
-# Prepare Eclipse source, Ant, JUnit and Tomcat bundles
-post-extract:
- @${MKDIR} ${BUILD_WRKSRC}/bundles
-
- @${CP} ${DISTDIR}/${DIST_SUBDIR}/${ECLIPSE_SRCFILE} ${BUILD_WRKSRC}
- @${CP} ${FILESDIR}/${FBSD_SUPPORT_SRCFILE} ${BUILD_WRKSRC}/patches/
-.for f in ${ECLIPSE_JAR_BUNDLES} ${ECLIPSE_SAT4J_BUNDLES}
- @${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${BUILD_WRKSRC}/bundles/
-.endfor
- @(${MKDIR} ${BUILD_WRKSRC}/generatedScripts && cd ${BUILD_WRKSRC}/generatedScripts && ${TAR} ${EXTRACT_BEFORE_ARGS} ${BUILD_WRKSRC}/${ECLIPSE_GENERATED_BUILDSCRIPTS} ${EXTRACT_AFTER_ARGS})
-
- @(cd ${WRKDIR} && ${TAR} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${ANT_SRCFILE} ${EXTRACT_AFTER_ARGS})
-.for f in ${ANT_BUNDLES}
- @${CP} ${WRKDIR}/apache-ant-${ANT_VERSION}/lib/${f} ${BUILD_WRKSRC}/bundles/
-.endfor
-
- @${MKDIR} ${WRKDIR}/junit
- @${UNZIP_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/${JUNIT3_SRCFILE} -d ${WRKDIR}/junit
- @${CP} ${WRKDIR}/junit/junit${JUNIT3_VERSION}/junit.jar ${BUILD_WRKSRC}/bundles/
- @${CP} ${DISTDIR}/${DIST_SUBDIR}/${JUNIT4_SRCFILE} ${BUILD_WRKSRC}/bundles/junit4.jar
-
- @(cd ${WRKDIR} && ${TAR} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${TOMCAT_SRCFILES:Mapache-tomcat*.tar.gz} ${EXTRACT_AFTER_ARGS})
- @${CP} ${DISTDIR}/${DIST_SUBDIR}/${TOMCAT_SRCFILES:M*.jar} ${WRKDIR}/apache-tomcat-${TOMCAT_VERSION}/lib/
-.for f in ${TOMCAT_BUNDLES}
- @${CP} ${WRKDIR}/apache-tomcat-${TOMCAT_VERSION}/lib/${f} ${BUILD_WRKSRC}/bundles/
-.endfor
-
-.if ${PORT_OPTIONS:MTESTS}
- @${CP} ${DISTDIR}/${DIST_SUBDIR}/${ECLIPSE_TEST_SRCFILE} ${BUILD_WRKSRC}
- @${CP} ${DISTDIR}/${DIST_SUBDIR}/${ECLIPSE_TEST_SCRIPTFILE} ${BUILD_WRKSRC}
+WRKSRC=${WRKDIR}/eclipse.platform.releng.aggregator-${PORTVERSION}
+GITCLONE=${DISTDIR}/eclipse/eclipse-gitclone/eclipse.platform.releng.aggregator
+
+MVN_LOCAL_REPO= -Dmaven.repo.local=${WRKDIR}/eclipse-maven-repo-${PORTVERSION}/repository
+MVN_TEST_FLAG= -Dmaven.test.skip=true
+MVN_OPTS+= # a placeholder for MAVEN_OPTS environment variable
+ #in the following format: MAVEN_OPTS='-Xmx1792m'
+MVN_SETTINGS+= --offline
+ECLIPSE_WS= gtk
+ECLIPSE_ARCH= x86${ARCH:C/^i.86//:C/^amd/_/}
+E_SHORTARCH= ${ARCH:C/^i.86//:C/^amd//}
+ECLIPSE_BUILDID=M20140224-0627
+SCRIPTS_ENV+= ECLIPSE_ARCH=${ECLIPSE_ARCH} \
+ E_SHORTARCH=${E_SHORTARCH}
+PORTDESTDIR= ${PREFIX}/lib/eclipse
+
+# Someday it would be nice to see about moving the product selection into the patch phase (and only build the
+# product the user wants), but that may prove to be difficult if not impossible with the way the eclipse tycho
+# builder is a "all-or-nothing" thing right now.
+.if ${PORT_OPTIONS:MFULL_SDK}
+PRODUCT_TARFILE= \
+ ${WRKSRC}/eclipse.platform.releng.tychoeclipsebuilder/sdk/target/products/org.eclipse.sdk.ide-freebsd.${ECLIPSE_WS}.${ECLIPSE_ARCH}.tar.gz
+.endif
+.if ${PORT_OPTIONS:MPLATFORM_SDK}
+PRODUCT_TARFILE= \
+ ${WRKSRC}/eclipse.platform.releng.tychoeclipsebuilder/platform.sdk/target/products/org.eclipse.platform.sdk-freebsd.${ECLIPSE_WS}.${ECLIPSE_ARCH}.tar.gz
+.endif
+.if ${PORT_OPTIONS:MPLATFORM}
+PRODUCT_TARFILE= \
+ ${WRKSRC}/eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide-freebsd.${ECLIPSE_WS}.${ECLIPSE_ARCH}.tar.gz
.endif
-# Apply patches that have been pushed upstream
-pre-patch:
- @${PATCH} -d ${BUILD_WRKSRC} --forward --quiet --suffix .orig -E -p0 -i ${PATCHDIR}/eclipse-build-upstream.patch
- @${PATCH} -d ${BUILD_WRKSRC}/eclipse-build-config --forward --quiet --suffix .orig -E -p0 -i ${PATCHDIR}/eclipse-build-config-upstream.patch
-
-# Fixup boot classes path
post-patch:
- @(cd ${BUILD_WRKSRC}/generatedScripts; tar cjf ${BUILD_WRKSRC}/${ECLIPSE_GENERATED_BUILDSCRIPTS} plugins)
-
- @${REINPLACE_CMD} -e "s+%%BOOTCLASSPATH%%+${BOOTCLASSPATH}+g" ${BUILD_WRKSRC}/build.properties
- @${REINPLACE_CMD} -e "s+%%BOOTCLASSPATH%%+${BOOTCLASSPATH}+g" ${BUILD_WRKSRC}/pdebuild.properties
- @${REINPLACE_CMD} -e "s+%%PORTNAME%%+${PORTNAME}+g" ${BUILD_WRKSRC}/build.xml
- @${REINPLACE_CMD} -e "s+%%PORTNAME%%+${PORTNAME}+g" ${BUILD_WRKSRC}/eclipse.desktop
-
- @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} applyPatches)
-
-.for f in ${ECLIPSE_JAR_BUNDLES}
- @${REINPLACE_CMD} -e "s+^${f}=\(.*\)+${f}=${BUILD_WRKSRC}/bundles/${f}+" ${BUILD_WRKSRC}/dependencies.properties
- @${REINPLACE_CMD} -e "s+^${f}=\(.*\)+${f}=${BUILD_WRKSRC}/bundles/${f}+" ${BUILD_WRKSRC}/jdtdependencies.properties
- @${REINPLACE_CMD} -e "s+^${f}=\(.*\)+${f}=${BUILD_WRKSRC}/bundles/${f}+" ${BUILD_WRKSRC}/sdkdependencies.properties
-.endfor
-.for f in ${ECLIPSE_SAT4J_BUNDLES}
- @${REINPLACE_CMD} -e "s+^${f}=\(.*\)+${f}=${BUILD_WRKSRC}/bundles/${f}+" ${BUILD_WRKSRC}/dependencies.properties
-.endfor
-.for f in ${ANT_BUNDLES}
- @${REINPLACE_CMD} -e "s+${f}=\(.*\)+${f}=${BUILD_WRKSRC}/bundles/${f}+" ${BUILD_WRKSRC}/nonosgidependencies.properties
-.endfor
- @${REINPLACE_CMD} -e "s+=/usr/share/java/junit.jar+=${BUILD_WRKSRC}/bundles/junit.jar+" ${BUILD_WRKSRC}/jdtnonosgidependencies.properties
- @${REINPLACE_CMD} -e "s+=/usr/share/java/junit4.jar+=${BUILD_WRKSRC}/bundles/junit4.jar+" ${BUILD_WRKSRC}/jdtnonosgidependencies.properties
- @${REINPLACE_CMD} -e "s+/usr/share/java/junit4.jar+${BUILD_WRKSRC}/bundles/junit4.jar+" ${BUILD_WRKSRC}/build.xml
+ @(for f in `${GREP} -hE '(\-\-\-|%%ECLIPSE_ARCH%%)' ${FILESDIR}/patch-* | ${GREP} -B1 'ECLIPSE_ARCH' | ${GREP} '^\-\-\-' | ${SED} -e 's/^\-\-\- .\///'` ; \
+ do \
+ ${ECHO_MSG} "Updating ECLIPSE_ARCH in file $$f"; \
+ ${REINPLACE_CMD} -e "s|%%ECLIPSE_ARCH%%|${ECLIPSE_ARCH}|g" ${WRKSRC}/$$f; \
+ done)
- @${REINPLACE_CMD} -e "s+^\(javax.el_2.2.0.jar\)=\(.*\)+\1=${BUILD_WRKSRC}/bundles/el-api.jar+" ${BUILD_WRKSRC}/dependencies.properties
- @${JAR} umf ${BUILD_WRKSRC}/dependencyManifests/javax.el_2.2.0.jar/META-INF/MANIFEST.MF ${BUILD_WRKSRC}/bundles/el-api.jar
- @${REINPLACE_CMD} -e "s+^\(org.apache.el_7.0.21.jar\)=\(.*\)+\1=${BUILD_WRKSRC}/bundles/jasper-el.jar+" ${BUILD_WRKSRC}/dependencies.properties
- @${JAR} umf ${BUILD_WRKSRC}/dependencyManifests/org.apache.el_7.0.21.jar/META-INF/MANIFEST.MF ${BUILD_WRKSRC}/bundles/jasper-el.jar
- @${REINPLACE_CMD} -e "s+^\(org.apache.jasper_7.0.21.jar\)=\(.*\)+\1=${BUILD_WRKSRC}/bundles/jasper.jar+" ${BUILD_WRKSRC}/dependencies.properties
- @${JAR} umf ${BUILD_WRKSRC}/dependencyManifests/org.apache.jasper_7.0.21.jar/META-INF/MANIFEST.MF ${BUILD_WRKSRC}/bundles/jasper.jar
- @${REINPLACE_CMD} -e "s+^\(javax.servlet.jsp_2.2.0.jar\)=\(.*\)+\1=${BUILD_WRKSRC}/bundles/jsp-api.jar+" ${BUILD_WRKSRC}/dependencies.properties
- @${JAR} umf ${BUILD_WRKSRC}/dependencyManifests/javax.servlet.jsp_2.2.0.jar/META-INF/MANIFEST.MF ${BUILD_WRKSRC}/bundles/jsp-api.jar
- @${REINPLACE_CMD} -e "s+^\(javax.servlet_3.0.0.jar\)=\(.*\)+\1=${BUILD_WRKSRC}/bundles/servlet-api.jar+" ${BUILD_WRKSRC}/dependencies.properties
- @${JAR} umf ${BUILD_WRKSRC}/dependencyManifests/javax.servlet_3.0.0.jar/META-INF/MANIFEST.MF ${BUILD_WRKSRC}/bundles/servlet-api.jar
- @${REINPLACE_CMD} -e "s+^\(org.apache.tomcat_7.0.21.jar\)=\(.*\)+\1=${BUILD_WRKSRC}/bundles/tomcat-api.jar+" ${BUILD_WRKSRC}/dependencies.properties
- @${JAR} umf ${BUILD_WRKSRC}/dependencyManifests/org.apache.tomcat_7.0.21.jar/META-INF/MANIFEST.MF ${BUILD_WRKSRC}/bundles/tomcat-api.jar
- @${REINPLACE_CMD} -e "s+^\(org.apache.juli_7.0.21.jar\)=\(.*\)+\1=${BUILD_WRKSRC}/bundles/tomcat-juli.jar+" ${BUILD_WRKSRC}/dependencies.properties
- @${JAR} umf ${BUILD_WRKSRC}/dependencyManifests/org.apache.juli_7.0.21.jar/META-INF/MANIFEST.MF ${BUILD_WRKSRC}/bundles/tomcat-juli.jar
-
- @${MV} ${BUILD_WRKSRC}/dependencyManifests/com.jcraft.jsch_0.1.41.v200903070017.jar ${BUILD_WRKSRC}/dependencyManifests/com.jcraft.jsch_0.1.41.v201101211617.jar
- @${MV} ${BUILD_WRKSRC}/dependencyManifests/org.apache.commons.el_1.0.0.v200806031608.jar ${BUILD_WRKSRC}/dependencyManifests/org.apache.commons.el_1.0.0.v201101211617.jar
- @${JAR} umf ${BUILD_WRKSRC}/dependencyManifests/org.apache.commons.el_1.0.0.v201101211617.jar/META-INF/MANIFEST.MF ${BUILD_WRKSRC}/bundles/org.apache.commons.el_1.0.0.v201101211617.jar
- @${ZIP_CMD} -qd ${BUILD_WRKSRC}/bundles/org.apache.commons.el_1.0.0.v201101211617.jar META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA
- @${MV} ${BUILD_WRKSRC}/dependencyManifests/org.apache.commons.httpclient_3.1.0.v201005080502.jar ${BUILD_WRKSRC}/dependencyManifests/org.apache.commons.httpclient_3.1.0.v201012070820.jar
- @${MV} ${BUILD_WRKSRC}/dependencyManifests/org.mortbay.jetty.server_6.1.23.v201004211559.jar ${BUILD_WRKSRC}/dependencyManifests/org.mortbay.jetty.server_6.1.23.v201012071420.jar
- @${MV} ${BUILD_WRKSRC}/dependencyManifests/org.mortbay.jetty.util_6.1.23.v201004211559.jar ${BUILD_WRKSRC}/dependencyManifests/org.mortbay.jetty.util_6.1.23.v201012071420.jar
- @${MV} ${BUILD_WRKSRC}/dependencyManifests/org.objectweb.asm_3.3.1.v201101071600.jar ${BUILD_WRKSRC}/dependencyManifests/org.objectweb.asm_3.3.1.v201105211655.jar
-
-.if defined(WITH_TESTS)
- @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} applyTestPatches)
-.endif
+do-build:
+ @(cd ${WRKSRC}; ${SETENV} JAVA_HOME=${JAVA_HOME} M2_HOME=${LOCALBASE}/share/java/maven31 ${MVN_OPTS} \
+ mvn ${MVN_SETTINGS} ${MVN_TEST_FLAG} ${MVN_LOCAL_REPO} clean verify -Dnative=${ECLIPSE_WS}.freebsd.${ECLIPSE_ARCH} \
+ -DbuildId=${ECLIPSE_BUILDID} -Pupdate-branding-plugins)
do-install:
- @${RM} -rf ${PORTDESTDIR}
- @${MKDIR} ${PORTDESTDIR}
- @${MKDIR} ${PREFIX}/${DROPINS_DIR}
- @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} ${INSTALL_TARGET})
- @${FIND} ${PORTDESTDIR}/plugins -type f -perm 600 -print0 | ${XARGS} -0 ${CHMOD} 644
+ @${RM} -rf ${STAGEDIR}${PORTDESTDIR}
+ @( cd ${STAGEDIR}${PREFIX}/lib; ${TAR} xfz ${PRODUCT_TARFILE} )
+ @${FIND} ${STAGEDIR}${PREFIX}/lib -type f -name \*.orig -delete
@${SED} \
-e "s+%%BROWSER%%+${GECKO:S/19//}+g" \
-e "s+%%ECLIPSE_HOME%%+${PORTDESTDIR}+g" \
@@ -257,23 +110,19 @@ do-install:
@${REINPLACE_CMD} -e "s+%%JAVA_VENDOR_SPECIFICATION%%++g" \
${BUILD_WRKSRC}/eclipse.tmp
.endif
- @${INSTALL_SCRIPT} ${WRKSRC}/eclipse.tmp ${PREFIX}/bin/${PORTNAME}
- @${PREFIX}/bin/${PORTNAME} -initialize -consolelog
- -@update-desktop-database
- @(cd ${PREFIX}; ${FIND} -s lib/${PORTNAME} -not -type d) >> ${TMPPLIST}
- @(cd ${PREFIX}; ${FIND} -s -d lib/${PORTNAME} -type d) | ${SED} -ne "s,^,@dirrm ,p" >> ${TMPPLIST}
- @${ECHO_CMD} "@exec ${MKDIR} %D/share/${PORTNAME}/dropins 2>/dev/null || true " >> ${TMPPLIST}
- @${ECHO_CMD} "@unexec ${RMDIR} %D/share/${PORTNAME}/dropins 2>/dev/null || true " >> ${TMPPLIST}
- @${ECHO_CMD} "@unexec ${RMDIR} %D/share/${PORTNAME} 2>/dev/null || true " >> ${TMPPLIST}
- @${ECHO_CMD} "@exec ${PREFIX}/bin/update-desktop-database > /dev/null || /usr/bin/true" >> ${TMPPLIST}
- @${ECHO_CMD} "@unexec ${PREFIX}/bin/update-desktop-database > /dev/null || /usr/bin/true" >> ${TMPPLIST}
-
-.if ${PORT_OPTIONS:MTESTS}
-tests: build
- @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} runTests)
-.else
-tests:
- @${ECHO_CMD} "Tests are not enabled!"
-.endif
-
-.include <bsd.port.mk>
+ ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/eclipse.tmp ${STAGEDIR}${PREFIX}/bin/eclipse
+ @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s lib/eclipse -not -type d) >> ${TMPPLIST}
+ @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s bin/eclipse -not -type d) >> ${TMPPLIST}
+ @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d lib/eclipse -type d) | ${SED} -ne "s,^,@dirrm ,p" >> ${TMPPLIST}
+ @${ECHO_CMD} "@exec ${MKDIR} %D/lib/eclipse/dropins > /dev/null || ${TRUE}" >> ${TMPPLIST}
+ @${ECHO_CMD} "@exec ${MKDIR} %D/share/eclipse/dropins > /dev/null || ${TRUE}" >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm share/eclipse/dropins" >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm share/eclipse" >> ${TMPPLIST}
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/eclipse/dropins
+
+distclean:
+ ${RM} -rf ${DISTDIR}/eclipse
+
+.include <bsd.port.post.mk>
diff --git a/java/eclipse/Makefile.plugins b/java/eclipse/Makefile.plugins
deleted file mode 100644
index de1e2ea1fcf2..000000000000
--- a/java/eclipse/Makefile.plugins
+++ /dev/null
@@ -1,13 +0,0 @@
-NO_BUILD= yes
-USE_JAVA= yes
-JAVA_VERSION= 1.6
-JAVA_OS= native
-
-REPO_DIRS?= features plugins
-
-do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/eclipse/dropins/${PORTNAME}/eclipse
- @(cd ${WRKSRC}; ${COPYTREE_SHARE} "${REPO_DIRS}" ${STAGEDIR}${PREFIX}/share/eclipse/dropins/${PORTNAME}/eclipse/)
- @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s share/eclipse/dropins/${PORTNAME} -not -type d) >> ${TMPPLIST}
- @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d share/eclipse/dropins/${PORTNAME} -type d) \
- | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
diff --git a/java/eclipse/distinfo b/java/eclipse/distinfo
index 719c5b0a18f5..80c62350a1c6 100644
--- a/java/eclipse/distinfo
+++ b/java/eclipse/distinfo
@@ -1,44 +1,4 @@
-SHA256 (eclipse/eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92.tar.xz) = 07f3d9c564e0c8b5ad8a9cee5645a295913059885290e4e4a77631d17b494265
-SIZE (eclipse/eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92.tar.xz) = 253596
-SHA256 (eclipse/eclipse-3.7.1-src.tar.bz2) = f3a87ff4408aeadc6823eb849330527df07d5706d6456af282170bb9bbbd31d6
-SIZE (eclipse/eclipse-3.7.1-src.tar.bz2) = 69243059
-SHA256 (eclipse/apache-ant-1.8.2-bin.tar.bz2) = ecb49f5017807c9320bf19702149328cf4779a01bddca2b6c47e3ebb0e39c9c7
-SIZE (eclipse/apache-ant-1.8.2-bin.tar.bz2) = 6740047
-SHA256 (eclipse/junit3.8.2.zip) = aae23d20e6f4dc45b4bf0b10fedcbd209c100342a0cafce1aa07d2da6da1f24a
-SIZE (eclipse/junit3.8.2.zip) = 461426
-SHA256 (eclipse/junit-4.8.2.jar) = a2aa2c3bb2b72da76c3e6a71531f1eefdc350494819baf2b1d80d7146e020f9e
-SIZE (eclipse/junit-4.8.2.jar) = 237344
-SHA256 (eclipse/apache-tomcat-7.0.25.tar.gz) = 7ba03b6703b43da6868613fd625bfb13a791d57478b4a4e49bdb56f9fc3994b4
-SIZE (eclipse/apache-tomcat-7.0.25.tar.gz) = 7527434
-SHA256 (eclipse/tomcat-juli.jar) = cafd9cf2e73dd21d3fbe89fc83ae235a588342c11f7b8df7c55573aebc25f0d1
-SIZE (eclipse/tomcat-juli.jar) = 78801
-SHA256 (eclipse/com.ibm.icu_4.4.2.v20110208.jar) = 432cdb7d9af5f138fbfd1902c197f01a314422a7db760e291cab2c76d8d65be8
-SIZE (eclipse/com.ibm.icu_4.4.2.v20110208.jar) = 6690628
-SHA256 (eclipse/com.jcraft.jsch_0.1.41.v201101211617.jar) = 7e916b685794f33f494668f738a5aee51da67af04f0ebfb68048900032e36d1a
-SIZE (eclipse/com.jcraft.jsch_0.1.41.v201101211617.jar) = 226770
-SHA256 (eclipse/org.apache.commons.codec_1.3.0.v201101211617.jar) = 47dc744368dc7a4cde2be1e9d9e744ec014dca27ff7a23722da12db10e67419e
-SIZE (eclipse/org.apache.commons.codec_1.3.0.v201101211617.jar) = 55011
-SHA256 (eclipse/org.apache.commons.el_1.0.0.v201101211617.jar) = 31867a6e2166e744dced07606852ef84e41db24bfd93a3da375ef4454bde13bc
-SIZE (eclipse/org.apache.commons.el_1.0.0.v201101211617.jar) = 128684
-SHA256 (eclipse/org.apache.commons.httpclient_3.1.0.v201012070820.jar) = 606861c12a82c8336bfd38e9f1e80d105a9cdebd87e4fbd88bc4203f21441402
-SIZE (eclipse/org.apache.commons.httpclient_3.1.0.v201012070820.jar) = 321633
-SHA256 (eclipse/org.apache.commons.logging_1.0.4.v201101211617.jar) = 453d6f5e9d3f1682ed0eb86110231b6182f1d6d2a95fd2c528496818a01383ac
-SIZE (eclipse/org.apache.commons.logging_1.0.4.v201101211617.jar) = 45405
-SHA256 (eclipse/org.apache.lucene.core_2.9.1.v201101211721.jar) = 87215c54c69432935278f72fe5594500cc076630018dee21646131b4d678bd51
-SIZE (eclipse/org.apache.lucene.core_2.9.1.v201101211721.jar) = 1168475
-SHA256 (eclipse/org.apache.lucene.analysis_2.9.1.v201101211721.jar) = cc5dde23abac55f232543732ab2f97131c058295e4e33e60872234cef73c405a
-SIZE (eclipse/org.apache.lucene.analysis_2.9.1.v201101211721.jar) = 216089
-SHA256 (eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar) = 3990293a31c98e079be5c24410fcaefb06f2770547879b27796651f8df092a0e
-SIZE (eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar) = 27827
-SHA256 (eclipse/org.mortbay.jetty.util_6.1.23.v201012071420.jar) = b41cf1845a7b05dbdcc57a4631367f4ba94fea2a2a7145797167533cb73edbdd
-SIZE (eclipse/org.mortbay.jetty.util_6.1.23.v201012071420.jar) = 193298
-SHA256 (eclipse/org.mortbay.jetty.server_6.1.23.v201012071420.jar) = 88fcf37ef94f63d920a1ca438cf17a79f19900da95ba27c6374440d9388ecaeb
-SIZE (eclipse/org.mortbay.jetty.server_6.1.23.v201012071420.jar) = 557887
-SHA256 (eclipse/org.objectweb.asm_3.3.1.v201105211655.jar) = 84920bb2d003a88e9a585b7daa2cc163aa6bc5e9efa997f8622436ca3fac3b95
-SIZE (eclipse/org.objectweb.asm_3.3.1.v201105211655.jar) = 228617
-SHA256 (eclipse/org.sat4j.core_2.3.0.v20110329.jar) = 3e6c4a633ede8c24a86559cf9fc2231840dbf032398a38a960677723906728c1
-SIZE (eclipse/org.sat4j.core_2.3.0.v20110329.jar) = 210700
-SHA256 (eclipse/org.sat4j.pb_2.3.0.v20110329.jar) = c40ca55dad3a937dc4c4005e5facf11204a61d56824c2b19eac480dfbeeaaafd
-SIZE (eclipse/org.sat4j.pb_2.3.0.v20110329.jar) = 140725
-SHA256 (eclipse/eclipse-sdktests-3.7.1-src.tar.bz2) = 584a95a956c92bcf812563404da1e232a6cbd50cbe9757ab471b0d95f283a20f
-SIZE (eclipse/eclipse-sdktests-3.7.1-src.tar.bz2) = 123690224
+SHA256 (eclipse/eclipse.platform.releng.aggregator-4.3.2.xz) = 2453b2f8e12c7cd90f15dc34519e785befb69ef014e07cd2b180f8a4d7b557cd
+SIZE (eclipse/eclipse.platform.releng.aggregator-4.3.2.xz) = 196545676
+SHA256 (eclipse/eclipse-maven-repo-4.3.2.xz) = f5288a26d9bdb22f5a455bba52f73589918c9bcff65bb667ae6d246467a61ca8
+SIZE (eclipse/eclipse-maven-repo-4.3.2.xz) = 185972692
diff --git a/java/eclipse/files/eclipse-build-config-upstream.patch b/java/eclipse/files/eclipse-build-config-upstream.patch
deleted file mode 100644
index 711d267b7dd0..000000000000
--- a/java/eclipse/files/eclipse-build-config-upstream.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-$FreeBSD$
-
-### Eclipse Workspace Patch 1.0
-#P eclipse-build-config
-Index: build.properties.in
-===================================================================
---- build.properties.in (revision 23752)
-+++ build.properties.in (working copy)
-@@ -34,7 +34,7 @@
- collPlace=eclipse
- collBase=.
- configs=\
-- linux, gtk, @build_arch@
-+ @build_os@, gtk, @build_arch@
-
- archivesFormat =group,group,group-zip
- javacFailOnError=false
-Index: productFiles/rcpConfig/build.properties
-===================================================================
---- productFiles/rcpConfig/build.properties (revision 23752)
-+++ productFiles/rcpConfig/build.properties (working copy)
-@@ -65,8 +65,8 @@
- root.macosx.cocoa.x86_64.folder.Eclipse.app/Contents=absolute:file:${buildDirectory}/features/org.eclipse.equinox.executable/bin/cocoa/macosx/x86_64/Eclipse.app/Contents/Info.plist
- root.macosx.cocoa.x86_64.permissions.755=Eclipse.app/Contents/MacOS/eclipse,Eclipse.app/Contents/MacOS/java_swt
-
--
--
--
--
-+root.freebsd.gtk.x86=absolute:${buildDirectory}/features/org.eclipse.platform/about_files/freebsd.gtk.x86,absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/freebsd/x86
-+root.freebsd.gtk.x86.permissions.755=*.so*
-+root.freebsd.gtk.x86_64=absolute:${buildDirectory}/features/org.eclipse.platform/about_files/freebsd.gtk.x86_64,absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/freebsd/x86_64
-+root.freebsd.gtk.x86_64.permissions.755=*.so*
-
-Index: customTargets.xml
-===================================================================
---- customTargets.xml (revision 23752)
-+++ customTargets.xml (working copy)
-@@ -129,6 +129,24 @@
- <copy todir="${linux.gtk.ppc64.rootfiles}">
- <fileset dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.ppc64" includes="about_files/**" />
- </copy>
-+
-+ <!--copy freebsd gtk x86 about_files to in temp location where it will be copied into root of eclipse at assembly time-->
-+ <property name="freebsd.gtk.x86.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/freebsd.gtk.x86" />
-+ <mkdir dir="${freebsd.gtk.x86.rootfiles}" />
-+ <copy tofile="${freebsd.gtk.x86.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.freebsd.x86/about.html" />
-+
-+ <copy todir="${freebsd.gtk.x86.rootfiles}">
-+ <fileset dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.freebsd.x86" includes="about_files/**" />
-+ </copy>
-+
-+ <!--copy freebsd gtk x86_64 about_files to in temp location where it will be copied into root of eclipse at assembly time-->
-+ <property name="freebsd.gtk.x86_64.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/freebsd.gtk.x86_64" />
-+ <mkdir dir="${freebsd.gtk.x86_64.rootfiles}" />
-+ <copy tofile="${freebsd.gtk.x86_64.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about.html" />
-+
-+ <copy todir="${freebsd.gtk.x86_64.rootfiles}">
-+ <fileset dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.freebsd.x86_64" includes="about_files/**" />
-+ </copy>
- </target>
-
- <!-- ===================================================================== -->
-@@ -201,7 +219,7 @@
- <!-- ===================================================================== -->
- <target name="postPackage">
- <exec executable="zip" dir="${buildDirectory}/${buildLabel}">
-- <arg line="-d ${archiveName} win32** wce** linux** solaris** aix** hpux** macosx** qnx**" />
-+ <arg line="-d ${archiveName} win32** wce** linux** solaris** aix** hpux** macosx** qnx** freebsd**" />
- </exec>
- <exec dir="${buildDirectory}/buildRepo" executable="zip">
- <arg line="-r ${archiveFullPath} ." />
diff --git a/java/eclipse/files/eclipse-build-upstream.patch b/java/eclipse/files/eclipse-build-upstream.patch
deleted file mode 100644
index d4c5991762b7..000000000000
--- a/java/eclipse/files/eclipse-build-upstream.patch
+++ /dev/null
@@ -1,357 +0,0 @@
-### Eclipse Workspace Patch 1.0
-#P eclipse-build
-Index: generatebuild.xml
-===================================================================
---- generatebuild.xml (revision 23733)
-+++ generatebuild.xml (working copy)
-@@ -5,7 +5,7 @@
- <target name="genBuild">
- <echo message="About to generate source bundles and build.xml files" />
- <eclipse.buildScript elements="feature@${featureToBuild}"
-- configInfo="linux,gtk,${buildArch}"
-+ configInfo="${buildOs},gtk,${buildArch}"
- buildingosgi="true"
- recursivegeneration="true"
- builddirectory="${buildDirectory}"
-Index: build.xml
-===================================================================
---- build.xml (revision 23733)
-+++ build.xml (working copy)
-@@ -131,7 +131,8 @@
- <ant inheritall="false" antfile="pdebuild.xml">
- <property name="buildId" value="${buildId}" />
- <property name="buildArch" value="${buildArch}" />
-- <property name="buildDirectory" value="../../" />
-+ <property name="buildOs" value="${buildOs}" />
-+ <property name="buildDirectory" value="../../" />
- </ant>
- </target>
-
-@@ -312,7 +313,10 @@
- <!-- end eclipse-build-only patches -->
- <!-- Only build for one target (bug #293952) -->
- <copy file="${buildConfigs}/eclipse-build-config/build.properties.in" tofile="${buildConfigs}/eclipse-build-config/build.properties" />
-- <replace file="${buildConfigs}/eclipse-build-config/build.properties" token="@build_arch@" value="${buildArch}" />
-+ <replace file="${buildConfigs}/eclipse-build-config/build.properties">
-+ <replacefilter token="@build_arch@" value="${buildArch}" />
-+ <replacefilter token="@build_os@" value="${buildOs}" />
-+ </replace>
- <patch patchfile="${basedir}/patches/eclipse-core-resources-compilation-profile.patch" dir="${buildDirectory}" strip="0" />
- <patch patchfile="${basedir}/patches/eclipse-equinox-util.patch" dir="${buildDirectory}" strip="0" />
- <echo file="patch-stamp" />
-@@ -399,6 +403,7 @@
- <!--
- <ant antfile="build.xml" dir="${eclipse.pdebuild.scripts}">
- <property name="arch" value="${buildArch}"/>
-+ <property os="os" value="${buildOs}"/>
- <property name="builder" value="${buildConfig}" />
- </ant>
- -->
-@@ -462,9 +467,9 @@
-
- <target name="compile.libgnomeproxy" if="build.libgnomeproxy">
- <!-- build libgnomeproxy -->
-- <exec dir="${buildDirectory}/plugins/org.eclipse.core.net/natives/unix/linux" executable="make" failonerror="true" />
-- <copy file="${buildDirectory}/plugins/org.eclipse.core.net/natives/unix/linux/libgnomeproxy-1.0.0.so" todir="${buildDirectory}/plugins/org.eclipse.core.net.linux.${buildArch}/" />
-- <move file="${buildDirectory}/plugins/org.eclipse.core.net/natives/unix/linux/libgnomeproxy-1.0.0.so" todir="${buildDirectory}/plugins/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.${buildArch}/" />
-+ <exec dir="${buildDirectory}/plugins/org.eclipse.core.net/natives/unix/${buildOs}" executable="make" failonerror="true" />
-+ <copy file="${buildDirectory}/plugins/org.eclipse.core.net/natives/unix/${buildOs}/libgnomeproxy-1.0.0.so" todir="${buildDirectory}/plugins/org.eclipse.core.net.${buildOs}.${buildArch}/" />
-+ <move file="${buildDirectory}/plugins/org.eclipse.core.net/natives/unix/${buildOs}/libgnomeproxy-1.0.0.so" todir="${buildDirectory}/plugins/org.eclipse.core.net/fragments/org.eclipse.core.net.${buildOs}.${buildArch}/" />
- </target>
-
- <target name="compilelibs" unless="compilelibs.complete">
-@@ -476,16 +481,16 @@
- <include name="**/*.so" />
- </fileset>
- </delete>
-- <ant antfile="build.xml" target="build.nativeLibraries" dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.${buildArch}" />
-+ <ant antfile="build.xml" target="build.nativeLibraries" dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.${buildOs}.${buildArch}" />
-
- <property name="launcherlibs" value="${buildDirectory}/features/org.eclipse.equinox.executable" />
- <exec dir="${launcherlibs}/library/gtk/" executable="sh" failonerror="true">
- <arg line="build.sh" />
- </exec>
-
-- <property name="launcherfragment" value="org.eclipse.equinox.launcher.gtk.linux.${buildArch}" />
-+ <property name="launcherfragment" value="org.eclipse.equinox.launcher.gtk.${buildOs}.${buildArch}" />
-
-- <copy file="${launcherlibs}/library/gtk/eclipse" todir="${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/linux/${buildArch}/" />
-+ <copy file="${launcherlibs}/library/gtk/eclipse" todir="${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/${buildOs}/${buildArch}/" />
- <copy todir="${buildDirectory}/plugins/${launcherfragment}">
- <fileset dir="${launcherlibs}/library/gtk">
- <include name="**/*.so" />
-@@ -493,13 +498,13 @@
- </copy>
-
- <!-- build liblocalfile -->
-- <exec dir="${buildDirectory}/plugins/org.eclipse.core.filesystem/natives/unix/linux" executable="make" failonerror="true" />
-- <move file="${buildDirectory}/plugins/org.eclipse.core.filesystem/natives/unix/linux/libunixfile_1_0_0.so" todir="${buildDirectory}/plugins/org.eclipse.core.filesystem.linux.${buildArch}/os/linux/${buildArch}">
-+ <exec dir="${buildDirectory}/plugins/org.eclipse.core.filesystem/natives/unix/${buildOs}" executable="make" failonerror="true" />
-+ <move file="${buildDirectory}/plugins/org.eclipse.core.filesystem/natives/unix/${buildOs}/libunixfile_1_0_0.so" todir="${buildDirectory}/plugins/org.eclipse.core.filesystem.${buildOs}.${buildArch}/os/${buildOs}/${buildArch}">
- </move>
- <!-- build libgnomeproxy -->
- <antcall target="compile.libgnomeproxy" />
- <!-- build libupdate -->
-- <ant dir="${buildDirectory}/plugins/org.eclipse.update.core.linux/src" antfile="build.xml" />
-+ <ant dir="${buildDirectory}/plugins/org.eclipse.update.core.${buildOs}/src" antfile="build.xml" />
-
- <echo file="compilelibs-stamp" />
- </target>
-@@ -593,7 +598,7 @@
- <arg line="-application org.eclipse.ant.core.antRunner " />
- <arg line="-buildfile buildConfiguration.xml" />
- <arg line="-propertyfile ${basedir}/build.properties " />
-- <arg line="-Dconfigs=linux,gtk,${buildArch} " />
-+ <arg line="-Dconfigs=${buildOs},gtk,${buildArch} " />
- <arg line="-Dreposource=${reposource} " />
- <arg line="-Dbasedir=${productFiles}/rcpConfig" />
- <arg line="-DbuildId=${buildId} " />
-@@ -631,6 +636,7 @@
- <arg line="-buildfile publishProduct.xml" />
- <arg line="-propertyfile ${basedir}/build.properties " />
- <arg line="-DbuildArch=${buildArch} " />
-+ <arg line="-DbuildOs=${buildOs} " />
- <arg line="-Dreposource=${reposource} " />
- <arg line="-DbuildConfig=${buildConfig} " />
- <arg line="-DproductFile=${productFile} " />
-@@ -721,7 +727,7 @@
- <param name="p2.director.profile" value="${profileName}" />
- <param name="p2.director.install.path" value="${provisionDir}" />
- <param name="p2.director.extraArgs" value="-profileProperties org.eclipse.update.install.features=true" />
-- <param name="p2.os" value="linux" />
-+ <param name="p2.os" value="${buildOs}" />
- <param name="p2.ws" value="gtk" />
- <param name="p2.arch" value="${buildArch}" />
- <param name="p2.repo" value="${reposource}" />
-@@ -750,7 +753,7 @@
- <param name="p2.director.profile" value="${profileName}" />
- <param name="p2.director.install.path" value="${provisionDir}" />
- <param name="p2.director.extraArgs" value="-profileProperties org.eclipse.update.install.features=true" />
-- <param name="p2.os" value="linux" />
-+ <param name="p2.os" value="${buildOs}" />
- <param name="p2.ws" value="gtk" />
- <param name="p2.arch" value="${buildArch}" />
- <param name="p2.repo" value="${reposource}" />
-@@ -800,6 +806,8 @@
- -->
- <exec executable="${basedir}/runtests.sh" dir="${basedir}">
- <arg value="-t${timestamp}" />
-+ <arg value="-a${buildArch}" />
-+ <arg value="-o${buildOs}" />
- <arg value="-b ${testsBuildDirectory}" />
- <arg value="-p ${provisionDir}" />
- <arg value="${testSwitches}" />
-@@ -924,7 +932,7 @@
- <property name="startupjarpath" refid="startupjar" />
- <symlink link="${installationDir}/startup.jar" resource="plugins/${startupjarpath}" />
- <!-- Create the "swt.jar" and friends symlinks -->
-- <fileset dir="${installationDir}/plugins" includes="org.eclipse.swt.gtk.linux.${buildArch}_*" id="swtjar" />
-+ <fileset dir="${installationDir}/plugins" includes="org.eclipse.swt.gtk.${buildOs}.${buildArch}_*" id="swtjar" />
- <property name="swtjarpath" refid="swtjar" />
- <symlink link="${installationDir}/swt-gtk-${label}.jar" resource="plugins/${swtjarpath}" />
- <symlink link="${installationDir}/swt-gtk.jar" resource="plugins/${swtjarpath}" />
-@@ -1061,7 +1074,7 @@
- <param name="p2.director.profile" value="PlatformProfile" />
- <param name="p2.director.install.path" value="${installationDir}" />
- <param name="p2.director.extraArgs" value="-purgeHistory" />
-- <param name="p2.os" value="linux" />
-+ <param name="p2.os" value="${buildOs}" />
- <param name="p2.ws" value="gtk" />
- <param name="p2.arch" value="${buildArch}" />
- <param name="p2.repo" value="${installationDir}" />
-Index: pdebuild.xml
-===================================================================
---- pdebuild.xml (revision 23733)
-+++ pdebuild.xml (working copy)
-@@ -88,7 +88,7 @@
- <filelist id="helpDirs" dir="${sdkSource}/plugins" files="${helpDirsProperty}"/>
-
- <property name="depsDirs2Property"
-- value="org.eclipse.swt.gtk.linux.${buildArch}
-+ value="org.eclipse.swt.gtk.${buildOs}.${buildArch}
- org.eclipse.core.filesystem
- org.eclipse.core.resources
- org.eclipse.core.commands
-@@ -214,12 +214,14 @@
- <subant>
- <property name="buildId" value="${buildId}" />
- <property name="buildArch" value="${buildArch}" />
-+ <property name="buildOs" value="${buildOs}" />
- <property file="pdebuild.properties" />
- <filelist refid="depsDirs" />
- </subant>
- <subant>
- <property name="buildId" value="${buildId}" />
- <property name="buildArch" value="${buildArch}" />
-+ <property name="buildOs" value="${buildOs}" />
- <property file="pdebuild.properties" />
- <filelist refid="helpDirs" />
- </subant>
-@@ -245,6 +247,7 @@
- <arg line="-application org.eclipse.ant.core.antRunner " />
- <arg line="-buildfile ../pdebuild.xml generateScripts2" />
- <arg line="-DbuildArch=${buildArch} " />
-+ <arg line="-DbuildOs=${buildOs} " />
- <arg line="-DbuildId=${buildId} " />
- <arg line="-debug -consolelog" />
- </java>
-@@ -287,10 +288,10 @@
- <target name="removeGeneratedBuildXMLs" depends="zipPlugins2">
- <fileset id="buildXMLsToKeep" dir="${sdkSource}/plugins"
- excludes="**/org.eclipse.swt.gtk.*/*,
-- **/org.eclipse.update.core.linux/**/*,
-+ **/org.eclipse.update.core.${buildOs}/**/*,
- **/org.eclipse.pde.build/scripts/*,
- **/org.eclipse.jdt.core/scripts/*,
-- **/org.eclipse.update.core.linux/src/*,
-+ **/org.eclipse.update.core.${buildOs}/src/*,
- **/org.eclipse.jdt.doc.isv/*,
- **/org.eclipse.swt/*,
- **/org.eclipse.jdt.doc.user/*"
-Index: publishProduct.xml
-===================================================================
---- publishProduct.xml (revision 23733)
-+++ publishProduct.xml (working copy)
-@@ -1,7 +1,7 @@
- <project name="Eclipse SDK build" default="publish" basedir=".">
- <target name="publish">
- <p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${productFile}" compress="true">
-- <config os="linux" ws="gtk" arch="${buildArch}" />
-+ <config os="${buildOs}" ws="gtk" arch="${buildArch}" />
- <advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
- <advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
- </p2.publish.product>
-Index: runtests.sh
-===================================================================
---- runtests.sh (revision 23733)
-+++ runtests.sh (working copy)
-@@ -16,6 +16,8 @@
- -b Tests build directory
- -p Clean installation directory to copy for running test suites
- -t Timestamp string with which to tag the results
-+ -a Architecture to run the tests on
-+ -o OS to run the tests on
- -v Make test runs output to the console
- _EOF_
- }
-@@ -83,6 +85,8 @@
- headless=1
- fi
-
-+ buildOs=linux
-+
- label=$(grep label build.properties | sed s/label=//)
- testframework=$(grep ^testframework build.properties | sed s/testframework=//)
-
-@@ -142,21 +146,16 @@
- if [ ${headless} == 1 ]; then
- # Try to find Xvnc
- xvnc=
-- if [ -a /usr/bin/Xvnc ]
-- then
-- xvnc=/usr/bin/Xvnc
-- setupXvnc
-- else
-- if [ -a /usr/X11/bin/Xvnc ]
-- then
-- xvnc=/usr/X11/bin/Xvnc
-+ for _xvnc in /usr/bin/Xvnc /usr/X11/bin/Xvnc /usr/local/bin/Xvnc; do
-+ if [ -a $_xvnc ]; then
-+ xvnc=$_xvnc
- setupXvnc
-- else
-- echo "Couldn't find Xvnc (/usr/bin/Xvnc or /usr/X11/bin/Xvnc). Using DISPLAY=0:0"
-- DISPLAY=`$HOST`:0.0
-+ break
- fi
-+ done
-+ if [ "x$xvnc" = "x" ]; then
-+ echo "Couldn't find Xvnc. Using default DISPLAY from environment"
- fi
-- export DISPLAY
- fi
- }
-
-@@ -165,9 +164,11 @@
- port=`expr '(' $RANDOM '*' 9 / 32767 ')' + 58`
- echo localhost > Xvnc.cfg
- echo "Setting up Xvnc on port ${port} with password VNCpassword1"
-- $xvnc :$port -screen 1 1024x768x32 -auth Xvnc.cfg -localhost -PasswordFile eclipse-tests-vncpwd &> Xvnc.log &
-+ $xvnc :$port -geometry 1024x768 -depth 24 -auth Xvnc.cfg -localhost -rfbauth eclipse-tests-vncpwd &> Xvnc.log &
- Xvncpid=$!
-- DISPLAY=`$HOST`:$port
-+ DISPLAY=$HOST:$port
-+ export DISPLAY
-+
- }
-
- function setArch() {
-@@ -186,13 +187,15 @@
- arch=ia64 ;;
- ppc)
- arch=ppc ;;
-- x86_64)
-+ x86_64|amd64)
- arch=x86_64 ;;
- *)
- echo "Unrecognized architecture: $arch" 1>&2
- exit 1 ;;
- esac
- echo >&2 "Architecture not specified. Assuming host architecture: $arch"
-+ else
-+ arch=$buildArch
- fi
- }
-
-@@ -206,7 +209,7 @@
- -application org.eclipse.ant.core.antRunner \
- -file $testDriver \
- -Declipse-home=${eclipseHome} \
-- -Dos=linux \
-+ -Dos=${buildOs} \
- -Dws=gtk \
- -Darch=${arch} \
- -Dlibrary-file=$libraryXml \
-@@ -214,7 +217,7 @@
- -logger org.apache.tools.ant.DefaultLogger \
- -vmargs \
- -Duser.home=${homedir} \
-- -Dosgi.os=linux \
-+ -Dosgi.os=${buildOs} \
- -Dosgi.ws=gtk \
- -Dosgi.arch=${arch}
- else
-@@ -348,7 +351,7 @@
- }
-
- # Command-line arguments
--while getopts "vde:gb:p:t:h" OPTION
-+while getopts "vde:gb:p:t:a:o:h" OPTION
- do
- case $OPTION in
- d)
-@@ -366,6 +369,12 @@
- p)
- provisionDir=$OPTARG
- ;;
-+ a)
-+ buildArch=$OPTARG
-+ ;;
-+ o)
-+ buildOs=$OPTARG
-+ ;;
- h)
- usage
- exit 1
---- task-src/org/eclipse/linuxtools/eclipsebuild/SymlinkNonOSGiJars.java~ Thu Feb 25 21:14:10 2010
-+++ task-src/org/eclipse/linuxtools/eclipsebuild/SymlinkNonOSGiJars.java Fri Nov 5 11:39:46 2010
-@@ -36,8 +36,8 @@
- for (Iterator<Object> jarIter = jarLocations.iterator(); jarIter.hasNext();) {
-
- String origLocation = (String) jarIter.next();
-
-- String systemLocations = (String) dependencies.get(origLocation);
-+ String systemLocations = getProject().replaceProperties((String) dependencies.get(origLocation));
- String[] systemLocationList = systemLocations.split(":");
- String attemptedLocations = "";
- for (int j = 0; j < systemLocationList.length; j++) {
diff --git a/java/eclipse/files/freebsd-support.patch b/java/eclipse/files/freebsd-support.patch
deleted file mode 100644
index 9c79df2c3c32..000000000000
--- a/java/eclipse/files/freebsd-support.patch
+++ /dev/null
@@ -1,7497 +0,0 @@
-$FreeBSD$
-
---- build.orig/eclipse-3.5.2-src/features/org.eclipse.equinox.executable/library/gtk/build.sh 2009-12-23 15:12:32.845944760 -0500
-+++ build/eclipse-3.5.2-src/features/org.eclipse.equinox.executable/library/gtk/build.sh 2009-12-23 15:14:12.389807302 -0500
-@@ -53,6 +53,7 @@
- "Linux")
- makefile="make_linux.mak"
- defaultOS="linux"
-+ MAKE=make
- case $MODEL in
- "x86_64")
- defaultOSArch="x86_64"
-@@ -112,6 +113,7 @@
- "SunOS")
- makefile="make_solaris.mak"
- defaultOS="solaris"
-+ MAKE=make
- [ -d /usr/jdk/jdk1.5.0_01 ] && defaultJavaHome="/usr/jdk/jdk1.5.0_01"
- OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch"
- #PATH=/usr/ccs/bin:/opt/SUNWspro/bin:$PATH
-@@ -119,6 +121,24 @@
- ;;
- esac
- ;;
-+ "FreeBSD")
-+ makefile="make_freebsd.mak"
-+ defaultOS="freebsd"
-+ MAKE=gmake
-+ javaHome="${JAVA_HOME}"
-+ defaultJava=DEFAULT_JAVA_EXEC
-+ case $MODEL in
-+ "amd64")
-+ defaultOSArch="x86_64"
-+ ;;
-+ i?86)
-+ defaultOSArch="x86"
-+ ;;
-+ *)
-+ echo "*** Unknown MODEL <${MODEL}>"
-+ ;;
-+ esac
-+ ;;
- *)
- echo "Unknown OS -- build aborted"
- ;;
-@@ -164,13 +184,13 @@
- # If the OS is supported (a makefile exists)
- if [ "$makefile" != "" ]; then
- if [ "$extraArgs" != "" ]; then
-- make -f $makefile $extraArgs
-+ ${MAKE} -f $makefile $extraArgs
- else
- echo "Building $OS launcher. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
-- make -f $makefile clean
-+ ${MAKE} -f $makefile clean
- case x$CC in
-- x*gcc*) make -f $makefile all PICFLAG=-fpic ;;
-- *) make -f $makefile all ;;
-+ x*gcc*) ${MAKE} -f $makefile all PICFLAG=-fpic ;;
-+ *) ${MAKE} -f $makefile all ;;
- esac
- fi
- else
---- build.orig/eclipse-3.5.2-src/features/org.eclipse.equinox.executable/library/gtk/make_freebsd.mak 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/features/org.eclipse.equinox.executable/library/gtk/make_freebsd.mak 2009-12-23 15:14:12.389807302 -0500
-@@ -0,0 +1,109 @@
-+#*******************************************************************************
-+# Copyright (c) 2000, 2005 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+# Kevin Cornell (Rational Software Corporation)
-+# Tom Tromey (Red Hat, Inc.)
-+#*******************************************************************************
-+include ../make_version.mak
-+# Makefile for creating the GTK eclipse launcher program.
-+#
-+# This makefile expects the utility "pkg-config" to be in the PATH.
-+
-+# This makefile expects the following environment variables set:
-+#
-+# PROGRAM_OUTPUT - the filename of the output executable
-+# DEFAULT_OS - the default value of the "-os" switch
-+# DEFAULT_OS_ARCH - the default value of the "-arch" switch
-+# DEFAULT_WS - the default value of the "-ws" switch
-+# JAVA_HOME - JAVA_HOME for jni headers
-+#default value for PROGRAM_OUTPUT
-+ifeq ($(PROGRAM_OUTPUT),)
-+ PROGRAM_OUTPUT=eclipse
-+endif
-+
-+PROGRAM_LIBRARY=$(PROGRAM_OUTPUT)_$(LIB_VERSION).so
-+
-+ifeq ($(DEFAULT_JAVA),)
-+ DEFAULT_JAVA=DEFAULT_JAVA_JNI
-+endif
-+
-+# Define the object modules to be compiled and flags.
-+CC=cc
-+MAIN_OBJS = eclipseMain.o
-+COMMON_OBJS = eclipseConfig.o eclipseCommon.o eclipseGtkCommon.o eclipseGtkInit.o
-+DLL_OBJS = eclipse.o eclipseGtk.o eclipseUtil.o eclipseJNI.o eclipseMozilla.o eclipseShm.o eclipseNix.o
-+
-+EXEC = $(PROGRAM_OUTPUT)
-+DLL = $(PROGRAM_LIBRARY)
-+#LIBS = `pkg-config --libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgdk-x11-2.0 -lpthread -ldl
-+LIBS = -lpthread
-+GTK_LIBS = -DGTK_LIB="\"libgtk-x11-2.0.so.0\"" -DGDK_LIB="\"libgdk-x11-2.0.so.0\"" -DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\"" -DGOBJ_LIB="\"libgobject-2.0.so.0\"" -DX11_LIB="\"libX11.so.6\""
-+LFLAGS = -shared -fpic -Wl,--export-dynamic
-+CFLAGS = -g -s -Wall\
-+ -fpic \
-+ -DFREEBSD \
-+ -DMOZILLA_FIX \
-+ -DDEFAULT_OS="\"$(DEFAULT_OS)\"" \
-+ -DDEFAULT_OS_ARCH="\"$(DEFAULT_OS_ARCH)\"" \
-+ -DDEFAULT_WS="\"$(DEFAULT_WS)\"" \
-+ -D$(DEFAULT_JAVA) \
-+ $(GTK_LIBS) \
-+ -I. \
-+ -I.. \
-+ -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd \
-+ `pkg-config --cflags gtk+-2.0`
-+
-+all: $(EXEC) $(DLL)
-+
-+eclipse.o: ../eclipse.c ../eclipseOS.h ../eclipseCommon.h ../eclipseJNI.h
-+ $(CC) $(CFLAGS) -c ../eclipse.c -o eclipse.o
-+
-+eclipseMain.o: ../eclipseUnicode.h ../eclipseCommon.h ../eclipseMain.c
-+ $(CC) $(CFLAGS) -c ../eclipseMain.c -o eclipseMain.o
-+
-+eclipseCommon.o: ../eclipseCommon.h ../eclipseUnicode.h ../eclipseCommon.c
-+ $(CC) $(CFLAGS) -c ../eclipseCommon.c
-+
-+eclipseGtkCommon.o: ../eclipseCommon.h ../eclipseOS.h eclipseGtk.h eclipseGtkCommon.c
-+ $(CC) $(CFLAGS) -c eclipseGtkCommon.c -o eclipseGtkCommon.o
-+
-+eclipseGtkInit.o: ../eclipseCommon.h eclipseGtk.h eclipseGtkInit.c
-+ $(CC) $(CFLAGS) -c eclipseGtkInit.c -o eclipseGtkInit.o
-+
-+eclipseUtil.o: ../eclipseUtil.c ../eclipseUtil.h ../eclipseOS.h
-+ $(CC) $(CFLAGS) -c ../eclipseUtil.c -o eclipseUtil.o
-+
-+eclipseJNI.o: ../eclipseJNI.c ../eclipseCommon.h ../eclipseOS.h ../eclipseJNI.h
-+ $(CC) $(CFLAGS) -c ../eclipseJNI.c -o eclipseJNI.o
-+
-+eclipseConfig.o: ../eclipseConfig.c ../eclipseConfig.h ../eclipseOS.h
-+ $(CC) $(CFLAGS) -c ../eclipseConfig.c -o eclipseConfig.o
-+
-+eclipseMozilla.o: ../eclipseMozilla.c ../eclipseMozilla.h ../eclipseOS.h
-+ $(CC) $(CFLAGS) -c ../eclipseMozilla.c -o eclipseMozilla.o
-+
-+eclipseShm.o: ../eclipseShm.h ../eclipseUnicode.h ../eclipseShm.c
-+ $(CC) $(CFLAGS) -c ../eclipseShm.c -o eclipseShm.o
-+
-+eclipseNix.o: ../eclipseNix.c
-+ $(CC) $(CFLAGS) -c ../eclipseNix.c -o eclipseNix.o
-+
-+$(EXEC): $(MAIN_OBJS) $(COMMON_OBJS)
-+ $(CC) -o $(EXEC) $(MAIN_OBJS) $(COMMON_OBJS) $(LIBS)
-+
-+$(DLL): $(DLL_OBJS) $(COMMON_OBJS)
-+ $(CC) $(LFLAGS) -o $(DLL) $(DLL_OBJS) $(COMMON_OBJS) $(LIBS)
-+
-+install: all
-+ cp $(EXEC) $(OUTPUT_DIR)
-+ cp $(DLL) $(LIBRARY_DIR)
-+ rm -f $(EXEC) $(DLL) $(MAIN_OBJS) $(COMMON_OBJS) $(DLL_OBJS)
-+
-+clean:
-+ rm -f $(EXEC) $(DLL) $(MAIN_OBJS) $(COMMON_OBJS) $(DLL_OBJS)
---- build.orig/eclipse-3.5.2-src/features/org.eclipse.equinox.executable/target.build.properties 2009-12-23 15:12:32.595953209 -0500
-+++ build/eclipse-3.5.2-src/features/org.eclipse.equinox.executable/target.build.properties 2009-12-23 15:14:12.390811604 -0500
-@@ -98,3 +98,6 @@
-
- root.linux.gtk.s390x=contributed/gtk/linux/s390x,gtk_root
- root.linux.gtk.s390=contributed/gtk/linux/s390,gtk_root
-+
-+root.freebsd.gtk.x86=bin/gtk/freebsd/x86,gtk_root
-+root.freebsd.gtk.x86_64=bin/gtk/freebsd/x86_64,gtk_root
---- build.orig/eclipse-3.5.2-src/features/org.eclipse.platform/feature.xml 2009-12-23 15:12:32.396160828 -0500
-+++ build/eclipse-3.5.2-src/features/org.eclipse.platform/feature.xml 2009-12-23 15:14:12.390811604 -0500
-@@ -138,6 +138,16 @@
- unpack="false"/>
-
- <plugin
-+ id="org.eclipse.core.net.freebsd.x86"
-+ os="freebsd"
-+ arch="x86"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"
-+ unpack="false"/>
-+
-+ <plugin
- id="org.eclipse.core.resources"
- download-size="0"
- install-size="0"
-@@ -572,6 +582,26 @@
- unpack="false"/>
-
- <plugin
-+ id="org.eclipse.core.filesystem.freebsd.x86"
-+ os="freebsd"
-+ arch="x86"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"
-+ unpack="false"/>
-+
-+ <plugin
-+ id="org.eclipse.core.filesystem.freebsd.x86_64"
-+ os="freebsd"
-+ arch="x86_64"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"
-+ unpack="false"/>
-+
-+ <plugin
- id="org.eclipse.core.filesystem.solaris.sparc"
- os="solaris"
- arch="sparc"
-@@ -657,6 +687,16 @@
- unpack="false"/>
-
- <plugin
-+ id="org.eclipse.update.core.freebsd"
-+ os="freebsd"
-+ arch="x86"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"
-+ unpack="false"/>
-+
-+ <plugin
- id="org.eclipse.update.core.win32"
- os="win32"
- download-size="0"
---- build.orig/eclipse-3.5.2-src/features/org.eclipse.rcp/feature.xml 2009-12-23 15:12:32.485514642 -0500
-+++ build/eclipse-3.5.2-src/features/org.eclipse.rcp/feature.xml 2009-12-23 15:14:12.391816744 -0500
-@@ -371,6 +371,28 @@
- unpack="false"/>
-
- <plugin
-+ id="org.eclipse.swt.gtk.freebsd.x86"
-+ os="freebsd"
-+ ws="gtk"
-+ arch="x86"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"
-+ unpack="false"/>
-+
-+ <plugin
-+ id="org.eclipse.swt.gtk.freebsd.x86_64"
-+ os="freebsd"
-+ ws="gtk"
-+ arch="x86_64"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"
-+ unpack="false"/>
-+
-+ <plugin
- id="org.eclipse.swt.gtk.solaris.sparc"
- os="solaris"
- ws="gtk"
-@@ -556,6 +578,26 @@
- fragment="true"/>
-
- <plugin
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.x86"
-+ os="freebsd"
-+ ws="gtk"
-+ arch="x86"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"/>
-+
-+ <plugin
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.x86_64"
-+ os="freebsd"
-+ ws="gtk"
-+ arch="x86_64"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"/>
-+
-+ <plugin
- id="org.eclipse.equinox.launcher.gtk.aix.ppc"
- os="aix"
- ws="gtk"
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile 2009-12-23 15:14:12.391816744 -0500
-@@ -0,0 +1,36 @@
-+#**********************************************************************
-+# Copyright (c) 2000, 2004 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#**********************************************************************
-+#
-+# makefile for libunixfile_1_0_0.so
-+
-+CORE.C = ../unixfile.c
-+CORE.O = unixfile.o
-+LIB_NAME = libunixfile.so
-+LIB_NAME_FULL = libunixfile_1_0_0.so
-+
-+#Set this to be your OS type
-+OS_TYPE = freebsd
-+
-+#Set this to be the location of your JRE
-+#JAVA_HOME = ~/vm/sun142
-+
-+JDK_INCLUDE = -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_TYPE}
-+COMMON_INCLUDE = -I include
-+#OPT_FLAGS=-g
-+OPT_FLAGS=-O2 -g -s -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-+
-+core :
-+ cc $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) $(COMMON_INCLUDE) -o $(CORE.O) $(CORE.C)
-+ cc $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
-+
-+clean :
-+ rm *.o
-+
-+install: core
-+ rm -f ../../../../org.eclipse.core.filesystem.linux.x86/os/linux/x86/libunixfile_1_0_0.so
-+ mv libunixfile_1_0_0.so ../../../../org.eclipse.core.filesystem.linux.x86/os/linux/x86/
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem/natives/unix/freebsd/include/os_custom.h 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem/natives/unix/freebsd/include/os_custom.h 2009-12-23 15:14:12.392819649 -0500
-@@ -0,0 +1,23 @@
-+/***********************************************************************
-+* Copyright (c) 2005, 2007 IBM Corporation and others.
-+* All rights reserved. This program and the accompanying materials
-+* are made available under the terms of the Eclipse Public License v1.0
-+* which accompanies this distribution, and is available at
-+* http://www.eclipse.org/legal/epl-v10.html
-+*
-+* Contributors:
-+* IBM Corporation - initial API and implementation
-+* Martin Oberhuber (Wind River) - [183137] liblocalfile for solaris-sparc
-+***********************************************************************/
-+
-+/* Use this directive when introducing platform-specific code in localfile.c */
-+#ifndef FREEBSD
-+#define FREEBSD
-+#endif
-+
-+/* FreeBSD supports reading symbolic links */
-+#ifndef EFS_SYMLINK_SUPPORT
-+#define EFS_SYMLINK_SUPPORT
-+#endif
-+#include <limits.h>
-+#include <unistd.h>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java 2007-06-27 14:17:56.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java 2009-12-23 15:14:12.392819649 -0500
-@@ -98,7 +98,7 @@
- String arch = System.getProperty("osgi.arch", ""); //$NON-NLS-1$ //$NON-NLS-2$
- if (os.equals(Constants.OS_WIN32))
- attributes |= EFS.ATTRIBUTE_ARCHIVE | EFS.ATTRIBUTE_HIDDEN;
-- else if (os.equals(Constants.OS_LINUX) || (os.equals(Constants.OS_SOLARIS) && arch.equals(Constants.ARCH_SPARC)))
-+ else if (os.equals(Constants.OS_FREEBSD) || os.equals(Constants.OS_LINUX) || (os.equals(Constants.OS_SOLARIS) && arch.equals(Constants.ARCH_SPARC)))
- attributes |= EFS.ATTRIBUTE_EXECUTABLE | EFS.ATTRIBUTE_SYMLINK | EFS.ATTRIBUTE_LINK_TARGET;
- else if (os.equals(Constants.OS_MACOSX) || os.equals(Constants.OS_HPUX) || os.equals(Constants.OS_QNX))
- attributes |= EFS.ATTRIBUTE_EXECUTABLE;
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86/.project 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86/.project 2009-12-23 15:14:12.393823113 -0500
-@@ -0,0 +1,22 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<projectDescription>
-+ <name>org.eclipse.core.filesystem.freebsd.x86</name>
-+ <comment></comment>
-+ <projects>
-+ </projects>
-+ <buildSpec>
-+ <buildCommand>
-+ <name>org.eclipse.pde.ManifestBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.SchemaBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ </buildSpec>
-+ <natures>
-+ <nature>org.eclipse.pde.PluginNature</nature>
-+ </natures>
-+</projectDescription>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86/META-INF/MANIFEST.MF 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86/META-INF/MANIFEST.MF 2009-12-23 15:14:12.393823113 -0500
-@@ -0,0 +1,9 @@
-+Manifest-Version: 1.0
-+Bundle-ManifestVersion: 2
-+Bundle-Name: %fragmentName
-+Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.x86; singleton:=true
-+Bundle-Version: 1.2.0.qualifier
-+Bundle-Vendor: %providerName
-+Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.1.0,2.0.0)"
-+Bundle-Localization: fragment
-+Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86))
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86/about.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86/about.html 2009-12-23 15:14:12.393823113 -0500
-@@ -0,0 +1,28 @@
-+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml">
-+<head>
-+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-+<title>About</title>
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>June 2, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-+indicated below, the Content is provided to you under the terms and conditions of the
-+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-+
-+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply to your use of any object code in the Content. Check the Redistributor's license that was
-+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-+and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86/build.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86/build.properties 2009-12-23 15:14:12.394827136 -0500
-@@ -0,0 +1,16 @@
-+###############################################################################
-+# Copyright (c) 2005, 2007 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+bin.includes = META-INF/,\
-+ os/,\
-+ fragment.properties,\
-+ about.html
-+src.includes = about.html
-+generateSourceBundle=false
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86/fragment.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86/fragment.properties 2009-12-23 15:14:12.394827136 -0500
-@@ -0,0 +1,12 @@
-+###############################################################################
-+# Copyright (c) 2005 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+fragmentName = Core File System for FreeBSD
-+providerName = Eclipse.org
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86_64/.project 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86_64/.project 2009-12-23 15:14:12.394827136 -0500
-@@ -0,0 +1,22 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<projectDescription>
-+ <name>org.eclipse.core.filesystem.freebsd.x86_64</name>
-+ <comment></comment>
-+ <projects>
-+ </projects>
-+ <buildSpec>
-+ <buildCommand>
-+ <name>org.eclipse.pde.ManifestBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.SchemaBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ </buildSpec>
-+ <natures>
-+ <nature>org.eclipse.pde.PluginNature</nature>
-+ </natures>
-+</projectDescription>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86_64/META-INF/MANIFEST.MF 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86_64/META-INF/MANIFEST.MF 2009-12-23 15:14:12.395831158 -0500
-@@ -0,0 +1,9 @@
-+Manifest-Version: 1.0
-+Bundle-ManifestVersion: 2
-+Bundle-Name: %fragmentName
-+Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.x86_64; singleton:=true
-+Bundle-Version: 1.0.100.qualifier
-+Bundle-Vendor: %providerName
-+Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.1.0,2.0.0)"
-+Bundle-Localization: fragment
-+Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86_64))
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86_64/about.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86_64/about.html 2009-12-23 15:14:12.395831158 -0500
-@@ -0,0 +1,28 @@
-+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml">
-+<head>
-+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-+<title>About</title>
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>June 2, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-+indicated below, the Content is provided to you under the terms and conditions of the
-+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-+
-+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply to your use of any object code in the Content. Check the Redistributor's license that was
-+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-+and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86_64/build.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86_64/build.properties 2009-12-23 15:14:12.395831158 -0500
-@@ -0,0 +1,16 @@
-+###############################################################################
-+# Copyright (c) 2005, 2007 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+bin.includes = META-INF/,\
-+ about.html,\
-+ os/,\
-+ fragment.properties
-+src.includes = about.html
-+generateSourceBundle=false
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86_64/fragment.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.filesystem.freebsd.x86_64/fragment.properties 2009-12-23 15:14:12.395831158 -0500
-@@ -0,0 +1,12 @@
-+###############################################################################
-+# Copyright (c) 2005 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+fragmentName = Core File System for FreeBSD
-+providerName = Eclipse.org
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net/natives/unix/freebsd/makefile 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net/natives/unix/freebsd/makefile 2009-12-23 15:22:59.220601471 -0500
-@@ -0,0 +1,46 @@
-+#**********************************************************************
-+# Copyright (c) 2008 Oakland Software Incorporated and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# Oakland Software Incorporated - initial submission
-+# IBM Corporation - refactoring, bug 245849
-+#
-+#**********************************************************************
-+#
-+# makefile for libgnomeproxy-1.0.0.so
-+
-+GNOMEPROXY.C = ../gnomeproxy.c
-+GNOMEPROXY.O = gnomeproxy.o
-+LIB_NAME = gnomeproxy.so
-+LIB_NAME_FULL = libgnomeproxy-1.0.0.so
-+
-+INCLUDE = -I${LOCALBASE}/include/gconf/2/ -I${LOCALBASE}/include/orbit-2.0/ -I${LOCALBASE}/include/glib-2.0/ \
-+ -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd
-+COMPILER_FLAGS= -O0 -fPIC -g3 -Wall -c -fmessage-length=0 -m32
-+
-+LIBS := -L${LOCALBASE}/lib -lgconf-2 -lORBit-2 -lgthread-2.0 -lgobject-2.0 -lglib-2.0
-+LINKER_FLAGS= -m32
-+
-+all: link
-+
-+compile:
-+ @echo "Building file: $(GNOMEPROXY.O)"
-+ @echo "Invoking: C Compiler"
-+ cc $(INCLUDE) $(COMPILER_FLAGS) -o $(GNOMEPROXY.O) $(GNOMEPROXY.C)
-+ @echo "Finished building: $(GNOMEPROXY.O)"
-+ @echo " "
-+
-+link: compile
-+ @echo "Building target: $(LIB_NAME_FULL)"
-+ @echo "Invoking: C Linker"
-+ cc $(LINKER_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(LIBS) $(GNOMEPROXY.O) -lc
-+ @echo "Finished building target: $(LIB_NAME_FULL)"
-+ @echo " "
-+
-+clean:
-+ -$(RM) $(GNOMEPROXY.O) $(LIB_NAME_FULL)
-+ -@echo " "
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/.classpath 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/.classpath 2009-12-23 15:14:12.400851271 -0500
-@@ -0,0 +1,7 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<classpath>
-+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
-+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-+ <classpathentry kind="src" path="src"/>
-+ <classpathentry kind="output" path="bin"/>
-+</classpath>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/.project 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/.project 2009-12-23 15:14:12.400851271 -0500
-@@ -0,0 +1,28 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<projectDescription>
-+ <name>org.eclipse.core.net.freebsd.x86</name>
-+ <comment></comment>
-+ <projects>
-+ </projects>
-+ <buildSpec>
-+ <buildCommand>
-+ <name>org.eclipse.jdt.core.javabuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.ManifestBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.SchemaBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ </buildSpec>
-+ <natures>
-+ <nature>org.eclipse.pde.PluginNature</nature>
-+ <nature>org.eclipse.jdt.core.javanature</nature>
-+ </natures>
-+</projectDescription>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/.settings/org.eclipse.jdt.core.prefs 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/.settings/org.eclipse.jdt.core.prefs 2009-12-23 15:14:12.401856131 -0500
-@@ -0,0 +1,12 @@
-+#Mon Apr 21 14:24:04 CEST 2008
-+eclipse.preferences.version=1
-+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-+org.eclipse.jdt.core.compiler.compliance=1.4
-+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-+org.eclipse.jdt.core.compiler.debug.localVariable=generate
-+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-+org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-+org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-+org.eclipse.jdt.core.compiler.source=1.3
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/META-INF/MANIFEST.MF 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/META-INF/MANIFEST.MF 2009-12-23 15:14:12.401856131 -0500
-@@ -0,0 +1,10 @@
-+Manifest-Version: 1.0
-+Bundle-ManifestVersion: 2
-+Bundle-Name: %fragmentName
-+Bundle-Vendor: %providerName
-+Bundle-Localization: fragment
-+Bundle-SymbolicName: org.eclipse.core.net.freebsd.x86;singleton:=true
-+Bundle-Version: 1.1.0.qualifier
-+Fragment-Host: org.eclipse.core.net;bundle-version="1.1.0"
-+Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86))
-+Bundle-RequiredExecutionEnvironment: J2SE-1.4
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/about.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/about.html 2009-12-23 15:14:12.401856131 -0500
-@@ -0,0 +1,28 @@
-+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml">
-+<head>
-+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-+<title>About</title>
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>June 2, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-+indicated below, the Content is provided to you under the terms and conditions of the
-+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-+
-+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply to your use of any object code in the Content. Check the Redistributor's license that was
-+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-+and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/build.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/build.properties 2009-12-23 15:14:12.401856131 -0500
-@@ -0,0 +1,19 @@
-+###############################################################################
-+# Copyright (c) 2008 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+bin.includes = fragment.properties,\
-+ .,\
-+ META-INF/,\
-+ about.html,\
-+ bin/,\
-+ libgnomeproxy-1.0.0.so
-+src.includes = about.html
-+generateSourceBundle=false
-+source.. = src/
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/fragment.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/fragment.properties 2009-12-23 15:14:12.402858757 -0500
-@@ -0,0 +1,12 @@
-+###############################################################################
-+# Copyright (c) 2008 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+fragmentName = Proxy for FreeBSD
-+providerName = Eclipse.org
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/src/org/eclipse/core/net/ProxyProvider.java 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86/src/org/eclipse/core/net/ProxyProvider.java 2009-12-23 15:14:12.402858757 -0500
-@@ -0,0 +1,16 @@
-+/*******************************************************************************
-+ * Copyright (c) 2008 Oakland Software Incorporated and others
-+ * All rights reserved. This program and the accompanying materials
-+ * are made available under the terms of the Eclipse Public License v1.0
-+ * which accompanies this distribution, and is available at
-+ * http://www.eclipse.org/legal/epl-v10.html
-+ *
-+ * Contributors:
-+ * Oakland Software Incorporated - initial API and implementation
-+ *******************************************************************************/
-+package org.eclipse.core.net;
-+
-+import org.eclipse.core.internal.net.proxy.unix.UnixProxyProvider;
-+
-+public class ProxyProvider extends UnixProxyProvider {
-+}
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/.classpath 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/.classpath 2009-12-23 15:14:12.400851271 -0500
-@@ -0,0 +1,7 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<classpath>
-+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
-+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-+ <classpathentry kind="src" path="src"/>
-+ <classpathentry kind="output" path="bin"/>
-+</classpath>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/.project 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/.project 2009-12-23 15:14:12.400851271 -0500
-@@ -0,0 +1,28 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<projectDescription>
-+ <name>org.eclipse.core.net.freebsd.x86_64</name>
-+ <comment></comment>
-+ <projects>
-+ </projects>
-+ <buildSpec>
-+ <buildCommand>
-+ <name>org.eclipse.jdt.core.javabuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.ManifestBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.SchemaBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ </buildSpec>
-+ <natures>
-+ <nature>org.eclipse.pde.PluginNature</nature>
-+ <nature>org.eclipse.jdt.core.javanature</nature>
-+ </natures>
-+</projectDescription>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/.settings/org.eclipse.jdt.core.prefs 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/.settings/org.eclipse.jdt.core.prefs 2009-12-23 15:14:12.401856131 -0500
-@@ -0,0 +1,12 @@
-+#Mon Apr 21 14:24:04 CEST 2008
-+eclipse.preferences.version=1
-+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-+org.eclipse.jdt.core.compiler.compliance=1.4
-+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-+org.eclipse.jdt.core.compiler.debug.localVariable=generate
-+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-+org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-+org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-+org.eclipse.jdt.core.compiler.source=1.3
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/META-INF/MANIFEST.MF 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/META-INF/MANIFEST.MF 2009-12-23 15:14:12.401856131 -0500
-@@ -0,0 +1,10 @@
-+Manifest-Version: 1.0
-+Bundle-ManifestVersion: 2
-+Bundle-Name: %fragmentName
-+Bundle-Vendor: %providerName
-+Bundle-Localization: fragment
-+Bundle-SymbolicName: org.eclipse.core.net.freebsd.x86_64;singleton:=true
-+Bundle-Version: 1.1.0.qualifier
-+Fragment-Host: org.eclipse.core.net;bundle-version="1.1.0"
-+Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86_64))
-+Bundle-RequiredExecutionEnvironment: J2SE-1.4
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/about.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/about.html 2009-12-23 15:14:12.401856131 -0500
-@@ -0,0 +1,28 @@
-+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml">
-+<head>
-+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-+<title>About</title>
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>June 2, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-+indicated below, the Content is provided to you under the terms and conditions of the
-+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-+
-+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply to your use of any object code in the Content. Check the Redistributor's license that was
-+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-+and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/build.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/build.properties 2009-12-23 15:14:12.401856131 -0500
-@@ -0,0 +1,19 @@
-+###############################################################################
-+# Copyright (c) 2008 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+bin.includes = fragment.properties,\
-+ .,\
-+ META-INF/,\
-+ about.html,\
-+ bin/,\
-+ libgnomeproxy-1.0.0.so
-+src.includes = about.html
-+generateSourceBundle=false
-+source.. = src/
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/fragment.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/fragment.properties 2009-12-23 15:14:12.402858757 -0500
-@@ -0,0 +1,12 @@
-+###############################################################################
-+# Copyright (c) 2008 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+fragmentName = Proxy for FreeBSD
-+providerName = Eclipse.org
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/src/org/eclipse/core/net/ProxyProvider.java 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.net.freebsd.x86_64/src/org/eclipse/core/net/ProxyProvider.java 2009-12-23 15:14:12.402858757 -0500
-@@ -0,0 +1,16 @@
-+/*******************************************************************************
-+ * Copyright (c) 2008 Oakland Software Incorporated and others
-+ * All rights reserved. This program and the accompanying materials
-+ * are made available under the terms of the Eclipse Public License v1.0
-+ * which accompanies this distribution, and is available at
-+ * http://www.eclipse.org/legal/epl-v10.html
-+ *
-+ * Contributors:
-+ * Oakland Software Incorporated - initial API and implementation
-+ *******************************************************************************/
-+package org.eclipse.core.net;
-+
-+import org.eclipse.core.internal.net.proxy.unix.UnixProxyProvider;
-+
-+public class ProxyProvider extends UnixProxyProvider {
-+}
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java 2009-12-23 15:12:32.669243780 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java 2009-12-23 15:14:12.403862779 -0500
-@@ -70,7 +70,7 @@
- //XXX This is not synchronized
- private static Map logs = new HashMap(5);
-
-- private static final String[] OS_LIST = {Platform.OS_AIX, Platform.OS_HPUX, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_QNX, Platform.OS_SOLARIS, Platform.OS_WIN32};
-+ private static final String[] OS_LIST = {Platform.OS_AIX, Platform.OS_FREEBSD, Platform.OS_HPUX, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_QNX, Platform.OS_SOLARIS, Platform.OS_WIN32};
- private static String password = ""; //$NON-NLS-1$
- private static final String PASSWORD = "-password"; //$NON-NLS-1$
- private static PlatformLogWriter platformLog = null;
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java 2009-12-23 15:12:32.671251825 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java 2009-12-23 15:14:12.404867081 -0500
-@@ -262,6 +262,17 @@
- public static final String OS_MACOSX = "macosx";//$NON-NLS-1$
-
- /**
-+ * Constant string (value "freebsd") indicating the platform is running on a
-+ * FreeBSD operating system.
-+ * <p>
-+ * Note this constant is not officially supported by the eclipse project
-+ * and is only available on eclipse versions built from the FreeBSD ports
-+ * tree.
-+ * </p>
-+ */
-+ public static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$
-+
-+ /**
- * Constant string (value "unknown") indicating the platform is running on a
- * machine running an unknown operating system.
- * <p>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.project 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.project 2009-12-23 15:14:12.409887194 -0500
-@@ -0,0 +1,22 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<projectDescription>
-+ <name>org.eclipse.equinox.launcher.gtk.freebsd.x86_64</name>
-+ <comment></comment>
-+ <projects>
-+ </projects>
-+ <buildSpec>
-+ <buildCommand>
-+ <name>org.eclipse.pde.ManifestBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.SchemaBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ </buildSpec>
-+ <natures>
-+ <nature>org.eclipse.pde.PluginNature</nature>
-+ </natures>
-+</projectDescription>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.settings/org.eclipse.pde.core.prefs 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.settings/org.eclipse.pde.core.prefs 2009-12-23 15:14:12.409887194 -0500
-@@ -0,0 +1,4 @@
-+#Wed Dec 06 11:46:47 EST 2006
-+eclipse.preferences.version=1
-+pluginProject.extensions=false
-+resolve.requirebundle=false
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/META-INF/MANIFEST.MF 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/META-INF/MANIFEST.MF 2009-12-23 15:14:12.409887194 -0500
-@@ -0,0 +1,10 @@
-+Manifest-Version: 1.0
-+Bundle-ManifestVersion: 2
-+Bundle-Name: %pluginName
-+Bundle-Vendor: %providerName
-+Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.x86_64;singleton:=true
-+Bundle-Version: 1.1.100.qualifier
-+Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.1.0,1.3.0)"
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86_64))
-+Bundle-Localization: launcher.gtk.freebsd.x86_64
-+Eclipse-BundleShape: dir
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/about.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/about.html 2009-12-23 15:14:12.410890937 -0500
-@@ -0,0 +1,28 @@
-+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml">
-+<head>
-+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-+<title>About</title>
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>June 5, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).
-+Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-+at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
-+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-+
-+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply to your use of any object code in the Content. Check the Redistributor&rsquo;s license
-+that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/build.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/build.properties 2009-12-23 15:14:12.410890937 -0500
-@@ -0,0 +1,7 @@
-+bin.includes = META-INF/,\
-+ eclipse_*.so,\
-+ launcher.gtk.freebsd.x86_64.properties,\
-+ about.html
-+
-+customBuildCallbacks=customBuildCallbacks.xml
-+generateSourceBundle=false
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/customBuildCallbacks.xml 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/customBuildCallbacks.xml 2009-12-23 15:14:12.410890937 -0500
-@@ -0,0 +1,109 @@
-+<!-- ===================================================================== -->
-+<!-- Custom targets called from a project's generated build.xml -->
-+<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.-->
-+<!-- ===================================================================== -->
-+<project name="Build specific targets and properties" default="noDefault">
-+
-+ <!-- ===================================================================== -->
-+ <!-- Default target -->
-+ <!-- ===================================================================== -->
-+ <target name="noDefault">
-+ <echo message="This file must be called with explicit targets" />
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target build.jars -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.build.jars">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target build.jars -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="post.build.jars">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target build.sources -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.build.sources">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target build.sources -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="post.build.sources">
-+ </target>
-+
-+ <target name="pre.gather.bin.parts">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target gather.bin.parts -->
-+ <!-- Available parameters : -->
-+ <!-- base.dir - root of the project -->
-+ <!-- build.result.folder - folder containing the build results -->
-+ <!-- target.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.gather.bin.parts">
-+ <chmod perm="755" dir="${target.folder}" includes="eclipse_*" />
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target gather.sources -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.gather.sources">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target gather.sources -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.gather.sources">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target gather.logs -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.gather.logs">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target gather.logs -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.gather.logs">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target clean -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.clean">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target clean -->
-+ <!-- Available parameters : -->
-+ <!-- plugin.destination - final destination of the build -->
-+ <!-- build.result.folder - results of the compilation -->
-+ <!-- temp.folder - temporary folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.clean">
-+ </target>
-+</project>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/launcher.gtk.freebsd.x86_64.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/launcher.gtk.freebsd.x86_64.properties 2009-12-23 15:14:12.411895798 -0500
-@@ -0,0 +1,12 @@
-+###############################################################################
-+# Copyright (c) 2007 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+pluginName = Equinox Launcher FreeBSD X86_64 Fragment
-+providerName = Eclipse.org - Equinox
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java 2009-01-27 16:24:13.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java 2009-12-23 15:14:12.419926302 -0500
-@@ -26,6 +26,7 @@
- public static final String INTERNAL_OS_OS400 = "OS/400"; //$NON-NLS-1$
- public static final String INTERNAL_OS_OS390 = "OS/390"; //$NON-NLS-1$
- public static final String INTERNAL_OS_ZOS = "z/OS"; //$NON-NLS-1$
-+ public static final String INTERNAL_OS_FREEBSD = "FreeBSD"; //$NON-NLS-1$
-
- public static final String ARCH_X86 = "x86";//$NON-NLS-1$
- public static final String ARCH_X86_64 = "x86_64";//$NON-NLS-1$
-@@ -91,6 +92,12 @@
- public static final String OS_ZOS = "z/os"; //$NON-NLS-1$
-
- /**
-+ * Constant string (value "freebsd") indicating the platform is running on a
-+ * FreeBSD operating system.
-+ */
-+ public static final String OS_FREEBSD = "freebsd"; //$NON-NLS-1$
-+
-+ /**
- * Constant string (value "unknown") indicating the platform is running on a
- * machine running an unknown operating system.
- */
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java 2009-07-10 16:45:18.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java 2009-12-23 15:14:12.421936023 -0500
-@@ -304,6 +304,8 @@
- return Constants.WS_GTK;
- if (osName.equals(Constants.OS_QNX))
- return Constants.WS_PHOTON;
-+ if (osName.equals(Constants.OS_FREEBSD))
-+ return Constants.WS_GTK;
- return Constants.WS_UNKNOWN;
- }
-
-@@ -333,6 +335,8 @@
- // os.name on Mac OS can be either Mac OS or Mac OS X
- if (osName.regionMatches(true, 0, Constants.INTERNAL_OS_MACOSX, 0, Constants.INTERNAL_OS_MACOSX.length()))
- return Constants.OS_MACOSX;
-+ if (osName.equalsIgnoreCase(Constants.INTERNAL_OS_FREEBSD))
-+ return Constants.OS_FREEBSD;
- return Constants.OS_UNKNOWN;
- }
-
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/.project 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/.project 2009-12-23 15:14:12.422939766 -0500
-@@ -0,0 +1,22 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<projectDescription>
-+ <name>org.eclipse.equinox.launcher.gtk.freebsd.x86</name>
-+ <comment></comment>
-+ <projects>
-+ </projects>
-+ <buildSpec>
-+ <buildCommand>
-+ <name>org.eclipse.pde.ManifestBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.SchemaBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ </buildSpec>
-+ <natures>
-+ <nature>org.eclipse.pde.PluginNature</nature>
-+ </natures>
-+</projectDescription>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/META-INF/MANIFEST.MF 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/META-INF/MANIFEST.MF 2009-12-23 15:14:12.422939766 -0500
-@@ -0,0 +1,10 @@
-+Manifest-Version: 1.0
-+Bundle-ManifestVersion: 2
-+Bundle-Name: %pluginName
-+Bundle-Vendor: %providerName
-+Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.x86;singleton:=true
-+Bundle-Version: 1.1.100.qualifier
-+Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.1.0,1.3.0)"
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86))
-+Bundle-Localization: launcher.gtk.freebsd.x86
-+Eclipse-BundleShape: dir
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/about.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/about.html 2009-12-23 15:14:12.422939766 -0500
-@@ -0,0 +1,28 @@
-+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml">
-+<head>
-+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-+<title>About</title>
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>June 5, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).
-+Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-+at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
-+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-+
-+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply to your use of any object code in the Content. Check the Redistributor&rsquo;s license
-+that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/build.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/build.properties 2009-12-23 15:14:12.423942951 -0500
-@@ -0,0 +1,7 @@
-+bin.includes = META-INF/,\
-+ eclipse_*.so,\
-+ launcher.gtk.freebsd.x86.properties,\
-+ about.html
-+
-+customBuildCallbacks=customBuildCallbacks.xml
-+generateSourceBundle=false
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/customBuildCallbacks.xml 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/customBuildCallbacks.xml 2009-12-23 15:14:12.423942951 -0500
-@@ -0,0 +1,109 @@
-+<!-- ===================================================================== -->
-+<!-- Custom targets called from a project's generated build.xml -->
-+<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.-->
-+<!-- ===================================================================== -->
-+<project name="Build specific targets and properties" default="noDefault">
-+
-+ <!-- ===================================================================== -->
-+ <!-- Default target -->
-+ <!-- ===================================================================== -->
-+ <target name="noDefault">
-+ <echo message="This file must be called with explicit targets" />
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target build.jars -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.build.jars">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target build.jars -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="post.build.jars">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target build.sources -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.build.sources">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target build.sources -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="post.build.sources">
-+ </target>
-+
-+ <target name="pre.gather.bin.parts">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target gather.bin.parts -->
-+ <!-- Available parameters : -->
-+ <!-- base.dir - root of the project -->
-+ <!-- build.result.folder - folder containing the build results -->
-+ <!-- target.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.gather.bin.parts">
-+ <chmod perm="755" dir="${target.folder}" includes="eclipse_*" />
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target gather.sources -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.gather.sources">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target gather.sources -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.gather.sources">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target gather.logs -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.gather.logs">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target gather.logs -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.gather.logs">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target clean -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.clean">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target clean -->
-+ <!-- Available parameters : -->
-+ <!-- plugin.destination - final destination of the build -->
-+ <!-- build.result.folder - results of the compilation -->
-+ <!-- temp.folder - temporary folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.clean">
-+ </target>
-+</project>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/launcher.gtk.freebsd.x86.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86/launcher.gtk.freebsd.x86.properties 2009-12-23 15:14:12.423942951 -0500
-@@ -0,0 +1,12 @@
-+###############################################################################
-+# Copyright (c) 2007 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+pluginName = Equinox Launcher FreeBSD X86 Fragment
-+providerName = Eclipse.org - Equinox
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.project 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.project 2009-12-23 15:14:12.424946415 -0500
-@@ -0,0 +1,22 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<projectDescription>
-+ <name>org.eclipse.equinox.launcher.gtk.freebsd.x86_64</name>
-+ <comment></comment>
-+ <projects>
-+ </projects>
-+ <buildSpec>
-+ <buildCommand>
-+ <name>org.eclipse.pde.ManifestBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.SchemaBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ </buildSpec>
-+ <natures>
-+ <nature>org.eclipse.pde.PluginNature</nature>
-+ </natures>
-+</projectDescription>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.settings/org.eclipse.pde.core.prefs 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.settings/org.eclipse.pde.core.prefs 2009-12-23 15:14:12.424946415 -0500
-@@ -0,0 +1,4 @@
-+#Wed Dec 06 11:46:47 EST 2006
-+eclipse.preferences.version=1
-+pluginProject.extensions=false
-+resolve.requirebundle=false
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/META-INF/MANIFEST.MF 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/META-INF/MANIFEST.MF 2009-12-23 15:14:12.425950437 -0500
-@@ -0,0 +1,10 @@
-+Manifest-Version: 1.0
-+Bundle-ManifestVersion: 2
-+Bundle-Name: %pluginName
-+Bundle-Vendor: %providerName
-+Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.x86_64;singleton:=true
-+Bundle-Version: 1.1.100.qualifier
-+Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.1.0,1.3.0)"
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86_64))
-+Bundle-Localization: launcher.gtk.freebsd.x86_64
-+Eclipse-BundleShape: dir
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/about.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/about.html 2009-12-23 15:14:12.425950437 -0500
-@@ -0,0 +1,28 @@
-+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml">
-+<head>
-+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-+<title>About</title>
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>June 5, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).
-+Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-+at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
-+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-+
-+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply to your use of any object code in the Content. Check the Redistributor&rsquo;s license
-+that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/build.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/build.properties 2009-12-23 15:14:12.425950437 -0500
-@@ -0,0 +1,7 @@
-+bin.includes = META-INF/,\
-+ eclipse_*.so,\
-+ launcher.gtk.freebsd.x86_64.properties,\
-+ about.html
-+
-+customBuildCallbacks=customBuildCallbacks.xml
-+generateSourceBundle=false
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/customBuildCallbacks.xml 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/customBuildCallbacks.xml 2009-12-23 15:14:12.426954459 -0500
-@@ -0,0 +1,109 @@
-+<!-- ===================================================================== -->
-+<!-- Custom targets called from a project's generated build.xml -->
-+<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.-->
-+<!-- ===================================================================== -->
-+<project name="Build specific targets and properties" default="noDefault">
-+
-+ <!-- ===================================================================== -->
-+ <!-- Default target -->
-+ <!-- ===================================================================== -->
-+ <target name="noDefault">
-+ <echo message="This file must be called with explicit targets" />
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target build.jars -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.build.jars">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target build.jars -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="post.build.jars">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target build.sources -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.build.sources">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target build.sources -->
-+ <!-- Available parameters : -->
-+ <!-- build.result.folder - folder to contain the build results -->
-+ <!-- ===================================================================== -->
-+ <target name="post.build.sources">
-+ </target>
-+
-+ <target name="pre.gather.bin.parts">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target gather.bin.parts -->
-+ <!-- Available parameters : -->
-+ <!-- base.dir - root of the project -->
-+ <!-- build.result.folder - folder containing the build results -->
-+ <!-- target.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.gather.bin.parts">
-+ <chmod perm="755" dir="${target.folder}" includes="eclipse_*" />
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target gather.sources -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.gather.sources">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target gather.sources -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.gather.sources">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target gather.logs -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.gather.logs">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target gather.logs -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.gather.logs">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do before the target clean -->
-+ <!-- Available parameters : -->
-+ <!-- destination.temp.folder - destination folder -->
-+ <!-- ===================================================================== -->
-+ <target name="pre.clean">
-+ </target>
-+
-+ <!-- ===================================================================== -->
-+ <!-- Steps to do after the target clean -->
-+ <!-- Available parameters : -->
-+ <!-- plugin.destination - final destination of the build -->
-+ <!-- build.result.folder - results of the compilation -->
-+ <!-- temp.folder - temporary folder -->
-+ <!-- ===================================================================== -->
-+ <target name="post.clean">
-+ </target>
-+</project>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/launcher.gtk.freebsd.x86_64.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/launcher.gtk.freebsd.x86_64.properties 2009-12-23 15:14:12.426954459 -0500
-@@ -0,0 +1,12 @@
-+###############################################################################
-+# Copyright (c) 2007 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+pluginName = Equinox Launcher FreeBSD X86_64 Fragment
-+providerName = Eclipse.org - Equinox
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java 2009-05-20 00:10:51.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java 2009-12-23 15:14:12.440005914 -0500
-@@ -111,6 +111,8 @@
- brandAIX(descriptor);
- else if ("hpux".equals(os)) //$NON-NLS-1$
- brandHPUX(descriptor);
-+ else if ("freebsd".equals(os)) //$NON-NLS-1$
-+ brandFreeBSD(descriptor);
- else
- renameLauncher(descriptor);
- descriptor.setExecutableName(name, true);
-@@ -166,6 +168,14 @@
- }
- }
-
-+ private void brandFreeBSD(ExecutablesDescriptor descriptor) throws Exception {
-+ renameLauncher(descriptor);
-+
-+ File root = descriptor.getLocation();
-+ if (brandIcons)
-+ Utils.copy(new File(icons[0]), new File(root, "icon.xpm")); //$NON-NLS-1$
-+ }
-+
- private void brandMac(ExecutablesDescriptor descriptor) throws Exception {
- //Initially the files are in: <root>/Eclipse.app/
- //and they must appear in <root>/MyAppName.app/
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java 2009-04-29 16:41:50.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java 2009-12-23 15:14:12.441010216 -0500
-@@ -47,11 +47,13 @@
- private final static SAXParserFactory parserFactory = SAXParserFactory.newInstance();
-
- private static final String PROGRAM_ARGS = "programArgs"; //$NON-NLS-1$
-+ private static final String PROGRAM_ARGS_FREEBSD = "programArgsFre"; //$NON-NLS-1$
- private static final String PROGRAM_ARGS_LINUX = "programArgsLin"; //$NON-NLS-1$
- private static final String PROGRAM_ARGS_MAC = "programArgsMac"; //$NON-NLS-1$
- private static final String PROGRAM_ARGS_SOLARIS = "programArgsSol"; //$NON-NLS-1$
- private static final String PROGRAM_ARGS_WIN = "programArgsWin"; //$NON-NLS-1$
- private static final String VM_ARGS = "vmArgs"; //$NON-NLS-1$
-+ private static final String VM_ARGS_FREEBSD = "vmArgsFre"; //$NON-NLS-1$
- private static final String VM_ARGS_LINUX = "vmArgsLin"; //$NON-NLS-1$
- private static final String VM_ARGS_MAC = "vmArgsMac"; //$NON-NLS-1$
- private static final String VM_ARGS_SOLARIS = "vmArgsSol"; //$NON-NLS-1$
-@@ -73,6 +75,7 @@
- private static final String OS_LINUX = "linux";//$NON-NLS-1$
- private static final String OS_SOLARIS = "solaris";//$NON-NLS-1$
- private static final String OS_MACOSX = "macosx";//$NON-NLS-1$
-+ private static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$
-
- //element names
- private static final String EL_FEATURES = "features"; //$NON-NLS-1$
-@@ -98,20 +101,22 @@
- private static final int STATE_PLUGINS = 4;
- private static final int STATE_FEATURES = 5;
- private static final int STATE_PROGRAM_ARGS = 6;
-- private static final int STATE_PROGRAM_ARGS_LINUX = 7;
-- private static final int STATE_PROGRAM_ARGS_MAC = 8;
-- private static final int STATE_PROGRAM_ARGS_SOLARIS = 9;
-- private static final int STATE_PROGRAM_ARGS_WIN = 10;
-- private static final int STATE_VM_ARGS = 11;
-- private static final int STATE_VM_ARGS_LINUX = 12;
-- private static final int STATE_VM_ARGS_MAC = 13;
-- private static final int STATE_VM_ARGS_SOLARIS = 14;
-- private static final int STATE_VM_ARGS_WIN = 15;
-- private static final int STATE_CONFIG_INI = 16;
-- private static final int STATE_CONFIGURATIONS = 17;
-- private static final int STATE_LICENSE = 18;
-- private static final int STATE_LICENSE_URL = 19;
-- private static final int STATE_LICENSE_TEXT = 20;
-+ private static final int STATE_PROGRAM_ARGS_FREEBSD = 7;
-+ private static final int STATE_PROGRAM_ARGS_LINUX = 8;
-+ private static final int STATE_PROGRAM_ARGS_MAC = 9;
-+ private static final int STATE_PROGRAM_ARGS_SOLARIS = 10;
-+ private static final int STATE_PROGRAM_ARGS_WIN = 11;
-+ private static final int STATE_VM_ARGS = 12;
-+ private static final int STATE_VM_ARGS_FREEBSD = 13;
-+ private static final int STATE_VM_ARGS_LINUX = 14;
-+ private static final int STATE_VM_ARGS_MAC = 15;
-+ private static final int STATE_VM_ARGS_SOLARIS = 16;
-+ private static final int STATE_VM_ARGS_WIN = 17;
-+ private static final int STATE_CONFIG_INI = 18;
-+ private static final int STATE_CONFIGURATIONS = 19;
-+ private static final int STATE_LICENSE = 20;
-+ private static final int STATE_LICENSE_URL = 21;
-+ private static final int STATE_LICENSE_TEXT = 22;
-
- private int state = STATE_START;
-
-@@ -337,6 +342,8 @@
- key = VM_ARGS_MAC;
- } else if (os.equals(OS_SOLARIS)) {
- key = VM_ARGS_SOLARIS;
-+ } else if (os.equals(OS_FREEBSD)) {
-+ key = VM_ARGS_FREEBSD;
- }
-
- String prefix = launcherArgs.getProperty(VM_ARGS);
-@@ -366,6 +373,8 @@
- key = PROGRAM_ARGS_MAC;
- } else if (os.equals(OS_SOLARIS)) {
- key = PROGRAM_ARGS_SOLARIS;
-+ } else if (os.equals(OS_FREEBSD)) {
-+ key = PROGRAM_ARGS_FREEBSD;
- }
-
- String prefix = launcherArgs.getProperty(PROGRAM_ARGS);
-@@ -431,6 +440,8 @@
- processLinux(attributes);
- } else if (OS_MACOSX.equals(localName)) {
- processMac(attributes);
-+ } else if (OS_FREEBSD.equals(localName)) {
-+ processFreeBSD(attributes);
- }
- if ("ico".equals(localName)) { //$NON-NLS-1$
- processIco(attributes);
-@@ -442,6 +453,8 @@
- case STATE_LAUNCHER_ARGS :
- if (PROGRAM_ARGS.equals(localName)) {
- state = STATE_PROGRAM_ARGS;
-+ } else if (PROGRAM_ARGS_FREEBSD.equals(localName)) {
-+ state = STATE_PROGRAM_ARGS_FREEBSD;
- } else if (PROGRAM_ARGS_LINUX.equals(localName)) {
- state = STATE_PROGRAM_ARGS_LINUX;
- } else if (PROGRAM_ARGS_MAC.equals(localName)) {
-@@ -452,6 +465,8 @@
- state = STATE_PROGRAM_ARGS_WIN;
- } else if (VM_ARGS.equals(localName)) {
- state = STATE_VM_ARGS;
-+ } else if (VM_ARGS_FREEBSD.equals(localName)) {
-+ state = STATE_VM_ARGS_FREEBSD;
- } else if (VM_ARGS_LINUX.equals(localName)) {
- state = STATE_VM_ARGS_LINUX;
- } else if (VM_ARGS_MAC.equals(localName)) {
-@@ -556,11 +571,13 @@
- break;
-
- case STATE_PROGRAM_ARGS :
-+ case STATE_PROGRAM_ARGS_FREEBSD :
- case STATE_PROGRAM_ARGS_LINUX :
- case STATE_PROGRAM_ARGS_MAC :
- case STATE_PROGRAM_ARGS_SOLARIS :
- case STATE_PROGRAM_ARGS_WIN :
- case STATE_VM_ARGS :
-+ case STATE_VM_ARGS_FREEBSD :
- case STATE_VM_ARGS_LINUX :
- case STATE_VM_ARGS_MAC :
- case STATE_VM_ARGS_SOLARIS :
-@@ -586,6 +603,9 @@
- case STATE_PROGRAM_ARGS :
- addLaunchArgumentToMap(PROGRAM_ARGS, String.valueOf(ch, start, length));
- break;
-+ case STATE_PROGRAM_ARGS_FREEBSD :
-+ addLaunchArgumentToMap(PROGRAM_ARGS_FREEBSD, String.valueOf(ch, start, length));
-+ break;
- case STATE_PROGRAM_ARGS_LINUX :
- addLaunchArgumentToMap(PROGRAM_ARGS_LINUX, String.valueOf(ch, start, length));
- break;
-@@ -601,6 +621,9 @@
- case STATE_VM_ARGS :
- addLaunchArgumentToMap(VM_ARGS, String.valueOf(ch, start, length));
- break;
-+ case STATE_VM_ARGS_FREEBSD :
-+ addLaunchArgumentToMap(VM_ARGS_FREEBSD, String.valueOf(ch, start, length));
-+ break;
- case STATE_VM_ARGS_LINUX :
- addLaunchArgumentToMap(VM_ARGS_LINUX, String.valueOf(ch, start, length));
- break;
-@@ -738,6 +761,10 @@
- addIcon(OS_WIN32, attributes.getValue(WIN32_48_LOW));
- }
-
-+ private void processFreeBSD(Attributes attributes) {
-+ addIcon(OS_FREEBSD, attributes.getValue(ATTRIBUTE_ICON));
-+ }
-+
- private void processLinux(Attributes attributes) {
- addIcon(OS_LINUX, attributes.getValue(ATTRIBUTE_ICON));
- }
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.supplement/src/org/eclipse/osgi/service/environment/Constants.java 2009-01-27 16:24:15.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.supplement/src/org/eclipse/osgi/service/environment/Constants.java 2009-12-23 15:14:12.446030049 -0500
-@@ -93,6 +93,12 @@
- public static final String OS_ZOS = "z/os"; //$NON-NLS-1$
-
- /**
-+ * Constant string (value "freebsd") indicating the platform is running on a
-+ * FreeBSD operating system.
-+ */
-+ public static final String OS_FREEBSD = "freebsd"; //$NON-NLS-1$
-+
-+ /**
- * Constant string (value "unknown") indicating the platform is running on a
- * machine running an unknown operating system.
- */
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.help.base/plugin.xml 2009-05-26 14:07:35.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.help.base/plugin.xml 2009-12-23 15:14:12.447034072 -0500
-@@ -167,6 +167,25 @@
- </factoryclass>
- </browser>
- <browser
-+ name="%firefox3_adapter"
-+ id="org.eclipse.help.base.firefox3">
-+ <factoryclass
-+ class="org.eclipse.help.internal.browser.MozillaFactory">
-+ <parameter
-+ name="executable"
-+ value="firefox3">
-+ </parameter>
-+ <parameter
-+ name="executableName"
-+ value="%firefox3">
-+ </parameter>
-+ <parameter
-+ name="os"
-+ value="FreeBSD">
-+ </parameter>
-+ </factoryclass>
-+ </browser>
-+ <browser
- factoryclass="org.eclipse.help.internal.browser.macosx.DefaultBrowserFactory"
- name="%defaultBrowser"
- id="org.eclipse.help.base.defaultBrowserMacOSX">
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java 2008-11-21 17:23:17.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java 2009-12-23 15:14:12.448038094 -0500
-@@ -40,6 +40,9 @@
- } else if (os.indexOf("linux") != -1) { //$NON-NLS-1$
- prefs.put("custom_browser_path", //$NON-NLS-1$
- "konqueror %1"); //$NON-NLS-1$
-+ } else if (os.indexOf("freebsd") != -1) { //$NON-NLS-1$
-+ prefs.put("custom_browser_path", //$NON-NLS-1$
-+ "firefox3 %1"); //$NON-NLS-1$
- } else {
- prefs.put("custom_browser_path", "mozilla %1"); //$NON-NLS-1$ //$NON-NLS-2$
- }
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java 2009-02-24 13:22:05.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java 2009-12-23 15:14:12.453058207 -0500
-@@ -100,6 +100,7 @@
- if (Constants.WS_WIN32.equalsIgnoreCase(os)) {
- setDefaultBrowserID(BROWSER_ID_SYSTEM);
- } else if (Constants.OS_AIX.equalsIgnoreCase(os)
-+ || (Constants.OS_FREEBSD.equalsIgnoreCase(os))
- || (Constants.OS_HPUX.equalsIgnoreCase(os))
- || (Constants.OS_LINUX.equalsIgnoreCase(os))
- || (Constants.OS_SOLARIS.equalsIgnoreCase(os))) {
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java 2009-05-21 15:33:28.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java 2009-12-23 15:14:12.457074856 -0500
-@@ -61,7 +61,8 @@
- */
- private boolean test() {
- if (!Constants.OS_WIN32.equalsIgnoreCase(Platform.getOS())
-- && !Constants.OS_LINUX.equalsIgnoreCase(Platform.getOS())) {
-+ && !Constants.OS_LINUX.equalsIgnoreCase(Platform.getOS())
-+ && !Constants.OS_FREEBSD.equalsIgnoreCase(Platform.getOS())) {
- return false;
- }
- if (!tested) {
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java 2008-08-28 11:04:07.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java 2009-12-23 15:14:12.468117427 -0500
-@@ -77,7 +77,7 @@
-
- if ("iw".equals(lang) || "he".equals(lang) || "ar".equals(lang) || "fa".equals(lang) || "ur".equals(lang)) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
- String osName = System.getProperty("os.name").toLowerCase(); //$NON-NLS-1$
-- if (osName.startsWith("windows") || osName.startsWith("linux") || osName.startsWith("mac")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-+ if (osName.startsWith("windows") || osName.startsWith("linux") || osName.startsWith("mac") || osName.startsWith("freebsd")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
- IS_PROCESSING_NEEDED = true;
- }
- }
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java 2009-02-02 15:52:54.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java 2009-12-23 15:14:12.469121729 -0500
-@@ -40,6 +40,7 @@
- private static final String INTERNAL_OS_OS400 = "OS/400"; //$NON-NLS-1$
- private static final String INTERNAL_OS_OS390 = "OS/390"; //$NON-NLS-1$
- private static final String INTERNAL_OS_ZOS = "z/OS"; //$NON-NLS-1$
-+ private static final String INTERNAL_OS_FREEBSD = "FreeBSD"; //$NON-NLS-1$
-
- // While we recognize the i386 architecture, we change
- // this internally to be x86.
-@@ -202,6 +203,8 @@
- return Constants.WS_GTK;
- if (os.equals(Constants.OS_QNX))
- return Constants.WS_PHOTON;
-+ if (os.equals(Constants.OS_FREEBSD))
-+ return Constants.WS_GTK;
- return Constants.WS_UNKNOWN;
- }
-
-@@ -230,6 +233,8 @@
- // os.name on Mac OS can be either Mac OS or Mac OS X
- if (osName.regionMatches(true, 0, INTERNAL_OS_MACOSX, 0, INTERNAL_OS_MACOSX.length()))
- return Constants.OS_MACOSX;
-+ if (osName.equalsIgnoreCase(INTERNAL_OS_FREEBSD))
-+ return Constants.OS_FREEBSD;
- return Constants.OS_UNKNOWN;
- }
-
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java 2009-12-23 15:12:32.683299537 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java 2009-12-23 15:14:12.469121729 -0500
-@@ -68,7 +68,7 @@
- static public final String FRAGMENT_MANIFEST = "fragment.xml"; //$NON-NLS-1$
- static public final String GENERATED_FROM = "Generated-from"; //$NON-NLS-1$
- static public final String MANIFEST_TYPE_ATTRIBUTE = "type"; //$NON-NLS-1$
-- private static final String[] OS_LIST = {org.eclipse.osgi.service.environment.Constants.OS_AIX, org.eclipse.osgi.service.environment.Constants.OS_HPUX, org.eclipse.osgi.service.environment.Constants.OS_LINUX, org.eclipse.osgi.service.environment.Constants.OS_MACOSX, org.eclipse.osgi.service.environment.Constants.OS_QNX, org.eclipse.osgi.service.environment.Constants.OS_SOLARIS, org.eclipse.osgi.service.environment.Constants.OS_WIN32};
-+ private static final String[] OS_LIST = {org.eclipse.osgi.service.environment.Constants.OS_AIX, org.eclipse.osgi.service.environment.Constants.OS_FREEBSD, org.eclipse.osgi.service.environment.Constants.OS_HPUX, org.eclipse.osgi.service.environment.Constants.OS_LINUX, org.eclipse.osgi.service.environment.Constants.OS_MACOSX, org.eclipse.osgi.service.environment.Constants.OS_QNX, org.eclipse.osgi.service.environment.Constants.OS_SOLARIS, org.eclipse.osgi.service.environment.Constants.OS_WIN32};
- protected static final String PI_RUNTIME = "org.eclipse.core.runtime"; //$NON-NLS-1$
- protected static final String PI_BOOT = "org.eclipse.core.boot"; //$NON-NLS-1$
- protected static final String PI_RUNTIME_COMPATIBILITY = "org.eclipse.core.runtime.compatibility"; //$NON-NLS-1$
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java 2009-12-23 15:12:32.690327136 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java 2009-12-23 15:14:12.470125752 -0500
-@@ -93,6 +93,12 @@
- public static final String OS_ZOS = "z/os"; //$NON-NLS-1$
-
- /**
-+ * Constant string (value "freebsd") indicating the platform is running on a
-+ * FreeBSD operating system.
-+ */
-+ public static final String OS_FREEBSD = "freebsd"; //$NON-NLS-1$
-+
-+ /**
- * Constant string (value "unknown") indicating the platform is running on a
- * machine running an unknown operating system.
- */
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/scripts/productBuild/allElements.xml 2009-05-25 11:45:36.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/scripts/productBuild/allElements.xml 2009-12-23 15:14:12.471129495 -0500
-@@ -133,6 +133,20 @@
- </ant>
- </target>
-
-+ <property name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.x86" value="true" />
-+ <target name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.x86">
-+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
-+ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.x86.zip"/>
-+ </ant>
-+ </target>
-+
-+ <property name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.x86_64" value="true" />
-+ <target name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.x86_64">
-+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
-+ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.x86_64.zip"/>
-+ </ant>
-+ </target>
-+
- <property name="assemble.org.eclipse.pde.build.container.feature.group.group.group" value="true" />
- <target name="assemble.org.eclipse.pde.build.container.feature.group.group.group">
- <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/BrandingIron.java 2009-08-19 15:25:06.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/BrandingIron.java 2009-12-23 15:14:12.471129495 -0500
-@@ -93,6 +93,8 @@
- brandAIX();
- else if ("hpux".equals(os)) //$NON-NLS-1$
- brandHPUX();
-+ else if ("freebsd".equals(os)) //$NON-NLS-1$
-+ brandFreeBSD();
- else
- renameLauncher();
- }
-@@ -224,6 +226,12 @@
- }
- }
-
-+ private void brandFreeBSD() throws Exception {
-+ renameLauncher();
-+ if (brandIcons)
-+ Utils.copy(new File(icons[0]), new File(root, "icon.xpm")); //$NON-NLS-1$
-+ }
-+
- private void moveContents(File source, File target) {
- if (!source.exists())
- return;
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/ProductFile.java 2009-05-06 16:48:13.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/ProductFile.java 2009-12-23 15:14:12.472135194 -0500
-@@ -29,11 +29,13 @@
- private final static SAXParserFactory parserFactory = SAXParserFactory.newInstance();
-
- private static final String PROGRAM_ARGS = "programArgs"; //$NON-NLS-1$
-+ private static final String PROGRAM_ARGS_FREEBSD = "programArgsFre"; //$NON-NLS-1$
- private static final String PROGRAM_ARGS_LINUX = "programArgsLin"; //$NON-NLS-1$
- private static final String PROGRAM_ARGS_MAC = "programArgsMac"; //$NON-NLS-1$
- private static final String PROGRAM_ARGS_SOLARIS = "programArgsSol"; //$NON-NLS-1$
- private static final String PROGRAM_ARGS_WIN = "programArgsWin"; //$NON-NLS-1$
- private static final String VM_ARGS = "vmArgs"; //$NON-NLS-1$
-+ private static final String VM_ARGS_FREEBSD = "vmArgsFre"; //$NON-NLS-1$
- private static final String VM_ARGS_LINUX = "vmArgsLin"; //$NON-NLS-1$
- private static final String VM_ARGS_MAC = "vmArgsMac"; //$NON-NLS-1$
- private static final String VM_ARGS_SOLARIS = "vmArgsSol"; //$NON-NLS-1$
-@@ -73,17 +75,19 @@
- private static final int STATE_PLUGINS = 4;
- private static final int STATE_FEATURES = 5;
- private static final int STATE_PROGRAM_ARGS = 6;
-- private static final int STATE_PROGRAM_ARGS_LINUX = 7;
-- private static final int STATE_PROGRAM_ARGS_MAC = 8;
-- private static final int STATE_PROGRAM_ARGS_SOLARIS = 9;
-- private static final int STATE_PROGRAM_ARGS_WIN = 10;
-- private static final int STATE_VM_ARGS = 11;
-- private static final int STATE_VM_ARGS_LINUX = 12;
-- private static final int STATE_VM_ARGS_MAC = 13;
-- private static final int STATE_VM_ARGS_SOLARIS = 14;
-- private static final int STATE_VM_ARGS_WIN = 15;
-- private static final int STATE_CONFIG_INI = 16;
-- private static final int STATE_CONFIGURATIONS = 17;
-+ private static final int STATE_PROGRAM_ARGS_FREEBSD = 7;
-+ private static final int STATE_PROGRAM_ARGS_LINUX = 8;
-+ private static final int STATE_PROGRAM_ARGS_MAC = 9;
-+ private static final int STATE_PROGRAM_ARGS_SOLARIS = 10;
-+ private static final int STATE_PROGRAM_ARGS_WIN = 11;
-+ private static final int STATE_VM_ARGS = 12;
-+ private static final int STATE_VM_ARGS_FREEBSD = 13;
-+ private static final int STATE_VM_ARGS_LINUX = 14;
-+ private static final int STATE_VM_ARGS_MAC = 15;
-+ private static final int STATE_VM_ARGS_SOLARIS = 16;
-+ private static final int STATE_VM_ARGS_WIN = 17;
-+ private static final int STATE_CONFIG_INI = 18;
-+ private static final int STATE_CONFIGURATIONS = 19;
-
- private int state = STATE_START;
-
-@@ -304,6 +308,8 @@
- key = VM_ARGS_MAC;
- } else if (os.equals(Platform.OS_SOLARIS)) {
- key = VM_ARGS_SOLARIS;
-+ } else if (os.equals(Platform.OS_FREEBSD)) {
-+ key = VM_ARGS_FREEBSD;
- }
-
- String prefix = launcherArgs.getProperty(VM_ARGS);
-@@ -327,6 +333,8 @@
- key = PROGRAM_ARGS_MAC;
- } else if (os.equals(Platform.OS_SOLARIS)) {
- key = PROGRAM_ARGS_SOLARIS;
-+ } else if (os.equals(Platform.OS_FREEBSD)) {
-+ key = PROGRAM_ARGS_FREEBSD;
- }
-
- String prefix = launcherArgs.getProperty(PROGRAM_ARGS);
-@@ -382,6 +390,8 @@
- processLinux(attributes);
- } else if (Platform.OS_MACOSX.equals(localName)) {
- processMac(attributes);
-+ } else if (Platform.OS_FREEBSD.equals(localName)) {
-+ processFreeBSD(attributes);
- }
- if ("ico".equals(localName)) { //$NON-NLS-1$
- processIco(attributes);
-@@ -393,6 +403,8 @@
- case STATE_LAUNCHER_ARGS :
- if (PROGRAM_ARGS.equals(localName)) {
- state = STATE_PROGRAM_ARGS;
-+ } else if (PROGRAM_ARGS_FREEBSD.equals(localName)) {
-+ state = STATE_PROGRAM_ARGS_FREEBSD;
- } else if (PROGRAM_ARGS_LINUX.equals(localName)) {
- state = STATE_PROGRAM_ARGS_LINUX;
- } else if (PROGRAM_ARGS_MAC.equals(localName)) {
-@@ -403,6 +415,8 @@
- state = STATE_PROGRAM_ARGS_WIN;
- } else if (VM_ARGS.equals(localName)) {
- state = STATE_VM_ARGS;
-+ } else if (VM_ARGS.equals(localName)) {
-+ state = STATE_VM_ARGS_FREEBSD;
- } else if (VM_ARGS_LINUX.equals(localName)) {
- state = STATE_VM_ARGS_LINUX;
- } else if (VM_ARGS_MAC.equals(localName)) {
-@@ -455,11 +469,13 @@
- break;
-
- case STATE_PROGRAM_ARGS :
-+ case STATE_PROGRAM_ARGS_FREEBSD :
- case STATE_PROGRAM_ARGS_LINUX :
- case STATE_PROGRAM_ARGS_MAC :
- case STATE_PROGRAM_ARGS_SOLARIS :
- case STATE_PROGRAM_ARGS_WIN :
- case STATE_VM_ARGS :
-+ case STATE_VM_ARGS_FREEBSD :
- case STATE_VM_ARGS_LINUX :
- case STATE_VM_ARGS_MAC :
- case STATE_VM_ARGS_SOLARIS :
-@@ -481,6 +497,9 @@
- case STATE_PROGRAM_ARGS :
- addLaunchArgumentToMap(PROGRAM_ARGS, String.valueOf(ch, start, length));
- break;
-+ case STATE_PROGRAM_ARGS_FREEBSD :
-+ addLaunchArgumentToMap(PROGRAM_ARGS_FREEBSD, String.valueOf(ch, start, length));
-+ break;
- case STATE_PROGRAM_ARGS_LINUX :
- addLaunchArgumentToMap(PROGRAM_ARGS_LINUX, String.valueOf(ch, start, length));
- break;
-@@ -496,6 +515,9 @@
- case STATE_VM_ARGS :
- addLaunchArgumentToMap(VM_ARGS, String.valueOf(ch, start, length));
- break;
-+ case STATE_VM_ARGS_FREEBSD :
-+ addLaunchArgumentToMap(VM_ARGS_FREEBSD, String.valueOf(ch, start, length));
-+ break;
- case STATE_VM_ARGS_LINUX :
- addLaunchArgumentToMap(VM_ARGS_LINUX, String.valueOf(ch, start, length));
- break;
-@@ -622,6 +644,12 @@
- iconsMap.put(Platform.OS_WIN32, toArrayRemoveNulls(result));
- }
-
-+ private void processFreeBSD(Attributes attributes) {
-+ String value = attributes.getValue("icon"); //$NON-NLS-1$
-+ if (value != null)
-+ iconsMap.put(Platform.OS_FREEBSD, new String[] {value});
-+ }
-+
- private void processLinux(Attributes attributes) {
- String value = attributes.getValue("icon"); //$NON-NLS-1$
- if (value != null)
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java 2009-05-25 11:45:35.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java 2009-12-23 15:14:12.473137540 -0500
-@@ -708,7 +708,7 @@
- arguments.add("-sf"); //$NON-NLS-1$
- arguments.add(links[i]);
- arguments.add(links[i + 1]);
-- script.printExecTask("ln", dir, arguments, "Linux"); //$NON-NLS-1$ //$NON-NLS-2$
-+ script.printExecTask("ln", dir, arguments, "Linux,FreeBSD"); //$NON-NLS-1$ //$NON-NLS-2$
- arguments.clear();
- }
- }
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java 2009-05-08 19:15:24.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java 2009-12-23 15:14:12.474141842 -0500
-@@ -808,7 +808,7 @@
- for (int i = 0; i < links.length; i += 2) {
- arguments.add(links[i]);
- arguments.add(links[i + 1]);
-- script.printExecTask("ln -s", dir, arguments, "Linux"); //$NON-NLS-1$ //$NON-NLS-2$
-+ script.printExecTask("ln -s", dir, arguments, "Linux,FreeBSD"); //$NON-NLS-1$ //$NON-NLS-2$
- arguments.clear();
- }
- }
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java 2009-05-25 11:45:36.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java 2009-12-23 15:14:12.475145864 -0500
-@@ -314,6 +314,8 @@
- return "HP-UX"; //$NON-NLS-1$
- if ("aix".equalsIgnoreCase(os)) //$NON-NLS-1$
- return "AIX"; //$NON-NLS-1$
-+ if ("freebsd".equalsIgnoreCase(os)) //$NON-NLS-1$
-+ return "FreeBSD"; //$NON-NLS-1$
- return os;
- }
-
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/headless-build/build.properties 2009-04-03 11:21:42.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/headless-build/build.properties 2009-12-23 15:14:12.476149608 -0500
-@@ -56,7 +56,9 @@
- # macosx, carbon, x86 & \
- # macosx, cocoa, ppc & \
- # macosx, cocoa, x86 & \
--# macosx, cocoa, x86_64
-+# macosx, cocoa, x86_64 & \
-+# freebsd, gtk, x86 & \
-+# freebsd, gtk, x86_64
-
- # By default PDE creates one archive (result) per entry listed in the configs property.
- # Setting this value to true will cause PDE to only create one output containing all
-@@ -76,7 +78,9 @@
- # solaris, gtk, sparc - antZip& \
- # aix, motif, ppc - antZip& \
- # hpux, motif, PA_RISC - antZip& \
--# macosx, carbon, ppc - antZip
-+# macosx, carbon, ppc - antZip& \
-+# freebsd, gtk, x86 - antZip& \
-+# freebsd, gtk, x86_64 - antZip
-
- #Allow cycles involving at most one bundle that needs to be compiled with the rest being binary bundles.
- allowBinaryCycles = true
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/package-build/customTargets.xml 2009-12-23 15:12:32.970438245 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/package-build/customTargets.xml 2009-12-23 15:14:12.476149608 -0500
-@@ -69,7 +69,7 @@
- plugin projects to be in the 'plugins' directory. The build infrastructure
- normally arranges the projects during the fetch stage. Since we aren't doing
- the fetch stage, we have to manually arrange the files -->
-- <exec dir="${builder}" executable="/bin/bash" failOnError="true">
-+ <exec dir="${builder}" executable="bash" failOnError="true">
- <arg line="prepare-build-dir.sh ${sourceDirectory} ${buildDirectory} ${testing}" />
- </exec>
- <antcall target="symlinkDeps" />
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/package-build/prepare-build-dir.sh 2009-12-23 15:12:32.968430200 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/package-build/prepare-build-dir.sh 2009-12-23 15:14:12.476149608 -0500
-@@ -45,7 +45,7 @@
- inSDK=1
- inSDK=$(echo $PROJECTDIR | grep -c $BUILDDIR)
- if [ $inSDK = 0 ]; then
-- PROJECTNAME=$(ant -Dbasedir="$PROJECTDIR" -f $BUILDDIR/tmp/feature-build.xml 2>&1 | grep echo | cut --delimiter=' ' -f 7)
-+ PROJECTNAME=$(ant -Dbasedir="$PROJECTDIR" -f $BUILDDIR/tmp/feature-build.xml 2>&1 | grep echo | cut -d ' ' -f 7)
- ERROR=""
- if [ -z "$PROJECTNAME" ]; then
- echo "ERROR: could not determine the feature id for $PROJECTDIR"
-@@ -59,7 +59,7 @@
- if [ "x$ERROR" != "xyes" ]; then
- if [ $TESTING != true -o `echo $PROJECTNAME | grep "org.eclipse"` ]; then
- echo " making symlink: $BUILDDIR/features/$PROJECTNAME -> $PROJECTDIR"
-- ln -sfT "$PROJECTDIR" $BUILDDIR/features/"$PROJECTNAME"
-+ ln -sf "$PROJECTDIR" $BUILDDIR/features/"$PROJECTNAME"
- fi
- fi
- fi
-@@ -74,11 +74,11 @@
- inSDK=$(echo $dir | grep -c $BUILDDIR)
- if [ $inSDK = 0 ]; then
- if [ -e "$dir/META-INF/MANIFEST.MF" ]; then
-- PROJECTNAME=$(grep Bundle-SymbolicName $dir/META-INF/MANIFEST.MF | cut --delimiter=';' -f 1 | cut --delimiter=' ' -f 2)
-+ PROJECTNAME=$(grep Bundle-SymbolicName $dir/META-INF/MANIFEST.MF | cut -d ';' -f 1 | cut -d ' ' -f 2)
- elif [ -e "$dir/plugin.xml" ]; then
-- PROJECTNAME=$(ant -Dbasedir=$dir -f $BUILDDIR/tmp/plugin-build.xml 2>&1 | grep echo | cut --delimiter=' ' -f 7)
-+ PROJECTNAME=$(ant -Dbasedir=$dir -f $BUILDDIR/tmp/plugin-build.xml 2>&1 | grep echo | cut -d ' ' -f 7)
- elif [ -e "$dir/fragment.xml" ]; then
-- PROJECTNAME=$(ant -Dbasedir=$dir -f $BUILDDIR/tmp/fragment-build.xml 2>&1 | grep echo | cut --delimiter=' ' -f 7)
-+ PROJECTNAME=$(ant -Dbasedir=$dir -f $BUILDDIR/tmp/fragment-build.xml 2>&1 | grep echo | cut -d ' ' -f 7)
- fi
-
- if [ -z "$PROJECTNAME" ]; then
-@@ -93,7 +93,7 @@
- if [ "x$ERROR" != "xyes" ]; then
- if [ $TESTING != true -o `echo $PROJECTNAME | grep "org.eclipse"` ]; then
- echo " making symlink: $BUILDDIR/plugins/$PROJECTNAME -> $dir"
-- ln -sfT "$dir" $BUILDDIR/plugins/"$PROJECTNAME"
-+ ln -sf "$dir" $BUILDDIR/plugins/"$PROJECTNAME"
- fi
- fi;
-
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/packager/customTargets.xml 2006-05-26 16:10:10.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/packager/customTargets.xml 2009-12-23 15:14:12.477153630 -0500
-@@ -78,4 +78,16 @@
- </ant>
- </target>
-
-+ <target name="assemble.freebsd.gtk.x86.xml">
-+ <ant antfile="${assembleScriptName}" >
-+ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.x86.zip"/>
-+ </ant>
-+ </target>
-+
-+ <target name="assemble.freebsd.gtk.x86_64.xml">
-+ <ant antfile="${assembleScriptName}" >
-+ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.x86_64.zip"/>
-+ </ant>
-+ </target>
-+
- </project>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/packager/packager.properties 2007-05-09 09:57:21.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/packager/packager.properties 2009-12-23 15:14:12.477153630 -0500
-@@ -20,7 +20,9 @@
- # solaris, gtk, sparc & \
- # aix, motif, ppc & \
- # hpux, motif, PA_RISC & \
--# macosx, carbon, ppc
-+# macosx, carbon, ppc & \
-+# freebsd, gtk, x86 & \
-+# freebsd, gtk, x86_64
-
- #Set this variable to normalize plug-in and feature names while packaging
- normalizeWhilePackaging=true
-@@ -92,7 +94,9 @@
- # solaris, gtk, sparc - antZip& \
- # aix, motif, ppc - antZip& \
- # hpux, motif, PA_RISC - antZip& \
--# macosx, carbon, ppc - antZip
-+# macosx, carbon, ppc - antZip& \
-+# freebsd, gtk, x86 - antZip& \
-+# freebsd, gtk, x86_64 - antZip
-
- # extra arguments to be passed to zip / unzip (-y is usually used on unix for zip)
- zipargs=
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/packager/packaging.properties 2007-06-12 15:22:03.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.build/templates/packager/packaging.properties 2009-12-23 15:14:12.478157373 -0500
-@@ -26,3 +26,5 @@
- root.aix.motif.ppc=eclipse
- root.hpux.motif.PA_RISC=eclipse
- root.solaris.gtk.sparc=eclipse,Eclipse.l.pm,Eclipse.m.pm,Eclipse.s.pm,Eclipse.t.pm
-+root.freebsd.gtk.x86=eclipse,about_files/,about.html,icon.xpm
-+root.freebsd.gtk.x86_64=eclipse,about_files/,about.html,icon.xpm
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java 2009-04-27 14:28:33.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java 2009-12-23 15:14:12.484181229 -0500
-@@ -329,6 +329,8 @@
- images = getExpandedPath(info.getIconPath(ILauncherInfo.LINUX_ICON));
- } else if (configs[i][0].equals("macosx")) { //$NON-NLS-1$
- images = getExpandedPath(info.getIconPath(ILauncherInfo.MACOSX_ICON));
-+ } else if (configs[i][0].equals("freebsd")) { //$NON-NLS-1$
-+ images = getExpandedPath(info.getIconPath(ILauncherInfo.FREEBSD_ICON));
- }
- if (images != null) {
- if (icons.length() > 0)
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java 2009-05-27 16:25:43.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java 2009-12-23 15:14:12.493217711 -0500
-@@ -13,22 +13,25 @@
- public interface IArgumentsInfo extends IProductObject {
-
- public static final String P_PROG_ARGS = "programArgs"; //$NON-NLS-1$
-+ public static final String P_PROG_ARGS_FRE = "programArgsFre"; //$NON-NLS-1$
- public static final String P_PROG_ARGS_LIN = "programArgsLin"; //$NON-NLS-1$
- public static final String P_PROG_ARGS_MAC = "programArgsMac"; //$NON-NLS-1$
- public static final String P_PROG_ARGS_SOL = "programArgsSol"; //$NON-NLS-1$
- public static final String P_PROG_ARGS_WIN = "programArgsWin"; //$NON-NLS-1$
-
- public static final String P_VM_ARGS = "vmArgs"; //$NON-NLS-1$
-+ public static final String P_VM_ARGS_FRE = "vmArgsFre"; //$NON-NOL-1$
- public static final String P_VM_ARGS_LIN = "vmArgsLin"; //$NON-NLS-1$
- public static final String P_VM_ARGS_MAC = "vmArgsMac"; //$NON-NLS-1$
- public static final String P_VM_ARGS_SOL = "vmArgsSol"; //$NON-NLS-1$
- public static final String P_VM_ARGS_WIN = "vmArgsWin"; //$NON-NLS-1$
-
- public static final int L_ARGS_ALL = 0;
-- public static final int L_ARGS_LINUX = 1;
-- public static final int L_ARGS_MACOS = 2;
-- public static final int L_ARGS_SOLAR = 3;
-- public static final int L_ARGS_WIN32 = 4;
-+ public static final int L_ARGS_FREEBSD = 1;
-+ public static final int L_ARGS_LINUX = 2;
-+ public static final int L_ARGS_MACOS = 3;
-+ public static final int L_ARGS_SOLAR = 4;
-+ public static final int L_ARGS_WIN32 = 5;
-
- void setProgramArguments(String args, int platform);
-
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java 2009-05-27 16:25:43.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java 2009-12-23 15:14:12.493217711 -0500
-@@ -12,6 +12,8 @@
-
- public interface ILauncherInfo extends IProductObject {
-
-+ public static final String FREEBSD_ICON = "freebsdIcon"; //$NON-NLS-1$
-+
- public static final String LINUX_ICON = "linuxIcon"; //$NON-NLS-1$
-
- public static final String MACOSX_ICON = "macosxIcon"; //$NON-NLS-1$
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java 2009-05-27 16:25:26.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java 2009-12-23 15:14:12.494221175 -0500
-@@ -20,12 +20,14 @@
-
- private static final long serialVersionUID = 1L;
- private String fProgramArgs = ""; //$NON-NLS-1$
-+ private String fProgramArgsFre = ""; //$NON-NLS-1$
- private String fProgramArgsLin = ""; //$NON-NLS-1$
- private String fProgramArgsMac = ""; //$NON-NLS-1$
- private String fProgramArgsSol = ""; //$NON-NLS-1$
- private String fProgramArgsWin = ""; //$NON-NLS-1$
-
- private String fVMArgs = ""; //$NON-NLS-1$
-+ private String fVMArgsFre = ""; //$NON-NLS-1$
- private String fVMArgsLin = ""; //$NON-NLS-1$
- private String fVMArgsMac = ""; //$NON-NLS-1$
- private String fVMArgsSol = ""; //$NON-NLS-1$
-@@ -46,6 +48,12 @@
- if (isEditable())
- firePropertyChanged(P_PROG_ARGS, old, fProgramArgs);
- break;
-+ case L_ARGS_FREEBSD :
-+ old = fProgramArgsFre;
-+ fProgramArgsFre = args;
-+ if (isEditable())
-+ firePropertyChanged(P_PROG_ARGS_FRE, old, fProgramArgsFre);
-+ break;
- case L_ARGS_LINUX :
- old = fProgramArgsLin;
- fProgramArgsLin = args;
-@@ -77,6 +85,8 @@
- switch (platform) {
- case L_ARGS_ALL :
- return fProgramArgs;
-+ case L_ARGS_FREEBSD :
-+ return fProgramArgsFre;
- case L_ARGS_LINUX :
- return fProgramArgsLin;
- case L_ARGS_MACOS :
-@@ -98,6 +108,8 @@
- return getCompleteArgs(getProgramArguments(L_ARGS_MACOS), fProgramArgs);
- } else if (Platform.OS_SOLARIS.equals(os)) {
- return getCompleteArgs(getProgramArguments(L_ARGS_SOLAR), fProgramArgs);
-+ } else if (Platform.OS_FREEBSD.equals(os)) {
-+ return getCompleteArgs(getProgramArguments(L_ARGS_FREEBSD), fProgramArgs);
- } else {
- return getProgramArguments(L_ARGS_ALL);
- }
-@@ -114,6 +126,12 @@
- if (isEditable())
- firePropertyChanged(P_VM_ARGS, old, fVMArgs);
- break;
-+ case L_ARGS_FREEBSD :
-+ old = fVMArgsFre;
-+ fVMArgsFre = args;
-+ if (isEditable())
-+ firePropertyChanged(P_VM_ARGS_FRE, old, fVMArgsFre);
-+ break;
- case L_ARGS_LINUX :
- old = fVMArgsLin;
- fVMArgsLin = args;
-@@ -145,6 +163,8 @@
- switch (platform) {
- case L_ARGS_ALL :
- return fVMArgs;
-+ case L_ARGS_FREEBSD :
-+ return fVMArgsFre;
- case L_ARGS_LINUX :
- return fVMArgsLin;
- case L_ARGS_MACOS :
-@@ -166,6 +186,8 @@
- return getCompleteArgs(getVMArguments(L_ARGS_MACOS), fVMArgs);
- } else if (Platform.OS_SOLARIS.equals(os)) {
- return getCompleteArgs(getVMArguments(L_ARGS_SOLAR), fVMArgs);
-+ } else if (Platform.OS_FREEBSD.equals(os)) {
-+ return getCompleteArgs(getVMArguments(L_ARGS_FREEBSD), fVMArgs);
- } else {
- return getVMArguments(L_ARGS_ALL);
- }
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java 2008-04-17 15:02:04.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java 2009-12-23 15:14:12.494221175 -0500
-@@ -24,11 +24,13 @@
- private String fUse;
- private String fPath;
-
-+ private static final String FRE = Constants.OS_FREEBSD;
- private static final String LIN = Constants.OS_LINUX;
- private static final String MAC = Constants.OS_MACOSX;
- private static final String SOL = Constants.OS_SOLARIS;
- private static final String WIN = Constants.OS_WIN32;
-
-+ private String fFrePath, fFreUse;
- private String fLinPath, fLinUse;
- private String fMacPath, fMacUse;
- private String fSolPath, fSolUse;
-@@ -192,6 +194,11 @@
- fSolUse = use;
- if (isEditable())
- firePropertyChanged(SOL, old, fSolUse);
-+ } else if (Platform.OS_FREEBSD.equals(os)) {
-+ String old = fFreUse;
-+ fFreUse = use;
-+ if (isEditable())
-+ firePropertyChanged(FRE, old, fFreUse);
- }
- }
-
-@@ -207,6 +214,8 @@
- return fMacUse;
- } else if (Platform.OS_SOLARIS.equals(os)) {
- return fSolUse;
-+ } else if (Platform.OS_FREEBSD.equals(os)) {
-+ return fFreUse;
- }
- return null;
- }
-@@ -239,6 +248,11 @@
- fSolPath = path;
- if (isEditable())
- firePropertyChanged(SOL, old, fSolPath);
-+ } else if (Platform.OS_FREEBSD.equals(os)) {
-+ String old = fFrePath;
-+ fFrePath = path;
-+ if (isEditable())
-+ firePropertyChanged(FRE, old, fFrePath);
- }
- }
-
-@@ -254,6 +268,8 @@
- return fMacPath;
- } else if (Platform.OS_SOLARIS.equals(os)) {
- return fSolPath;
-+ } else if (Platform.OS_FREEBSD.equals(os)) {
-+ return fFrePath;
- }
- return null;
- }
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/JREInfo.java 2008-03-08 16:54:45.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/JREInfo.java 2009-12-23 15:14:12.495225197 -0500
-@@ -22,12 +22,14 @@
-
- public class JREInfo extends ProductObject implements IJREInfo {
-
-+ private static final String JRE_FRE = "freebsd"; //$NON-NLS-1$
- private static final String JRE_LIN = "linux"; //$NON-NLS-1$
- private static final String JRE_MAC = "macos"; //$NON-NLS-1$
- private static final String JRE_SOL = "solaris"; //$NON-NLS-1$
- private static final String JRE_WIN = "windows"; //$NON-NLS-1$
-
- private static final long serialVersionUID = 1L;
-+ private IPath fJVMFre;
- private IPath fJVMLin;
- private IPath fJVMMac;
- private IPath fJVMSol;
-@@ -49,6 +51,8 @@
- return fJVMMac;
- } else if (Platform.OS_SOLARIS.equals(os)) {
- return fJVMSol;
-+ } else if (Platform.OS_FREEBSD.equals(os)) {
-+ return fJVMFre;
- }
- return null;
- }
-@@ -77,6 +81,11 @@
- fJVMSol = jreContainerPath;
- if (isEditable())
- firePropertyChanged(JRE_SOL, old, fJVMSol);
-+ } else if (Platform.OS_FREEBSD.equals(os)) {
-+ IPath old = fJVMFre;
-+ fJVMFre = jreContainerPath;
-+ if (isEditable())
-+ firePropertyChanged(JRE_FRE, old, fJVMFre);
- }
- }
-
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/LauncherInfo.java 2009-05-27 16:25:26.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/LauncherInfo.java 2009-12-23 15:14:12.496229220 -0500
-@@ -74,7 +74,9 @@
- Node child = children.item(i);
- if (child.getNodeType() == Node.ELEMENT_NODE) {
- String name = child.getNodeName();
-- if (name.equals("linux")) { //$NON-NLS-1$
-+ if (name.equals("freebsd")) { //$NON-NLS-1$
-+ parseFreeBSD((Element) child);
-+ } else if (name.equals("linux")) { //$NON-NLS-1$
- parseLinux((Element) child);
- } else if (name.equals("macosx")) { //$NON-NLS-1$
- parseMac((Element) child);
-@@ -124,12 +126,17 @@
- fIcons.put(LINUX_ICON, element.getAttribute("icon")); //$NON-NLS-1$
- }
-
-+ private void parseFreeBSD(Element element) {
-+ fIcons.put(FREEBSD_ICON, element.getAttribute("icon")); //$NON-NLS-1$
-+ }
-+
- public void write(String indent, PrintWriter writer) {
- writer.print(indent + "<launcher"); //$NON-NLS-1$
- if (fLauncherName != null && fLauncherName.length() > 0)
- writer.print(" name=\"" + fLauncherName + "\""); //$NON-NLS-1$ //$NON-NLS-2$
- writer.println(">"); //$NON-NLS-1$
-
-+ writeFreeBSD(indent + " ", writer); //$NON-NLS-1$
- writeLinux(indent + " ", writer); //$NON-NLS-1$
- writeMac(indent + " ", writer); //$NON-NLS-1$
- writeSolaris(indent + " ", writer); //$NON-NLS-1$
-@@ -183,4 +190,10 @@
- writer.println(indent + "<linux icon=\"" + getWritableString(icon) + "\"/>"); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
-+ private void writeFreeBSD(String indent, PrintWriter writer) {
-+ String icon = (String) fIcons.get(FREEBSD_ICON);
-+ if (icon != null && icon.length() > 0)
-+ writer.println(indent + "<freebsd icon=\"" + getWritableString(icon) + "\"/>"); //$NON-NLS-1$ //$NON-NLS-2$
-+ }
-+
- }
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/PDEUIMessages.java 2009-05-11 17:05:18.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/PDEUIMessages.java 2009-12-23 15:14:12.508277211 -0500
-@@ -921,6 +921,7 @@
- public static String LauncherSection_32High;
- public static String LauncherSection_48Low;
- public static String LauncherSection_48High;
-+ public static String LauncherSection_freebsdLabel;
- public static String LauncherSection_linuxLabel;
- public static String LauncherSection_large;
- public static String LauncherSection_medium;
-@@ -2817,4 +2818,4 @@
-
- public static String VersionDialog_text;
-
--}
-\ No newline at end of file
-+}
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ArgumentsSection.java 2009-05-27 16:38:19.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ArgumentsSection.java 2009-12-23 15:14:12.515304810 -0500
-@@ -34,6 +34,7 @@
- private static final String[] TAB_LABELS = new String[5];
- static {
- TAB_LABELS[IArgumentsInfo.L_ARGS_ALL] = PDEUIMessages.ArgumentsSection_allPlatforms;
-+ TAB_LABELS[IArgumentsInfo.L_ARGS_FREEBSD] = "freebsd"; //$NON-NLS-1$
- TAB_LABELS[IArgumentsInfo.L_ARGS_LINUX] = "linux"; //$NON-NLS-1$
- TAB_LABELS[IArgumentsInfo.L_ARGS_MACOS] = "macosx"; //$NON-NLS-1$
- TAB_LABELS[IArgumentsInfo.L_ARGS_SOLAR] = "solaris"; //$NON-NLS-1$
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java 2009-03-18 09:57:28.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java 2009-12-23 15:14:12.516308832 -0500
-@@ -50,8 +50,8 @@
- private FormEntry fCustomEntry;
- private boolean fBlockChanges;
-
-- private static final String[] TAB_LABELS = {"linux", "macosx", "solaris", "win32"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
-- private static final String[] TAB_OS = {Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_SOLARIS, Platform.OS_WIN32};
-+ private static final String[] TAB_LABELS = {"freebsd", "linux", "macosx", "solaris", "win32"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
-+ private static final String[] TAB_OS = {Platform.OS_FREEBSD, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_SOLARIS, Platform.OS_WIN32};
-
- private CTabFolder fTabFolder;
- private int fLastTab;
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java 2009-03-18 09:57:28.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java 2009-12-23 15:14:12.517312855 -0500
-@@ -64,8 +64,8 @@
- private ComboViewerPart fEEsCombo;
- private boolean fBlockChanges;
-
-- private static final String[] TAB_LABELS = {"linux", "macosx", "solaris", "win32"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
-- private static final String[] TAB_OS = {Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_SOLARIS, Platform.OS_WIN32};
-+ private static final String[] TAB_LABELS = {"freebsd", "linux", "macosx", "solaris", "win32"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
-+ private static final String[] TAB_OS = {Platform.OS_FREEBSD, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_SOLARIS, Platform.OS_WIN32};
-
- private CTabFolder fTabFolder;
- private int fLastTab;
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/LauncherSection.java 2009-03-18 09:57:28.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/LauncherSection.java 2009-12-23 15:14:12.517312855 -0500
-@@ -60,6 +60,7 @@
- private CTabFolder fTabFolder;
- private Composite fNotebook;
- private StackLayout fNotebookLayout;
-+ private Composite fFreeBSDSection;
- private Composite fLinuxSection;
- private Composite fMacSection;
- private Composite fSolarisSection;
-@@ -156,6 +157,7 @@
- fNotebookLayout = new StackLayout();
- fNotebook.setLayout(fNotebookLayout);
-
-+ fFreeBSDSection = addFreeBSDSection(fNotebook, toolkit);
- fLinuxSection = addLinuxSection(fNotebook, toolkit);
- fMacSection = addMacSection(fNotebook, toolkit);
- fSolarisSection = addSolarisSection(fNotebook, toolkit);
-@@ -181,6 +183,7 @@
- }
-
- private void createTabs() {
-+ addTab("freebsd"); //$NON-NLS-1$
- addTab("linux"); //$NON-NLS-1$
- addTab("macosx"); //$NON-NLS-1$
- addTab("solaris"); //$NON-NLS-1$
-@@ -188,16 +191,19 @@
-
- String currentTarget = TargetPlatform.getOS();
- if ("win32".equals(currentTarget)) { //$NON-NLS-1$
-- fTabFolder.setSelection(3);
-+ fTabFolder.setSelection(4);
- fNotebookLayout.topControl = fWin32Section;
- } else if ("macosx".equals(currentTarget)) { //$NON-NLS-1$
-- fTabFolder.setSelection(1);
-+ fTabFolder.setSelection(2);
- fNotebookLayout.topControl = fMacSection;
- } else if ("solaris".equals(currentTarget)) { //$NON-NLS-1$
-- fTabFolder.setSelection(2);
-+ fTabFolder.setSelection(3);
- fNotebookLayout.topControl = fSolarisSection;
-- } else {
-+ } else if ("freebsd".equals(currentTarget)) { //$NON-NLS-1$
- fTabFolder.setSelection(0);
-+ fNotebookLayout.topControl = fFreeBSDSection;
-+ } else {
-+ fTabFolder.setSelection(1);
- fNotebookLayout.topControl = fLinuxSection;
- }
- }
-@@ -299,6 +305,14 @@
- }
- }
-
-+ private Composite addFreeBSDSection(Composite parent, FormToolkit toolkit) {
-+ Composite comp = createComposite(parent, toolkit);
-+ createLabel(comp, toolkit, PDEUIMessages.LauncherSection_freebsdLabel, 3);
-+ fIcons.add(new IconEntry(comp, toolkit, PDEUIMessages.LauncherSection_icon, ILauncherInfo.FREEBSD_ICON));
-+ toolkit.paintBordersFor(comp);
-+ return comp;
-+ }
-+
- private Composite addLinuxSection(Composite parent, FormToolkit toolkit) {
- Composite comp = createComposite(parent, toolkit);
- createLabel(comp, toolkit, PDEUIMessages.LauncherSection_linuxLabel, 3);
-@@ -455,7 +469,7 @@
- }
-
- private String getExtension(String iconId) {
-- if (iconId.equals(ILauncherInfo.LINUX_ICON))
-+ if (iconId.equals(ILauncherInfo.LINUX_ICON) || iconId.equals(ILauncherInfo.FREEBSD_ICON))
- return "xpm"; //$NON-NLS-1$
- if (iconId.equals(ILauncherInfo.MACOSX_ICON))
- return "icns"; //$NON-NLS-1$
-@@ -482,15 +496,18 @@
- Control oldPage = fNotebookLayout.topControl;
- switch (index) {
- case 0 :
-- fNotebookLayout.topControl = fLinuxSection;
-+ fNotebookLayout.topControl = fFreeBSDSection;
- break;
- case 1 :
-- fNotebookLayout.topControl = fMacSection;
-+ fNotebookLayout.topControl = fLinuxSection;
- break;
- case 2 :
-- fNotebookLayout.topControl = fSolarisSection;
-+ fNotebookLayout.topControl = fMacSection;
- break;
- case 3 :
-+ fNotebookLayout.topControl = fSolarisSection;
-+ break;
-+ case 4 :
- fNotebookLayout.topControl = fWin32Section;
- break;
- }
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/pderesources.properties 2009-07-14 17:13:10.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/pderesources.properties 2009-12-23 15:14:12.520324922 -0500
-@@ -582,6 +582,7 @@
- LauncherSection_32High=32x32 (32-bit):
- LauncherSection_48Low=48x48 (8-bit):
- LauncherSection_48High=48x48 (32-bit):
-+LauncherSection_freebsdLabel=A single XPM icon is required:
- LauncherSection_linuxLabel=A single XPM icon is required:
- LauncherSection_large=Large:
- LauncherSection_medium=Medium:
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java 2009-03-06 17:52:06.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java 2009-12-23 15:14:12.521328666 -0500
-@@ -128,7 +128,7 @@
- implementation.setName("implementation"); //$NON-NLS-1$
- implementation.setAttribute("kind", "html"); //$NON-NLS-1$ //$NON-NLS-2$
- implementation.setAttribute("style", "content/shared.css"); //$NON-NLS-1$ //$NON-NLS-2$
-- implementation.setAttribute("os", "win32,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
-+ implementation.setAttribute("os", "win32,linux,macosx,freebsd"); //$NON-NLS-1$ //$NON-NLS-2$
-
- presentation.add(implementation);
-
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java 2007-12-27 15:01:36.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java 2009-12-23 15:14:12.522333526 -0500
-@@ -160,7 +160,7 @@
- presentationElement.setAttribute("home-page-id", "root"); //$NON-NLS-1$ //$NON-NLS-2$
- IPluginElement implementationElement = factory.createElement(presentationElement);
- implementationElement.setName("implementation"); //$NON-NLS-1$
-- implementationElement.setAttribute("os", "win32,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
-+ implementationElement.setAttribute("os", "win32,linux,macosx,freebsd"); //$NON-NLS-1$ //$NON-NLS-2$
- if (getTargetVersion() == 3.0)
- implementationElement.setAttribute("style", "content/shared.css"); //$NON-NLS-1$//$NON-NLS-2$
-
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java 2009-05-29 17:30:04.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java 2009-12-23 15:14:12.569519791 -0500
-@@ -147,15 +147,15 @@
- }
- stringBuffer.append (filterPath);
- byte [] buffer = Converter.wcsToMbcs (null, stringBuffer.toString (), true);
-+ byte [] bufspc = new byte[1024];
- /*
- * Bug in GTK. GtkFileChooser may crash on GTK versions 2.4.10 to 2.6
- * when setting a file name that is not a true canonical path.
- * The fix is to use the canonical path.
- */
-- int /*long*/ ptr = OS.realpath (buffer, null);
-+ int /*long*/ ptr = OS.realpath (buffer, bufspc);
- if (ptr != 0) {
- OS.gtk_file_chooser_set_current_folder (handle, ptr);
-- OS.g_free (ptr);
- }
- }
- if (message.length () > 0) {
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FileDialog.java 2009-05-29 17:30:04.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FileDialog.java 2009-12-23 15:14:12.570524931 -0500
-@@ -492,15 +492,15 @@
- } else {
- /* filename must be a full path */
- byte [] buffer = Converter.wcsToMbcs (null, SEPARATOR + filterPath, true);
-+ byte [] bufspc = new byte[1024];
-
- /*
- * Bug in GTK. GtkFileChooser may crash on GTK versions 2.4.10 to 2.6
- * when setting a file name that is not a true canonical path.
- * The fix is to use the canonical path.
- */
-- int /*long*/ ptr = OS.realpath (buffer, null);
-+ int /*long*/ ptr = OS.realpath (buffer, bufspc);
- OS.gtk_file_chooser_set_current_folder (handle, ptr);
-- OS.g_free (ptr);
- }
- }
- if (fileName.length () > 0) {
-@@ -521,6 +521,7 @@
- stringBuffer.append(fileName);
- }
- byte [] buffer = Converter.wcsToMbcs (null, stringBuffer.toString(), true);
-+ byte [] bufspc = new byte[1024];
- if (uriMode) {
- OS.gtk_file_chooser_set_uri (handle, buffer);
- } else {
-@@ -529,14 +530,13 @@
- * when setting a file name that is not a true canonical path.
- * The fix is to use the canonical path.
- */
-- int /*long*/ ptr = OS.realpath (buffer, null);
-+ int /*long*/ ptr = OS.realpath (buffer, bufspc);
- if (ptr != 0) {
- if (fileName.length() > 0) {
- OS.gtk_file_chooser_set_filename (handle, ptr);
- } else {
- OS.gtk_file_chooser_set_current_folder (handle, ptr);
- }
-- OS.g_free (ptr);
- }
- }
- }
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh 2009-12-23 15:12:32.323873441 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh 2009-12-23 15:14:12.571527836 -0500
-@@ -44,6 +44,8 @@
- "FreeBSD")
- SWT_OS=freebsd
- MAKEFILE=make_freebsd.mak
-+ MAKE_TYPE=gmake
-+ MODEL=`uname -m`
- ;;
- *)
- SWT_OS=`uname -s | tr -s '[:upper:]' '[:lower:]'`
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak 2007-06-20 12:01:22.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak 2009-12-23 15:17:21.337309883 -0500
-@@ -39,6 +39,7 @@
- MOZILLA_LIB = lib$(MOZILLA_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
- XULRUNNER_LIB = lib$(XULRUNNER_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
- XPCOMINIT_LIB = lib$(XPCOMINIT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
-+WEBKIT_LIB = lib$(WEBKIT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
- GLX_LIB = lib$(GLX_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
-
- CAIROCFLAGS = `pkg-config --cflags cairo`
-@@ -46,11 +47,11 @@
-
- # Do not use pkg-config to get libs because it includes unnecessary dependencies (i.e. pangoxft-1.0)
- GTKCFLAGS = `pkg-config --cflags gtk+-2.0`
--GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L/usr/X11R6/lib $(XLIB64) -lXtst
-+GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L${LOCALBASE}/lib $(XLIB64) -lXtst
-
- CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc
-
--AWT_LFLAGS = -shared
-+AWT_LFLAGS = -shared ${SWT_LFLAGS}
- AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt
-
- ATKCFLAGS = `pkg-config --cflags atk gtk+-2.0`
-@@ -59,7 +60,7 @@
- GNOMECFLAGS = `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0`
- GNOMELIBS = `pkg-config --libs-only-L gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -lgnomevfs-2 -lgnome-2 -lgnomeui-2
-
--GLXLIBS = -L/usr/X11R6/lib -lGL -lGLU -lm
-+GLXLIBS = -L${LOCALBASE}/lib -lGL -lGLU -lm
-
- # Uncomment for Native Stats tool
- #NATIVE_STATS = -DNATIVE_STATS
-@@ -78,7 +79,20 @@
- -I$(JAVA_HOME)/include/freebsd \
- ${SWT_PTR_CFLAGS}
- MOZILLALFLAGS = -shared -Wl,--version-script=mozilla_exports -Bsymbolic
--
-+MOZILLAEXCLUDES = -DNO__1XPCOMGlueShutdown \
-+ -DNO__1XPCOMGlueStartup \
-+ -DNO__1XPCOMGlueLoadXULFunctions \
-+ -DNO_memmove__ILorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2I \
-+ -DNO_memmove__JLorg_eclipse_swt_internal_mozilla_nsDynamicFunctionLoad_2J \
-+ -DNO_nsDynamicFunctionLoad_1sizeof \
-+ -DNO__1Call__IIIIII \
-+ -DNO__1Call__JJJJJI \
-+ -DNO_nsDynamicFunctionLoad
-+XULRUNNEREXCLUDES = -DNO__1NS_1InitXPCOM2
-+
-+WEBKITCFLAGS = `pkg-config --cflags gtk+-2.0 webkit-1.0`
-+WEBKITLIBS = `pkg-config --libs webkit-1.0`
-+
- SWT_OBJECTS = swt.o c.o c_stats.o callback.o
- CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o
- AWT_OBJECTS = swt_awt.o
-@@ -87,14 +101,16 @@
- ATK_OBJECTS = swt.o atk.o atk_structs.o atk_custom.o atk_stats.o
- GNOME_OBJECTS = swt.o gnome.o gnome_structs.o gnome_stats.o
- MOZILLA_OBJECTS = swt.o xpcom.o xpcom_custom.o xpcom_structs.o xpcom_stats.o
--XULRUNNER_OBJECTS = swt.o xpcomxul.o xpcomxul_custom.o xpcomxul_structs.o xpcomxul_stats.o xpcomxulglue.o xpcomxulglue_stats.o
-+XULRUNNER_OBJECTS = swt.o xpcomxul.o xpcomxul_custom.o xpcomxul_structs.o xpcomxul_stats.o
- XPCOMINIT_OBJECTS = swt.o xpcominit.o xpcominit_structs.o xpcominit_stats.o
-+WEBKIT_OBJECTS = swt.o webkit.o webkit_structs.o webkit_stats.o
- GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o
-
- CFLAGS = -O -Wall \
- -DSWT_VERSION=$(SWT_VERSION) \
- $(NATIVE_STATS) \
- -DFREEBSD -DGTK \
-+ -I${LOCALBASE}/include \
- -I$(JAVA_HOME)/include \
- -I$(JAVA_HOME)/include/freebsd \
- -fPIC \
-@@ -209,16 +225,16 @@
- $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS}
-
- xpcom.o: xpcom.cpp
-- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom.cpp
-+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom.cpp
-
- xpcom_structs.o: xpcom_structs.cpp
-- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_structs.cpp
-+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom_structs.cpp
-
- xpcom_custom.o: xpcom_custom.cpp
-- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_custom.cpp
-+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom_custom.cpp
-
- xpcom_stats.o: xpcom_stats.cpp
-- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_stats.cpp
-+ $(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom_stats.cpp
-
- #
- # XULRunner lib
-@@ -229,22 +245,16 @@
- $(CXX) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
-
- xpcomxul.o: xpcom.cpp
-- $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom.cpp
-+ $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom.cpp
-
- xpcomxul_structs.o: xpcom_structs.cpp
-- $(CXX) -o xpcomxul_structs.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_structs.cpp
-+ $(CXX) -o xpcomxul_structs.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom_structs.cpp
-
- xpcomxul_custom.o: xpcom_custom.cpp
-- $(CXX) -o xpcomxul_custom.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_custom.cpp
-+ $(CXX) -o xpcomxul_custom.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom_custom.cpp
-
- xpcomxul_stats.o: xpcom_stats.cpp
-- $(CXX) -o xpcomxul_stats.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_stats.cpp
--
--xpcomxulglue.o: xpcomglue.cpp
-- $(CXX) -o xpcomxulglue.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcomglue.cpp
--
--xpcomxulglue_stats.o: xpcomglue_stats.cpp
-- $(CXX) -o xpcomxulglue_stats.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcomglue_stats.cpp
-+ $(CXX) -o xpcomxul_stats.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom_stats.cpp
-
- #
- # XPCOMInit lib
-@@ -264,6 +274,23 @@
- $(CXX) $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcominit_stats.cpp
-
- #
-+# WebKit lib
-+#
-+make_webkit: $(WEBKIT_LIB)
-+
-+$(WEBKIT_LIB): $(WEBKIT_OBJECTS)
-+ $(CC) $(LFLAGS) -o $(WEBKIT_LIB) $(WEBKIT_OBJECTS) $(WEBKITLIBS)
-+
-+webkit.o: webkitgtk.c
-+ $(CC) $(CFLAGS) $(WEBKITCFLAGS) -c webkitgtk.c -o webkit.o
-+
-+webkit_structs.o: webkitgtk_structs.c
-+ $(CC) $(CFLAGS) $(WEBKITCFLAGS) -c webkitgtk_structs.c -o webkit_structs.o
-+
-+webkit_stats.o: webkitgtk_stats.c webkitgtk_stats.h
-+ $(CC) $(CFLAGS) $(WEBKITCFLAGS) -c webkitgtk_stats.c -o webkit_stats.o
-+
-+#
- # GLX lib
- #
- make_glx: $(GLX_LIB)
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java 2009-12-23 15:12:33.298742157 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java 2009-12-23 15:14:12.577551971 -0500
-@@ -23,18 +23,19 @@
- }
-
- /** OS Constants */
-- public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX;
-+ public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX, IsFreeBSD;
- static {
-
- /* Initialize the OS flags and locale constants */
- String osName = System.getProperty ("os.name");
-- boolean isAIX = false, isSunOS = false, isLinux = false, isHPUX = false;
-+ boolean isAIX = false, isSunOS = false, isLinux = false, isHPUX = false, isFreeBSD = false;
- if (osName.equals ("Linux")) isLinux = true;
- if (osName.equals ("AIX")) isAIX = true;
- if (osName.equals ("Solaris")) isSunOS = true;
- if (osName.equals ("SunOS")) isSunOS = true;
- if (osName.equals ("HP-UX")) isHPUX = true;
-- IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX;
-+ if (osName.equals ("FreeBSD")) isFreeBSD = true;
-+ IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX; IsFreeBSD = isFreeBSD;
- }
-
- /** Constants */
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/.project 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/.project 2009-12-23 15:14:12.578555994 -0500
-@@ -0,0 +1,28 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<projectDescription>
-+ <name>org.eclipse.swt.gtk.freebsd.x86</name>
-+ <comment></comment>
-+ <projects>
-+ </projects>
-+ <buildSpec>
-+ <buildCommand>
-+ <name>org.eclipse.pde.ManifestBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.SchemaBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ </buildSpec>
-+ <natures>
-+ <nature>org.eclipse.pde.PluginNature</nature>
-+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
-+ </natures>
-+</projectDescription>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/META-INF/MANIFEST.MF 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/META-INF/MANIFEST.MF 2009-12-23 15:14:12.578555994 -0500
-@@ -0,0 +1,19 @@
-+Manifest-Version: 1.0
-+Fragment-Host: org.eclipse.swt; bundle-version="[3.0.0,4.0.0)"
-+Bundle-Name: %fragmentName
-+Bundle-Vendor: %providerName
-+Bundle-SymbolicName: org.eclipse.swt.gtk.freebsd.x86; singleton:=true
-+Bundle-Version: 3.7.1.qualifier
-+Bundle-ManifestVersion: 2
-+Bundle-Localization: fragment
-+Export-Package:
-+ org.eclipse.swt.internal.accessibility.gtk; x-internal:=true,
-+ org.eclipse.swt.internal.cairo; x-internal:=true,
-+ org.eclipse.swt.internal.cde; x-internal:=true,
-+ org.eclipse.swt.internal.gnome; x-internal:=true,
-+ org.eclipse.swt.internal.gtk; x-internal:=true,
-+ org.eclipse.swt.internal.mozilla; x-internal:=true,
-+ org.eclipse.swt.internal.opengl.glx; x-internal:=true
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86))
-+Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,
-+ J2SE-1.3
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about.html 2009-12-23 15:14:12.579559737 -0500
-@@ -0,0 +1,263 @@
-+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml">
-+<head>
-+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-+<title>About</title>
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>August 17, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-+indicated below, the Content is provided to you under the terms and conditions of the
-+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-+
-+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply to your use of any object code in the Content. Check the Redistributor's license that was
-+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-+and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-+
-+<h3>Third Party Content</h3>
-+
-+<p>The Content includes items that have been sourced from third parties as set out below. If you
-+did not receive this Content directly from the Eclipse Foundation, the following is provided
-+for informational purposes only, and you should look to the Redistributor&rsquo;s license for
-+terms and conditions of use.</p>
-+
-+<h4>Gnome Binding</h4>
-+
-+<p>The &quot;Gnome Binding&quot; is a binding to the Gnome API. The Content may include any or all of the following files:</p>
-+
-+<p>The following files in the plug-in JAR shall be defined as the native code portion of the Gnome Binding:</p>
-+<ul>
-+ <li>libswt-gnome-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+</ul>
-+
-+<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the Gnome Binding:</p>
-+<ul>
-+ <li>The contents of the directory org/eclipse/swt/internal/gnome (but not including any sub-directories)</li>
-+</ul>
-+
-+<p>The Gnome Binding contains portions of Gnome (&quot;Library&quot;). Gnome is made available by The Free Software Foundation. Use of the Library is governed by the terms and
-+conditions of the GNU Lesser General Public License Version 2.1 (&quot;LGPL&quot;). Use of the Gnome Binding on a standalone
-+basis, is also governed by the terms and conditions of the LGPL. A copy of the LGPL is provided with the Content (<a href="about_files/lgpl-v21.txt" target="_blank">lgpl-v21.txt</a>) and is also available at
-+<a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">http://www.gnu.org/licenses/lgpl.html</a>.</p>
-+
-+<p>In accordance with Section 6 of the LGPL, you may combine or link a "work that uses the Library" (e.g. the SWT) with the Library to produce a work
-+containing portions of the Library (e.g. the Gnome Binding) and distribute that work under the terms of your choice (e.g. the EPL) provided you comply with all
-+other terms and conditions of Section 6 as well as other Sections of the LGPL. Please note, if you modify the Gnome Binding such modifications shall be
-+governed by the terms and conditions of the LGPL. Also note, the terms of the EPL permit you to modify the combined work and the source code of the combined
-+work is provided for debugging purposes so there is no need to reverse engineer the combined work.</p>
-+
-+<h4>GTK+ Binding</h4>
-+
-+<p>The &quot;GTK+ Binding&quot; is a binding to the GTK+ API. The Content may include any or all of the following files:</p>
-+
-+<p>The following files in the plug-in JAR shall be defined as the native code portion of the GTK+ Binding:</p>
-+<ul>
-+ <li>libswt-atk-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+ <li>libswt-pi-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+</ul>
-+
-+<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the GTK+ Binding:</p>
-+<ul>
-+ <li>The contents of the directory org/eclipse/swt/internal/accessibility/gtk (but not including any sub-directories)</li>
-+ <li>The contents of the directory org/eclipse/swt/internal/cde (but not including any sub-directories)</li>
-+ <li>The contents of the directory org/eclipse/swt/internal/gtk (but not including any sub-directories)</li>
-+ <li>The contents of the directory org/eclipse/swt/internal/kde (but not including any sub-directories)</li>
-+</ul>
-+
-+<p>The GTK+ Binding contains portions of GTK+ (&quot;Library&quot;). GTK+ is made available by The Free Software Foundation. Use of the Library is governed by the terms and
-+conditions of the GNU Lesser General Public License Version 2.1 (&quot;LGPL&quot;). Use of the GTK+ Binding on a standalone
-+basis, is also governed by the terms and conditions of the LGPL. A copy of the LGPL is provided with the Content (<a href="about_files/lgpl-v21.txt" target="_blank">lgpl-v21.txt</a>) and is also available at
-+<a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">http://www.gnu.org/licenses/lgpl.html</a>.</p>
-+
-+<p>In accordance with Section 6 of the LGPL, you may combine or link a "work that uses the Library" (e.g. the SWT) with the Library to produce a work
-+containing portions of the Library (e.g. the GTK+ Binding) and distribute that work under the terms of your choice (e.g. the EPL) provided you comply with all
-+other terms and conditions of Section 6 as well as other Sections of the LGPL. Please note, if you modify the GTK+ Binding such modifications shall be
-+governed by the terms and conditions of the LGPL. Also note, the terms of the EPL permit you to modify the combined work and the source code of the combined
-+work is provided for debugging purposes so there is no need to reverse engineer the combined work.</p>
-+
-+<h4>Mozilla Binding</h4>
-+
-+<p>The &quot;Mozilla Binding&quot; is a binding to the Mozilla API. The Content may include any or all of the following files:</p>
-+
-+<p>The following files in the plug-in JAR shall be defined as the native code portion of the Mozilla Binding:</p>
-+<ul>
-+ <li>libswt-mozilla-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+ <li>libswt-mozilla-gcc3-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+ <li>libswt-xulrunner-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+ <li>libswt-xpcominit-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+</ul>
-+
-+<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the Mozilla Binding:</p>
-+<ul>
-+ <li>The contents of the directory org/eclipse/swt/internal/mozilla (but not including any sub-directories)</li>
-+</ul>
-+
-+<p>The Mozilla Binding contains portions of Mozilla (&quot;Mozilla&quot;). Mozilla is made available by Mozilla.org. Use of Mozilla is governed by the terms and
-+conditions of the Mozilla Public License Version 1.1 (&quot;MPL&quot;). A copy of the MPL is provided with the Content (<a href="about_files/mpl-v11.txt" target="_blank">mpl-v11.txt</a>) and is also available at
-+<a href="http://www.mozilla.org/MPL/MPL-1.1.html" target="_blank">http://www.mozilla.org/MPL/MPL-1.1.html</a>.</p>
-+
-+<h4>XULRunner 1.9 (subset, derivative work)</h4>
-+
-+The libraries swt-xulrunner-gtk-xxxx.dll, swt-mozilla-gtk-xxxx.dll, and swt-mozilla-gcc3-gtk-xxxx.dll (where &quot;xxxx&quot; is the version number) contain a small portion of XULRunner 1.9 content (header files)
-+that have been modified from the Original Code provided by mozilla.org, and whose Initial Developer is Netscape Communications Corporation. Use of this code is governed by
-+the terms and conditions of the Mozilla Public License Version 1.1 ("MPL"). A copy of the MPL is provided with the Content (<a href="./about_files/mpl-v11.txt">mpl-v11.txt</a>)
-+and is also available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>.
-+<p>The changed files are:
-+<ul>
-+ <li>org.eclipse.swt/Eclipse SWT Mozilla/common/library/nsIScriptContext.h</code>
-+ <li>org.eclipse.swt/Eclipse SWT Mozilla/common/library/nsIScriptGlobalObject.h</code>
-+</ul>
-+Changes to the original files were made by SWT on April 7, 2009 and are marked with trailing comment <em>&quot;//SWT-20090407&quot;</em>.
-+
-+<h4>Cairo Binding</h4>
-+
-+<p>The &quot;Cairo Binding&quot; is a binding to the Cairo API. The Content may include any or all of the following files:</p>
-+
-+<p>The following files in the plug-in JAR shall be defined as the native code portion of the Cairo Binding:</p>
-+<ul>
-+ <li>libswt-cairo-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+</ul>
-+
-+<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the Cairo Binding:</p>
-+<ul>
-+ <li>The contents of the directory org/eclipse/swt/internal/cairo (but not including any sub-directories)</li>
-+</ul>
-+
-+<p>The Cairo Binding contains portions of Cairo (&quot;Cairo&quot;). Cairo is made available by the Cairo project at
-+<a href="http://www.cairographics.org" target="_blank">http://www.cairographics.org</a>. Use of Cairo by the Cairo Binding is governed by the terms and
-+conditions of the Mozilla Public License Version 1.1 (&quot;MPL&quot;). A copy of the MPL is
-+provided with the Content (<a href="about_files/mpl-v11.txt" target="_blank">mpl-v11.txt</a>) and is also available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>.</p>
-+
-+<h4>Cairo for Linux</h4>
-+
-+<p>Refer to the file <a href="about_files/about_cairo.html">about_files/about_cairo.html</a> for licensing details about &quot;Cairo for Linux.&quot;
-+
-+<h4>Independent JPEG Group's JPEG software release 6b</h4>
-+
-+<p>This software is based in part on the work of the Independent JPEG Group's JPEG software release 6b (&quot;LIBJPEG&quot;).
-+LIBJPEG was used to implement the decoding of JPEG format files in Java (TM). The Content does NOT include any portion of the LIBJPEG file ansi2knr.c.</p>
-+
-+<p>Your use of LIBJPEG is subject to the terms and conditions located in the <a href="about_files/IJG_README">about_files/IJG_README</a> file which is included
-+with the Content.</p>
-+
-+<p>The IJG's website is located at <a href="http://ijg.org/" target="_blank">http://ijg.org</a>.</p>
-+
-+<p>The class org.eclipse.swt.internal.image.JPEGFileFormat is based on following files from LIBJPEG:</p>
-+
-+<ul>
-+ <li>cderror.h</li>
-+ <li>cdjpeg.h</li>
-+ <li>jchuff.h</li>
-+ <li>jdcolor.c</li>
-+ <li>jdct.h</li>
-+ <li>jdhuff.h</li>
-+ <li>jerror.h</li>
-+ <li>jidctint.c</li>
-+ <li>jinclude.h</li>
-+ <li>jmemsys.h</li>
-+ <li>jmorecfg.h</li>
-+ <li>jpegint.h</li>
-+ <li>jpeglib.h</li>
-+ <li>jversion.h</li>
-+ <li>transupp.h</li>
-+</ul>
-+
-+<p>The class org.eclipse.swt.internal.image.JPEGDecoder is based on the following files from LIBJPEG:</p>
-+
-+<ul>
-+ <li>jcapimin.c</li>
-+ <li>jcapistd.c</li>
-+ <li>jccoefct.c</li>
-+ <li>jccolor.c</li>
-+ <li>jcdctmgr.c</li>
-+ <li>jchuff.c</li>
-+ <li>jcinit.c</li>
-+ <li>jcmainct.c</li>
-+ <li>jcmarker.c</li>
-+ <li>jcmaster.c</li>
-+ <li>jcomapi.c</li>
-+ <li>jcparam.c</li>
-+ <li>jcphuff.c</li>
-+ <li>jcprepct.c</li>
-+ <li>jcsample.c</li>
-+ <li>jctrans.c</li>
-+ <li>jdapimin.c</li>
-+ <li>jdapistd.c</li>
-+ <li>jdatadst.c</li>
-+ <li>jdatasrc.c</li>
-+ <li>jdcoefct.c</li>
-+ <li>jdcolor.c</li>
-+ <li>jddctmgr.c</li>
-+ <li>jdhuff.c</li>
-+ <li>jdinput.c</li>
-+ <li>jdmainct.c</li>
-+ <li>jdmarker.c</li>
-+ <li>jdmaster.c</li>
-+ <li>jdmerge.c</li>
-+ <li>jdphuff.c</li>
-+ <li>jdpostct.c</li>
-+ <li>jdsample.c</li>
-+ <li>jdtrans.c</li>
-+ <li>jerror.c</li>
-+ <li>jfdctflt.c</li>
-+ <li>jfdctfst.c</li>
-+ <li>jfdctint.c</li>
-+ <li>jidctflt.c</li>
-+ <li>jidctfst.c</li>
-+ <li>jidctint.c</li>
-+ <li>jidctred.c</li>
-+ <li>jpegtran.c</li>
-+ <li>jquant1.c</li>
-+ <li>jquant2.c</li>
-+ <li>jutils.c</li>
-+ <li>cderror.h</li>
-+ <li>cdjpeg.h</li>
-+ <li>jchuff.h</li>
-+ <li>jconfig.h</li>
-+ <li>jdct.h</li>
-+ <li>jdhuff.h</li>
-+ <li>jerror.h</li>
-+ <li>jinclude.h</li>
-+ <li>jmorecfg.h</li>
-+ <li>jpegint.h</li>
-+ <li>jpeglib.h</li>
-+ <li>jversion.h</li>
-+ <li>transupp.h</li>
-+</ul>
-+
-+<p>The following changes were made to the LIBJPEG code in the Content:</p>
-+
-+<ol>
-+ <li>In Java, pointer math is not allowed so indexing was used instead.</li>
-+ <li>Function pointers were replaced with switch statements.</li>
-+ <li>The virtual memory, tracing and progress monitoring were removed.</li>
-+ <li>The error handling was simplified and now uses Java exceptions.</li>
-+</ol>
-+
-+<h4>PuTTY 0.58 (derivative work)</h4>
-+
-+<p>Portions of the SWT class org/eclipse/swt/internal/image/PngDeflater are based on PuTTY's sshzlib.c. PuTTY is made available by Mozilla.org. Use of PuTTY is governed by the terms and
-+conditions of the the following MIT-style license: </p>
-+<blockquote>
-+ <p><em>PuTTY is copyright 1997-2007 Simon Tatham.</em> </p>
-+ <p><em>Portions copyright Robert de Bath, Joris van Rantwijk, Delian Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry, Justin Bradford, Ben Harris, Malcolm Smith, Ahmad Khalifa, Markus Kuhn, and CORE SDI S.A.</em> </p>
-+ <p><em>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</em> </p>
-+ <p><em>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</em> </p>
-+ <p><em>THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SIMON TATHAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</em> </p>
-+</blockquote>
-+<p>A copy of the license is also available at <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/licence.html" target="_blank">http://www.chiark.greenend.org.uk/~sgtatham/putty/licence.html</a>.</p>
-+
-+<p><small>Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.</small></p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about_files/IJG_README 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about_files/IJG_README 2009-12-23 15:14:12.580564039 -0500
-@@ -0,0 +1,385 @@
-+The Independent JPEG Group's JPEG software
-+==========================================
-+
-+README for release 6b of 27-Mar-1998
-+====================================
-+
-+This distribution contains the sixth public release of the Independent JPEG
-+Group's free JPEG software. You are welcome to redistribute this software and
-+to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
-+
-+Serious users of this software (particularly those incorporating it into
-+larger programs) should contact IJG at jpeg-info@uunet.uu.net to be added to
-+our electronic mailing list. Mailing list members are notified of updates
-+and have a chance to participate in technical discussions, etc.
-+
-+This software is the work of Tom Lane, Philip Gladstone, Jim Boucher,
-+Lee Crocker, Julian Minguillon, Luis Ortiz, George Phillips, Davide Rossi,
-+Guido Vollbeding, Ge' Weijers, and other members of the Independent JPEG
-+Group.
-+
-+IJG is not affiliated with the official ISO JPEG standards committee.
-+
-+
-+DOCUMENTATION ROADMAP
-+=====================
-+
-+This file contains the following sections:
-+
-+OVERVIEW General description of JPEG and the IJG software.
-+LEGAL ISSUES Copyright, lack of warranty, terms of distribution.
-+REFERENCES Where to learn more about JPEG.
-+ARCHIVE LOCATIONS Where to find newer versions of this software.
-+RELATED SOFTWARE Other stuff you should get.
-+FILE FORMAT WARS Software *not* to get.
-+TO DO Plans for future IJG releases.
-+
-+Other documentation files in the distribution are:
-+
-+User documentation:
-+ install.doc How to configure and install the IJG software.
-+ usage.doc Usage instructions for cjpeg, djpeg, jpegtran,
-+ rdjpgcom, and wrjpgcom.
-+ *.1 Unix-style man pages for programs (same info as usage.doc).
-+ wizard.doc Advanced usage instructions for JPEG wizards only.
-+ change.log Version-to-version change highlights.
-+Programmer and internal documentation:
-+ libjpeg.doc How to use the JPEG library in your own programs.
-+ example.c Sample code for calling the JPEG library.
-+ structure.doc Overview of the JPEG library's internal structure.
-+ filelist.doc Road map of IJG files.
-+ coderules.doc Coding style rules --- please read if you contribute code.
-+
-+Please read at least the files install.doc and usage.doc. Useful information
-+can also be found in the JPEG FAQ (Frequently Asked Questions) article. See
-+ARCHIVE LOCATIONS below to find out where to obtain the FAQ article.
-+
-+If you want to understand how the JPEG code works, we suggest reading one or
-+more of the REFERENCES, then looking at the documentation files (in roughly
-+the order listed) before diving into the code.
-+
-+
-+OVERVIEW
-+========
-+
-+This package contains C software to implement JPEG image compression and
-+decompression. JPEG (pronounced "jay-peg") is a standardized compression
-+method for full-color and gray-scale images. JPEG is intended for compressing
-+"real-world" scenes; line drawings, cartoons and other non-realistic images
-+are not its strong suit. JPEG is lossy, meaning that the output image is not
-+exactly identical to the input image. Hence you must not use JPEG if you
-+have to have identical output bits. However, on typical photographic images,
-+very good compression levels can be obtained with no visible change, and
-+remarkably high compression levels are possible if you can tolerate a
-+low-quality image. For more details, see the references, or just experiment
-+with various compression settings.
-+
-+This software implements JPEG baseline, extended-sequential, and progressive
-+compression processes. Provision is made for supporting all variants of these
-+processes, although some uncommon parameter settings aren't implemented yet.
-+For legal reasons, we are not distributing code for the arithmetic-coding
-+variants of JPEG; see LEGAL ISSUES. We have made no provision for supporting
-+the hierarchical or lossless processes defined in the standard.
-+
-+We provide a set of library routines for reading and writing JPEG image files,
-+plus two sample applications "cjpeg" and "djpeg", which use the library to
-+perform conversion between JPEG and some other popular image file formats.
-+The library is intended to be reused in other applications.
-+
-+In order to support file conversion and viewing software, we have included
-+considerable functionality beyond the bare JPEG coding/decoding capability;
-+for example, the color quantization modules are not strictly part of JPEG
-+decoding, but they are essential for output to colormapped file formats or
-+colormapped displays. These extra functions can be compiled out of the
-+library if not required for a particular application. We have also included
-+"jpegtran", a utility for lossless transcoding between different JPEG
-+processes, and "rdjpgcom" and "wrjpgcom", two simple applications for
-+inserting and extracting textual comments in JFIF files.
-+
-+The emphasis in designing this software has been on achieving portability and
-+flexibility, while also making it fast enough to be useful. In particular,
-+the software is not intended to be read as a tutorial on JPEG. (See the
-+REFERENCES section for introductory material.) Rather, it is intended to
-+be reliable, portable, industrial-strength code. We do not claim to have
-+achieved that goal in every aspect of the software, but we strive for it.
-+
-+We welcome the use of this software as a component of commercial products.
-+No royalty is required, but we do ask for an acknowledgement in product
-+documentation, as described under LEGAL ISSUES.
-+
-+
-+LEGAL ISSUES
-+============
-+
-+In plain English:
-+
-+1. We don't promise that this software works. (But if you find any bugs,
-+ please let us know!)
-+2. You can use this software for whatever you want. You don't have to pay us.
-+3. You may not pretend that you wrote this software. If you use it in a
-+ program, you must acknowledge somewhere in your documentation that
-+ you've used the IJG code.
-+
-+In legalese:
-+
-+The authors make NO WARRANTY or representation, either express or implied,
-+with respect to this software, its quality, accuracy, merchantability, or
-+fitness for a particular purpose. This software is provided "AS IS", and you,
-+its user, assume the entire risk as to its quality and accuracy.
-+
-+This software is copyright (C) 1991-1998, Thomas G. Lane.
-+All Rights Reserved except as specified below.
-+
-+Permission is hereby granted to use, copy, modify, and distribute this
-+software (or portions thereof) for any purpose, without fee, subject to these
-+conditions:
-+(1) If any part of the source code for this software is distributed, then this
-+README file must be included, with this copyright and no-warranty notice
-+unaltered; and any additions, deletions, or changes to the original files
-+must be clearly indicated in accompanying documentation.
-+(2) If only executable code is distributed, then the accompanying
-+documentation must state that "this software is based in part on the work of
-+the Independent JPEG Group".
-+(3) Permission for use of this software is granted only if the user accepts
-+full responsibility for any undesirable consequences; the authors accept
-+NO LIABILITY for damages of any kind.
-+
-+These conditions apply to any software derived from or based on the IJG code,
-+not just to the unmodified library. If you use our work, you ought to
-+acknowledge us.
-+
-+Permission is NOT granted for the use of any IJG author's name or company name
-+in advertising or publicity relating to this software or products derived from
-+it. This software may be referred to only as "the Independent JPEG Group's
-+software".
-+
-+We specifically permit and encourage the use of this software as the basis of
-+commercial products, provided that all warranty or liability claims are
-+assumed by the product vendor.
-+
-+
-+ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
-+sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
-+ansi2knr.c is NOT covered by the above copyright and conditions, but instead
-+by the usual distribution terms of the Free Software Foundation; principally,
-+that you must include source code if you redistribute it. (See the file
-+ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part
-+of any program generated from the IJG code, this does not limit you more than
-+the foregoing paragraphs do.
-+
-+The Unix configuration script "configure" was produced with GNU Autoconf.
-+It is copyright by the Free Software Foundation but is freely distributable.
-+The same holds for its supporting scripts (config.guess, config.sub,
-+ltconfig, ltmain.sh). Another support script, install-sh, is copyright
-+by M.I.T. but is also freely distributable.
-+
-+It appears that the arithmetic coding option of the JPEG spec is covered by
-+patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot
-+legally be used without obtaining one or more licenses. For this reason,
-+support for arithmetic coding has been removed from the free JPEG software.
-+(Since arithmetic coding provides only a marginal gain over the unpatented
-+Huffman mode, it is unlikely that very many implementations will support it.)
-+So far as we are aware, there are no patent restrictions on the remaining
-+code.
-+
-+The IJG distribution formerly included code to read and write GIF files.
-+To avoid entanglement with the Unisys LZW patent, GIF reading support has
-+been removed altogether, and the GIF writer has been simplified to produce
-+"uncompressed GIFs". This technique does not use the LZW algorithm; the
-+resulting GIF files are larger than usual, but are readable by all standard
-+GIF decoders.
-+
-+We are required to state that
-+ "The Graphics Interchange Format(c) is the Copyright property of
-+ CompuServe Incorporated. GIF(sm) is a Service Mark property of
-+ CompuServe Incorporated."
-+
-+
-+REFERENCES
-+==========
-+
-+We highly recommend reading one or more of these references before trying to
-+understand the innards of the JPEG software.
-+
-+The best short technical introduction to the JPEG compression algorithm is
-+ Wallace, Gregory K. "The JPEG Still Picture Compression Standard",
-+ Communications of the ACM, April 1991 (vol. 34 no. 4), pp. 30-44.
-+(Adjacent articles in that issue discuss MPEG motion picture compression,
-+applications of JPEG, and related topics.) If you don't have the CACM issue
-+handy, a PostScript file containing a revised version of Wallace's article is
-+available at ftp://ftp.uu.net/graphics/jpeg/wallace.ps.gz. The file (actually
-+a preprint for an article that appeared in IEEE Trans. Consumer Electronics)
-+omits the sample images that appeared in CACM, but it includes corrections
-+and some added material. Note: the Wallace article is copyright ACM and IEEE,
-+and it may not be used for commercial purposes.
-+
-+A somewhat less technical, more leisurely introduction to JPEG can be found in
-+"The Data Compression Book" by Mark Nelson and Jean-loup Gailly, published by
-+M&T Books (New York), 2nd ed. 1996, ISBN 1-55851-434-1. This book provides
-+good explanations and example C code for a multitude of compression methods
-+including JPEG. It is an excellent source if you are comfortable reading C
-+code but don't know much about data compression in general. The book's JPEG
-+sample code is far from industrial-strength, but when you are ready to look
-+at a full implementation, you've got one here...
-+
-+The best full description of JPEG is the textbook "JPEG Still Image Data
-+Compression Standard" by William B. Pennebaker and Joan L. Mitchell, published
-+by Van Nostrand Reinhold, 1993, ISBN 0-442-01272-1. Price US$59.95, 638 pp.
-+The book includes the complete text of the ISO JPEG standards (DIS 10918-1
-+and draft DIS 10918-2). This is by far the most complete exposition of JPEG
-+in existence, and we highly recommend it.
-+
-+The JPEG standard itself is not available electronically; you must order a
-+paper copy through ISO or ITU. (Unless you feel a need to own a certified
-+official copy, we recommend buying the Pennebaker and Mitchell book instead;
-+it's much cheaper and includes a great deal of useful explanatory material.)
-+In the USA, copies of the standard may be ordered from ANSI Sales at (212)
-+642-4900, or from Global Engineering Documents at (800) 854-7179. (ANSI
-+doesn't take credit card orders, but Global does.) It's not cheap: as of
-+1992, ANSI was charging $95 for Part 1 and $47 for Part 2, plus 7%
-+shipping/handling. The standard is divided into two parts, Part 1 being the
-+actual specification, while Part 2 covers compliance testing methods. Part 1
-+is titled "Digital Compression and Coding of Continuous-tone Still Images,
-+Part 1: Requirements and guidelines" and has document numbers ISO/IEC IS
-+10918-1, ITU-T T.81. Part 2 is titled "Digital Compression and Coding of
-+Continuous-tone Still Images, Part 2: Compliance testing" and has document
-+numbers ISO/IEC IS 10918-2, ITU-T T.83.
-+
-+Some extensions to the original JPEG standard are defined in JPEG Part 3,
-+a newer ISO standard numbered ISO/IEC IS 10918-3 and ITU-T T.84. IJG
-+currently does not support any Part 3 extensions.
-+
-+The JPEG standard does not specify all details of an interchangeable file
-+format. For the omitted details we follow the "JFIF" conventions, revision
-+1.02. A copy of the JFIF spec is available from:
-+ Literature Department
-+ C-Cube Microsystems, Inc.
-+ 1778 McCarthy Blvd.
-+ Milpitas, CA 95035
-+ phone (408) 944-6300, fax (408) 944-6314
-+A PostScript version of this document is available by FTP at
-+ftp://ftp.uu.net/graphics/jpeg/jfif.ps.gz. There is also a plain text
-+version at ftp://ftp.uu.net/graphics/jpeg/jfif.txt.gz, but it is missing
-+the figures.
-+
-+The TIFF 6.0 file format specification can be obtained by FTP from
-+ftp://ftp.sgi.com/graphics/tiff/TIFF6.ps.gz. The JPEG incorporation scheme
-+found in the TIFF 6.0 spec of 3-June-92 has a number of serious problems.
-+IJG does not recommend use of the TIFF 6.0 design (TIFF Compression tag 6).
-+Instead, we recommend the JPEG design proposed by TIFF Technical Note #2
-+(Compression tag 7). Copies of this Note can be obtained from ftp.sgi.com or
-+from ftp://ftp.uu.net/graphics/jpeg/. It is expected that the next revision
-+of the TIFF spec will replace the 6.0 JPEG design with the Note's design.
-+Although IJG's own code does not support TIFF/JPEG, the free libtiff library
-+uses our library to implement TIFF/JPEG per the Note. libtiff is available
-+from ftp://ftp.sgi.com/graphics/tiff/.
-+
-+
-+ARCHIVE LOCATIONS
-+=================
-+
-+The "official" archive site for this software is ftp.uu.net (Internet
-+address 192.48.96.9). The most recent released version can always be found
-+there in directory graphics/jpeg. This particular version will be archived
-+as ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz. If you don't have
-+direct Internet access, UUNET's archives are also available via UUCP; contact
-+help@uunet.uu.net for information on retrieving files that way.
-+
-+Numerous Internet sites maintain copies of the UUNET files. However, only
-+ftp.uu.net is guaranteed to have the latest official version.
-+
-+You can also obtain this software in DOS-compatible "zip" archive format from
-+the SimTel archives (ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/), or
-+on CompuServe in the Graphics Support forum (GO CIS:GRAPHSUP), library 12
-+"JPEG Tools". Again, these versions may sometimes lag behind the ftp.uu.net
-+release.
-+
-+The JPEG FAQ (Frequently Asked Questions) article is a useful source of
-+general information about JPEG. It is updated constantly and therefore is
-+not included in this distribution. The FAQ is posted every two weeks to
-+Usenet newsgroups comp.graphics.misc, news.answers, and other groups.
-+It is available on the World Wide Web at http://www.faqs.org/faqs/jpeg-faq/
-+and other news.answers archive sites, including the official news.answers
-+archive at rtfm.mit.edu: ftp://rtfm.mit.edu/pub/usenet/news.answers/jpeg-faq/.
-+If you don't have Web or FTP access, send e-mail to mail-server@rtfm.mit.edu
-+with body
-+ send usenet/news.answers/jpeg-faq/part1
-+ send usenet/news.answers/jpeg-faq/part2
-+
-+
-+RELATED SOFTWARE
-+================
-+
-+Numerous viewing and image manipulation programs now support JPEG. (Quite a
-+few of them use this library to do so.) The JPEG FAQ described above lists
-+some of the more popular free and shareware viewers, and tells where to
-+obtain them on Internet.
-+
-+If you are on a Unix machine, we highly recommend Jef Poskanzer's free
-+PBMPLUS software, which provides many useful operations on PPM-format image
-+files. In particular, it can convert PPM images to and from a wide range of
-+other formats, thus making cjpeg/djpeg considerably more useful. The latest
-+version is distributed by the NetPBM group, and is available from numerous
-+sites, notably ftp://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM/.
-+Unfortunately PBMPLUS/NETPBM is not nearly as portable as the IJG software is;
-+you are likely to have difficulty making it work on any non-Unix machine.
-+
-+A different free JPEG implementation, written by the PVRG group at Stanford,
-+is available from ftp://havefun.stanford.edu/pub/jpeg/. This program
-+is designed for research and experimentation rather than production use;
-+it is slower, harder to use, and less portable than the IJG code, but it
-+is easier to read and modify. Also, the PVRG code supports lossless JPEG,
-+which we do not. (On the other hand, it doesn't do progressive JPEG.)
-+
-+
-+FILE FORMAT WARS
-+================
-+
-+Some JPEG programs produce files that are not compatible with our library.
-+The root of the problem is that the ISO JPEG committee failed to specify a
-+concrete file format. Some vendors "filled in the blanks" on their own,
-+creating proprietary formats that no one else could read. (For example, none
-+of the early commercial JPEG implementations for the Macintosh were able to
-+exchange compressed files.)
-+
-+The file format we have adopted is called JFIF (see REFERENCES). This format
-+has been agreed to by a number of major commercial JPEG vendors, and it has
-+become the de facto standard. JFIF is a minimal or "low end" representation.
-+We recommend the use of TIFF/JPEG (TIFF revision 6.0 as modified by TIFF
-+Technical Note #2) for "high end" applications that need to record a lot of
-+additional data about an image. TIFF/JPEG is fairly new and not yet widely
-+supported, unfortunately.
-+
-+The upcoming JPEG Part 3 standard defines a file format called SPIFF.
-+SPIFF is interoperable with JFIF, in the sense that most JFIF decoders should
-+be able to read the most common variant of SPIFF. SPIFF has some technical
-+advantages over JFIF, but its major claim to fame is simply that it is an
-+official standard rather than an informal one. At this point it is unclear
-+whether SPIFF will supersede JFIF or whether JFIF will remain the de-facto
-+standard. IJG intends to support SPIFF once the standard is frozen, but we
-+have not decided whether it should become our default output format or not.
-+(In any case, our decoder will remain capable of reading JFIF indefinitely.)
-+
-+Various proprietary file formats incorporating JPEG compression also exist.
-+We have little or no sympathy for the existence of these formats. Indeed,
-+one of the original reasons for developing this free software was to help
-+force convergence on common, open format standards for JPEG files. Don't
-+use a proprietary file format!
-+
-+
-+TO DO
-+=====
-+
-+The major thrust for v7 will probably be improvement of visual quality.
-+The current method for scaling the quantization tables is known not to be
-+very good at low Q values. We also intend to investigate block boundary
-+smoothing, "poor man's variable quantization", and other means of improving
-+quality-vs-file-size performance without sacrificing compatibility.
-+
-+In future versions, we are considering supporting some of the upcoming JPEG
-+Part 3 extensions --- principally, variable quantization and the SPIFF file
-+format.
-+
-+As always, speeding things up is of great interest.
-+
-+Please send bug reports, offers of help, etc. to jpeg-info@uunet.uu.net.
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about_files/about_cairo.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about_files/about_cairo.html 2009-12-23 15:14:12.580564039 -0500
-@@ -0,0 +1,48 @@
-+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-+<html>
-+<head>
-+<title>About</title>
-+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>March 27, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation has included the following package for your convenience:</p>
-+
-+<h4>Cairo 1.0.2 for Linux</h4>
-+
-+<p>Cairo for Linux (&quot;Cairo&quot;) is developed by The Cairo Project (<a href="http://www.cairographics.org" target="_blank">http://www.cairographics.org</a>):</p>
-+
-+<p>Cairo is delivered in the following file (&quot;Cairo Library&quot;):</p>
-+<ul>
-+ <li>libcairo-swt.so</li>
-+</ul>
-+
-+<p>which was compiled from Cairo source code available at <a href="http://www.cairographics.org/snapshots" target="_blank">http://www.cairographics.org/snapshots</a>.</p>
-+
-+<p>Your use of the Cairo code in binary form is subject to
-+the terms and conditions of Mozilla Public License Version 1.1 (&quot;MPL&quot;). A copy of the MPL is provided (<a href="mpl-v11.txt" target="blank">mpl-v11.txt</a>)
-+and is also available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html" target="_blank">http://www.mozilla.org/MPL/MPL-1.1.html.</a>
-+
-+<h4>pixman 0.1.6</h4>
-+
-+<p>pixman (&quot;pixman&quot;) is packaged within the Cairo Library and was compiled from source code available at
-+<a href="http://www.cairographics.org/snapshots" target="_blank">http://www.cairographics.org/snapshots</a>.
-+pixman includes the following packages:</p>
-+
-+<ul>
-+ <li>libpixregion</li>
-+ <li>libic</li>
-+ <li>slim</li>
-+</ul>
-+
-+Your use of pixman is subject to the terms and conditions of the licenses in <a href="pixman-licenses.txt" target="blank">pixman-licenses.txt</a>.</p>
-+
-+<p>If you did not receive the Cairo Library directly from the Eclipse Foundation, the package is being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply its use. Check the Redistributor's license that was provided with the content. If no such license exists, contact the Redistributor.</p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about_files/lgpl-v21.txt 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about_files/lgpl-v21.txt 2009-12-23 15:14:12.581568062 -0500
-@@ -0,0 +1,506 @@
-+ GNU LESSER GENERAL PUBLIC LICENSE
-+ Version 2.1, February 1999
-+
-+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
-+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-+ Everyone is permitted to copy and distribute verbatim copies
-+ of this license document, but changing it is not allowed.
-+
-+[This is the first released version of the Lesser GPL. It also counts
-+ as the successor of the GNU Library Public License, version 2, hence
-+ the version number 2.1.]
-+
-+ Preamble
-+
-+ The licenses for most software are designed to take away your
-+freedom to share and change it. By contrast, the GNU General Public
-+Licenses are intended to guarantee your freedom to share and change
-+free software--to make sure the software is free for all its users.
-+
-+ This license, the Lesser General Public License, applies to some
-+specially designated software packages--typically libraries--of the
-+Free Software Foundation and other authors who decide to use it. You
-+can use it too, but we suggest you first think carefully about whether
-+this license or the ordinary General Public License is the better
-+strategy to use in any particular case, based on the explanations below.
-+
-+ When we speak of free software, we are referring to freedom of use,
-+not price. Our General Public Licenses are designed to make sure that
-+you have the freedom to distribute copies of free software (and charge
-+for this service if you wish); that you receive source code or can get
-+it if you want it; that you can change the software and use pieces of
-+it in new free programs; and that you are informed that you can do
-+these things.
-+
-+ To protect your rights, we need to make restrictions that forbid
-+distributors to deny you these rights or to ask you to surrender these
-+rights. These restrictions translate to certain responsibilities for
-+you if you distribute copies of the library or if you modify it.
-+
-+ For example, if you distribute copies of the library, whether gratis
-+or for a fee, you must give the recipients all the rights that we gave
-+you. You must make sure that they, too, receive or can get the source
-+code. If you link other code with the library, you must provide
-+complete object files to the recipients, so that they can relink them
-+with the library after making changes to the library and recompiling
-+it. And you must show them these terms so they know their rights.
-+
-+ We protect your rights with a two-step method: (1) we copyright the
-+library, and (2) we offer you this license, which gives you legal
-+permission to copy, distribute and/or modify the library.
-+
-+ To protect each distributor, we want to make it very clear that
-+there is no warranty for the free library. Also, if the library is
-+modified by someone else and passed on, the recipients should know
-+that what they have is not the original version, so that the original
-+author's reputation will not be affected by problems that might be
-+introduced by others.
-+
-+ Finally, software patents pose a constant threat to the existence of
-+any free program. We wish to make sure that a company cannot
-+effectively restrict the users of a free program by obtaining a
-+restrictive license from a patent holder. Therefore, we insist that
-+any patent license obtained for a version of the library must be
-+consistent with the full freedom of use specified in this license.
-+
-+ Most GNU software, including some libraries, is covered by the
-+ordinary GNU General Public License. This license, the GNU Lesser
-+General Public License, applies to certain designated libraries, and
-+is quite different from the ordinary General Public License. We use
-+this license for certain libraries in order to permit linking those
-+libraries into non-free programs.
-+
-+ When a program is linked with a library, whether statically or using
-+a shared library, the combination of the two is legally speaking a
-+combined work, a derivative of the original library. The ordinary
-+General Public License therefore permits such linking only if the
-+entire combination fits its criteria of freedom. The Lesser General
-+Public License permits more lax criteria for linking other code with
-+the library.
-+
-+ We call this license the "Lesser" General Public License because it
-+does Less to protect the user's freedom than the ordinary General
-+Public License. It also provides other free software developers Less
-+of an advantage over competing non-free programs. These disadvantages
-+are the reason we use the ordinary General Public License for many
-+libraries. However, the Lesser license provides advantages in certain
-+special circumstances.
-+
-+ For example, on rare occasions, there may be a special need to
-+encourage the widest possible use of a certain library, so that it becomes
-+a de-facto standard. To achieve this, non-free programs must be
-+allowed to use the library. A more frequent case is that a free
-+library does the same job as widely used non-free libraries. In this
-+case, there is little to gain by limiting the free library to free
-+software only, so we use the Lesser General Public License.
-+
-+ In other cases, permission to use a particular library in non-free
-+programs enables a greater number of people to use a large body of
-+free software. For example, permission to use the GNU C Library in
-+non-free programs enables many more people to use the whole GNU
-+operating system, as well as its variant, the GNU/Linux operating
-+system.
-+
-+ Although the Lesser General Public License is Less protective of the
-+users' freedom, it does ensure that the user of a program that is
-+linked with the Library has the freedom and the wherewithal to run
-+that program using a modified version of the Library.
-+
-+ The precise terms and conditions for copying, distribution and
-+modification follow. Pay close attention to the difference between a
-+"work based on the library" and a "work that uses the library". The
-+former contains code derived from the library, whereas the latter must
-+be combined with the library in order to run.
-+
-+ GNU LESSER GENERAL PUBLIC LICENSE
-+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-+
-+ 0. This License Agreement applies to any software library or other
-+program which contains a notice placed by the copyright holder or
-+other authorized party saying it may be distributed under the terms of
-+this Lesser General Public License (also called "this License").
-+Each licensee is addressed as "you".
-+
-+ A "library" means a collection of software functions and/or data
-+prepared so as to be conveniently linked with application programs
-+(which use some of those functions and data) to form executables.
-+
-+ The "Library", below, refers to any such software library or work
-+which has been distributed under these terms. A "work based on the
-+Library" means either the Library or any derivative work under
-+copyright law: that is to say, a work containing the Library or a
-+portion of it, either verbatim or with modifications and/or translated
-+straightforwardly into another language. (Hereinafter, translation is
-+included without limitation in the term "modification".)
-+
-+ "Source code" for a work means the preferred form of the work for
-+making modifications to it. For a library, complete source code means
-+all the source code for all modules it contains, plus any associated
-+interface definition files, plus the scripts used to control compilation
-+and installation of the library.
-+
-+ Activities other than copying, distribution and modification are not
-+covered by this License; they are outside its scope. The act of
-+running a program using the Library is not restricted, and output from
-+such a program is covered only if its contents constitute a work based
-+on the Library (independent of the use of the Library in a tool for
-+writing it). Whether that is true depends on what the Library does
-+and what the program that uses the Library does.
-+
-+ 1. You may copy and distribute verbatim copies of the Library's
-+complete source code as you receive it, in any medium, provided that
-+you conspicuously and appropriately publish on each copy an
-+appropriate copyright notice and disclaimer of warranty; keep intact
-+all the notices that refer to this License and to the absence of any
-+warranty; and distribute a copy of this License along with the
-+Library.
-+
-+ You may charge a fee for the physical act of transferring a copy,
-+and you may at your option offer warranty protection in exchange for a
-+fee.
-+
-+ 2. You may modify your copy or copies of the Library or any portion
-+of it, thus forming a work based on the Library, and copy and
-+distribute such modifications or work under the terms of Section 1
-+above, provided that you also meet all of these conditions:
-+
-+ a) The modified work must itself be a software library.
-+
-+ b) You must cause the files modified to carry prominent notices
-+ stating that you changed the files and the date of any change.
-+
-+ c) You must cause the whole of the work to be licensed at no
-+ charge to all third parties under the terms of this License.
-+
-+ d) If a facility in the modified Library refers to a function or a
-+ table of data to be supplied by an application program that uses
-+ the facility, other than as an argument passed when the facility
-+ is invoked, then you must make a good faith effort to ensure that,
-+ in the event an application does not supply such function or
-+ table, the facility still operates, and performs whatever part of
-+ its purpose remains meaningful.
-+
-+ (For example, a function in a library to compute square roots has
-+ a purpose that is entirely well-defined independent of the
-+ application. Therefore, Subsection 2d requires that any
-+ application-supplied function or table used by this function must
-+ be optional: if the application does not supply it, the square
-+ root function must still compute square roots.)
-+
-+These requirements apply to the modified work as a whole. If
-+identifiable sections of that work are not derived from the Library,
-+and can be reasonably considered independent and separate works in
-+themselves, then this License, and its terms, do not apply to those
-+sections when you distribute them as separate works. But when you
-+distribute the same sections as part of a whole which is a work based
-+on the Library, the distribution of the whole must be on the terms of
-+this License, whose permissions for other licensees extend to the
-+entire whole, and thus to each and every part regardless of who wrote
-+it.
-+
-+Thus, it is not the intent of this section to claim rights or contest
-+your rights to work written entirely by you; rather, the intent is to
-+exercise the right to control the distribution of derivative or
-+collective works based on the Library.
-+
-+In addition, mere aggregation of another work not based on the Library
-+with the Library (or with a work based on the Library) on a volume of
-+a storage or distribution medium does not bring the other work under
-+the scope of this License.
-+
-+ 3. You may opt to apply the terms of the ordinary GNU General Public
-+License instead of this License to a given copy of the Library. To do
-+this, you must alter all the notices that refer to this License, so
-+that they refer to the ordinary GNU General Public License, version 2,
-+instead of to this License. (If a newer version than version 2 of the
-+ordinary GNU General Public License has appeared, then you can specify
-+that version instead if you wish.) Do not make any other change in
-+these notices.
-+
-+ Once this change is made in a given copy, it is irreversible for
-+that copy, so the ordinary GNU General Public License applies to all
-+subsequent copies and derivative works made from that copy.
-+
-+ This option is useful when you wish to copy part of the code of
-+the Library into a program that is not a library.
-+
-+ 4. You may copy and distribute the Library (or a portion or
-+derivative of it, under Section 2) in object code or executable form
-+under the terms of Sections 1 and 2 above provided that you accompany
-+it with the complete corresponding machine-readable source code, which
-+must be distributed under the terms of Sections 1 and 2 above on a
-+medium customarily used for software interchange.
-+
-+ If distribution of object code is made by offering access to copy
-+from a designated place, then offering equivalent access to copy the
-+source code from the same place satisfies the requirement to
-+distribute the source code, even though third parties are not
-+compelled to copy the source along with the object code.
-+
-+ 5. A program that contains no derivative of any portion of the
-+Library, but is designed to work with the Library by being compiled or
-+linked with it, is called a "work that uses the Library". Such a
-+work, in isolation, is not a derivative work of the Library, and
-+therefore falls outside the scope of this License.
-+
-+ However, linking a "work that uses the Library" with the Library
-+creates an executable that is a derivative of the Library (because it
-+contains portions of the Library), rather than a "work that uses the
-+library". The executable is therefore covered by this License.
-+Section 6 states terms for distribution of such executables.
-+
-+ When a "work that uses the Library" uses material from a header file
-+that is part of the Library, the object code for the work may be a
-+derivative work of the Library even though the source code is not.
-+Whether this is true is especially significant if the work can be
-+linked without the Library, or if the work is itself a library. The
-+threshold for this to be true is not precisely defined by law.
-+
-+ If such an object file uses only numerical parameters, data
-+structure layouts and accessors, and small macros and small inline
-+functions (ten lines or less in length), then the use of the object
-+file is unrestricted, regardless of whether it is legally a derivative
-+work. (Executables containing this object code plus portions of the
-+Library will still fall under Section 6.)
-+
-+ Otherwise, if the work is a derivative of the Library, you may
-+distribute the object code for the work under the terms of Section 6.
-+Any executables containing that work also fall under Section 6,
-+whether or not they are linked directly with the Library itself.
-+
-+ 6. As an exception to the Sections above, you may also combine or
-+link a "work that uses the Library" with the Library to produce a
-+work containing portions of the Library, and distribute that work
-+under terms of your choice, provided that the terms permit
-+modification of the work for the customer's own use and reverse
-+engineering for debugging such modifications.
-+
-+ You must give prominent notice with each copy of the work that the
-+Library is used in it and that the Library and its use are covered by
-+this License. You must supply a copy of this License. If the work
-+during execution displays copyright notices, you must include the
-+copyright notice for the Library among them, as well as a reference
-+directing the user to the copy of this License. Also, you must do one
-+of these things:
-+
-+ a) Accompany the work with the complete corresponding
-+ machine-readable source code for the Library including whatever
-+ changes were used in the work (which must be distributed under
-+ Sections 1 and 2 above); and, if the work is an executable linked
-+ with the Library, with the complete machine-readable "work that
-+ uses the Library", as object code and/or source code, so that the
-+ user can modify the Library and then relink to produce a modified
-+ executable containing the modified Library. (It is understood
-+ that the user who changes the contents of definitions files in the
-+ Library will not necessarily be able to recompile the application
-+ to use the modified definitions.)
-+
-+ b) Use a suitable shared library mechanism for linking with the
-+ Library. A suitable mechanism is one that (1) uses at run time a
-+ copy of the library already present on the user's computer system,
-+ rather than copying library functions into the executable, and (2)
-+ will operate properly with a modified version of the library, if
-+ the user installs one, as long as the modified version is
-+ interface-compatible with the version that the work was made with.
-+
-+ c) Accompany the work with a written offer, valid for at
-+ least three years, to give the same user the materials
-+ specified in Subsection 6a, above, for a charge no more
-+ than the cost of performing this distribution.
-+
-+ d) If distribution of the work is made by offering access to copy
-+ from a designated place, offer equivalent access to copy the above
-+ specified materials from the same place.
-+
-+ e) Verify that the user has already received a copy of these
-+ materials or that you have already sent this user a copy.
-+
-+ For an executable, the required form of the "work that uses the
-+Library" must include any data and utility programs needed for
-+reproducing the executable from it. However, as a special exception,
-+the materials to be distributed need not include anything that is
-+normally distributed (in either source or binary form) with the major
-+components (compiler, kernel, and so on) of the operating system on
-+which the executable runs, unless that component itself accompanies
-+the executable.
-+
-+ It may happen that this requirement contradicts the license
-+restrictions of other proprietary libraries that do not normally
-+accompany the operating system. Such a contradiction means you cannot
-+use both them and the Library together in an executable that you
-+distribute.
-+
-+ 7. You may place library facilities that are a work based on the
-+Library side-by-side in a single library together with other library
-+facilities not covered by this License, and distribute such a combined
-+library, provided that the separate distribution of the work based on
-+the Library and of the other library facilities is otherwise
-+permitted, and provided that you do these two things:
-+
-+ a) Accompany the combined library with a copy of the same work
-+ based on the Library, uncombined with any other library
-+ facilities. This must be distributed under the terms of the
-+ Sections above.
-+
-+ b) Give prominent notice with the combined library of the fact
-+ that part of it is a work based on the Library, and explaining
-+ where to find the accompanying uncombined form of the same work.
-+
-+ 8. You may not copy, modify, sublicense, link with, or distribute
-+the Library except as expressly provided under this License. Any
-+attempt otherwise to copy, modify, sublicense, link with, or
-+distribute the Library is void, and will automatically terminate your
-+rights under this License. However, parties who have received copies,
-+or rights, from you under this License will not have their licenses
-+terminated so long as such parties remain in full compliance.
-+
-+ 9. You are not required to accept this License, since you have not
-+signed it. However, nothing else grants you permission to modify or
-+distribute the Library or its derivative works. These actions are
-+prohibited by law if you do not accept this License. Therefore, by
-+modifying or distributing the Library (or any work based on the
-+Library), you indicate your acceptance of this License to do so, and
-+all its terms and conditions for copying, distributing or modifying
-+the Library or works based on it.
-+
-+ 10. Each time you redistribute the Library (or any work based on the
-+Library), the recipient automatically receives a license from the
-+original licensor to copy, distribute, link with or modify the Library
-+subject to these terms and conditions. You may not impose any further
-+restrictions on the recipients' exercise of the rights granted herein.
-+You are not responsible for enforcing compliance by third parties with
-+this License.
-+
-+ 11. If, as a consequence of a court judgment or allegation of patent
-+infringement or for any other reason (not limited to patent issues),
-+conditions are imposed on you (whether by court order, agreement or
-+otherwise) that contradict the conditions of this License, they do not
-+excuse you from the conditions of this License. If you cannot
-+distribute so as to satisfy simultaneously your obligations under this
-+License and any other pertinent obligations, then as a consequence you
-+may not distribute the Library at all. For example, if a patent
-+license would not permit royalty-free redistribution of the Library by
-+all those who receive copies directly or indirectly through you, then
-+the only way you could satisfy both it and this License would be to
-+refrain entirely from distribution of the Library.
-+
-+If any portion of this section is held invalid or unenforceable under any
-+particular circumstance, the balance of the section is intended to apply,
-+and the section as a whole is intended to apply in other circumstances.
-+
-+It is not the purpose of this section to induce you to infringe any
-+patents or other property right claims or to contest validity of any
-+such claims; this section has the sole purpose of protecting the
-+integrity of the free software distribution system which is
-+implemented by public license practices. Many people have made
-+generous contributions to the wide range of software distributed
-+through that system in reliance on consistent application of that
-+system; it is up to the author/donor to decide if he or she is willing
-+to distribute software through any other system and a licensee cannot
-+impose that choice.
-+
-+This section is intended to make thoroughly clear what is believed to
-+be a consequence of the rest of this License.
-+
-+ 12. If the distribution and/or use of the Library is restricted in
-+certain countries either by patents or by copyrighted interfaces, the
-+original copyright holder who places the Library under this License may add
-+an explicit geographical distribution limitation excluding those countries,
-+so that distribution is permitted only in or among countries not thus
-+excluded. In such case, this License incorporates the limitation as if
-+written in the body of this License.
-+
-+ 13. The Free Software Foundation may publish revised and/or new
-+versions of the Lesser General Public License from time to time.
-+Such new versions will be similar in spirit to the present version,
-+but may differ in detail to address new problems or concerns.
-+
-+Each version is given a distinguishing version number. If the Library
-+specifies a version number of this License which applies to it and
-+"any later version", you have the option of following the terms and
-+conditions either of that version or of any later version published by
-+the Free Software Foundation. If the Library does not specify a
-+license version number, you may choose any version ever published by
-+the Free Software Foundation.
-+
-+ 14. If you wish to incorporate parts of the Library into other free
-+programs whose distribution conditions are incompatible with these,
-+write to the author to ask for permission. For software which is
-+copyrighted by the Free Software Foundation, write to the Free
-+Software Foundation; we sometimes make exceptions for this. Our
-+decision will be guided by the two goals of preserving the free status
-+of all derivatives of our free software and of promoting the sharing
-+and reuse of software generally.
-+
-+ NO WARRANTY
-+
-+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-+
-+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-+DAMAGES.
-+
-+ END OF TERMS AND CONDITIONS
-+
-+ How to Apply These Terms to Your New Libraries
-+
-+ If you develop a new library, and you want it to be of the greatest
-+possible use to the public, we recommend making it free software that
-+everyone can redistribute and change. You can do so by permitting
-+redistribution under these terms (or, alternatively, under the terms of the
-+ordinary General Public License).
-+
-+ To apply these terms, attach the following notices to the library. It is
-+safest to attach them to the start of each source file to most effectively
-+convey the exclusion of warranty; and each file should have at least the
-+"copyright" line and a pointer to where the full notice is found.
-+
-+ <one line to give the library's name and a brief idea of what it does.>
-+ Copyright (C) <year> <name of author>
-+
-+ This library is free software; you can redistribute it and/or
-+ modify it under the terms of the GNU Lesser General Public
-+ License as published by the Free Software Foundation; either
-+ version 2.1 of the License, or (at your option) any later version.
-+
-+ This library is distributed in the hope that it will be useful,
-+ but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-+ Lesser General Public License for more details.
-+
-+ You should have received a copy of the GNU Lesser General Public
-+ License along with this library; if not, write to the Free Software
-+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-+
-+Also add information on how to contact you by electronic and paper mail.
-+
-+You should also get your employer (if you work as a programmer) or your
-+school, if any, to sign a "copyright disclaimer" for the library, if
-+necessary. Here is a sample; alter the names:
-+
-+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
-+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-+
-+ <signature of Ty Coon>, 1 April 1990
-+ Ty Coon, President of Vice
-+
-+That's all there is to it!
-+
-+
-+
-+
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about_files/mpl-v11.txt 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about_files/mpl-v11.txt 2009-12-23 15:14:12.581568062 -0500
-@@ -0,0 +1,470 @@
-+ MOZILLA PUBLIC LICENSE
-+ Version 1.1
-+
-+ ---------------
-+
-+1. Definitions.
-+
-+ 1.0.1. "Commercial Use" means distribution or otherwise making the
-+ Covered Code available to a third party.
-+
-+ 1.1. "Contributor" means each entity that creates or contributes to
-+ the creation of Modifications.
-+
-+ 1.2. "Contributor Version" means the combination of the Original
-+ Code, prior Modifications used by a Contributor, and the Modifications
-+ made by that particular Contributor.
-+
-+ 1.3. "Covered Code" means the Original Code or Modifications or the
-+ combination of the Original Code and Modifications, in each case
-+ including portions thereof.
-+
-+ 1.4. "Electronic Distribution Mechanism" means a mechanism generally
-+ accepted in the software development community for the electronic
-+ transfer of data.
-+
-+ 1.5. "Executable" means Covered Code in any form other than Source
-+ Code.
-+
-+ 1.6. "Initial Developer" means the individual or entity identified
-+ as the Initial Developer in the Source Code notice required by Exhibit
-+ A.
-+
-+ 1.7. "Larger Work" means a work which combines Covered Code or
-+ portions thereof with code not governed by the terms of this License.
-+
-+ 1.8. "License" means this document.
-+
-+ 1.8.1. "Licensable" means having the right to grant, to the maximum
-+ extent possible, whether at the time of the initial grant or
-+ subsequently acquired, any and all of the rights conveyed herein.
-+
-+ 1.9. "Modifications" means any addition to or deletion from the
-+ substance or structure of either the Original Code or any previous
-+ Modifications. When Covered Code is released as a series of files, a
-+ Modification is:
-+ A. Any addition to or deletion from the contents of a file
-+ containing Original Code or previous Modifications.
-+
-+ B. Any new file that contains any part of the Original Code or
-+ previous Modifications.
-+
-+ 1.10. "Original Code" means Source Code of computer software code
-+ which is described in the Source Code notice required by Exhibit A as
-+ Original Code, and which, at the time of its release under this
-+ License is not already Covered Code governed by this License.
-+
-+ 1.10.1. "Patent Claims" means any patent claim(s), now owned or
-+ hereafter acquired, including without limitation, method, process,
-+ and apparatus claims, in any patent Licensable by grantor.
-+
-+ 1.11. "Source Code" means the preferred form of the Covered Code for
-+ making modifications to it, including all modules it contains, plus
-+ any associated interface definition files, scripts used to control
-+ compilation and installation of an Executable, or source code
-+ differential comparisons against either the Original Code or another
-+ well known, available Covered Code of the Contributor's choice. The
-+ Source Code can be in a compressed or archival form, provided the
-+ appropriate decompression or de-archiving software is widely available
-+ for no charge.
-+
-+ 1.12. "You" (or "Your") means an individual or a legal entity
-+ exercising rights under, and complying with all of the terms of, this
-+ License or a future version of this License issued under Section 6.1.
-+ For legal entities, "You" includes any entity which controls, is
-+ controlled by, or is under common control with You. For purposes of
-+ this definition, "control" means (a) the power, direct or indirect,
-+ to cause the direction or management of such entity, whether by
-+ contract or otherwise, or (b) ownership of more than fifty percent
-+ (50%) of the outstanding shares or beneficial ownership of such
-+ entity.
-+
-+2. Source Code License.
-+
-+ 2.1. The Initial Developer Grant.
-+ The Initial Developer hereby grants You a world-wide, royalty-free,
-+ non-exclusive license, subject to third party intellectual property
-+ claims:
-+ (a) under intellectual property rights (other than patent or
-+ trademark) Licensable by Initial Developer to use, reproduce,
-+ modify, display, perform, sublicense and distribute the Original
-+ Code (or portions thereof) with or without Modifications, and/or
-+ as part of a Larger Work; and
-+
-+ (b) under Patents Claims infringed by the making, using or
-+ selling of Original Code, to make, have made, use, practice,
-+ sell, and offer for sale, and/or otherwise dispose of the
-+ Original Code (or portions thereof).
-+
-+ (c) the licenses granted in this Section 2.1(a) and (b) are
-+ effective on the date Initial Developer first distributes
-+ Original Code under the terms of this License.
-+
-+ (d) Notwithstanding Section 2.1(b) above, no patent license is
-+ granted: 1) for code that You delete from the Original Code; 2)
-+ separate from the Original Code; or 3) for infringements caused
-+ by: i) the modification of the Original Code or ii) the
-+ combination of the Original Code with other software or devices.
-+
-+ 2.2. Contributor Grant.
-+ Subject to third party intellectual property claims, each Contributor
-+ hereby grants You a world-wide, royalty-free, non-exclusive license
-+
-+ (a) under intellectual property rights (other than patent or
-+ trademark) Licensable by Contributor, to use, reproduce, modify,
-+ display, perform, sublicense and distribute the Modifications
-+ created by such Contributor (or portions thereof) either on an
-+ unmodified basis, with other Modifications, as Covered Code
-+ and/or as part of a Larger Work; and
-+
-+ (b) under Patent Claims infringed by the making, using, or
-+ selling of Modifications made by that Contributor either alone
-+ and/or in combination with its Contributor Version (or portions
-+ of such combination), to make, use, sell, offer for sale, have
-+ made, and/or otherwise dispose of: 1) Modifications made by that
-+ Contributor (or portions thereof); and 2) the combination of
-+ Modifications made by that Contributor with its Contributor
-+ Version (or portions of such combination).
-+
-+ (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
-+ effective on the date Contributor first makes Commercial Use of
-+ the Covered Code.
-+
-+ (d) Notwithstanding Section 2.2(b) above, no patent license is
-+ granted: 1) for any code that Contributor has deleted from the
-+ Contributor Version; 2) separate from the Contributor Version;
-+ 3) for infringements caused by: i) third party modifications of
-+ Contributor Version or ii) the combination of Modifications made
-+ by that Contributor with other software (except as part of the
-+ Contributor Version) or other devices; or 4) under Patent Claims
-+ infringed by Covered Code in the absence of Modifications made by
-+ that Contributor.
-+
-+3. Distribution Obligations.
-+
-+ 3.1. Application of License.
-+ The Modifications which You create or to which You contribute are
-+ governed by the terms of this License, including without limitation
-+ Section 2.2. The Source Code version of Covered Code may be
-+ distributed only under the terms of this License or a future version
-+ of this License released under Section 6.1, and You must include a
-+ copy of this License with every copy of the Source Code You
-+ distribute. You may not offer or impose any terms on any Source Code
-+ version that alters or restricts the applicable version of this
-+ License or the recipients' rights hereunder. However, You may include
-+ an additional document offering the additional rights described in
-+ Section 3.5.
-+
-+ 3.2. Availability of Source Code.
-+ Any Modification which You create or to which You contribute must be
-+ made available in Source Code form under the terms of this License
-+ either on the same media as an Executable version or via an accepted
-+ Electronic Distribution Mechanism to anyone to whom you made an
-+ Executable version available; and if made available via Electronic
-+ Distribution Mechanism, must remain available for at least twelve (12)
-+ months after the date it initially became available, or at least six
-+ (6) months after a subsequent version of that particular Modification
-+ has been made available to such recipients. You are responsible for
-+ ensuring that the Source Code version remains available even if the
-+ Electronic Distribution Mechanism is maintained by a third party.
-+
-+ 3.3. Description of Modifications.
-+ You must cause all Covered Code to which You contribute to contain a
-+ file documenting the changes You made to create that Covered Code and
-+ the date of any change. You must include a prominent statement that
-+ the Modification is derived, directly or indirectly, from Original
-+ Code provided by the Initial Developer and including the name of the
-+ Initial Developer in (a) the Source Code, and (b) in any notice in an
-+ Executable version or related documentation in which You describe the
-+ origin or ownership of the Covered Code.
-+
-+ 3.4. Intellectual Property Matters
-+ (a) Third Party Claims.
-+ If Contributor has knowledge that a license under a third party's
-+ intellectual property rights is required to exercise the rights
-+ granted by such Contributor under Sections 2.1 or 2.2,
-+ Contributor must include a text file with the Source Code
-+ distribution titled "LEGAL" which describes the claim and the
-+ party making the claim in sufficient detail that a recipient will
-+ know whom to contact. If Contributor obtains such knowledge after
-+ the Modification is made available as described in Section 3.2,
-+ Contributor shall promptly modify the LEGAL file in all copies
-+ Contributor makes available thereafter and shall take other steps
-+ (such as notifying appropriate mailing lists or newsgroups)
-+ reasonably calculated to inform those who received the Covered
-+ Code that new knowledge has been obtained.
-+
-+ (b) Contributor APIs.
-+ If Contributor's Modifications include an application programming
-+ interface and Contributor has knowledge of patent licenses which
-+ are reasonably necessary to implement that API, Contributor must
-+ also include this information in the LEGAL file.
-+
-+ (c) Representations.
-+ Contributor represents that, except as disclosed pursuant to
-+ Section 3.4(a) above, Contributor believes that Contributor's
-+ Modifications are Contributor's original creation(s) and/or
-+ Contributor has sufficient rights to grant the rights conveyed by
-+ this License.
-+
-+ 3.5. Required Notices.
-+ You must duplicate the notice in Exhibit A in each file of the Source
-+ Code. If it is not possible to put such notice in a particular Source
-+ Code file due to its structure, then You must include such notice in a
-+ location (such as a relevant directory) where a user would be likely
-+ to look for such a notice. If You created one or more Modification(s)
-+ You may add your name as a Contributor to the notice described in
-+ Exhibit A. You must also duplicate this License in any documentation
-+ for the Source Code where You describe recipients' rights or ownership
-+ rights relating to Covered Code. You may choose to offer, and to
-+ charge a fee for, warranty, support, indemnity or liability
-+ obligations to one or more recipients of Covered Code. However, You
-+ may do so only on Your own behalf, and not on behalf of the Initial
-+ Developer or any Contributor. You must make it absolutely clear than
-+ any such warranty, support, indemnity or liability obligation is
-+ offered by You alone, and You hereby agree to indemnify the Initial
-+ Developer and every Contributor for any liability incurred by the
-+ Initial Developer or such Contributor as a result of warranty,
-+ support, indemnity or liability terms You offer.
-+
-+ 3.6. Distribution of Executable Versions.
-+ You may distribute Covered Code in Executable form only if the
-+ requirements of Section 3.1-3.5 have been met for that Covered Code,
-+ and if You include a notice stating that the Source Code version of
-+ the Covered Code is available under the terms of this License,
-+ including a description of how and where You have fulfilled the
-+ obligations of Section 3.2. The notice must be conspicuously included
-+ in any notice in an Executable version, related documentation or
-+ collateral in which You describe recipients' rights relating to the
-+ Covered Code. You may distribute the Executable version of Covered
-+ Code or ownership rights under a license of Your choice, which may
-+ contain terms different from this License, provided that You are in
-+ compliance with the terms of this License and that the license for the
-+ Executable version does not attempt to limit or alter the recipient's
-+ rights in the Source Code version from the rights set forth in this
-+ License. If You distribute the Executable version under a different
-+ license You must make it absolutely clear that any terms which differ
-+ from this License are offered by You alone, not by the Initial
-+ Developer or any Contributor. You hereby agree to indemnify the
-+ Initial Developer and every Contributor for any liability incurred by
-+ the Initial Developer or such Contributor as a result of any such
-+ terms You offer.
-+
-+ 3.7. Larger Works.
-+ You may create a Larger Work by combining Covered Code with other code
-+ not governed by the terms of this License and distribute the Larger
-+ Work as a single product. In such a case, You must make sure the
-+ requirements of this License are fulfilled for the Covered Code.
-+
-+4. Inability to Comply Due to Statute or Regulation.
-+
-+ If it is impossible for You to comply with any of the terms of this
-+ License with respect to some or all of the Covered Code due to
-+ statute, judicial order, or regulation then You must: (a) comply with
-+ the terms of this License to the maximum extent possible; and (b)
-+ describe the limitations and the code they affect. Such description
-+ must be included in the LEGAL file described in Section 3.4 and must
-+ be included with all distributions of the Source Code. Except to the
-+ extent prohibited by statute or regulation, such description must be
-+ sufficiently detailed for a recipient of ordinary skill to be able to
-+ understand it.
-+
-+5. Application of this License.
-+
-+ This License applies to code to which the Initial Developer has
-+ attached the notice in Exhibit A and to related Covered Code.
-+
-+6. Versions of the License.
-+
-+ 6.1. New Versions.
-+ Netscape Communications Corporation ("Netscape") may publish revised
-+ and/or new versions of the License from time to time. Each version
-+ will be given a distinguishing version number.
-+
-+ 6.2. Effect of New Versions.
-+ Once Covered Code has been published under a particular version of the
-+ License, You may always continue to use it under the terms of that
-+ version. You may also choose to use such Covered Code under the terms
-+ of any subsequent version of the License published by Netscape. No one
-+ other than Netscape has the right to modify the terms applicable to
-+ Covered Code created under this License.
-+
-+ 6.3. Derivative Works.
-+ If You create or use a modified version of this License (which you may
-+ only do in order to apply it to code which is not already Covered Code
-+ governed by this License), You must (a) rename Your license so that
-+ the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
-+ "MPL", "NPL" or any confusingly similar phrase do not appear in your
-+ license (except to note that your license differs from this License)
-+ and (b) otherwise make it clear that Your version of the license
-+ contains terms which differ from the Mozilla Public License and
-+ Netscape Public License. (Filling in the name of the Initial
-+ Developer, Original Code or Contributor in the notice described in
-+ Exhibit A shall not of themselves be deemed to be modifications of
-+ this License.)
-+
-+7. DISCLAIMER OF WARRANTY.
-+
-+ COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
-+ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
-+ WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
-+ DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
-+ THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
-+ IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
-+ YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
-+ COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
-+ OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
-+ ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-+
-+8. TERMINATION.
-+
-+ 8.1. This License and the rights granted hereunder will terminate
-+ automatically if You fail to comply with terms herein and fail to cure
-+ such breach within 30 days of becoming aware of the breach. All
-+ sublicenses to the Covered Code which are properly granted shall
-+ survive any termination of this License. Provisions which, by their
-+ nature, must remain in effect beyond the termination of this License
-+ shall survive.
-+
-+ 8.2. If You initiate litigation by asserting a patent infringement
-+ claim (excluding declatory judgment actions) against Initial Developer
-+ or a Contributor (the Initial Developer or Contributor against whom
-+ You file such action is referred to as "Participant") alleging that:
-+
-+ (a) such Participant's Contributor Version directly or indirectly
-+ infringes any patent, then any and all rights granted by such
-+ Participant to You under Sections 2.1 and/or 2.2 of this License
-+ shall, upon 60 days notice from Participant terminate prospectively,
-+ unless if within 60 days after receipt of notice You either: (i)
-+ agree in writing to pay Participant a mutually agreeable reasonable
-+ royalty for Your past and future use of Modifications made by such
-+ Participant, or (ii) withdraw Your litigation claim with respect to
-+ the Contributor Version against such Participant. If within 60 days
-+ of notice, a reasonable royalty and payment arrangement are not
-+ mutually agreed upon in writing by the parties or the litigation claim
-+ is not withdrawn, the rights granted by Participant to You under
-+ Sections 2.1 and/or 2.2 automatically terminate at the expiration of
-+ the 60 day notice period specified above.
-+
-+ (b) any software, hardware, or device, other than such Participant's
-+ Contributor Version, directly or indirectly infringes any patent, then
-+ any rights granted to You by such Participant under Sections 2.1(b)
-+ and 2.2(b) are revoked effective as of the date You first made, used,
-+ sold, distributed, or had made, Modifications made by that
-+ Participant.
-+
-+ 8.3. If You assert a patent infringement claim against Participant
-+ alleging that such Participant's Contributor Version directly or
-+ indirectly infringes any patent where such claim is resolved (such as
-+ by license or settlement) prior to the initiation of patent
-+ infringement litigation, then the reasonable value of the licenses
-+ granted by such Participant under Sections 2.1 or 2.2 shall be taken
-+ into account in determining the amount or value of any payment or
-+ license.
-+
-+ 8.4. In the event of termination under Sections 8.1 or 8.2 above,
-+ all end user license agreements (excluding distributors and resellers)
-+ which have been validly granted by You or any distributor hereunder
-+ prior to termination shall survive termination.
-+
-+9. LIMITATION OF LIABILITY.
-+
-+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
-+ (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
-+ DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
-+ OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
-+ ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
-+ CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
-+ WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
-+ COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
-+ INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
-+ LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
-+ RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
-+ PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
-+ EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
-+ THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-+
-+10. U.S. GOVERNMENT END USERS.
-+
-+ The Covered Code is a "commercial item," as that term is defined in
-+ 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
-+ software" and "commercial computer software documentation," as such
-+ terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
-+ C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
-+ all U.S. Government End Users acquire Covered Code with only those
-+ rights set forth herein.
-+
-+11. MISCELLANEOUS.
-+
-+ This License represents the complete agreement concerning subject
-+ matter hereof. If any provision of this License is held to be
-+ unenforceable, such provision shall be reformed only to the extent
-+ necessary to make it enforceable. This License shall be governed by
-+ California law provisions (except to the extent applicable law, if
-+ any, provides otherwise), excluding its conflict-of-law provisions.
-+ With respect to disputes in which at least one party is a citizen of,
-+ or an entity chartered or registered to do business in the United
-+ States of America, any litigation relating to this License shall be
-+ subject to the jurisdiction of the Federal Courts of the Northern
-+ District of California, with venue lying in Santa Clara County,
-+ California, with the losing party responsible for costs, including
-+ without limitation, court costs and reasonable attorneys' fees and
-+ expenses. The application of the United Nations Convention on
-+ Contracts for the International Sale of Goods is expressly excluded.
-+ Any law or regulation which provides that the language of a contract
-+ shall be construed against the drafter shall not apply to this
-+ License.
-+
-+12. RESPONSIBILITY FOR CLAIMS.
-+
-+ As between Initial Developer and the Contributors, each party is
-+ responsible for claims and damages arising, directly or indirectly,
-+ out of its utilization of rights under this License and You agree to
-+ work with Initial Developer and Contributors to distribute such
-+ responsibility on an equitable basis. Nothing herein is intended or
-+ shall be deemed to constitute any admission of liability.
-+
-+13. MULTIPLE-LICENSED CODE.
-+
-+ Initial Developer may designate portions of the Covered Code as
-+ "Multiple-Licensed". "Multiple-Licensed" means that the Initial
-+ Developer permits you to utilize portions of the Covered Code under
-+ Your choice of the NPL or the alternative licenses, if any, specified
-+ by the Initial Developer in the file described in Exhibit A.
-+
-+EXHIBIT A -Mozilla Public License.
-+
-+ ``The contents of this file are subject to the Mozilla Public License
-+ Version 1.1 (the "License"); you may not use this file except in
-+ compliance with the License. You may obtain a copy of the License at
-+ http://www.mozilla.org/MPL/
-+
-+ Software distributed under the License is distributed on an "AS IS"
-+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-+ License for the specific language governing rights and limitations
-+ under the License.
-+
-+ The Original Code is ______________________________________.
-+
-+ The Initial Developer of the Original Code is ________________________.
-+ Portions created by ______________________ are Copyright (C) ______
-+ _______________________. All Rights Reserved.
-+
-+ Contributor(s): ______________________________________.
-+
-+ Alternatively, the contents of this file may be used under the terms
-+ of the _____ license (the "[___] License"), in which case the
-+ provisions of [______] License are applicable instead of those
-+ above. If you wish to allow use of your version of this file only
-+ under the terms of the [____] License and not to allow others to use
-+ your version of this file under the MPL, indicate your decision by
-+ deleting the provisions above and replace them with the notice and
-+ other provisions required by the [___] License. If you do not delete
-+ the provisions above, a recipient may use your version of this file
-+ under either the MPL or the [___] License."
-+
-+ [NOTE: The text of this Exhibit A may differ slightly from the text of
-+ the notices in the Source Code files of the Original Code. You should
-+ use the text of this Exhibit A rather than the text found in the
-+ Original Code Source Code for Your Modifications.]
-+
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about_files/pixman-licenses.txt 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/about_files/pixman-licenses.txt 2009-12-23 15:14:12.582571805 -0500
-@@ -0,0 +1,92 @@
-+libpixregion
-+
-+Copyright 1987, 1998 The Open Group
-+
-+Permission to use, copy, modify, distribute, and sell this software and its
-+documentation for any purpose is hereby granted without fee, provided that
-+the above copyright notice appear in all copies and that both that
-+copyright notice and this permission notice appear in supporting
-+documentation.
-+
-+The above copyright notice and this permission notice shall be included in
-+all copies or substantial portions of the Software.
-+
-+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-+OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-+
-+Except as contained in this notice, the name of The Open Group shall not be
-+used in advertising or otherwise to promote the sale, use or other dealings
-+in this Software without prior written authorization from The Open Group.
-+
-+
-+Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
-+
-+ All Rights Reserved
-+
-+Permission to use, copy, modify, and distribute this software and its
-+documentation for any purpose and without fee is hereby granted,
-+provided that the above copyright notice appear in all copies and that
-+both that copyright notice and this permission notice appear in
-+supporting documentation, and that the name of Digital not be
-+used in advertising or publicity pertaining to distribution of the
-+software without specific, written prior permission.
-+
-+DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-+ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-+DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-+ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-+WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-+ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-+SOFTWARE.
-+
-+----------------------------------------------------------------------
-+libic
-+
-+Copyright © 2001 Keith Packard
-+
-+Permission to use, copy, modify, distribute, and sell this software and its
-+documentation for any purpose is hereby granted without fee, provided that
-+the above copyright notice appear in all copies and that both that
-+copyright notice and this permission notice appear in supporting
-+documentation, and that the name of Keith Packard not be used in
-+advertising or publicity pertaining to distribution of the software without
-+specific, written prior permission. Keith Packard makes no
-+representations about the suitability of this software for any purpose. It
-+is provided "as is" without express or implied warranty.
-+
-+KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
-+EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
-+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
-+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
-+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+PERFORMANCE OF THIS SOFTWARE.
-+
-+----------------------------------------------------------------------
-+slim
-+
-+slim is Copyright © 2003 Richard Henderson
-+
-+Permission to use, copy, modify, distribute, and sell this software
-+and its documentation for any purpose is hereby granted without fee,
-+provided that the above copyright notice appear in all copies and that
-+both that copyright notice and this permission notice appear in
-+supporting documentation, and that the name of Richard Henderson not be
-+used in advertising or publicity pertaining to distribution of the
-+software without specific, written prior permission. Richard Henderson
-+makes no representations about the suitability of this software for
-+any purpose. It is provided "as is" without express or implied
-+warranty.
-+
-+RICHARD HENDERSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
-+EVENT SHALL RICHARD HENDERSON BE LIABLE FOR ANY SPECIAL, INDIRECT OR
-+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
-+USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+PERFORMANCE OF THIS SOFTWARE.
-+
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/build.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/build.properties 2009-12-23 15:14:12.582571805 -0500
-@@ -0,0 +1,11 @@
-+###############################################################################
-+# Copyright (c) 2000, 2005 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+custom = true
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/build.xml 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/build.xml 2009-12-23 15:14:12.583575548 -0500
-@@ -0,0 +1,17 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<project name="org.eclipse.swt.gtk.freebsd.x86" default="build.jars" basedir=".">
-+
-+ <property name="swt.ws" value="gtk" />
-+ <property name="swt.os" value="freebsd" />
-+ <property name="swt.arch" value="x86" />
-+ <property name="targets" value="make_mozilla make_xulrunner make_xpcominit install"/>
-+
-+ <!-- These properties are used by eclipse when exporting as Deployable plugin and fragments -->
-+ <property name="version.suffix" value="3.7.1" />
-+
-+ <condition property="plugindir" value="../../../eclipse.platform.swt/bundles/org.eclipse.swt" else="${buildDirectory}/plugins/org.eclipse.swt">
-+ <available file="../../../eclipse.platform.swt/bundles/org.eclipse.swt" type="dir"/>
-+ </condition>
-+ <import file="${plugindir}/buildFragment.xml"/>
-+ <import file="${plugindir}/buildSWT.xml"/>
-+</project>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/fragment.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86/fragment.properties 2009-12-23 15:14:12.583575548 -0500
-@@ -0,0 +1,12 @@
-+###############################################################################
-+# Copyright (c) 2000, 2005 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+fragmentName = Standard Widget Toolkit for GTK 2.0
-+providerName = Eclipse.org
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/.project 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/.project 2009-12-23 15:14:12.578555994 -0500
-@@ -0,0 +1,28 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<projectDescription>
-+ <name>org.eclipse.swt.gtk.freebsd.x86_64</name>
-+ <comment></comment>
-+ <projects>
-+ </projects>
-+ <buildSpec>
-+ <buildCommand>
-+ <name>org.eclipse.pde.ManifestBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.SchemaBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ </buildSpec>
-+ <natures>
-+ <nature>org.eclipse.pde.PluginNature</nature>
-+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
-+ </natures>
-+</projectDescription>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/META-INF/MANIFEST.MF 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/META-INF/MANIFEST.MF 2009-12-23 15:14:12.584579570 -0500
-@@ -0,0 +1,19 @@
-+Manifest-Version: 1.0
-+Fragment-Host: org.eclipse.swt; bundle-version="[3.0.0,4.0.0)"
-+Bundle-Name: %fragmentName
-+Bundle-Vendor: %providerName
-+Bundle-SymbolicName: org.eclipse.swt.gtk.freebsd.x86_64; singleton:=true
-+Bundle-Version: 3.7.1.qualifier
-+Bundle-ManifestVersion: 2
-+Bundle-Localization: fragment
-+Export-Package:
-+ org.eclipse.swt.internal.accessibility.gtk; x-internal:=true,
-+ org.eclipse.swt.internal.cairo; x-internal:=true,
-+ org.eclipse.swt.internal.cde; x-internal:=true,
-+ org.eclipse.swt.internal.gnome; x-internal:=true,
-+ org.eclipse.swt.internal.gtk; x-internal:=true,
-+ org.eclipse.swt.internal.mozilla; x-internal:=true,
-+ org.eclipse.swt.internal.opengl.glx; x-internal:=true
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86_64))
-+Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,
-+ J2SE-1.3
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about.html 2009-12-23 15:14:12.584579570 -0500
-@@ -0,0 +1,263 @@
-+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml">
-+<head>
-+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-+<title>About</title>
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>August 17, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-+indicated below, the Content is provided to you under the terms and conditions of the
-+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-+
-+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply to your use of any object code in the Content. Check the Redistributor's license that was
-+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-+and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-+
-+<h3>Third Party Content</h3>
-+
-+<p>The Content includes items that have been sourced from third parties as set out below. If you
-+did not receive this Content directly from the Eclipse Foundation, the following is provided
-+for informational purposes only, and you should look to the Redistributor&rsquo;s license for
-+terms and conditions of use.</p>
-+
-+<h4>Gnome Binding</h4>
-+
-+<p>The &quot;Gnome Binding&quot; is a binding to the Gnome API. The Content may include any or all of the following files:</p>
-+
-+<p>The following files in the plug-in JAR shall be defined as the native code portion of the Gnome Binding:</p>
-+<ul>
-+ <li>libswt-gnome-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+</ul>
-+
-+<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the Gnome Binding:</p>
-+<ul>
-+ <li>The contents of the directory org/eclipse/swt/internal/gnome (but not including any sub-directories)</li>
-+</ul>
-+
-+<p>The Gnome Binding contains portions of Gnome (&quot;Library&quot;). Gnome is made available by The Free Software Foundation. Use of the Library is governed by the terms and
-+conditions of the GNU Lesser General Public License Version 2.1 (&quot;LGPL&quot;). Use of the Gnome Binding on a standalone
-+basis, is also governed by the terms and conditions of the LGPL. A copy of the LGPL is provided with the Content (<a href="about_files/lgpl-v21.txt" target="_blank">lgpl-v21.txt</a>) and is also available at
-+<a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">http://www.gnu.org/licenses/lgpl.html</a>.</p>
-+
-+<p>In accordance with Section 6 of the LGPL, you may combine or link a "work that uses the Library" (e.g. the SWT) with the Library to produce a work
-+containing portions of the Library (e.g. the Gnome Binding) and distribute that work under the terms of your choice (e.g. the EPL) provided you comply with all
-+other terms and conditions of Section 6 as well as other Sections of the LGPL. Please note, if you modify the Gnome Binding such modifications shall be
-+governed by the terms and conditions of the LGPL. Also note, the terms of the EPL permit you to modify the combined work and the source code of the combined
-+work is provided for debugging purposes so there is no need to reverse engineer the combined work.</p>
-+
-+<h4>GTK+ Binding</h4>
-+
-+<p>The &quot;GTK+ Binding&quot; is a binding to the GTK+ API. The Content may include any or all of the following files:</p>
-+
-+<p>The following files in the plug-in JAR shall be defined as the native code portion of the GTK+ Binding:</p>
-+<ul>
-+ <li>libswt-atk-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+ <li>libswt-pi-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+</ul>
-+
-+<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the GTK+ Binding:</p>
-+<ul>
-+ <li>The contents of the directory org/eclipse/swt/internal/accessibility/gtk (but not including any sub-directories)</li>
-+ <li>The contents of the directory org/eclipse/swt/internal/cde (but not including any sub-directories)</li>
-+ <li>The contents of the directory org/eclipse/swt/internal/gtk (but not including any sub-directories)</li>
-+ <li>The contents of the directory org/eclipse/swt/internal/kde (but not including any sub-directories)</li>
-+</ul>
-+
-+<p>The GTK+ Binding contains portions of GTK+ (&quot;Library&quot;). GTK+ is made available by The Free Software Foundation. Use of the Library is governed by the terms and
-+conditions of the GNU Lesser General Public License Version 2.1 (&quot;LGPL&quot;). Use of the GTK+ Binding on a standalone
-+basis, is also governed by the terms and conditions of the LGPL. A copy of the LGPL is provided with the Content (<a href="about_files/lgpl-v21.txt" target="_blank">lgpl-v21.txt</a>) and is also available at
-+<a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">http://www.gnu.org/licenses/lgpl.html</a>.</p>
-+
-+<p>In accordance with Section 6 of the LGPL, you may combine or link a "work that uses the Library" (e.g. the SWT) with the Library to produce a work
-+containing portions of the Library (e.g. the GTK+ Binding) and distribute that work under the terms of your choice (e.g. the EPL) provided you comply with all
-+other terms and conditions of Section 6 as well as other Sections of the LGPL. Please note, if you modify the GTK+ Binding such modifications shall be
-+governed by the terms and conditions of the LGPL. Also note, the terms of the EPL permit you to modify the combined work and the source code of the combined
-+work is provided for debugging purposes so there is no need to reverse engineer the combined work.</p>
-+
-+<h4>Mozilla Binding</h4>
-+
-+<p>The &quot;Mozilla Binding&quot; is a binding to the Mozilla API. The Content may include any or all of the following files:</p>
-+
-+<p>The following files in the plug-in JAR shall be defined as the native code portion of the Mozilla Binding:</p>
-+<ul>
-+ <li>libswt-mozilla-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+ <li>libswt-mozilla-gcc3-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+ <li>libswt-xulrunner-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+ <li>libswt-xpcominit-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+</ul>
-+
-+<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the Mozilla Binding:</p>
-+<ul>
-+ <li>The contents of the directory org/eclipse/swt/internal/mozilla (but not including any sub-directories)</li>
-+</ul>
-+
-+<p>The Mozilla Binding contains portions of Mozilla (&quot;Mozilla&quot;). Mozilla is made available by Mozilla.org. Use of Mozilla is governed by the terms and
-+conditions of the Mozilla Public License Version 1.1 (&quot;MPL&quot;). A copy of the MPL is provided with the Content (<a href="about_files/mpl-v11.txt" target="_blank">mpl-v11.txt</a>) and is also available at
-+<a href="http://www.mozilla.org/MPL/MPL-1.1.html" target="_blank">http://www.mozilla.org/MPL/MPL-1.1.html</a>.</p>
-+
-+<h4>XULRunner 1.9 (subset, derivative work)</h4>
-+
-+The libraries swt-xulrunner-gtk-xxxx.dll, swt-mozilla-gtk-xxxx.dll, and swt-mozilla-gcc3-gtk-xxxx.dll (where &quot;xxxx&quot; is the version number) contain a small portion of XULRunner 1.9 content (header files)
-+that have been modified from the Original Code provided by mozilla.org, and whose Initial Developer is Netscape Communications Corporation. Use of this code is governed by
-+the terms and conditions of the Mozilla Public License Version 1.1 ("MPL"). A copy of the MPL is provided with the Content (<a href="./about_files/mpl-v11.txt">mpl-v11.txt</a>)
-+and is also available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>.
-+<p>The changed files are:
-+<ul>
-+ <li>org.eclipse.swt/Eclipse SWT Mozilla/common/library/nsIScriptContext.h</code>
-+ <li>org.eclipse.swt/Eclipse SWT Mozilla/common/library/nsIScriptGlobalObject.h</code>
-+</ul>
-+Changes to the original files were made by SWT on April 7, 2009 and are marked with trailing comment <em>&quot;//SWT-20090407&quot;</em>.
-+
-+<h4>Cairo Binding</h4>
-+
-+<p>The &quot;Cairo Binding&quot; is a binding to the Cairo API. The Content may include any or all of the following files:</p>
-+
-+<p>The following files in the plug-in JAR shall be defined as the native code portion of the Cairo Binding:</p>
-+<ul>
-+ <li>libswt-cairo-gtk-xxxx.so (where &quot;xxxx&quot; is the version number)</li>
-+</ul>
-+
-+<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the Cairo Binding:</p>
-+<ul>
-+ <li>The contents of the directory org/eclipse/swt/internal/cairo (but not including any sub-directories)</li>
-+</ul>
-+
-+<p>The Cairo Binding contains portions of Cairo (&quot;Cairo&quot;). Cairo is made available by the Cairo project at
-+<a href="http://www.cairographics.org" target="_blank">http://www.cairographics.org</a>. Use of Cairo by the Cairo Binding is governed by the terms and
-+conditions of the Mozilla Public License Version 1.1 (&quot;MPL&quot;). A copy of the MPL is
-+provided with the Content (<a href="about_files/mpl-v11.txt" target="_blank">mpl-v11.txt</a>) and is also available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>.</p>
-+
-+<h4>Cairo for Linux</h4>
-+
-+<p>Refer to the file <a href="about_files/about_cairo.html">about_files/about_cairo.html</a> for licensing details about &quot;Cairo for Linux.&quot;
-+
-+<h4>Independent JPEG Group's JPEG software release 6b</h4>
-+
-+<p>This software is based in part on the work of the Independent JPEG Group's JPEG software release 6b (&quot;LIBJPEG&quot;).
-+LIBJPEG was used to implement the decoding of JPEG format files in Java (TM). The Content does NOT include any portion of the LIBJPEG file ansi2knr.c.</p>
-+
-+<p>Your use of LIBJPEG is subject to the terms and conditions located in the <a href="about_files/IJG_README">about_files/IJG_README</a> file which is included
-+with the Content.</p>
-+
-+<p>The IJG's website is located at <a href="http://ijg.org/" target="_blank">http://ijg.org</a>.</p>
-+
-+<p>The class org.eclipse.swt.internal.image.JPEGFileFormat is based on following files from LIBJPEG:</p>
-+
-+<ul>
-+ <li>cderror.h</li>
-+ <li>cdjpeg.h</li>
-+ <li>jchuff.h</li>
-+ <li>jdcolor.c</li>
-+ <li>jdct.h</li>
-+ <li>jdhuff.h</li>
-+ <li>jerror.h</li>
-+ <li>jidctint.c</li>
-+ <li>jinclude.h</li>
-+ <li>jmemsys.h</li>
-+ <li>jmorecfg.h</li>
-+ <li>jpegint.h</li>
-+ <li>jpeglib.h</li>
-+ <li>jversion.h</li>
-+ <li>transupp.h</li>
-+</ul>
-+
-+<p>The class org.eclipse.swt.internal.image.JPEGDecoder is based on the following files from LIBJPEG:</p>
-+
-+<ul>
-+ <li>jcapimin.c</li>
-+ <li>jcapistd.c</li>
-+ <li>jccoefct.c</li>
-+ <li>jccolor.c</li>
-+ <li>jcdctmgr.c</li>
-+ <li>jchuff.c</li>
-+ <li>jcinit.c</li>
-+ <li>jcmainct.c</li>
-+ <li>jcmarker.c</li>
-+ <li>jcmaster.c</li>
-+ <li>jcomapi.c</li>
-+ <li>jcparam.c</li>
-+ <li>jcphuff.c</li>
-+ <li>jcprepct.c</li>
-+ <li>jcsample.c</li>
-+ <li>jctrans.c</li>
-+ <li>jdapimin.c</li>
-+ <li>jdapistd.c</li>
-+ <li>jdatadst.c</li>
-+ <li>jdatasrc.c</li>
-+ <li>jdcoefct.c</li>
-+ <li>jdcolor.c</li>
-+ <li>jddctmgr.c</li>
-+ <li>jdhuff.c</li>
-+ <li>jdinput.c</li>
-+ <li>jdmainct.c</li>
-+ <li>jdmarker.c</li>
-+ <li>jdmaster.c</li>
-+ <li>jdmerge.c</li>
-+ <li>jdphuff.c</li>
-+ <li>jdpostct.c</li>
-+ <li>jdsample.c</li>
-+ <li>jdtrans.c</li>
-+ <li>jerror.c</li>
-+ <li>jfdctflt.c</li>
-+ <li>jfdctfst.c</li>
-+ <li>jfdctint.c</li>
-+ <li>jidctflt.c</li>
-+ <li>jidctfst.c</li>
-+ <li>jidctint.c</li>
-+ <li>jidctred.c</li>
-+ <li>jpegtran.c</li>
-+ <li>jquant1.c</li>
-+ <li>jquant2.c</li>
-+ <li>jutils.c</li>
-+ <li>cderror.h</li>
-+ <li>cdjpeg.h</li>
-+ <li>jchuff.h</li>
-+ <li>jconfig.h</li>
-+ <li>jdct.h</li>
-+ <li>jdhuff.h</li>
-+ <li>jerror.h</li>
-+ <li>jinclude.h</li>
-+ <li>jmorecfg.h</li>
-+ <li>jpegint.h</li>
-+ <li>jpeglib.h</li>
-+ <li>jversion.h</li>
-+ <li>transupp.h</li>
-+</ul>
-+
-+<p>The following changes were made to the LIBJPEG code in the Content:</p>
-+
-+<ol>
-+ <li>In Java, pointer math is not allowed so indexing was used instead.</li>
-+ <li>Function pointers were replaced with switch statements.</li>
-+ <li>The virtual memory, tracing and progress monitoring were removed.</li>
-+ <li>The error handling was simplified and now uses Java exceptions.</li>
-+</ol>
-+
-+<h4>PuTTY 0.58 (derivative work)</h4>
-+
-+<p>Portions of the SWT class org/eclipse/swt/internal/image/PngDeflater are based on PuTTY's sshzlib.c. PuTTY is made available by Mozilla.org. Use of PuTTY is governed by the terms and
-+conditions of the the following MIT-style license: </p>
-+<blockquote>
-+ <p><em>PuTTY is copyright 1997-2007 Simon Tatham.</em> </p>
-+ <p><em>Portions copyright Robert de Bath, Joris van Rantwijk, Delian Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry, Justin Bradford, Ben Harris, Malcolm Smith, Ahmad Khalifa, Markus Kuhn, and CORE SDI S.A.</em> </p>
-+ <p><em>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</em> </p>
-+ <p><em>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</em> </p>
-+ <p><em>THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SIMON TATHAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</em> </p>
-+</blockquote>
-+<p>A copy of the license is also available at <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/licence.html" target="_blank">http://www.chiark.greenend.org.uk/~sgtatham/putty/licence.html</a>.</p>
-+
-+<p><small>Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.</small></p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about_files/IJG_README 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about_files/IJG_README 2009-12-23 15:14:12.585583593 -0500
-@@ -0,0 +1,385 @@
-+The Independent JPEG Group's JPEG software
-+==========================================
-+
-+README for release 6b of 27-Mar-1998
-+====================================
-+
-+This distribution contains the sixth public release of the Independent JPEG
-+Group's free JPEG software. You are welcome to redistribute this software and
-+to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
-+
-+Serious users of this software (particularly those incorporating it into
-+larger programs) should contact IJG at jpeg-info@uunet.uu.net to be added to
-+our electronic mailing list. Mailing list members are notified of updates
-+and have a chance to participate in technical discussions, etc.
-+
-+This software is the work of Tom Lane, Philip Gladstone, Jim Boucher,
-+Lee Crocker, Julian Minguillon, Luis Ortiz, George Phillips, Davide Rossi,
-+Guido Vollbeding, Ge' Weijers, and other members of the Independent JPEG
-+Group.
-+
-+IJG is not affiliated with the official ISO JPEG standards committee.
-+
-+
-+DOCUMENTATION ROADMAP
-+=====================
-+
-+This file contains the following sections:
-+
-+OVERVIEW General description of JPEG and the IJG software.
-+LEGAL ISSUES Copyright, lack of warranty, terms of distribution.
-+REFERENCES Where to learn more about JPEG.
-+ARCHIVE LOCATIONS Where to find newer versions of this software.
-+RELATED SOFTWARE Other stuff you should get.
-+FILE FORMAT WARS Software *not* to get.
-+TO DO Plans for future IJG releases.
-+
-+Other documentation files in the distribution are:
-+
-+User documentation:
-+ install.doc How to configure and install the IJG software.
-+ usage.doc Usage instructions for cjpeg, djpeg, jpegtran,
-+ rdjpgcom, and wrjpgcom.
-+ *.1 Unix-style man pages for programs (same info as usage.doc).
-+ wizard.doc Advanced usage instructions for JPEG wizards only.
-+ change.log Version-to-version change highlights.
-+Programmer and internal documentation:
-+ libjpeg.doc How to use the JPEG library in your own programs.
-+ example.c Sample code for calling the JPEG library.
-+ structure.doc Overview of the JPEG library's internal structure.
-+ filelist.doc Road map of IJG files.
-+ coderules.doc Coding style rules --- please read if you contribute code.
-+
-+Please read at least the files install.doc and usage.doc. Useful information
-+can also be found in the JPEG FAQ (Frequently Asked Questions) article. See
-+ARCHIVE LOCATIONS below to find out where to obtain the FAQ article.
-+
-+If you want to understand how the JPEG code works, we suggest reading one or
-+more of the REFERENCES, then looking at the documentation files (in roughly
-+the order listed) before diving into the code.
-+
-+
-+OVERVIEW
-+========
-+
-+This package contains C software to implement JPEG image compression and
-+decompression. JPEG (pronounced "jay-peg") is a standardized compression
-+method for full-color and gray-scale images. JPEG is intended for compressing
-+"real-world" scenes; line drawings, cartoons and other non-realistic images
-+are not its strong suit. JPEG is lossy, meaning that the output image is not
-+exactly identical to the input image. Hence you must not use JPEG if you
-+have to have identical output bits. However, on typical photographic images,
-+very good compression levels can be obtained with no visible change, and
-+remarkably high compression levels are possible if you can tolerate a
-+low-quality image. For more details, see the references, or just experiment
-+with various compression settings.
-+
-+This software implements JPEG baseline, extended-sequential, and progressive
-+compression processes. Provision is made for supporting all variants of these
-+processes, although some uncommon parameter settings aren't implemented yet.
-+For legal reasons, we are not distributing code for the arithmetic-coding
-+variants of JPEG; see LEGAL ISSUES. We have made no provision for supporting
-+the hierarchical or lossless processes defined in the standard.
-+
-+We provide a set of library routines for reading and writing JPEG image files,
-+plus two sample applications "cjpeg" and "djpeg", which use the library to
-+perform conversion between JPEG and some other popular image file formats.
-+The library is intended to be reused in other applications.
-+
-+In order to support file conversion and viewing software, we have included
-+considerable functionality beyond the bare JPEG coding/decoding capability;
-+for example, the color quantization modules are not strictly part of JPEG
-+decoding, but they are essential for output to colormapped file formats or
-+colormapped displays. These extra functions can be compiled out of the
-+library if not required for a particular application. We have also included
-+"jpegtran", a utility for lossless transcoding between different JPEG
-+processes, and "rdjpgcom" and "wrjpgcom", two simple applications for
-+inserting and extracting textual comments in JFIF files.
-+
-+The emphasis in designing this software has been on achieving portability and
-+flexibility, while also making it fast enough to be useful. In particular,
-+the software is not intended to be read as a tutorial on JPEG. (See the
-+REFERENCES section for introductory material.) Rather, it is intended to
-+be reliable, portable, industrial-strength code. We do not claim to have
-+achieved that goal in every aspect of the software, but we strive for it.
-+
-+We welcome the use of this software as a component of commercial products.
-+No royalty is required, but we do ask for an acknowledgement in product
-+documentation, as described under LEGAL ISSUES.
-+
-+
-+LEGAL ISSUES
-+============
-+
-+In plain English:
-+
-+1. We don't promise that this software works. (But if you find any bugs,
-+ please let us know!)
-+2. You can use this software for whatever you want. You don't have to pay us.
-+3. You may not pretend that you wrote this software. If you use it in a
-+ program, you must acknowledge somewhere in your documentation that
-+ you've used the IJG code.
-+
-+In legalese:
-+
-+The authors make NO WARRANTY or representation, either express or implied,
-+with respect to this software, its quality, accuracy, merchantability, or
-+fitness for a particular purpose. This software is provided "AS IS", and you,
-+its user, assume the entire risk as to its quality and accuracy.
-+
-+This software is copyright (C) 1991-1998, Thomas G. Lane.
-+All Rights Reserved except as specified below.
-+
-+Permission is hereby granted to use, copy, modify, and distribute this
-+software (or portions thereof) for any purpose, without fee, subject to these
-+conditions:
-+(1) If any part of the source code for this software is distributed, then this
-+README file must be included, with this copyright and no-warranty notice
-+unaltered; and any additions, deletions, or changes to the original files
-+must be clearly indicated in accompanying documentation.
-+(2) If only executable code is distributed, then the accompanying
-+documentation must state that "this software is based in part on the work of
-+the Independent JPEG Group".
-+(3) Permission for use of this software is granted only if the user accepts
-+full responsibility for any undesirable consequences; the authors accept
-+NO LIABILITY for damages of any kind.
-+
-+These conditions apply to any software derived from or based on the IJG code,
-+not just to the unmodified library. If you use our work, you ought to
-+acknowledge us.
-+
-+Permission is NOT granted for the use of any IJG author's name or company name
-+in advertising or publicity relating to this software or products derived from
-+it. This software may be referred to only as "the Independent JPEG Group's
-+software".
-+
-+We specifically permit and encourage the use of this software as the basis of
-+commercial products, provided that all warranty or liability claims are
-+assumed by the product vendor.
-+
-+
-+ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
-+sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
-+ansi2knr.c is NOT covered by the above copyright and conditions, but instead
-+by the usual distribution terms of the Free Software Foundation; principally,
-+that you must include source code if you redistribute it. (See the file
-+ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part
-+of any program generated from the IJG code, this does not limit you more than
-+the foregoing paragraphs do.
-+
-+The Unix configuration script "configure" was produced with GNU Autoconf.
-+It is copyright by the Free Software Foundation but is freely distributable.
-+The same holds for its supporting scripts (config.guess, config.sub,
-+ltconfig, ltmain.sh). Another support script, install-sh, is copyright
-+by M.I.T. but is also freely distributable.
-+
-+It appears that the arithmetic coding option of the JPEG spec is covered by
-+patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot
-+legally be used without obtaining one or more licenses. For this reason,
-+support for arithmetic coding has been removed from the free JPEG software.
-+(Since arithmetic coding provides only a marginal gain over the unpatented
-+Huffman mode, it is unlikely that very many implementations will support it.)
-+So far as we are aware, there are no patent restrictions on the remaining
-+code.
-+
-+The IJG distribution formerly included code to read and write GIF files.
-+To avoid entanglement with the Unisys LZW patent, GIF reading support has
-+been removed altogether, and the GIF writer has been simplified to produce
-+"uncompressed GIFs". This technique does not use the LZW algorithm; the
-+resulting GIF files are larger than usual, but are readable by all standard
-+GIF decoders.
-+
-+We are required to state that
-+ "The Graphics Interchange Format(c) is the Copyright property of
-+ CompuServe Incorporated. GIF(sm) is a Service Mark property of
-+ CompuServe Incorporated."
-+
-+
-+REFERENCES
-+==========
-+
-+We highly recommend reading one or more of these references before trying to
-+understand the innards of the JPEG software.
-+
-+The best short technical introduction to the JPEG compression algorithm is
-+ Wallace, Gregory K. "The JPEG Still Picture Compression Standard",
-+ Communications of the ACM, April 1991 (vol. 34 no. 4), pp. 30-44.
-+(Adjacent articles in that issue discuss MPEG motion picture compression,
-+applications of JPEG, and related topics.) If you don't have the CACM issue
-+handy, a PostScript file containing a revised version of Wallace's article is
-+available at ftp://ftp.uu.net/graphics/jpeg/wallace.ps.gz. The file (actually
-+a preprint for an article that appeared in IEEE Trans. Consumer Electronics)
-+omits the sample images that appeared in CACM, but it includes corrections
-+and some added material. Note: the Wallace article is copyright ACM and IEEE,
-+and it may not be used for commercial purposes.
-+
-+A somewhat less technical, more leisurely introduction to JPEG can be found in
-+"The Data Compression Book" by Mark Nelson and Jean-loup Gailly, published by
-+M&T Books (New York), 2nd ed. 1996, ISBN 1-55851-434-1. This book provides
-+good explanations and example C code for a multitude of compression methods
-+including JPEG. It is an excellent source if you are comfortable reading C
-+code but don't know much about data compression in general. The book's JPEG
-+sample code is far from industrial-strength, but when you are ready to look
-+at a full implementation, you've got one here...
-+
-+The best full description of JPEG is the textbook "JPEG Still Image Data
-+Compression Standard" by William B. Pennebaker and Joan L. Mitchell, published
-+by Van Nostrand Reinhold, 1993, ISBN 0-442-01272-1. Price US$59.95, 638 pp.
-+The book includes the complete text of the ISO JPEG standards (DIS 10918-1
-+and draft DIS 10918-2). This is by far the most complete exposition of JPEG
-+in existence, and we highly recommend it.
-+
-+The JPEG standard itself is not available electronically; you must order a
-+paper copy through ISO or ITU. (Unless you feel a need to own a certified
-+official copy, we recommend buying the Pennebaker and Mitchell book instead;
-+it's much cheaper and includes a great deal of useful explanatory material.)
-+In the USA, copies of the standard may be ordered from ANSI Sales at (212)
-+642-4900, or from Global Engineering Documents at (800) 854-7179. (ANSI
-+doesn't take credit card orders, but Global does.) It's not cheap: as of
-+1992, ANSI was charging $95 for Part 1 and $47 for Part 2, plus 7%
-+shipping/handling. The standard is divided into two parts, Part 1 being the
-+actual specification, while Part 2 covers compliance testing methods. Part 1
-+is titled "Digital Compression and Coding of Continuous-tone Still Images,
-+Part 1: Requirements and guidelines" and has document numbers ISO/IEC IS
-+10918-1, ITU-T T.81. Part 2 is titled "Digital Compression and Coding of
-+Continuous-tone Still Images, Part 2: Compliance testing" and has document
-+numbers ISO/IEC IS 10918-2, ITU-T T.83.
-+
-+Some extensions to the original JPEG standard are defined in JPEG Part 3,
-+a newer ISO standard numbered ISO/IEC IS 10918-3 and ITU-T T.84. IJG
-+currently does not support any Part 3 extensions.
-+
-+The JPEG standard does not specify all details of an interchangeable file
-+format. For the omitted details we follow the "JFIF" conventions, revision
-+1.02. A copy of the JFIF spec is available from:
-+ Literature Department
-+ C-Cube Microsystems, Inc.
-+ 1778 McCarthy Blvd.
-+ Milpitas, CA 95035
-+ phone (408) 944-6300, fax (408) 944-6314
-+A PostScript version of this document is available by FTP at
-+ftp://ftp.uu.net/graphics/jpeg/jfif.ps.gz. There is also a plain text
-+version at ftp://ftp.uu.net/graphics/jpeg/jfif.txt.gz, but it is missing
-+the figures.
-+
-+The TIFF 6.0 file format specification can be obtained by FTP from
-+ftp://ftp.sgi.com/graphics/tiff/TIFF6.ps.gz. The JPEG incorporation scheme
-+found in the TIFF 6.0 spec of 3-June-92 has a number of serious problems.
-+IJG does not recommend use of the TIFF 6.0 design (TIFF Compression tag 6).
-+Instead, we recommend the JPEG design proposed by TIFF Technical Note #2
-+(Compression tag 7). Copies of this Note can be obtained from ftp.sgi.com or
-+from ftp://ftp.uu.net/graphics/jpeg/. It is expected that the next revision
-+of the TIFF spec will replace the 6.0 JPEG design with the Note's design.
-+Although IJG's own code does not support TIFF/JPEG, the free libtiff library
-+uses our library to implement TIFF/JPEG per the Note. libtiff is available
-+from ftp://ftp.sgi.com/graphics/tiff/.
-+
-+
-+ARCHIVE LOCATIONS
-+=================
-+
-+The "official" archive site for this software is ftp.uu.net (Internet
-+address 192.48.96.9). The most recent released version can always be found
-+there in directory graphics/jpeg. This particular version will be archived
-+as ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz. If you don't have
-+direct Internet access, UUNET's archives are also available via UUCP; contact
-+help@uunet.uu.net for information on retrieving files that way.
-+
-+Numerous Internet sites maintain copies of the UUNET files. However, only
-+ftp.uu.net is guaranteed to have the latest official version.
-+
-+You can also obtain this software in DOS-compatible "zip" archive format from
-+the SimTel archives (ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/), or
-+on CompuServe in the Graphics Support forum (GO CIS:GRAPHSUP), library 12
-+"JPEG Tools". Again, these versions may sometimes lag behind the ftp.uu.net
-+release.
-+
-+The JPEG FAQ (Frequently Asked Questions) article is a useful source of
-+general information about JPEG. It is updated constantly and therefore is
-+not included in this distribution. The FAQ is posted every two weeks to
-+Usenet newsgroups comp.graphics.misc, news.answers, and other groups.
-+It is available on the World Wide Web at http://www.faqs.org/faqs/jpeg-faq/
-+and other news.answers archive sites, including the official news.answers
-+archive at rtfm.mit.edu: ftp://rtfm.mit.edu/pub/usenet/news.answers/jpeg-faq/.
-+If you don't have Web or FTP access, send e-mail to mail-server@rtfm.mit.edu
-+with body
-+ send usenet/news.answers/jpeg-faq/part1
-+ send usenet/news.answers/jpeg-faq/part2
-+
-+
-+RELATED SOFTWARE
-+================
-+
-+Numerous viewing and image manipulation programs now support JPEG. (Quite a
-+few of them use this library to do so.) The JPEG FAQ described above lists
-+some of the more popular free and shareware viewers, and tells where to
-+obtain them on Internet.
-+
-+If you are on a Unix machine, we highly recommend Jef Poskanzer's free
-+PBMPLUS software, which provides many useful operations on PPM-format image
-+files. In particular, it can convert PPM images to and from a wide range of
-+other formats, thus making cjpeg/djpeg considerably more useful. The latest
-+version is distributed by the NetPBM group, and is available from numerous
-+sites, notably ftp://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM/.
-+Unfortunately PBMPLUS/NETPBM is not nearly as portable as the IJG software is;
-+you are likely to have difficulty making it work on any non-Unix machine.
-+
-+A different free JPEG implementation, written by the PVRG group at Stanford,
-+is available from ftp://havefun.stanford.edu/pub/jpeg/. This program
-+is designed for research and experimentation rather than production use;
-+it is slower, harder to use, and less portable than the IJG code, but it
-+is easier to read and modify. Also, the PVRG code supports lossless JPEG,
-+which we do not. (On the other hand, it doesn't do progressive JPEG.)
-+
-+
-+FILE FORMAT WARS
-+================
-+
-+Some JPEG programs produce files that are not compatible with our library.
-+The root of the problem is that the ISO JPEG committee failed to specify a
-+concrete file format. Some vendors "filled in the blanks" on their own,
-+creating proprietary formats that no one else could read. (For example, none
-+of the early commercial JPEG implementations for the Macintosh were able to
-+exchange compressed files.)
-+
-+The file format we have adopted is called JFIF (see REFERENCES). This format
-+has been agreed to by a number of major commercial JPEG vendors, and it has
-+become the de facto standard. JFIF is a minimal or "low end" representation.
-+We recommend the use of TIFF/JPEG (TIFF revision 6.0 as modified by TIFF
-+Technical Note #2) for "high end" applications that need to record a lot of
-+additional data about an image. TIFF/JPEG is fairly new and not yet widely
-+supported, unfortunately.
-+
-+The upcoming JPEG Part 3 standard defines a file format called SPIFF.
-+SPIFF is interoperable with JFIF, in the sense that most JFIF decoders should
-+be able to read the most common variant of SPIFF. SPIFF has some technical
-+advantages over JFIF, but its major claim to fame is simply that it is an
-+official standard rather than an informal one. At this point it is unclear
-+whether SPIFF will supersede JFIF or whether JFIF will remain the de-facto
-+standard. IJG intends to support SPIFF once the standard is frozen, but we
-+have not decided whether it should become our default output format or not.
-+(In any case, our decoder will remain capable of reading JFIF indefinitely.)
-+
-+Various proprietary file formats incorporating JPEG compression also exist.
-+We have little or no sympathy for the existence of these formats. Indeed,
-+one of the original reasons for developing this free software was to help
-+force convergence on common, open format standards for JPEG files. Don't
-+use a proprietary file format!
-+
-+
-+TO DO
-+=====
-+
-+The major thrust for v7 will probably be improvement of visual quality.
-+The current method for scaling the quantization tables is known not to be
-+very good at low Q values. We also intend to investigate block boundary
-+smoothing, "poor man's variable quantization", and other means of improving
-+quality-vs-file-size performance without sacrificing compatibility.
-+
-+In future versions, we are considering supporting some of the upcoming JPEG
-+Part 3 extensions --- principally, variable quantization and the SPIFF file
-+format.
-+
-+As always, speeding things up is of great interest.
-+
-+Please send bug reports, offers of help, etc. to jpeg-info@uunet.uu.net.
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about_files/about_cairo.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about_files/about_cairo.html 2009-12-23 15:14:12.585583593 -0500
-@@ -0,0 +1,48 @@
-+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-+<html>
-+<head>
-+<title>About</title>
-+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>March 27, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation has included the following package for your convenience:</p>
-+
-+<h4>Cairo 1.0.2 for Linux</h4>
-+
-+<p>Cairo for Linux (&quot;Cairo&quot;) is developed by The Cairo Project (<a href="http://www.cairographics.org" target="_blank">http://www.cairographics.org</a>):</p>
-+
-+<p>Cairo is delivered in the following file (&quot;Cairo Library&quot;):</p>
-+<ul>
-+ <li>libcairo-swt.so</li>
-+</ul>
-+
-+<p>which was compiled from Cairo source code available at <a href="http://www.cairographics.org/snapshots" target="_blank">http://www.cairographics.org/snapshots</a>.</p>
-+
-+<p>Your use of the Cairo code in binary form is subject to
-+the terms and conditions of Mozilla Public License Version 1.1 (&quot;MPL&quot;). A copy of the MPL is provided (<a href="mpl-v11.txt" target="blank">mpl-v11.txt</a>)
-+and is also available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html" target="_blank">http://www.mozilla.org/MPL/MPL-1.1.html.</a>
-+
-+<h4>pixman 0.1.6</h4>
-+
-+<p>pixman (&quot;pixman&quot;) is packaged within the Cairo Library and was compiled from source code available at
-+<a href="http://www.cairographics.org/snapshots" target="_blank">http://www.cairographics.org/snapshots</a>.
-+pixman includes the following packages:</p>
-+
-+<ul>
-+ <li>libpixregion</li>
-+ <li>libic</li>
-+ <li>slim</li>
-+</ul>
-+
-+Your use of pixman is subject to the terms and conditions of the licenses in <a href="pixman-licenses.txt" target="blank">pixman-licenses.txt</a>.</p>
-+
-+<p>If you did not receive the Cairo Library directly from the Eclipse Foundation, the package is being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply its use. Check the Redistributor's license that was provided with the content. If no such license exists, contact the Redistributor.</p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about_files/lgpl-v21.txt 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about_files/lgpl-v21.txt 2009-12-23 15:14:12.586587615 -0500
-@@ -0,0 +1,506 @@
-+ GNU LESSER GENERAL PUBLIC LICENSE
-+ Version 2.1, February 1999
-+
-+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
-+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-+ Everyone is permitted to copy and distribute verbatim copies
-+ of this license document, but changing it is not allowed.
-+
-+[This is the first released version of the Lesser GPL. It also counts
-+ as the successor of the GNU Library Public License, version 2, hence
-+ the version number 2.1.]
-+
-+ Preamble
-+
-+ The licenses for most software are designed to take away your
-+freedom to share and change it. By contrast, the GNU General Public
-+Licenses are intended to guarantee your freedom to share and change
-+free software--to make sure the software is free for all its users.
-+
-+ This license, the Lesser General Public License, applies to some
-+specially designated software packages--typically libraries--of the
-+Free Software Foundation and other authors who decide to use it. You
-+can use it too, but we suggest you first think carefully about whether
-+this license or the ordinary General Public License is the better
-+strategy to use in any particular case, based on the explanations below.
-+
-+ When we speak of free software, we are referring to freedom of use,
-+not price. Our General Public Licenses are designed to make sure that
-+you have the freedom to distribute copies of free software (and charge
-+for this service if you wish); that you receive source code or can get
-+it if you want it; that you can change the software and use pieces of
-+it in new free programs; and that you are informed that you can do
-+these things.
-+
-+ To protect your rights, we need to make restrictions that forbid
-+distributors to deny you these rights or to ask you to surrender these
-+rights. These restrictions translate to certain responsibilities for
-+you if you distribute copies of the library or if you modify it.
-+
-+ For example, if you distribute copies of the library, whether gratis
-+or for a fee, you must give the recipients all the rights that we gave
-+you. You must make sure that they, too, receive or can get the source
-+code. If you link other code with the library, you must provide
-+complete object files to the recipients, so that they can relink them
-+with the library after making changes to the library and recompiling
-+it. And you must show them these terms so they know their rights.
-+
-+ We protect your rights with a two-step method: (1) we copyright the
-+library, and (2) we offer you this license, which gives you legal
-+permission to copy, distribute and/or modify the library.
-+
-+ To protect each distributor, we want to make it very clear that
-+there is no warranty for the free library. Also, if the library is
-+modified by someone else and passed on, the recipients should know
-+that what they have is not the original version, so that the original
-+author's reputation will not be affected by problems that might be
-+introduced by others.
-+
-+ Finally, software patents pose a constant threat to the existence of
-+any free program. We wish to make sure that a company cannot
-+effectively restrict the users of a free program by obtaining a
-+restrictive license from a patent holder. Therefore, we insist that
-+any patent license obtained for a version of the library must be
-+consistent with the full freedom of use specified in this license.
-+
-+ Most GNU software, including some libraries, is covered by the
-+ordinary GNU General Public License. This license, the GNU Lesser
-+General Public License, applies to certain designated libraries, and
-+is quite different from the ordinary General Public License. We use
-+this license for certain libraries in order to permit linking those
-+libraries into non-free programs.
-+
-+ When a program is linked with a library, whether statically or using
-+a shared library, the combination of the two is legally speaking a
-+combined work, a derivative of the original library. The ordinary
-+General Public License therefore permits such linking only if the
-+entire combination fits its criteria of freedom. The Lesser General
-+Public License permits more lax criteria for linking other code with
-+the library.
-+
-+ We call this license the "Lesser" General Public License because it
-+does Less to protect the user's freedom than the ordinary General
-+Public License. It also provides other free software developers Less
-+of an advantage over competing non-free programs. These disadvantages
-+are the reason we use the ordinary General Public License for many
-+libraries. However, the Lesser license provides advantages in certain
-+special circumstances.
-+
-+ For example, on rare occasions, there may be a special need to
-+encourage the widest possible use of a certain library, so that it becomes
-+a de-facto standard. To achieve this, non-free programs must be
-+allowed to use the library. A more frequent case is that a free
-+library does the same job as widely used non-free libraries. In this
-+case, there is little to gain by limiting the free library to free
-+software only, so we use the Lesser General Public License.
-+
-+ In other cases, permission to use a particular library in non-free
-+programs enables a greater number of people to use a large body of
-+free software. For example, permission to use the GNU C Library in
-+non-free programs enables many more people to use the whole GNU
-+operating system, as well as its variant, the GNU/Linux operating
-+system.
-+
-+ Although the Lesser General Public License is Less protective of the
-+users' freedom, it does ensure that the user of a program that is
-+linked with the Library has the freedom and the wherewithal to run
-+that program using a modified version of the Library.
-+
-+ The precise terms and conditions for copying, distribution and
-+modification follow. Pay close attention to the difference between a
-+"work based on the library" and a "work that uses the library". The
-+former contains code derived from the library, whereas the latter must
-+be combined with the library in order to run.
-+
-+ GNU LESSER GENERAL PUBLIC LICENSE
-+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-+
-+ 0. This License Agreement applies to any software library or other
-+program which contains a notice placed by the copyright holder or
-+other authorized party saying it may be distributed under the terms of
-+this Lesser General Public License (also called "this License").
-+Each licensee is addressed as "you".
-+
-+ A "library" means a collection of software functions and/or data
-+prepared so as to be conveniently linked with application programs
-+(which use some of those functions and data) to form executables.
-+
-+ The "Library", below, refers to any such software library or work
-+which has been distributed under these terms. A "work based on the
-+Library" means either the Library or any derivative work under
-+copyright law: that is to say, a work containing the Library or a
-+portion of it, either verbatim or with modifications and/or translated
-+straightforwardly into another language. (Hereinafter, translation is
-+included without limitation in the term "modification".)
-+
-+ "Source code" for a work means the preferred form of the work for
-+making modifications to it. For a library, complete source code means
-+all the source code for all modules it contains, plus any associated
-+interface definition files, plus the scripts used to control compilation
-+and installation of the library.
-+
-+ Activities other than copying, distribution and modification are not
-+covered by this License; they are outside its scope. The act of
-+running a program using the Library is not restricted, and output from
-+such a program is covered only if its contents constitute a work based
-+on the Library (independent of the use of the Library in a tool for
-+writing it). Whether that is true depends on what the Library does
-+and what the program that uses the Library does.
-+
-+ 1. You may copy and distribute verbatim copies of the Library's
-+complete source code as you receive it, in any medium, provided that
-+you conspicuously and appropriately publish on each copy an
-+appropriate copyright notice and disclaimer of warranty; keep intact
-+all the notices that refer to this License and to the absence of any
-+warranty; and distribute a copy of this License along with the
-+Library.
-+
-+ You may charge a fee for the physical act of transferring a copy,
-+and you may at your option offer warranty protection in exchange for a
-+fee.
-+
-+ 2. You may modify your copy or copies of the Library or any portion
-+of it, thus forming a work based on the Library, and copy and
-+distribute such modifications or work under the terms of Section 1
-+above, provided that you also meet all of these conditions:
-+
-+ a) The modified work must itself be a software library.
-+
-+ b) You must cause the files modified to carry prominent notices
-+ stating that you changed the files and the date of any change.
-+
-+ c) You must cause the whole of the work to be licensed at no
-+ charge to all third parties under the terms of this License.
-+
-+ d) If a facility in the modified Library refers to a function or a
-+ table of data to be supplied by an application program that uses
-+ the facility, other than as an argument passed when the facility
-+ is invoked, then you must make a good faith effort to ensure that,
-+ in the event an application does not supply such function or
-+ table, the facility still operates, and performs whatever part of
-+ its purpose remains meaningful.
-+
-+ (For example, a function in a library to compute square roots has
-+ a purpose that is entirely well-defined independent of the
-+ application. Therefore, Subsection 2d requires that any
-+ application-supplied function or table used by this function must
-+ be optional: if the application does not supply it, the square
-+ root function must still compute square roots.)
-+
-+These requirements apply to the modified work as a whole. If
-+identifiable sections of that work are not derived from the Library,
-+and can be reasonably considered independent and separate works in
-+themselves, then this License, and its terms, do not apply to those
-+sections when you distribute them as separate works. But when you
-+distribute the same sections as part of a whole which is a work based
-+on the Library, the distribution of the whole must be on the terms of
-+this License, whose permissions for other licensees extend to the
-+entire whole, and thus to each and every part regardless of who wrote
-+it.
-+
-+Thus, it is not the intent of this section to claim rights or contest
-+your rights to work written entirely by you; rather, the intent is to
-+exercise the right to control the distribution of derivative or
-+collective works based on the Library.
-+
-+In addition, mere aggregation of another work not based on the Library
-+with the Library (or with a work based on the Library) on a volume of
-+a storage or distribution medium does not bring the other work under
-+the scope of this License.
-+
-+ 3. You may opt to apply the terms of the ordinary GNU General Public
-+License instead of this License to a given copy of the Library. To do
-+this, you must alter all the notices that refer to this License, so
-+that they refer to the ordinary GNU General Public License, version 2,
-+instead of to this License. (If a newer version than version 2 of the
-+ordinary GNU General Public License has appeared, then you can specify
-+that version instead if you wish.) Do not make any other change in
-+these notices.
-+
-+ Once this change is made in a given copy, it is irreversible for
-+that copy, so the ordinary GNU General Public License applies to all
-+subsequent copies and derivative works made from that copy.
-+
-+ This option is useful when you wish to copy part of the code of
-+the Library into a program that is not a library.
-+
-+ 4. You may copy and distribute the Library (or a portion or
-+derivative of it, under Section 2) in object code or executable form
-+under the terms of Sections 1 and 2 above provided that you accompany
-+it with the complete corresponding machine-readable source code, which
-+must be distributed under the terms of Sections 1 and 2 above on a
-+medium customarily used for software interchange.
-+
-+ If distribution of object code is made by offering access to copy
-+from a designated place, then offering equivalent access to copy the
-+source code from the same place satisfies the requirement to
-+distribute the source code, even though third parties are not
-+compelled to copy the source along with the object code.
-+
-+ 5. A program that contains no derivative of any portion of the
-+Library, but is designed to work with the Library by being compiled or
-+linked with it, is called a "work that uses the Library". Such a
-+work, in isolation, is not a derivative work of the Library, and
-+therefore falls outside the scope of this License.
-+
-+ However, linking a "work that uses the Library" with the Library
-+creates an executable that is a derivative of the Library (because it
-+contains portions of the Library), rather than a "work that uses the
-+library". The executable is therefore covered by this License.
-+Section 6 states terms for distribution of such executables.
-+
-+ When a "work that uses the Library" uses material from a header file
-+that is part of the Library, the object code for the work may be a
-+derivative work of the Library even though the source code is not.
-+Whether this is true is especially significant if the work can be
-+linked without the Library, or if the work is itself a library. The
-+threshold for this to be true is not precisely defined by law.
-+
-+ If such an object file uses only numerical parameters, data
-+structure layouts and accessors, and small macros and small inline
-+functions (ten lines or less in length), then the use of the object
-+file is unrestricted, regardless of whether it is legally a derivative
-+work. (Executables containing this object code plus portions of the
-+Library will still fall under Section 6.)
-+
-+ Otherwise, if the work is a derivative of the Library, you may
-+distribute the object code for the work under the terms of Section 6.
-+Any executables containing that work also fall under Section 6,
-+whether or not they are linked directly with the Library itself.
-+
-+ 6. As an exception to the Sections above, you may also combine or
-+link a "work that uses the Library" with the Library to produce a
-+work containing portions of the Library, and distribute that work
-+under terms of your choice, provided that the terms permit
-+modification of the work for the customer's own use and reverse
-+engineering for debugging such modifications.
-+
-+ You must give prominent notice with each copy of the work that the
-+Library is used in it and that the Library and its use are covered by
-+this License. You must supply a copy of this License. If the work
-+during execution displays copyright notices, you must include the
-+copyright notice for the Library among them, as well as a reference
-+directing the user to the copy of this License. Also, you must do one
-+of these things:
-+
-+ a) Accompany the work with the complete corresponding
-+ machine-readable source code for the Library including whatever
-+ changes were used in the work (which must be distributed under
-+ Sections 1 and 2 above); and, if the work is an executable linked
-+ with the Library, with the complete machine-readable "work that
-+ uses the Library", as object code and/or source code, so that the
-+ user can modify the Library and then relink to produce a modified
-+ executable containing the modified Library. (It is understood
-+ that the user who changes the contents of definitions files in the
-+ Library will not necessarily be able to recompile the application
-+ to use the modified definitions.)
-+
-+ b) Use a suitable shared library mechanism for linking with the
-+ Library. A suitable mechanism is one that (1) uses at run time a
-+ copy of the library already present on the user's computer system,
-+ rather than copying library functions into the executable, and (2)
-+ will operate properly with a modified version of the library, if
-+ the user installs one, as long as the modified version is
-+ interface-compatible with the version that the work was made with.
-+
-+ c) Accompany the work with a written offer, valid for at
-+ least three years, to give the same user the materials
-+ specified in Subsection 6a, above, for a charge no more
-+ than the cost of performing this distribution.
-+
-+ d) If distribution of the work is made by offering access to copy
-+ from a designated place, offer equivalent access to copy the above
-+ specified materials from the same place.
-+
-+ e) Verify that the user has already received a copy of these
-+ materials or that you have already sent this user a copy.
-+
-+ For an executable, the required form of the "work that uses the
-+Library" must include any data and utility programs needed for
-+reproducing the executable from it. However, as a special exception,
-+the materials to be distributed need not include anything that is
-+normally distributed (in either source or binary form) with the major
-+components (compiler, kernel, and so on) of the operating system on
-+which the executable runs, unless that component itself accompanies
-+the executable.
-+
-+ It may happen that this requirement contradicts the license
-+restrictions of other proprietary libraries that do not normally
-+accompany the operating system. Such a contradiction means you cannot
-+use both them and the Library together in an executable that you
-+distribute.
-+
-+ 7. You may place library facilities that are a work based on the
-+Library side-by-side in a single library together with other library
-+facilities not covered by this License, and distribute such a combined
-+library, provided that the separate distribution of the work based on
-+the Library and of the other library facilities is otherwise
-+permitted, and provided that you do these two things:
-+
-+ a) Accompany the combined library with a copy of the same work
-+ based on the Library, uncombined with any other library
-+ facilities. This must be distributed under the terms of the
-+ Sections above.
-+
-+ b) Give prominent notice with the combined library of the fact
-+ that part of it is a work based on the Library, and explaining
-+ where to find the accompanying uncombined form of the same work.
-+
-+ 8. You may not copy, modify, sublicense, link with, or distribute
-+the Library except as expressly provided under this License. Any
-+attempt otherwise to copy, modify, sublicense, link with, or
-+distribute the Library is void, and will automatically terminate your
-+rights under this License. However, parties who have received copies,
-+or rights, from you under this License will not have their licenses
-+terminated so long as such parties remain in full compliance.
-+
-+ 9. You are not required to accept this License, since you have not
-+signed it. However, nothing else grants you permission to modify or
-+distribute the Library or its derivative works. These actions are
-+prohibited by law if you do not accept this License. Therefore, by
-+modifying or distributing the Library (or any work based on the
-+Library), you indicate your acceptance of this License to do so, and
-+all its terms and conditions for copying, distributing or modifying
-+the Library or works based on it.
-+
-+ 10. Each time you redistribute the Library (or any work based on the
-+Library), the recipient automatically receives a license from the
-+original licensor to copy, distribute, link with or modify the Library
-+subject to these terms and conditions. You may not impose any further
-+restrictions on the recipients' exercise of the rights granted herein.
-+You are not responsible for enforcing compliance by third parties with
-+this License.
-+
-+ 11. If, as a consequence of a court judgment or allegation of patent
-+infringement or for any other reason (not limited to patent issues),
-+conditions are imposed on you (whether by court order, agreement or
-+otherwise) that contradict the conditions of this License, they do not
-+excuse you from the conditions of this License. If you cannot
-+distribute so as to satisfy simultaneously your obligations under this
-+License and any other pertinent obligations, then as a consequence you
-+may not distribute the Library at all. For example, if a patent
-+license would not permit royalty-free redistribution of the Library by
-+all those who receive copies directly or indirectly through you, then
-+the only way you could satisfy both it and this License would be to
-+refrain entirely from distribution of the Library.
-+
-+If any portion of this section is held invalid or unenforceable under any
-+particular circumstance, the balance of the section is intended to apply,
-+and the section as a whole is intended to apply in other circumstances.
-+
-+It is not the purpose of this section to induce you to infringe any
-+patents or other property right claims or to contest validity of any
-+such claims; this section has the sole purpose of protecting the
-+integrity of the free software distribution system which is
-+implemented by public license practices. Many people have made
-+generous contributions to the wide range of software distributed
-+through that system in reliance on consistent application of that
-+system; it is up to the author/donor to decide if he or she is willing
-+to distribute software through any other system and a licensee cannot
-+impose that choice.
-+
-+This section is intended to make thoroughly clear what is believed to
-+be a consequence of the rest of this License.
-+
-+ 12. If the distribution and/or use of the Library is restricted in
-+certain countries either by patents or by copyrighted interfaces, the
-+original copyright holder who places the Library under this License may add
-+an explicit geographical distribution limitation excluding those countries,
-+so that distribution is permitted only in or among countries not thus
-+excluded. In such case, this License incorporates the limitation as if
-+written in the body of this License.
-+
-+ 13. The Free Software Foundation may publish revised and/or new
-+versions of the Lesser General Public License from time to time.
-+Such new versions will be similar in spirit to the present version,
-+but may differ in detail to address new problems or concerns.
-+
-+Each version is given a distinguishing version number. If the Library
-+specifies a version number of this License which applies to it and
-+"any later version", you have the option of following the terms and
-+conditions either of that version or of any later version published by
-+the Free Software Foundation. If the Library does not specify a
-+license version number, you may choose any version ever published by
-+the Free Software Foundation.
-+
-+ 14. If you wish to incorporate parts of the Library into other free
-+programs whose distribution conditions are incompatible with these,
-+write to the author to ask for permission. For software which is
-+copyrighted by the Free Software Foundation, write to the Free
-+Software Foundation; we sometimes make exceptions for this. Our
-+decision will be guided by the two goals of preserving the free status
-+of all derivatives of our free software and of promoting the sharing
-+and reuse of software generally.
-+
-+ NO WARRANTY
-+
-+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-+
-+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-+DAMAGES.
-+
-+ END OF TERMS AND CONDITIONS
-+
-+ How to Apply These Terms to Your New Libraries
-+
-+ If you develop a new library, and you want it to be of the greatest
-+possible use to the public, we recommend making it free software that
-+everyone can redistribute and change. You can do so by permitting
-+redistribution under these terms (or, alternatively, under the terms of the
-+ordinary General Public License).
-+
-+ To apply these terms, attach the following notices to the library. It is
-+safest to attach them to the start of each source file to most effectively
-+convey the exclusion of warranty; and each file should have at least the
-+"copyright" line and a pointer to where the full notice is found.
-+
-+ <one line to give the library's name and a brief idea of what it does.>
-+ Copyright (C) <year> <name of author>
-+
-+ This library is free software; you can redistribute it and/or
-+ modify it under the terms of the GNU Lesser General Public
-+ License as published by the Free Software Foundation; either
-+ version 2.1 of the License, or (at your option) any later version.
-+
-+ This library is distributed in the hope that it will be useful,
-+ but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-+ Lesser General Public License for more details.
-+
-+ You should have received a copy of the GNU Lesser General Public
-+ License along with this library; if not, write to the Free Software
-+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-+
-+Also add information on how to contact you by electronic and paper mail.
-+
-+You should also get your employer (if you work as a programmer) or your
-+school, if any, to sign a "copyright disclaimer" for the library, if
-+necessary. Here is a sample; alter the names:
-+
-+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
-+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-+
-+ <signature of Ty Coon>, 1 April 1990
-+ Ty Coon, President of Vice
-+
-+That's all there is to it!
-+
-+
-+
-+
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about_files/mpl-v11.txt 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about_files/mpl-v11.txt 2009-12-23 15:14:12.586587615 -0500
-@@ -0,0 +1,470 @@
-+ MOZILLA PUBLIC LICENSE
-+ Version 1.1
-+
-+ ---------------
-+
-+1. Definitions.
-+
-+ 1.0.1. "Commercial Use" means distribution or otherwise making the
-+ Covered Code available to a third party.
-+
-+ 1.1. "Contributor" means each entity that creates or contributes to
-+ the creation of Modifications.
-+
-+ 1.2. "Contributor Version" means the combination of the Original
-+ Code, prior Modifications used by a Contributor, and the Modifications
-+ made by that particular Contributor.
-+
-+ 1.3. "Covered Code" means the Original Code or Modifications or the
-+ combination of the Original Code and Modifications, in each case
-+ including portions thereof.
-+
-+ 1.4. "Electronic Distribution Mechanism" means a mechanism generally
-+ accepted in the software development community for the electronic
-+ transfer of data.
-+
-+ 1.5. "Executable" means Covered Code in any form other than Source
-+ Code.
-+
-+ 1.6. "Initial Developer" means the individual or entity identified
-+ as the Initial Developer in the Source Code notice required by Exhibit
-+ A.
-+
-+ 1.7. "Larger Work" means a work which combines Covered Code or
-+ portions thereof with code not governed by the terms of this License.
-+
-+ 1.8. "License" means this document.
-+
-+ 1.8.1. "Licensable" means having the right to grant, to the maximum
-+ extent possible, whether at the time of the initial grant or
-+ subsequently acquired, any and all of the rights conveyed herein.
-+
-+ 1.9. "Modifications" means any addition to or deletion from the
-+ substance or structure of either the Original Code or any previous
-+ Modifications. When Covered Code is released as a series of files, a
-+ Modification is:
-+ A. Any addition to or deletion from the contents of a file
-+ containing Original Code or previous Modifications.
-+
-+ B. Any new file that contains any part of the Original Code or
-+ previous Modifications.
-+
-+ 1.10. "Original Code" means Source Code of computer software code
-+ which is described in the Source Code notice required by Exhibit A as
-+ Original Code, and which, at the time of its release under this
-+ License is not already Covered Code governed by this License.
-+
-+ 1.10.1. "Patent Claims" means any patent claim(s), now owned or
-+ hereafter acquired, including without limitation, method, process,
-+ and apparatus claims, in any patent Licensable by grantor.
-+
-+ 1.11. "Source Code" means the preferred form of the Covered Code for
-+ making modifications to it, including all modules it contains, plus
-+ any associated interface definition files, scripts used to control
-+ compilation and installation of an Executable, or source code
-+ differential comparisons against either the Original Code or another
-+ well known, available Covered Code of the Contributor's choice. The
-+ Source Code can be in a compressed or archival form, provided the
-+ appropriate decompression or de-archiving software is widely available
-+ for no charge.
-+
-+ 1.12. "You" (or "Your") means an individual or a legal entity
-+ exercising rights under, and complying with all of the terms of, this
-+ License or a future version of this License issued under Section 6.1.
-+ For legal entities, "You" includes any entity which controls, is
-+ controlled by, or is under common control with You. For purposes of
-+ this definition, "control" means (a) the power, direct or indirect,
-+ to cause the direction or management of such entity, whether by
-+ contract or otherwise, or (b) ownership of more than fifty percent
-+ (50%) of the outstanding shares or beneficial ownership of such
-+ entity.
-+
-+2. Source Code License.
-+
-+ 2.1. The Initial Developer Grant.
-+ The Initial Developer hereby grants You a world-wide, royalty-free,
-+ non-exclusive license, subject to third party intellectual property
-+ claims:
-+ (a) under intellectual property rights (other than patent or
-+ trademark) Licensable by Initial Developer to use, reproduce,
-+ modify, display, perform, sublicense and distribute the Original
-+ Code (or portions thereof) with or without Modifications, and/or
-+ as part of a Larger Work; and
-+
-+ (b) under Patents Claims infringed by the making, using or
-+ selling of Original Code, to make, have made, use, practice,
-+ sell, and offer for sale, and/or otherwise dispose of the
-+ Original Code (or portions thereof).
-+
-+ (c) the licenses granted in this Section 2.1(a) and (b) are
-+ effective on the date Initial Developer first distributes
-+ Original Code under the terms of this License.
-+
-+ (d) Notwithstanding Section 2.1(b) above, no patent license is
-+ granted: 1) for code that You delete from the Original Code; 2)
-+ separate from the Original Code; or 3) for infringements caused
-+ by: i) the modification of the Original Code or ii) the
-+ combination of the Original Code with other software or devices.
-+
-+ 2.2. Contributor Grant.
-+ Subject to third party intellectual property claims, each Contributor
-+ hereby grants You a world-wide, royalty-free, non-exclusive license
-+
-+ (a) under intellectual property rights (other than patent or
-+ trademark) Licensable by Contributor, to use, reproduce, modify,
-+ display, perform, sublicense and distribute the Modifications
-+ created by such Contributor (or portions thereof) either on an
-+ unmodified basis, with other Modifications, as Covered Code
-+ and/or as part of a Larger Work; and
-+
-+ (b) under Patent Claims infringed by the making, using, or
-+ selling of Modifications made by that Contributor either alone
-+ and/or in combination with its Contributor Version (or portions
-+ of such combination), to make, use, sell, offer for sale, have
-+ made, and/or otherwise dispose of: 1) Modifications made by that
-+ Contributor (or portions thereof); and 2) the combination of
-+ Modifications made by that Contributor with its Contributor
-+ Version (or portions of such combination).
-+
-+ (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
-+ effective on the date Contributor first makes Commercial Use of
-+ the Covered Code.
-+
-+ (d) Notwithstanding Section 2.2(b) above, no patent license is
-+ granted: 1) for any code that Contributor has deleted from the
-+ Contributor Version; 2) separate from the Contributor Version;
-+ 3) for infringements caused by: i) third party modifications of
-+ Contributor Version or ii) the combination of Modifications made
-+ by that Contributor with other software (except as part of the
-+ Contributor Version) or other devices; or 4) under Patent Claims
-+ infringed by Covered Code in the absence of Modifications made by
-+ that Contributor.
-+
-+3. Distribution Obligations.
-+
-+ 3.1. Application of License.
-+ The Modifications which You create or to which You contribute are
-+ governed by the terms of this License, including without limitation
-+ Section 2.2. The Source Code version of Covered Code may be
-+ distributed only under the terms of this License or a future version
-+ of this License released under Section 6.1, and You must include a
-+ copy of this License with every copy of the Source Code You
-+ distribute. You may not offer or impose any terms on any Source Code
-+ version that alters or restricts the applicable version of this
-+ License or the recipients' rights hereunder. However, You may include
-+ an additional document offering the additional rights described in
-+ Section 3.5.
-+
-+ 3.2. Availability of Source Code.
-+ Any Modification which You create or to which You contribute must be
-+ made available in Source Code form under the terms of this License
-+ either on the same media as an Executable version or via an accepted
-+ Electronic Distribution Mechanism to anyone to whom you made an
-+ Executable version available; and if made available via Electronic
-+ Distribution Mechanism, must remain available for at least twelve (12)
-+ months after the date it initially became available, or at least six
-+ (6) months after a subsequent version of that particular Modification
-+ has been made available to such recipients. You are responsible for
-+ ensuring that the Source Code version remains available even if the
-+ Electronic Distribution Mechanism is maintained by a third party.
-+
-+ 3.3. Description of Modifications.
-+ You must cause all Covered Code to which You contribute to contain a
-+ file documenting the changes You made to create that Covered Code and
-+ the date of any change. You must include a prominent statement that
-+ the Modification is derived, directly or indirectly, from Original
-+ Code provided by the Initial Developer and including the name of the
-+ Initial Developer in (a) the Source Code, and (b) in any notice in an
-+ Executable version or related documentation in which You describe the
-+ origin or ownership of the Covered Code.
-+
-+ 3.4. Intellectual Property Matters
-+ (a) Third Party Claims.
-+ If Contributor has knowledge that a license under a third party's
-+ intellectual property rights is required to exercise the rights
-+ granted by such Contributor under Sections 2.1 or 2.2,
-+ Contributor must include a text file with the Source Code
-+ distribution titled "LEGAL" which describes the claim and the
-+ party making the claim in sufficient detail that a recipient will
-+ know whom to contact. If Contributor obtains such knowledge after
-+ the Modification is made available as described in Section 3.2,
-+ Contributor shall promptly modify the LEGAL file in all copies
-+ Contributor makes available thereafter and shall take other steps
-+ (such as notifying appropriate mailing lists or newsgroups)
-+ reasonably calculated to inform those who received the Covered
-+ Code that new knowledge has been obtained.
-+
-+ (b) Contributor APIs.
-+ If Contributor's Modifications include an application programming
-+ interface and Contributor has knowledge of patent licenses which
-+ are reasonably necessary to implement that API, Contributor must
-+ also include this information in the LEGAL file.
-+
-+ (c) Representations.
-+ Contributor represents that, except as disclosed pursuant to
-+ Section 3.4(a) above, Contributor believes that Contributor's
-+ Modifications are Contributor's original creation(s) and/or
-+ Contributor has sufficient rights to grant the rights conveyed by
-+ this License.
-+
-+ 3.5. Required Notices.
-+ You must duplicate the notice in Exhibit A in each file of the Source
-+ Code. If it is not possible to put such notice in a particular Source
-+ Code file due to its structure, then You must include such notice in a
-+ location (such as a relevant directory) where a user would be likely
-+ to look for such a notice. If You created one or more Modification(s)
-+ You may add your name as a Contributor to the notice described in
-+ Exhibit A. You must also duplicate this License in any documentation
-+ for the Source Code where You describe recipients' rights or ownership
-+ rights relating to Covered Code. You may choose to offer, and to
-+ charge a fee for, warranty, support, indemnity or liability
-+ obligations to one or more recipients of Covered Code. However, You
-+ may do so only on Your own behalf, and not on behalf of the Initial
-+ Developer or any Contributor. You must make it absolutely clear than
-+ any such warranty, support, indemnity or liability obligation is
-+ offered by You alone, and You hereby agree to indemnify the Initial
-+ Developer and every Contributor for any liability incurred by the
-+ Initial Developer or such Contributor as a result of warranty,
-+ support, indemnity or liability terms You offer.
-+
-+ 3.6. Distribution of Executable Versions.
-+ You may distribute Covered Code in Executable form only if the
-+ requirements of Section 3.1-3.5 have been met for that Covered Code,
-+ and if You include a notice stating that the Source Code version of
-+ the Covered Code is available under the terms of this License,
-+ including a description of how and where You have fulfilled the
-+ obligations of Section 3.2. The notice must be conspicuously included
-+ in any notice in an Executable version, related documentation or
-+ collateral in which You describe recipients' rights relating to the
-+ Covered Code. You may distribute the Executable version of Covered
-+ Code or ownership rights under a license of Your choice, which may
-+ contain terms different from this License, provided that You are in
-+ compliance with the terms of this License and that the license for the
-+ Executable version does not attempt to limit or alter the recipient's
-+ rights in the Source Code version from the rights set forth in this
-+ License. If You distribute the Executable version under a different
-+ license You must make it absolutely clear that any terms which differ
-+ from this License are offered by You alone, not by the Initial
-+ Developer or any Contributor. You hereby agree to indemnify the
-+ Initial Developer and every Contributor for any liability incurred by
-+ the Initial Developer or such Contributor as a result of any such
-+ terms You offer.
-+
-+ 3.7. Larger Works.
-+ You may create a Larger Work by combining Covered Code with other code
-+ not governed by the terms of this License and distribute the Larger
-+ Work as a single product. In such a case, You must make sure the
-+ requirements of this License are fulfilled for the Covered Code.
-+
-+4. Inability to Comply Due to Statute or Regulation.
-+
-+ If it is impossible for You to comply with any of the terms of this
-+ License with respect to some or all of the Covered Code due to
-+ statute, judicial order, or regulation then You must: (a) comply with
-+ the terms of this License to the maximum extent possible; and (b)
-+ describe the limitations and the code they affect. Such description
-+ must be included in the LEGAL file described in Section 3.4 and must
-+ be included with all distributions of the Source Code. Except to the
-+ extent prohibited by statute or regulation, such description must be
-+ sufficiently detailed for a recipient of ordinary skill to be able to
-+ understand it.
-+
-+5. Application of this License.
-+
-+ This License applies to code to which the Initial Developer has
-+ attached the notice in Exhibit A and to related Covered Code.
-+
-+6. Versions of the License.
-+
-+ 6.1. New Versions.
-+ Netscape Communications Corporation ("Netscape") may publish revised
-+ and/or new versions of the License from time to time. Each version
-+ will be given a distinguishing version number.
-+
-+ 6.2. Effect of New Versions.
-+ Once Covered Code has been published under a particular version of the
-+ License, You may always continue to use it under the terms of that
-+ version. You may also choose to use such Covered Code under the terms
-+ of any subsequent version of the License published by Netscape. No one
-+ other than Netscape has the right to modify the terms applicable to
-+ Covered Code created under this License.
-+
-+ 6.3. Derivative Works.
-+ If You create or use a modified version of this License (which you may
-+ only do in order to apply it to code which is not already Covered Code
-+ governed by this License), You must (a) rename Your license so that
-+ the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
-+ "MPL", "NPL" or any confusingly similar phrase do not appear in your
-+ license (except to note that your license differs from this License)
-+ and (b) otherwise make it clear that Your version of the license
-+ contains terms which differ from the Mozilla Public License and
-+ Netscape Public License. (Filling in the name of the Initial
-+ Developer, Original Code or Contributor in the notice described in
-+ Exhibit A shall not of themselves be deemed to be modifications of
-+ this License.)
-+
-+7. DISCLAIMER OF WARRANTY.
-+
-+ COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
-+ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
-+ WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
-+ DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
-+ THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
-+ IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
-+ YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
-+ COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
-+ OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
-+ ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
-+
-+8. TERMINATION.
-+
-+ 8.1. This License and the rights granted hereunder will terminate
-+ automatically if You fail to comply with terms herein and fail to cure
-+ such breach within 30 days of becoming aware of the breach. All
-+ sublicenses to the Covered Code which are properly granted shall
-+ survive any termination of this License. Provisions which, by their
-+ nature, must remain in effect beyond the termination of this License
-+ shall survive.
-+
-+ 8.2. If You initiate litigation by asserting a patent infringement
-+ claim (excluding declatory judgment actions) against Initial Developer
-+ or a Contributor (the Initial Developer or Contributor against whom
-+ You file such action is referred to as "Participant") alleging that:
-+
-+ (a) such Participant's Contributor Version directly or indirectly
-+ infringes any patent, then any and all rights granted by such
-+ Participant to You under Sections 2.1 and/or 2.2 of this License
-+ shall, upon 60 days notice from Participant terminate prospectively,
-+ unless if within 60 days after receipt of notice You either: (i)
-+ agree in writing to pay Participant a mutually agreeable reasonable
-+ royalty for Your past and future use of Modifications made by such
-+ Participant, or (ii) withdraw Your litigation claim with respect to
-+ the Contributor Version against such Participant. If within 60 days
-+ of notice, a reasonable royalty and payment arrangement are not
-+ mutually agreed upon in writing by the parties or the litigation claim
-+ is not withdrawn, the rights granted by Participant to You under
-+ Sections 2.1 and/or 2.2 automatically terminate at the expiration of
-+ the 60 day notice period specified above.
-+
-+ (b) any software, hardware, or device, other than such Participant's
-+ Contributor Version, directly or indirectly infringes any patent, then
-+ any rights granted to You by such Participant under Sections 2.1(b)
-+ and 2.2(b) are revoked effective as of the date You first made, used,
-+ sold, distributed, or had made, Modifications made by that
-+ Participant.
-+
-+ 8.3. If You assert a patent infringement claim against Participant
-+ alleging that such Participant's Contributor Version directly or
-+ indirectly infringes any patent where such claim is resolved (such as
-+ by license or settlement) prior to the initiation of patent
-+ infringement litigation, then the reasonable value of the licenses
-+ granted by such Participant under Sections 2.1 or 2.2 shall be taken
-+ into account in determining the amount or value of any payment or
-+ license.
-+
-+ 8.4. In the event of termination under Sections 8.1 or 8.2 above,
-+ all end user license agreements (excluding distributors and resellers)
-+ which have been validly granted by You or any distributor hereunder
-+ prior to termination shall survive termination.
-+
-+9. LIMITATION OF LIABILITY.
-+
-+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
-+ (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
-+ DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
-+ OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
-+ ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
-+ CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
-+ WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
-+ COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
-+ INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
-+ LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
-+ RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
-+ PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
-+ EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
-+ THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-+
-+10. U.S. GOVERNMENT END USERS.
-+
-+ The Covered Code is a "commercial item," as that term is defined in
-+ 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
-+ software" and "commercial computer software documentation," as such
-+ terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
-+ C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
-+ all U.S. Government End Users acquire Covered Code with only those
-+ rights set forth herein.
-+
-+11. MISCELLANEOUS.
-+
-+ This License represents the complete agreement concerning subject
-+ matter hereof. If any provision of this License is held to be
-+ unenforceable, such provision shall be reformed only to the extent
-+ necessary to make it enforceable. This License shall be governed by
-+ California law provisions (except to the extent applicable law, if
-+ any, provides otherwise), excluding its conflict-of-law provisions.
-+ With respect to disputes in which at least one party is a citizen of,
-+ or an entity chartered or registered to do business in the United
-+ States of America, any litigation relating to this License shall be
-+ subject to the jurisdiction of the Federal Courts of the Northern
-+ District of California, with venue lying in Santa Clara County,
-+ California, with the losing party responsible for costs, including
-+ without limitation, court costs and reasonable attorneys' fees and
-+ expenses. The application of the United Nations Convention on
-+ Contracts for the International Sale of Goods is expressly excluded.
-+ Any law or regulation which provides that the language of a contract
-+ shall be construed against the drafter shall not apply to this
-+ License.
-+
-+12. RESPONSIBILITY FOR CLAIMS.
-+
-+ As between Initial Developer and the Contributors, each party is
-+ responsible for claims and damages arising, directly or indirectly,
-+ out of its utilization of rights under this License and You agree to
-+ work with Initial Developer and Contributors to distribute such
-+ responsibility on an equitable basis. Nothing herein is intended or
-+ shall be deemed to constitute any admission of liability.
-+
-+13. MULTIPLE-LICENSED CODE.
-+
-+ Initial Developer may designate portions of the Covered Code as
-+ "Multiple-Licensed". "Multiple-Licensed" means that the Initial
-+ Developer permits you to utilize portions of the Covered Code under
-+ Your choice of the NPL or the alternative licenses, if any, specified
-+ by the Initial Developer in the file described in Exhibit A.
-+
-+EXHIBIT A -Mozilla Public License.
-+
-+ ``The contents of this file are subject to the Mozilla Public License
-+ Version 1.1 (the "License"); you may not use this file except in
-+ compliance with the License. You may obtain a copy of the License at
-+ http://www.mozilla.org/MPL/
-+
-+ Software distributed under the License is distributed on an "AS IS"
-+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-+ License for the specific language governing rights and limitations
-+ under the License.
-+
-+ The Original Code is ______________________________________.
-+
-+ The Initial Developer of the Original Code is ________________________.
-+ Portions created by ______________________ are Copyright (C) ______
-+ _______________________. All Rights Reserved.
-+
-+ Contributor(s): ______________________________________.
-+
-+ Alternatively, the contents of this file may be used under the terms
-+ of the _____ license (the "[___] License"), in which case the
-+ provisions of [______] License are applicable instead of those
-+ above. If you wish to allow use of your version of this file only
-+ under the terms of the [____] License and not to allow others to use
-+ your version of this file under the MPL, indicate your decision by
-+ deleting the provisions above and replace them with the notice and
-+ other provisions required by the [___] License. If you do not delete
-+ the provisions above, a recipient may use your version of this file
-+ under either the MPL or the [___] License."
-+
-+ [NOTE: The text of this Exhibit A may differ slightly from the text of
-+ the notices in the Source Code files of the Original Code. You should
-+ use the text of this Exhibit A rather than the text found in the
-+ Original Code Source Code for Your Modifications.]
-+
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about_files/pixman-licenses.txt 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/about_files/pixman-licenses.txt 2009-12-23 15:14:12.587591638 -0500
-@@ -0,0 +1,92 @@
-+libpixregion
-+
-+Copyright 1987, 1998 The Open Group
-+
-+Permission to use, copy, modify, distribute, and sell this software and its
-+documentation for any purpose is hereby granted without fee, provided that
-+the above copyright notice appear in all copies and that both that
-+copyright notice and this permission notice appear in supporting
-+documentation.
-+
-+The above copyright notice and this permission notice shall be included in
-+all copies or substantial portions of the Software.
-+
-+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-+OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-+
-+Except as contained in this notice, the name of The Open Group shall not be
-+used in advertising or otherwise to promote the sale, use or other dealings
-+in this Software without prior written authorization from The Open Group.
-+
-+
-+Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
-+
-+ All Rights Reserved
-+
-+Permission to use, copy, modify, and distribute this software and its
-+documentation for any purpose and without fee is hereby granted,
-+provided that the above copyright notice appear in all copies and that
-+both that copyright notice and this permission notice appear in
-+supporting documentation, and that the name of Digital not be
-+used in advertising or publicity pertaining to distribution of the
-+software without specific, written prior permission.
-+
-+DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-+ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-+DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-+ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-+WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-+ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-+SOFTWARE.
-+
-+----------------------------------------------------------------------
-+libic
-+
-+Copyright © 2001 Keith Packard
-+
-+Permission to use, copy, modify, distribute, and sell this software and its
-+documentation for any purpose is hereby granted without fee, provided that
-+the above copyright notice appear in all copies and that both that
-+copyright notice and this permission notice appear in supporting
-+documentation, and that the name of Keith Packard not be used in
-+advertising or publicity pertaining to distribution of the software without
-+specific, written prior permission. Keith Packard makes no
-+representations about the suitability of this software for any purpose. It
-+is provided "as is" without express or implied warranty.
-+
-+KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
-+EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
-+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
-+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
-+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+PERFORMANCE OF THIS SOFTWARE.
-+
-+----------------------------------------------------------------------
-+slim
-+
-+slim is Copyright © 2003 Richard Henderson
-+
-+Permission to use, copy, modify, distribute, and sell this software
-+and its documentation for any purpose is hereby granted without fee,
-+provided that the above copyright notice appear in all copies and that
-+both that copyright notice and this permission notice appear in
-+supporting documentation, and that the name of Richard Henderson not be
-+used in advertising or publicity pertaining to distribution of the
-+software without specific, written prior permission. Richard Henderson
-+makes no representations about the suitability of this software for
-+any purpose. It is provided "as is" without express or implied
-+warranty.
-+
-+RICHARD HENDERSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
-+EVENT SHALL RICHARD HENDERSON BE LIABLE FOR ANY SPECIAL, INDIRECT OR
-+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
-+USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+PERFORMANCE OF THIS SOFTWARE.
-+
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/build.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/build.properties 2009-12-23 15:14:12.587591638 -0500
-@@ -0,0 +1,11 @@
-+###############################################################################
-+# Copyright (c) 2000, 2005 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+custom = true
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/build.xml 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/build.xml 2009-12-23 15:14:12.588595660 -0500
-@@ -0,0 +1,17 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<project name="org.eclipse.swt.gtk.freebsd.x86_64" default="build.jars" basedir=".">
-+
-+ <property name="swt.ws" value="gtk" />
-+ <property name="swt.os" value="freebsd" />
-+ <property name="swt.arch" value="x86_64" />
-+ <property name="targets" value="make_mozilla make_xulrunner make_xpcominit install"/>
-+
-+ <!-- These properties are used by eclipse when exporting as Deployable plugin and fragments -->
-+ <property name="version.suffix" value="3.7.1" />
-+
-+ <condition property="plugindir" value="../../../eclipse.platform.swt/bundles/org.eclipse.swt" else="${buildDirectory}/plugins/org.eclipse.swt">
-+ <available file="../../../eclipse.platform.swt/bundles/org.eclipse.swt" type="dir"/>
-+ </condition>
-+ <import file="${plugindir}/buildFragment.xml"/>
-+ <import file="${plugindir}/buildSWT.xml"/>
-+</project>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/fragment.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt.gtk.freebsd.x86_64/fragment.properties 2009-12-23 15:14:12.588595660 -0500
-@@ -0,0 +1,12 @@
-+###############################################################################
-+# Copyright (c) 2000, 2005 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+fragmentName = Standard Widget Toolkit for GTK 2.0
-+providerName = Eclipse.org
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.ui.intro.universal/plugin.xml 2009-05-26 16:09:14.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.ui.intro.universal/plugin.xml 2009-12-23 15:14:12.604659183 -0500
-@@ -45,7 +45,7 @@
- <implementation
- style="themes/shared/html/shared.css,$theme$/html/shared.css,$theme$/html/font-$fontStyle$.css,$theme$/html/$direction$.css"
- kind="html"
-- os="win32,linux,macosx,solaris">
-+ os="win32,linux,macosx,solaris,freebsd">
- </implementation>
- <implementation
- kind="swt">
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.ui.workbench.texteditor/plugin.xml 2009-02-10 03:48:36.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.ui.workbench.texteditor/plugin.xml 2009-12-23 15:14:12.605663205 -0500
-@@ -1161,7 +1161,7 @@
- %blockSelectionModeFont.description
- </description>
- <fontValue
-- os="linux"
-+ os="linux,freebsd"
- value="Monospace-regular-10"
- ws="gtk">
- </fontValue>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core/plugin.properties 2006-03-17 01:02:59.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core/plugin.properties 2009-12-23 15:14:12.606668066 -0500
-@@ -12,6 +12,7 @@
- providerName= Eclipse.org
- fragmentNameWin= Install/Update Core for Windows
- fragmentNameLinux= Install/Update Core for Linux
-+fragmentNameFreeBSD= Install/Update Core for FreeBSD
- featureTypes.name=Install/Update Concrete Feature Type Implementation Factory
- siteTypes.name=Install/Update Concrete Site Type Implementation Factory
- installHandlers.name=Install/Update Global Install Handlers
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core/src/org/eclipse/update/internal/core/UpdateManagerUtils.java 2009-05-25 18:10:28.000000000 -0400
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core/src/org/eclipse/update/internal/core/UpdateManagerUtils.java 2009-12-23 15:14:12.607671250 -0500
-@@ -42,6 +42,8 @@
- || org.eclipse.osgi.service.environment.Constants.OS_SOLARIS
- .equals(Platform.getOS())
- || org.eclipse.osgi.service.environment.Constants.OS_MACOSX
-+ .equals(Platform.getOS())
-+ || org.eclipse.osgi.service.environment.Constants.OS_FREEBSD
- .equals(Platform.getOS());
- private static FragmentEntry[] noFragments = new FragmentEntry[0];
- private static Map table;
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/.classpath 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/.classpath 2009-12-23 15:14:12.607671250 -0500
-@@ -0,0 +1,7 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<classpath>
-+ <classpathentry kind="src" path="src"/>
-+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-+ <classpathentry kind="output" path="bin"/>
-+</classpath>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/.cvsignore 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/.cvsignore 2009-12-23 15:14:12.607671250 -0500
-@@ -0,0 +1 @@
-+bin
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/.project 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/.project 2009-12-23 15:14:12.608675273 -0500
-@@ -0,0 +1,33 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<projectDescription>
-+ <name>org.eclipse.update.core.linux</name>
-+ <comment></comment>
-+ <projects>
-+ <project>org.eclipse.core.boot</project>
-+ <project>org.eclipse.core.runtime</project>
-+ <project>org.eclipse.core.runtime.compatibility</project>
-+ <project>org.eclipse.update.configurator</project>
-+ <project>org.eclipse.update.core</project>
-+ </projects>
-+ <buildSpec>
-+ <buildCommand>
-+ <name>org.eclipse.jdt.core.javabuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.ManifestBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ <buildCommand>
-+ <name>org.eclipse.pde.SchemaBuilder</name>
-+ <arguments>
-+ </arguments>
-+ </buildCommand>
-+ </buildSpec>
-+ <natures>
-+ <nature>org.eclipse.jdt.core.javanature</nature>
-+ <nature>org.eclipse.pde.PluginNature</nature>
-+ </natures>
-+</projectDescription>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/META-INF/MANIFEST.MF 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/META-INF/MANIFEST.MF 2009-12-23 15:14:12.608675273 -0500
-@@ -0,0 +1,9 @@
-+Manifest-Version: 1.0
-+Bundle-ManifestVersion: 2
-+Bundle-Name: %fragmentNameFreeBSD
-+Bundle-SymbolicName: org.eclipse.update.core.freebsd
-+Bundle-Version: 3.2.100.qualifier
-+Bundle-Vendor: %providerName
-+Fragment-Host: org.eclipse.update.core;bundle-version="[3.0.0,4.0.0)"
-+Bundle-Localization: plugin
-+Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86))
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/about.html 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/about.html 2009-12-23 15:14:12.609679016 -0500
-@@ -0,0 +1,28 @@
-+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml">
-+<head>
-+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-+<title>About</title>
-+</head>
-+<body lang="EN-US">
-+<h2>About This Content</h2>
-+
-+<p>June 2, 2006</p>
-+<h3>License</h3>
-+
-+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-+indicated below, the Content is provided to you under the terms and conditions of the
-+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-+
-+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-+apply to your use of any object code in the Content. Check the Redistributor's license that was
-+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-+and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-+
-+</body>
-+</html>
-\ No newline at end of file
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/build.properties 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/build.properties 2009-12-23 15:14:12.609679016 -0500
-@@ -0,0 +1,16 @@
-+###############################################################################
-+# Copyright (c) 2000, 2005 IBM Corporation and others.
-+# All rights reserved. This program and the accompanying materials
-+# are made available under the terms of the Eclipse Public License v1.0
-+# which accompanies this distribution, and is available at
-+# http://www.eclipse.org/legal/epl-v10.html
-+#
-+# Contributors:
-+# IBM Corporation - initial API and implementation
-+###############################################################################
-+bin.includes = os/,\
-+ fragment.properties,\
-+ about.html,\
-+ META-INF/
-+src.includes = src/,\
-+ about.html
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/src/build.xml 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/src/build.xml 2009-12-23 15:14:12.609679016 -0500
-@@ -0,0 +1,70 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<project name="buildlibrary" default="run" basedir=".">
-+
-+ <!-- The properties ${eclipse-home} ${jdk-path} should be passed into this script -->
-+ <!-- Set a meaningful default value for when it is not. -->
-+ <property name="eclipse-home" value="${basedir}/../.."/>
-+ <property name="jdk-path" value="${java.home}"/>
-+ <property name="installArch" value="x86" />
-+ <property name="destination" value="${eclipse-home}/org.eclipse.update.core.freebsd/os/freebsd/${installArch}/"/>
-+ <property name="obj-path" value="${eclipse-home}/org.eclipse.update.core.freebsd/src/"/>
-+ <property name="src-path" value="${eclipse-home}/org.eclipse.update.core.freebsd/src/"/>
-+
-+ <!-- sets the properties -->
-+ <property name="library-name" value="libupdate"/>
-+ <property name="library-platform" value="so"/>
-+ <property name="library-file" value="${library-name}.${library-platform}"/>
-+
-+ <!-- This target holds all initialization code that needs to be done for -->
-+ <!-- all tests that are to be run. Initialization for individual tests -->
-+ <!-- should be done within the body of the suite target. -->
-+ <target name="init">
-+ <tstamp/>
-+ <delete>
-+ <fileset dir="${obj-path}" includes="${library-file}"/>
-+ <fileset dir="${obj-path}" includes="${library-name}.o"/>
-+ </delete>
-+ </target>
-+
-+ <!-- This target holds code to cleanup the testing environment after -->
-+ <!-- after all of the tests have been run. You can use this target to -->
-+ <!-- delete temporary files that have been created. -->
-+ <target name="cleanup">
-+ <delete>
-+ <fileset dir="${obj-path}" includes="${library-file}"/>
-+ <fileset dir="${obj-path}" includes="${library-name}.o"/>
-+ </delete>
-+ </target>
-+
-+
-+ <!-- This target runs the build. -->
-+ <target name="run" depends="init,build,cleanup">
-+ </target>
-+
-+ <!-- This target build the library -->
-+ <target name="build">
-+ <echo message="Building ${library-file}"/>
-+
-+ <property name="header-path" value="${jdk-path}/../include"/>
-+ <property name="header-freebsd-path" value="${header-path}/freebsd" />
-+
-+ <echo message="cc -o ${library-file} -shared -I${src-path} -I${header-freebsd-path} -fPIC ${library-file}"/>
-+
-+ <apply executable="cc" dest="${eclipse-home}/" parallel="false">
-+ <arg value="-o"/>
-+ <arg value="${library-file}"/>
-+ <arg value="-shared"/>
-+ <arg value="-I${src-path}"/>
-+ <arg value="-I${header-path}"/>
-+ <arg value="-I${header-freebsd-path}"/>
-+ <arg value="-fPIC"/>
-+ <srcfile/>
-+ <fileset dir="${src-path}" includes="*.c"/>
-+ <mapper type="glob" from="*.c" to="*.o"/>
-+ </apply>
-+
-+ <move file="${library-file}" todir="${destination}"/>
-+ </target>
-+
-+
-+</project>
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/src/update.c 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/src/update.c 2009-12-23 15:14:12.610683039 -0500
-@@ -0,0 +1,165 @@
-+/**********************************************************************
-+ * Copyright (c) 2000, 2005 IBM Corporation and others.
-+ * All rights reserved. This program and the accompanying materials
-+ * are made available under the terms of the Eclipse Public License v1.0
-+ * which accompanies this distribution, and is available at
-+ * http://www.eclipse.org/legal/epl-v10.html
-+ *
-+ * Contributors:
-+ * IBM Corporation - Initial API and implementation
-+ **********************************************************************/
-+
-+/* bug 82520 : need to include stdlib.h */
-+# include <stdlib.h>
-+# include <sys/param.h>
-+# include <sys/types.h>
-+# include <sys/mount.h>
-+# include <update.h>
-+
-+/*
-+ * Class: org_eclipse_update_configuration_LocalSystemInfo
-+ * Method: nativeGetFreeSpace
-+ * Signature: (Ljava/io/File;)J
-+ */
-+JNIEXPORT jlong JNICALL Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetFreeSpace(
-+ JNIEnv * jnienv,
-+ jclass javaClass,
-+ jobject file) {
-+
-+ // to retrive the String
-+ jclass cls;
-+ jmethodID id;
-+ jobject obj;
-+
-+ // java.io.File.getAbsolutePath()
-+ const char * lpDirectoryName;
-+
-+ // Linux Parameters
-+ struct statfs buffer;
-+
-+ // the result
-+ jlong result = org_eclipse_update_configuration_LocalSystemInfo_SIZE_UNKNOWN;
-+
-+ cls = (*jnienv) -> GetObjectClass(jnienv, file);
-+ id = (*jnienv) -> GetMethodID(jnienv, cls, "getAbsolutePath", "()Ljava/lang/String;");
-+ obj = (*jnienv) -> CallObjectMethod(jnienv, file, id);
-+ lpDirectoryName = (*jnienv) -> GetStringUTFChars(jnienv, (jstring) obj, 0);
-+
-+ // cast one argument as jlong to have a jlong result
-+ int err = statfs(lpDirectoryName,&buffer);
-+ if (err==0){
-+ long size = buffer.f_bsize;
-+ jlong free = buffer.f_bfree;
-+ result = size*free;
-+ }
-+
-+ return result;
-+}
-+
-+/*
-+ * Class: org_eclipse_update_configuration_LocalSystemInfo
-+ * Method: nativeGetLabel
-+ * Signature: (Ljava/io/File;)Ljava/lang/String;
-+ */
-+JNIEXPORT jstring JNICALL Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetLabel(
-+ JNIEnv * jnienv,
-+ jclass javaClass,
-+ jobject file) {
-+
-+ // to retrive the String
-+ jclass cls;
-+ jmethodID id;
-+ jobject obj;
-+
-+ // java.io.File.getAbsolutePath()
-+ const char * lpDirectoryName;
-+
-+ // obtain the String from the parameter
-+ cls = (*jnienv) -> GetObjectClass(jnienv, file);
-+ id = (*jnienv) -> GetMethodID(jnienv, cls, "getAbsolutePath", "()Ljava/lang/String;");
-+ obj = (*jnienv) -> CallObjectMethod(jnienv, file, id);
-+ lpDirectoryName = (*jnienv) -> GetStringUTFChars(jnienv, (jstring) obj, 0);
-+
-+ jstring result = NULL;
-+
-+ // Linux implementation following
-+
-+ return result;
-+}
-+
-+/*
-+ * Class: org_eclipse_update_configuration_LocalSystemInfo
-+ * Method: nativeGetType
-+ * Signature: (Ljava/io/File;)I
-+ */
-+JNIEXPORT jint JNICALL Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetType(
-+ JNIEnv * jnienv,
-+ jclass javaClass,
-+ jobject file) {
-+
-+ // to retrive the String
-+ jclass cls;
-+ jmethodID id;
-+ jobject obj;
-+
-+ // java.io.File.getAbsolutePath()
-+ const char * lpDirectoryName;
-+
-+ // obtain the String from the parameter
-+ cls = (*jnienv) -> GetObjectClass(jnienv, file);
-+ id = (*jnienv) -> GetMethodID(jnienv, cls, "getAbsolutePath", "()Ljava/lang/String;");
-+ obj = (*jnienv) -> CallObjectMethod(jnienv, file, id);
-+ lpDirectoryName = (*jnienv) -> GetStringUTFChars(jnienv, (jstring) obj, 0);
-+
-+ int result;
-+
-+ // Linux implemantation
-+
-+ result = org_eclipse_update_configuration_LocalSystemInfo_VOLUME_INVALID_PATH;
-+ return result;
-+}
-+
-+/*
-+ * Class: org_eclipse_update_configuration_LocalSystemInfo
-+ * Method: nativeListMountPoints
-+ * Signature: ()[Ljava/lang/String;
-+ */
-+JNIEXPORT jobjectArray JNICALL Java_org_eclipse_update_configuration_LocalSystemInfo_nativeListMountPoints(
-+ JNIEnv * jnienv,
-+ jclass javaClass) {
-+
-+ //
-+ int drive;
-+ char driveName[100];
-+ jobjectArray returnArray;
-+ int nDrive = 0;
-+
-+ //
-+ jclass stringClass;
-+ jobject empty;
-+ int index = 0;
-+ jobject str;
-+
-+ // Linux implementation
-+ // find mount points
-+
-+ drive = 0;
-+ stringClass = (*jnienv) -> FindClass(jnienv, "java/lang/String");
-+ empty = (*jnienv) -> NewStringUTF(jnienv, "");
-+ //returnArray = (*jnienv) -> NewObjectArray(jnienv, nDrive, stringClass, empty);
-+
-+ // for now return null as method is not implemented
-+ returnArray = NULL;
-+
-+ int i;
-+ for (i = 0; i < drive; i++) {
-+ // Linux implementation, create String for each mount point
-+
-+ str = (*jnienv) -> NewStringUTF(jnienv, driveName);
-+ (*jnienv) -> SetObjectArrayElement(jnienv, returnArray, index, str);
-+
-+ index++;
-+ }
-+
-+ return returnArray;
-+}
---- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/src/update.h 1969-12-31 19:00:00.000000000 -0500
-+++ build/eclipse-3.5.2-src/plugins/org.eclipse.update.core.freebsd/src/update.h 2009-12-23 15:14:12.610683039 -0500
-@@ -0,0 +1,76 @@
-+/* DO NOT EDIT THIS FILE - it is machine generated */
-+
-+/**********************************************************************
-+ * Copyright (c) 2000, 2005 IBM Corporation and others.
-+ * All rights reserved. This program and the accompanying materials
-+ * are made available under the terms of the Eclipse Public License v1.0
-+ * which accompanies this distribution, and is available at
-+ * http://www.eclipse.org/legal/epl-v10.html
-+ *
-+ * Contributors:
-+ * IBM Corporation - Initial API and implementation
-+ **********************************************************************/
-+
-+#include <jni.h>
-+/* Header for class org_eclipse_update_configuration_LocalSystemInfo */
-+
-+#ifndef _Included_org_eclipse_update_configuration_LocalSystemInfo
-+#define _Included_org_eclipse_update_configuration_LocalSystemInfo
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
-+#undef org_eclipse_update_configuration_LocalSystemInfo_SIZE_UNKNOWN
-+#define org_eclipse_update_configuration_LocalSystemInfo_SIZE_UNKNOWN -1L
-+#undef org_eclipse_update_configuration_LocalSystemInfo_VOLUME_UNKNOWN
-+#define org_eclipse_update_configuration_LocalSystemInfo_VOLUME_UNKNOWN -1L
-+#undef org_eclipse_update_configuration_LocalSystemInfo_VOLUME_INVALID_PATH
-+#define org_eclipse_update_configuration_LocalSystemInfo_VOLUME_INVALID_PATH -2L
-+#undef org_eclipse_update_configuration_LocalSystemInfo_VOLUME_REMOVABLE
-+#define org_eclipse_update_configuration_LocalSystemInfo_VOLUME_REMOVABLE 1L
-+#undef org_eclipse_update_configuration_LocalSystemInfo_VOLUME_FIXED
-+#define org_eclipse_update_configuration_LocalSystemInfo_VOLUME_FIXED 2L
-+#undef org_eclipse_update_configuration_LocalSystemInfo_VOLUME_REMOTE
-+#define org_eclipse_update_configuration_LocalSystemInfo_VOLUME_REMOTE 3L
-+#undef org_eclipse_update_configuration_LocalSystemInfo_VOLUME_CDROM
-+#define org_eclipse_update_configuration_LocalSystemInfo_VOLUME_CDROM 4L
-+#undef org_eclipse_update_configuration_LocalSystemInfo_VOLUME_RAMDISK
-+#define org_eclipse_update_configuration_LocalSystemInfo_VOLUME_RAMDISK 5L
-+/* Inaccessible static: listeners */
-+/* Inaccessible static: hasNatives */
-+/*
-+ * Class: org_eclipse_update_configuration_LocalSystemInfo
-+ * Method: nativeGetFreeSpace
-+ * Signature: (Ljava/io/File;)J
-+ */
-+JNIEXPORT jlong JNICALL Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetFreeSpace
-+ (JNIEnv *, jclass, jobject);
-+
-+/*
-+ * Class: org_eclipse_update_configuration_LocalSystemInfo
-+ * Method: nativeGetLabel
-+ * Signature: (Ljava/io/File;)Ljava/lang/String;
-+ */
-+JNIEXPORT jstring JNICALL Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetLabel
-+ (JNIEnv *, jclass, jobject);
-+
-+/*
-+ * Class: org_eclipse_update_configuration_LocalSystemInfo
-+ * Method: nativeGetType
-+ * Signature: (Ljava/io/File;)I
-+ */
-+JNIEXPORT jint JNICALL Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetType
-+ (JNIEnv *, jclass, jobject);
-+
-+/*
-+ * Class: org_eclipse_update_configuration_LocalSystemInfo
-+ * Method: nativeListMountPoints
-+ * Signature: ()[Ljava/lang/String;
-+ */
-+JNIEXPORT jobjectArray JNICALL Java_org_eclipse_update_configuration_LocalSystemInfo_nativeListMountPoints
-+ (JNIEnv *, jclass);
-+
-+#ifdef __cplusplus
-+}
-+
-+#endif
-+#endif
---- build/eclipse-3.6.1-src/plugins/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/expression/CompoundIterator.java~ Fri Feb 19 13:12:49 2010
-+++ build/eclipse-3.6.1-src/plugins/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/expression/CompoundIterator.java Wed Oct 20 15:55:11 2010
-@@ -25,7 +25,7 @@
- private final Iterator<? extends Object> iteratorIterator;
- private Iterator<T> currentIterator;
-
-- private T nextObject = noElement();
-+ private Object nextObject = NO_ELEMENT;
-
- /**
- * Creates a compound iterator that will iterated over the elements
-@@ -47,8 +47,9 @@
- if (!positionNext())
- throw new NoSuchElementException();
-
-- T nxt = nextObject;
-- nextObject = noElement();
-+ @SuppressWarnings("unchecked")
-+ T nxt = (T) nextObject;
-+ nextObject = NO_ELEMENT;
- return nxt;
- }
-
-@@ -76,9 +77,4 @@
- nextObject = currentIterator.next();
- return true;
- }
--
-- @SuppressWarnings("unchecked")
-- private static <T> T noElement() {
-- return (T) NO_ELEMENT;
-- }
--}
-\ No newline at end of file
-+}
---- build/eclipse-3.6.1-src/plugins/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/expression/MatchIteratorFilter.java.orig Fri Feb 19 13:12:48 2010
-+++ build/eclipse-3.6.1-src/plugins/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/expression/MatchIteratorFilter.java Wed Oct 20 15:58:15 2010
-@@ -21,7 +21,7 @@
-
- private final Iterator<? extends T> innerIterator;
-
-- private T nextObject = noElement();
-+ private Object nextObject = NO_ELEMENT;
-
- public MatchIteratorFilter(Iterator<? extends T> iterator) {
- this.innerIterator = iterator;
-@@ -35,8 +35,9 @@
- if (!positionNext())
- throw new NoSuchElementException();
-
-- T nxt = nextObject;
-- nextObject = noElement();
-+ @SuppressWarnings("unchecked")
-+ T nxt = (T) nextObject;
-+ nextObject = NO_ELEMENT;
- return nxt;
- }
-
-@@ -63,9 +64,4 @@
- }
- return false;
- }
--
-- @SuppressWarnings("unchecked")
-- private static <T> T noElement() {
-- return (T) NO_ELEMENT;
-- }
--}
-\ No newline at end of file
-+}
---- build/eclipse-3.6.1-src/pluginVersions.properties~ Fri Oct 1 17:18:03 2010
-+++ build/eclipse-3.6.1-src/pluginVersions.properties Wed Oct 20 20:19:42 2010
-@@ -34,6 +34,7 @@
- org.eclipse.equinox.launcher.motif.hpux.ia64_32,0.0.0=v20110502
- org.eclipse.equinox.http,0.0.0=v20110413
- org.eclipse.swt.gtk.linux.x86_64,0.0.0=v3738a
-+org.eclipse.swt.gtk.freebsd.x86_64,0.0.0=v3738a
- org.eclipse.equinox.p2.ui.admin,0.0.0=v20110502-1955
- org.eclipse.equinox.p2.publisher.eclipse,0.0.0=v20110511
- org.eclipse.equinox.weaving.caching.j9,0.0.0=v20110502
-@@ -52,6 +52,7 @@
- org.eclipse.ui.workbench.texteditor,0.0.0=v20110505-0800
- org.eclipse.ui.examples.multipageeditor,0.0.0=I20110413-1600
- org.eclipse.core.filesystem.linux.x86,0.0.0=v20110423-0524
-+org.eclipse.core.filesystem.freebsd.x86,0.0.0=v20110423-0524
- org.eclipse.equinox.p2.ui.discovery,0.0.0=v20110502-1955
- org.eclipse.ui.examples.javaeditor,0.0.0=v20110524-0800
- org.eclipse.ant.core,0.0.0=v20110511
-@@ -93,6 +94,7 @@
- org.eclipse.core.runtime,0.0.0=v20110110
- org.eclipse.core.resources.win32.x86,0.0.0=v20110423-0524
- org.eclipse.equinox.launcher.gtk.linux.x86_64,0.0.0=v20110505
-+org.eclipse.equinox.launcher.gtk.freebsd.x86_64,0.0.0=v20110505
- org.eclipse.help,0.0.0=v20110426
- org.eclipse.pde.api.tools.ee.j2se15,0.0.0=v20110401-1030
- org.junit4,0.0.0=v20100525
-@@ -135,6 +137,7 @@
- org.eclipse.equinox.p2.ui.importexport,0.0.0=v20110511
- org.eclipse.pde.api.tools.ee.jre11,0.0.0=v20110401-1030
- org.eclipse.core.net.linux.x86_64,0.0.0=I20110331-0827
-+org.eclipse.core.net.freebsd.x86_64,0.0.0=I20110331-0827
- org.eclipse.equinox.jsp.jasper,0.0.0=v20110502
- org.eclipse.pde.api.tools.ee.j2se14,0.0.0=v20110401-1030
- org.eclipse.equinox.p2.ui,0.0.0=v20110601
-@@ -158,6 +161,7 @@
- org.eclipse.swt.gtk.solaris.x86,0.0.0=v3738a
- org.eclipse.pde.ds.ui,0.0.0=v20110516
- org.eclipse.core.net.linux.x86,0.0.0=I20110419-0800
-+org.eclipse.core.net.freebsd.x86,0.0.0=I20110419-0800
- org.eclipse.equinox.p2.console,0.0.0=v20110502-1955
- org.eclipse.equinox.http.jetty,0.0.0=v20110502
- org.eclipse.swt.examples.browser.demos,0.0.0=v3738a
-@@ -175,6 +179,7 @@
- org.eclipse.equinox.launcher.win32.win32.ia64,0.0.0=v20110502
- org.eclipse.swt.examples.browser,0.0.0=v3738a
- org.eclipse.core.filesystem.linux.x86_64,0.0.0=v20110423-0524
-+org.eclipse.core.filesystem.freebsd.x86_64,0.0.0=v20110423-0524
- org.eclipse.equinox.event,0.0.0=v20110502
- org.eclipse.ui.ide,0.0.0=v20110809-1737
- org.eclipse.ui.views.log,0.0.0=v20110404
-@@ -185,6 +190,7 @@
- org.eclipse.equinox.ds,0.0.0=R37x_v20110701
- org.eclipse.equinox.launcher.win32.win32.x86_64,0.0.0=v20110502
- org.eclipse.equinox.launcher.gtk.linux.x86,0.0.0=v20110505
-+org.eclipse.equinox.launcher.gtk.freebsd.x86,0.0.0=v20110505
- org.eclipse.update.core.linux,0.0.0=v20100512
- org.eclipse.core.databinding.property,0.0.0=I20110222-0800
- org.eclipse.ui.examples.propertysheet,0.0.0=I20110413-1600
-@@ -246,6 +247,7 @@
- org.eclipse.swt.examples,0.0.0=v3738a
- org.eclipse.cvs,0.0.0=v20110505-0800
- org.eclipse.swt.gtk.linux.x86,0.0.0=v3738a
-+org.eclipse.swt.gtk.freebsd.x86,0.0.0=v3738a
- org.eclipse.equinox.log,0.0.0=v20110502
- org.eclipse.equinox.jmx.client,0.0.0=v20100503
- org.eclipse.ui.win32,0.0.0=I20100509-0800
---- build/eclipse-3.7.0-src/features/org.eclipse.equinox.executable/feature.xml~ Fri Feb 18 17:56:16 2011
-+++ build/eclipse-3.7.0-src/features/org.eclipse.equinox.executable/feature.xml Thu Sep 15 11:03:18 2011
-@@ -131,6 +131,26 @@
- fragment="true"/>
-
- <plugin
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.x86"
-+ os="freebsd"
-+ ws="gtk"
-+ arch="x86"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"/>
-+
-+ <plugin
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.x86_64"
-+ os="freebsd"
-+ ws="gtk"
-+ arch="x86_64"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"/>
-+
-+ <plugin
- id="org.eclipse.equinox.launcher.motif.aix.ppc"
- os="aix"
- ws="motif"
---- build/eclipse-3.7.0-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh.orig 2011-05-27 13:45:22.000000000 -0500
-+++ build/eclipse-3.7.0-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh 2012-01-23 11:51:27.000000000 -0600
-@@ -25,7 +25,7 @@
- fi
-
- # Check if we have to compile external.xpt from external.idl
--COMPONENTS_DIR=`pwd`/../../components
-+COMPONENTS_DIR=`pwd`/../../org.eclipse.swt/components
- if test ! -f ${COMPONENTS_DIR}/external.xpt; then
- if test ! -f ${COMPONENTS_DIR}/external.idl; then
- echo "Can't find ${COMPONENTS_DIR}/external.idl"
-@@ -179,9 +181,10 @@
- elif [ x`pkg-config --exists libxul && echo YES` = "xYES" ]; then
- XULRUNNER_INCLUDES=`pkg-config --cflags libxul`
- XULRUNNER_LIBS=`pkg-config --libs libxul`
-+ XULRUNNER_LIBS=`echo ${XULRUNNER_LIBS} -lxpcomglue`
- export XULRUNNER_INCLUDES
- export XULRUNNER_LIBS
-- MAKE_MOZILLA=make_xulrunner
-+ MAKE_MOZILLA=`echo make_xulrunner make_xpcominit`
- else
- echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM"
- echo " *** Mozilla embedding support will not be compiled."
---- build/eclipse-3.7.1-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh.orig 2012-12-25 21:01:56.000000000 -0600
-+++ build/eclipse-3.7.1-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh 2012-12-25 21:28:35.000000000 -0600
-@@ -491,7 +491,7 @@
- export MOZILLA_INCLUDES
- export MOZILLA_LIBS
- MAKE_MOZILLA=make_mozilla
-- elif [ x`pkg-config --exists libxul && echo YES` = "xYES" ]; then
-+ elif [ x`pkg-config --exists "libxul < 2" && echo YES` = "xYES" ]; then
- XULRUNNER_INCLUDES=`pkg-config --cflags libxul`
- XULRUNNER_LIBS=`pkg-config --libs libxul`
- XULRUNNER_LIBS=`echo ${XULRUNNER_LIBS} -lxpcomglue`
---- build/eclipse-3.7.1-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak.orig 2012-12-29 13:05:23.000000000 -0600
-+++ build/eclipse-3.7.1-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak 2012-12-29 13:06:37.000000000 -0600
-@@ -27,6 +27,7 @@
- MOZILLA_PREFIX = swt-mozilla$(GCC_VERSION)
- XULRUNNER_PREFIX = swt-xulrunner
- XPCOMINIT_PREFIX = swt-xpcominit
-+WEBKIT_PREFIX = swt-webkit
- GLX_PREFIX = swt-glx
-
- SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
---- build/eclipse-3.7.1-src/plugins/org.eclipse.core.net/natives/unix/gnomeproxy.c.orig 2008-10-17 09:48:23.000000000 -0500
-+++ build/eclipse-3.7.1-src/plugins/org.eclipse.core.net/natives/unix/gnomeproxy.c 2013-03-24 21:44:14.000000000 -0500
-@@ -13,11 +13,10 @@
- #include <jni.h>
-
- #include <glib.h>
--#include <glib/gslist.h>
- #include <gconf/gconf-value.h>
- #include <gconf/gconf-client.h>
-
--#ifdef __linux__
-+#ifdef __STDC__
- #include <string.h>
- #else
- #include <strings.h>
diff --git a/java/eclipse/files/patch-aggregator b/java/eclipse/files/patch-aggregator
new file mode 100644
index 000000000000..091bbc21d519
--- /dev/null
+++ b/java/eclipse/files/patch-aggregator
@@ -0,0 +1,385 @@
+diff --git a/eclipse-platform-parent/pom.xml b/eclipse-platform-parent/pom.xml
+index ce98be7..fa2d1e1 100644
+--- a/eclipse-platform-parent/pom.xml
++++ b/eclipse-platform-parent/pom.xml
+@@ -155,6 +155,12 @@
+ </target>
+ <environments>
+ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>%%ECLIPSE_ARCH%%</arch>
++ </environment>
++<!--
++ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+@@ -229,6 +235,7 @@
+ <ws>gtk</ws>
+ <arch>ppc64</arch>
+ </environment>
++-->
+ </environments>
+ </configuration>
+ </plugin>
+@@ -308,11 +315,11 @@
+ <artifactId>tycho-packaging-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <dependencies>
+- <dependency>
++ <!--dependency>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-buildtimestamp-jgit</artifactId>
+ <version>${tycho-extras.version}</version>
+- </dependency>
++ </dependency-->
+ <dependency>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-sourceref-jgit</artifactId>
+@@ -322,14 +329,14 @@
+ <configuration>
+ <strictBinIncludes>false</strictBinIncludes>
+ <format>'v'yyyyMMdd-HHmm</format>
+- <timestampProvider>jgit</timestampProvider>
++ <!--timestampProvider>jgit</timestampProvider-->
+ <jgit.ignore>
+ pom.xml
+ </jgit.ignore>
+ <jgit.dirtyWorkingTree>${jgit.dirtyWorkingTree}</jgit.dirtyWorkingTree>
+- <sourceReferences>
++ <!--sourceReferences>
+ <generate>true</generate>
+- </sourceReferences>
++ </sourceReferences-->
+ <archive>
+ <addMavenDescriptor>false</addMavenDescriptor>
+ </archive>
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml
+index 81a82e1..dc2fdd9 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml
+@@ -121,6 +121,12 @@
+ <resolver>p2</resolver>
+ <environments>
+ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>%%ECLIPSE_ARCH%%</arch>
++ </environment>
++<!--
++ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+@@ -145,6 +156,7 @@
+ <ws>cocoa</ws>
+ <arch>x86_64</arch>
+ </environment>
++-->
+ </environments>
+ </configuration>
+ </plugin>
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/pom.xml
+index 60e4299..4c9106e 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/pom.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/pom.xml
+@@ -112,6 +112,7 @@
+ <configuration>
+ <formats>
+ <win32>zip</win32>
++ <freebsd>tar.gz</freebsd>
+ <linux>tar.gz</linux>
+ <macosx>tar.gz</macosx>
+ </formats>
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/equinox/buildConfigs/equinox-launchers/build.xml b/eclipse.platform.releng.tychoeclipsebuilder/equinox/buildConfigs/equinox-launchers/build.xml
+index 14b8336..0b97442 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/equinox/buildConfigs/equinox-launchers/build.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/equinox/buildConfigs/equinox-launchers/build.xml
+@@ -15,6 +15,8 @@
+ <property name="archiveRoot" value="launchers" />
+ <buildRepos os="win32" ws="win32" arch="x86" archiveName="${archiveRoot}-win32.win32.x86.${buildId}.zip" />
+ <buildRepos os="win32" ws="win32" arch="x86_64" archiveName="${archiveRoot}-win32.win32.x86_64.${buildId}.zip" />
++ <buildRepos os="freebsd" ws="gtk" arch="x86" archiveName="${archiveRoot}-freebsd.gtk.x86.${buildId}.tar.gz" />
++ <buildRepos os="freebsd" ws="gtk" arch="x86_64" archiveName="${archiveRoot}-freebsd.gtk.x86_64.${buildId}.tar.gz" />
+ <buildRepos os="linux" ws="gtk" arch="x86" archiveName="${archiveRoot}-linux.gtk.x86.${buildId}.tar.gz" />
+ <buildRepos os="linux" ws="gtk" arch="x86_64" archiveName="${archiveRoot}-linux.gtk.x86_64.${buildId}.tar.gz" />
+ <buildRepos os="linux" ws="gtk" arch="ppc" archiveName="${archiveRoot}-linux.gtk.ppc.${buildId}.tar.gz" />
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/equinox/publishingFiles/testManifest.xml b/eclipse.platform.releng.tychoeclipsebuilder/equinox/publishingFiles/testManifest.xml
+index 129d0a6..a8f76b6 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/equinox/publishingFiles/testManifest.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/equinox/publishingFiles/testManifest.xml
+@@ -278,6 +278,16 @@
+ fileName="launchers-win32.win32.x86_64.${BUILD_ID}.zip" />
+ <platform
+ format="equinox"
++ id="SFG2"
++ name="FreeBSD (x86/GTK 2)"
++ fileName="launchers-freebsd.gtk.x86.${BUILD_ID}.tar.gz" />
++ <platform
++ format="equinox"
++ id="SFG264"
++ name="FreeBSD (x86_64/GTK 2)"
++ fileName="launchers-freebsd.gtk.x86_64.${BUILD_ID}.tar.gz" />
++ <platform
++ format="equinox"
+ id="SLG2"
+ name="Linux (x86/GTK 2)"
+ fileName="launchers-linux.gtk.x86.${BUILD_ID}.tar.gz" />
+@@ -346,6 +356,16 @@
+ fileName="EclipseRT-OSGi-StarterKit-${BUILD_ID}-win32-win32-x86_64.zip" />
+ <platform
+ format="equinox"
++ id="ESFG2"
++ name="FreeBSD (x86/GTK 2)"
++ fileName="EclipseRT-OSGi-StarterKit-${BUILD_ID}-freebsd-gtk-x86.tar.gz" />
++ <platform
++ format="equinox"
++ id="ESFG264"
++ name="FreeBSD (x86_64/GTK 2)"
++ fileName="EclipseRT-OSGi-StarterKit-${BUILD_ID}-freebsd-gtk-x86_64.tar.gz" />
++ <platform
++ format="equinox"
+ id="ESLG2"
+ name="Linux (x86/GTK 2)"
+ fileName="EclipseRT-OSGi-StarterKit-${BUILD_ID}-linux-gtk-x86.tar.gz" />
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/osgistarter.config.launcher/build.properties b/eclipse.platform.releng.tychoeclipsebuilder/osgistarter.config.launcher/build.properties
+index 80a32e4..fcb7ed5 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/osgistarter.config.launcher/build.properties
++++ b/eclipse.platform.releng.tychoeclipsebuilder/osgistarter.config.launcher/build.properties
+@@ -27,6 +27,11 @@ root.solaris.gtk.sparc.permissions.755=eclipse
+ root.solaris.gtk.x86=../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/solaris/x86
+ root.solaris.gtk.x86.permissions.755=eclipse
+
++root.freebsd.gtk.x86=rootfiles/freebsd.gtk.x86,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/x86
++root.freebsd.gtk.x86.permissions.755=libcairo-swt.so,eclipse
++root.freebsd.gtk.x86_64=rootfiles/freebsd.gtk.x86_64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/x86_64
++root.freebsd.gtk.x86_64.permissions.755=libcairo-swt.so,eclipse
++
+ root.linux.gtk.x86=rootfiles/linux.gtk.x86,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/x86
+ root.linux.gtk.x86.permissions.755=libcairo-swt.so,eclipse
+ root.linux.gtk.ppc=rootfiles/linux.gtk.ppc64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/ppc
+@@ -69,10 +74,3 @@ root.macosx.cocoa.x86_64.permissions.755=Eclipse.app/Contents/MacOS/eclipse
+ root.macosx.cocoa.x86_64.link=Eclipse.app/Contents/MacOS/eclipse,eclipse
+
+ bin.includes = feature.properties
+-
+-
+-
+-
+-
+-
+-
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/osgistarter.config.launcher/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/osgistarter.config.launcher/pom.xml
+index 2c342a3..5e27062 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/osgistarter.config.launcher/pom.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/osgistarter.config.launcher/pom.xml
+@@ -20,6 +20,25 @@
+ <version>2.6</version>
+ <executions>
+ <execution>
++ <id>copy-resources-gtk.freebsd.%%ECLIPSE_ARCH%%</id>
++ <phase>validate</phase>
++ <goals>
++ <goal>copy-resources</goal>
++ </goals>
++ <configuration>
++ <outputDirectory>${basedir}/rootfiles/freebsd.gtk.%%ECLIPSE_ARCH%%</outputDirectory>
++ <resources>
++ <resource>
++ <directory>../../eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.%%ECLIPSE_ARCH%%</directory>
++ <includes>
++ <include>about_files/*</include>
++ <include>about.html</include>
++ </includes>
++ </resource>
++ </resources>
++ </configuration>
++ </execution>
++ <execution>
+ <id>copy-resources-gtk.linux.x86</id>
+ <phase>validate</phase>
+ <goals>
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/platform.sdk/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/platform.sdk/pom.xml
+index bc261f9..88e8522 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/platform.sdk/pom.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/platform.sdk/pom.xml
+@@ -91,6 +91,7 @@
+ <configuration>
+ <formats>
+ <win32>zip</win32>
++ <freebsd>tar.gz</freebsd>
+ <linux>tar.gz</linux>
+ <macosx>tar.gz</macosx>
+ </formats>
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/platform/platform.p2.inf b/eclipse.platform.releng.tychoeclipsebuilder/platform/platform.p2.inf
+index c2f679b..742fe0b 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/platform/platform.p2.inf
++++ b/eclipse.platform.releng.tychoeclipsebuilder/platform/platform.p2.inf
+@@ -55,6 +55,23 @@ units.3.touchpoint.version=1.0.0
+ units.3.instructions.configure=setProgramProperty(propName:org.eclipse.swt.internal.gtk.useCairo,propValue:true);
+ units.3.instructions.unconfigure=removeProgramProperty(propName:org.eclipse.swt.internal.gtk.useCairo);
+
++requires.4.namespace=org.eclipse.equinox.p2.iu
++requires.4.name=toolingorg.eclipse.platform.configuration.gtk.freebsd.%%ECLIPSE_ARCH%%
++requires.4.filter=(&(osgi.os=freebsd) (osgi.arch=%%ECLIPSE_ARCH%%) (osgi.ws=gtk))
++requires.4.range=[1.0.0,1.0.0]
++requires.4.greedy=true
++
++units.4.id=toolingorg.eclipse.platform.configuration.gtk.freebsd.%%ECLIPSE_ARCH%%
++units.4.version=1.0.0
++units.4.provides.1.namespace=org.eclipse.equinox.p2.iu
++units.4.provides.1.name=toolingorg.eclipse.platform.configuration.gtk.freebsd.%%ECLIPSE_ARCH%%
++units.4.provides.1.version=1.0.0
++units.4.filter=(&(osgi.os=freebsd) (osgi.arch=%%ECLIPSE_ARCH%%) (osgi.ws=gtk))
++units.4.touchpoint.id=org.eclipse.equinox.p2.osgi
++units.4.touchpoint.version=1.0.0
++units.4.instructions.configure=setProgramProperty(propName:org.eclipse.swt.internal.gtk.useCairo,propValue:true);
++units.4.instructions.unconfigure=removeProgramProperty(propName:org.eclipse.swt.internal.gtk.useCairo);
++
+ # Restrict range so we are not an automatic update for 3.x.
+ update.id = org.eclipse.platform.ide
+ update.range = [4.0,$version$)
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/platform/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/platform/pom.xml
+index d8468e6..b6c77d5 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/platform/pom.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/platform/pom.xml
+@@ -92,6 +92,7 @@
+ <configuration>
+ <formats>
+ <win32>zip</win32>
++ <freebsd>tar.gz</freebsd>
+ <linux>tar.gz</linux>
+ <macosx>tar.gz</macosx>
+ </formats>
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/build.properties b/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/build.properties
+index 80a32e4..fcb7ed5 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/build.properties
++++ b/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/build.properties
+@@ -27,6 +27,11 @@ root.solaris.gtk.sparc.permissions.755=eclipse
+ root.solaris.gtk.x86=../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/solaris/x86
+ root.solaris.gtk.x86.permissions.755=eclipse
+
++root.freebsd.gtk.x86=rootfiles/freebsd.gtk.x86,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/x86
++root.freebsd.gtk.x86.permissions.755=libcairo-swt.so,eclipse
++root.freebsd.gtk.x86_64=rootfiles/freebsd.gtk.x86_64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/x86_64
++root.freebsd.gtk.x86_64.permissions.755=libcairo-swt.so,eclipse
++
+ root.linux.gtk.x86=rootfiles/linux.gtk.x86,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/x86
+ root.linux.gtk.x86.permissions.755=libcairo-swt.so,eclipse
+ root.linux.gtk.ppc=rootfiles/linux.gtk.ppc64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/ppc
+@@ -69,10 +74,3 @@ root.macosx.cocoa.x86_64.permissions.755=Eclipse.app/Contents/MacOS/eclipse
+ root.macosx.cocoa.x86_64.link=Eclipse.app/Contents/MacOS/eclipse,eclipse
+
+ bin.includes = feature.properties
+-
+-
+-
+-
+-
+-
+-
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/pom.xml
+index bb03da8..75632a0 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/pom.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/pom.xml
+@@ -20,6 +20,25 @@
+ <version>2.6</version>
+ <executions>
+ <execution>
++ <id>copy-resources-gtk.freebsd.%%ECLIPSE_ARCH%%</id>
++ <phase>validate</phase>
++ <goals>
++ <goal>copy-resources</goal>
++ </goals>
++ <configuration>
++ <outputDirectory>${basedir}/rootfiles/freebsd.gtk.%%ECLIPSE_ARCH%%</outputDirectory>
++ <resources>
++ <resource>
++ <directory>../../eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.%%ECLIPSE_ARCH%%</directory>
++ <includes>
++ <include>about_files/*</include>
++ <include>about.html</include>
++ </includes>
++ </resource>
++ </resources>
++ </configuration>
++ </execution>
++ <execution>
+ <id>copy-resources-gtk.linux.x86</id>
+ <phase>validate</phase>
+ <goals>
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/rcp.sdk/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/rcp.sdk/pom.xml
+index 0ea4fd3..5bd93db 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/rcp.sdk/pom.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/rcp.sdk/pom.xml
+@@ -91,6 +91,7 @@
+ <configuration>
+ <formats>
+ <win32>zip</win32>
++ <freebsd>tar.gz</freebsd>
+ <linux>tar.gz</linux>
+ <macosx>tar.gz</macosx>
+ </formats>
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/rcp/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/rcp/pom.xml
+index ce76451..3b40705 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/rcp/pom.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/rcp/pom.xml
+@@ -91,6 +91,7 @@
+ <configuration>
+ <formats>
+ <win32>zip</win32>
++ <freebsd>tar.gz</freebsd>
+ <linux>tar.gz</linux>
+ <macosx>tar.gz</macosx>
+ </formats>
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/sdk/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/sdk/pom.xml
+index bf2f66a..5a37141 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/sdk/pom.xml
++++ b/eclipse.platform.releng.tychoeclipsebuilder/sdk/pom.xml
+@@ -91,6 +91,7 @@
+ <configuration>
+ <formats>
+ <win32>zip</win32>
++ <freebsd>tar.gz</freebsd>
+ <linux>tar.gz</linux>
+ <macosx>tar.gz</macosx>
+ </formats>
+diff --git a/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.p2.inf b/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.p2.inf
+index 6b59ed2..64975ba 100644
+--- a/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.p2.inf
++++ b/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.p2.inf
+@@ -89,6 +89,23 @@ units.5.touchpoint.version=1.0.0
+ units.5.instructions.configure=setProgramProperty(propName:org.eclipse.swt.internal.gtk.useCairo,propValue:true);
+ units.5.instructions.unconfigure=removeProgramProperty(propName:org.eclipse.swt.internal.gtk.useCairo);
+
++requires.6.namespace=org.eclipse.equinox.p2.iu
++requires.6.name=toolingorg.eclipse.sdk.configuration.gtk.freebsd.%%ECLIPSE_ARCH%%
++requires.6.filter=(&(osgi.os=freebsd) (osgi.arch=%%ECLIPSE_ARCH%%) (osgi.ws=gtk))
++requires.6.range=[1.0.0,1.0.0]
++requires.6.greedy=true
++
++units.6.id=toolingorg.eclipse.sdk.configuration.gtk.freebsd.%%ECLIPSE_ARCH%%
++units.6.version=1.0.0
++units.6.provides.1.namespace=org.eclipse.equinox.p2.iu
++units.6.provides.1.name=toolingorg.eclipse.sdk.configuration.gtk.freebsd.%%ECLIPSE_ARCH%%
++units.6.provides.1.version=1.0.0
++units.6.filter=(&(osgi.os=freebsd) (osgi.arch=%%ECLIPSE_ARCH%%) (osgi.ws=gtk))
++units.6.touchpoint.id=org.eclipse.equinox.p2.osgi
++units.6.touchpoint.version=1.0.0
++units.6.instructions.configure=setProgramProperty(propName:org.eclipse.swt.internal.gtk.useCairo,propValue:true);
++units.6.instructions.unconfigure=removeProgramProperty(propName:org.eclipse.swt.internal.gtk.useCairo);
++
+ # Restrict range so we are not an automatic update for 3.x.
+ update.id= org.eclipse.sdk.ide
+ update.range = [4.0,$version$)
+--- a/pom.xml.orig 2014-06-05 16:00:15.000000000 -0500
++++ a/pom.xml 2014-06-19 18:03:47.000000000 -0500
+@@ -50,6 +50,6 @@
+
+ <module>eclipse.platform.releng</module>
+ <module>eclipse.platform.releng.tychoeclipsebuilder</module>
+- <module>eclipse.platform.repository</module>
++<!-- <module>eclipse.platform.repository</module> -->
+ </modules>
+ </project>
diff --git a/java/eclipse/files/patch-dependencyManifests b/java/eclipse/files/patch-dependencyManifests
deleted file mode 100644
index 2dcbe7ef58c0..000000000000
--- a/java/eclipse/files/patch-dependencyManifests
+++ /dev/null
@@ -1,90 +0,0 @@
-$FreeBSD$
-
---- eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92/dependencyManifests/javax.servlet_3.0.0.jar/META-INF/MANIFEST.MF~ 2012-01-26 18:03:49.377369870 +0100
-+++ eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92/dependencyManifests/javax.servlet_3.0.0.jar/META-INF/MANIFEST.MF 2012-01-26 18:18:27.055000978 +0100
-@@ -6,6 +6,6 @@
- Bundle-Localization: plugin
--Bundle-Version: 2.5.0.v200806031605
-+Bundle-Version: 3.0.0.v201103241727
- Bundle-Vendor: %bundleProvider
--Export-Package: javax.servlet;version="2.5",javax.servlet.http;version
-- ="2.5",javax.servlet.resources;version="2.5"
-+Export-Package: javax.servlet;version="3.0",javax.servlet.http;version
-+ ="3.0",javax.servlet.resources;version="3.0"
-
---- eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92/dependencyManifests/javax.servlet.jsp_2.2.0.jar/META-INF/MANIFEST.MF~ 2011-12-19 16:40:57.000000000 +0100
-+++ eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92/dependencyManifests/javax.servlet.jsp_2.2.0.jar/META-INF/MANIFEST.MF 2012-01-26 18:43:30.749772042 +0100
-@@ -4,10 +4,10 @@
- Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,J2SE-1.3
- Bundle-Name: %bundleName
- Bundle-SymbolicName: javax.servlet.jsp
--Export-Package: javax.servlet.jsp; version=2.0,javax.servlet.jsp.el; v
-- ersion=2.0,javax.servlet.jsp.resources; version=2.0,javax.servlet.jsp
-- .tagext; version=2.0
--Bundle-Version: 2.0.0.v200806031607
-+Export-Package: javax.servlet.jsp; version=2.2,javax.servlet.jsp.el; v
-+ ersion=2.2,javax.servlet.jsp.resources; version=2.2,javax.servlet.jsp
-+ .tagext; version=2.2
-+Bundle-Version: 2.2.0.v200806031607
- Bundle-ManifestVersion: 2
--Import-Package: javax.servlet; version=2.4,javax.servlet.http; version
-- =2.4,javax.servlet.resources; version=2.4
-+Import-Package: javax.servlet; version=3.0,javax.servlet.http; version
-+ =3.0,javax.servlet.resources; version=3.0
---- eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92/dependencyManifests/org.apache.jasper_7.0.21.jar/META-INF/MANIFEST.MF~ 2011-12-19 16:40:57.000000000 +0100
-+++ eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92/dependencyManifests/org.apache.jasper_7.0.21.jar/META-INF/MANIFEST.MF 2012-01-26 18:36:42.891544584 +0100
-@@ -6,21 +6,21 @@
- 2SE-1.3
- Bundle-Name: %bundleName
- Bundle-SymbolicName: org.apache.jasper
--Export-Package: org.apache.jasper;version="5.5.17",org.apache.jasper.c
-- ompiler;version="5.5.17",org.apache.jasper.compiler.tagplugin;version
-- ="5.5.17",org.apache.jasper.resources;version="5.5.17",org.apache.jas
-- per.runtime;version="5.5.17",org.apache.jasper.security;version="5.5.
-- 17",org.apache.jasper.servlet;version="5.5.17",org.apache.jasper.tagp
-- lugins.jstl;version="5.5.17",org.apache.jasper.tagplugins.jstl.core;v
-- ersion="5.5.17",org.apache.jasper.util;version="5.5.17",org.apache.ja
-- sper.xmlparser;version="5.5.17"
--Bundle-Version: 5.5.17.v201004212143
-+Export-Package: org.apache.jasper;version="7.0.21",org.apache.jasper.c
-+ ompiler;version="7.0.21",org.apache.jasper.compiler.tagplugin;version
-+ ="7.0.21",org.apache.jasper.resources;version="7.0.21",org.apache.jas
-+ per.runtime;version="7.0.21",org.apache.jasper.security;version="5.5.
-+ 17",org.apache.jasper.servlet;version="7.0.21",org.apache.jasper.tagp
-+ lugins.jstl;version="7.0.21",org.apache.jasper.tagplugins.jstl.core;v
-+ ersion="7.0.21",org.apache.jasper.util;version="7.0.21",org.apache.ja
-+ sper.xmlparser;version="7.0.21"
-+Bundle-Version: 7.0.21.v201004212143
- Bundle-ManifestVersion: 2
--Import-Package: javax.servlet;version="[2.4, 3.0)",javax.servlet.http;
-- version="[2.4, 3.0)",javax.servlet.jsp;version="[2.0, 2.1)",javax.ser
-- vlet.jsp.el;version="[2.0, 2.1)",javax.servlet.jsp.resources;version=
-- "[2.0, 2.1)",javax.servlet.jsp.tagext;version="[2.0, 2.1)",javax.serv
-- let.resources;version="[2.4, 3.0)",javax.xml.parsers,org.apache.commo
-+Import-Package: javax.servlet;version="3.0",javax.servlet.http;
-+ version="3.0",javax.servlet.jsp;version="2.2",javax.ser
-+ vlet.jsp.el;version="2.2",javax.servlet.jsp.resources;version=
-+ "2.2",javax.servlet.jsp.tagext;version="2.2",javax.serv
-+ let.resources;version="3.0",javax.xml.parsers,org.apache.commo
- ns.el;version="[1.0.0,2.0.0)",org.apache.commons.logging;version="[1.
- 0.0,2.0.0)",org.apache.tools.ant;resolution:=optional,org.apache.tool
- s.ant.taskdefs;resolution:=optional,org.apache.tools.ant.types;resolu
---- eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92/dependencyManifests/org.apache.commons.el_1.0.0.v200806031608.jar/META-INF/MANIFEST.MF~ Mon Dec 19 16:40:57 2011
-+++ eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92/dependencyManifests/org.apache.commons.el_1.0.0.v200806031608.jar/META-INF/MANIFEST.MF Wed Feb 29 16:33:20 2012
-@@ -8,11 +8,11 @@
- ns.el.parser;version="1.0.0"
- Bundle-Version: 1.0.0.v201004212143
- Bundle-ManifestVersion: 2
--Import-Package: javax.servlet;version="[2.4, 3.0)",javax.servlet.http;
-- version="[2.4, 3.0)",javax.servlet.jsp;version="[2.0, 2.1)",javax.ser
-- vlet.jsp.el;version="[2.0, 2.1)",javax.servlet.jsp.resources;version=
-- "[2.0, 2.1)",javax.servlet.jsp.tagext;version="[2.0, 2.1)",javax.serv
-- let.resources;version="[2.4, 3.0)"
-+Import-Package: javax.servlet;version="[2.5, 3.0]",javax.servlet.http;
-+ version="[2.5, 3.0]",javax.servlet.jsp;version="2.2",javax.ser
-+ vlet.jsp.el;version="2.2",javax.servlet.jsp.resources;version=
-+ "2.2",javax.servlet.jsp.tagext;version="2.2",javax.serv
-+ let.resources;version="[2.5, 3.0]"
-
- Name: org/apache/commons/el/ImplicitObjects$6.class
- SHA1-Digest: yk3eN531Co8H5mcmuI/jBgzMK7M=
diff --git a/java/eclipse/files/patch-eclipse-build b/java/eclipse/files/patch-eclipse-build
deleted file mode 100644
index fd225a9ce180..000000000000
--- a/java/eclipse/files/patch-eclipse-build
+++ /dev/null
@@ -1,419 +0,0 @@
-$FreeBSD$
-
---- eclipse-build-0.5.0.orig/build.properties 2009-09-30 14:07:21.000000000 -0400
-+++ eclipse-build-0.5.0/build.properties 2009-12-23 16:23:06.355139641 -0500
-@@ -28,7 +28,7 @@
- collectingFolder=eclipse
- archivePrefix=eclipse
- generateFeatureVersionSuffix=true
--bootclasspath=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
-+bootclasspath=%%BOOTCLASSPATH%%
- build.compiler=org.eclipse.jdt.core.JDTCompilerAdapter
- JavaSE-1.6=${bootclasspath}
- CDC-1.0/Foundation-1.0=${bootclasspath}
-@@ -49,21 +49,21 @@
- CDC-1.1/PersonalBasis-1.1=${bootclasspath}
- CDC-1.1/PersonalJava-1.1=${bootclasspath}
- # Somehow bootclasspath isn't expanded when used by antRunner
--JavaSE-1.6=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.0/Foundation-1.0=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.1/Foundation-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--OSGi/Minimum-1.0=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--OSGi/Minimum-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--OSGi/Minimum-1.2=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--JRE-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--J2SE-1.2=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--J2SE-1.3=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--J2SE-1.4=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--J2SE-1.5=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--JavaSE-1.6=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--PersonalJava-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--PersonalJava-1.2=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.0/PersonalBasis-1.0=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.0/PersonalJava-1.0=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.1/PersonalBasis-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.1/PersonalJava-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
-+JavaSE-1.6=%%BOOTCLASSPATH%%
-+CDC-1.0/Foundation-1.0=%%BOOTCLASSPATH%%
-+CDC-1.1/Foundation-1.1=%%BOOTCLASSPATH%%
-+OSGi/Minimum-1.0=%%BOOTCLASSPATH%%
-+OSGi/Minimum-1.1=%%BOOTCLASSPATH%%
-+OSGi/Minimum-1.2=%%BOOTCLASSPATH%%
-+JRE-1.1=%%BOOTCLASSPATH%%
-+J2SE-1.2=%%BOOTCLASSPATH%%
-+J2SE-1.3=%%BOOTCLASSPATH%%
-+J2SE-1.4=%%BOOTCLASSPATH%%
-+J2SE-1.5=%%BOOTCLASSPATH%%
-+JavaSE-1.6=%%BOOTCLASSPATH%%
-+PersonalJava-1.1=%%BOOTCLASSPATH%%
-+PersonalJava-1.2=%%BOOTCLASSPATH%%
-+CDC-1.0/PersonalBasis-1.0=%%BOOTCLASSPATH%%
-+CDC-1.0/PersonalJava-1.0=%%BOOTCLASSPATH%%
-+CDC-1.1/PersonalBasis-1.1=%%BOOTCLASSPATH%%
-+CDC-1.1/PersonalJava-1.1=%%BOOTCLASSPATH%%
---- eclipse-build-0.5.0.orig/build.xml 2009-12-23 16:22:44.090824173 -0500
-+++ eclipse-build-0.5.0/build.xml 2009-12-23 16:23:06.357147407 -0500
-@@ -118,11 +118,11 @@
-
- <target name="setLibDir" depends="setLib64Dir">
- <property name="libDir" value="lib" />
-- <property name="installationDir" value="${destDir}${prefix}/${libDir}/eclipse" />
-+ <property name="installationDir" value="${destDir}${prefix}/${libDir}/%%PORTNAME%%" />
- </target>
-
- <target name="getInstallationDir" depends="setLibDir">
-- <echo message="Installation directory will be ${destDir}/${prefix}/${libDir}" />
-+ <echo message="Installation directory will be ${destDir}/${prefix}/${libDir}/%%PORTNAME%%" />
- </target>
-
- <property name="doTests" value="true" />
-@@ -167,8 +167,7 @@
- <target name="copySource" unless="sdkSourcePresent">
- <echo message="Copy SDK source (cp -rd --not-target-directory eclipse ${buildDirectory})" />
- <exec executable="cp" failonerror="true">
-- <arg value="-rd" />
-- <arg value="--no-target-directory" />
-+ <arg value="-R" />
- <arg value="eclipse" />
- <arg value="${buildDirectory}" />
- </exec>
-@@ -309,12 +308,18 @@
- <!--
- <patch patchfile="${basedir}/patches/eclipse-swt-buildagainstxulrunner.patch" dir="${buildDirectory}" strip="1" />
- -->
-- <patch patchfile="${basedir}/patches/eclipse-addArchesAnd64bitSWT.patch" dir="${buildDirectory}" strip="1" />
-+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}">
-+ <arg value="-p1" />
-+ <arg value="-i${basedir}/patches/eclipse-addArchesAnd64bitSWT.patch" />
-+ </exec>
- <patch patchfile="${basedir}/patches/eclipse-add-archs-filesystem.patch" dir="${buildDirectory}" strip="1" />
- <patch patchfile="${basedir}/patches/eclipse-add-archs-swt.patch" dir="${buildDirectory}" strip="1" />
- <patch patchfile="${basedir}/patches/eclipse-add-archs-executable.patch" dir="${buildDirectory}" strip="1" />
- <patch patchfile="${basedir}/patches/eclipse-add-ppc64-sparc64-s390-s390x.patch" dir="${buildDirectory}" strip="1" />
-- <patch patchfile="${basedir}/patches/donotstorebuildlogsinfiles.patch" dir="${buildDirectory}" strip="1" />
-+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}">
-+ <arg value="-p1" />
-+ <arg value="-i${basedir}/patches/donotstorebuildlogsinfiles.patch" />
-+ </exec>
- <patch patchfile="${basedir}/patches/donotsetjavahomeandoptimizeliblocalfile.patch" dir="${buildDirectory}" strip="1" />
- <patch patchfile="${basedir}/patches/eclipse-pde.build-add-package-build.patch" dir="${buildDirectory}" strip="1" />
- <patch patchfile="${basedir}/patches/gnomeproxy-makefile.patch" dir="${buildDirectory}" strip="1" />
-@@ -337,20 +342,30 @@
- </replace>
- <patch patchfile="${basedir}/patches/eclipse-core-resources-compilation-profile.patch" dir="${buildDirectory}" strip="0" />
- <patch patchfile="${basedir}/patches/eclipse-equinox-util.patch" dir="${buildDirectory}" strip="0" />
-- <patch patchfile="${basedir}/patches/0001-Fix-Program.launch-for-remote-uri-in-the-pure-gio-en.patch" dir="${buildDirectory}/plugins" strip="2" />
-+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}/plugins">
-+ <arg value="-p2" />
-+ <arg value="-i${basedir}/patches/0001-Fix-Program.launch-for-remote-uri-in-the-pure-gio-en.patch" />
-+ </exec>
- <patch patchfile="${basedir}/patches/remove-lucene-dependency.patch" dir="${buildDirectory}" strip="1" />
- <patch patchfile="${basedir}/patches/eclipse-equinox-jsp-jasper.patch" dir="${buildDirectory}" strip="0" />
- <patch patchfile="${basedir}/patches/eclipse-equinox-http-jetty.patch" dir="${buildDirectory}" strip="0" />
- <patch patchfile="${basedir}/patches/eclipse-equinox-http-servlet.patch" dir="${buildDirectory}" strip="0" />
- <patch patchfile="${basedir}/patches/eclipse-help-feature.patch" dir="${buildDirectory}" strip="0" />
- <patch patchfile="${basedir}/patches/nonRelativeLicense.patch" dir="${buildDirectory}" strip="0" />
-+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}">
-+ <arg value="-p2" />
-+ <arg value="-i${basedir}/patches/freebsd-support.patch" />
-+ </exec>
- <echo file="patch-stamp" />
- </target>
-
- <target name="applyTestPatches" depends="unpackTests" unless="testspatch.complete">
- <patch patchfile="${basedir}/patches/tests-noapttests.patch" dir="${testsBuildDirectory}/features/org.eclipse.sdk.tests" strip="0" />
- <patch patchfile="${basedir}/patches/tests-noequinoxregiontests.patch" dir="${testsBuildDirectory}/features/org.eclipse.sdk.tests" strip="0" />
-- <patch patchfile="${basedir}/patches/tests-BZ295666.patch" dir="${testsBuildDirectory}" strip="0" />
-+ <exec executable="${localbase}/bin/gpatch" dir="${testsBuildDirectory}">
-+ <arg value="-p0" />
-+ <arg value="-i${basedir}/patches/tests-BZ295666.patch" />
-+ </exec>
- <patch patchfile="${basedir}/patches/tests-org.eclipse.pde.ui.tests-LocalTargetDefinitionTests.patch" dir="${testsBuildDirectory}/plugins/org.eclipse.pde.ui.tests" strip="0" />
- <patch patchfile="${basedir}/patches/tests-nop2discoverytests.patch" dir="${testsBuildDirectory}/features/org.eclipse.sdk.tests" strip="0" />
- <patch patchfile="${basedir}/patches/tests-org.eclipse.ant.tests.core.patch" dir="${testsBuildDirectory}/plugins/org.eclipse.ant.tests.core" strip="0" />
-@@ -725,7 +729,7 @@
- <target name="provision.sdk" depends="p2prep" unless="provision.sdk.complete">
- <echo message="Installing into: ${provisionDir}" />
- <antcall target="provision">
-- <param name="p2.director.installIU" value="org.eclipse.sdk.ide" />
-+ <param name="p2.director.installIU" value="org.eclipse.sdk.ide,org.eclipse.equinox.initializer" />
- <param name="profileName" value="SDKProfile" />
- </antcall>
-
-@@ -850,7 +854,8 @@
- <!--
- <echo message="Calling runtests with (debug, verbose) = (${testSwitches})" />
- -->
-- <exec executable="${basedir}/runtests.sh" dir="${basedir}">
-+ <exec executable="${localbase}/bin/bash" dir="${basedir}">
-+ <arg value="${basedir}/runtests.sh" />
- <arg value="-t${timestamp}" />
- <arg value="-a${buildArch}" />
- <arg value="-o${buildOs}" />
-@@ -1014,33 +1030,29 @@
- <target name="installIntoDestDir">
- <mkdir dir="${installationDir}" />
- <exec executable="rsync" failonerror="true">
-- <arg value="-vrpl" />
-+ <arg value="-vrpL" />
- <arg value="--exclude=dropins" />
- <arg value="${provisionDir}/" />
- <arg value="${installationDir}/" />
- </exec>
-
- <!-- install desktop file -->
-- <copy file="eclipse.desktop" todir="${destDir}${prefix}/share/applications" />
-- <!-- install Eclipse Java code formatter launcher -->
-- <property name="efj" value="${destDir}${prefix}/bin/efj"/>
-- <copy file="efj.sh" tofile="${efj}" />
-+ <copy file="eclipse.desktop" tofile="${destDir}${prefix}/share/applications/%%PORTNAME%%.desktop" />
- <fileset id="equinoxLauncher" dir="${installationDir}/plugins">
- <include name="org.eclipse.equinox.launcher_*.jar" />
- </fileset>
- <property name="launcherJar" refid="equinoxLauncher"/>
-- <replace file="${efj}" token="@LAUNCHER@" value="${prefix}/${libDir}/eclipse/plugins/${launcherJar}"/>
- <!-- install icons -->
-- <copy file="${buildDirectory}/plugins/org.eclipse.platform/eclipse.png" tofile="${destDir}${prefix}/share/icons/hicolor/16x16/apps/eclipse.png" />
-- <copy file="${buildDirectory}/plugins/org.eclipse.platform/eclipse32.png" tofile="${destDir}${prefix}/share/icons/hicolor/32x32/apps/eclipse.png" />
-- <copy file="${buildDirectory}/plugins/org.eclipse.platform/eclipse48.png" tofile="${destDir}${prefix}/share/icons/hicolor/48x48/apps/eclipse.png" />
-+ <copy file="${buildDirectory}/plugins/org.eclipse.platform/eclipse.png" tofile="${destDir}${prefix}/share/icons/hicolor/16x16/apps/%%PORTNAME%%.png" />
-+ <copy file="${buildDirectory}/plugins/org.eclipse.platform/eclipse32.png" tofile="${destDir}${prefix}/share/icons/hicolor/32x32/apps/%%PORTNAME%%.png" />
-+ <copy file="${buildDirectory}/plugins/org.eclipse.platform/eclipse48.png" tofile="${destDir}${prefix}/share/icons/hicolor/48x48/apps/%%PORTNAME%%.png" />
- <mkdir dir="${destDir}${prefix}/share/pixmaps" />
-- <symlink link="${destDir}${prefix}/share/pixmaps/eclipse.png" resource="../icons/hicolor/48x48/apps/eclipse.png" overwrite="true"/>
-+ <symlink link="${destDir}${prefix}/share/pixmaps/%%PORTNAME%%.png" resource="../icons/hicolor/48x48/apps/%%PORTNAME%%.png" overwrite="true"/>
- <!--shared dropins folder for architecture-independent plugins-->
-- <mkdir dir="${destDir}${prefix}/share/eclipse/dropins" />
-+ <mkdir dir="${destDir}${prefix}/share/%%PORTNAME%%/dropins" />
- <!-- eclipse binary -->
- <mkdir dir="${destDir}${prefix}/bin" />
-- <symlink link="${destDir}${prefix}/bin/eclipse" resource="../${libDir}/eclipse/eclipse" overwrite="true"/>
-+ <symlink link="${destDir}${prefix}/bin/%%PORTNAME%%" resource="../${libDir}/%%PORTNAME%%/eclipse" overwrite="true"/>
- <!-- Create the "swt.jar" and friends symlinks -->
- <fileset dir="${installationDir}/plugins" includes="org.eclipse.swt.gtk.${buildOs}.${buildArch}_*" id="swtjar" />
- <property name="swtjarpath" refid="swtjar" />
-@@ -1013,7 +1015,7 @@
- <symlink link="${installationDir}/swt-gtk.jar" resource="plugins/${swtjarpath}" overwrite="true"/>
- <symlink link="${installationDir}/swt.jar" resource="plugins/${swtjarpath}" overwrite="true"/>
-
-- <echo append="true" file="${installationDir}/eclipse.ini" message="-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=${prefix}/share/eclipse/dropins" />
-+ <echo append="true" file="${installationDir}/eclipse.ini" message="-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=${prefix}/share/%%PORTNAME%%/dropins" />
-
- <!-- Extract SWT JNI .so files -->
- <java classname="org.eclipse.core.launcher.Main" fork="true" failonerror="true" dir="${destDir}">
-@@ -1039,7 +1041,7 @@
-
- <!-- copy PDE and JDT to dropins -->
- <exec executable="rsync" failonerror="true">
-- <arg value="-vrpl" />
-+ <arg value="-vrpL" />
- <arg value="${provisionDir}/dropins/" />
- <arg value="${installationDir}/dropins/" />
- </exec>
-@@ -1072,8 +1074,8 @@
- <arg value="s@/@_@g" />
- </exec>
- <apply executable="sed" failonerror="true" verbose="true">
-- <arg value="-i" />
-- <arg value="\@${destDir}@d;\@${destDirWithUnderscores}@d;\@${reposourceWithUnderscores}@d;\@${provisionDirWithUnderscores}@d" />
-+ <arg value="-i.bak" />
-+ <arg value="\@${reposourceWithUnderscores}@d;\@${provisionDirWithUnderscores}@d" />
- <srcfile />
- <fileset dir="${installationDir}">
- <include name="metadata/content.xml" />
-@@ -1094,7 +1096,7 @@
- </fileset>
- </apply>
- <apply executable="sed" failonerror="true" verbose="true">
-- <arg value="-i" />
-+ <arg value="-i.bak" />
- <arg value="s@${provisionDir}@${installationDir}@g;s@${installationDir}@${prefix}/${libDir}/eclipse@g" />
- <srcfile />
- <fileset dir="${installationDir}/${profileDir}">
-@@ -1109,9 +1111,11 @@
- </apply>
-
- <!-- Move config file to /etc -->
-+ <!--
- <mkdir dir="${destDir}/etc" />
- <move file="${installationDir}/eclipse.ini" tofile="${destDir}/etc/eclipse.ini" />
- <symlink link="${installationDir}/eclipse.ini" resource="/etc/eclipse.ini" overwrite="true"/>
-+ -->
-
- </target>
-
-@@ -1156,8 +1164,7 @@
-
- <!-- make a copy of the clean platform+CVS installation -->
- <exec executable="cp" failonerror="true">
-- <arg value="-rd" />
-- <arg value="--no-target-directory" />
-+ <arg value="-R" />
- <arg value="${provisionDir}" />
- <arg value="${platformAndCVSInstallation}" />
- </exec>
-@@ -1173,16 +1180,14 @@
- tofile="${jdtInstallation}"/>
- <!-- make a second copy of the clean JDT installation -->
- <exec executable="cp" failonerror="true">
-- <arg value="-rd" />
-- <arg value="--no-target-directory" />
-+ <arg value="-R" />
- <arg value="${jdtInstallation}" />
- <arg value="${jdtInstallation}.orig" />
- </exec>
-
- <!-- restore clean platform+CVS installation -->
- <exec executable="cp" failonerror="true">
-- <arg value="-rd" />
-- <arg value="--no-target-directory" />
-+ <arg value="-R" />
- <arg value="${platformAndCVSInstallation}" />
- <arg value="${provisionDir}" />
- </exec>
-@@ -1199,8 +1204,7 @@
-
- <!-- restore clean platform+CVS installation -->
- <exec executable="cp" failonerror="true">
-- <arg value="-rd" />
-- <arg value="--no-target-directory" />
-+ <arg value="-R" />
- <arg value="${platformAndCVSInstallation}" />
- <arg value="${provisionDir}" />
- </exec>
---- eclipse-build-0.5.0.orig/pdebuild/eclipse-pdebuild.sh 2009-11-11 07:59:07.000000000 -0500
-+++ eclipse-build-0.5.0/pdebuild/eclipse-pdebuild.sh 2009-12-23 16:23:06.357147407 -0500
-@@ -230,7 +230,7 @@
- fi
-
- if [ "x$orbitDepsDir" != "x" ]; then
-- orbitDeps="-DorbitDepsDir=$orbitDepsDir"
-+ orbitDeps="-DorbitDepsDir=\"$orbitDepsDir\""
- fi
-
- if [ "x$zipDeps" != "x" ]; then
---- eclipse-build-0.5.0.orig/pdebuild.properties 2009-10-01 08:58:04.000000000 -0400
-+++ eclipse-build-0.5.0/pdebuild.properties 2009-12-23 16:23:06.358151430 -0500
-@@ -1,11 +1,11 @@
- buildArch=x86
- ws=gtk
--os=linux
-+os=freebsd
-
- buildId=R3_7_1
- buildTag=R3_7_1
- label=3.7.1
--bootclasspath=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
-+bootclasspath=%%BOOTCLASSPATH%%
- #build.compiler=org.eclipse.jdt.core.JDTCompilerAdapter
-
- javacFailOnError=true
-@@ -29,21 +29,21 @@
- CDC-1.1/PersonalBasis-1.1=${bootclasspath}
- CDC-1.1/PersonalJava-1.1=${bootclasspath}
- # Somehow bootclasspath isn't expanded when used by antRunner
--JavaSE-1.6=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.0/Foundation-1.0=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.1/Foundation-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--OSGi/Minimum-1.0=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--OSGi/Minimum-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--OSGi/Minimum-1.2=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--JRE-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--J2SE-1.2=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--J2SE-1.3=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--J2SE-1.4=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--J2SE-1.5=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--JavaSE-1.6=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--PersonalJava-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--PersonalJava-1.2=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.0/PersonalBasis-1.0=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.0/PersonalJava-1.0=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.1/PersonalBasis-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
--CDC-1.1/PersonalJava-1.1=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar:/usr/lib64/jvm/java/jre/lib/rt.jar:/usr/lib64/jvm/java/jre/lib/jce.jar
-+JavaSE-1.6=%%BOOTCLASSPATH%%
-+CDC-1.0/Foundation-1.0=%%BOOTCLASSPATH%%
-+CDC-1.1/Foundation-1.1=%%BOOTCLASSPATH%%
-+OSGi/Minimum-1.0=%%BOOTCLASSPATH%%
-+OSGi/Minimum-1.1=%%BOOTCLASSPATH%%
-+OSGi/Minimum-1.2=%%BOOTCLASSPATH%%
-+JRE-1.1=%%BOOTCLASSPATH%%
-+J2SE-1.2=%%BOOTCLASSPATH%%
-+J2SE-1.3=%%BOOTCLASSPATH%%
-+J2SE-1.4=%%BOOTCLASSPATH%%
-+J2SE-1.5=%%BOOTCLASSPATH%%
-+JavaSE-1.6=%%BOOTCLASSPATH%%
-+PersonalJava-1.1=%%BOOTCLASSPATH%%
-+PersonalJava-1.2=%%BOOTCLASSPATH%%
-+CDC-1.0/PersonalBasis-1.0=%%BOOTCLASSPATH%%
-+CDC-1.0/PersonalJava-1.0=%%BOOTCLASSPATH%%
-+CDC-1.1/PersonalBasis-1.1=%%BOOTCLASSPATH%%
-+CDC-1.1/PersonalJava-1.1=%%BOOTCLASSPATH%%
---- eclipse-build-0.5.0.orig/pdebuild.xml 2009-12-23 16:22:44.090824173 -0500
-+++ eclipse-build-0.5.0/pdebuild.xml 2009-12-23 16:24:47.491322864 -0500
-@@ -206,6 +206,7 @@
- <arg line="-DbuildOs=${buildOs} " />
- <arg line="-DbuildId=${buildId} " />
- <arg line="-debug -consolelog" />
-+ <arg line="-vmargs -Xmx1024 " />
- </java>
- <taskdef name="eclipse.versionReplacer"
- classname="org.eclipse.pde.internal.build.tasks.GenericVersionReplacer"
---- eclipse-build-0.6.1/eclipse.desktop.orig Tue Sep 29 23:34:41 2009
-+++ eclipse-build-0.6.1/eclipse.desktop Tue Oct 26 15:24:36 2010
-@@ -2,7 +2,7 @@
- Type=Application
- Name=Eclipse
- Comment=Eclipse Integrated Development Environment
--Icon=eclipse
--Exec=eclipse
-+Icon=%%PORTNAME%%
-+Exec=%%PORTNAME%%
- Terminal=false
- Categories=Development;IDE;Java;
---- eclipse-build-5791c48513b4207ab1eec1e00bed4b2186f9aad5/dependencies.properties.orig Thu Jun 30 16:45:54 2011
-+++ eclipse-build-5791c48513b4207ab1eec1e00bed4b2186f9aad5/dependencies.properties Thu Jun 30 16:46:18 2011
-@@ -1,5 +1,5 @@
- com.ibm.icu_4.4.2.v20110208.jar=/usr/lib/eclipse/plugins/com.ibm.icu_4.4.2.v20110208.jar:/usr/lib64/eclipse/plugins/com.ibm.icu_4.4.2.v20110208.jar:/usr/share/java/com.ibm.icu-4.4.jar:/usr/share/java/com.ibm.icu.jar:/usr/share/java/icu4j.jar
--com.jcraft.jsch_0.1.41.v200903070017.jar=/usr/share/java/jsch.jar
-+com.jcraft.jsch_0.1.41.v201101211617.jar=/usr/share/java/jsch.jar
- javax.servlet_3.0.0.jar=/usr/share/java/tomcat/tomcat-servlet-3.0-api.jar
- javax.servlet.jsp_2.2.0.jar=/usr/share/java/tomcat/tomcat-jsp-2.2-api.jar
- javax.el_2.2.0.jar=/usr/share/java/tomcat/tomcat-el-2.2-api.jar
-@@ -7,13 +7,13 @@
- org.apache.juli_7.0.21.jar=/usr/share/java/tomcat/tomcat-juli.jar
- org.apache.el_7.0.21.jar=/usr/share/java/tomcat/jasper-el.jar
- org.apache.commons.codec_1.3.0.v201101211617.jar=/usr/share/java/commons-codec.jar
--org.apache.commons.el_1.0.0.v200806031608.jar=/usr/share/java/commons-el.jar
--org.apache.commons.httpclient_3.1.0.v201005080502.jar=/usr/share/java/commons-httpclient.jar
-+org.apache.commons.el_1.0.0.v201101211617.jar=/usr/share/java/commons-el.jar
-+org.apache.commons.httpclient_3.1.0.v201012070820.jar=/usr/share/java/commons-httpclient.jar
- org.apache.commons.logging_1.0.4.v201101211617.jar=/usr/share/java/commons-logging.jar
- org.apache.jasper_7.0.21.jar=/usr/share/java/tomcat/jasper.jar
- org.apache.lucene.core_2.9.1.v201101211721.jar=/usr/share/java/lucene.jar:/usr/share/java/lucene-core.jar
- org.apache.lucene.analysis_2.9.1.v201101211721.jar=/usr/share/java/lucene-contrib/lucene-analyzers.jar:/usr/share/java/lucene-analyzers.jar
--org.mortbay.jetty.util_6.1.23.v201004211559.jar=/usr/share/java/jetty/jetty-util.jar:/usr/share/java/jetty-util.jar
--org.mortbay.jetty.server_6.1.23.v201004211559.jar=/usr/share/java/jetty/jetty.jar:/usr/share/java/jetty.jar
-+org.mortbay.jetty.util_6.1.23.v201012071420.jar=/usr/share/java/jetty/jetty-util.jar:/usr/share/java/jetty-util.jar
-+org.mortbay.jetty.server_6.1.23.v201012071420.jar=/usr/share/java/jetty/jetty.jar:/usr/share/java/jetty.jar
- org.sat4j.core_2.3.0.v20110329.jar=/usr/share/java/org.sat4j.core.jar:/usr/share/sat4j/org.sat4j.core.jar
- org.sat4j.pb_2.3.0.v20110329.jar=/usr/share/java/org.sat4j.pb.jar:/usr/share/sat4j/org.sat4j.pb.jar
---- eclipse-build-5791c48513b4207ab1eec1e00bed4b2186f9aad5/sdkdependencies.properties.orig Fri Jul 1 20:12:45 2011
-+++ eclipse-build-5791c48513b4207ab1eec1e00bed4b2186f9aad5/sdkdependencies.properties Fri Jul 1 20:16:04 2011
-@@ -1,1 +1,1 @@
--org.objectweb.asm_3.3.1.v201101071600.jar=/usr/share/java/objectweb-asm/asm-all.jar:/usr/share/java/asm3-all.jar
-+org.objectweb.asm_3.3.1.v201105211655.jar=/usr/share/java/objectweb-asm/asm-all.jar:/usr/share/java/asm3-all.jar
---- eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92/jasper7.sh~ Mon Dec 19 16:40:57 2011
-+++ eclipse-build-914dc6de2bfc5ee5819a229cf4877f7043040a92/jasper7.sh Wed Feb 29 14:54:42 2012
-@@ -1,8 +1,8 @@
--#! /bin/bash
-+#! /bin/sh
- label=$1
-
- for f in `find ./build/eclipse-${label}-src/plugins -name build.xml`; do
-- sed -i 's/javax\.servlet_2\.5\.0\.v[0-9]\{12\}/javax\.servlet_3\.0\.0/g' ${f}
-- sed -i 's/javax\.servlet\.jsp_2\.0\.0\.v[0-9]\{12\}/javax\.servlet\.jsp_2\.2\.0/g' ${f}
-- sed -i 's/org\.apache\.jasper_5\.5\.17\.v[0-9]\{12\}/org\.apache\.jasper_7\.0\.21/g' ${f}
-+ sed -i .orig 's/javax\.servlet_2\.5\.0\.v[0-9]\{12\}/javax\.servlet_3\.0\.0/g' ${f}
-+ sed -i .orig 's/javax\.servlet\.jsp_2\.0\.0\.v[0-9]\{12\}/javax\.servlet\.jsp_2\.2\.0/g' ${f}
-+ sed -i .orig 's/org\.apache\.jasper_5\.5\.17\.v[0-9]\{12\}/org\.apache\.jasper_7\.0\.21/g' ${f}
- done
diff --git a/java/eclipse/files/patch-freebsd_natives b/java/eclipse/files/patch-freebsd_natives
new file mode 100644
index 000000000000..f0f188177d75
--- /dev/null
+++ b/java/eclipse/files/patch-freebsd_natives
@@ -0,0 +1,577 @@
+--- ./eclipse.platform.resources/bundles/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile.orig 2014-03-30 18:38:29.000000000 -0500
++++ ./eclipse.platform.resources/bundles/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile 2014-03-30 19:41:07.000000000 -0500
+@@ -17,7 +17,7 @@
+ LIB_NAME_FULL = libunixfile_1_0_0.so
+
+ #Set this to be your OS type
+-OS_TYPE = linux
++OS_TYPE = freebsd
+
+ #Set this to be the location of your JRE
+ ifeq (${JAVA_HOME},)
+@@ -25,15 +25,11 @@
+ endif
+
+ JDK_INCLUDE = -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_TYPE}
+-OPT_FLAGS=-O -s -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
++OPT_FLAGS=-O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
+ core:
+- gcc $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) -o $(CORE.O) $(CORE.C)
+- gcc $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
++ $(CC) $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) -o $(CORE.O) $(CORE.C)
++ $(CC) $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
+
+ clean:
+ rm -f $(CORE.O) $(LIB_NAME_FULL)
+-
+-install: core
+- rm -f ../../../../org.eclipse.core.filesystem.linux.x86/os/linux/x86/libunixfile_1_0_0.so
+- mv libunixfile_1_0_0.so ../../../../org.eclipse.core.filesystem.linux.x86/os/linux/x86/
+--- ./eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.x86/META-INF/MANIFEST.MF.orig 2014-03-30 18:38:29.000000000 -0500
++++ ./eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.x86/META-INF/MANIFEST.MF 2014-03-30 19:32:26.000000000 -0500
+@@ -1,9 +1,9 @@
+ Manifest-Version: 1.0
+ Bundle-ManifestVersion: 2
+ Bundle-Name: %fragmentName
+-Bundle-SymbolicName: org.eclipse.core.filesystem.linux.x86; singleton:=true
++Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.x86; singleton:=true
+ Bundle-Version: 1.4.100.qualifier
+ Bundle-Vendor: %providerName
+ Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.3.0,2.0.0)"
+ Bundle-Localization: fragment
+-Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=x86))
++Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86))
+--- ./eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.x86/pom.xml.orig 2014-03-30 18:38:29.000000000 -0500
++++ ./eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.x86/pom.xml 2014-03-30 19:37:41.000000000 -0500
+@@ -18,7 +18,7 @@
+ <relativePath>../../</relativePath>
+ </parent>
+ <groupId>org.eclipse.core</groupId>
+- <artifactId>org.eclipse.core.filesystem.linux.x86</artifactId>
++ <artifactId>org.eclipse.core.filesystem.freebsd.x86</artifactId>
+ <version>1.4.100-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+@@ -33,7 +33,7 @@
+ <resolver>p2</resolver>
+ <environments>
+ <environment>
+- <os>linux</os>
++ <os>freebsd</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+ </environment>
+@@ -50,7 +50,7 @@
+ <property>
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
+ <name>native</name>
+- <value>gtk.linux.x86</value>
++ <value>gtk.freebsd.x86</value>
+ </property>
+ </activation>
+ <build>
+@@ -64,12 +64,13 @@
+ <phase>process-resources</phase>
+ <configuration>
+ <target>
+- <exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/linux/"/>
+- <copy todir="os/linux/x86" >
+- <fileset dir="../org.eclipse.core.filesystem/natives/unix/linux/">
+- <include name="libunixfile_*.so"/>
+- </fileset>
+- </copy>
++ <exec executable="gmake" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/freebsd/"/>
++ <mkdir dir="os/freebsd/x86"/>
++ <copy todir="os/freebsd/x86" >
++ <fileset dir="../org.eclipse.core.filesystem/natives/unix/freebsd/">
++ <include name="libunixfile_*.so"/>
++ </fileset>
++ </copy>
+ </target>
+ </configuration>
+ <goals>
+--- ./eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/META-INF/MANIFEST.MF.orig 2014-03-30 18:38:29.000000000 -0500
++++ ./eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/META-INF/MANIFEST.MF 2014-03-30 19:33:50.000000000 -0500
+@@ -1,9 +1,9 @@
+ Manifest-Version: 1.0
+ Bundle-ManifestVersion: 2
+ Bundle-Name: %fragmentName
+-Bundle-SymbolicName: org.eclipse.core.filesystem.linux.x86_64; singleton:=true
++Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.x86_64; singleton:=true
+ Bundle-Version: 1.2.100.qualifier
+ Bundle-Vendor: %providerName
+ Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.3.0,2.0.0)"
+ Bundle-Localization: fragment
+-Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=x86_64))
++Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86_64))
+--- ./eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/pom.xml.orig 2014-03-30 18:38:29.000000000 -0500
++++ ./eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/pom.xml 2014-03-30 19:36:09.000000000 -0500
+@@ -18,7 +18,7 @@
+ <relativePath>../../</relativePath>
+ </parent>
+ <groupId>org.eclipse.core</groupId>
+- <artifactId>org.eclipse.core.filesystem.linux.x86_64</artifactId>
++ <artifactId>org.eclipse.core.filesystem.freebsd.x86_64</artifactId>
+ <version>1.2.100-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+@@ -33,7 +33,7 @@
+ <resolver>p2</resolver>
+ <environments>
+ <environment>
+- <os>linux</os>
++ <os>freebsd</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </environment>
+@@ -50,7 +50,7 @@
+ <property>
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
+ <name>native</name>
+- <value>gtk.linux.x86_64</value>
++ <value>gtk.freebsd.x86_64</value>
+ </property>
+ </activation>
+ <build>
+@@ -64,13 +64,13 @@
+ <phase>process-resources</phase>
+ <configuration>
+ <target>
+- <exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/linux/"/>
+- <mkdir dir="os/linux/x86_64/"/>
+- <copy todir="os/linux/x86_64/" >
+- <fileset dir="../org.eclipse.core.filesystem/natives/unix/linux/">
+- <include name="libunixfile_*.so"/>
+- </fileset>
+- </copy>
++ <exec executable="gmake" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/freebsd/"/>
++ <mkdir dir="os/freebsd/x86_64/"/>
++ <copy todir="os/freebsd/x86_64/" >
++ <fileset dir="../org.eclipse.core.filesystem/natives/unix/freebsd/">
++ <include name="libunixfile_*.so"/>
++ </fileset>
++ </copy>
+ </target>
+ </configuration>
+ <goals>
+--- ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86/META-INF/MANIFEST.MF.orig 2014-03-30 18:51:08.000000000 -0500
++++ ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86/META-INF/MANIFEST.MF 2014-03-30 19:50:51.000000000 -0500
+@@ -2,7 +2,7 @@
+ Fragment-Host: org.eclipse.swt; bundle-version="[3.0.0,4.0.0)"
+ Bundle-Name: %fragmentName
+ Bundle-Vendor: %providerName
+-Bundle-SymbolicName: org.eclipse.swt.gtk.linux.x86; singleton:=true
++Bundle-SymbolicName: org.eclipse.swt.gtk.freebsd.x86; singleton:=true
+ Bundle-Version: 3.102.1.qualifier
+ Bundle-ManifestVersion: 2
+ Bundle-Localization: fragment
+@@ -30,6 +30,6 @@
+ org.eclipse.swt.internal.gtk; x-internal:=true,
+ org.eclipse.swt.internal.mozilla; x-internal:=true,
+ org.eclipse.swt.internal.opengl.glx; x-internal:=true
+-Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86))
++Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86))
+ Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,
+ J2SE-1.3
+--- ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86/pom.xml.orig 2014-03-30 18:51:08.000000000 -0500
++++ ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86/pom.xml 2014-03-30 19:49:19.000000000 -0500
+@@ -20,12 +20,12 @@
+ <relativePath>../binaries-parent/</relativePath>
+ </parent>
+ <groupId>org.eclipse.swt</groupId>
+- <artifactId>org.eclipse.swt.gtk.linux.x86</artifactId>
++ <artifactId>org.eclipse.swt.gtk.freebsd.x86</artifactId>
+ <version>3.102.1-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <properties>
+- <os>linux</os>
++ <os>freebsd</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+ <buildid>${buildId}</buildid>
+@@ -112,7 +112,7 @@
+ <property>
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
+ <name>native</name>
+- <value>gtk.linux.x86</value>
++ <value>gtk.freebsd.x86</value>
+ </property>
+ </activation>
+ <build>
+--- ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86/build.xml.orig 2014-03-30 18:51:08.000000000 -0500
++++ ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86/build.xml 2014-03-30 19:49:45.000000000 -0500
+@@ -1,10 +1,10 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+-<project name="org.eclipse.swt.gtk.linux.x86" default="build.jars" basedir=".">
++<project name="org.eclipse.swt.gtk.freebsd.x86" default="build.jars" basedir=".">
+
+ <property name="swt.ws" value="gtk" />
+- <property name="swt.os" value="linux" />
++ <property name="swt.os" value="freebsd" />
+ <property name="swt.arch" value="x86" />
+- <property name="targets" value="make_mozilla make_xulrunner make_xpcominit install"/>
++ <property name="targets" value="install"/>
+
+ <!-- These properties are used by eclipse when exporting as Deployable plugin and fragments -->
+ <property name="version.suffix" value="3.102.1" />
+--- ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86_64/META-INF/MANIFEST.MF.orig 2014-03-30 18:51:08.000000000 -0500
++++ ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86_64/META-INF/MANIFEST.MF 2014-03-30 19:52:06.000000000 -0500
+@@ -2,7 +2,7 @@
+ Fragment-Host: org.eclipse.swt; bundle-version="[3.0.0,4.0.0)"
+ Bundle-Name: %fragmentName
+ Bundle-Vendor: %providerName
+-Bundle-SymbolicName: org.eclipse.swt.gtk.linux.x86_64; singleton:=true
++Bundle-SymbolicName: org.eclipse.swt.gtk.freebsd.x86_64; singleton:=true
+ Bundle-Version: 3.102.1.qualifier
+ Bundle-ManifestVersion: 2
+ Bundle-Localization: fragment
+@@ -30,6 +30,6 @@
+ org.eclipse.swt.internal.gtk; x-internal:=true,
+ org.eclipse.swt.internal.mozilla; x-internal:=true,
+ org.eclipse.swt.internal.opengl.glx; x-internal:=true
+-Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))
++Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86_64))
+ Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,
+ J2SE-1.3
+--- ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86_64/build.xml.orig 2014-03-30 18:51:08.000000000 -0500
++++ ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86_64/build.xml 2014-03-30 19:51:51.000000000 -0500
+@@ -1,10 +1,10 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+-<project name="org.eclipse.swt.gtk.linux.x86_64" default="build.jars" basedir=".">
++<project name="org.eclipse.swt.gtk.freebsd.x86_64" default="build.jars" basedir=".">
+
+ <property name="swt.ws" value="gtk" />
+- <property name="swt.os" value="linux" />
++ <property name="swt.os" value="freebsd" />
+ <property name="swt.arch" value="x86_64" />
+- <property name="targets" value="make_mozilla make_xulrunner make_xpcominit install"/>
++ <property name="targets" value="install"/>
+
+ <!-- These properties are used by eclipse when exporting as Deployable plugin and fragments -->
+ <property name="version.suffix" value="3.102.1" />
+--- ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86_64/pom.xml.orig 2014-03-30 18:51:08.000000000 -0500
++++ ./eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.x86_64/pom.xml 2014-03-30 19:51:36.000000000 -0500
+@@ -20,12 +20,12 @@
+ <relativePath>../binaries-parent/</relativePath>
+ </parent>
+ <groupId>org.eclipse.swt</groupId>
+- <artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
++ <artifactId>org.eclipse.swt.gtk.freebsd.x86_64</artifactId>
+ <version>3.102.1-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <properties>
+- <os>linux</os>
++ <os>freebsd</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ <buildid>${buildId}</buildid>
+@@ -112,7 +112,7 @@
+ <property>
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
+ <name>native</name>
+- <value>gtk.linux.x86_64</value>
++ <value>gtk.freebsd.x86_64</value>
+ </property>
+ </activation>
+ <build>
+--- ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86/META-INF/MANIFEST.MF.orig 2014-03-30 18:51:46.000000000 -0500
++++ ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86/META-INF/MANIFEST.MF 2014-03-30 19:45:38.000000000 -0500
+@@ -3,8 +3,8 @@
+ Bundle-Name: %fragmentName
+ Bundle-Vendor: %providerName
+ Bundle-Localization: fragment
+-Bundle-SymbolicName: org.eclipse.core.net.linux.x86;singleton:=true
++Bundle-SymbolicName: org.eclipse.core.net.freebsd.x86;singleton:=true
+ Bundle-Version: 1.1.300.qualifier
+ Fragment-Host: org.eclipse.core.net;bundle-version="1.1.0"
+-Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=x86))
++Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86))
+ Bundle-RequiredExecutionEnvironment: J2SE-1.4
+--- ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86/pom.xml.orig 2014-03-30 18:51:46.000000000 -0500
++++ ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86/pom.xml 2014-03-30 19:45:12.000000000 -0500
+@@ -18,7 +18,7 @@
+ <relativePath>../../../../</relativePath>
+ </parent>
+ <groupId>org.eclipse.core</groupId>
+- <artifactId>org.eclipse.core.net.linux.x86</artifactId>
++ <artifactId>org.eclipse.core.net.freebsd.x86</artifactId>
+ <version>1.1.300-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+@@ -30,7 +30,7 @@
+ <configuration>
+ <environments>
+ <environment>
+- <os>linux</os>
++ <os>freebsd</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+ </environment>
+@@ -47,7 +47,7 @@
+ <property>
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
+ <name>native</name>
+- <value>gtk.linux.x86</value>
++ <value>gtk.freebsd.x86</value>
+ </property>
+ </activation>
+ <build>
+@@ -61,12 +61,12 @@
+ <phase>process-resources</phase>
+ <configuration>
+ <target>
+- <exec executable="make" newenvironment="false" dir="../../natives/unix/linux/"/>
+- <copy todir="." >
+- <fileset dir="../../natives/unix/linux/">
+- <include name="libgnomeproxy-*.so"/>
+- </fileset>
+- </copy>
++ <exec executable="gmake" newenvironment="false" dir="../../natives/unix/freebsd/"/>
++ <copy todir="." >
++ <fileset dir="../../natives/unix/freebsd/">
++ <include name="libgnomeproxy-*.so"/>
++ </fileset>
++ </copy>
+ </target>
+ </configuration>
+ <goals>
+--- ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86/fragment.properties.orig 2014-03-30 18:51:46.000000000 -0500
++++ ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86/fragment.properties 2014-03-30 19:45:23.000000000 -0500
+@@ -8,5 +8,5 @@
+ # Contributors:
+ # IBM Corporation - initial API and implementation
+ ###############################################################################
+-fragmentName = Proxy for Linux
++fragmentName = Proxy for FreeBSD
+ providerName = Eclipse.org
+--- ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86_64/META-INF/MANIFEST.MF.orig 2014-03-30 18:51:46.000000000 -0500
++++ ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86_64/META-INF/MANIFEST.MF 2014-03-30 19:47:19.000000000 -0500
+@@ -3,8 +3,8 @@
+ Bundle-Name: %fragmentName
+ Bundle-Vendor: %providerName
+ Bundle-Localization: fragment
+-Bundle-SymbolicName: org.eclipse.core.net.linux.x86_64;singleton:=true
++Bundle-SymbolicName: org.eclipse.core.net.freebsd.x86_64;singleton:=true
+ Bundle-Version: 1.1.100.qualifier
+ Fragment-Host: org.eclipse.core.net;bundle-version="1.1.0"
+-Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=x86_64))
++Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86_64))
+ Bundle-RequiredExecutionEnvironment: J2SE-1.4
+--- ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86_64/pom.xml.orig 2014-03-30 18:51:46.000000000 -0500
++++ ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86_64/pom.xml 2014-03-30 19:47:00.000000000 -0500
+@@ -18,7 +18,7 @@
+ <relativePath>../../../../</relativePath>
+ </parent>
+ <groupId>org.eclipse.core</groupId>
+- <artifactId>org.eclipse.core.net.linux.x86_64</artifactId>
++ <artifactId>org.eclipse.core.net.freebsd.x86_64</artifactId>
+ <version>1.1.100-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+@@ -31,7 +31,7 @@
+ <configuration>
+ <environments>
+ <environment>
+- <os>linux</os>
++ <os>freebsd</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </environment>
+@@ -48,7 +48,7 @@
+ <property>
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
+ <name>native</name>
+- <value>gtk.linux.x86_64</value>
++ <value>gtk.freebsd.x86_64</value>
+ </property>
+ </activation>
+ <build>
+@@ -62,12 +62,12 @@
+ <phase>process-resources</phase>
+ <configuration>
+ <target>
+- <exec executable="make" newenvironment="false" dir="../../natives/unix/linux/"/>
+- <copy todir="." >
+- <fileset dir="../../natives/unix/linux/">
+- <include name="libgnomeproxy-*.so"/>
+- </fileset>
+- </copy>
++ <exec executable="gmake" newenvironment="false" dir="../../natives/unix/freebsd/"/>
++ <copy todir="." >
++ <fileset dir="../../natives/unix/freebsd/">
++ <include name="libgnomeproxy-*.so"/>
++ </fileset>
++ </copy>
+ </target>
+ </configuration>
+ <goals>
+--- ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86_64/fragment.properties.orig 2014-03-30 18:51:46.000000000 -0500
++++ ./eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.x86_64/fragment.properties 2014-03-30 19:47:09.000000000 -0500
+@@ -8,5 +8,5 @@
+ # Contributors:
+ # IBM Corporation - initial API and implementation
+ ###############################################################################
+-fragmentName = Proxy for Linux x86_64
++fragmentName = Proxy for FreeBSD x86_64
+ providerName = Eclipse.org
+--- ./eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/freebsd/makefile.orig 2014-03-30 18:51:46.000000000 -0500
++++ ./eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/freebsd/makefile 2014-03-30 19:42:55.000000000 -0500
+@@ -18,7 +18,7 @@
+ LIB_NAME = gnomeproxy.so
+ LIB_NAME_FULL = libgnomeproxy-1.0.0.so
+
+-OS_TYPE = linux
++OS_TYPE = freebsd
+ JDK_INCLUDE = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS_TYPE}
+ INCLUDE = `pkg-config --cflags gconf-2.0`
+ COMPILER_FLAGS = -O0 -fPIC -g3 -Wall -c -fmessage-length=0 ${TARGET_ENVIRONMENT}
+@@ -30,15 +30,15 @@
+
+ compile:
+ @echo "Building file: $(GNOMEPROXY.O)"
+- @echo "Invoking: GCC C Compiler"
+- gcc $(INCLUDE) $(JDK_INCLUDE) $(COMPILER_FLAGS) -o $(GNOMEPROXY.O) $(GNOMEPROXY.C)
++ @echo "Invoking: C Compiler"
++ $(CC) $(INCLUDE) $(JDK_INCLUDE) $(COMPILER_FLAGS) -o $(GNOMEPROXY.O) $(GNOMEPROXY.C)
+ @echo "Finished building: $(GNOMEPROXY.O)"
+ @echo " "
+
+ link: compile
+ @echo "Building target: $(LIB_NAME_FULL)"
+- @echo "Invoking: GCC C Linker"
+- gcc $(LINKER_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(LIBS) $(GNOMEPROXY.O) -lc
++ @echo "Invoking: C Linker"
++ $(CC) $(LINKER_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(LIBS) $(GNOMEPROXY.O) -lc
+ @echo "Finished building target: $(LIB_NAME_FULL)"
+ @echo " "
+
+--- ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86/META-INF/MANIFEST.MF.orig 2014-03-30 18:56:10.000000000 -0500
++++ ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86/META-INF/MANIFEST.MF 2014-03-30 19:54:41.000000000 -0500
+@@ -2,9 +2,9 @@
+ Bundle-ManifestVersion: 2
+ Bundle-Name: %pluginName
+ Bundle-Vendor: %providerName
+-Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.linux.x86;singleton:=true
++Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.x86;singleton:=true
+ Bundle-Version: 1.1.200.qualifier
+ Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.0.0,1.4.0)"
+-Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86))
+-Bundle-Localization: launcher.gtk.linux.x86
++Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86))
++Bundle-Localization: launcher.gtk.freebsd.x86
+ Eclipse-BundleShape: dir
+--- ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86/pom.xml.orig 2014-03-30 18:56:10.000000000 -0500
++++ ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86/pom.xml 2014-03-30 19:54:29.000000000 -0500
+@@ -18,13 +18,13 @@
+ <relativePath>../../launcher-binary-parent</relativePath>
+ </parent>
+ <groupId>org.eclipse.equinox</groupId>
+- <artifactId>org.eclipse.equinox.launcher.gtk.linux.x86</artifactId>
++ <artifactId>org.eclipse.equinox.launcher.gtk.freebsd.x86</artifactId>
+ <version>1.1.200-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <properties>
+ <launcher-binary.version>1500</launcher-binary.version>
+- <os>linux</os>
++ <os>freebsd</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+ </properties>
+--- ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86/launcher.gtk.freebsd.x86.properties.orig 2014-03-30 18:56:10.000000000 -0500
++++ ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86/launcher.gtk.freebsd.x86.properties 2014-03-30 19:54:51.000000000 -0500
+@@ -8,5 +8,5 @@
+ # Contributors:
+ # IBM Corporation - initial API and implementation
+ ###############################################################################
+-pluginName = Equinox Launcher Linux X86 Fragment
++pluginName = Equinox Launcher FreeBSD X86 Fragment
+ providerName = Eclipse.org - Equinox
+--- ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/META-INF/MANIFEST.MF.orig 2014-03-30 18:56:10.000000000 -0500
++++ ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/META-INF/MANIFEST.MF 2014-03-30 19:55:31.000000000 -0500
+@@ -2,9 +2,9 @@
+ Bundle-ManifestVersion: 2
+ Bundle-Name: %pluginName
+ Bundle-Vendor: %providerName
+-Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.linux.x86_64;singleton:=true
++Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.x86_64;singleton:=true
+ Bundle-Version: 1.1.200.qualifier
+ Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.0.0,1.4.0)"
+-Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))
+-Bundle-Localization: launcher.gtk.linux.x86_64
++Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86_64))
++Bundle-Localization: launcher.gtk.freebsd.x86_64
+ Eclipse-BundleShape: dir
+--- ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/pom.xml.orig 2014-03-30 18:56:10.000000000 -0500
++++ ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/pom.xml 2014-03-30 19:55:25.000000000 -0500
+@@ -18,13 +18,13 @@
+ <relativePath>../../launcher-binary-parent</relativePath>
+ </parent>
+ <groupId>org.eclipse.equinox</groupId>
+- <artifactId>org.eclipse.equinox.launcher.gtk.linux.x86_64</artifactId>
++ <artifactId>org.eclipse.equinox.launcher.gtk.freebsd.x86_64</artifactId>
+ <version>1.1.200-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <properties>
+ <launcher-binary.version>1500</launcher-binary.version>
+- <os>linux</os>
++ <os>freebsd</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </properties>
+--- ./rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_freebsd.mak.orig 2014-03-30 18:56:11.000000000 -0500
++++ ./rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_freebsd.mak 2014-03-30 22:05:58.000000000 -0500
+@@ -42,15 +42,15 @@
+ EXEC = $(PROGRAM_OUTPUT)
+ DLL = $(PROGRAM_LIBRARY)
+ #LIBS = `pkg-config --libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgdk-x11-2.0 -lpthread -ldl -lX11
+-LIBS = -lpthread -ldl
++LIBS = -pthread
+ GTK_LIBS = \
+ -DGTK_LIB="\"libgtk-x11-2.0.so.0\"" -DGDK_LIB="\"libgdk-x11-2.0.so.0\"" \
+ -DGTK3_LIB="\"libgtk-3.so.0\"" -DGDK3_LIB="\"libgdk-3.so.0\"" \
+ -DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\"" -DGOBJ_LIB="\"libgobject-2.0.so.0\"" -DX11_LIB="\"libX11.so.6\""
+ LFLAGS = ${M_ARCH} -shared -fpic -Wl,--export-dynamic
+-CFLAGS = ${M_ARCH} -g -s -Wall\
++CFLAGS = ${M_ARCH} -g -s -Wall -pthread\
+ -fpic \
+- -DLINUX \
++ -DFREEBSD \
+ -DMOZILLA_FIX \
+ -DDEFAULT_OS="\"$(DEFAULT_OS)\"" \
+ -DDEFAULT_OS_ARCH="\"$(DEFAULT_OS_ARCH)\"" \
+@@ -59,7 +59,7 @@
+ $(GTK_LIBS) \
+ -I. \
+ -I.. \
+- -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
++ -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/$(DEFAULT_OS) \
+ `pkg-config --cflags gtk+-2.0`
+
+ all: $(EXEC) $(DLL)
+@@ -98,10 +98,10 @@
+ $(CC) $(CFLAGS) -c ../eclipseNix.c -o eclipseNix.o
+
+ $(EXEC): $(MAIN_OBJS) $(COMMON_OBJS)
+- $(CC) ${M_ARCH} -o $(EXEC) $(MAIN_OBJS) $(COMMON_OBJS) $(LIBS)
++ $(CC) -s ${M_ARCH} -o $(EXEC) $(MAIN_OBJS) $(COMMON_OBJS) $(LIBS)
+
+ $(DLL): $(DLL_OBJS) $(COMMON_OBJS)
+- $(CC) $(LFLAGS) -o $(DLL) $(DLL_OBJS) $(COMMON_OBJS) $(LIBS)
++ $(CC) -s $(LFLAGS) -o $(DLL) $(DLL_OBJS) $(COMMON_OBJS) $(LIBS)
+
+ install: all
+ cp $(EXEC) $(OUTPUT_DIR)
+--- ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/launcher.gtk.freebsd.x86_64.properties.orig 2014-03-30 18:56:10.000000000 -0500
++++ ./rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/launcher.gtk.freebsd.x86_64.properties 2014-03-31 07:49:37.000000000 -0500
+@@ -8,5 +8,5 @@
+ # Contributors:
+ # IBM Corporation - initial API and implementation
+ ###############################################################################
+-pluginName = Equinox Launcher Linux X86_64 Fragment
++pluginName = Equinox Launcher FreeBSD X86_64 Fragment
+ providerName = Eclipse.org - Equinox
diff --git a/java/eclipse/files/patch-generatedScripts b/java/eclipse/files/patch-generatedScripts
deleted file mode 100644
index 02d05aae06d7..000000000000
--- a/java/eclipse/files/patch-generatedScripts
+++ /dev/null
@@ -1,80 +0,0 @@
-$FreeBSD$
-
-diff -urN eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts.orig/plugins/org.eclipse.ecf.provider.filetransfer.httpclient/build.xml eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts/plugins/org.eclipse.ecf.provider.filetransfer.httpclient/build.xml
---- eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts.orig/plugins/org.eclipse.ecf.provider.filetransfer.httpclient/build.xml 2011-09-09 09:31:10.000000000 +0200
-+++ eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts/plugins/org.eclipse.ecf.provider.filetransfer.httpclient/build.xml 2012-01-19 16:07:46.000000000 +0100
-@@ -105,7 +105,7 @@
- <delete dir="${build.result.folder}/@dot"/>
- <mkdir dir="${build.result.folder}/@dot"/>
- <path id="@dot.classpath">
-- <pathelement path="../org.apache.commons.httpclient_3.1.0.v201005080502.jar"/>
-+ <pathelement path="../org.apache.commons.httpclient_3.1.0.v201012070820.jar"/>
- <pathelement path="../org.apache.commons.codec_1.3.0.v201101211617.jar"/>
- <pathelement path="../org.apache.commons.logging_1.0.4.v201101211617.jar"/>
- <pathelement path="../org.eclipse.core.jobs/bin/"/>
-diff -urN eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts.orig/plugins/org.eclipse.ecf.provider.filetransfer.httpclient.ssl/build.xml eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts/plugins/org.eclipse.ecf.provider.filetransfer.httpclient.ssl/build.xml
---- eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts.orig/plugins/org.eclipse.ecf.provider.filetransfer.httpclient.ssl/build.xml 2011-09-09 09:31:10.000000000 +0200
-+++ eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts/plugins/org.eclipse.ecf.provider.filetransfer.httpclient.ssl/build.xml 2012-01-19 16:07:59.000000000 +0100
-@@ -107,7 +107,7 @@
- <path id="@dot.classpath">
- <pathelement path="../org.eclipse.ecf.provider.filetransfer.httpclient/bin/"/>
- <pathelement path="../org.eclipse.ecf.provider.filetransfer.httpclient/@dot"/>
-- <pathelement path="../org.apache.commons.httpclient_3.1.0.v201005080502.jar"/>
-+ <pathelement path="../org.apache.commons.httpclient_3.1.0.v201012070820.jar"/>
- <pathelement path="../org.apache.commons.codec_1.3.0.v201101211617.jar"/>
- <pathelement path="../org.apache.commons.logging_1.0.4.v201101211617.jar"/>
- <pathelement path="../org.eclipse.core.jobs/bin/"/>
-diff -urN eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts.orig/plugins/org.eclipse.equinox.http.jetty_2.0.0/build.xml eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts/plugins/org.eclipse.equinox.http.jetty_2.0.0/build.xml
---- eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts.orig/plugins/org.eclipse.equinox.http.jetty_2.0.0/build.xml 2011-09-09 09:31:10.000000000 +0200
-+++ eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts/plugins/org.eclipse.equinox.http.jetty_2.0.0/build.xml 2012-01-19 16:11:35.000000000 +0100
-@@ -99,11 +99,11 @@
- <pathelement path="../org.eclipse.equinox.transforms.hook/@dot"/>
- <pathelement path="../org.eclipse.osgi.services"/>
- <pathelement path="../org.eclipse.osgi.services/@dot"/>
-- <pathelement path="../org.mortbay.jetty.util_6.1.23.v201004211559.jar"/>
-- <pathelement path="../org.mortbay.jetty.server_6.1.23.v201004211559.jar"/>
-- <pathelement path="../org.apache.jasper_5.5.17.v200903231320.jar"/>
-+ <pathelement path="../org.mortbay.jetty.util_6.1.23.v201012071420.jar"/>
-+ <pathelement path="../org.mortbay.jetty.server_6.1.23.v201012071420.jar"/>
-+ <pathelement path="../org.apache.jasper_5.5.17.v201101211617.jar"/>
- <pathelement path="../javax.servlet.jsp_2.0.0.v201101211617.jar"/>
-- <pathelement path="../org.apache.commons.el_1.0.0.v200806031608.jar"/>
-+ <pathelement path="../org.apache.commons.el_1.0.0.v201101211617.jar"/>
- <pathelement path="../org.apache.commons.logging_1.0.4.v201101211617.jar"/>
- <pathelement path="../org.apache.ant_1.8.2.v20110505-1300/lib/ant-antlr.jar"/>
- <pathelement path="../org.apache.ant_1.8.2.v20110505-1300/lib/ant-apache-bcel.jar"/>
-diff -urN eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts.orig/plugins/org.eclipse.help.base/build.xml eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts/plugins/org.eclipse.help.base/build.xml
---- eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts.orig/plugins/org.eclipse.help.base/build.xml 2011-09-09 09:31:10.000000000 +0200
-+++ eclipse-build-ac26b7b28f77d35c40527bd48b5bb5293369e89c/generatedScripts/plugins/org.eclipse.help.base/build.xml 2012-01-19 16:12:03.000000000 +0100
-@@ -107,11 +107,11 @@
- <pathelement path="../org.eclipse.equinox.transforms.hook/@dot"/>
- <pathelement path="../org.eclipse.osgi.services"/>
- <pathelement path="../org.eclipse.osgi.services/@dot"/>
-- <pathelement path="../org.mortbay.jetty.util_6.1.23.v201004211559.jar"/>
-- <pathelement path="../org.mortbay.jetty.server_6.1.23.v201004211559.jar"/>
-- <pathelement path="../org.apache.jasper_5.5.17.v200903231320.jar"/>
-+ <pathelement path="../org.mortbay.jetty.util_6.1.23.v201012071420.jar"/>
-+ <pathelement path="../org.mortbay.jetty.server_6.1.23.v201012071420.jar"/>
-+ <pathelement path="../org.apache.jasper_5.5.17.v201101211617.jar"/>
- <pathelement path="../javax.servlet.jsp_2.0.0.v201101211617.jar"/>
-- <pathelement path="../org.apache.commons.el_1.0.0.v200806031608.jar"/>
-+ <pathelement path="../org.apache.commons.el_1.0.0.v201101211617.jar"/>
- <pathelement path="../org.apache.commons.logging_1.0.4.v201101211617.jar"/>
- <pathelement path="../org.apache.ant_1.8.2.v20110505-1300/lib/ant-antlr.jar"/>
- <pathelement path="../org.apache.ant_1.8.2.v20110505-1300/lib/ant-apache-bcel.jar"/>
-@@ -238,11 +238,11 @@
- <pathelement path="../org.eclipse.equinox.transforms.hook/@dot"/>
- <pathelement path="../org.eclipse.osgi.services"/>
- <pathelement path="../org.eclipse.osgi.services/@dot"/>
-- <pathelement path="../org.mortbay.jetty.util_6.1.23.v201004211559.jar"/>
-- <pathelement path="../org.mortbay.jetty.server_6.1.23.v201004211559.jar"/>
-- <pathelement path="../org.apache.jasper_5.5.17.v200903231320.jar"/>
-+ <pathelement path="../org.mortbay.jetty.util_6.1.23.v201012071420.jar"/>
-+ <pathelement path="../org.mortbay.jetty.server_6.1.23.v201012071420.jar"/>
-+ <pathelement path="../org.apache.jasper_5.5.17.v201101211617.jar"/>
- <pathelement path="../javax.servlet.jsp_2.0.0.v201101211617.jar"/>
-- <pathelement path="../org.apache.commons.el_1.0.0.v200806031608.jar"/>
-+ <pathelement path="../org.apache.commons.el_1.0.0.v201101211617.jar"/>
- <pathelement path="../org.apache.commons.logging_1.0.4.v201101211617.jar"/>
- <pathelement path="../org.apache.ant_1.8.2.v20110505-1300/lib/ant-antlr.jar"/>
- <pathelement path="../org.apache.ant_1.8.2.v20110505-1300/lib/ant-apache-bcel.jar"/>
diff --git a/java/eclipse/files/patch-submodules b/java/eclipse/files/patch-submodules
new file mode 100644
index 000000000000..74bd1f094a34
--- /dev/null
+++ b/java/eclipse/files/patch-submodules
@@ -0,0 +1,2459 @@
+diff --git a/eclipse.jdt/org.eclipse.jdt-feature/pom.xml b/eclipse.jdt/org.eclipse.jdt-feature/pom.xml
+index 5f21fad..7ef6f2e 100644
+--- a/eclipse.jdt/org.eclipse.jdt-feature/pom.xml
++++ b/eclipse.jdt/org.eclipse.jdt-feature/pom.xml
+@@ -56,6 +56,8 @@
+ <excludes>
+ <plugin id="org.eclipse.jdt"/>
+ <plugin id="org.eclipse.jdt.doc.user"/>
++ <plugin id="org.eclipse.jdt.launching.macosx"/>
++ <plugin id="org.eclipse.jdt.launching.ui.macosx"/>
+ </excludes>
+ </configuration>
+ </execution>
+diff --git a/eclipse.pde.build/org.eclipse.pde.build/scripts/productBuild/allElements.xml b/eclipse.pde.build/org.eclipse.pde.build/scripts/productBuild/allElements.xml
+index 1c2033f..e80dcd8 100644
+--- a/eclipse.pde.build/org.eclipse.pde.build/scripts/productBuild/allElements.xml
++++ b/eclipse.pde.build/org.eclipse.pde.build/scripts/productBuild/allElements.xml
+@@ -70,6 +70,20 @@
+ </ant>
+ </target>
+
++ <property name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.x86" value="true" />
++ <target name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.x86">
++ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
++ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.x86.zip"/>
++ </ant>
++ </target>
++
++ <property name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.x86_64" value="true" />
++ <target name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.x86_64">
++ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
++ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.x86_64.zip"/>
++ </ant>
++ </target>
++
+ <property name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86" value="true" />
+ <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+diff --git a/eclipse.pde.build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java b/eclipse.pde.build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java
+index 442bd6c..119ce58 100644
+--- a/eclipse.pde.build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java
++++ b/eclipse.pde.build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java
+@@ -694,7 +694,7 @@ public final class Utils implements IPDEBuildConstants, IBuildPropertiesConstant
+ arguments.add("-sf"); //$NON-NLS-1$
+ arguments.add(links[i]);
+ arguments.add(links[i + 1]);
+- script.printExecTask("ln", dir, arguments, "Linux"); //$NON-NLS-1$ //$NON-NLS-2$
++ script.printExecTask("ln", dir, arguments, "Linux,FreeBSD"); //$NON-NLS-1$ //$NON-NLS-2$
+ arguments.clear();
+ }
+ }
+diff --git a/eclipse.pde.build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java b/eclipse.pde.build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java
+index 08540fa..582bc74 100644
+--- a/eclipse.pde.build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java
++++ b/eclipse.pde.build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java
+@@ -933,7 +933,7 @@ public class ModelBuildScriptGenerator extends AbstractBuildScriptGenerator {
+ for (int i = 0; i < links.length; i += 2) {
+ arguments.add(links[i]);
+ arguments.add(links[i + 1]);
+- script.printExecTask("ln -s", dir, arguments, "Linux"); //$NON-NLS-1$ //$NON-NLS-2$
++ script.printExecTask("ln -s", dir, arguments, "Linux,FreeBSD"); //$NON-NLS-1$ //$NON-NLS-2$
+ arguments.clear();
+ }
+ }
+diff --git a/eclipse.pde.build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java b/eclipse.pde.build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java
+index 5399a48..e395cb5 100644
+--- a/eclipse.pde.build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java
++++ b/eclipse.pde.build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java
+@@ -314,6 +314,8 @@ public class JNLPGenerator extends DefaultHandler {
+ return "HP-UX"; //$NON-NLS-1$
+ if ("aix".equalsIgnoreCase(os)) //$NON-NLS-1$
+ return "AIX"; //$NON-NLS-1$
++ if ("freebsd".equalsIgnoreCase(os)) //$NON-NLS-1$
++ return "FreeBSD"; //$NON-NLS-1$
+ return os;
+ }
+
+diff --git a/eclipse.pde.build/org.eclipse.pde.build/templates/headless-build/build.properties b/eclipse.pde.build/org.eclipse.pde.build/templates/headless-build/build.properties
+index 432b6e0..2d69832 100644
+--- a/eclipse.pde.build/org.eclipse.pde.build/templates/headless-build/build.properties
++++ b/eclipse.pde.build/org.eclipse.pde.build/templates/headless-build/build.properties
+@@ -48,6 +48,8 @@ configs = *, *, *
+ #configs=win32, win32, x86 & \
+ # win32,win32,x86_64 & \
+ # win32,win32,wpf & \
++# freebsd, gtk, x86 & \
++# freebsd, gtk, x86_64 & \
+ # linux, gtk, ppc & \
+ # linux, gtk, x86 & \
+ # linux, gtk, x86_64 & \
+@@ -72,10 +74,12 @@ configs = *, *, *
+ #The format of the archive. By default a zip is created using antZip.
+ #The list can only contain the configuration for which the desired format is different than zip.
+ #archivesFormat=win32, win32, x86 - antZip& \
++# freebsd, gtk, x86 - antZip& \
++# freebsd, gtk, x86_64 - antZip& \
+ # linux, gtk, ppc - antZip &\
+-# linux, gtk, x86 - antZip& \
++# linux, gtk, x86 - antZip& \
+ # linux, gtk, x86_64 - antZip& \
+-# linux, motif, x86 - antZip& \
++# linux, motif, x86 - antZip& \
+ # solaris, motif, sparc - antZip& \
+ # solaris, gtk, sparc - antZip& \
+ # aix, motif, ppc - antZip& \
+diff --git a/eclipse.pde.build/org.eclipse.pde.build/templates/packager/customTargets.xml b/eclipse.pde.build/org.eclipse.pde.build/templates/packager/customTargets.xml
+index eac9576..9081501 100644
+--- a/eclipse.pde.build/org.eclipse.pde.build/templates/packager/customTargets.xml
++++ b/eclipse.pde.build/org.eclipse.pde.build/templates/packager/customTargets.xml
+@@ -18,6 +18,18 @@
+ </ant>
+ </target>
+
++ <target name="assemble.freebsd.gtk.x86.xml">
++ <ant antfile="${assembleScriptName}" >
++ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.x86.zip"/>
++ </ant>
++ </target>
++
++ <target name="assemble.freebsd.gtk.x86_64.xml">
++ <ant antfile="${assembleScriptName}" >
++ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.x86_64.zip"/>
++ </ant>
++ </target>
++
+ <target name="assemble.linux.gtk.x86.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86.zip"/>
+diff --git a/eclipse.pde.build/org.eclipse.pde.build/templates/packager/packaging.properties b/eclipse.pde.build/org.eclipse.pde.build/templates/packager/packaging.properties
+index be53c51..7e89865 100644
+--- a/eclipse.pde.build/org.eclipse.pde.build/templates/packager/packaging.properties
++++ b/eclipse.pde.build/org.eclipse.pde.build/templates/packager/packaging.properties
+@@ -18,6 +18,8 @@ root.macosx.carbon.ppc.permissions.755=Eclipse.app/Contents/MacOS/eclipse
+
+ root.win32.win32.x86=eclipse.exe, eclipsec.exe
+ root.linux.motif.x86=eclipse,libcairo-swt.so,libXm.so.2,about_files/,about.html,icon.xpm
++root.freebsd.gtk.x86=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
++root.freebsd.gtk.x86_64=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
+ root.linux.gtk.x86=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
+ root.linux.gtk.x86_64=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
+ root.linux.gtk.ppc=eclipse
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java
+index 436c5b0..dd4b3fc 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java
+@@ -336,6 +336,8 @@ public class ProductExportOperation extends FeatureExportOperation {
+ images = getExpandedPath(info.getIconPath(ILauncherInfo.LINUX_ICON));
+ } else if (configs[i][0].equals("macosx")) { //$NON-NLS-1$
+ images = getExpandedPath(info.getIconPath(ILauncherInfo.MACOSX_ICON));
++ } else if (configs[i][0].equals("freebsd")) { //$NON-NLS-1$
++ images = getExpandedPath(info.getIconPath(ILauncherInfo.FREEBSD_ICON));
+ }
+ if (images != null) {
+ if (icons.length() > 0)
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java
+index c007fe1..47d93ec 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java
+@@ -13,22 +13,25 @@ package org.eclipse.pde.internal.core.iproduct;
+ public interface IArgumentsInfo extends IProductObject {
+
+ public static final String P_PROG_ARGS = "programArgs"; //$NON-NLS-1$
++ public static final String P_PROG_ARGS_FRE = "programArgsFre"; //$NON-NLS-1$
+ public static final String P_PROG_ARGS_LIN = "programArgsLin"; //$NON-NLS-1$
+ public static final String P_PROG_ARGS_MAC = "programArgsMac"; //$NON-NLS-1$
+ public static final String P_PROG_ARGS_SOL = "programArgsSol"; //$NON-NLS-1$
+ public static final String P_PROG_ARGS_WIN = "programArgsWin"; //$NON-NLS-1$
+
+ public static final String P_VM_ARGS = "vmArgs"; //$NON-NLS-1$
++ public static final String P_VM_ARGS_FRE = "vmArgsFre"; //$NON-NLS-1$
+ public static final String P_VM_ARGS_LIN = "vmArgsLin"; //$NON-NLS-1$
+ public static final String P_VM_ARGS_MAC = "vmArgsMac"; //$NON-NLS-1$
+ public static final String P_VM_ARGS_SOL = "vmArgsSol"; //$NON-NLS-1$
+ public static final String P_VM_ARGS_WIN = "vmArgsWin"; //$NON-NLS-1$
+
+ public static final int L_ARGS_ALL = 0;
+- public static final int L_ARGS_LINUX = 1;
+- public static final int L_ARGS_MACOS = 2;
+- public static final int L_ARGS_SOLAR = 3;
+- public static final int L_ARGS_WIN32 = 4;
++ public static final int L_ARGS_FRBSD = 1;
++ public static final int L_ARGS_LINUX = 2;
++ public static final int L_ARGS_MACOS = 3;
++ public static final int L_ARGS_SOLAR = 4;
++ public static final int L_ARGS_WIN32 = 5;
+
+ void setProgramArguments(String args, int platform);
+
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java
+index e88ee99..40628dc 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java
+@@ -12,6 +12,8 @@ package org.eclipse.pde.internal.core.iproduct;
+
+ public interface ILauncherInfo extends IProductObject {
+
++ public static final String FREEBSD_ICON = "freebsdIcon"; //$NON-NLS-1$
++
+ public static final String LINUX_ICON = "linuxIcon"; //$NON-NLS-1$
+
+ public static final String MACOSX_ICON = "macosxIcon"; //$NON-NLS-1$
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java
+index 66dedcb..0f82bad 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java
+@@ -20,12 +20,14 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+
+ private static final long serialVersionUID = 1L;
+ private String fProgramArgs = ""; //$NON-NLS-1$
++ private String fProgramArgsFre = ""; //$NON-NLS-1$
+ private String fProgramArgsLin = ""; //$NON-NLS-1$
+ private String fProgramArgsMac = ""; //$NON-NLS-1$
+ private String fProgramArgsSol = ""; //$NON-NLS-1$
+ private String fProgramArgsWin = ""; //$NON-NLS-1$
+
+ private String fVMArgs = ""; //$NON-NLS-1$
++ private String fVMArgsFre = ""; //$NON-NLS-1$
+ private String fVMArgsLin = ""; //$NON-NLS-1$
+ private String fVMArgsMac = ""; //$NON-NLS-1$
+ private String fVMArgsSol = ""; //$NON-NLS-1$
+@@ -46,6 +48,12 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+ if (isEditable())
+ firePropertyChanged(P_PROG_ARGS, old, fProgramArgs);
+ break;
++ case L_ARGS_FRBSD :
++ old = fProgramArgsFre;
++ fProgramArgsFre = args;
++ if (isEditable())
++ firePropertyChanged(P_PROG_ARGS_FRE, old, fProgramArgsFre);
++ break;
+ case L_ARGS_LINUX :
+ old = fProgramArgsLin;
+ fProgramArgsLin = args;
+@@ -77,6 +85,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+ switch (platform) {
+ case L_ARGS_ALL :
+ return fProgramArgs;
++ case L_ARGS_FRBSD :
++ return fProgramArgsFre;
+ case L_ARGS_LINUX :
+ return fProgramArgsLin;
+ case L_ARGS_MACOS :
+@@ -98,6 +108,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+ return getCompleteArgs(getProgramArguments(L_ARGS_MACOS), fProgramArgs);
+ } else if (Platform.OS_SOLARIS.equals(os)) {
+ return getCompleteArgs(getProgramArguments(L_ARGS_SOLAR), fProgramArgs);
++ } else if (Platform.OS_FREEBSD.equals(os)) {
++ return getCompleteArgs(getProgramArguments(L_ARGS_FRBSD), fProgramArgs);
+ } else {
+ return getProgramArguments(L_ARGS_ALL);
+ }
+@@ -114,6 +126,12 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+ if (isEditable())
+ firePropertyChanged(P_VM_ARGS, old, fVMArgs);
+ break;
++ case L_ARGS_FRBSD :
++ old = fVMArgsFre;
++ fVMArgsFre = args;
++ if (isEditable())
++ firePropertyChanged(P_VM_ARGS_FRE, old, fVMArgsFre);
++ break;
+ case L_ARGS_LINUX :
+ old = fVMArgsLin;
+ fVMArgsLin = args;
+@@ -145,6 +163,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+ switch (platform) {
+ case L_ARGS_ALL :
+ return fVMArgs;
++ case L_ARGS_FRBSD :
++ return fVMArgsFre;
+ case L_ARGS_LINUX :
+ return fVMArgsLin;
+ case L_ARGS_MACOS :
+@@ -166,6 +186,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+ return getCompleteArgs(getVMArguments(L_ARGS_MACOS), fVMArgs);
+ } else if (Platform.OS_SOLARIS.equals(os)) {
+ return getCompleteArgs(getVMArguments(L_ARGS_SOLAR), fVMArgs);
++ } else if (Platform.OS_FREEBSD.equals(os)) {
++ return getCompleteArgs(getVMArguments(L_ARGS_FRBSD), fVMArgs);
+ } else {
+ return getVMArguments(L_ARGS_ALL);
+ }
+@@ -193,6 +215,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+ fProgramArgsSol = getText(child);
+ } else if (child.getNodeName().equals(P_PROG_ARGS_WIN)) {
+ fProgramArgsWin = getText(child);
++ } else if (child.getNodeName().equals(P_PROG_ARGS_FRE)) {
++ fProgramArgsFre = getText(child);
+ } else if (child.getNodeName().equals(P_VM_ARGS)) {
+ fVMArgs = getText(child);
+ } else if (child.getNodeName().equals(P_VM_ARGS_LIN)) {
+@@ -203,6 +227,8 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+ fVMArgsSol = getText(child);
+ } else if (child.getNodeName().equals(P_VM_ARGS_WIN)) {
+ fVMArgsWin = getText(child);
++ } else if (child.getNodeName().equals(P_VM_ARGS_FRE)) {
++ fVMArgsFre = getText(child);
+ }
+ }
+ }
+@@ -234,6 +260,9 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+ if (fProgramArgsWin.length() > 0) {
+ writer.println(indent + " " + "<" + P_PROG_ARGS_WIN + ">" + getWritableString(fProgramArgsWin) + "</" + P_PROG_ARGS_WIN + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
+ }
++ if (fProgramArgsFre.length() > 0) {
++ writer.println(indent + " " + "<" + P_PROG_ARGS_FRE + ">" + getWritableString(fProgramArgsFre) + "</" + P_PROG_ARGS_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
++ }
+ if (fVMArgs.length() > 0) {
+ writer.println(indent + " " + "<" + P_VM_ARGS + ">" + getWritableString(fVMArgs) + "</" + P_VM_ARGS + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
+ }
+@@ -249,6 +278,9 @@ public class ArgumentsInfo extends ProductObject implements IArgumentsInfo {
+ if (fVMArgsWin.length() > 0) {
+ writer.println(indent + " " + "<" + P_VM_ARGS_WIN + ">" + getWritableString(fVMArgsWin) + "</" + P_VM_ARGS_WIN + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
+ }
++ if (fVMArgsFre.length() > 0) {
++ writer.println(indent + " " + "<" + P_VM_ARGS_FRE + ">" + getWritableString(fVMArgsFre) + "</" + P_VM_ARGS_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
++ }
+ writer.println(indent + "</launcherArgs>"); //$NON-NLS-1$
+ }
+
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java
+index c3c286b..ab12da0 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java
+@@ -24,11 +24,13 @@ public class ConfigurationFileInfo extends ProductObject implements IConfigurati
+ private String fUse;
+ private String fPath;
+
++ private static final String FRE = Constants.OS_FREEBSD;
+ private static final String LIN = Constants.OS_LINUX;
+ private static final String MAC = Constants.OS_MACOSX;
+ private static final String SOL = Constants.OS_SOLARIS;
+ private static final String WIN = Constants.OS_WIN32;
+
++ private String fFrePath, fFreUse;
+ private String fLinPath, fLinUse;
+ private String fMacPath, fMacUse;
+ private String fSolPath, fSolUse;
+@@ -79,6 +81,9 @@ public class ConfigurationFileInfo extends ProductObject implements IConfigurati
+ } else if (child.getNodeName().equals(WIN)) {
+ fWinPath = getText(child);
+ fWinUse = fWinPath == null ? "default" : "custom"; //$NON-NLS-1$ //$NON-NLS-2$
++ } else if (child.getNodeName().equals(FRE)) {
++ fFrePath = getText(child);
++ fFreUse = fFrePath == null ? "default" : "custom"; //$NON-NLS-1$ //$NON-NLS-2$
+ }
+ }
+ }
+@@ -101,6 +106,10 @@ public class ConfigurationFileInfo extends ProductObject implements IConfigurati
+ fWinPath = fWinPath == null ? fPath : null;
+ fWinUse = "custom"; //$NON-NLS-1$
+ }
++ if (fFreUse == null) {
++ fFrePath = fFrePath == null ? fPath : null;
++ fFreUse = "custom"; //$NON-NLS-1$
++ }
+ // null out things
+ fPath = null;
+ fUse = "default"; //$NON-NLS-1$
+@@ -159,6 +168,12 @@ public class ConfigurationFileInfo extends ProductObject implements IConfigurati
+ writer.print(getWritableString(fWinPath.trim()));
+ writer.println("</" + WIN + ">"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
++ if (fFrePath != null) {
++ writer.print(indent);
++ writer.print(" <" + FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$
++ writer.print(getWritableString(fFrePath.trim()));
++ writer.println("</" + FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$
++ }
+
+ writer.print(indent + "</configIni>"); //$NON-NLS-1$
+ writer.println();
+@@ -192,6 +207,11 @@ public class ConfigurationFileInfo extends ProductObject implements IConfigurati
+ fSolUse = use;
+ if (isEditable())
+ firePropertyChanged(SOL, old, fSolUse);
++ } else if (Platform.OS_FREEBSD.equals(os)) {
++ String old = fFreUse;
++ fFreUse = use;
++ if (isEditable())
++ firePropertyChanged(FRE, old, fFreUse);
+ }
+ }
+
+@@ -207,6 +227,8 @@ public class ConfigurationFileInfo extends ProductObject implements IConfigurati
+ return fMacUse;
+ } else if (Platform.OS_SOLARIS.equals(os)) {
+ return fSolUse;
++ } else if (Platform.OS_FREEBSD.equals(os)) {
++ return fFreUse;
+ }
+ return null;
+ }
+@@ -239,6 +261,11 @@ public class ConfigurationFileInfo extends ProductObject implements IConfigurati
+ fSolPath = path;
+ if (isEditable())
+ firePropertyChanged(SOL, old, fSolPath);
++ } else if (Platform.OS_FREEBSD.equals(os)) {
++ String old = fFrePath;
++ fFrePath = path;
++ if (isEditable())
++ firePropertyChanged(FRE, old, fFrePath);
+ }
+ }
+
+@@ -254,6 +281,8 @@ public class ConfigurationFileInfo extends ProductObject implements IConfigurati
+ return fMacPath;
+ } else if (Platform.OS_SOLARIS.equals(os)) {
+ return fSolPath;
++ } else if (Platform.OS_FREEBSD.equals(os)) {
++ return fFrePath;
+ }
+ return null;
+ }
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/JREInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/JREInfo.java
+index e0d0333..d8b9100 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/JREInfo.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/JREInfo.java
+@@ -22,17 +22,20 @@ import org.w3c.dom.NodeList;
+
+ public class JREInfo extends ProductObject implements IJREInfo {
+
++ private static final String JRE_FRE = "freebsd"; //$NON-NLS-1$
+ private static final String JRE_LIN = "linux"; //$NON-NLS-1$
+ private static final String JRE_MAC = "macos"; //$NON-NLS-1$
+ private static final String JRE_SOL = "solaris"; //$NON-NLS-1$
+ private static final String JRE_WIN = "windows"; //$NON-NLS-1$
+
+ private static final long serialVersionUID = 1L;
++ private IPath fJVMFre;
+ private IPath fJVMLin;
+ private IPath fJVMMac;
+ private IPath fJVMSol;
+ private IPath fJVMWin;
+
++ private boolean bIncludeFre;
+ private boolean bIncludeLin;
+ private boolean bIncludeMac;
+ private boolean bIncludeSol;
+@@ -54,6 +57,8 @@ public class JREInfo extends ProductObject implements IJREInfo {
+ return fJVMMac;
+ } else if (Platform.OS_SOLARIS.equals(os)) {
+ return fJVMSol;
++ } else if (Platform.OS_FREEBSD.equals(os)) {
++ return fJVMFre;
+ }
+ return null;
+ }
+@@ -82,6 +87,11 @@ public class JREInfo extends ProductObject implements IJREInfo {
+ fJVMSol = jreContainerPath;
+ if (isEditable())
+ firePropertyChanged(JRE_SOL, old, fJVMSol);
++ } else if (Platform.OS_FREEBSD.equals(os)) {
++ IPath old = fJVMFre;
++ fJVMFre = jreContainerPath;
++ if (isEditable())
++ firePropertyChanged(JRE_FRE, old, fJVMFre);
+ }
+ }
+
+@@ -118,6 +128,9 @@ public class JREInfo extends ProductObject implements IJREInfo {
+ } else if (child.getNodeName().equals(JRE_SOL)) {
+ fJVMSol = getPath(child);
+ bIncludeSol = include;
++ } else if (child.getNodeName().equals(JRE_FRE)) {
++ fJVMFre = getPath(child);
++ bIncludeFre = include;
+ } else if (child.getNodeName().equals(JRE_WIN)) {
+ fJVMWin = getPath(child);
+ bIncludeWin = include;
+@@ -166,6 +179,12 @@ public class JREInfo extends ProductObject implements IJREInfo {
+ writer.print(fJVMSol.toPortableString());
+ writer.println("</" + JRE_SOL + ">"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
++ if (fJVMFre != null) {
++ writer.print(indent);
++ writer.print(" <" + JRE_FRE + " include=\"" + String.valueOf(bIncludeFre) + "\">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
++ writer.print(fJVMFre.toPortableString());
++ writer.println("</" + JRE_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$
++ }
+ if (fJVMWin != null) {
+ writer.print(indent);
+ writer.print(" <" + JRE_WIN + " include=\"" + String.valueOf(bIncludeWin) + "\">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+@@ -184,6 +203,8 @@ public class JREInfo extends ProductObject implements IJREInfo {
+ return bIncludeMac;
+ } else if (Platform.OS_SOLARIS.equals(os)) {
+ return bIncludeSol;
++ } else if (Platform.OS_FREEBSD.equals(os)) {
++ return bIncludeFre;
+ }
+ return false;
+ }
+@@ -209,6 +230,11 @@ public class JREInfo extends ProductObject implements IJREInfo {
+ bIncludeSol = includeJRE;
+ if (isEditable())
+ firePropertyChanged(JRE_SOL, old, Boolean.valueOf(bIncludeSol));
++ } else if (Platform.OS_FREEBSD.equals(os)) {
++ Boolean old = Boolean.valueOf(bIncludeFre);
++ bIncludeFre = includeJRE;
++ if (isEditable())
++ firePropertyChanged(JRE_FRE, old, Boolean.valueOf(bIncludeFre));
+ }
+ }
+
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/LauncherInfo.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/LauncherInfo.java
+index 9387921..5e461cc 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/LauncherInfo.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/LauncherInfo.java
+@@ -71,7 +71,9 @@ public class LauncherInfo extends ProductObject implements ILauncherInfo {
+ Node child = children.item(i);
+ if (child.getNodeType() == Node.ELEMENT_NODE) {
+ String name = child.getNodeName();
+- if (name.equals("linux")) { //$NON-NLS-1$
++ if (name.equals("freebsd")) { //$NON-NLS-1$
++ parseFreeBSD((Element) child);
++ } else if (name.equals("linux")) { //$NON-NLS-1$
+ parseLinux((Element) child);
+ } else if (name.equals("macosx")) { //$NON-NLS-1$
+ parseMac((Element) child);
+@@ -122,12 +124,17 @@ public class LauncherInfo extends ProductObject implements ILauncherInfo {
+ fIcons.put(LINUX_ICON, element.getAttribute("icon")); //$NON-NLS-1$
+ }
+
++ private void parseFreeBSD(Element element) {
++ fIcons.put(FREEBSD_ICON, element.getAttribute("icon")); //$NON-NLS-1$
++ }
++
+ public void write(String indent, PrintWriter writer) {
+ writer.print(indent + "<launcher"); //$NON-NLS-1$
+ if (fLauncherName != null && fLauncherName.length() > 0)
+ writer.print(" name=\"" + fLauncherName + "\""); //$NON-NLS-1$ //$NON-NLS-2$
+ writer.println(">"); //$NON-NLS-1$
+
++ writeFreeBSD(indent + " ", writer); //$NON-NLS-1$
+ writeLinux(indent + " ", writer); //$NON-NLS-1$
+ writeMac(indent + " ", writer); //$NON-NLS-1$
+ writeSolaris(indent + " ", writer); //$NON-NLS-1$
+@@ -182,4 +189,10 @@ public class LauncherInfo extends ProductObject implements ILauncherInfo {
+ writer.println(indent + "<linux icon=\"" + getWritableString(icon) + "\"/>"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
++ private void writeFreeBSD(String indent, PrintWriter writer) {
++ String icon = fIcons.get(FREEBSD_ICON);
++ if (icon != null && icon.length() > 0)
++ writer.println(indent + "<freebsd icon=\"" + getWritableString(icon) + "\"/>"); //$NON-NLS-1$ //$NON-NLS-2$
++ }
++
+ }
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java b/eclipse.pde.ui/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java
+index 8ee34a0..d6aaf40 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java
+@@ -160,7 +160,7 @@ public class IntroTemplate extends PDETemplateSection {
+ presentationElement.setAttribute("home-page-id", "root"); //$NON-NLS-1$ //$NON-NLS-2$
+ IPluginElement implementationElement = factory.createElement(presentationElement);
+ implementationElement.setName("implementation"); //$NON-NLS-1$
+- implementationElement.setAttribute("os", "win32,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
++ implementationElement.setAttribute("os", "win32,linux,macosx,freebsd"); //$NON-NLS-1$ //$NON-NLS-2$
+ if (getTargetVersion() == 3.0)
+ implementationElement.setAttribute("style", "content/shared.css"); //$NON-NLS-1$//$NON-NLS-2$
+
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/PDEUIMessages.java b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/PDEUIMessages.java
+index 32e395e..994e51d 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/PDEUIMessages.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/PDEUIMessages.java
+@@ -1004,6 +1004,7 @@ public class PDEUIMessages extends NLS {
+ public static String LauncherSection_48High;
+ public static String LauncherSection_256High;
+ public static String LauncherSection_linuxLabel;
++ public static String LauncherSection_freebsdLabel;
+ public static String LauncherSection_large;
+ public static String LauncherSection_medium;
+ public static String LauncherSection_small;
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ArgumentsSection.java b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ArgumentsSection.java
+index 06ee395..ee92f5c 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ArgumentsSection.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ArgumentsSection.java
+@@ -34,6 +34,7 @@ public class ArgumentsSection extends PDESection {
+ private static final String[] TAB_LABELS = new String[5];
+ static {
+ TAB_LABELS[IArgumentsInfo.L_ARGS_ALL] = PDEUIMessages.ArgumentsSection_allPlatforms;
++ TAB_LABELS[IArgumentsInfo.L_ARGS_FRBSD] = "freebsd"; //$NON-NLS-1$
+ TAB_LABELS[IArgumentsInfo.L_ARGS_LINUX] = "linux"; //$NON-NLS-1$
+ TAB_LABELS[IArgumentsInfo.L_ARGS_MACOS] = "macosx"; //$NON-NLS-1$
+ TAB_LABELS[IArgumentsInfo.L_ARGS_SOLAR] = "solaris"; //$NON-NLS-1$
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java
+index e6bde32..6334e65 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java
+@@ -50,8 +50,8 @@ public class ConfigurationSection extends PDESection {
+ private FormEntry fCustomEntry;
+ private boolean fBlockChanges;
+
+- private static final String[] TAB_LABELS = {"linux", "macosx", "solaris", "win32"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+- private static final String[] TAB_OS = {Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_SOLARIS, Platform.OS_WIN32};
++ private static final String[] TAB_LABELS = {"freebsd", "linux", "macosx", "solaris", "win32"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
++ private static final String[] TAB_OS = {Platform.OS_FREEBSD, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_SOLARIS, Platform.OS_WIN32};
+
+ private CTabFolder fTabFolder;
+ private int fLastTab;
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java
+index e51b309..d44ec23 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java
+@@ -63,8 +63,8 @@ public class JRESection extends PDESection {
+ private ComboViewerPart fEEsCombo;
+ private boolean fBlockChanges;
+
+- private static final String[] TAB_LABELS = {"linux", "macosx", "solaris", "win32"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+- private static final String[] TAB_OS = {Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_SOLARIS, Platform.OS_WIN32};
++ private static final String[] TAB_LABELS = {"freebsd", "linux", "macosx", "solaris", "win32"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
++ private static final String[] TAB_OS = {Platform.OS_FREEBSD, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_SOLARIS, Platform.OS_WIN32};
+
+ private CTabFolder fTabFolder;
+ private int fLastTab;
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/LauncherSection.java b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/LauncherSection.java
+index 7be4406..92d3bcd 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/LauncherSection.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/LauncherSection.java
+@@ -60,6 +60,7 @@ public class LauncherSection extends PDESection {
+ private CTabFolder fTabFolder;
+ private Composite fNotebook;
+ private StackLayout fNotebookLayout;
++ private Composite fFreeBSDSection;
+ private Composite fLinuxSection;
+ private Composite fMacSection;
+ private Composite fSolarisSection;
+@@ -156,6 +157,7 @@ public class LauncherSection extends PDESection {
+ fNotebookLayout = new StackLayout();
+ fNotebook.setLayout(fNotebookLayout);
+
++ fFreeBSDSection = addFreeBSDSection(fNotebook, toolkit);
+ fLinuxSection = addLinuxSection(fNotebook, toolkit);
+ fMacSection = addMacSection(fNotebook, toolkit);
+ fSolarisSection = addSolarisSection(fNotebook, toolkit);
+@@ -181,6 +183,7 @@ public class LauncherSection extends PDESection {
+ }
+
+ private void createTabs() {
++ addTab("freebsd"); //$NON-NLS-1$
+ addTab("linux"); //$NON-NLS-1$
+ addTab("macosx"); //$NON-NLS-1$
+ addTab("solaris"); //$NON-NLS-1$
+@@ -188,16 +191,19 @@ public class LauncherSection extends PDESection {
+
+ String currentTarget = TargetPlatform.getOS();
+ if ("win32".equals(currentTarget)) { //$NON-NLS-1$
+- fTabFolder.setSelection(3);
++ fTabFolder.setSelection(4);
+ fNotebookLayout.topControl = fWin32Section;
+ } else if ("macosx".equals(currentTarget)) { //$NON-NLS-1$
+- fTabFolder.setSelection(1);
++ fTabFolder.setSelection(2);
+ fNotebookLayout.topControl = fMacSection;
+ } else if ("solaris".equals(currentTarget)) { //$NON-NLS-1$
+- fTabFolder.setSelection(2);
++ fTabFolder.setSelection(3);
+ fNotebookLayout.topControl = fSolarisSection;
+- } else {
++ } else if ("freebsd".equals(currentTarget)) { //$NON-NLS-1$
+ fTabFolder.setSelection(0);
++ fNotebookLayout.topControl = fFreeBSDSection;
++ } else {
++ fTabFolder.setSelection(1);
+ fNotebookLayout.topControl = fLinuxSection;
+ }
+ }
+@@ -290,6 +296,14 @@ public class LauncherSection extends PDESection {
+ }
+ }
+
++ private Composite addFreeBSDSection(Composite parent, FormToolkit toolkit) {
++ Composite comp = createComposite(parent, toolkit);
++ createLabel(comp, toolkit, PDEUIMessages.LauncherSection_freebsdLabel, 3);
++ fIcons.add(new IconEntry(comp, toolkit, PDEUIMessages.LauncherSection_icon, ILauncherInfo.FREEBSD_ICON));
++ toolkit.paintBordersFor(comp);
++ return comp;
++ }
++
+ private Composite addLinuxSection(Composite parent, FormToolkit toolkit) {
+ Composite comp = createComposite(parent, toolkit);
+ createLabel(comp, toolkit, PDEUIMessages.LauncherSection_linuxLabel, 3);
+@@ -446,7 +460,7 @@ public class LauncherSection extends PDESection {
+ }
+
+ private String getExtension(String iconId) {
+- if (iconId.equals(ILauncherInfo.LINUX_ICON))
++ if (iconId.equals(ILauncherInfo.LINUX_ICON) || iconId.equals(ILauncherInfo.FREEBSD_ICON))
+ return "xpm"; //$NON-NLS-1$
+ if (iconId.equals(ILauncherInfo.MACOSX_ICON))
+ return "icns"; //$NON-NLS-1$
+@@ -473,15 +487,18 @@ public class LauncherSection extends PDESection {
+ Control oldPage = fNotebookLayout.topControl;
+ switch (index) {
+ case 0 :
+- fNotebookLayout.topControl = fLinuxSection;
++ fNotebookLayout.topControl = fFreeBSDSection;
+ break;
+ case 1 :
+- fNotebookLayout.topControl = fMacSection;
++ fNotebookLayout.topControl = fLinuxSection;
+ break;
+ case 2 :
+- fNotebookLayout.topControl = fSolarisSection;
++ fNotebookLayout.topControl = fMacSection;
+ break;
+ case 3 :
++ fNotebookLayout.topControl = fSolarisSection;
++ break;
++ case 4 :
+ fNotebookLayout.topControl = fWin32Section;
+ break;
+ }
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/pderesources.properties b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/pderesources.properties
+index fecf4aa..de25e4f 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/pderesources.properties
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/pderesources.properties
+@@ -596,6 +596,7 @@ LauncherSection_48Low=48x48 (8-bit):
+ LauncherSection_48High=48x48 (32-bit):
+ LauncherSection_256High=256x256 (32-bit):
+ LauncherSection_linuxLabel=A single XPM icon is required:
++LauncherSection_freebsdLabel=A single XPM icon is required:
+ LauncherSection_large=Large:
+ LauncherSection_medium=Medium:
+ LauncherSection_small=Small:
+diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java
+index 3c8c426..fa46f72 100644
+--- a/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java
++++ b/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java
+@@ -128,7 +128,7 @@ public class ProductIntroOperation extends BaseManifestOperation implements IVar
+ implementation.setName("implementation"); //$NON-NLS-1$
+ implementation.setAttribute("kind", "html"); //$NON-NLS-1$ //$NON-NLS-2$
+ implementation.setAttribute("style", "content/shared.css"); //$NON-NLS-1$ //$NON-NLS-2$
+- implementation.setAttribute("os", "win32,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
++ implementation.setAttribute("os", "win32,linux,macosx,freebsd"); //$NON-NLS-1$ //$NON-NLS-2$
+
+ presentation.add(implementation);
+
+diff --git a/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml b/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml
+index 4be88a5..27e2cd3 100644
+--- a/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml
++++ b/eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml
+@@ -59,6 +59,7 @@
+ <plugin id="org.eclipse.core.filesystem.aix.ppc"/>
+ <plugin id="org.eclipse.core.filesystem.aix.ppc64"/>
+ <plugin id="org.eclipse.core.filesystem.hpux.ia64"/>
++ <plugin id="org.eclipse.core.filesystem.freebsd.%%ECLIPSE_ARCH%%"/>
+ <plugin id="org.eclipse.core.filesystem.linux.x86"/>
+ <plugin id="org.eclipse.core.filesystem.linux.x86_64"/>
+ <plugin id="org.eclipse.core.filesystem.solaris.sparc"/>
+@@ -73,9 +75,13 @@
+ <plugin id="org.eclipse.core.net.linux.x86_64"/>
+ <plugin id="org.eclipse.core.net.win32.x86"/>
+ <plugin id="org.eclipse.core.net.win32.x86_64"/>
++ <plugin id="org.eclipse.compare.win32"/>
++ <plugin id="org.eclipse.ui.win32"/>
+ <plugin id="org.eclipse.update.core.linux"/>
+ <plugin id="org.eclipse.update.core.win32"/>
+ <plugin id="org.eclipse.equinox.security.macosx"/>
++ <plugin id="org.eclipse.equinox.security.win32.x86"/>
++ <plugin id="org.eclipse.equinox.security.win32.x86_64"/>
+ </excludes>
+ </configuration>
+ </execution>
+diff --git a/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml b/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml
+index c949520..11ee54a 100644
+--- a/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml
++++ b/eclipse.platform.releng/features/org.eclipse.sdk.examples-feature/pom.xml
+@@ -36,6 +36,7 @@
+ <configuration>
+ <excludes>
+ <plugin id="org.eclipse.sdk.examples"/>
++ <plugin id="org.eclipse.swt.examples.ole.win32"/>
+ <feature id="org.eclipse.sdk.examples.source"/>
+ </excludes>
+ </configuration>
+diff --git a/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java b/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java
+index a335001..003e20a 100644
+--- a/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java
++++ b/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java
+@@ -98,7 +98,7 @@ public class LocalFileSystem extends FileSystem {
+ String arch = System.getProperty("osgi.arch", ""); //$NON-NLS-1$ //$NON-NLS-2$
+ if (os.equals(Constants.OS_WIN32))
+ attributes |= EFS.ATTRIBUTE_ARCHIVE | EFS.ATTRIBUTE_HIDDEN;
+- else if (os.equals(Constants.OS_LINUX) || (os.equals(Constants.OS_SOLARIS) && arch.equals(Constants.ARCH_SPARC)))
++ else if (os.equals(Constants.OS_FREEBSD) || os.equals(Constants.OS_LINUX) || (os.equals(Constants.OS_SOLARIS) && arch.equals(Constants.ARCH_SPARC)))
+ attributes |= EFS.ATTRIBUTE_EXECUTABLE | EFS.ATTRIBUTE_SYMLINK | EFS.ATTRIBUTE_LINK_TARGET;
+ else if (os.equals(Constants.OS_MACOSX) || os.equals(Constants.OS_HPUX) || os.equals(Constants.OS_QNX))
+ attributes |= EFS.ATTRIBUTE_EXECUTABLE;
+diff --git a/eclipse.platform.resources/pom.xml b/eclipse.platform.resources/pom.xml
+index 4b33285..6b6fcc7 100644
+--- a/eclipse.platform.resources/pom.xml
++++ b/eclipse.platform.resources/pom.xml
+@@ -43,6 +43,7 @@
+
+ <modules>
+ <module>bundles/org.eclipse.core.filesystem</module>
++ <module>bundles/org.eclipse.core.filesystem.freebsd.%%ECLIPSE_ARCH%%</module>
+ <module>bundles/org.eclipse.core.filesystem.hpux.ia64</module>
+ <module>bundles/org.eclipse.core.filesystem.hpux.PA_RISC</module>
+ <module>bundles/org.eclipse.core.filesystem.linux.ppc</module>
+diff --git a/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/SymlinkTest.java b/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/SymlinkTest.java
+index 7c8ad8c..b15bbf6 100644
+--- a/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/SymlinkTest.java
++++ b/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/SymlinkTest.java
+@@ -49,8 +49,8 @@ public class SymlinkTest extends FileSystemTest {
+ public static boolean isTestablePlatform() {
+ // A Platform is testable if it supports the "ln -s" command.
+ String os = Platform.getOS();
+- //currently we only support linux, solaris and mac os
+- if (os.equals(Platform.OS_LINUX) || os.equals(Platform.OS_SOLARIS) || os.equals(Platform.OS_MACOSX) || os.equals(Platform.OS_AIX)
++ //currently we only support freebsd, linux, solaris and mac os
++ if (os.equals(Platform.OS_FREEBSD) || os.equals(Platform.OS_LINUX) || os.equals(Platform.OS_SOLARIS) || os.equals(Platform.OS_MACOSX) || os.equals(Platform.OS_AIX)
+ // ||os.equals(Platform.OS_HPUX)
+ // || isWindowsVistaOrHigher()
+ ) {
+@@ -339,7 +339,7 @@ public class SymlinkTest extends FileSystemTest {
+ public void testSymlinkEnabled() {
+ String os = Platform.getOS();
+ String arch = Platform.getOSArch();
+- if (Platform.OS_LINUX.equals(os) || (Platform.OS_SOLARIS.equals(os) && Platform.ARCH_SPARC.equals(arch)) || Platform.OS_MACOSX.equals(os) || Platform.OS_AIX.equals(os) || isWindowsVistaOrHigher()) {
++ if (Platform.OS_FREEBSD.equals(os) || Platform.OS_LINUX.equals(os) || (Platform.OS_SOLARIS.equals(os) && Platform.ARCH_SPARC.equals(arch)) || Platform.OS_MACOSX.equals(os) || Platform.OS_AIX.equals(os) || isWindowsVistaOrHigher()) {
+ assertTrue(haveSymlinks());
+ } else {
+ assertFalse(haveSymlinks());
+diff --git a/eclipse.platform.runtime/bundles/org.eclipse.core.runtime.compatibility/src-boot/org/eclipse/core/boot/BootLoader.java b/eclipse.platform.runtime/bundles/org.eclipse.core.runtime.compatibility/src-boot/org/eclipse/core/boot/BootLoader.java
+index 652119f..30482b0 100644
+--- a/eclipse.platform.runtime/bundles/org.eclipse.core.runtime.compatibility/src-boot/org/eclipse/core/boot/BootLoader.java
++++ b/eclipse.platform.runtime/bundles/org.eclipse.core.runtime.compatibility/src-boot/org/eclipse/core/boot/BootLoader.java
+@@ -94,6 +94,16 @@ public final class BootLoader {
+ public static final String OS_HPUX = "hpux";//$NON-NLS-1$
+
+ /**
++ * Constant string (value "freebsd") indicating the platform is running on an
++ * FreeBSD-based operating system.
++ * Note: This constant is not officially supported by the eclipse project
++ * and is only available on eclipse versions built from the FreeBSD ports
++ * tree.
++ * @deprecated Replaced by {@link Platform#OS_FREEBSD.
++ */
++ public static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$
++
++ /**
+ * Constant string (value "qnx") indicating the platform is running on a
+ * QNX-based operating system.
+ * @deprecated Replaced by {@link Platform#OS_QNX}.
+diff --git a/eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java b/eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
+index 8ace8e8..21ba40f 100644
+--- a/eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
++++ b/eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
+@@ -62,7 +62,7 @@ public final class InternalPlatform {
+ //XXX This is not synchronized
+ private static Map logs = new HashMap(5);
+
+- private static final String[] OS_LIST = {Platform.OS_AIX, Platform.OS_HPUX, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_QNX, Platform.OS_SOLARIS, Platform.OS_WIN32};
++ private static final String[] OS_LIST = {Platform.OS_AIX, Platform.OS_FREEBSD, Platform.OS_HPUX, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_QNX, Platform.OS_SOLARIS, Platform.OS_WIN32};
+ private static String password = ""; //$NON-NLS-1$
+ private static final String PASSWORD = "-password"; //$NON-NLS-1$
+
+diff --git a/eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java b/eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java
+index 18b64e4..344be72 100644
+--- a/eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java
++++ b/eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java
+@@ -261,6 +261,17 @@ public final class Platform {
+ public static final String OS_MACOSX = "macosx";//$NON-NLS-1$
+
+ /**
++ * Constant string (value "freebsd") indicating the platform is running on a
++ * FreeBSD operating system.
++ * <p>
++ * Note this constant is not officially supported by the eclipse project
++ * and is only available on eclipse versions built from the FreeBSD ports
++ * tree.
++ * </p>
++ */
++ public static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$
++
++ /**
+ * Constant string (value "unknown") indicating the platform is running on a
+ * machine running an unknown operating system.
+ * <p>
+diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.cpp b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.cpp
+index 7c713c7..f166708 100644
+--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.cpp
++++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.cpp
+@@ -180,7 +180,7 @@ JNIEXPORT jint JNICALL XPCOM_NATIVE(_1NS_1NewLocalFile)
+ jint rc = 0;
+ XPCOM_NATIVE_ENTER(env, that, _1NS_1NewLocalFile_FUNC);
+ if (arg2) if ((lparg2 = env->GetIntLongArrayElements(arg2, NULL)) == NULL) goto fail;
+- rc = (jint)NS_NewLocalFile(*(nsAString *)arg0, arg1, (nsILocalFile**)lparg2);
++ rc = (jint)NS_NewLocalFile(*(nsAString *)arg0, arg1, (nsIFile**)lparg2);
+ fail:
+ if (arg2 && lparg2) env->ReleaseIntLongArrayElements(arg2, lparg2, 0);
+ XPCOM_NATIVE_EXIT(env, that, _1NS_1NewLocalFile_FUNC);
+diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.h b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.h
+index afc18ec..3b6da84 100644
+--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.h
++++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/library/xpcom.h
+@@ -32,6 +32,8 @@
+
+ #define XPCOM_LOAD_FUNCTION LOAD_FUNCTION
+
++#define nsStaticModuleInfo void
++
+ #ifdef _WIN32
+ #if !(defined(__i386__) || defined(_M_IX86) || defined(_X86_))
+ #define nsStaticModuleInfo void /* define on 64-bit win32 due to use of XULRunner 10 SDK */
+diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
+index 689616e..86afdfe 100644
+--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
++++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
+@@ -12,12 +12,12 @@
+ # Tom Tromey (Red Hat, Inc.)
+ #*******************************************************************************
+
++COMPONENTS_DIR=`pwd`/../../components
+ cd `dirname $0`
+
+ MAKE_TYPE=make
+
+ # Check if we have to compile external.xpt from external.idl
+-COMPONENTS_DIR=`pwd`/../../components
+ if test ! -f ${COMPONENTS_DIR}/external.xpt; then
+ if test ! -f ${COMPONENTS_DIR}/external.idl; then
+ echo "Can't find ${COMPONENTS_DIR}/external.idl"
+@@ -64,6 +64,8 @@ case $OS in
+ "FreeBSD")
+ SWT_OS=freebsd
+ MAKEFILE=make_freebsd.mak
++ MAKE_TYPE=gmake
++ MODEL=`uname -m`
+ ;;
+ *)
+ SWT_OS=`uname -s | tr -s '[:upper:]' '[:lower:]'`
+@@ -407,6 +409,34 @@ case $SWT_OS.$SWT_ARCH in
+ export PKG_CONFIG_PATH="/opt/gtk_64bit/lib/hpux64/pkgconfig"
+ fi
+ ;;
++ "freebsd.x86"|"freebsd.x86_64")
++# PATH="/export/home/SUNWspro/bin:/usr/ccs/bin:/usr/bin:$PATH"
++ if [ "${CC}" = "" ]; then
++ CC="cc"
++ fi
++ if [ "${CXX}" = "" ]; then
++ CXX="c++"
++ fi
++ if [ "${CDE_HOME}" = "" ]; then
++ CDE_HOME="/usr/dt"
++ fi
++ if [ "${JAVA_HOME}" = "" ]; then
++ JAVA_HOME="/usr/local/openjdk7"
++ fi
++ if [ "${PKG_CONFIG_PATH}" = "" ]; then
++ PKG_CONFIG_PATH="/usr/local/libdata/pkgconfig/"
++ fi
++# if [ "${MOZILLA_SDK}" = "" ]; then
++# MOZILLA_SDK="/bluebird/teamswt/swt-builddir/geckoSDK/1.4/gecko-sdk"
++# fi
++# if [ "${MOZILLA_INCLUDES}" = "" ]; then
++# MOZILLA_INCLUDES="-I${MOZILLA_SDK} -I${MOZILLA_SDK}/xpcom/include -I${MOZILLA_SDK}/nspr/include -I${MOZILLA_SDK}/embed_base/include -I${MOZILLA_SDK}/embedstring/include -I${MOZILLA_SDK}/string/include"
++# fi
++# if [ "${MOZILLA_LIBS}" = "" ]; then
++# MOZILLA_LIBS="${MOZILLA_SDK}/embedstring/bin/libembedstring.a -L${MOZILLA_SDK}/xpcom/bin -L${MOZILLA_SDK}/nspr/bin -lxpcom -lnspr4 -lplds4 -lplc4"
++# fi
++ export PATH CC CXX CDE_HOME JAVA_HOME PKG_CONFIG_PATH MOZILLA_SDK MOZILLA_INCLUDES MOZILLA_LIBS;
++ ;;
+ esac
+
+
+@@ -478,24 +508,35 @@ if [ -z "${MOZILLA_INCLUDES}" -a -z "${MOZILLA_LIBS}" -a ${MODEL} != 'sparc64' ]
+ export MOZILLA_INCLUDES
+ export MOZILLA_LIBS
+ MAKE_MOZILLA=make_mozilla
++ echo "Mozilla/XPCOM found, compiling Mozilla embedded browser support"
+ elif [ x`pkg-config --exists firefox-xpcom && echo YES` = "xYES" ]; then
+ MOZILLA_INCLUDES=`pkg-config --cflags firefox-xpcom`
+ MOZILLA_LIBS=`pkg-config --libs firefox-xpcom`
+ export MOZILLA_INCLUDES
+ export MOZILLA_LIBS
+ MAKE_MOZILLA=make_mozilla
+- elif [ x`pkg-config --exists libxul && echo YES` = "xYES" ]; then
+- XULRUNNER_INCLUDES=`pkg-config --cflags libxul`
+- XULRUNNER_LIBS=`pkg-config --libs libxul`
++ echo "Firefox/XPCOM found, compiling Mozilla embedded browser support"
++ elif [ x`pkg-config --exists libxul libxul-embedding && echo YES` = "xNO" ]; then # don't bother, it doesn't work
++ XULRUNNER_INCLUDES="-include /usr/local/include/libxul/mozilla-config.h `pkg-config --cflags libxul libxul-embedding`"
++ XULRUNNER_LIBS=`pkg-config --libs libxul-embedding`
+ export XULRUNNER_INCLUDES
+ export XULRUNNER_LIBS
+ MAKE_MOZILLA=make_xulrunner
++ echo "XULRunner/XPCOM found, compiling Mozilla embedded browser support"
+ else
+ echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM"
+ echo " *** Mozilla embedding support will not be compiled."
+ fi
+ fi
+
++if [ x`pkg-config --exists webkit-1.0 && echo YES` = "xYES" ]; then
++ echo "WebKit found, compiling webkit embedded browser support."
++ MAKE_WEBKIT=make_webkit
++else
++ echo "WebKit not found:"
++ echo " *** WebKit embedding support will not be compiled."
++fi
++
+ # Find AWT if available
+ if [ -z "${AWT_LIB_PATH}" ]; then
+ if [ -f ${JAVA_HOME}/jre/lib/${AWT_ARCH}/libjawt.* ]; then
+@@ -524,5 +565,5 @@ fi
+ if [ "x${1}" = "xclean" ]; then
+ ${MAKE_TYPE} -f $MAKEFILE clean
+ else
+- ${MAKE_TYPE} -f $MAKEFILE all $MAKE_GNOME $MAKE_CAIRO $MAKE_AWT $MAKE_MOZILLA ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9}
++ ${MAKE_TYPE} -f $MAKEFILE all $MAKE_GNOME $MAKE_CAIRO $MAKE_AWT $MAKE_MOZILLA $MAKE_WEBKIT ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9}
+ fi
+diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak
+index 0bf9416..e955aa9 100644
+--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak
++++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak
+@@ -9,7 +9,7 @@
+ # IBM Corporation - initial API and implementation
+ #*******************************************************************************
+
+-# Makefile for creating SWT libraries for Linux GTK
++# Makefile for creating SWT libraries for FreeBSD GTK
+
+ include make_common.mak
+
+@@ -27,6 +27,7 @@ GNOME_PREFIX = swt-gnome
+ MOZILLA_PREFIX = swt-mozilla$(GCC_VERSION)
+ XULRUNNER_PREFIX = swt-xulrunner
+ XPCOMINIT_PREFIX = swt-xpcominit
++WEBKIT_PREFIX = swt-webkit
+ GLX_PREFIX = swt-glx
+
+ SWT_LIB = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
+@@ -39,6 +40,7 @@ GNOME_LIB = lib$(GNOME_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
+ MOZILLA_LIB = lib$(MOZILLA_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
+ XULRUNNER_LIB = lib$(XULRUNNER_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
+ XPCOMINIT_LIB = lib$(XPCOMINIT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
++WEBKIT_LIB = lib$(WEBKIT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
+ GLX_LIB = lib$(GLX_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so
+
+ CAIROCFLAGS = `pkg-config --cflags cairo`
+@@ -46,7 +48,7 @@ CAIROLIBS = `pkg-config --libs-only-L cairo` -lcairo
+
+ # Do not use pkg-config to get libs because it includes unnecessary dependencies (i.e. pangoxft-1.0)
+ GTKCFLAGS = `pkg-config --cflags gtk+-2.0`
+-GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L/usr/X11R6/lib $(XLIB64) -lXtst
++GTKLIBS = `pkg-config --libs-only-L gtk+-2.0 gthread-2.0` -lgtk-x11-2.0 -lgthread-2.0 -L/usr/local/lib $(XLIB64) -lXtst
+
+ CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc
+
+@@ -59,7 +61,8 @@ ATKLIBS = `pkg-config --libs-only-L atk gtk+-2.0` -latk-1.0 -lgtk-x11-2.0
+ GNOMECFLAGS = `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0`
+ GNOMELIBS = `pkg-config --libs-only-L gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -lgnomevfs-2 -lgnome-2 -lgnomeui-2
+
+-GLXLIBS = -L/usr/X11R6/lib -lGL -lGLU -lm
++GLXCFLAGS = -I/usr/local/include
++GLXLIBS = -L/usr/local/lib -lGL -lGLU -lm
+
+ # Uncomment for Native Stats tool
+ #NATIVE_STATS = -DNATIVE_STATS
+@@ -76,9 +79,22 @@ MOZILLACFLAGS = -O \
+ -I. \
+ -I$(JAVA_HOME)/include \
+ -I$(JAVA_HOME)/include/freebsd \
++ -std=c++11 \
+ ${SWT_PTR_CFLAGS}
+ MOZILLALFLAGS = -shared -Wl,--version-script=mozilla_exports -Bsymbolic
++XULRUNNER_EXCLUDES =-DNO__1XPCOMGlueShutdown
++
++WEBKITCFLAGS = `pkg-config --cflags glib-2.0`
++
++SWT_OBJECTS = swt.o c.o c_stats.o callback.o
++CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o
++AWT_OBJECTS = swt_awt.o
++SWTPI_OBJECTS = swt.o os.o os_structs.o os_custom.o os_stats.o
++CAIRO_OBJECTS = swt.o cairo.o cairo_structs.o cairo_stats.o
++ATK_OBJECTS = swt.o atk.o atk_structs.o atk_custom.o atk_stats.o
+
++WEBKITCFLAGS = `pkg-config --cflags glib-2.0`
++
+ SWT_OBJECTS = swt.o c.o c_stats.o callback.o
+ CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o
+ AWT_OBJECTS = swt_awt.o
+@@ -87,8 +103,9 @@ CAIRO_OBJECTS = swt.o cairo.o cairo_structs.o cairo_stats.o
+ ATK_OBJECTS = swt.o atk.o atk_structs.o atk_custom.o atk_stats.o
+ GNOME_OBJECTS = swt.o gnome.o gnome_structs.o gnome_stats.o
+ MOZILLA_OBJECTS = swt.o xpcom.o xpcom_custom.o xpcom_structs.o xpcom_stats.o
+-XULRUNNER_OBJECTS = swt.o xpcomxul.o xpcomxul_custom.o xpcomxul_structs.o xpcomxul_stats.o xpcomxulglue.o xpcomxulglue_stats.o
++XULRUNNER_OBJECTS = swt.o xpcomxul.o xpcomxul_custom.o xpcomxul_structs.o xpcomxul_stats.o
+ XPCOMINIT_OBJECTS = swt.o xpcominit.o xpcominit_structs.o xpcominit_stats.o
++WEBKIT_OBJECTS = swt.o webkit.o webkit_structs.o webkit_stats.o
+ GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o
+
+ CFLAGS = -O -Wall \
+@@ -101,13 +118,16 @@ CFLAGS = -O -Wall \
+ ${SWT_PTR_CFLAGS}
+ LFLAGS = -shared -fPIC
+
++CFLAGS := $(CFLAGS) -I/usr/local/include
++LDFLAGS := $(LDFLAGS) -L/usr/local/lib
++
+ ifndef NO_STRIP
+ AWT_LFLAGS := $(AWT_LFLAGS) -s
+ MOZILLALFLAGS := $(MOZILLALFLAGS) -s
+ LFLAGS := $(LFLAGS) -s
+ endif
+
+-all: make_swt make_atk make_gnome make_glx
++all: make_swt make_atk make_glx
+
+ #
+ # SWT libs
+@@ -164,7 +184,7 @@ $(CDE_LIB): $(CDE_OBJECTS)
+ make_awt:$(AWT_LIB)
+
+ $(AWT_LIB): $(AWT_OBJECTS)
+- $(CC) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS)
+
+ #
+ # Atk lib
+@@ -203,22 +223,22 @@ gnome_stats.o: gnome_stats.c gnome_stats.h
+ #
+ # Mozilla lib
+ #
+-make_mozilla:$(MOZILLA_LIB)
++##make_mozilla:$(MOZILLA_LIB)
+
+-$(MOZILLA_LIB): $(MOZILLA_OBJECTS)
+- $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS}
++##$(MOZILLA_LIB): $(MOZILLA_OBJECTS)
++## $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS}
+
+-xpcom.o: xpcom.cpp
+- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom.cpp
++##xpcom.o: xpcom.cpp
++## $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom.cpp
+
+-xpcom_structs.o: xpcom_structs.cpp
+- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_structs.cpp
++##xpcom_structs.o: xpcom_structs.cpp
++## $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_structs.cpp
+
+-xpcom_custom.o: xpcom_custom.cpp
+- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_custom.cpp
++##xpcom_custom.o: xpcom_custom.cpp
++## $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_custom.cpp
+
+-xpcom_stats.o: xpcom_stats.cpp
+- $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_stats.cpp
++##xpcom_stats.o: xpcom_stats.cpp
++## $(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom_stats.cpp
+
+ #
+ # XULRunner lib
+@@ -229,22 +249,22 @@ $(XULRUNNER_LIB): $(XULRUNNER_OBJECTS)
+ $(CXX) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
+
+ xpcomxul.o: xpcom.cpp
+- $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom.cpp
++ $(CXX) -o xpcomxul.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcom.cpp
+
+ xpcomxul_structs.o: xpcom_structs.cpp
+- $(CXX) -o xpcomxul_structs.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_structs.cpp
++ $(CXX) -o xpcomxul_structs.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcom_structs.cpp
+
+ xpcomxul_custom.o: xpcom_custom.cpp
+- $(CXX) -o xpcomxul_custom.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_custom.cpp
++ $(CXX) -o xpcomxul_custom.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcom_custom.cpp
+
+ xpcomxul_stats.o: xpcom_stats.cpp
+- $(CXX) -o xpcomxul_stats.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom_stats.cpp
++ $(CXX) -o xpcomxul_stats.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcom_stats.cpp
+
+ xpcomxulglue.o: xpcomglue.cpp
+- $(CXX) -o xpcomxulglue.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcomglue.cpp
++ $(CXX) -o xpcomxulglue.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcomglue.cpp
+
+ xpcomxulglue_stats.o: xpcomglue_stats.cpp
+- $(CXX) -o xpcomxulglue_stats.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcomglue_stats.cpp
++ $(CXX) -o xpcomxulglue_stats.o $(MOZILLACFLAGS) ${XULRUNNER_EXCLUDES} ${XULRUNNER_INCLUDES} -c xpcomglue_stats.cpp
+
+ #
+ # XPCOMInit lib
+@@ -264,6 +284,23 @@ xpcominit_stats.o: xpcominit_stats.cpp
+ $(CXX) $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcominit_stats.cpp
+
+ #
++# WebKit lib
++#
++make_webkit: $(WEBKIT_LIB)
++
++$(WEBKIT_LIB): $(WEBKIT_OBJECTS)
++ $(CC) $(LFLAGS) -o $(WEBKIT_LIB) $(WEBKIT_OBJECTS)
++
++webkit.o: webkitgtk.c
++ $(CC) $(CFLAGS) $(WEBKITCFLAGS) -c webkitgtk.c -o webkit.o
++
++webkit_structs.o: webkitgtk_structs.c
++ $(CC) $(CFLAGS) $(WEBKITCFLAGS) -c webkitgtk_structs.c -o webkit_structs.o
++
++webkit_stats.o: webkitgtk_stats.c webkitgtk_stats.h
++ $(CC) $(CFLAGS) $(WEBKITCFLAGS) -c webkitgtk_stats.c -o webkit_stats.o
++
++#
+ # GLX lib
+ #
+ make_glx: $(GLX_LIB)
+diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
+index 8392189..f02a5ef 100644
+--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
++++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
+@@ -4162,11 +4162,17 @@ JNIEXPORT void JNICALL OS_NATIVE(_1g_1thread_1init)
+ JNIEXPORT jboolean JNICALL OS_NATIVE(_1g_1thread_1supported)
+ (JNIEnv *env, jclass that)
+ {
++ return 1;
++ /*
++ g_thread_supported is non-existent in glib-2.36+,
++ but is still referenced.
++
+ jboolean rc = 0;
+ OS_NATIVE_ENTER(env, that, _1g_1thread_1supported_FUNC);
+ rc = (jboolean)g_thread_supported();
+ OS_NATIVE_EXIT(env, that, _1g_1thread_1supported_FUNC);
+ return rc;
++ */
+ }
+ #endif
+
+diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+index 7e282a9..59f36c5 100644
+--- a/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
++++ b/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+@@ -33,18 +33,19 @@ public class OS extends C {
+ }
+
+ /** OS Constants */
+- public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX, BIG_ENDIAN;
++ public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX, IsFreeBSD, BIG_ENDIAN;
+ static {
+
+ /* Initialize the OS flags and locale constants */
+ String osName = System.getProperty ("os.name");
+- boolean isAIX = false, isSunOS = false, isLinux = false, isHPUX = false;
++ boolean isAIX = false, isSunOS = false, isLinux = false, isHPUX = false, isFreeBSD = false;
+ if (osName.equals ("Linux")) isLinux = true;
+ if (osName.equals ("AIX")) isAIX = true;
+ if (osName.equals ("Solaris")) isSunOS = true;
+ if (osName.equals ("SunOS")) isSunOS = true;
+ if (osName.equals ("HP-UX")) isHPUX = true;
+- IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX;
++ if (osName.equals ("FreeBSD")) isFreeBSD = true;
++ IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX; IsFreeBSD = isFreeBSD;
+
+ byte[] buffer = new byte[4];
+ long /*int*/ ptr = OS.malloc(4);
+diff --git a/eclipse.platform.swt.binaries/pom.xml b/eclipse.platform.swt.binaries/pom.xml
+index 7dd0536..fc0d72c 100644
+--- a/eclipse.platform.swt.binaries/pom.xml
++++ b/eclipse.platform.swt.binaries/pom.xml
+@@ -55,6 +55,7 @@
+ <module>bundles/org.eclipse.swt.gtk.linux.s390x</module>
+ <module>bundles/org.eclipse.swt.gtk.linux.x86</module>
+ <module>bundles/org.eclipse.swt.gtk.linux.x86_64</module>
++ <module>bundles/org.eclipse.swt.gtk.freebsd.%%ECLIPSE_ARCH%%</module>
+ <module>bundles/org.eclipse.swt.gtk.solaris.sparc</module>
+ <module>bundles/org.eclipse.swt.gtk.solaris.x86</module>
+ <module>bundles/org.eclipse.swt.win32.win32.x86</module>
+diff --git a/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c b/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c
+index 2417b4e..c665afe 100644
+--- a/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c
++++ b/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/gnomeproxy.c
+@@ -17,7 +17,7 @@
+ #include <gconf/gconf-value.h>
+ #include <gconf/gconf-client.h>
+
+-#ifdef __linux__
++#ifdef __STDC__
+ #include <string.h>
+ #else
+ #include <strings.h>
+diff --git a/eclipse.platform.team/pom.xml b/eclipse.platform.team/pom.xml
+index 8637ed3..7623ba6 100644
+--- a/eclipse.platform.team/pom.xml
++++ b/eclipse.platform.team/pom.xml
+@@ -63,6 +63,7 @@
+ <module>features/org.eclipse.cvs-feature</module>
+
+ <!-- creatively located fragments -->
++ <module>bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd.%%ECLIPSE_ARCH%%</module>
+ <module>bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86</module>
+ <module>bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86_64</module>
+ <module>bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.win32.x86</module>
+diff --git a/eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java b/eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java
+index 7482d60..c3150b7 100644
+--- a/eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java
++++ b/eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java
+@@ -39,6 +39,9 @@ public class HelpBasePreferenceInitializer extends
+ } else if (os.indexOf("linux") != -1) { //$NON-NLS-1$
+ prefs.put("custom_browser_path", //$NON-NLS-1$
+ "konqueror %1"); //$NON-NLS-1$
++ } else if (os.indexOf("freebsd") != -1) { //$NON-NLS-1$
++ prefs.put("custom_browser_path", //$NON-NLS-1$
++ "firefox %1"); //$NON-NLS-1$
+ } else {
+ prefs.put("custom_browser_path", "mozilla %1"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+diff --git a/eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java b/eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java
+index 3fc1fd7..47ab00d 100644
+--- a/eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java
++++ b/eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java
+@@ -99,6 +99,7 @@ public class BrowserManager {
+ if (Constants.WS_WIN32.equalsIgnoreCase(os)) {
+ setDefaultBrowserID(BROWSER_ID_SYSTEM);
+ } else if (Constants.OS_AIX.equalsIgnoreCase(os)
++ || (Constants.OS_FREEBSD.equalsIgnoreCase(os))
+ || (Constants.OS_HPUX.equalsIgnoreCase(os))
+ || (Constants.OS_LINUX.equalsIgnoreCase(os))
+ || (Constants.OS_SOLARIS.equalsIgnoreCase(os))) {
+diff --git a/eclipse.platform.ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java b/eclipse.platform.ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java
+index dec7f54..859167c 100644
+--- a/eclipse.platform.ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java
++++ b/eclipse.platform.ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java
+@@ -64,7 +64,8 @@ public class EmbeddedBrowserFactory implements IBrowserFactory {
+ */
+ private boolean test() {
+ if (!Constants.OS_WIN32.equalsIgnoreCase(Platform.getOS())
+- && !Constants.OS_LINUX.equalsIgnoreCase(Platform.getOS())) {
++ && !Constants.OS_LINUX.equalsIgnoreCase(Platform.getOS())
++ && !Constants.OS_FREEBSD.equalsIgnoreCase(Platform.getOS())) {
+ return false;
+ }
+ if (!tested) {
+diff --git a/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml b/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
+index 242e712..a6ade82 100644
+--- a/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
++++ b/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
+@@ -459,6 +469,16 @@
+ fragment="true"/>
+
+ <plugin
++ id="org.eclipse.equinox.launcher.gtk.freebsd.%%ECLIPSE_ARCH%%"
++ os="freebsd"
++ ws="gtk"
++ arch="%%ECLIPSE_ARCH%%"
++ download-size="0"
++ install-size="0"
++ version="0.0.0"
++ fragment="true"/>
++
++ <plugin
+ id="org.eclipse.equinox.launcher.gtk.linux.x86_64"
+ os="linux"
+ ws="gtk"
+@@ -625,6 +656,17 @@
+ unpack="false"/>
+
+ <plugin
++ id="org.eclipse.swt.gtk.freebsd.%%ECLIPSE_ARCH%%"
++ os="freebsd"
++ ws="gtk"
++ arch="%%ECLIPSE_ARCH%%"
++ download-size="0"
++ install-size="0"
++ version="0.0.0"
++ fragment="true"
++ unpack="false"/>
++
++ <plugin
+ id="org.eclipse.swt.gtk.linux.x86_64"
+ os="linux"
+ ws="gtk"
+diff --git a/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml b/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml
+index 63b62c4..6523ad9 100644
+--- a/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml
++++ b/eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml
+@@ -45,6 +45,7 @@
+ <plugin id="org.eclipse.equinox.launcher.cocoa.macosx"/>
+ <plugin id="org.eclipse.equinox.launcher.cocoa.macosx"/>
+ <plugin id="org.eclipse.equinox.launcher.cocoa.macosx.x86_64"/>
++ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.%%ECLIPSE_ARCH%%"/>
+ <plugin id="org.eclipse.equinox.launcher.gtk.linux.ppc"/>
+ <plugin id="org.eclipse.equinox.launcher.gtk.linux.ppc64"/>
+ <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86"/>
+@@ -57,6 +59,8 @@
+ <plugin id="org.eclipse.equinox.launcher.win32.win32.x86"/>
+ <plugin id="org.eclipse.equinox.launcher.win32.win32.x86_64"/>
+ <plugin id="org.eclipse.swt"/>
++ <plugin id="org.eclipse.swt.gtk.linux.x86"/>
++ <plugin id="org.eclipse.swt.gtk.linux.x86_64"/>
+ <plugin id="org.eclipse.swt.gtk.linux.s390x"/>
+ <plugin id="org.eclipse.swt.gtk.linux.s390"/>
+ <plugin id="org.eclipse.swt.gtk.solaris.sparc"/>
+@@ -64,10 +68,13 @@
+ <plugin id="org.eclipse.swt.gtk.linux.ppc"/>
+ <plugin id="org.eclipse.swt.gtk.linux.ppc64"/>
+ <plugin id="org.eclipse.swt.cocoa.macosx"/>
+- <plugin id="org.eclipse.swt.cocoa.macosx"/>
++ <plugin id="org.eclipse.swt.cocoa.macosx.x86_64"/>
+ <plugin id="org.eclipse.swt.gtk.aix.ppc"/>
+ <plugin id="org.eclipse.swt.gtk.aix.ppc64"/>
+ <plugin id="org.eclipse.swt.gtk.hpux.ia64"/>
++ <plugin id="org.eclipse.swt.win32.win32.x86"/>
++ <plugin id="org.eclipse.swt.win32.win32.x86_64"/>
++ <plugin id="org.eclipse.e4.ui.workbench.renderers.swt.cocoa"/>
+ <plugin id="org.w3c.css.sac"/>
+ <plugin id="org.w3c.dom.smil"/>
+ <plugin id="org.w3c.dom.svg"/>
+diff --git a/rt.equinox.bundles/features/org.eclipse.equinox.starterkit.product.feature/pom.xml b/rt.equinox.bundles/features/org.eclipse.equinox.starterkit.product.feature/pom.xml
+index 661fd6c..2363b60 100644
+--- a/rt.equinox.bundles/features/org.eclipse.equinox.starterkit.product.feature/pom.xml
++++ b/rt.equinox.bundles/features/org.eclipse.equinox.starterkit.product.feature/pom.xml
+@@ -31,6 +31,12 @@
+ <resolver>p2</resolver>
+ <environments>
+ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>%%ECLIPSE_ARCH%%</arch>
++ </environment>
++<!--
++ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+@@ -55,6 +66,7 @@
+ <ws>cocoa</ws>
+ <arch>x86_64</arch>
+ </environment>
++-->
+ </environments>
+ </configuration>
+ </plugin>
+diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml
+index 659d332..e06e120 100644
+--- a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml
++++ b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml
+@@ -21,4 +21,411 @@
+ <artifactId>org.eclipse.equinox.launcher</artifactId>
+ <version>1.3.0-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
++
++ <profiles>
++ <profile>
++ <id>build-native-launchers-gtk.freebsd.%%ECLIPSE_ARCH%%</id>
++ <activation>
++ <property>
++ <name>native</name>
++ <value>gtk.freebsd.%%ECLIPSE_ARCH%%</value>
++ </property>
++ </activation>
++ <build>
++ <plugins>
++ <plugin>
++ <artifactId>maven-antrun-plugin</artifactId>
++ <version> 1.7 </version>
++ <executions>
++ <execution>
++ <id>compile-executable-natives</id>
++ <phase>generate-resources</phase>
++ <configuration>
++ <target>
++ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/gtk/" target="build_eclipse"/>
++ </target>
++ </configuration>
++ <goals>
++ <goal>run</goal>
++ </goals>
++ </execution>
++ </executions>
++ <dependencies>
++ <dependency>
++ <groupId>bsf</groupId>
++ <artifactId>bsf</artifactId>
++ <version>2.4.0</version>
++ </dependency>
++ <dependency>
++ <groupId>rhino</groupId>
++ <artifactId>js</artifactId>
++ <version>1.7R2</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-apache-bsf</artifactId>
++ <version>1.8.3</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-nodeps</artifactId>
++ <version>1.8.1</version>
++ </dependency>
++ </dependencies>
++ </plugin>
++ </plugins>
++ </build>
++ </profile>
++ <profile>
++ <id>build-native-launchers-gtk.linux.x86_64</id>
++ <activation>
++ <property>
++ <name>native</name>
++ <value>gtk.linux.x86_64</value>
++ </property>
++ </activation>
++ <build>
++ <plugins>
++ <plugin>
++ <artifactId>maven-antrun-plugin</artifactId>
++ <version> 1.7 </version>
++ <executions>
++ <execution>
++ <id>compile-executable-natives</id>
++ <phase>generate-resources</phase>
++ <configuration>
++ <target>
++ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/gtk/" target="build_eclipse"/>
++ </target>
++ </configuration>
++ <goals>
++ <goal>run</goal>
++ </goals>
++ </execution>
++ </executions>
++ <dependencies>
++ <dependency>
++ <groupId>bsf</groupId>
++ <artifactId>bsf</artifactId>
++ <version>2.4.0</version>
++ </dependency>
++ <dependency>
++ <groupId>rhino</groupId>
++ <artifactId>js</artifactId>
++ <version>1.7R2</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-apache-bsf</artifactId>
++ <version>1.8.3</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-nodeps</artifactId>
++ <version>1.8.1</version>
++ </dependency>
++ </dependencies>
++ </plugin>
++ </plugins>
++ </build>
++ </profile>
++ <profile>
++ <id>build-native-launchers-gtk.linux.x86</id>
++ <activation>
++ <property>
++ <name>native</name>
++ <value>gtk.linux.x86</value>
++ </property>
++ </activation>
++ <build>
++ <plugins>
++ <plugin>
++ <artifactId>maven-antrun-plugin</artifactId>
++ <version> 1.7 </version>
++ <executions>
++ <execution>
++ <id>compile-executable-natives</id>
++ <phase>generate-resources</phase>
++ <configuration>
++ <target>
++ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/gtk/" target="build_eclipse"/>
++ </target>
++ </configuration>
++ <goals>
++ <goal>run</goal>
++ </goals>
++ </execution>
++ </executions>
++ <dependencies>
++ <dependency>
++ <groupId>bsf</groupId>
++ <artifactId>bsf</artifactId>
++ <version>2.4.0</version>
++ </dependency>
++ <dependency>
++ <groupId>rhino</groupId>
++ <artifactId>js</artifactId>
++ <version>1.7R2</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-apache-bsf</artifactId>
++ <version>1.8.3</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-nodeps</artifactId>
++ <version>1.8.1</version>
++ </dependency>
++ </dependencies>
++ </plugin>
++ </plugins>
++ </build>
++ </profile>
++ <profile>
++ <id>build-native-launchers-win32.win32.x86_64</id>
++ <activation>
++ <property>
++ <name>native</name>
++ <value>win32.win32.x86_64</value>
++ </property>
++ </activation>
++ <build>
++ <plugins>
++ <plugin>
++ <artifactId>maven-antrun-plugin</artifactId>
++ <version> 1.7 </version>
++ <executions>
++ <execution>
++ <id>compile-executable-natives</id>
++ <phase>generate-resources</phase>
++ <configuration>
++ <target>
++ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/win32/" target="build_eclipse"/>
++ </target>
++ </configuration>
++ <goals>
++ <goal>run</goal>
++ </goals>
++ </execution>
++ </executions>
++ <dependencies>
++ <dependency>
++ <groupId>bsf</groupId>
++ <artifactId>bsf</artifactId>
++ <version>2.4.0</version>
++ </dependency>
++ <dependency>
++ <groupId>rhino</groupId>
++ <artifactId>js</artifactId>
++ <version>1.7R2</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-apache-bsf</artifactId>
++ <version>1.8.3</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-nodeps</artifactId>
++ <version>1.8.1</version>
++ </dependency>
++ </dependencies>
++ </plugin>
++ </plugins>
++ </build>
++ </profile>
++ <profile>
++ <id>build-native-launchers-win32.win32.x86</id>
++ <activation>
++ <property>
++ <name>native</name>
++ <value>win32.win32.x86</value>
++ </property>
++ </activation>
++ <build>
++ <plugins>
++ <plugin>
++ <artifactId>maven-antrun-plugin</artifactId>
++ <version> 1.7 </version>
++ <executions>
++ <execution>
++ <id>compile-executable-natives</id>
++ <phase>generate-resources</phase>
++ <configuration>
++ <target>
++ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/win32/" target="build_eclipse"/>
++ </target>
++ </configuration>
++ <goals>
++ <goal>run</goal>
++ </goals>
++ </execution>
++ </executions>
++ <dependencies>
++ <dependency>
++ <groupId>bsf</groupId>
++ <artifactId>bsf</artifactId>
++ <version>2.4.0</version>
++ </dependency>
++ <dependency>
++ <groupId>rhino</groupId>
++ <artifactId>js</artifactId>
++ <version>1.7R2</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-apache-bsf</artifactId>
++ <version>1.8.3</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-nodeps</artifactId>
++ <version>1.8.1</version>
++ </dependency>
++ </dependencies>
++ </plugin>
++ </plugins>
++ </build>
++ </profile>
++ <profile>
++ <id>build-native-launchers-cocoa.macosx.x86_64</id>
++ <activation>
++ <property>
++ <name>native</name>
++ <value>cocoa.macosx.x86_64</value>
++ </property>
++ </activation>
++ <build>
++ <plugins>
++ <plugin>
++ <artifactId>maven-antrun-plugin</artifactId>
++ <version> 1.7 </version>
++ <executions>
++ <execution>
++ <id>compile-executable-natives</id>
++ <phase>generate-resources</phase>
++ <configuration>
++ <target>
++ <ant antfile="build.xml" dir="../../features/org.eclipse.equinox.executable.feature/library/carbon/" target="build_eclipse"/>
++ </target>
++ </configuration>
++ <goals>
++ <goal>run</goal>
++ </goals>
++ </execution>
++ </executions>
++ <dependencies>
++ <dependency>
++ <groupId>bsf</groupId>
++ <artifactId>bsf</artifactId>
++ <version>2.4.0</version>
++ </dependency>
++ <dependency>
++ <groupId>rhino</groupId>
++ <artifactId>js</artifactId>
++ <version>1.7R2</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-apache-bsf</artifactId>
++ <version>1.8.3</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-nodeps</artifactId>
++ <version>1.8.1</version>
++ </dependency>
++ </dependencies>
++ </plugin>
++ </plugins>
++ </build>
++ </profile>
++ <profile>
++ <id>assemble-launchers</id>
++ <activation>
++ <property>
++ <!-- workaround. activeByDefault is disabled when another profile is
++ selected. -->
++ <name>!longnotexistingproperty</name>
++ </property>
++ </activation>
++ <build>
++ <plugins>
++ <plugin>
++ <artifactId>maven-antrun-plugin</artifactId>
++ <version> 1.7 </version>
++ <executions>
++ <execution>
++ <id>copy-executable-natives</id>
++ <phase>process-resources</phase>
++ <configuration>
++ <target>
++ <!-- We need to get binary bits from binary repo -->
++ <!-- If local binaries had been built, copy will not overwrite
++ them -->
++ <copy todir="bin">
++ <fileset dir="../../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/">
++ <include name="**/*"/>
++ </fileset>
++ </copy>
++ <copy todir="contributed">
++ <fileset dir="../../../rt.equinox.binaries/org.eclipse.equinox.executable/contributed/">
++ <include name="**/*"/>
++ </fileset>
++ </copy>
++
++ <!-- Things below were copied from custombuildCallbacks.xml, as
++ Tycho does not support that -->
++ <copy includeEmptyDirs="false" todir="tempBin">
++ <fileset dir="bin"/>
++ </copy>
++ <delete dir="bin"/>
++ <move todir="bin">
++ <fileset dir="tempBin"/>
++ </move>
++
++ <!-- rename eclipse launchers to "launcher" -->
++ <move todir="bin" verbose="true">
++ <fileset dir="bin"/>
++ <regexpmapper from="^(.*[/\\])eclipse(.exe)?$" to="\1launcher\2"/>
++ </move>
++ <move todir="contributed" verbose="true">
++ <fileset dir="contributed"/>
++ <regexpmapper from="^(.*[/\\])eclipse(.exe)?$" to="\1launcher\2"/>
++ </move>
++ </target>
++ </configuration>
++ <goals>
++ <goal>run</goal>
++ </goals>
++ </execution>
++ </executions>
++ <dependencies>
++ <dependency>
++ <groupId>bsf</groupId>
++ <artifactId>bsf</artifactId>
++ <version>2.4.0</version>
++ </dependency>
++ <dependency>
++ <groupId>rhino</groupId>
++ <artifactId>js</artifactId>
++ <version>1.7R2</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-apache-bsf</artifactId>
++ <version>1.8.3</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-nodeps</artifactId>
++ <version>1.8.1</version>
++ </dependency>
++ </dependencies>
++ </plugin>
++ </plugins>
++ </build>
++ </profile>
++ </profiles>
+ </project>
+diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java
+index 6e83b71..db56cd5 100644
+--- a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java
++++ b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java
+@@ -26,6 +26,7 @@ public class Constants {
+ public static final String INTERNAL_OS_OS400 = "OS/400"; //$NON-NLS-1$
+ public static final String INTERNAL_OS_OS390 = "OS/390"; //$NON-NLS-1$
+ public static final String INTERNAL_OS_ZOS = "z/OS"; //$NON-NLS-1$
++ public static final String INTERNAL_OS_FREEBSD = "FreeBSD"; //$NON-NLS-1$
+
+ public static final String ARCH_X86 = "x86";//$NON-NLS-1$
+ public static final String ARCH_X86_64 = "x86_64";//$NON-NLS-1$
+@@ -91,6 +92,17 @@ public class Constants {
+ public static final String OS_ZOS = "z/os"; //$NON-NLS-1$
+
+ /**
++ * Constant string (value "freebsd") indicating the platform is running on a
++ * FreeBSD operating system.
++ * <p>
++ * Note this constant is not officially supported by the eclipse project
++ * and is only available on eclipse versions built from the FreeBSD ports
++ * tree.
++ * </p>
++ */
++ public static final String OS_FREEBSD = "freebsd"; //$NON-NLS-1$
++
++ /**
+ * Constant string (value "unknown") indicating the platform is running on a
+ * machine running an unknown operating system.
+ */
+diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+index 85417f6..5448261 100644
+--- a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
++++ b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+@@ -336,6 +336,8 @@ public class Main {
+ return Constants.WS_GTK;
+ if (osName.equals(Constants.OS_QNX))
+ return Constants.WS_PHOTON;
++ if (osName.equals(Constants.OS_FREEBSD))
++ return Constants.WS_GTK;
+ return Constants.WS_UNKNOWN;
+ }
+
+@@ -382,6 +384,8 @@ public class Main {
+ // os.name on Mac OS can be either Mac OS or Mac OS X
+ if (osName.regionMatches(true, 0, Constants.INTERNAL_OS_MACOSX, 0, Constants.INTERNAL_OS_MACOSX.length()))
+ return Constants.OS_MACOSX;
++ if (osName.equalsIgnoreCase(Constants.INTERNAL_OS_FREEBSD))
++ return Constants.OS_FREEBSD;
+ return Constants.OS_UNKNOWN;
+ }
+
+diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java b/rt.equinox.framework/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java
+index 6f2b039..7feb9b6 100644
+--- a/rt.equinox.framework/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java
++++ b/rt.equinox.framework/bundles/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java
+@@ -77,7 +77,7 @@ public class TextProcessor {
+
+ if ("iw".equals(lang) || "he".equals(lang) || "ar".equals(lang) || "fa".equals(lang) || "ur".equals(lang)) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
+ String osName = System.getProperty("os.name").toLowerCase(); //$NON-NLS-1$
+- if (osName.startsWith("windows") || osName.startsWith("linux") || osName.startsWith("mac")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
++ if (osName.startsWith("windows") || osName.startsWith("linux") || osName.startsWith("mac") || osName.startsWith("freebsd")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ IS_PROCESSING_NEEDED = true;
+ }
+ }
+diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java b/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java
+index 0d091d7..5acffe0 100644
+--- a/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java
++++ b/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java
+@@ -40,6 +40,7 @@ public class EclipseEnvironmentInfo implements EnvironmentInfo {
+ private static final String INTERNAL_OS_OS400 = "OS/400"; //$NON-NLS-1$
+ private static final String INTERNAL_OS_OS390 = "OS/390"; //$NON-NLS-1$
+ private static final String INTERNAL_OS_ZOS = "z/OS"; //$NON-NLS-1$
++ private static final String INTERNAL_OS_FREEBSD = "FreeBSD"; //$NON-NLS-1$
+
+ // While we recognize the i386 architecture, we change
+ // this internally to be x86.
+@@ -202,6 +203,8 @@ public class EclipseEnvironmentInfo implements EnvironmentInfo {
+ return Constants.WS_GTK;
+ if (osName.equals(Constants.OS_QNX))
+ return Constants.WS_PHOTON;
++ if (osName.equals(Constants.OS_FREEBSD))
++ return Constants.WS_GTK;
+ return Constants.WS_UNKNOWN;
+ }
+
+@@ -230,6 +233,8 @@ public class EclipseEnvironmentInfo implements EnvironmentInfo {
+ // os.name on Mac OS can be either Mac OS or Mac OS X
+ if (osName.regionMatches(true, 0, INTERNAL_OS_MACOSX, 0, INTERNAL_OS_MACOSX.length()))
+ return Constants.OS_MACOSX;
++ if (osName.equalsIgnoreCase(INTERNAL_OS_FREEBSD))
++ return Constants.OS_FREEBSD;
+ return Constants.OS_UNKNOWN;
+ }
+
+diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java b/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java
+index fe1447f..3160fd5 100644
+--- a/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java
++++ b/rt.equinox.framework/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java
+@@ -68,7 +68,7 @@ public class PluginConverterImpl implements PluginConverter {
+ static public final String FRAGMENT_MANIFEST = "fragment.xml"; //$NON-NLS-1$
+ static public final String GENERATED_FROM = "Generated-from"; //$NON-NLS-1$
+ static public final String MANIFEST_TYPE_ATTRIBUTE = "type"; //$NON-NLS-1$
+- private static final String[] OS_LIST = {org.eclipse.osgi.service.environment.Constants.OS_AIX, org.eclipse.osgi.service.environment.Constants.OS_HPUX, org.eclipse.osgi.service.environment.Constants.OS_LINUX, org.eclipse.osgi.service.environment.Constants.OS_MACOSX, org.eclipse.osgi.service.environment.Constants.OS_QNX, org.eclipse.osgi.service.environment.Constants.OS_SOLARIS, org.eclipse.osgi.service.environment.Constants.OS_WIN32};
++ private static final String[] OS_LIST = {org.eclipse.osgi.service.environment.Constants.OS_AIX, org.eclipse.osgi.service.environment.Constants.OS_FREEBSD, org.eclipse.osgi.service.environment.Constants.OS_HPUX, org.eclipse.osgi.service.environment.Constants.OS_LINUX, org.eclipse.osgi.service.environment.Constants.OS_MACOSX, org.eclipse.osgi.service.environment.Constants.OS_QNX, org.eclipse.osgi.service.environment.Constants.OS_SOLARIS, org.eclipse.osgi.service.environment.Constants.OS_WIN32};
+ protected static final String PI_RUNTIME = "org.eclipse.core.runtime"; //$NON-NLS-1$
+ protected static final String PI_BOOT = "org.eclipse.core.boot"; //$NON-NLS-1$
+ protected static final String PI_RUNTIME_COMPATIBILITY = "org.eclipse.core.runtime.compatibility"; //$NON-NLS-1$
+diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java b/rt.equinox.framework/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java
+index 4b017cd..013d6b1 100644
+--- a/rt.equinox.framework/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java
++++ b/rt.equinox.framework/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java
+@@ -93,6 +93,15 @@ public interface Constants {
+ public static final String OS_ZOS = "z/os"; //$NON-NLS-1$
+
+ /**
++ * Constant string (value "freebsd") indicating the platform is running on a
++ * FreeBSD operating system.
++ * Note this constant is not officially supported by the eclipse project
++ * and is only available on eclipse versions built from the FreeBSD ports
++ * tree.
++ */
++ public static final String OS_FREEBSD = "freebsd"; //$NON-NLS-1$
++
++ /**
+ * Constant string (value "unknown") indicating the platform is running on a
+ * machine running an unknown operating system.
+ */
+diff --git a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml
+index 7b4a01b..fbbbe06 100644
+--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml
++++ b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml
+@@ -92,6 +92,16 @@
+ fragment="true"/>
+
+ <plugin
++ id="org.eclipse.equinox.launcher.gtk.freebsd.%%ECLIPSE_ARCH%%"
++ os="freebsd"
++ ws="gtk"
++ arch="%%ECLIPSE_ARCH%%"
++ download-size="0"
++ install-size="0"
++ version="0.0.0"
++ fragment="true"/>
++
++ <plugin
+ id="org.eclipse.equinox.launcher.gtk.linux.x86"
+ os="linux"
+ ws="gtk"
+diff --git a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh
+index 29d3871..0ca7ccd 100644
+--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh
++++ b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh
+@@ -40,6 +40,7 @@ defaultJava=DEFAULT_JAVA_JNI
+ defaultJavaHome=""
+ javaHome=""
+ makefile=""
++MAKE=make
+ if [ "${CC}" = "" ]; then
+ CC=cc
+ export CC
+@@ -124,6 +125,28 @@ case $defaultOS in
+ ;;
+ esac
+ ;;
++ "FreeBSD" | "freebsd")
++ MODEL=`uname -m`
++ makefile="make_freebsd.mak"
++ MAKE=gmake
++ defaultOS="freebsd"
++ case $MODEL in
++ "amd64")
++ defaultOSArch="x86_64"
++ defaultJava=DEFAULT_JAVA_EXEC
++ [ -d ${JAVA_HOME}/jre ] && defaultJavaHome="${JAVA_HOME}/jre"
++ OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch"
++ ;;
++ i?86 | "x86")
++ defaultOSArch="x86"
++ [ -d ${JAVA_HOME}/jre ] && defaultJavaHome="${JAVA_HOME}/jre"
++ OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch"
++ ;;
++ *)
++ echo "*** Unknown MODEL <${MODEL}>"
++ ;;
++ esac
++ ;;
+ "AIX" | "aix")
+ makefile="make_aix.mak"
+ defaultOS="aix"
+@@ -220,13 +243,14 @@ export OUTPUT_DIR PROGRAM_OUTPUT DEFAULT_OS DEFAULT_OS_ARCH DEFAULT_WS DEFAULT_J
+ # If the OS is supported (a makefile exists)
+ if [ "$makefile" != "" ]; then
+ if [ "$extraArgs" != "" ]; then
+- make -f $makefile $extraArgs
++ echo "Building $OS launcher with args $extraArgs. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
++ ${MAKE} -f $makefile $extraArgs
+ else
+ echo "Building $OS launcher. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
+- make -f $makefile clean
++ ${MAKE} -f $makefile clean
+ case x$CC in
+- x*gcc*) make -f $makefile all PICFLAG=-fpic ;;
+- *) make -f $makefile all ;;
++ x*cc*) ${MAKE} -f $makefile all PICFLAG=-fpic ;;
++ *) ${MAKE} -f $makefile all ;;
+ esac
+ fi
+ else
+diff --git a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml
+index 939c8b5..c2491a5 100644
+--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml
++++ b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml
+@@ -101,6 +101,7 @@
+ </build>
+
+ <profiles>
++<!--
+ <profile>
+ <id>build-native-launchers-gtk.linux.x86_64</id>
+ <activation>
+@@ -208,6 +209,59 @@
+ </build>
+ </profile>
+ <profile>
++ <id>build-native-launchers-gtk.freebsd.%%ECLIPSE_ARCH%%</id>
++ <activation>
++ <property>
++ <name>native</name>
++ <value>gtk.freebsd.%%ECLIPSE_ARCH%%</value>
++ </property>
++ </activation>
++ <build>
++ <plugins>
++ <plugin>
++ <artifactId>maven-antrun-plugin</artifactId>
++ <version> 1.7 </version>
++ <executions>
++ <execution>
++ <id>compile-executable-natives</id>
++ <phase>generate-resources</phase>
++ <configuration>
++ <target>
++ <ant antfile="build.xml" dir="library/gtk/" target="build_eclipse"/>
++ </target>
++ </configuration>
++ <goals>
++ <goal>run</goal>
++ </goals>
++ </execution>
++ </executions>
++ <dependencies>
++ <dependency>
++ <groupId>bsf</groupId>
++ <artifactId>bsf</artifactId>
++ <version>2.4.0</version>
++ </dependency>
++ <dependency>
++ <groupId>rhino</groupId>
++ <artifactId>js</artifactId>
++ <version>1.7R2</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-apache-bsf</artifactId>
++ <version>1.8.3</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.ant</groupId>
++ <artifactId>ant-nodeps</artifactId>
++ <version>1.8.1</version>
++ </dependency>
++ </dependencies>
++ </plugin>
++ </plugins>
++ </build>
++ </profile>
++ <profile>
+ <id>build-native-launchers-win32.win32.x86_64</id>
+ <activation>
+ <property>
+@@ -366,6 +473,7 @@
+ </plugins>
+ </build>
+ </profile>
++-->
+ <profile>
+ <id>assemble-launchers</id>
+ <activation>
+diff --git a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties
+index 0f30a87..36382de 100644
+--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties
++++ b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties
+@@ -19,6 +19,11 @@ root.win32.win32.x86.permissions.755=launcher.exe
+ root.win32.win32.x86_64=file:bin/win32/win32/x86_64/launcher.exe
+ root.win32.win32.x86_64.permissions.755=launcher.exe
+
++root.freebsd.gtk.x86=bin/gtk/freebsd/x86,gtk_root
++root.freebsd.gtk.x86.permissions.755=launcher,libcairo-swt.so
++root.freebsd.gtk.x86_64=bin/gtk/freebsd/x86_64,gtk_root
++root.freebsd.gtk.x86_64.permissions.755=launcher,libcairo-swt.so
++
+ root.linux.gtk.x86=bin/gtk/linux/x86,gtk_root
+ root.linux.gtk.x86.permissions.755=launcher,libcairo-swt.so
+
+diff --git a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.xml b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.xml
+index cdded03..a2a0af3 100644
+--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.xml
++++ b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.xml
+@@ -128,6 +128,22 @@
+ <chmod perm="755" dir="${feature.base}/macosx.cocoa.x86_64/${collectingFolder}" includes="${launcherName}" />
+ <chmod perm="755" dir="${feature.base}/macosx.cocoa.x86_64/${collectingFolder}" includes="Eclipse.app/Contents/MacOS/launcher" />
+ </target>
++ <target name="rootFilesfreebsd_gtk_x86">
++ <mkdir dir="${feature.base}/freebsd.gtk.x86/${collectingFolder}"/>
++ <copy todir="${feature.base}/freebsd.gtk.x86/${collectingFolder}" failonerror="true" overwrite="true">
++ <fileset dir="${basedir}/bin/gtk/freebsd/x86" includes="**" />
++ <fileset dir="${basedir}/gtk_root" includes="**" />
++ </copy>
++ <chmod perm="755" dir="${feature.base}/freebsd.gtk.x86/${collectingFolder}" includes="launcher" />
++ </target>
++ <target name="rootFilesfreebsd_gtk_x86_64">
++ <mkdir dir="${feature.base}/freebsd.gtk.x86_64/${collectingFolder}"/>
++ <copy todir="${feature.base}/freebsd.gtk.x86_64/${collectingFolder}" failonerror="true" overwrite="true">
++ <fileset dir="${basedir}/bin/gtk/freebsd/x86_64" includes="**" />
++ <fileset dir="${basedir}/gtk_root" includes="**" />
++ </copy>
++ <chmod perm="755" dir="${feature.base}/freebsd.gtk.x86_64/${collectingFolder}" includes="launcher" />
++ </target>
+ <target name="rootFileslinux_gtk_x86">
+ <mkdir dir="${feature.base}/linux.gtk.x86/${collectingFolder}"/>
+ <copy todir="${feature.base}/linux.gtk.x86/${collectingFolder}" failonerror="true" overwrite="true">
+@@ -278,6 +294,8 @@
+ <antcall target="rootFilesmacosx_carbon_x86"/>
+ <antcall target="rootFilesmacosx_cocoa_ppc"/>
+ <antcall target="rootFilesmacosx_cocoa_x86"/>
++ <antcall target="rootFilesfreebsd_gtk_x86"/>
++ <antcall target="rootFilesfreebsd_gtk_x86_64"/>
+ <antcall target="rootFileslinux_gtk_x86"/>
+ <antcall target="rootFileslinux_gtk_ppc"/>
+ <antcall target="rootFileslinux_gtk_ppc64"/>
+@@ -319,4 +337,4 @@
+ <target name="gather.logs" depends="init">
+ </target>
+
+-</project>
+\ No newline at end of file
++</project>
+diff --git a/rt.equinox.framework/pom.xml b/rt.equinox.framework/pom.xml
+index b46cdc6..d46c81d 100644
+--- a/rt.equinox.framework/pom.xml
++++ b/rt.equinox.framework/pom.xml
+@@ -60,6 +60,7 @@
+ <module>bundles/org.eclipse.equinox.launcher.gtk.linux.s390x</module>
+ <module>bundles/org.eclipse.equinox.launcher.gtk.linux.x86</module>
+ <module>bundles/org.eclipse.equinox.launcher.gtk.linux.x86_64</module>
++ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.%%ECLIPSE_ARCH%%</module>
+ <module>bundles/org.eclipse.equinox.launcher.gtk.solaris.sparc</module>
+ <module>bundles/org.eclipse.equinox.launcher.gtk.solaris.x86</module>
+ <module>bundles/org.eclipse.equinox.launcher.motif.aix.ppc</module>
+diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java
+index 3cf2fe1..53f82b3 100644
+--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java
++++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java
+@@ -123,6 +123,8 @@ public class BrandingIron {
+ brandAIX(descriptor);
+ else if ("hpux".equals(os)) //$NON-NLS-1$
+ brandHPUX(descriptor);
++ else if ("freebsd".equals(os)) //$NON-NLS-1$
++ brandFreeBSD(descriptor);
+ else
+ renameLauncher(descriptor);
+ descriptor.setExecutableName(name, true);
+@@ -178,6 +180,14 @@ public class BrandingIron {
+ }
+ }
+
++ private void brandFreeBSD(ExecutablesDescriptor descriptor) throws Exception {
++ renameLauncher(descriptor);
++
++ File root = descriptor.getLocation();
++ if (brandIcons)
++ Utils.copy(new File(icons[0]), new File(root, "icon.xpm")); //$NON-NLS-1$
++ }
++
+ private void brandMac(ExecutablesDescriptor descriptor) throws Exception {
+ //Initially the files are in: <root>/Eclipse.app/
+ //and they must appear in <root>/MyAppName.app/
+diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java
+index 324c94f..f1b0d14 100644
+--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java
++++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/ProductFile.java
+@@ -58,11 +58,13 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ private final static SAXParserFactory parserFactory = SAXParserFactory.newInstance();
+
+ private static final String PROGRAM_ARGS = "programArgs"; //$NON-NLS-1$
++ private static final String PROGRAM_ARGS_FREEBSD = "programArgsFre"; //$NON-NLS-1$
+ private static final String PROGRAM_ARGS_LINUX = "programArgsLin"; //$NON-NLS-1$
+ private static final String PROGRAM_ARGS_MAC = "programArgsMac"; //$NON-NLS-1$
+ private static final String PROGRAM_ARGS_SOLARIS = "programArgsSol"; //$NON-NLS-1$
+ private static final String PROGRAM_ARGS_WIN = "programArgsWin"; //$NON-NLS-1$
+ private static final String VM_ARGS = "vmArgs"; //$NON-NLS-1$
++ private static final String VM_ARGS_FREEBSD = "vmArgsFre"; //$NON-NLS-1$
+ private static final String VM_ARGS_LINUX = "vmArgsLin"; //$NON-NLS-1$
+ private static final String VM_ARGS_MAC = "vmArgsMac"; //$NON-NLS-1$
+ private static final String VM_ARGS_SOLARIS = "vmArgsSol"; //$NON-NLS-1$
+@@ -85,6 +87,7 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ private static final String OS_LINUX = "linux";//$NON-NLS-1$
+ private static final String OS_SOLARIS = "solaris";//$NON-NLS-1$
+ private static final String OS_MACOSX = "macosx";//$NON-NLS-1$
++ private static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$
+
+ //element names
+ private static final String EL_FEATURES = "features"; //$NON-NLS-1$
+@@ -110,20 +113,22 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ private static final int STATE_PLUGINS = 4;
+ private static final int STATE_FEATURES = 5;
+ private static final int STATE_PROGRAM_ARGS = 6;
+- private static final int STATE_PROGRAM_ARGS_LINUX = 7;
+- private static final int STATE_PROGRAM_ARGS_MAC = 8;
+- private static final int STATE_PROGRAM_ARGS_SOLARIS = 9;
+- private static final int STATE_PROGRAM_ARGS_WIN = 10;
+- private static final int STATE_VM_ARGS = 11;
+- private static final int STATE_VM_ARGS_LINUX = 12;
+- private static final int STATE_VM_ARGS_MAC = 13;
+- private static final int STATE_VM_ARGS_SOLARIS = 14;
+- private static final int STATE_VM_ARGS_WIN = 15;
+- private static final int STATE_CONFIG_INI = 16;
+- private static final int STATE_CONFIGURATIONS = 17;
+- private static final int STATE_LICENSE = 18;
+- private static final int STATE_LICENSE_URL = 19;
+- private static final int STATE_LICENSE_TEXT = 20;
++ private static final int STATE_PROGRAM_ARGS_FREEBSD = 7;
++ private static final int STATE_PROGRAM_ARGS_LINUX = 8;
++ private static final int STATE_PROGRAM_ARGS_MAC = 9;
++ private static final int STATE_PROGRAM_ARGS_SOLARIS = 10;
++ private static final int STATE_PROGRAM_ARGS_WIN = 11;
++ private static final int STATE_VM_ARGS = 12;
++ private static final int STATE_VM_ARGS_FREEBSD = 13;
++ private static final int STATE_VM_ARGS_LINUX = 14;
++ private static final int STATE_VM_ARGS_MAC = 15;
++ private static final int STATE_VM_ARGS_SOLARIS = 16;
++ private static final int STATE_VM_ARGS_WIN = 17;
++ private static final int STATE_CONFIG_INI = 18;
++ private static final int STATE_CONFIGURATIONS = 19;
++ private static final int STATE_LICENSE = 20;
++ private static final int STATE_LICENSE_URL = 21;
++ private static final int STATE_LICENSE_TEXT = 22;
+
+ private static final String PI_PDEBUILD = "org.eclipse.pde.build"; //$NON-NLS-1$
+ private final static int EXCEPTION_PRODUCT_FORMAT = 23;
+@@ -437,6 +442,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ key = VM_ARGS_MAC;
+ } else if (os.equals(OS_SOLARIS)) {
+ key = VM_ARGS_SOLARIS;
++ } else if (os.equals(OS_FREEBSD)) {
++ key = VM_ARGS_FREEBSD;
+ }
+
+ String prefix = launcherArgs.getProperty(VM_ARGS);
+@@ -466,6 +473,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ key = PROGRAM_ARGS_MAC;
+ } else if (os.equals(OS_SOLARIS)) {
+ key = PROGRAM_ARGS_SOLARIS;
++ } else if (os.equals(OS_FREEBSD)) {
++ key = PROGRAM_ARGS_FREEBSD;
+ }
+
+ String prefix = launcherArgs.getProperty(PROGRAM_ARGS);
+@@ -532,6 +541,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ processLinux(attributes);
+ } else if (OS_MACOSX.equals(localName)) {
+ processMac(attributes);
++ } else if (OS_FREEBSD.equals(localName)) {
++ processFreeBSD(attributes);
+ }
+ if ("ico".equals(localName)) { //$NON-NLS-1$
+ processIco(attributes);
+@@ -543,6 +554,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ case STATE_LAUNCHER_ARGS :
+ if (PROGRAM_ARGS.equals(localName)) {
+ state = STATE_PROGRAM_ARGS;
++ } else if (PROGRAM_ARGS_FREEBSD.equals(localName)) {
++ state = STATE_PROGRAM_ARGS_FREEBSD;
+ } else if (PROGRAM_ARGS_LINUX.equals(localName)) {
+ state = STATE_PROGRAM_ARGS_LINUX;
+ } else if (PROGRAM_ARGS_MAC.equals(localName)) {
+@@ -553,6 +566,8 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ state = STATE_PROGRAM_ARGS_WIN;
+ } else if (VM_ARGS.equals(localName)) {
+ state = STATE_VM_ARGS;
++ } else if (VM_ARGS_FREEBSD.equals(localName)) {
++ state = STATE_VM_ARGS_FREEBSD;
+ } else if (VM_ARGS_LINUX.equals(localName)) {
+ state = STATE_VM_ARGS_LINUX;
+ } else if (VM_ARGS_MAC.equals(localName)) {
+@@ -658,11 +673,13 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ break;
+
+ case STATE_PROGRAM_ARGS :
++ case STATE_PROGRAM_ARGS_FREEBSD :
+ case STATE_PROGRAM_ARGS_LINUX :
+ case STATE_PROGRAM_ARGS_MAC :
+ case STATE_PROGRAM_ARGS_SOLARIS :
+ case STATE_PROGRAM_ARGS_WIN :
+ case STATE_VM_ARGS :
++ case STATE_VM_ARGS_FREEBSD :
+ case STATE_VM_ARGS_LINUX :
+ case STATE_VM_ARGS_MAC :
+ case STATE_VM_ARGS_SOLARIS :
+@@ -689,6 +706,9 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ case STATE_PROGRAM_ARGS :
+ addLaunchArgumentToMap(PROGRAM_ARGS, String.valueOf(ch, start, length));
+ break;
++ case STATE_PROGRAM_ARGS_FREEBSD :
++ addLaunchArgumentToMap(PROGRAM_ARGS_FREEBSD, String.valueOf(ch, start, length));
++ break;
+ case STATE_PROGRAM_ARGS_LINUX :
+ addLaunchArgumentToMap(PROGRAM_ARGS_LINUX, String.valueOf(ch, start, length));
+ break;
+@@ -704,6 +724,9 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ case STATE_VM_ARGS :
+ addLaunchArgumentToMap(VM_ARGS, String.valueOf(ch, start, length));
+ break;
++ case STATE_VM_ARGS_FREEBSD :
++ addLaunchArgumentToMap(VM_ARGS_FREEBSD, String.valueOf(ch, start, length));
++ break;
+ case STATE_VM_ARGS_LINUX :
+ addLaunchArgumentToMap(VM_ARGS_LINUX, String.valueOf(ch, start, length));
+ break;
+@@ -867,6 +890,10 @@ public class ProductFile extends DefaultHandler implements IProductDescriptor {
+ addIcon(OS_WIN32, attributes.getValue(WIN32_256_HIGH));
+ }
+
++ private void processFreeBSD(Attributes attributes) {
++ addIcon(OS_FREEBSD, attributes.getValue(ATTRIBUTE_ICON));
++ }
++
+ private void processLinux(Attributes attributes) {
+ addIcon(OS_LINUX, attributes.getValue(ATTRIBUTE_ICON));
+ }
+diff --git a/rt.equinox.p2/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties b/rt.equinox.p2/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties
+index d8e85b5..10e1c66 100644
+--- a/rt.equinox.p2/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties
++++ b/rt.equinox.p2/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties
+@@ -29,7 +29,8 @@ collectingFolder=${archivePrefix}
+ # configs=win32,win32,x86 & linux,motif,x86
+ # By default the value is *,*,*
+ configs = win32, win32, x86 & \
+- linux, gtk, x86 &
++ linux, gtk, x86 & \
++ freebsd, gtk, %%ECLIPSE_ARCH%%
+ #configs=win32, win32, x86 & \
+ # linux, gtk, ppc &\
+ # linux, gtk, x86 & \
+diff --git a/rt.equinox.p2/examples/org.eclipse.equinox.p2.examples.rcp.discovery.releng/build.properties b/rt.equinox.p2/examples/org.eclipse.equinox.p2.examples.rcp.discovery.releng/build.properties
+index 4be192c..10e1c66 100644
+--- a/rt.equinox.p2/examples/org.eclipse.equinox.p2.examples.rcp.discovery.releng/build.properties
++++ b/rt.equinox.p2/examples/org.eclipse.equinox.p2.examples.rcp.discovery.releng/build.properties
+@@ -29,7 +29,8 @@ collectingFolder=${archivePrefix}
+ # configs=win32,win32,x86 & linux,motif,x86
+ # By default the value is *,*,*
+ configs = win32, win32, x86 & \
+- linux, gtk, x86
++ linux, gtk, x86 & \
++ freebsd, gtk, %%ECLIPSE_ARCH%%
+ #configs=win32, win32, x86 & \
+ # linux, gtk, ppc &\
+ # linux, gtk, x86 & \
+diff --git a/rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/pom.xml b/rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/pom.xml
+index 70fdde5..d9807d9 100644
+--- a/rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/pom.xml
++++ b/rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/pom.xml
+@@ -39,6 +39,9 @@
+ <excludes>
+ <plugin id="org.sat4j.core"/>
+ <plugin id="org.sat4j.pb"/>
++ <plugin id="org.eclipse.equinox.security.macosx"/>
++ <plugin id="org.eclipse.equinox.security.win32.x86"/>
++ <plugin id="org.eclipse.equinox.security.win32.x86_64"/>
+ </excludes>
+ </configuration>
+ </execution>
+diff --git a/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml b/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml
+index b3ed6f8..7544d34 100644
+--- a/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml
++++ b/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml
+@@ -54,18 +54,6 @@
+ <executionEnvironment>J2SE-1.5</executionEnvironment>
+ </configuration>
+ </plugin>
+- <plugin>
+- <groupId>org.eclipse.tycho</groupId>
+- <artifactId>tycho-compiler-plugin</artifactId>
+- <configuration>
+- <!--
+- Many (all?) bundles use java 5 generics, do not compile against libraries
+- of their respective execution environments and we force compilation against
+- SYSTEM JRE libraries that are guaranteed to be java5+
+- -->
+- <useJDK>BREE</useJDK>
+- </configuration>
+- </plugin>
+ </plugins>
+ </build>
+
diff --git a/java/eclipse/scripts/pre-patch b/java/eclipse/scripts/pre-patch
new file mode 100644
index 000000000000..3444009f5048
--- /dev/null
+++ b/java/eclipse/scripts/pre-patch
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+set -x
+
+# Copy the Linux 'native' code for the FreeBSD versions
+# At this point, just make sure the directory and file names are "freebsd"
+# These files will be patched in the do-patch step.
+
+check_freebsd_mak ()
+{
+ local d
+ d=`dirname "$1"`
+ [ -e "${d}/make_freebsd.mak" ] && return
+ cp -p "$1" "${d}/make_freebsd.mak"
+}
+
+for d in ${WRKSRC}/eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.x* \
+ ${WRKSRC}/eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x* \
+ ${WRKSRC}/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x* \
+ ${WRKSRC}/eclipse.platform.resources/bundles/org.eclipse.core.filesystem/natives/unix/linux \
+ ${WRKSRC}/eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/linux \
+ ${WRKSRC}/rt.equinox.binaries/org.eclipse.equinox.launcher.gtk.linux.x* \
+ ${WRKSRC}/rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/x* \
+ ${WRKSRC}/rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.linux.x* \
+ ${WRKSRC}/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/bin/gtk/linux/x*
+do
+ mkdir -p `echo $d | sed -e 's/linux/freebsd/'`
+ [ -d $d ] && ( cd $d; tar cf - . ) | ( cd `echo $d | sed -e 's/linux/freebsd/'`; tar xf - )
+done
+
+for d in `find ${WRKSRC} -type d -name \*freebsd\*`
+do
+ for f in `find $d -name \*linux\*`
+ do
+ mv $f `echo $f | sed -e 's/linux/freebsd/'`
+ done
+ find $d -type f \( -name \*.so -o -name eclipse -o -name launcher \) -delete
+done
+
+find ${WRKSRC} -type f -name make_linux.mak | while read file; do check_freebsd_mak "$file"; done