diff options
author | glewis <glewis@FreeBSD.org> | 2010-05-02 01:28:02 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2010-05-02 01:28:02 +0800 |
commit | 6daf7e192d9c58aa9184153ff3ba375521cb3196 (patch) | |
tree | 73695c31d299fbc64d4fe2156e4f7c172cc8f729 /java/eclipse-devel | |
parent | 3603e54ab5b87073d47ea9e0186a990f78225252 (diff) | |
download | freebsd-ports-gnome-6daf7e192d9c58aa9184153ff3ba375521cb3196.tar.gz freebsd-ports-gnome-6daf7e192d9c58aa9184153ff3ba375521cb3196.tar.zst freebsd-ports-gnome-6daf7e192d9c58aa9184153ff3ba375521cb3196.zip |
. Update to 3.5.2.
Based on: Patches by sepotvin@ to update to 3.5.1.
Diffstat (limited to 'java/eclipse-devel')
106 files changed, 8970 insertions, 3263 deletions
diff --git a/java/eclipse-devel/Makefile b/java/eclipse-devel/Makefile index 1c2e7671e81a..a312b187301c 100644 --- a/java/eclipse-devel/Makefile +++ b/java/eclipse-devel/Makefile @@ -6,190 +6,222 @@ # PORTNAME= eclipse-devel -PORTVERSION= 3.4.1 -PORTREVISION= 5 +PORTVERSION= 3.5.2 CATEGORIES= java devel -MASTER_SITES= ${MASTER_SITE_ECLIPSE} -MASTER_SITE_SUBDIR= R-${PORTVERSION}-200809111700 -DISTNAME= eclipse-sourceBuild-srcIncluded-${PORTVERSION} +MASTER_SITES= http://download.eclipse.org/technology/linuxtools/eclipse-build/:1 \ + http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/bundles/:2 \ + http://download.eclipse.org/tools/orbit/downloads/drops/S20100308015149/bundles/:3 \ + ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/,}:4 \ + ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%/,junit/junit/${JUNIT3_VERSION}/,}:5 \ + ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%/,junit/junit/${JUNIT4_VERSION}/,}:6 +DISTFILES= ${ECLIPSE_BUILD_SRCFILE}:1 \ + ${ECLIPSE_SRCFILE}:1 \ + ${ANT_SRCFILE}:4 \ + ${JUNIT3_SRCFILE}:5 \ + ${JUNIT4_SRCFILE}:6 DIST_SUBDIR= eclipse +EXTRACT_ONLY= ${ECLIPSE_BUILD_SRCFILE} ${ANT_SRCFILE} MAINTAINER= freebsd-eclipse@FreeBSD.org COMMENT= An open extensible IDE for anything and nothing in particular -BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \ - zip:${PORTSDIR}/archivers/zip \ - unzip:${PORTSDIR}/archivers/unzip -PATCH_DEPENDS+= gpatch:${PORTSDIR}/devel/patch +EXTRACT_DEPENDS=${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip +PATCH_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \ + gpatch:${PORTSDIR}/devel/patch \ + zip:${PORTSDIR}/archivers/zip +BUILD_DEPENDS= gpatch:${PORTSDIR}/devel/patch \ + unzip:${PORTSDIR}/archivers/unzip \ + zip:${PORTSDIR}/archivers/zip +LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo -ECLIPSE= ${PORTNAME} +OPTIONS= TESTS "Build SDK test suite" off ONLY_FOR_ARCHS= i386 amd64 -USE_GMAKE= yes -USE_ZIP= yes -USE_GL= glu - -PATCH= ${LOCALBASE}/bin/gpatch - -.if !defined(WITHOUT_MOZILLA) -USE_GECKO= libxul seamonkey -.endif +USE_ANT= yes +USE_GECKO= libxul +USE_GL= glu +USE_GMAKE= yes +USE_GNOME= desktopfileutils gconf2 gtk20 gnomevfs2 libgnome libgnomeui pkgconfig USE_JAVA= yes -JAVA_VERSION= 1.6 -JAVA_OS= native +USE_BZIP2= yes -NO_WRKSUBDIR= yes - -PORTDESTDIR= ${PREFIX}/${ECLIPSE} +JAVA_BUILD= yes +JAVA_OS= native +JAVA_RUN= yes +JAVA_VERSION= 1.6 -ECLIPSE_OS= freebsd +ECLIPSE_BUILD_SRCFILE= eclipse-build-0.5.0${EXTRACT_SUFX} +ECLIPSE_SRCFILE= eclipse-${PORTVERSION}-src${EXTRACT_SUFX} +ECLIPSE_TEST_SRCFILE= eclipse-sdktests-${PORTVERSION}-src${EXTRACT_SUFX} +ECLIPSE_TEST_SCRIPTFILE=eclipse-sdktests-${PORTVERSION}-scripts${EXTRACT_SUFX} +ECLIPSE_JAR_BUNDLES= com.ibm.icu_4.0.1.v20090822.jar \ + com.jcraft.jsch_0.1.41.v200903070017.jar \ + javax.servlet_2.5.0.v200806031605.jar \ + javax.servlet.jsp_2.0.0.v200806031607.jar \ + org.apache.commons.codec_1.3.0.v20080530-1600.jar \ + org.apache.commons.el_1.0.0.v200806031608.jar \ + org.apache.commons.httpclient_3.1.0.v20080605-1935.jar \ + org.apache.commons.logging_1.0.4.v200904062259.jar \ + org.apache.jasper_5.5.17.v200903231320.jar \ + org.apache.lucene_1.9.1.v20080530-1600.jar \ + org.apache.lucene.analysis_1.9.1.v20080530-1600.jar \ + org.hamcrest.core_1.1.0.v20090501071000.jar \ + org.mortbay.jetty.server_6.1.15.v200905151201.jar \ + org.mortbay.jetty.util_6.1.15.v200905182336.jar \ + org.objectweb.asm_3.1.0.v200803061910.jar +ECLIPSE_SAT4J_BUNDLES= org.sat4j.core_2.1.1.v20090825.jar \ + org.sat4j.pb_2.1.1.v20090825.jar +ANT_VERSION= 1.7.1 +ANT_SRCFILE= apache-ant-${ANT_VERSION}-bin${EXTRACT_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-commons-logging.jar \ + ant-commons-net.jar \ + ant.jar \ + ant-javamail.jar \ + ant-jdepend.jar \ + ant-jsch.jar \ + ant-junit.jar \ + ant-launcher.jar \ + ant-nodeps.jar \ + ant-swing.jar \ + ant-trax.jar +JUNIT3_VERSION= 3.8.2 +JUNIT3_SRCFILE= junit${JUNIT3_VERSION}.zip +JUNIT4_VERSION= 4.8.1 +JUNIT4_SRCFILE= junit-${JUNIT4_VERSION}.jar +FBSD_SUPPORT_SRCFILE= freebsd-support.patch + +MAKE_ARGS= -DbuildOs=freebsd -DbuildArch=${ARCH:C/amd64/x86_64/:C/i386/x86/} -Dprefix=${PREFIX} -Dlocalbase=${LOCALBASE} +MAKE_ENV+= GRE_HOME=${PREFIX}/lib/${GECKO} _JAVA_OPTIONS="-Xmx1024m" +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} +DISTFILES+= ${f}:2 +.endfor + +.for f in ${ECLIPSE_SAT4J_BUNDLES} +DISTFILES+= ${f}:3 +.endfor -ECLIPSE_WS= gtk +.include <bsd.port.pre.mk> -IGNORE= eclipse 3.4.x is now in java/eclipse, please use that instead +.if defined(WITH_TESTS) +DISTFILES+= ${ECLIPSE_TEST_SRCFILE}:1 ${ECLIPSE_TEST_SCRIPTFILE}:1 -.if defined(WITHOUT_GNOMEVFS) -MAKE_GNOME= -USE_GNOME= gtk20 pkgconfig desktopfileutils -.else -MAKE_GNOME= make_gnome -USE_GNOME= gtk20 gnomevfs2 libgnome libgnomeui pkgconfig desktopfileutils -.endif +BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash \ + Xvnc:${PORTSDIR}/net/tightvnc -.if defined(WITHOUT_CAIRO) -MAKE_CAIRO= -.else -LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo -MAKE_CAIRO= make_cairo +ALL_TARGET= provision.tests .endif -.include <bsd.port.pre.mk> - .if ${OSVERSION} >= 800000 JAVA_VENDOR= bsdjava .endif -.if !defined(WITHOUT_MOZILLA) -MAKE_MOZILLA= make_mozilla -BROWSER= ${GECKO} -.else -BROWSER= -MAKE_MOZILLA= -.endif - -.if (${ARCH} == "amd64") -ECLIPSE_ARCH= amd64 -ECLIPSE_SWT= gtk64 -.else -ECLIPSE_ARCH= x86 -ECLIPSE_SWT= gtk +# Copy the eclipse source file to the work area +post-extract: + @${CP} ${DISTDIR}/${DIST_SUBDIR}/${ECLIPSE_SRCFILE} ${BUILD_WRKSRC} + @${CP} ${FILESDIR}/${FBSD_SUPPORT_SRCFILE} ${BUILD_WRKSRC}/patches/ + @${MKDIR} ${BUILD_WRKSRC}/bundles +.for f in ${ECLIPSE_JAR_BUNDLES} + @${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${BUILD_WRKSRC}/bundles/ +.endfor +.for f in ${ECLIPSE_SAT4J_BUNDLES} + @${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${BUILD_WRKSRC}/bundles/ +.endfor +.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 +.if defined(WITH_TESTS) + @${CP} ${DISTDIR}/${DIST_SUBDIR}/${ECLIPSE_TEST_SRCFILE} ${BUILD_WRKSRC} + @${CP} ${DISTDIR}/${DIST_SUBDIR}/${ECLIPSE_TEST_SCRIPTFILE} ${BUILD_WRKSRC} .endif -MAKE_ENV+= BROWSER=${BROWSER} \ - ECLIPSE_ARCH=${ECLIPSE_ARCH} \ - ECLIPSE_OS=${ECLIPSE_OS} \ - ECLIPSE_WS=${ECLIPSE_WS} \ - JAVA_HOME=${JAVA_HOME} \ - MAKE_GNOME=${MAKE_GNOME} \ - MAKE_MOZILLA=${MAKE_MOZILLA} \ - MAKE_CAIRO=${MAKE_CAIRO} \ - MACHINE_ARCH=${MACHINE_ARCH} - -PLIST_FILES= bin/${ECLIPSE} share/applications/${ECLIPSE}.desktop - -SWTBASE=${WRKSRC}/plugins/org.eclipse.swt/Eclipse SWT -SWTGTK=${WRKSRC}/plugins/org.eclipse.swt/Eclipse SWT PI -SWTMOZ=${WRKSRC}/plugins/org.eclipse.swt/Eclipse SWT Mozilla - -ECLIPSE_IU=FreeBSD Eclipse SDK -#ECLIPSE_IU_VERSION=${PORTVERSION}.${PORTREVISION} -ECLIPSE_IU_VERSION= 1 +# 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: - @${PATCH} ${PATCH_DIST_ARGS} -d "${SWTBASE}" -i ${FILESDIR}/post-patch-plugins-org.eclipse.swt-Eclipse_SWT-gtk-org-eclipse-swt-widgets-FileDialog.java - @${PATCH} ${PATCH_DIST_ARGS} -d "${SWTBASE}" -i ${FILESDIR}/post-patch-plugins-org.eclipse.swt-Eclipse_SWT-gtk-org-eclipse-swt-widgets-DirectoryDialog.java - @${PATCH} ${PATCH_DIST_ARGS} -d "${SWTGTK}" -i ${FILESDIR}/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.sh - @${PATCH} ${PATCH_DIST_ARGS} -d "${SWTGTK}" -i ${FILESDIR}/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.xml - @${PATCH} ${PATCH_DIST_ARGS} -d "${SWTGTK}" -i ${FILESDIR}/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-make_freebsd.mak - @${PATCH} ${PATCH_DIST_ARGS} -d "${SWTGTK}" -i ${FILESDIR}/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-org-eclipse-swt-internal-gtk-OS.java - @${PATCH} ${PATCH_DIST_ARGS} -d "${SWTMOZ}" -i ${FILESDIR}/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_Mozilla-gtk-org-eclipse-swt-browser-MozillaDelegate.java - -do-build: - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} \ - ./build -os ${ECLIPSE_OS} -ws ${ECLIPSE_WS} -arch ${ECLIPSE_ARCH} -compilelibs) - @${JAVA} \ - -jar ${WRKSRC}/eclipse/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar \ - -data ${WRKSRC}/workspace \ - -application org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \ - -flavor tooling \ - -metadataRepositoryName "FreeBSD Eclipse" \ - -artifactRepositoryName "FreeBSD Eclipse" \ - -metadataRepository "file:${WRKSRC}/eclipse/metadata" \ - -artifactRepository "file:${WRKSRC}/eclipse/metadata" \ - -root "${ECLIPSE_IU}" \ - -rootVersion "${ECLIPSE_IU_VERSION}" \ - -source ${WRKSRC}/eclipse \ - -append \ - -publishArtifacts + @${REINPLACE_CMD} -e "s+%%BOOTCLASSPATH%%+${BOOTCLASSPATH}+g" ${BUILD_WRKSRC}/build.properties + @${REINPLACE_CMD} -e "s+%%PORTNAME%%+${PORTNAME}+g" ${BUILD_WRKSRC}/build.xml + @${REINPLACE_CMD} -e "s+%%BOOTCLASSPATH%%+${BOOTCLASSPATH}+g" ${BUILD_WRKSRC}/pdebuild.properties + @(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 +.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}/nonosgidependencies.properties + @${REINPLACE_CMD} -e "s+=/usr/share/java/junit4.jar+=${BUILD_WRKSRC}/bundles/junit4.jar+" ${BUILD_WRKSRC}/nonosgidependencies.properties +.if defined(WITH_TESTS) + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} applyTestPatches) +.endif do-install: + @${RM} -rf ${PORTDESTDIR} @${MKDIR} ${PORTDESTDIR} - @${JAVA} \ - -Declipse.p2.data.area="file:${PORTDESTDIR}/p2" \ - -jar ${WRKSRC}/eclipse/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar \ - -data ${WRKSRC}/workspace \ - -application org.eclipse.equinox.p2.director.app.application \ - -flavor tooling \ - -metadataRepository "file:${WRKSRC}/eclipse/metadata" \ - -artifactRepository "file:${WRKSRC}/eclipse/metadata" \ - -installIU "${ECLIPSE_IU}" \ - -version "${ECLIPSE_IU_VERSION}" \ - -p2.os ${ECLIPSE_OS} \ - -p2.ws ${ECLIPSE_WS} \ - -p2.arch ${ECLIPSE_ARCH} \ - -profile SDKProfile \ - -profileProperties org.eclipse.update.install.features=true \ - -destination "${PORTDESTDIR}" \ - -bundlepool "${PORTDESTDIR}" \ - -roaming - (cd ${WRKSRC}/eclipse; \ - ${CP} -R about.html epl-v10.html icon.xpm notice.html readme ${PORTDESTDIR}) + @${MKDIR} ${PREFIX}/${DROPINS_DIR} + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} ${INSTALL_TARGET}) @${SED} \ + -e "s+%%BROWSER%%+${GECKO}+g" \ -e "s+%%ECLIPSE_HOME%%+${PORTDESTDIR}+g" \ - -e "s+%%PREFIX%%+${PREFIX}+g" \ - -e "s+%%LOCALBASE%%+${LOCALBASE}+g" \ - -e "s+%%LOCALBASE%%+${LOCALBASE}+g" \ - -e "s+%%BROWSER%%+${BROWSER}+g" \ - -e "s,%%JAVA_VERSION%%,${JAVA_VERSION},g" \ + -e "s+%%JAVA_HOME%%+${JAVA_HOME}+g" \ -e "s+%%JAVA_OS%%+${JAVA_OS}+g" \ - ${FILESDIR}/eclipse.in > ${WRKSRC}/eclipse.tmp + -e "s+%%JAVA_VERSION%%+${JAVA_VERSION}+g" \ + -e "s+%%LOCALBASE%%+${LOCALBASE}+g" \ + ${FILESDIR}/eclipse.in > ${BUILD_WRKSRC}/eclipse.tmp .if defined(JAVA_VENDOR) - @${REINPLACE_CMD} \ - -e "s+%%JAVA_VENDOR_SPECIFICATION%%+JAVA_VENDOR=\"${JAVA_VENDOR}\"+g" \ - ${WRKSRC}/eclipse.tmp + @${REINPLACE_CMD} -e "s+%%JAVA_VENDOR_SPECIFICATION%%+JAVA_VENDOR=\"${JAVA_VENDOR}\"+g" \ + ${BUILD_WRKSRC}/eclipse.tmp .else - @${REINPLACE_CMD} \ - -e "s+%%JAVA_VENDOR_SPECIFICATION%%++g" \ - ${WRKSRC}/eclipse.tmp + @${REINPLACE_CMD} -e "s+%%JAVA_VENDOR_SPECIFICATION%%++g" \ + ${BUILD_WRKSRC}/eclipse.tmp .endif - @${INSTALL_SCRIPT} ${WRKSRC}/eclipse.tmp ${PREFIX}/bin/${ECLIPSE} - @${SED} \ - -e "s+%%ECLIPSE_HOME%%+${PORTDESTDIR}+g" \ - -e "s+%%ECLIPSE%%+${ECLIPSE}+g" \ - -e "s+%%PREFIX%%+${PREFIX}+g" \ - ${FILESDIR}/eclipse.desktop > ${WRKSRC}/eclipse.desktop.tmp - @${MKDIR} ${PREFIX}/share/applications/ || ${TRUE} - @${INSTALL_DATA} ${WRKSRC}/eclipse.desktop.tmp ${PREFIX}/share/applications/${ECLIPSE}.desktop - @-update-desktop-database - @(cd ${PREFIX}; ${FIND} -s ${ECLIPSE} -not -type d) >> ${TMPPLIST} - @echo '@exec ${PREFIX}/bin/update-desktop-database > /dev/null || /usr/bin/true' >> ${TMPPLIST} - @(cd ${PREFIX}; ${FIND} -s -d ${ECLIPSE} -type d) | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST} - @echo '@unexec ${PREFIX}/bin/update-desktop-database > /dev/null || /usr/bin/true' >> ${TMPPLIST} - -setup-user: - @echo 'Preparing Eclipse configuration for user ${USER}' - @${PREFIX}/bin/${ECLIPSE} -initialize -clean -consoleLog - @${FIND} ${HOME}/.eclipse -exec touch {} \; - + @${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} "@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 defined(WITH_TESTS) +tests: build + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} runTests) +.else +tests: + @${ECHO_CMD} "Tests are not enabled!" +.endif + .include <bsd.port.post.mk> diff --git a/java/eclipse-devel/distinfo b/java/eclipse-devel/distinfo index c52b329858c0..d92ee3f7f3fe 100644 --- a/java/eclipse-devel/distinfo +++ b/java/eclipse-devel/distinfo @@ -1,3 +1,72 @@ -MD5 (eclipse/eclipse-sourceBuild-srcIncluded-3.4.1.zip) = 5814fb2019f70f00c0952f29df1cac3d -SHA256 (eclipse/eclipse-sourceBuild-srcIncluded-3.4.1.zip) = cb451bcc8866ab289b3a322e17eda7d20429463e8b3f329f66626b45b0fd6824 -SIZE (eclipse/eclipse-sourceBuild-srcIncluded-3.4.1.zip) = 106290656 +MD5 (eclipse/eclipse-build-0.5.0.tar.bz2) = 4222efa5f5817b369db90843b0ca7563 +SHA256 (eclipse/eclipse-build-0.5.0.tar.bz2) = d5f184bb9337eff30e4828c55c866f678eb512b93c908402ef1acc812e1bcf16 +SIZE (eclipse/eclipse-build-0.5.0.tar.bz2) = 276662 +MD5 (eclipse/eclipse-3.5.2-src.tar.bz2) = 942cf2b429c3ce96bd8256f3cb5b2f81 +SHA256 (eclipse/eclipse-3.5.2-src.tar.bz2) = e16b9d392132054733ef510fa41123e61dc5dbc25e386124d497d9d8469324cf +SIZE (eclipse/eclipse-3.5.2-src.tar.bz2) = 59509303 +MD5 (eclipse/apache-ant-1.7.1-bin.tar.bz2) = 9330447f3763b87570dd1118c49a8efd +SHA256 (eclipse/apache-ant-1.7.1-bin.tar.bz2) = 24e54c9d90b81d1b7342695a8285a969393fd883e99ffbbc04203c106d9c2f97 +SIZE (eclipse/apache-ant-1.7.1-bin.tar.bz2) = 7641928 +MD5 (eclipse/junit3.8.2.zip) = 9b8963ba2147a64bd5f1574b6fd289cb +SHA256 (eclipse/junit3.8.2.zip) = aae23d20e6f4dc45b4bf0b10fedcbd209c100342a0cafce1aa07d2da6da1f24a +SIZE (eclipse/junit3.8.2.zip) = 461426 +MD5 (eclipse/junit-4.8.1.jar) = fb44723f35c2f1af5c51eb729b502f0d +SHA256 (eclipse/junit-4.8.1.jar) = efd8cf93b57d01e8f5fbefbe1f17ae39e6e22553615926e00a6eefc307da21e6 +SIZE (eclipse/junit-4.8.1.jar) = 237047 +MD5 (eclipse/com.ibm.icu_4.0.1.v20090822.jar) = 2c0e3112c5fe9361ea61b905a02150e8 +SHA256 (eclipse/com.ibm.icu_4.0.1.v20090822.jar) = 9629635b5ab76be6de3364bf2487356f57941a7cbe04239a70db9df566c169e7 +SIZE (eclipse/com.ibm.icu_4.0.1.v20090822.jar) = 5787493 +MD5 (eclipse/com.jcraft.jsch_0.1.41.v200903070017.jar) = 43d0a7e7f2b72bc94827a1420c99a3e1 +SHA256 (eclipse/com.jcraft.jsch_0.1.41.v200903070017.jar) = ee8af42d01fbdd07a70762483b9eeda5dc8f23b386e04a6aa034b06df75c9396 +SIZE (eclipse/com.jcraft.jsch_0.1.41.v200903070017.jar) = 225576 +MD5 (eclipse/javax.servlet_2.5.0.v200806031605.jar) = e3ee9d09500707048362df8b16e7b4c2 +SHA256 (eclipse/javax.servlet_2.5.0.v200806031605.jar) = 4c5fef96a177c72fa28470cb23d65833a541c77e0ea0914fb3d92f7c6aa902f0 +SIZE (eclipse/javax.servlet_2.5.0.v200806031605.jar) = 117853 +MD5 (eclipse/javax.servlet.jsp_2.0.0.v200806031607.jar) = afa76cbe2cf90a605d0d415eae4d7109 +SHA256 (eclipse/javax.servlet.jsp_2.0.0.v200806031607.jar) = 7129d8eb8759eae6169cb494d2ee031bb75a3dab68bc789d92d8a34f2f8a873e +SIZE (eclipse/javax.servlet.jsp_2.0.0.v200806031607.jar) = 62707 +MD5 (eclipse/org.apache.commons.codec_1.3.0.v20080530-1600.jar) = 1cd0ceece90bf7523a0762afa2eceecd +SHA256 (eclipse/org.apache.commons.codec_1.3.0.v20080530-1600.jar) = 7bab3987cad2567c9baffef27667d3c20b4f12857dba2fbf0573524902ad05b0 +SIZE (eclipse/org.apache.commons.codec_1.3.0.v20080530-1600.jar) = 53772 +MD5 (eclipse/org.apache.commons.el_1.0.0.v200806031608.jar) = 8dfda26bbd970749ff7ae341a93c140f +SHA256 (eclipse/org.apache.commons.el_1.0.0.v200806031608.jar) = 0d8b55ca35e851ce3d1e5beeb0e4c32ab0630d4d21b3ce324ef0ac0a45e3ad37 +SIZE (eclipse/org.apache.commons.el_1.0.0.v200806031608.jar) = 127481 +MD5 (eclipse/org.apache.commons.httpclient_3.1.0.v20080605-1935.jar) = 8dd836d15bf93050746681d726242461 +SHA256 (eclipse/org.apache.commons.httpclient_3.1.0.v20080605-1935.jar) = 339385ec9ffd7398db682988afaf6ccdca82086cf0255e7dd1fc298dc8ba08d5 +SIZE (eclipse/org.apache.commons.httpclient_3.1.0.v20080605-1935.jar) = 320150 +MD5 (eclipse/org.apache.commons.logging_1.0.4.v200904062259.jar) = 805a903497b0a7df138ea5e4a1fd0f54 +SHA256 (eclipse/org.apache.commons.logging_1.0.4.v200904062259.jar) = 001948a5c62731984a3752043fb1f2d892806e1efb2ba8396c12fe5db2afadbd +SIZE (eclipse/org.apache.commons.logging_1.0.4.v200904062259.jar) = 44210 +MD5 (eclipse/org.apache.jasper_5.5.17.v200903231320.jar) = 0376ebc2882221c22315ffee622766fc +SHA256 (eclipse/org.apache.jasper_5.5.17.v200903231320.jar) = 0e440bffabde8db6ad20dee3075ad0a7a7699867be4f5e4b755fd1e56a93fb03 +SIZE (eclipse/org.apache.jasper_5.5.17.v200903231320.jar) = 1721330 +MD5 (eclipse/org.apache.lucene_1.9.1.v20080530-1600.jar) = 1188266fdd5e5d845ea3a4c54d148de1 +SHA256 (eclipse/org.apache.lucene_1.9.1.v20080530-1600.jar) = 64cfb714fc520fba75277494fadab655d3d14f9429dfcb5a55d547a9e1d90e3f +SIZE (eclipse/org.apache.lucene_1.9.1.v20080530-1600.jar) = 444122 +MD5 (eclipse/org.apache.lucene.analysis_1.9.1.v20080530-1600.jar) = a943517c8c2ce1b2c9bd05f3a0a313b9 +SHA256 (eclipse/org.apache.lucene.analysis_1.9.1.v20080530-1600.jar) = 7eb8cfbe5ff091b186666daa2778b021b1f24d47fffdc8aff7ce693095d6954f +SIZE (eclipse/org.apache.lucene.analysis_1.9.1.v20080530-1600.jar) = 70361 +MD5 (eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar) = aa182429a9bbe01c485571f199a471aa +SHA256 (eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar) = 211c869941f7151fe7d3ecaae31b53d128a2d97684ed4ce455d2ca4ea3a0abeb +SIZE (eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar) = 26650 +MD5 (eclipse/org.mortbay.jetty.server_6.1.15.v200905151201.jar) = a5108cbf1472be6299c0ea520e9d3dd1 +SHA256 (eclipse/org.mortbay.jetty.server_6.1.15.v200905151201.jar) = 06f490b0b13477cc110c78a9e5a2097e620404fa89ddc3411e66fd111d303599 +SIZE (eclipse/org.mortbay.jetty.server_6.1.15.v200905151201.jar) = 539578 +MD5 (eclipse/org.mortbay.jetty.util_6.1.15.v200905182336.jar) = ff20b874c732e0456f0c68032df06fff +SHA256 (eclipse/org.mortbay.jetty.util_6.1.15.v200905182336.jar) = b112a4f80922bd14ed5737160ba99fa4aabc04db6cea8913f2ca23d622e067ea +SIZE (eclipse/org.mortbay.jetty.util_6.1.15.v200905182336.jar) = 186357 +MD5 (eclipse/org.objectweb.asm_3.1.0.v200803061910.jar) = 35e516bfc32eb9145871c172b7cc4cf9 +SHA256 (eclipse/org.objectweb.asm_3.1.0.v200803061910.jar) = 62eac6f966b20394a349b44da04d87dd99c39edaa16b996d911c1cf88547388e +SIZE (eclipse/org.objectweb.asm_3.1.0.v200803061910.jar) = 220211 +MD5 (eclipse/org.sat4j.core_2.1.1.v20090825.jar) = 762d93cbd20e994347d2a9fabf085c01 +SHA256 (eclipse/org.sat4j.core_2.1.1.v20090825.jar) = 6f8541e936d770f8c21978f8939c5b97e9db38c0ac9826ae9a745ef91181d1a1 +SIZE (eclipse/org.sat4j.core_2.1.1.v20090825.jar) = 181816 +MD5 (eclipse/org.sat4j.pb_2.1.1.v20090825.jar) = a1de7d00453c99b8580bcc4c558be1d8 +SHA256 (eclipse/org.sat4j.pb_2.1.1.v20090825.jar) = 7329c67e844d59bbc2fd5d4cfcfbca7819eecfaac55afaf6c39c0d3dbcc108b0 +SIZE (eclipse/org.sat4j.pb_2.1.1.v20090825.jar) = 111984 +MD5 (eclipse/eclipse-sdktests-3.5.2-src.tar.bz2) = c0103f2bc13eb2049ad9c6abcf46f8d2 +SHA256 (eclipse/eclipse-sdktests-3.5.2-src.tar.bz2) = e2f2490e7854a26ccff3deca732e2565f3d86a246645160997b914a176924b06 +SIZE (eclipse/eclipse-sdktests-3.5.2-src.tar.bz2) = 86258617 +MD5 (eclipse/eclipse-sdktests-3.5.2-scripts.tar.bz2) = 4e0445e114067defa20135a06cb184a1 +SHA256 (eclipse/eclipse-sdktests-3.5.2-scripts.tar.bz2) = e06efe159fe1ee99536799795c6d76324d87fb125366ae03b85ada15f2629137 +SIZE (eclipse/eclipse-sdktests-3.5.2-scripts.tar.bz2) = 4802 diff --git a/java/eclipse-devel/files/eclipse-build-config-upstream.patch b/java/eclipse-devel/files/eclipse-build-config-upstream.patch new file mode 100644 index 000000000000..1395c355997f --- /dev/null +++ b/java/eclipse-devel/files/eclipse-build-config-upstream.patch @@ -0,0 +1,70 @@ +### 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-devel/files/eclipse-build-upstream.patch b/java/eclipse-devel/files/eclipse-build-upstream.patch new file mode 100644 index 000000000000..99bf3857f377 --- /dev/null +++ b/java/eclipse-devel/files/eclipse-build-upstream.patch @@ -0,0 +1,322 @@ +### 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) +@@ -88,6 +88,7 @@ + <ant inheritall="false" antfile="pdebuild.xml"> + <property name="buildId" value="${buildId}" /> + <property name="buildArch" value="${buildArch}" /> ++ <property name="buildOs" value="${buildOs}" /> + </ant> + </target> + +@@ -264,7 +265,10 @@ + <!-- end back-ported 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> + <echo file="patch-stamp" /> + </target> + +@@ -350,6 +354,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> + --> +@@ -404,9 +409,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"> +@@ -418,16 +423,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" /> +@@ -435,13 +440,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/liblocalfile_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}/liblocalfile_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> +@@ -544,7 +549,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} " /> +@@ -570,6 +575,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="-DproductFiles=${productFiles} " /> +@@ -587,7 +593,7 @@ + <param name="p2.director.profile" value="SDKProfile" /> + <param name="p2.director.install.path" value="${buildDirectory}/installation" /> + <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}" /> +@@ -647,6 +653,8 @@ + <chmod perm="ugo+rx" file="${basedir}/runtests.sh" /> + <exec executable="${basedir}/runtests.sh" dir="${basedir}"> + <arg value="-t${timestamp}" /> ++ <arg value="-a${buildArch}" /> ++ <arg value="-o${buildOs}" /> + </exec> + <property name="testResultDir" value="${basedir}/tests_${timestamp}/results" /> + <!-- Copy over the XML to generate a top-level report for all of the tests --> +@@ -772,7 +780,7 @@ + <property name="startupjarpath" refid="startupjar" /> + <symlink link="${destDir}/${prefix}/${libDir}/eclipse/startup.jar" resource="plugins/${startupjarpath}" /> + <!-- Create the "swt.jar" and friends symlinks --> +- <fileset dir="${destDir}/${prefix}/${libDir}/eclipse/plugins" includes="org.eclipse.swt.gtk.linux.${buildArch}_*" id="swtjar" /> ++ <fileset dir="${destDir}/${prefix}/${libDir}/eclipse/plugins" includes="org.eclipse.swt.gtk.${buildOs}.${buildArch}_*" id="swtjar" /> + <property name="swtjarpath" refid="swtjar" /> + <symlink link="${destDir}/${prefix}/${libDir}/eclipse/swt-gtk-3.5.2.jar" resource="plugins/${swtjarpath}" /> + <symlink link="${destDir}/${prefix}/${libDir}/eclipse/swt-gtk.jar" resource="plugins/${swtjarpath}" /> +Index: pdebuild.xml +=================================================================== +--- pdebuild.xml (revision 23733) ++++ pdebuild.xml (working copy) +@@ -78,7 +78,7 @@ + <file name="org.eclipse.help.base" /> + </filelist> + <filelist id="depsDirs2" dir="${sdkSource}/plugins"> +- <file name="org.eclipse.swt.gtk.linux.${buildArch}" /> ++ <file name="org.eclipse.swt.gtk.${buildOs}.${buildArch}" /> + <file name="org.eclipse.core.filesystem" /> + <file name="org.eclipse.core.resources" /> + <file name="org.eclipse.core.commands" /> +@@ -164,12 +164,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> +@@ -195,6 +197,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> +Index: publishProduct.xml +=================================================================== +--- publishProduct.xml (revision 23733) ++++ publishProduct.xml (working copy) +@@ -2,7 +2,7 @@ + <target name="publish"> + <echo message="Calling p2.publish.product with repository=${reposource} and productFile=${productFiles}/sdk/sdk.product"/> + <p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${productFiles}/sdk/sdk.product" 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) +@@ -14,6 +14,8 @@ + -g Don't run the tests headless + -d Allow remote connection to test runs' JVM + -t Timestamp string with which to tag the results ++ -a Architecture to run the tests on ++ -o OS to run the tests on + _EOF_ + } + +@@ -72,6 +74,7 @@ + # Defaults + debugTests=0 + headless=1 ++ buildOs=linux + testFramework=org.eclipse.test_3.2.0 + if [ -z ${timestamp} ]; then + timestamp=$(date "+%Y%m%d%H%M%S") +@@ -116,21 +119,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 + } + +@@ -139,9 +137,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() { +@@ -160,13 +160,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 + } + +@@ -177,7 +179,7 @@ + -application org.eclipse.ant.core.antRunner \ + -file $testDriver \ + -Declipse-home=${eclipseHome} \ +- -Dos=linux \ ++ -Dos=${buildOs} \ + -Dws=gtk \ + -Darch=${arch} \ + -Dlibrary-file=$libraryXml \ +@@ -185,7 +187,7 @@ + -logger org.apache.tools.ant.DefaultLogger \ + -vmargs \ + -Duser.home=${homedir} \ +- -Dosgi.os=linux \ ++ -Dosgi.os=${buildOs} \ + -Dosgi.ws=gtk \ + -Dosgi.arch=${arch} + } +@@ -288,7 +290,7 @@ + } + + # Command-line arguments +-while getopts "de:gt:h" OPTION ++while getopts "de:gt:a:o:h" OPTION + do + case $OPTION in + d) +@@ -300,6 +302,12 @@ + t) + timestamp=$OPTARG + ;; ++ a) ++ buildArch=$OPTARG ++ ;; ++ o) ++ buildOs=$OPTARG ++ ;; + h) + usage + exit 1 +Index: build.sh +=================================================================== +--- build.sh (revision 23733) ++++ build.sh (working copy) +@@ -38,5 +38,5 @@ + esac + DATE=`date +%Y%m%d%H%M%S` + +-ant -DbuildArch=${arch} 2>&1 | tee build_${DATE}.log ++ant -DbuildArch=${arch} -DbuildOs=linux 2>&1 | tee build_${DATE}.log + echo "Build log is available in build_${DATE}.log" diff --git a/java/eclipse-devel/files/eclipse.desktop b/java/eclipse-devel/files/eclipse.desktop deleted file mode 100644 index 9afbdca01a65..000000000000 --- a/java/eclipse-devel/files/eclipse.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Comment=Eclipse IDE -Name=%%ECLIPSE%% -Exec=%%PREFIX%%/bin/%%ECLIPSE%% -Encoding=UTF-8 -Terminal=false -Type=Application -Icon=%%ECLIPSE_HOME%%/icon.xpm -Categories=Application;Development; - diff --git a/java/eclipse-devel/files/eclipse.in b/java/eclipse-devel/files/eclipse.in index 3f30044bbe93..bfddbfe03c90 100644 --- a/java/eclipse-devel/files/eclipse.in +++ b/java/eclipse-devel/files/eclipse.in @@ -6,12 +6,10 @@ # # $FreeBSD$ # -DEFAULT_JAVA_HOME=%%PREFIX%% +DEFAULT_JAVA_HOME=%%JAVA_HOME%% ECLIPSE_HOME=%%ECLIPSE_HOME%% DEFAULT_JAVA_CMD=java -MOZILLA_FIVE_HOME=%%LOCALBASE%%/lib/%%BROWSER%% -LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME -export MOZILLA_FIVE_HOME LD_LIBRARY_PATH +export GRE_HOME=%%LOCALBASE%%/lib/%%BROWSER%% #----------------------------------------------------------------------------- # Determine configuration settings diff --git a/java/eclipse-devel/files/freebsd-support.patch b/java/eclipse-devel/files/freebsd-support.patch new file mode 100644 index 000000000000..f49544804edf --- /dev/null +++ b/java/eclipse-devel/files/freebsd-support.patch @@ -0,0 +1,8070 @@ +$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" +@@ -97,6 +98,7 @@ + "SunOS") + makefile="make_solaris.mak" + defaultOS="solaris" ++ MAKE=make + javaHome="/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=gcc ++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\"" ++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 +@@ -89,3 +89,6 @@ + + root.linux.motif.x86=bin/motif/linux/x86,motif_root + root.linux.motif.x86.permissions.755=libXm.so.2,libcairo-swt.so ++ ++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" +@@ -707,6 +729,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.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,32 @@ ++#********************************************************************** ++# 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 libcore.so ++ ++CORE.C = ../localfile.c ++CORE.O = localfile.o ++LIB_NAME = liblocalfile.so ++LIB_NAME_FULL = liblocalfile_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 : ++ gcc $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) $(COMMON_INCLUDE) -o $(CORE.O) $(CORE.C) ++ gcc $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc ++ ++clean : ++ rm *.o +--- 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 ("Content"). Unless otherwise ++indicated below, the Content is provided to you under the terms and conditions of the ++Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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 ("Content"). Unless otherwise ++indicated below, the Content is provided to you under the terms and conditions of the ++Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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: GCC C Compiler" ++ gcc $(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 "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.linux.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 ("Content"). Unless otherwise ++indicated below, the Content is provided to you under the terms and conditions of the ++Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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.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.0.200.qualifier ++Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.0.0,1.1.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 ("Content"). ++Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the ++Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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.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.0.200.qualifier ++Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.0.0,1.1.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 ("Content"). ++Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the ++Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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.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.linux.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.linux.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.0.200.qualifier ++Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.0.0,1.1.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 ("Content"). ++Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the ++Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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.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.metadata.generator/src/org/eclipse/equinox/internal/p2/metadata/generator/features/ProductFile.java 2009-03-09 18:37:22.000000000 -0400 ++++ build/eclipse-3.5.2-src/plugins/org.eclipse.equinox.p2.metadata.generator/src/org/eclipse/equinox/internal/p2/metadata/generator/features/ProductFile.java 2009-12-23 15:14:12.431975410 -0500 +@@ -27,11 +27,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$ +@@ -53,6 +55,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$ + + private static final String PRODUCT = "product"; //$NON-NLS-1$ + private static final String CONFIG_INI = "configIni"; //$NON-NLS-1$ +@@ -70,16 +73,18 @@ + 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_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 int state = STATE_START; + +@@ -190,6 +195,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); +@@ -213,6 +220,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); +@@ -264,6 +273,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); +@@ -275,6 +286,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)) { +@@ -285,6 +298,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)) { +@@ -330,11 +345,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 : +@@ -356,6 +373,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; +@@ -371,6 +391,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; +@@ -500,6 +523,12 @@ + result.add(attributes.getValue(WIN32_48_LOW)); + } + ++ private void processFreeBSD(Attributes attributes) { ++ if (!osMatch(OS_FREEBSD)) ++ return; ++ result.add(attributes.getValue("icon")); //$NON-NLS-1$ ++ } ++ + private void processLinux(Attributes attributes) { + if (!osMatch(OS_LINUX)) + return; +--- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.equinox.p2.publisher/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/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java 2009-12-23 15:14:12.440005914 -0500 +@@ -93,6 +93,8 @@ + brandAIX(); + if ("hpux".equals(os)) //$NON-NLS-1$ + brandHPUX(); ++ if ("freebsd".equals(os)) //$NON-NLS-1$ ++ brandFreeBSD(); + } + + private void brandAIX() { +@@ -213,6 +215,12 @@ + } + } + ++ private void brandFreeBSD() throws Exception { ++ renameLauncher(); ++ if (brandIcons) ++ 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.equinox.p2.publisher/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/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 +@@ -80,6 +80,8 @@ + brandAIX(); + if ("hpux".equals(os)) //$NON-NLS-1$ + brandHPUX(); ++ if ("freebsd".equals(os)) //$NON-NLS-1$ ++ brandFreeBSD(); + } + + private void brandAIX() { +@@ -107,6 +109,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 brandSolaris() throws Exception { + renameLauncher(); + if (brandIcons == false) +--- 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 || `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 || `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 +@@ -327,6 +327,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: +@@ -2282,4 +2283,4 @@ + + Product_FeatureSection_properties=Properties... + +-PDEJUnitLaunchConfigurationTab_Run_Tests_In_UI_Thread=Run in &UI thread +\ No newline at end of file ++PDEJUnitLaunchConfigurationTab_Run_Tests_In_UI_Thread=Run in &UI thread +--- 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:]'` +@@ -114,7 +116,13 @@ + fi + + if [ -z "${MOZILLA_INCLUDES}" -a -z "${MOZILLA_LIBS}" ]; then +- if [ x`pkg-config --exists mozilla-xpcom && echo YES` = "xYES" ]; then ++ if [ x`pkg-config --exists libxul && echo YES` = "xYES" ]; then ++ XULRUNNER_INCLUDES=`pkg-config --cflags libxul-unstable` ++ XULRUNNER_LIBS="`pkg-config --libs libxul-unstable` -lxpcomglue" ++ export XULRUNNER_INCLUDES ++ export XULRUNNER_LIBS ++ MAKE_MOZILLA="make_xulrunner make_xpcominit" ++ elif [ x`pkg-config --exists mozilla-xpcom && echo YES` = "xYES" ]; then + MOZILLA_INCLUDES=`pkg-config --cflags mozilla-xpcom` + MOZILLA_LIBS=`pkg-config --libs mozilla-xpcom` + export MOZILLA_INCLUDES +@@ -126,12 +134,6 @@ + export MOZILLA_INCLUDES + export MOZILLA_LIBS + MAKE_MOZILLA="make_mozilla make_xpcominit" +- elif [ x`pkg-config --exists libxul && echo YES` = "xYES" ]; then +- XULRUNNER_INCLUDES=`pkg-config --cflags libxul-unstable` +- XULRUNNER_LIBS="`pkg-config --libs libxul-unstable` -lxpcomglue" +- export XULRUNNER_INCLUDES +- export XULRUNNER_LIBS +- MAKE_MOZILLA="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.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 +@@ -1,5 +1,5 @@ + #******************************************************************************* +-# Copyright (c) 2000, 2007 IBM Corporation and others. ++# Copyright (c) 2000, 2009 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 +@@ -46,7 +46,7 @@ + + # 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 + +@@ -59,7 +59,7 @@ + GNOMELIBS = `pkg-config --libs-only-L gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -lgnomevfs-2 -lgnome-2 -lgnomeui-2 + + GLXCFLAGS = +-GLXLIBS = -shared -fPIC -L/usr/X11R6/lib -lGL -lGLU -lm ++GLXLIBS = -shared -fPIC -L${LOCALBASE}/lib -lGL -lGLU -lm + + # Uncomment for Native Stats tool + #NATIVE_STATS = -DNATIVE_STATS +@@ -78,7 +78,17 @@ + -I$(JAVA_HOME)/include/freebsd \ + ${SWT_PTR_CFLAGS} + MOZILLALIBS = -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 ++ + 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,7 +97,7 @@ + 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 + GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o + +@@ -95,6 +105,7 @@ + -DSWT_VERSION=$(SWT_VERSION) \ + $(NATIVE_STATS) \ + -DFREEBSD -DGTK \ ++ -I${LOCALBASE}/include \ + -I$(JAVA_HOME)/include \ + -I$(JAVA_HOME)/include/freebsd \ + -fPIC \ +@@ -209,16 +220,16 @@ + $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALIBS) ${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 +240,16 @@ + $(CXX) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALIBS) ${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 +--- 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.5.0.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 ("Content"). Unless otherwise ++indicated below, the Content is provided to you under the terms and conditions of the ++Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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’s license for ++terms and conditions of use.</p> ++ ++<h4>Gnome Binding</h4> ++ ++<p>The "Gnome Binding" 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 "xxxx" 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 ("Library"). 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 ("LGPL"). 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 "GTK+ Binding" 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 "xxxx" is the version number)</li> ++ <li>libswt-pi-gtk-xxxx.so (where "xxxx" 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+ ("Library"). 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 ("LGPL"). 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 "Mozilla Binding" 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 "xxxx" is the version number)</li> ++ <li>libswt-mozilla-gcc3-gtk-xxxx.so (where "xxxx" is the version number)</li> ++ <li>libswt-xulrunner-gtk-xxxx.so (where "xxxx" is the version number)</li> ++ <li>libswt-xpcominit-gtk-xxxx.so (where "xxxx" 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 ("Mozilla"). 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 ("MPL"). 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 "xxxx" 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>"//SWT-20090407"</em>. ++ ++<h4>Cairo Binding</h4> ++ ++<p>The "Cairo Binding" 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 "xxxx" 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 ("Cairo"). 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 ("MPL"). 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 "Cairo for Linux." ++ ++<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 ("LIBJPEG"). ++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 "Software"), 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 "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 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 ("Cairo") 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 ("Cairo Library"):</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 ("MPL"). 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 ("pixman") 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 ("Redistributor") 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,419 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<project name="org.eclipse.swt.gtk.freebsd.x86" default="build.jars" basedir="."> ++ ++ <target name="init" depends="properties"> ++ <property name="compilerArg" value="" /> ++ <property name="ws" value="gtk" /> ++ <property name="os" value="freebsd" /> ++ <property name="arch" value="x86" /> ++ <property name="fragment" value="org.eclipse.swt.gtk.freebsd.x86" /> ++ <property name="version.suffix" value="3.5.0" /> ++ <property name="full.name" value="${fragment}_${version.suffix}" /> ++ <property name="temp.folder" value="${basedir}/temp.folder" /> ++ <property name="plugin.destination" value="${basedir}" /> ++ <property name="build.result.folder" value="${basedir}" /> ++ <property name="destination" value="${basedir}" /> ++ <property name="plugindir" value="../org.eclipse.swt" /> ++ <property name="bootclasspath" value="" /> ++ <property name="javacVerbose" value="false" /> ++ <property name="logExtension" value=".xml" /> ++ <property name="javacSource" value="1.3" /> ++ <property name="javacTarget" value="1.2" /> ++ <path id="path_bootclasspath"> ++ <fileset dir="${java.home}/lib"> ++ <include name="*.jar" /> ++ </fileset> ++ </path> ++ <property name="bootclasspath" refid="path_bootclasspath" /> ++ <condition property="bundleBootClasspath" value="${CDC-1.0/Foundation-1.0}"> ++ <isset property="CDC-1.0/Foundation-1.0" /> ++ </condition> ++ <condition property="bundleBootClasspath" value="${J2SE-1.3}"> ++ <isset property="J2SE-1.3" /> ++ </condition> ++ <property name="bundleJavacSource" value="${javacSource}" /> ++ <property name="bundleJavacTarget" value="${javacTarget}" /> ++ <property name="bundleBootClasspath" value="${bootclasspath}" /> ++ <condition property="p2.publish.parts" value="true"> ++ <istrue value="${p2.gathering}" /> ++ </condition> ++ </target> ++ ++ <target name="properties" if="eclipse.running"> ++ <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter" /> ++ </target> ++ ++ <target name="build.update.jar" depends="init"> ++ <delete dir="${temp.folder}" /> ++ <mkdir dir="${temp.folder}" /> ++ <antcall target="build.jars" /> ++ <antcall target="gather.bin.parts"> ++ <param name="destination.temp.folder" value="${temp.folder}/" /> ++ </antcall> ++ <zip zipfile="${plugin.destination}/${full.name}.jar" basedir="${temp.folder}/${full.name}" filesonly="false" /> ++ <delete dir="${temp.folder}" /> ++ </target> ++ ++ <target name="@dot" depends="init" unless="@dot" description="Create jar: @dot."> ++ <property name="destdir" value="${temp.folder}/@dot.bin" /> ++ <property name="debug" value="true" /> ++ <property name="jar.filename" value="swt.jar" /> ++ <delete dir="${temp.folder}/@dot.bin" /> ++ <mkdir dir="${temp.folder}/@dot.bin" /> ++ <javac destdir="${temp.folder}/@dot.bin" verbose="${javacVerbose}" debug="${debug}" failonerror="no" classpath="${plugindir}/extra_jars/exceptions.jar" bootclasspath="${bundleBootClasspath}" source="${bundleJavacSource}" target="${bundleJavacTarget}"> ++ <src path="${plugindir}/Eclipse SWT/cairo/" /> ++ <src path="${plugindir}/Eclipse SWT/common/" /> ++ <src path="${plugindir}/Eclipse SWT/common_j2se/" /> ++ <src path="${plugindir}/Eclipse SWT/emulated/bidi/" /> ++ <src path="${plugindir}/Eclipse SWT/emulated/coolbar/" /> ++ <src path="${plugindir}/Eclipse SWT/gtk/" /> ++ <src path="${plugindir}/Eclipse SWT Accessibility/common/" /> ++ <src path="${plugindir}/Eclipse SWT Accessibility/gtk/" /> ++ <src path="${plugindir}/Eclipse SWT AWT/common/" /> ++ <src path="${plugindir}/Eclipse SWT AWT/gtk/" /> ++ <src path="${plugindir}/Eclipse SWT Browser/common/" /> ++ <src path="${plugindir}/Eclipse SWT Mozilla/common/" /> ++ <src path="${plugindir}/Eclipse SWT Mozilla/gtk/" /> ++ <src path="${plugindir}/Eclipse SWT Custom Widgets/common/" /> ++ <src path="${plugindir}/Eclipse SWT Drag and Drop/common/" /> ++ <src path="${plugindir}/Eclipse SWT Drag and Drop/gtk/" /> ++ <src path="${plugindir}/Eclipse SWT OpenGL/gtk/" /> ++ <src path="${plugindir}/Eclipse SWT OpenGL/glx/" /> ++ <src path="${plugindir}/Eclipse SWT OpenGL/common/" /> ++ <src path="${plugindir}/Eclipse SWT PI/cairo/" /> ++ <src path="${plugindir}/Eclipse SWT PI/common/" /> ++ <src path="${plugindir}/Eclipse SWT PI/common_j2se/" /> ++ <src path="${plugindir}/Eclipse SWT PI/gtk/" /> ++ <src path="${plugindir}/Eclipse SWT Printing/common/" /> ++ <src path="${plugindir}/Eclipse SWT Printing/gtk/" /> ++ <src path="${plugindir}/Eclipse SWT Program/cde/" /> ++ <src path="${plugindir}/Eclipse SWT Program/common/" /> ++ <src path="${plugindir}/Eclipse SWT Program/gnome/" /> ++ <src path="${plugindir}/Eclipse SWT Program/gtk/" /> ++ <src path="${plugindir}/Eclipse SWT Theme/gtk/" /> ++ <compilerarg line="-log '${temp.folder}'/@dot.bin${logExtension}" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" /> ++ <compilerarg line="${compilerArg}" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" /> ++ </javac> ++ <property name="includes" value="" /> ++ <property name="excludes" value="**/*.java,**/library/,**/package.htm*,**/*._properties,**/*.idl" /> ++ <copy todir="${temp.folder}/@dot.bin"> ++ <fileset dir="${plugindir}/Eclipse SWT/cairo/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common_j2se/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT/emulated/bidi/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT/emulated/coolbar/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Accessibility/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Accessibility/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT AWT/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT AWT/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Browser/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Mozilla/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Mozilla/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Custom Widgets/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Drag and Drop/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Drag and Drop/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/cairo/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/common_j2se/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Printing/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Printing/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/cde/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/gnome/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/Eclipse SWT Theme/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/components/" includes="${includes}" excludes="${excludes}" /> ++ </copy> ++ <antcall target="copy.translationfiles" /> ++ ++ <mkdir dir="${build.result.folder}/@dot" /> ++ <copy todir="${build.result.folder}/@dot" failonerror="true"> ++ <fileset dir="${temp.folder}/@dot.bin" /> ++ </copy> ++ <!-- prepare a jar file solely for the download target --> ++ <jar jarfile="${build.result.folder}/${jar.filename}" basedir="${temp.folder}/@dot.bin" /> ++ <delete dir="${temp.folder}/@dot.bin" /> ++ </target> ++ ++ <target name="build.jars" depends="init"> ++ <available property="@dot" file="${build.result.folder}/@dot" /> ++ <antcall target="@dot" /> ++ </target> ++ ++ <target name="build.cfiles" depends="init"> ++ <mkdir dir="${build.result.folder}/library" /> ++ <copy todir="${build.result.folder}/library"> ++ <fileset dir="${plugindir}/Eclipse SWT/common/library" /> ++ <fileset dir="${plugindir}/Eclipse SWT AWT/gtk/library" /> ++ <fileset dir="${plugindir}/Eclipse SWT Mozilla/common/library" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/library" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/cairo/library" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/common/library"/> ++ <fileset dir="${plugindir}/Eclipse SWT PI/gtk/library" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/cde/library" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/gnome/library" /> ++ </copy> ++ </target> ++ ++ <target name="build.nativeLibraries" depends="build.cfiles"> ++ <exec dir="${build.result.folder}/library" executable="sh"> ++ <env key="OUTPUT_DIR" value="${build.result.folder}" /> ++ <arg line="${build.result.folder}/library/build.sh" /> ++ <arg line="install" /> ++ </exec> ++ </target> ++ ++ <target name="src.zip" depends="init" unless="src.zip"> ++ <mkdir dir="${build.result.folder}/" /> ++ <zip zipfile="${build.result.folder}/src.zip"> ++ <fileset dir="${plugindir}/Eclipse SWT/cairo/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common_j2se/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/emulated/bidi/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/emulated/coolbar/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Accessibility/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Accessibility/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT AWT/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT AWT/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT AWT/gtk/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT Browser/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Mozilla/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Mozilla/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Mozilla/common/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT Custom Widgets/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Drag and Drop/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Drag and Drop/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/cairo/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/cairo/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/common_j2se/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/common/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/gtk/library/" excludes="**/*.sh" /> ++ <zipfileset filemode="755" dir="${plugindir}/Eclipse SWT PI/gtk/library/" includes="**/*.sh" /> ++ <fileset dir="${plugindir}/Eclipse SWT Printing/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Printing/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/cde/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/cde/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/gnome/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/gnome/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Theme/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common_j2se/" includes="**/*.properties" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common/" includes="**/version.txt" excludes="" /> ++ <fileset dir="${basedir}" includes="about.html,about_files/" excludes="" /> ++ </zip> ++ </target> ++ ++ <target name="copy.src" depends="init"> ++ <copy todir="${destination.temp.folder}/" failonerror="true" overwrite="true"> ++ <fileset dir="${plugindir}/Eclipse SWT/cairo/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common_j2se/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/emulated/bidi/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/emulated/coolbar/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Accessibility/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Accessibility/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT AWT/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT AWT/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT AWT/gtk/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT Browser/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Mozilla/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Mozilla/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Mozilla/common/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT Custom Widgets/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Drag and Drop/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Drag and Drop/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/cairo/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/cairo/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/common_j2se/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/common/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT PI/gtk/library/" /> ++ <!--<zipfileset filemode="755" dir="${plugindir}/Eclipse SWT PI/gtk/library/" includes="**/*.sh"/> --> ++ <fileset dir="${plugindir}/Eclipse SWT Printing/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Printing/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/cde/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/cde/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/gnome/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/gnome/library/" /> ++ <fileset dir="${plugindir}/Eclipse SWT Program/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT Theme/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common_j2se/" includes="**/*.properties" excludes="" /> ++ <fileset dir="${plugindir}/Eclipse SWT/common/" includes="**/version.txt" excludes="" /> ++ <fileset dir="${basedir}" includes="about.html,about_files/" excludes="" /> ++ </copy> ++ </target> ++ ++ <target name="build.sources" depends="init"> ++ <available property="src.zip" file="${build.result.folder}/src.zip" /> ++ <antcall target="src.zip" /> ++ </target> ++ ++ <target name="build.zips" depends="init"> ++ </target> ++ ++ <target name="gather.sources" depends="init" if="destination.temp.folder"> ++ <mkdir dir="${destination.temp.folder}/${full.name}" /> ++ <copy file="${build.result.folder}/src.zip" todir="${destination.temp.folder}/${full.name}/" /> ++ <copy todir="${destination.temp.folder}/${full.name}"> ++ <fileset dir="${basedir}" includes="about.html" /> ++ <fileset dir="${basedir}" includes="about_files/" /> ++ </copy> ++ </target> ++ ++ <target name="gather.individual.sources" depends="init"> ++ <antcall target="copy.src" /> ++ <copy todir="${destination.temp.folder}"> ++ <fileset dir="${basedir}" includes="about.html,about_files/" /> ++ </copy> ++ </target> ++ ++ <target name="gather.logs" depends="init" if="destination.temp.folder"> ++ <mkdir dir="${destination.temp.folder}/${full.name}" /> ++ <copy file="${temp.folder}/@dot.bin${logExtension}" todir="${destination.temp.folder}/${full.name}/" /> ++ </target> ++ ++ <target name="publish.bin.parts" depends="init" if="p2.publish.parts"> ++ <antcall target="gather.bin.parts"> ++ <param name="destination.temp.folder" value="${build.result.folder}" /> ++ </antcall> ++ <eclipse.gatherBundle metadataRepository="${p2.build.repo}" artifactRepository="${p2.build.repo}" buildResultFolder="${build.result.folder}" targetFolder="${build.result.folder}/${full.name}" /> ++ </target> ++ ++ <target name="gather.bin.parts" depends="init" if="destination.temp.folder"> ++ <mkdir dir="${destination.temp.folder}/${full.name}" /> ++ <copy todir="${destination.temp.folder}/${full.name}" failonerror="true"> ++ <fileset dir="${build.result.folder}/@dot" includes="**" /> ++ </copy> ++ <copy todir="${destination.temp.folder}/${full.name}"> ++ <fileset dir="${basedir}" includes="fragment.properties,swt*.dll,libswt*.so,libswt*.sl,libswt*.a,libswt*.jnilib,libcairo-swt.so,META-INF/" /> ++ <fileset dir="${basedir}" includes="about.html" /> ++ <fileset dir="${basedir}" includes="about_files/" /> ++ </copy> ++ <chmod perm="755" dir="${destination.temp.folder}/${full.name}" includes="swt*.dll,libswt*.so,libswt*.sl,libswt*.a,libswt*.jnilib,libcairo-swt.so" /> ++ <eclipse.versionReplacer path="${destination.temp.folder}/${full.name}" version="${version.suffix}" /> ++ <antcall target="apitools.generation"> ++ <param name="target.folder" value="${destination.temp.folder}/${full.name}"/> ++ <param name="projectLocation" value="${basedir}"/> ++ <param name="binary.folders" value="${build.result.folder}/@dot"/> ++ <param name="projectName" value="${full.name}"/> ++ <param name="extraSourceLocations" value="${basedir}/${plugindir}"/> ++ <param name="extraManifests" value="${basedir}/${plugindir}/META-INF/MANIFEST.MF"/> ++ </antcall> ++ </target> ++ ++ <target name="swtdownload" depends="init"> ++ <delete dir="${temp.folder}" /> ++ <delete dir="${build.result.folder}/@dot" /> ++ <!-- ensure entry into @dot target --> ++ <mkdir dir="${temp.folder}/swtdownload/" /> ++ <property name="includetranslationfiles" value="true" /> ++ <antcall target="build.jars"> ++ <param name="debug" value="true" /> ++ <param name="jar.filename" value="swt-debug.jar" /> ++ </antcall> ++ <jar jarfile="${build.result.folder}/swt-debug.jar" basedir="${basedir}" update="true" includes="swt*.dll,libswt*.so,libswt*.sl,libswt*.a,libswt*.jnilib,libXm.so.2" /> ++ <copy file="${build.result.folder}/swt-debug.jar" todir="${temp.folder}/swtdownload" /> ++ <delete dir="${build.result.folder}/@dot" /> ++ <!-- this is needed to re-enter @dot --> ++ <antcall target="build.jars"> ++ <param name="debug" value="false" /> ++ <param name="jar.filename" value="swt.jar" /> ++ </antcall> ++ <jar jarfile="${build.result.folder}/swt.jar" basedir="${basedir}" update="true" includes="swt*.dll,libswt*.so,libswt*.sl,libswt*.a,libswt*.jnilib,libXm.so.2" /> ++ <copy file="${build.result.folder}/swt.jar" todir="${temp.folder}/swtdownload" /> ++ <antcall target="build.sources" /> ++ <copy file="${build.result.folder}/src.zip" todir="${temp.folder}/swtdownload" /> ++ <copy file="${plugindir}/build/.project" todir="${temp.folder}/swtdownload" /> ++ <copy file="${plugindir}/build/.classpath" todir="${temp.folder}/swtdownload" /> ++ <copy todir="${temp.folder}/swtdownload"> ++ <fileset dir="${basedir}" includes="about.html,about_files/" /> ++ </copy> ++ <zip zipfile="${destination}/swt-${buildid}-${ws}-${os}-${arch}.zip"> ++ <zipfileset dir="${temp.folder}/swtdownload/" /> ++ </zip> ++ <delete dir="${temp.folder}" /> ++ </target> ++ ++ <target name="clean" depends="init"> ++ <delete dir="${build.result.folder}/@dot" /> ++ <delete file="${build.result.folder}/src.zip" /> ++ <delete file="${plugin.destination}/${full.name}.jar" /> ++ <delete file="${plugin.destination}/${full.name}.zip" /> ++ <delete dir="${temp.folder}" /> ++ </target> ++ ++ <target name="refresh" depends="init" if="eclipse.running"> ++ <eclipse.refreshLocal resource="${fragment}" depth="infinite" /> ++ </target> ++ ++ <target name="zip.plugin" depends="init"> ++ <delete dir="${temp.folder}" /> ++ <mkdir dir="${temp.folder}" /> ++ <antcall target="build.jars" /> ++ <antcall target="build.sources" /> ++ <antcall target="gather.bin.parts"> ++ <param name="destination.temp.folder" value="${temp.folder}/" /> ++ </antcall> ++ <antcall target="gather.sources"> ++ <param name="destination.temp.folder" value="${temp.folder}/" /> ++ </antcall> ++ <delete> ++ <fileset dir="${temp.folder}" includes="**/*.bin${logExtension}" /> ++ </delete> ++ <zip zipfile="${plugin.destination}/${full.name}.zip" basedir="${temp.folder}" filesonly="true" /> ++ <delete dir="${temp.folder}" /> ++ </target> ++ ++ <target name="copy.translationfiles" if="includetranslationfiles"> ++ <copy todir="${temp.folder}/@dot.bin" overwrite="true"> ++ <fileset dir="${plugindir}/Eclipse SWT/common_j2se/" includes="**/*._properties" excludes="" /> ++ </copy> ++ <move todir="${temp.folder}/@dot.bin" overwrite="true"> ++ <fileset dir="${temp.folder}/@dot.bin/" includes="**/*._properties" excludes="" /> ++ <mapper type="glob" from="*._properties" to="*.properties" /> ++ </move> ++ </target> ++ ++ <target name="jar.plugin" depends="init"> ++ <delete dir="${temp.folder}" /> ++ <mkdir dir="${temp.folder}" /> ++ <antcall target="build.jars" /> ++ <antcall target="gather.bin.parts"> ++ <param name="destination.temp.folder" value="${temp.folder}/" /> ++ </antcall> ++ <jar jarfile="${plugin.destination}/${full.name}.jar" basedir="${temp.folder}/${full.name}" filesonly="true" /> ++ <delete dir="${temp.folder}" /> ++ </target> ++ ++ <target name="apitools.generation" if="generateAPIDescription"> ++ <apitooling.apigeneration ++ projectName="${projectName}" ++ project="${projectLocation}" ++ binary="${binary.folders}" ++ target="${target.folder}" ++ extraManifests="${extraManifests}" ++ extraSourceLocations="${extraSourceLocations}"/> ++ </target> ++</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/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.5.0.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 ("Content"). Unless otherwise ++indicated below, the Content is provided to you under the terms and conditions of the ++Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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’s license for ++terms and conditions of use.</p> ++ ++<h4>Gnome Binding</h4> ++ ++<p>The "Gnome Binding" 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 "xxxx" 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 ("Library"). 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 ("LGPL"). 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 "GTK+ Binding" 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 "xxxx" is the version number)</li> ++ <li>libswt-pi-gtk-xxxx.so (where "xxxx" 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+ ("Library"). 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 ("LGPL"). 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 "Mozilla Binding" 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 "xxxx" is the version number)</li> ++ <li>libswt-mozilla-gcc3-gtk-xxxx.so (where "xxxx" is the version number)</li> ++ <li>libswt-xulrunner-gtk-xxxx.so (where "xxxx" is the version number)</li> ++ <li>libswt-xpcominit-gtk-xxxx.so (where "xxxx" 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 ("Mozilla"). 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 ("MPL"). 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 "xxxx" 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>"//SWT-20090407"</em>. ++ ++<h4>Cairo Binding</h4> ++ ++<p>The "Cairo Binding" 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 "xxxx" 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 ("Cairo"). 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 ("MPL"). 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 "Cairo for Linux." ++ ++<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 ("LIBJPEG"). ++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 "Software"), 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 "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 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 ("Cairo") 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 ("Cairo Library"):</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 ("MPL"). 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 ("pixman") 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 ("Redistributor") 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,449 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<project name="org.eclipse.swt.gtk.freebsd.x86_64" default="build.jars" basedir="."> ++ ++ <target name="init" depends="properties"> ++ <property name="compilerArg" value="" /> ++ <property name="ws" value="gtk" /> ++ <property name="os" value="freebsd" /> ++ <property name="arch" value="x86_64" /> ++ <property name="fragment" value="org.eclipse.swt.gtk.freebsd.x86_64" /> ++ <property name="version.suffix" value="3.5.0" /> ++ <property name="full.name" value="${fragment}_${version.suffix}" /> ++ <property name="temp.folder" value="${basedir}/temp.folder" /> ++ <property name="plugin.destination" value="${basedir}" /> ++ <property name="build.result.folder" value="${basedir}" /> ++ <property name="destination" value="${basedir}" /> ++ <property name="plugindir" value="../org.eclipse.swt" /> ++ <property name="temp.folder.64" value="${basedir}/temp.folder/64" /> ++ <property name="toolsplugindir" value="../org.eclipse.swt.tools" /> ++ <property name="javacVerbose" value="false" /> ++ <property name="logExtension" value=".xml" /> ++ <property name="javacSource" value="1.3" /> ++ <property name="javacTarget" value="1.2" /> ++ <path id="path_bootclasspath"> ++ <fileset dir="${java.home}/lib"> ++ <include name="*.jar" /> ++ </fileset> ++ </path> ++ <property name="bootclasspath" refid="path_bootclasspath" /> ++ <condition property="bundleBootClasspath" value="${CDC-1.0/Foundation-1.0}"> ++ <isset property="CDC-1.0/Foundation-1.0" /> ++ </condition> ++ <condition property="bundleBootClasspath" value="${J2SE-1.3}"> ++ <isset property="J2SE-1.3" /> ++ </condition> ++ <property name="bundleJavacSource" value="${javacSource}" /> ++ <property name="bundleJavacTarget" value="${javacTarget}" /> ++ <property name="bundleBootClasspath" value="${bootclasspath}" /> ++ <condition property="p2.publish.parts" value="true"> ++ <istrue value="${p2.gathering}" /> ++ </condition> ++ </target> ++ ++ <target name="properties" if="eclipse.running"> ++ <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter" /> ++ <!--compile the jar in org.eclipse.swt.tools--> ++ </target> ++ ++ <target name="build.update.jar" depends="init"> ++ <delete dir="${temp.folder}" /> ++ <mkdir dir="${temp.folder}" /> ++ <antcall target="build.jars" /> ++ <antcall target="gather.bin.parts"> ++ <param name="destination.temp.folder" value="${temp.folder}/" /> ++ </antcall> ++ <zip zipfile="${plugin.destination}/${full.name}.jar" basedir="${temp.folder}/${full.name}" filesonly="false" /> ++ <delete dir="${temp.folder}" /> ++ </target> ++ ++ <target name="@dot" depends="init" unless="@dot" description="Create jar: @dot."> ++ <property name="destdir" value="${temp.folder}/@dot.bin" /> ++ <property name="debug" value="true" /> ++ <property name="jar.filename" value="swt.jar" /> ++ <delete dir="${temp.folder}/@dot.bin" /> ++ <mkdir dir="${temp.folder}/@dot.bin" /> ++ <javac destdir="${temp.folder}/@dot.bin" verbose="${javacVerbose}" debug="${debug}" failonerror="no" classpath="${plugindir}/extra_jars/exceptions.jar" bootclasspath="${bundleBootClasspath}" source="${bundleJavacSource}" target="${bundleJavacTarget}"> ++ <src path="${basedir}/src/Eclipse SWT/cairo/" /> ++ <src path="${basedir}/src/Eclipse SWT/common/" /> ++ <src path="${basedir}/src/Eclipse SWT/common_j2se/" /> ++ <src path="${basedir}/src/Eclipse SWT/emulated/bidi/" /> ++ <src path="${basedir}/src/Eclipse SWT/emulated/coolbar/" /> ++ <src path="${basedir}/src/Eclipse SWT/gtk/" /> ++ <src path="${basedir}/src/Eclipse SWT Accessibility/common/" /> ++ <src path="${basedir}/src/Eclipse SWT Accessibility/gtk/" /> ++ <src path="${basedir}/src/Eclipse SWT AWT/common/" /> ++ <src path="${basedir}/src/Eclipse SWT AWT/gtk/" /> ++ <src path="${basedir}/src/Eclipse SWT Browser/common/" /> ++ <src path="${basedir}/src/Eclipse SWT Mozilla/common/" /> ++ <src path="${basedir}/src/Eclipse SWT Mozilla/gtk/" /> ++ <src path="${basedir}/src/Eclipse SWT Custom Widgets/common/" /> ++ <src path="${basedir}/src/Eclipse SWT Drag and Drop/common/" /> ++ <src path="${basedir}/src/Eclipse SWT Drag and Drop/gtk/" /> ++ <src path="${basedir}/src/Eclipse SWT OpenGL/gtk/" /> ++ <src path="${basedir}/src/Eclipse SWT OpenGL/glx/" /> ++ <src path="${basedir}/src/Eclipse SWT OpenGL/common/" /> ++ <src path="${basedir}/src/Eclipse SWT PI/cairo/" /> ++ <src path="${basedir}/src/Eclipse SWT PI/common/" /> ++ <src path="${basedir}/src/Eclipse SWT PI/common_j2se/" /> ++ <src path="${basedir}/src/Eclipse SWT PI/gtk/" /> ++ <src path="${basedir}/src/Eclipse SWT Printing/common/" /> ++ <src path="${basedir}/src/Eclipse SWT Printing/gtk/" /> ++ <src path="${basedir}/src/Eclipse SWT Program/cde/" /> ++ <src path="${basedir}/src/Eclipse SWT Program/common/" /> ++ <src path="${basedir}/src/Eclipse SWT Program/gnome/" /> ++ <src path="${basedir}/src/Eclipse SWT Program/gtk/" /> ++ <src path="${basedir}/src/Eclipse SWT Theme/gtk/" /> ++ <compilerarg line="-log '${temp.folder}'/@dot.bin${logExtension}" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" /> ++ <compilerarg line="${compilerArg}" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" /> ++ </javac> ++ <property name="includes" value="" /> ++ <property name="excludes" value="**/*.java,**/library/,**/package.htm*,**/*._properties,**/*.idl" /> ++ <copy todir="${temp.folder}/@dot.bin"> ++ <fileset dir="${basedir}/src/Eclipse SWT/cairo/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common_j2se/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/emulated/bidi/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/emulated/coolbar/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Accessibility/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Accessibility/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT AWT/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT AWT/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Browser/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Mozilla/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Mozilla/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Custom Widgets/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Drag and Drop/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Drag and Drop/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/glx/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/cairo/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/common_j2se/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Printing/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Printing/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/cde/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/common/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/gnome/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Theme/gtk/" includes="${includes}" excludes="${excludes}" /> ++ <fileset dir="${plugindir}/components/" includes="${includes}" excludes="${excludes}" /> ++ </copy> ++ <antcall target="copy.translationfiles" /> ++ ++ <mkdir dir="${build.result.folder}/@dot" /> ++ <copy todir="${build.result.folder}/@dot" failonerror="true"> ++ <fileset dir="${temp.folder}/@dot.bin" /> ++ </copy> ++ <!-- prepare a jar file solely for the download target --> ++ <jar jarfile="${build.result.folder}/${jar.filename}" basedir="${temp.folder}/@dot.bin" /> ++ <delete dir="${temp.folder}/@dot.bin" /> ++ </target> ++ ++ <target name="build.jars" depends="init"> ++ <available property="@dot" file="${build.result.folder}/@dot" /> ++ <available property="source.present" file="${basedir}/src" type="dir" /> ++ <antcall target="copy.source" /> ++ <antcall target="@dot" /> ++ </target> ++ ++ <target name="copy.source" unless="source.present"> ++ <echo>Copying source from org.eclipse.swt project to folder ${basedir}/src folder ${temp.folder}.</echo> ++ <delete dir="${basedir}/src" /> ++ <mkdir dir="${basedir}/src" /> ++ ++ <!-- Copy the existing 32 bit SWT source folders to the 64 bit source folder --> ++ <copy todir="${basedir}/src"> ++ <fileset dir="${plugindir}" includes="Eclipse*/**" /> ++ </copy> ++ <!-- Convert SWT 32 bit java source to 64 bit --> ++ <replace dir="${basedir}/src" includes="**/*.java" token="int /*long*/" value="long /*int*/" /> ++ </target> ++ ++ <target name="replace.32.to.64" depends="init"> ++ <echo>Converting java files to 64 bit in org.eclipse.swt project</echo> ++ <!-- Convert SWT 32 bit java source to 64 bit --> ++ <replace dir="${plugindir}" includes="**/*.java" token="int /*long*/" value="long /*int*/" /> ++ <antcall target="refresh" /> ++ </target> ++ ++ <target name="replace.64.to.32" depends="init"> ++ <echo>Converting java files to 32 bit in org.eclipse.swt project</echo> ++ <!-- Convert SWT 64 bit java source to 32 bit --> ++ <replace dir="${plugindir}" includes="**/*.java" token="long /*int*/" value="int /*long*/" /> ++ <antcall target="refresh" /> ++ </target> ++ ++ <target name="build.cfiles" depends="init"> ++ <mkdir dir="${build.result.folder}/library"/> ++ <copy todir="${build.result.folder}/library"> ++ <fileset dir="${plugindir}/Eclipse SWT/common/library"/> ++ <fileset dir="${plugindir}/Eclipse SWT AWT/gtk/library"/> ++ <fileset dir="${plugindir}/Eclipse SWT Mozilla/common/library"/> ++ <fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/library"/> ++ <fileset dir="${plugindir}/Eclipse SWT PI/cairo/library"/> ++ <fileset dir="${plugindir}/Eclipse SWT PI/common/library"/> ++ <fileset dir="${plugindir}/Eclipse SWT PI/gtk/library"/> ++ <fileset dir="${plugindir}/Eclipse SWT Program/cde/library"/> ++ <fileset dir="${plugindir}/Eclipse SWT Program/gnome/library"/> ++ </copy> ++ </target> ++ ++ <target name="build.nativeLibraries" depends="build.cfiles"> ++ <exec dir="${build.result.folder}/library" executable="sh"> ++ <env key="OUTPUT_DIR" value="${build.result.folder}"/> ++ <arg line="${build.result.folder}/library/build.sh"/> ++ <arg line="install"/> ++ </exec> ++ </target> ++ ++ <target name="src.zip" depends="init" unless="src.zip"> ++ <mkdir dir="${build.result.folder}/" /> ++ <zip zipfile="${build.result.folder}/src.zip"> ++ <fileset dir="${basedir}/src/Eclipse SWT/cairo/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common_j2se/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/emulated/bidi/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/emulated/coolbar/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Accessibility/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Accessibility/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT AWT/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT AWT/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT AWT/gtk/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Browser/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Mozilla/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Mozilla/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Mozilla/common/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Custom Widgets/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Drag and Drop/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Drag and Drop/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/glx/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/glx/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/cairo/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/cairo/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/common_j2se/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/common/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/gtk/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Printing/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Printing/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/cde/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/cde/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/gnome/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/gnome/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Theme/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common_j2se/" includes="**/*.properties" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common/" includes="**/version.txt" excludes="" /> ++ <fileset dir="${basedir}" includes="about.html,about_files/" excludes="" /> ++ </zip> ++ </target> ++ ++ <target name="copy.src" depends="init"> ++ <copy todir="${destination.temp.folder}/" failonerror="true" overwrite="true"> ++ <fileset dir="${basedir}/src/Eclipse SWT/cairo/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common_j2se/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/emulated/bidi/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/emulated/coolbar/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Accessibility/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Accessibility/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT AWT/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT AWT/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT AWT/gtk/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Browser/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Mozilla/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Mozilla/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Mozilla/common/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Custom Widgets/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Drag and Drop/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Drag and Drop/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/glx/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/glx/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/cairo/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/cairo/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/common_j2se/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/common/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT PI/gtk/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Printing/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Printing/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/cde/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/cde/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/common/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/gnome/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Program/gnome/library/" /> ++ <fileset dir="${basedir}/src/Eclipse SWT Theme/gtk/" includes="**/*.java" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common_j2se/" includes="**/*.properties" excludes="" /> ++ <fileset dir="${basedir}/src/Eclipse SWT/common/" includes="**/version.txt" excludes="" /> ++ <fileset dir="${basedir}" includes="about.html,about_files/" excludes="" /> ++ </copy> ++ </target> ++ ++ <target name="build.sources"> ++ <available property="src.zip" file="${build.result.folder}/src.zip" /> ++ <antcall target="src.zip" /> ++ </target> ++ ++ <target name="build.zips" depends="init"> ++ </target> ++ ++ <target name="gather.sources" depends="init" if="destination.temp.folder"> ++ <mkdir dir="${destination.temp.folder}/${full.name}" /> ++ <copy file="${build.result.folder}/src.zip" todir="${destination.temp.folder}/${full.name}/" /> ++ <copy todir="${destination.temp.folder}/${full.name}"> ++ <fileset dir="${basedir}" includes="about.html" /> ++ <fileset dir="${basedir}" includes="about_files/" /> ++ </copy> ++ </target> ++ ++ <target name="gather.individual.sources"> ++ <antcall target="copy.src" /> ++ <copy todir="${destination.temp.folder}"> ++ <fileset dir="${basedir}" includes="about.html,about_files/" /> ++ </copy> ++ </target> ++ ++ <target name="gather.logs" depends="init" if="destination.temp.folder"> ++ <mkdir dir="${destination.temp.folder}/${full.name}" /> ++ <copy file="${temp.folder}/@dot.bin${logExtension}" todir="${destination.temp.folder}/${full.name}/" /> ++ </target> ++ ++ <target name="publish.bin.parts" depends="init" if="p2.publish.parts"> ++ <antcall target="gather.bin.parts"> ++ <param name="destination.temp.folder" value="${build.result.folder}" /> ++ </antcall> ++ <eclipse.gatherBundle metadataRepository="${p2.build.repo}" artifactRepository="${p2.build.repo}" buildResultFolder="${build.result.folder}" targetFolder="${build.result.folder}/${full.name}" /> ++ </target> ++ ++ <target name="gather.bin.parts" depends="init" if="destination.temp.folder"> ++ <mkdir dir="${destination.temp.folder}/${full.name}" /> ++ <copy todir="${destination.temp.folder}/${full.name}" failonerror="true"> ++ <fileset dir="${build.result.folder}/@dot" includes="**" /> ++ </copy> ++ <copy todir="${destination.temp.folder}/${full.name}"> ++ <fileset dir="${basedir}" includes="fragment.properties,swt*.dll,libswt*.so,libswt*.sl,libswt*.a,libswt*.jnilib,libcairo-swt.so,META-INF/" /> ++ <fileset dir="${basedir}" includes="about.html" /> ++ <fileset dir="${basedir}" includes="about_files/" /> ++ </copy> ++ <chmod perm="755" dir="${destination.temp.folder}/${full.name}" includes="swt*.dll,libswt*.so,libswt*.sl,libswt*.a,libswt*.jnilib,libcairo-swt.so" /> ++ <eclipse.versionReplacer path="${destination.temp.folder}/${full.name}" version="${version.suffix}" /> ++ <antcall target="apitools.generation"> ++ <param name="target.folder" value="${destination.temp.folder}/${full.name}"/> ++ <param name="projectLocation" value="${basedir}"/> ++ <param name="binary.folders" value="${build.result.folder}/@dot"/> ++ <param name="projectName" value="${full.name}"/> ++ <param name="extraSourceLocations" value="${basedir}/${plugindir}"/> ++ <param name="extraManifests" value="${basedir}/${plugindir}/META-INF/MANIFEST.MF"/> ++ </antcall> ++ </target> ++ ++ <target name="swtdownload" depends="init"> ++ <delete dir="${temp.folder}" /> ++ <delete dir="${build.result.folder}/@dot" /> ++ <!-- ensure entry into @dot target --> ++ <mkdir dir="${temp.folder}/swtdownload/" /> ++ <property name="includetranslationfiles" value="true" /> ++ <antcall target="build.jars"> ++ <param name="debug" value="true" /> ++ <param name="jar.filename" value="swt-debug.jar" /> ++ </antcall> ++ <jar jarfile="${build.result.folder}/swt-debug.jar" basedir="${basedir}" update="true" includes="swt*.dll,libswt*.so,libswt*.sl,libswt*.a,libswt*.jnilib,libXm.so.2" /> ++ <copy file="${build.result.folder}/swt-debug.jar" todir="${temp.folder}/swtdownload" /> ++ <delete dir="${build.result.folder}/@dot" /> ++ <!-- this is needed to re-enter @dot --> ++ <antcall target="build.jars"> ++ <param name="debug" value="false" /> ++ <param name="jar.filename" value="swt.jar" /> ++ </antcall> ++ <jar jarfile="${build.result.folder}/swt.jar" basedir="${basedir}" update="true" includes="swt*.dll,libswt*.so,libswt*.sl,libswt*.a,libswt*.jnilib,libXm.so.2" /> ++ <copy file="${build.result.folder}/swt.jar" todir="${temp.folder}/swtdownload" /> ++ <antcall target="build.sources" /> ++ <copy file="${build.result.folder}/src.zip" todir="${temp.folder}/swtdownload" /> ++ <copy file="${plugindir}/build/.project" todir="${temp.folder}/swtdownload" /> ++ <copy file="${plugindir}/build/.classpath" todir="${temp.folder}/swtdownload" /> ++ <copy todir="${temp.folder}/swtdownload"> ++ <fileset dir="${basedir}" includes="about.html,about_files/" /> ++ </copy> ++ <zip zipfile="${destination}/swt-${buildid}-${ws}-${os}-${arch}.zip"> ++ <zipfileset dir="${temp.folder}/swtdownload/" /> ++ </zip> ++ <delete dir="${temp.folder}" /> ++ </target> ++ ++ <target name="clean" depends="init"> ++ <delete dir="${build.result.folder}/@dot" /> ++ <delete file="${build.result.folder}/src.zip" /> ++ <delete file="${plugin.destination}/${full.name}.jar" /> ++ <delete file="${plugin.destination}/${full.name}.zip" /> ++ <delete dir="${temp.folder}" /> ++ </target> ++ ++ <target name="refresh" depends="init" if="eclipse.running"> ++ <eclipse.refreshLocal resource="${plugindir}" depth="infinite" /> ++ <eclipse.refreshLocal resource="${fragment}" depth="infinite" /> ++ </target> ++ ++ <target name="zip.plugin" depends="init"> ++ <delete dir="${temp.folder}" /> ++ <mkdir dir="${temp.folder}" /> ++ <antcall target="build.jars" /> ++ <antcall target="build.sources" /> ++ <antcall target="gather.bin.parts"> ++ <param name="destination.temp.folder" value="${temp.folder}/" /> ++ </antcall> ++ <antcall target="gather.sources"> ++ <param name="destination.temp.folder" value="${temp.folder}/" /> ++ </antcall> ++ <delete> ++ <fileset dir="${temp.folder}" includes="**/*.bin${logExtension}" /> ++ </delete> ++ <zip zipfile="${plugin.destination}/${full.name}.zip" basedir="${temp.folder}" filesonly="true" /> ++ <delete dir="${temp.folder}" /> ++ </target> ++ ++ <target name="copy.translationfiles" if="includetranslationfiles"> ++ <copy todir="${temp.folder}/@dot.bin" overwrite="true"> ++ <fileset dir="${plugindir}/Eclipse SWT/common_j2se/" includes="**/*._properties" excludes="" /> ++ </copy> ++ <move todir="${temp.folder}/@dot.bin" overwrite="true"> ++ <fileset dir="${temp.folder}/@dot.bin/" includes="**/*._properties" excludes="" /> ++ <mapper type="glob" from="*._properties" to="*.properties" /> ++ </move> ++ </target> ++ ++ <target name="jar.plugin" depends="init"> ++ <delete dir="${temp.folder}" /> ++ <mkdir dir="${temp.folder}" /> ++ <antcall target="build.jars" /> ++ <antcall target="gather.bin.parts"> ++ <param name="destination.temp.folder" value="${temp.folder}/" /> ++ </antcall> ++ <jar jarfile="${plugin.destination}/${full.name}.jar" basedir="${temp.folder}/${full.name}" filesonly="true" /> ++ <delete dir="${temp.folder}" /> ++ </target> ++ ++ <target name="apitools.generation" if="generateAPIDescription"> ++ <apitooling.apigeneration ++ projectName="${projectName}" ++ project="${projectLocation}" ++ binary="${binary.folders}" ++ target="${target.folder}" ++ extraManifests="${extraManifests}" ++ extraSourceLocations="${extraSourceLocations}"/> ++ </target> ++</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.team.cvs.ssh/src/org/eclipse/team/internal/ccvs/ssh/KnownHosts.java 2006-05-10 13:49:07.000000000 -0400 ++++ build/eclipse-3.5.2-src/plugins/org.eclipse.team.cvs.ssh/src/org/eclipse/team/internal/ccvs/ssh/KnownHosts.java 2009-12-23 15:14:12.596627282 -0500 +@@ -38,7 +38,7 @@ + } + + static String defaultFilename() { +- if (!Platform.getOS().equals(Platform.OS_LINUX)) return internalFilename(); ++ if (!Platform.getOS().equals(Platform.OS_LINUX) && !Platform.getOS().equals(Platform.OS_FREEBSD)) return internalFilename(); + String HOME = System.getProperty("user.home"); //$NON-NLS-1$ + if (HOME==null) return internalFilename(); + return HOME+"/.ssh/known_hosts"; //$NON-NLS-1$ +--- 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 ("Content"). Unless otherwise ++indicated below, the Content is provided to you under the terms and conditions of the ++Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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="gcc -o ${library-file} -shared -I${src-path} -I${header-freebsd-path} -fPIC ${library-file}"/> ++ ++ <apply executable="gcc" 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
diff --git a/java/eclipse-devel/files/patch-assemble.org.eclipse.sdk.all.xml b/java/eclipse-devel/files/patch-assemble.org.eclipse.sdk.all.xml deleted file mode 100644 index 487675b8d363..000000000000 --- a/java/eclipse-devel/files/patch-assemble.org.eclipse.sdk.all.xml +++ /dev/null @@ -1,11 +0,0 @@ ---- assemble.org.eclipse.sdk.all.xml.orig 2008-08-02 14:21:21.000000000 -0400 -+++ assemble.org.eclipse.sdk.all.xml 2008-08-02 14:47:11.000000000 -0400 -@@ -30,6 +30,8 @@ - <assemble config="linux.gtk.s390" element="org.eclipse.sdk" dot="." scriptPrefix="assemble" /> - <assemble config="linux.gtk.s390x" element="org.eclipse.sdk" dot="." scriptPrefix="assemble" /> - <assemble config="linux.motif.x86" element="org.eclipse.sdk" dot="." scriptPrefix="assemble" /> -+<assemble config="freebsd.gtk.x86" element="org.eclipse.sdk" dot="." scriptPrefix="assemble" /> -+<assemble config="freebsd.gtk.amd64" element="org.eclipse.sdk" dot="." scriptPrefix="assemble" /> - <assemble config="solaris.gtk.sparc" element="org.eclipse.sdk" dot="." scriptPrefix="assemble" /> - <assemble config="solaris.gtk.x86" element="org.eclipse.sdk" dot="." scriptPrefix="assemble" /> - <assemble config="solaris.motif.sparc" element="org.eclipse.sdk" dot="." scriptPrefix="assemble" /> diff --git a/java/eclipse-devel/files/patch-build b/java/eclipse-devel/files/patch-build deleted file mode 100644 index f054d26a3e4a..000000000000 --- a/java/eclipse-devel/files/patch-build +++ /dev/null @@ -1,18 +0,0 @@ ---- build.orig 2008-08-02 14:21:20.000000000 -0400 -+++ build 2008-08-02 14:28:48.000000000 -0400 -@@ -52,7 +52,7 @@ - exit 1 - fi - --if [ "$os-$ws-$arch" = "linux-motif-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86_64" ] || [ "$os-$ws-$arch" = "linux-gtk-ia64" ] || [ "$os-$ws-$arch" = "solaris-motif-sparc" ] || [ "$os-$ws-$arch" = "solaris-gtk-x86" ] || [ "$os-$ws-$arch" = "solaris-gtk-sparc" ] || [ "$os-$ws-$arch" = "aix-motif-ppc" ] || [ "$os-$ws-$arch" = "hpux-motif-PA_RISC" ] || [ "$os-$ws-$arch" = "hpux-motif-ia64_32"] || [ "$os-$ws-$arch" = "qnx-photon-x86" ] || [ "$os-$ws-$arch" = "win32-win32-ia64" ] || [ "$os-$ws-$arch" = "win32-win32-x86" ] || [ "$os-$ws-$arch" = "win32-wpf-x86" ] || [ "$os-$ws-$arch" = "win32-win32-x86_64" ] || [ "$os-$ws-$arch" = "linux-gtk-ppc" ] || [ "$os-$ws-$arch" = "macosx-carbon-ppc" ] || [ "$os-$ws-$arch" = "hpux-motif-ia64_32" ] || [ "$os-$ws-$arch" = "linux-gtk-s390" ] || [ "$os-$ws-$arch" = "linux-gtk-s390x" ] -+if [ "$os-$ws-$arch" = "linux-motif-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86_64" ] || [ "$os-$ws-$arch" = "linux-gtk-ia64" ] || [ "$os-$ws-$arch" = "solaris-motif-sparc" ] || [ "$os-$ws-$arch" = "solaris-gtk-x86" ] || [ "$os-$ws-$arch" = "solaris-gtk-sparc" ] || [ "$os-$ws-$arch" = "aix-motif-ppc" ] || [ "$os-$ws-$arch" = "hpux-motif-PA_RISC" ] || [ "$os-$ws-$arch" = "hpux-motif-ia64_32"] || [ "$os-$ws-$arch" = "qnx-photon-x86" ] || [ "$os-$ws-$arch" = "win32-win32-ia64" ] || [ "$os-$ws-$arch" = "win32-win32-x86" ] || [ "$os-$ws-$arch" = "win32-wpf-x86" ] || [ "$os-$ws-$arch" = "win32-win32-x86_64" ] || [ "$os-$ws-$arch" = "linux-gtk-ppc" ] || [ "$os-$ws-$arch" = "macosx-carbon-ppc" ] || [ "$os-$ws-$arch" = "hpux-motif-ia64_32" ] || [ "$os-$ws-$arch" = "linux-gtk-s390" ] || [ "$os-$ws-$arch" = "linux-gtk-s390x" ] || [ "$os-$ws-$arch" = "freebsd-gtk-x86" ] || [ "$os-$ws-$arch" = "freebsd-gtk-amd64" ] - then - ORIGCLASSPATH=$CLASSPATH;export ORIGCLASSPATH - ant -q -buildfile jdtcoresrc/compilejdtcorewithjavac.xml -propertyfile build.properties -@@ -64,4 +64,4 @@ - echo "The os-ws-arch combination of $os-$ws-$arch is not valid." - exit 1 - fi -- -\ No newline at end of file -+ diff --git a/java/eclipse-devel/files/patch-build.properties b/java/eclipse-devel/files/patch-build.properties deleted file mode 100644 index 08bad60f8be6..000000000000 --- a/java/eclipse-devel/files/patch-build.properties +++ /dev/null @@ -1,10 +0,0 @@ ---- build.properties.orig 2008-08-02 14:21:21.000000000 -0400 -+++ build.properties 2008-08-02 14:50:18.000000000 -0400 -@@ -1,3 +1,3 @@ --J2SE-1.4= --J2SE-1.5= --JavaSE-1.6= -\ No newline at end of file -+#J2SE-1.4= -+#J2SE-1.5= -+#JavaSE-1.6= diff --git a/java/eclipse-devel/files/patch-build.xml b/java/eclipse-devel/files/patch-build.xml deleted file mode 100644 index 50a29ce0b1ac..000000000000 --- a/java/eclipse-devel/files/patch-build.xml +++ /dev/null @@ -1,75 +0,0 @@ ---- build.xml.orig 2008-09-29 19:16:32.000000000 -0400 -+++ build.xml 2008-09-29 19:19:37.000000000 -0400 -@@ -1,7 +1,7 @@ - <project name="Eclipse SDK Source Build" default="run" basedir="."> - - <!-- default target that runs complete build --> -- <target name="run" depends="fetch,insertBuildId,compile,install" /> -+ <target name="run" depends="fetch,insertBuildId,compilelibs,compile,install" /> - - <!-- all features required to build eclipse sdk and javadoc --> - <target name="allElements"> -@@ -41,6 +41,16 @@ - <mkdir dir="${linux.gtk.s390x.rootfiles}" /> - <copy tofile="${linux.gtk.s390x.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.s390x/about.html" /> - -+ <!--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 freebsd gtk amd64 about_files to in temp location where it will be copied into root of eclipse at assembly time--> -+ <property name="freebsd.gtk.amd64.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/freebsd.gtk.amd64" /> -+ <mkdir dir="${freebsd.gtk.amd64.rootfiles}" /> -+ <copy tofile="${freebsd.gtk.amd64.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.freebsd.amd64/about.html" /> -+ - <copy todir="${linux.gtk.x86_64.rootfiles}"> - <fileset dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.x86_64" includes=" - about_files/mpl-v11.txt" /> -@@ -71,6 +81,25 @@ - <record name="compilelog.txt" action="stop" /> - </target> - -+ <target name="compilelibs" depends="init,clean" if="libsconfig"> -+ <echo message="Compiling SWT native libraries..."/> -+ <ant dir="${buildDirectory}/plugins/org.eclipse.swt.${installWs}.${installOs}.${installArch}" antfile="build.xml" target="build.jnilibs"/> -+ -+ <echo message="Compiling native launcher..."/> -+ <property name="launcherlibs" value="${buildDirectory}/features/org.eclipse.equinox.executable" /> -+ <exec dir="${launcherlibs}/library/${installWs}/" executable="sh" failonerror="true"> -+ <arg line="build.sh install" /> -+ </exec> -+ -+ <echo message="Compiling liblocalfile..."/> -+ <exec dir="plugins/org.eclipse.core.filesystem/natives/unix/freebsd" executable="make" failonerror="true" /> -+ <move file="plugins/org.eclipse.core.filesystem/natives/unix/freebsd/liblocalfile_1_0_0.so" todir="plugins/org.eclipse.core.filesystem.freebsd.${installArch}/os/freebsd/${installArch}"> -+ </move> -+ -+ <echo message="Compiling native update library..."/> -+ <ant dir="plugins/org.eclipse.update.core.${installOs}/src" antfile="build.xml" /> -+ </target> -+ - <!--create an installable eclipse runtime--> - <target name="install" depends="init"> - <echo message="Assembling..." /> -@@ -277,6 +306,8 @@ - <equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-motif-x86" /> - <equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-gtk-s390" /> - <equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-gtk-s390x" /> -+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="freebsd-gtk-x86" /> -+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="freebsd-gtk-amd64" /> - <equals arg1="${installOs}-${installWs}-${installArch}" arg2="solaris-gtk-x86" /> - <equals arg1="${installOs}-${installWs}-${installArch}" arg2="hpux-motif-PA_RISC" /> - </or> -@@ -284,7 +315,10 @@ - - <!--used to add doc plug-ins to result after initial assembly--> - <condition property="archive.format" value="tar"> -- <equals arg1="${installOs}" arg2="linux" /> -+ <or> -+ <equals arg1="${installOs}" arg2="linux" /> -+ <equals arg1="${installOs}" arg2="freebsd" /> -+ </or> - </condition> - <property name="archive.format" value="zip" /> - </target> diff --git a/java/eclipse-devel/files/patch-eclipse-build b/java/eclipse-devel/files/patch-eclipse-build new file mode 100644 index 000000000000..4b087e24034f --- /dev/null +++ b/java/eclipse-devel/files/patch-eclipse-build @@ -0,0 +1,252 @@ +$FreeBSD$ + +--- eclipse-build-0.5.0.orig/ChangeLog 2009-11-11 07:59:07.000000000 -0500 ++++ eclipse-build-0.5.0/ChangeLog 2009-12-23 16:23:06.355139641 -0500 +@@ -1,7 +1,3 @@ +-2009-11-11 Alexander Kurtakov <akurtako@redhat.com> +- +- * pdebuild/eclipse-pdebuild.sh: Do not escape $orbitDepsDir. +- + 2009-11-05 Alexander Kurtakov <akurtako@redhat.com> + Fix for bug #294264. + * build.xml: Use ${buildWorkspace} instead of $HOME/workspace. +--- 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 +@@ -26,7 +26,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 ++bootclasspath=%%BOOTCLASSPATH%% + build.compiler=org.eclipse.jdt.core.JDTCompilerAdapter + JavaSE-1.6=${bootclasspath} + CDC-1.0/Foundation-1.0=${bootclasspath} +@@ -47,21 +47,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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 ++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 +@@ -124,8 +124,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> +@@ -243,8 +242,14 @@ + <!-- eclipse-build-only patches --> + <patch patchfile="${basedir}/patches/eclipse-buildswtnatives.patch" dir="${buildDirectory}" strip="0" /> + <patch patchfile="${basedir}/patches/eclipse-jdt_launch-customBuild.patch" dir="${buildDirectory}" strip="0" /> +- <patch patchfile="${basedir}/patches/eclipse-swt-buildagainstxulrunner.patch" dir="${buildDirectory}/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" strip="3" /> +- <patch patchfile="${basedir}/patches/eclipse-addArchesAnd64bitSWT.patch" dir="${buildDirectory}/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" strip="6" /> ++ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library"> ++ <arg value="-p3" /> ++ <arg value="-i${basedir}/patches/eclipse-swt-buildagainstxulrunner.patch" /> ++ </exec> ++ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library"> ++ <arg value="-p6" /> ++ <arg value="-i${basedir}/patches/eclipse-addArchesAnd64bitSWT.patch" /> ++ </exec> + <patch patchfile="${basedir}/patches/eclipse-add-archs-filesystem.patch" dir="${buildDirectory}" strip="0" /> + <patch patchfile="${basedir}/patches/eclipse-add-archs-swt.patch" dir="${buildDirectory}" strip="0" /> + <patch patchfile="${basedir}/patches/eclipse-add-archs-executable.patch" dir="${buildDirectory}/features/org.eclipse.equinox.executable" strip="0" /> +@@ -269,6 +274,10 @@ + <replacefilter token="@build_arch@" value="${buildArch}" /> + <replacefilter token="@build_os@" value="${buildOs}" /> + </replace> ++ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}"> ++ <arg value="-p2" /> ++ <arg value="-i${basedir}/patches/freebsd-support.patch" /> ++ </exec> + <echo file="patch-stamp" /> + </target> + +@@ -651,7 +660,8 @@ + <format property="timestamp" pattern="yyyyMMddHHmmss" /> + </tstamp> + <chmod perm="ugo+rx" file="${basedir}/runtests.sh" /> +- <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}" /> +@@ -755,44 +765,42 @@ + </target> + + <target name="install" depends="provision.sdk"> +- <mkdir dir="${destDir}${prefix}/${libDir}/eclipse" /> ++ <mkdir dir="${destDir}${prefix}/${libDir}/%%PORTNAME%%" /> + <exec executable="cp" failonerror="true"> +- <arg value="-rd" /> +- <arg value="--no-target-directory" /> +- <arg value="${buildDirectory}/installation" /> +- <arg value="${destDir}${prefix}/${libDir}/eclipse" /> ++ <arg value="-R" /> ++ <arg value="${buildDirectory}/installation/" /> ++ <arg value="${destDir}${prefix}/${libDir}/%%PORTNAME%%" /> + </exec> + <!-- install desktop file --> +- <copy file="eclipse.desktop" todir="${destDir}${prefix}/share/applications" /> ++ <copy file="eclipse.desktop" tofile="${destDir}${prefix}/share/applications/%%PORTNAME%%.desktop" /> + <!-- 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" /> ++ <symlink link="${destDir}${prefix}/share/pixmaps/%%PORTNAME%%.png" resource="../icons/hicolor/48x48/apps/%%PORTNAME%%.png" /> + <!--shared dropins folder--> +- <mkdir dir="${destDir}${prefix}/share/eclipse/dropins" /> +- <!-- eclipse binary --> +- <mkdir dir="${destDir}${prefix}/bin" /> +- <symlink link="${destDir}${prefix}/bin/eclipse" resource="../${libDir}/eclipse/eclipse" /> ++ <mkdir dir="${destDir}${prefix}/share/%%PORTNAME%%/dropins" /> + <!-- Create the "startup.jar" symlink --> +- <fileset dir="${destDir}/${prefix}/${libDir}/eclipse/plugins" includes="org.eclipse.equinox.launcher_*" id="startupjar" /> ++ <fileset dir="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/plugins" includes="org.eclipse.equinox.launcher_*" id="startupjar" /> + <property name="startupjarpath" refid="startupjar" /> +- <symlink link="${destDir}/${prefix}/${libDir}/eclipse/startup.jar" resource="plugins/${startupjarpath}" /> ++ <symlink link="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/startup.jar" resource="plugins/${startupjarpath}" /> + <!-- Create the "swt.jar" and friends symlinks --> +- <fileset dir="${destDir}/${prefix}/${libDir}/eclipse/plugins" includes="org.eclipse.swt.gtk.${buildOs}.${buildArch}_*" id="swtjar" /> ++ <fileset dir="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/plugins" includes="org.eclipse.swt.gtk.${buildOs}.${buildArch}_*" id="swtjar" /> + <property name="swtjarpath" refid="swtjar" /> +- <symlink link="${destDir}/${prefix}/${libDir}/eclipse/swt-gtk-3.5.2.jar" resource="plugins/${swtjarpath}" /> +- <symlink link="${destDir}/${prefix}/${libDir}/eclipse/swt-gtk.jar" resource="plugins/${swtjarpath}" /> +- <symlink link="${destDir}/${prefix}/${libDir}/eclipse/swt.jar" resource="plugins/${swtjarpath}" /> +- +- <echo append="true" file="${destDir}${prefix}/${libDir}/eclipse/eclipse.ini" message="-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=${prefix}/share/eclipse/dropins" /> ++ <symlink link="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/swt-gtk-3.5.2.jar" resource="plugins/${swtjarpath}" /> ++ <symlink link="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/swt-gtk.jar" resource="plugins/${swtjarpath}" /> ++ <symlink link="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/swt.jar" resource="plugins/${swtjarpath}" /> ++ ++ <echo append="true" file="${destDir}${prefix}/${libDir}/%%PORTNAME%%/eclipse.ini" message="-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=${prefix}/share/%%PORTNAME%%/dropins" /> + + <!-- Move config file to /etc --> ++ <!-- + <mkdir dir="${destDir}/etc" /> + <move file="${destDir}${prefix}/${libDir}/eclipse/eclipse.ini" tofile="${destDir}/etc/eclipse.ini" /> + <symlink link="${destDir}${prefix}/${libDir}/eclipse/eclipse.ini" resource="/etc/eclipse.ini" /> +- ++ --> ++ + </target> + + <target name="package.extract.swt"> +--- 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 +@@ -5,7 +5,7 @@ + buildId=M20100211-1343 + buildTag=vM20100211-1343 + label=3.5.2 +-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 ++bootclasspath=%%BOOTCLASSPATH%% + #build.compiler=org.eclipse.jdt.core.JDTCompilerAdapter + + javacFailOnError=true +@@ -28,21 +28,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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +-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 +\ No newline at end of file ++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 +@@ -200,6 +200,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" diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.cvs-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.cvs-build.xml deleted file mode 100644 index 368cdf8fbb5e..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.cvs-build.xml +++ /dev/null @@ -1,41 +0,0 @@ ---- features/org.eclipse.cvs/build.xml.orig 2008-08-02 14:53:20.000000000 -0400 -+++ features/org.eclipse.cvs/build.xml 2008-08-02 14:53:59.000000000 -0400 -@@ -155,6 +155,14 @@ - </fileset> - </copy> - </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}/rootfiles"> -+ <include name="**"/> -+ </fileset> -+ </copy> -+ </target> - <target name="rootFileslinux_gtk_ppc"> - <mkdir dir="${feature.base}/linux.gtk.ppc/${collectingFolder}/"/> - <copy todir="${feature.base}/linux.gtk.ppc/${collectingFolder}/" failonerror="true" overwrite="true"> -@@ -171,6 +179,14 @@ - </fileset> - </copy> - </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ <mkdir dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/"/> -+ <copy todir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/" failonerror="true" overwrite="true"> -+ <fileset dir="${basedir}/rootfiles"> -+ <include name="**"/> -+ </fileset> -+ </copy> -+ </target> - <target name="rootFileslinux_gtk_ia64"> - <mkdir dir="${feature.base}/linux.gtk.ia64/${collectingFolder}/"/> - <copy todir="${feature.base}/linux.gtk.ia64/${collectingFolder}/" failonerror="true" overwrite="true"> -@@ -272,6 +288,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.cvs.source-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.cvs.source-build.xml deleted file mode 100644 index 77fa433272da..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.cvs.source-build.xml +++ /dev/null @@ -1,22 +0,0 @@ ---- features/org.eclipse.cvs.source/build.xml.orig 2008-08-02 14:55:45.000000000 -0400 -+++ features/org.eclipse.cvs.source/build.xml 2008-08-02 14:56:33.000000000 -0400 -@@ -131,6 +131,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -158,6 +162,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-feature.xml b/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-feature.xml deleted file mode 100644 index df4ef06d246f..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-feature.xml +++ /dev/null @@ -1,36 +0,0 @@ ---- features/org.eclipse.equinox.executable/feature.xml.orig 2008-08-02 15:03:58.000000000 -0400 -+++ features/org.eclipse.equinox.executable/feature.xml 2008-08-02 15:04:36.000000000 -0400 -@@ -79,6 +79,16 @@ - 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.linux.x86_64" - os="linux" - ws="gtk" -@@ -89,6 +99,16 @@ - fragment="true"/> - - <plugin -+ id="org.eclipse.equinox.launcher.gtk.freebsd.amd64" -+ os="freebsd" -+ ws="gtk" -+ arch="amd64" -+ 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" diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-library-gtk-build.sh b/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-library-gtk-build.sh deleted file mode 100644 index a86cc3eb059b..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-library-gtk-build.sh +++ /dev/null @@ -1,69 +0,0 @@ ---- features/org.eclipse.equinox.executable/library/gtk/build.sh.orig 2008-09-30 19:29:09.000000000 -0400 -+++ features/org.eclipse.equinox.executable/library/gtk/build.sh 2008-09-30 19:28:40.000000000 -0400 -@@ -53,6 +53,7 @@ - "Linux") - makefile="make_linux.mak" - defaultOS="linux" -+ MAKE=make - case $MODEL in - "x86_64") - defaultOSArch="x86_64" -@@ -94,9 +95,31 @@ - ;; - esac - ;; -+ "FreeBSD") -+ makefile="make_freebsd.mak" -+ defaultOS="freebsd" -+ MAKE=gmake -+ javaHome="$JAVA_HOME" -+ case $MODEL in -+ "amd64") -+ defaultOSArch="amd64" -+ defaultJava=DEFAULT_JAVA_EXEC -+ OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch" -+ ;; -+ i?86) -+ defaultOSArch="x86" -+ defaultJava=DEFAULT_JAVA_EXEC -+ OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch" -+ ;; -+ *) -+ echo "*** Unknown MODEL <${MODEL}>" -+ ;; -+ esac -+ ;; - "SunOS") - makefile="make_solaris.mak" - defaultOS="solaris" -+ MAKE=make - javaHome="/usr/jdk/jdk1.5.0_01" - OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch" - #PATH=/usr/ccs/bin:/opt/SUNWspro/bin:$PATH -@@ -154,7 +177,7 @@ - JAVA_HOME=$javaHome - DEFAULT_JAVA=$defaultJava - --LIBRARY_DIR="../../../org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.$defaultWS.$defaultOS.$defaultOSArch" -+LIBRARY_DIR="../../../../plugins/org.eclipse.equinox.launcher.$defaultWS.$defaultOS.$defaultOSArch" - OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch" - - export OUTPUT_DIR PROGRAM_OUTPUT DEFAULT_OS DEFAULT_OS_ARCH DEFAULT_WS JAVA_HOME DEFAULT_JAVA LIBRARY_DIR -@@ -162,13 +185,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 diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-library-gtk-make_freebsd.mak b/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-library-gtk-make_freebsd.mak deleted file mode 100644 index 4367ab83a407..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-library-gtk-make_freebsd.mak +++ /dev/null @@ -1,17 +0,0 @@ ---- features/org.eclipse.equinox.executable/library/gtk/make_freebsd.mak.orig 2008-08-02 15:47:34.000000000 -0400 -+++ features/org.eclipse.equinox.executable/library/gtk/make_freebsd.mak 2008-08-02 15:47:42.000000000 -0400 -@@ -42,12 +42,12 @@ - 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 -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\"" - LFLAGS = -shared -fpic -Wl,--export-dynamic - CFLAGS = -g -s -Wall\ - -fpic \ -- -DLINUX \ -+ -DFREEBSD \ - -DMOZILLA_FIX \ - -DDEFAULT_OS="\"$(DEFAULT_OS)\"" \ - -DDEFAULT_OS_ARCH="\"$(DEFAULT_OS_ARCH)\"" \ diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-target.build.properties b/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-target.build.properties deleted file mode 100644 index 772048790797..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-target.build.properties +++ /dev/null @@ -1,14 +0,0 @@ ---- features/org.eclipse.equinox.executable/target.build.properties.orig 2008-08-02 14:57:57.000000000 -0400 -+++ features/org.eclipse.equinox.executable/target.build.properties 2008-08-02 15:02:29.000000000 -0400 -@@ -46,4 +46,9 @@ - root.qnx.photon.x86=bin/photon/qnx/x86 - - root.linux.motif.x86=bin/motif/linux/x86,motif_root --root.linux.motif.x86.permissions.755=libXm.so.2,libcairo-swt.so -\ No newline at end of file -+root.linux.motif.x86.permissions.755=libXm.so.2,libcairo-swt.so -+ -+root.freebsd.gtk.x86=bin/gtk/freebsd/x86,gtk_root -+root.freebsd.gtk.x86.permissions.755=${launcherName} -+root.freebsd.gtk.amd64=bin/gtk/freebsd/amd64,gtk_root -+root.freebsd.gtk.amd64.permissions.755=${launcherName} diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-target.build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-target.build.xml deleted file mode 100644 index e0d78cc01f73..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.executable-target.build.xml +++ /dev/null @@ -1,41 +0,0 @@ ---- features/org.eclipse.equinox.executable/target.build.xml.orig 2008-08-02 15:00:18.000000000 -0400 -+++ features/org.eclipse.equinox.executable/target.build.xml 2008-08-02 15:02:09.000000000 -0400 -@@ -102,6 +102,14 @@ - <chmod perm="755" dir="${feature.base}/linux.gtk.x86/${collectingFolder}" includes="${launcherName}" /> - <chmod perm="755" dir="${feature.base}/linux.gtk.x86/${collectingFolder}" includes="libcairo-swt.so" /> - </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="${launcherName}" /> -+ </target> - <target name="rootFileslinux_gtk_ppc"> - <mkdir dir="${feature.base}/linux.gtk.ppc/${collectingFolder}"/> - <copy todir="${feature.base}/linux.gtk.ppc/${collectingFolder}" failonerror="true" overwrite="true"> -@@ -126,6 +134,14 @@ - <chmod perm="755" dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" includes="${launcherName}" /> - <chmod perm="755" dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" includes="libcairo-swt.so" /> - </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ <mkdir dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}"/> -+ <copy todir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}" failonerror="true" overwrite="true"> -+ <fileset dir="${basedir}/bin/gtk/freebsd/amd64" includes="**" /> -+ <fileset dir="${basedir}/gtk_root" includes="**" /> -+ </copy> -+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}" includes="${launcherName}" /> -+ </target> - <target name="rootFileslinux_gtk_ia64"> - <mkdir dir="${feature.base}/linux.gtk.ia64/${collectingFolder}"/> - <copy todir="${feature.base}/linux.gtk.ia64/${collectingFolder}" failonerror="true" overwrite="true"> -@@ -209,6 +225,8 @@ - <antcall target="rootFileslinux_gtk_x86_64"/> - <antcall target="rootFileslinux_gtk_ia64"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.p2.user.ui-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.equinox.p2.user.ui-build.xml deleted file mode 100644 index 5e93d3b5135e..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.p2.user.ui-build.xml +++ /dev/null @@ -1,22 +0,0 @@ ---- features/org.eclipse.equinox.p2.user.ui/build.xml.orig 2008-08-02 15:07:43.000000000 -0400 -+++ features/org.eclipse.equinox.p2.user.ui/build.xml 2008-08-02 15:08:24.000000000 -0400 -@@ -236,6 +236,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -263,6 +267,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.p2.user.ui.source-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.equinox.p2.user.ui.source-build.xml deleted file mode 100644 index d16869524f5d..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.equinox.p2.user.ui.source-build.xml +++ /dev/null @@ -1,22 +0,0 @@ ---- features/org.eclipse.equinox.p2.user.ui.source/build.xml.orig 2008-08-02 15:09:24.000000000 -0400 -+++ features/org.eclipse.equinox.p2.user.ui.source/build.xml 2008-08-02 15:10:18.000000000 -0400 -@@ -236,6 +236,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -263,6 +267,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.help-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.help-build.xml deleted file mode 100644 index df3c989e911b..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.help-build.xml +++ /dev/null @@ -1,22 +0,0 @@ ---- features/org.eclipse.help/build.xml.orig 2008-08-02 15:11:04.000000000 -0400 -+++ features/org.eclipse.help/build.xml 2008-08-02 15:11:38.000000000 -0400 -@@ -177,6 +177,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -204,6 +208,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.help.source-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.help.source-build.xml deleted file mode 100644 index d722c0718b5a..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.help.source-build.xml +++ /dev/null @@ -1,22 +0,0 @@ ---- features/org.eclipse.help.source/build.xml.orig 2008-08-02 15:12:30.000000000 -0400 -+++ features/org.eclipse.help.source/build.xml 2008-08-02 15:13:22.000000000 -0400 -@@ -177,6 +177,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -204,6 +208,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.jdt-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.jdt-build.xml deleted file mode 100644 index 447e0b66b8df..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.jdt-build.xml +++ /dev/null @@ -1,41 +0,0 @@ ---- features/org.eclipse.jdt/build.xml.orig 2008-08-02 15:14:06.000000000 -0400 -+++ features/org.eclipse.jdt/build.xml 2008-08-02 15:15:01.000000000 -0400 -@@ -225,6 +225,14 @@ - </fileset> - </copy> - </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}/rootfiles"> -+ <include name="**"/> -+ </fileset> -+ </copy> -+ </target> - <target name="rootFileslinux_gtk_ppc"> - <mkdir dir="${feature.base}/linux.gtk.ppc/${collectingFolder}/"/> - <copy todir="${feature.base}/linux.gtk.ppc/${collectingFolder}/" failonerror="true" overwrite="true"> -@@ -241,6 +249,14 @@ - </fileset> - </copy> - </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ <mkdir dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/"/> -+ <copy todir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/" failonerror="true" overwrite="true"> -+ <fileset dir="${basedir}/rootfiles"> -+ <include name="**"/> -+ </fileset> -+ </copy> -+ </target> - <target name="rootFileslinux_gtk_ia64"> - <mkdir dir="${feature.base}/linux.gtk.ia64/${collectingFolder}/"/> - <copy todir="${feature.base}/linux.gtk.ia64/${collectingFolder}/" failonerror="true" overwrite="true"> -@@ -342,6 +358,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.jdt.source-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.jdt.source-build.xml deleted file mode 100644 index 3f453f4810e9..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.jdt.source-build.xml +++ /dev/null @@ -1,22 +0,0 @@ ---- features/org.eclipse.jdt.source/build.xml.orig 2008-08-02 15:15:44.000000000 -0400 -+++ features/org.eclipse.jdt.source/build.xml 2008-08-02 15:16:07.000000000 -0400 -@@ -201,6 +201,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -228,6 +232,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.pde-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.pde-build.xml deleted file mode 100644 index 67dc317a101b..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.pde-build.xml +++ /dev/null @@ -1,22 +0,0 @@ ---- features/org.eclipse.pde/build.xml.orig 2008-08-02 15:16:40.000000000 -0400 -+++ features/org.eclipse.pde/build.xml 2008-08-02 15:17:03.000000000 -0400 -@@ -161,6 +161,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -187,6 +191,8 @@ - <antcall target="rootFileslinux_gtk_ia64"/> - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFileslinux_motif_x86"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.pde.p2-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.pde.p2-build.xml deleted file mode 100644 index 3c4963db4d86..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.pde.p2-build.xml +++ /dev/null @@ -1,22 +0,0 @@ ---- features/org.eclipse.pde.p2/build.xml.orig 2008-08-02 12:26:51.000000000 -0400 -+++ features/org.eclipse.pde.p2/build.xml 2008-08-02 12:27:51.000000000 -0400 -@@ -111,6 +111,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -138,6 +142,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.pde.p2.source-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.pde.p2.source-build.xml deleted file mode 100644 index 23a079f9b078..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.pde.p2.source-build.xml +++ /dev/null @@ -1,22 +0,0 @@ ---- features/org.eclipse.pde.p2.source/build.xml.orig 2008-08-02 11:44:51.000000000 -0400 -+++ features/org.eclipse.pde.p2.source/build.xml 2008-08-02 11:45:51.000000000 -0400 -@@ -111,6 +111,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -138,6 +142,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.pde.source-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.pde.source-build.xml deleted file mode 100644 index f28cd366f576..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.pde.source-build.xml +++ /dev/null @@ -1,22 +0,0 @@ ---- features/org.eclipse.pde.source/build.xml.orig 2008-08-02 15:18:03.000000000 -0400 -+++ features/org.eclipse.pde.source/build.xml 2008-08-02 15:18:19.000000000 -0400 -@@ -156,6 +156,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -183,6 +187,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.platform-build.properties b/java/eclipse-devel/files/patch-features-org.eclipse.platform-build.properties deleted file mode 100644 index 687760aa685f..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.platform-build.properties +++ /dev/null @@ -1,21 +0,0 @@ ---- features/org.eclipse.platform/build.properties.orig 2008-08-02 15:18:51.000000000 -0400 -+++ features/org.eclipse.platform/build.properties 2008-08-02 15:20:21.000000000 -0400 -@@ -49,6 +49,11 @@ - #root.linux.gtk.ia64=../../features/org.eclipse.equinox.executable/bin/gtk/linux/ia64,gtk - root.hpux.motif.ia64_32=../../features/org.eclipse.equinox.executable/bin/motif/hpux/ia64_32,motif - -+root.freebsd.gtk.x86=about_files/freebsd.gtk.x86,../../features/org.eclipse.equinox.executable/bin/gtk/freebsd/x86,gtk -+root.freebsd.gtk.x86.permissions.755=*.so* -+root.freebsd.gtk.amd64=about_files/freebsd.gtk.amd64,../../features/org.eclipse.equinox.executable/bin/gtk/freebsd/amd64,gtk -+root.freebsd.gtk.amd64.permissions.755=*.so* -+ - # Need to be fixed to reflect eventual change into feature.xml - #root.qnx.photon.x86=../../features/org.eclipse.equinox.executable/bin/photon/qnx/x86,win32 - -@@ -62,4 +67,4 @@ - #expected location of eclipse executable when compiled as part of build - root.linux.gtk.ppc64=../../launchertmp,gtk - root.linux.gtk.ppc64.permissions.755=*.so* --root.hpux.motif.ia64=../../launchertmp,motif -\ No newline at end of file -+root.hpux.motif.ia64=../../launchertmp,motif diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.platform-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.platform-build.xml deleted file mode 100644 index f441d4f4550c..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.platform-build.xml +++ /dev/null @@ -1,126 +0,0 @@ ---- features/org.eclipse.platform/build.xml.orig 2008-09-25 19:20:11.000000000 -0400 -+++ features/org.eclipse.platform/build.xml 2008-09-25 19:19:54.000000000 -0400 -@@ -27,6 +27,11 @@ - <property name="os" value="linux"/> - <property name="ws" value="gtk"/> - </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.core.filesystem.freebsd.amd64" target="${target}"> -+ <property name="arch" value="amd64"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> - <ant antfile="build.xml" dir="../../plugins/org.eclipse.core.filesystem.qnx.x86" target="${target}"> - <property name="arch" value="x86"/> - <property name="os" value="qnx"/> -@@ -67,6 +72,11 @@ - <property name="os" value="linux"/> - <property name="ws" value="gtk"/> - </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.core.filesystem.freebsd.x86" target="${target}"> -+ <property name="arch" value="x86"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> - <ant antfile="build.xml" dir="../../plugins/org.eclipse.core.filesystem.hpux.PA_RISC" target="${target}"> - <property name="arch" value="PA_RISC"/> - <property name="os" value="hpux"/> -@@ -147,6 +157,11 @@ - <property name="os" value="linux"/> - <property name="ws" value="gtk"/> - </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.update.core.freebsd" target="${target}"> -+ <property name="arch" value="x86"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> - <ant antfile="build.xml" dir="../../plugins/org.eclipse.core.net.win32.x86" target="${target}"> - <property name="arch" value="x86"/> - <property name="os" value="win32"/> -@@ -157,6 +172,11 @@ - <property name="os" value="linux"/> - <property name="ws" value="gtk"/> - </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.core.net.freebsd.x86" target="${target}"> -+ <property name="arch" value="x86"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> - <ant antfile="build.xml" dir="../../plugins/org.eclipse.jsch.core" target="${target}"> - <property name="arch" value="x86"/> - <property name="os" value="win32"/> -@@ -390,7 +410,7 @@ - <include name="license.html"/> - </fileset> - </copy> -- <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.platform_3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu/feature.xml" selfVersion="3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu" featureIds="org.eclipse.help:0.0.0,1.0.1.R34x_v20080827-7r7xEIxEI6Zu5nEqN7M3UBpglaat,org.eclipse.equinox.p2.user.ui:0.0.0,1.0.1.r34x_v20080721-7d-7OEMsLAz-vTBJ-ZHQaF155CE," pluginIds="com.jcraft.jsch:0.0.0,0.1.37.v200803061811,org.eclipse.compare:0.0.0,3.4.0.I20080604,org.eclipse.core.boot:0.0.0,3.1.100.v20080218,org.eclipse.core.filebuffers:0.0.0,3.4.0.v20080603-2000,org.eclipse.core.filesystem:0.0.0,1.2.0.v20080604-1400,org.eclipse.core.net:0.0.0,1.1.0.I20080604,org.eclipse.core.net.win32.x86:0.0.0,1.0.0.I20080521,org.eclipse.core.net.linux.x86:0.0.0,1.0.0.I20080521,org.eclipse.core.resources:0.0.0,3.4.1.R34x_v20080902,org.eclipse.core.resources.compatibility:0.0.0,3.4.0.v20080604-1400,org.eclipse.osgi.util:0.0.0,3.1.300.v20080303,org.eclipse.debug.core:0.0.0,3.4.0.v20080612,org.eclipse.debug.ui:0.0.0,3.4.1.v20080811_r341,org.eclipse.help.appserver:0.0.0,3.1.300.v20080507,org.eclipse.ltk.core.refactoring:0.0.0,3.4.1.r341_v20080716-0800,org.eclipse.ltk.ui.refactoring:0.0.0,3.4.1.r341_v20080716-0800,org.eclipse.platform:0.0.0,3.3.101.v200809111700,org.eclipse.platform.doc.user:0.0.0,3.4.1.r341_v20080808-0800,org.eclipse.search:0.0.0,3.4.1.r341_v20080813-0800,org.eclipse.team.core:0.0.0,3.4.1.r34x_20080827,org.eclipse.team.ui:0.0.0,3.4.1.r34x_20080827,org.eclipse.text:0.0.0,3.4.0.v20080605-1800,org.eclipse.jface.text:0.0.0,3.4.1.r341_v20080827-1100,org.eclipse.jsch.core:0.0.0,1.1.100.I20080604,org.eclipse.jsch.ui:0.0.0,1.1.100.I20080415,org.eclipse.ui.console:0.0.0,3.3.0.v20080529-1300,org.eclipse.ui.presentations.r21:0.0.0,3.2.100.I20080512-2000,org.eclipse.ui.intro:0.0.0,3.2.201.v20080702_34x,org.eclipse.ui.intro.universal:0.0.0,3.2.200.v20080508,org.eclipse.ui.cheatsheets:0.0.0,3.3.101.v20080702_34x,org.eclipse.ui.browser:0.0.0,3.2.201.v20080708_34x,org.eclipse.ui.navigator:0.0.0,3.3.101.M20080827-0800,org.eclipse.ui.navigator.resources:0.0.0,3.3.101.M20080910-0800,org.eclipse.ui.net:0.0.0,1.0.0.I20080605,org.eclipse.ui.workbench.texteditor:0.0.0,3.4.1.r341_v20080827-1100,org.eclipse.ui.views:0.0.0,3.3.0.I20080509-2000,org.eclipse.ui.editors:0.0.0,3.4.0.v20080603-2000,org.eclipse.ui.externaltools:0.0.0,3.2.0.v20080514-1542,org.eclipse.ui.ide:0.0.0,3.4.1.M20080903-2000,org.eclipse.ui.ide.application:0.0.0,1.0.0.I20080603-2000,org.eclipse.ui.win32:0.0.0,3.2.100.v20080408-0800,org.eclipse.update.core:0.0.0,3.2.201.R34x_v20080714,org.eclipse.update.scheduler:0.0.0,3.2.100.v20080404,org.eclipse.update.ui:0.0.0,3.2.100.v20080318,org.eclipse.ui.workbench.compatibility:0.0.0,3.2.0.I20080509-2000,org.eclipse.core.filesystem.hpux.ia64_32:0.0.0,1.0.0.v20080604-1400,org.eclipse.core.filesystem.hpux.PA_RISC:0.0.0,1.0.0.v20080604-1400,org.eclipse.core.filesystem.linux.ppc:0.0.0,1.0.100.v20080604-1400,org.eclipse.core.filesystem.linux.x86:0.0.0,1.2.0.v20080604-1400,org.eclipse.core.filesystem.linux.x86_64:0.0.0,1.0.100.v20080604-1400,org.eclipse.core.filesystem.solaris.sparc:0.0.0,1.0.100.v20080604-1400,org.eclipse.core.filesystem.macosx:0.0.0,1.0.0.v20080604-1400,org.eclipse.core.filesystem.qnx.x86:0.0.0,1.0.0.v20080604-1400,org.eclipse.core.filesystem.win32.x86:0.0.0,1.1.0.v20080604-1400,org.eclipse.core.filesystem.win32.ia64:0.0.0,1.1.0.v20071121,org.eclipse.core.resources.win32.x86:0.0.0,3.4.0.v20071204,org.eclipse.core.resources.win32.ia64:0.0.0,3.4.0.v20071204,org.eclipse.update.core.linux:0.0.0,3.2.0.v20080422,org.eclipse.update.core.win32:0.0.0,3.2.100.v20080107,org.eclipse.ui.views.properties.tabbed:0.0.0,3.4.1.M20080730-0800,org.eclipse.equinox.security:0.0.0,1.0.1.R34x_v20080721,org.eclipse.equinox.security.ui:0.0.0,1.0.0.v20080603-1810,org.eclipse.equinox.security.win32.x86:0.0.0,1.0.0.v20080529-1600,org.eclipse.equinox.security.macosx:0.0.0,1.0.0.v20080602-2000,"/> -+ <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.platform_3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu/feature.xml" selfVersion="3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu" featureIds="org.eclipse.help:0.0.0,1.0.1.R34x_v20080827-7r7xEIxEI6Zu5nEqN7M3UBpglaat,org.eclipse.equinox.p2.user.ui:0.0.0,1.0.1.r34x_v20080721-7d-7OEMsLAz-vTBJ-ZHQaF155CE," pluginIds="com.jcraft.jsch:0.0.0,0.1.37.v200803061811,org.eclipse.compare:0.0.0,3.4.0.I20080604,org.eclipse.core.boot:0.0.0,3.1.100.v20080218,org.eclipse.core.filebuffers:0.0.0,3.4.0.v20080603-2000,org.eclipse.core.filesystem:0.0.0,1.2.0.v20080604-1400,org.eclipse.core.net:0.0.0,1.1.0.I20080604,org.eclipse.core.net.win32.x86:0.0.0,1.0.0.I20080521,org.eclipse.core.net.linux.x86:0.0.0,1.0.0.I20080521,org.eclipse.core.net.freebsd.x86:0.0.0,1.0.0.I20080521,org.eclipse.core.resources:0.0.0,3.4.1.R34x_v20080902,org.eclipse.core.resources.compatibility:0.0.0,3.4.0.v20080604-1400,org.eclipse.osgi.util:0.0.0,3.1.300.v20080303,org.eclipse.debug.core:0.0.0,3.4.0.v20080612,org.eclipse.debug.ui:0.0.0,3.4.1.v20080811_r341,org.eclipse.help.appserver:0.0.0,3.1.300.v20080507,org.eclipse.ltk.core.refactoring:0.0.0,3.4.1.r341_v20080716-0800,org.eclipse.ltk.ui.refactoring:0.0.0,3.4.1.r341_v20080716-0800,org.eclipse.platform:0.0.0,3.3.101.v200809111700,org.eclipse.platform.doc.user:0.0.0,3.4.1.r341_v20080808-0800,org.eclipse.search:0.0.0,3.4.1.r341_v20080813-0800,org.eclipse.team.core:0.0.0,3.4.1.r34x_20080827,org.eclipse.team.ui:0.0.0,3.4.1.r34x_20080827,org.eclipse.text:0.0.0,3.4.0.v20080605-1800,org.eclipse.jface.text:0.0.0,3.4.1.r341_v20080827-1100,org.eclipse.jsch.core:0.0.0,1.1.100.I20080604,org.eclipse.jsch.ui:0.0.0,1.1.100.I20080415,org.eclipse.ui.console:0.0.0,3.3.0.v20080529-1300,org.eclipse.ui.presentations.r21:0.0.0,3.2.100.I20080512-2000,org.eclipse.ui.intro:0.0.0,3.2.201.v20080702_34x,org.eclipse.ui.intro.universal:0.0.0,3.2.200.v20080508,org.eclipse.ui.cheatsheets:0.0.0,3.3.101.v20080702_34x,org.eclipse.ui.browser:0.0.0,3.2.201.v20080708_34x,org.eclipse.ui.navigator:0.0.0,3.3.101.M20080827-0800,org.eclipse.ui.navigator.resources:0.0.0,3.3.101.M20080910-0800,org.eclipse.ui.net:0.0.0,1.0.0.I20080605,org.eclipse.ui.workbench.texteditor:0.0.0,3.4.1.r341_v20080827-1100,org.eclipse.ui.views:0.0.0,3.3.0.I20080509-2000,org.eclipse.ui.editors:0.0.0,3.4.0.v20080603-2000,org.eclipse.ui.externaltools:0.0.0,3.2.0.v20080514-1542,org.eclipse.ui.ide:0.0.0,3.4.1.M20080903-2000,org.eclipse.ui.ide.application:0.0.0,1.0.0.I20080603-2000,org.eclipse.ui.win32:0.0.0,3.2.100.v20080408-0800,org.eclipse.update.core:0.0.0,3.2.201.R34x_v20080714,org.eclipse.update.scheduler:0.0.0,3.2.100.v20080404,org.eclipse.update.ui:0.0.0,3.2.100.v20080318,org.eclipse.ui.workbench.compatibility:0.0.0,3.2.0.I20080509-2000,org.eclipse.core.filesystem.hpux.ia64_32:0.0.0,1.0.0.v20080604-1400,org.eclipse.core.filesystem.hpux.PA_RISC:0.0.0,1.0.0.v20080604-1400,org.eclipse.core.filesystem.linux.ppc:0.0.0,1.0.100.v20080604-1400,org.eclipse.core.filesystem.linux.x86:0.0.0,1.2.0.v20080604-1400,org.eclipse.core.filesystem.linux.x86_64:0.0.0,1.0.100.v20080604-1400,org.eclipse.core.filesystem.freebsd.x86:0.0.0,1.2.0.v20080604-1400,org.eclipse.core.filesystem.freebsd.amd64:0.0.0,1.0.100.v20080604-1400,org.eclipse.core.filesystem.solaris.sparc:0.0.0,1.0.100.v20080604-1400,org.eclipse.core.filesystem.macosx:0.0.0,1.0.0.v20080604-1400,org.eclipse.core.filesystem.qnx.x86:0.0.0,1.0.0.v20080604-1400,org.eclipse.core.filesystem.win32.x86:0.0.0,1.1.0.v20080604-1400,org.eclipse.core.filesystem.win32.ia64:0.0.0,1.1.0.v20071121,org.eclipse.core.resources.win32.x86:0.0.0,3.4.0.v20071204,org.eclipse.core.resources.win32.ia64:0.0.0,3.4.0.v20071204,org.eclipse.update.core.linux:0.0.0,3.2.0.v20080422,org.eclipse.update.core.freebsd:0.0.0,3.2.0.v20080422,org.eclipse.update.core.win32:0.0.0,3.2.100.v20080107,org.eclipse.ui.views.properties.tabbed:0.0.0,3.4.1.M20080730-0800,org.eclipse.equinox.security:0.0.0,1.0.1.R34x_v20080721,org.eclipse.equinox.security.ui:0.0.0,1.0.0.v20080603-1810,org.eclipse.equinox.security.win32.x86:0.0.0,1.0.0.v20080529-1600,org.eclipse.equinox.security.macosx:0.0.0,1.0.0.v20080602-2000,"/> - <antcall target="rootFiles"> - <param name="rootTarget" value="rootFiles${os}_${ws}_${arch}"/> - </antcall> -@@ -517,6 +537,28 @@ - <chmod perm="755" dir="${feature.base}/linux.gtk.x86/${collectingFolder}" includes="eclipse" /> - <chmod perm="755" dir="${feature.base}/linux.gtk.x86/${collectingFolder}" includes="*.so*" /> - </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}/about_files/freebsd.gtk.x86"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/../../features/org.eclipse.equinox.executable/bin/gtk/freebsd/x86"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/gtk"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/rootfiles"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/../../plugins/org.eclipse.platform"> -+ <include name="startup.jar"/> -+ </fileset> -+ </copy> -+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.x86/${collectingFolder}" includes="eclipse" /> -+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.x86/${collectingFolder}" includes="*.so*" /> -+ </target> - <target name="rootFileslinux_gtk_ppc"> - <mkdir dir="${feature.base}/linux.gtk.ppc/${collectingFolder}/"/> - <copy todir="${feature.base}/linux.gtk.ppc/${collectingFolder}/" failonerror="true" overwrite="true"> -@@ -558,6 +600,28 @@ - <chmod perm="755" dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" includes="eclipse" /> - <chmod perm="755" dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" includes="*.so*" /> - </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ <mkdir dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/"/> -+ <copy todir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/" failonerror="true" overwrite="true"> -+ <fileset dir="${basedir}/about_files/freebsd.gtk.amd64"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/../../features/org.eclipse.equinox.executable/bin/gtk/freebsd/amd64"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/gtk"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/rootfiles"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/../../plugins/org.eclipse.platform"> -+ <include name="startup.jar"/> -+ </fileset> -+ </copy> -+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}" includes="eclipse" /> -+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}" includes="*.so*" /> -+ </target> - <target name="rootFileslinux_gtk_ia64"> - <mkdir dir="${feature.base}/linux.gtk.ia64/${collectingFolder}/"/> - <copy todir="${feature.base}/linux.gtk.ia64/${collectingFolder}/" failonerror="true" overwrite="true"> -@@ -769,6 +833,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.platform-feature.xml b/java/eclipse-devel/files/patch-features-org.eclipse.platform-feature.xml deleted file mode 100644 index 9b4f09d7485d..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.platform-feature.xml +++ /dev/null @@ -1,62 +0,0 @@ ---- features/org.eclipse.platform/feature.xml.orig 2008-08-02 15:25:04.000000000 -0400 -+++ features/org.eclipse.platform/feature.xml 2008-08-02 15:25:49.000000000 -0400 -@@ -96,6 +96,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" -@@ -406,6 +416,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.amd64" -+ os="freebsd" -+ arch="amd64" -+ 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" -@@ -494,6 +524,15 @@ - unpack="false"/> - - <plugin -+ id="org.eclipse.update.core.freebsd" -+ os="freebsd" -+ download-size="0" -+ install-size="0" -+ version="0.0.0" -+ fragment="true" -+ unpack="false"/> -+ -+ <plugin - id="org.eclipse.ui.views.properties.tabbed" - download-size="0" - install-size="0" diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.platform.source-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.platform.source-build.xml deleted file mode 100644 index e757e3c5111e..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.platform.source-build.xml +++ /dev/null @@ -1,34 +0,0 @@ ---- features/org.eclipse.platform.source/build.xml.orig 2008-08-02 15:26:47.000000000 -0400 -+++ features/org.eclipse.platform.source/build.xml 2008-08-02 15:27:23.000000000 -0400 -@@ -42,6 +42,11 @@ - <property name="os" value="linux"/> - <property name="ws" value="gtk"/> - </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.update.core.freebsd.source" target="${target}"> -+ <property name="arch" value="x86"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> - <ant antfile="build.xml" dir="../../plugins/org.eclipse.ui.workbench.compatibility.source" target="${target}"> - <property name="arch" value="x86"/> - <property name="os" value="win32"/> -@@ -348,6 +353,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -375,6 +384,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtl_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.platform.source-feature.xml b/java/eclipse-devel/files/patch-features-org.eclipse.platform.source-feature.xml deleted file mode 100644 index d1b022b59f3a..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.platform.source-feature.xml +++ /dev/null @@ -1,10 +0,0 @@ ---- features/org.eclipse.platform.source/feature.xml.orig 2008-09-25 19:28:09.000000000 -0400 -+++ features/org.eclipse.platform.source/feature.xml 2008-09-25 19:27:48.000000000 -0400 -@@ -67,6 +67,7 @@ - <plugin id="org.eclipse.update.ui.source" version="3.2.100.v20080318" unpack="false"/> - <plugin id="org.eclipse.ui.workbench.compatibility.source" version="3.2.0.I20080509-2000" unpack="false"/> - <plugin id="org.eclipse.update.core.linux.source" version="3.2.0.v20080422" os="linux" unpack="false"/> -+ <plugin id="org.eclipse.update.core.freebsd.source" version="3.2.0.v20080422" os="freebsd" unpack="false"/> - <plugin id="org.eclipse.update.core.win32.source" version="3.2.100.v20080107" os="win32" unpack="false"/> - <plugin id="org.eclipse.ui.views.properties.tabbed.source" version="3.4.1.M20080730-0800" unpack="false"/> - <plugin id="org.eclipse.equinox.security.source" version="1.0.1.R34x_v20080721" unpack="false"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.rcp-build.properties b/java/eclipse-devel/files/patch-features-org.eclipse.rcp-build.properties deleted file mode 100644 index cfca5ed4fd1c..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.rcp-build.properties +++ /dev/null @@ -1,14 +0,0 @@ ---- features/org.eclipse.rcp/build.properties.orig 2008-08-02 15:34:27.000000000 -0400 -+++ features/org.eclipse.rcp/build.properties 2008-08-02 15:35:07.000000000 -0400 -@@ -42,6 +42,11 @@ - root.linux.motif.x86=../../features/org.eclipse.platform/about_files/linux.motif.x86,../../features/org.eclipse.equinox.executable/bin/motif/linux/x86,file:../../plugins/org.eclipse.swt.motif.linux.x86/libXm.so.2 - root.linux.motif.x86.permissions.755=*.so* - -+root.freebsd.gtk.x86=../../features/org.eclipse.platform/about_files/freebsd.gtk.x86,../../features/org.eclipse.equinox.executable/bin/gtk/freebsd/x86 -+root.freebsd.gtk.x86.permissions.755=*.so* -+root.freebsd.gtk.amd64=../../features/org.eclipse.platform/about_files/freebsd.gtk.amd64,../../features/org.eclipse.equinox.executable/bin/gtk/freebsd/amd64 -+root.freebsd.gtk.amd64.permissions.755=*.so* -+ - root.macosx.carbon.ppc=../../features/org.eclipse.equinox.executable/bin/carbon/macosx/ppc - root.macosx.carbon.ppc.link=Eclipse.app/Contents/MacOS/eclipse,eclipse - root.macosx.carbon.ppc.permissions.755=Eclipse.app/Contents/MacOS/eclipse,Eclipse.app/Contents/MacOS/java_swt diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.rcp-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.rcp-build.xml deleted file mode 100644 index b1602cff84de..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.rcp-build.xml +++ /dev/null @@ -1,118 +0,0 @@ ---- features/org.eclipse.rcp/build.xml.orig 2008-09-26 19:38:22.000000000 -0400 -+++ features/org.eclipse.rcp/build.xml 2008-09-26 19:38:10.000000000 -0400 -@@ -37,6 +37,11 @@ - <property name="os" value="linux"/> - <property name="ws" value="gtk"/> - </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86" target="${target}"> -+ <property name="arch" value="x86"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> - <ant antfile="build.xml" dir="../../plugins/org.eclipse.equinox.launcher.carbon.macosx" target="${target}"> - <property name="arch" value="ppc"/> - <property name="os" value="macosx"/> -@@ -72,6 +77,11 @@ - <property name="os" value="linux"/> - <property name="ws" value="gtk"/> - </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.equinox.launcher.gtk.freebsd.amd64" target="${target}"> -+ <property name="arch" value="amd64"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> - <ant antfile="build.xml" dir="../../plugins/org.eclipse.equinox.launcher.gtk.solaris.sparc" target="${target}"> - <property name="arch" value="sparc"/> - <property name="os" value="solaris"/> -@@ -112,11 +122,21 @@ - <property name="os" value="linux"/> - <property name="ws" value="gtk"/> - </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.swt.gtk.freebsd.amd64" target="${target}"> -+ <property name="arch" value="amd64"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> - <ant antfile="build.xml" dir="../../plugins/org.eclipse.swt.gtk.linux.x86" target="${target}"> - <property name="arch" value="x86"/> - <property name="os" value="linux"/> - <property name="ws" value="gtk"/> - </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.swt.gtk.freebsd.x86" target="${target}"> -+ <property name="arch" value="x86"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> - <ant antfile="build.xml" dir="../../plugins/org.eclipse.swt.wpf.win32.x86" target="${target}"> - <property name="arch" value="x86"/> - <property name="os" value="win32"/> -@@ -363,7 +383,7 @@ - <include name="eclipse_update_120.jpg"/> - </fileset> - </copy> -- <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.rcp_3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341/feature.xml" selfVersion="3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341" featureIds="" pluginIds="com.ibm.icu:0.0.0,3.8.1.v20080530,org.eclipse.core.commands:0.0.0,3.4.0.I20080509-2000,org.eclipse.core.databinding:0.0.0,1.1.1.M20080827-0800b,org.eclipse.core.databinding.beans:0.0.0,1.1.1.M20080827-0800a,org.eclipse.core.jobs:0.0.0,3.4.0.v20080512,org.eclipse.core.expressions:0.0.0,3.4.0.v20080603-2000,org.eclipse.core.runtime:0.0.0,3.4.0.v20080512,org.eclipse.core.runtime.compatibility.auth:0.0.0,3.2.100.v20070502,org.eclipse.osgi:0.0.0,3.4.2.R34x_v20080826-1230,org.eclipse.help:0.0.0,3.3.101.v20080702_34x,org.eclipse.swt:0.0.0,3.4.1.v3449c,org.eclipse.jface:0.0.0,3.4.1.M20080827-2000,org.eclipse.jface.databinding:0.0.0,1.2.1.M20080827-0800a,org.eclipse.ui:0.0.0,3.4.1.M20080910-0800,org.eclipse.ui.workbench:0.0.0,3.4.1.M20080827-0800a,org.eclipse.ui.carbon:0.0.0,4.0.0.I20080610-1200,org.eclipse.update.configurator:0.0.0,3.2.201.R34x_v20080819,org.eclipse.equinox.simpleconfigurator:0.0.0,1.0.0.v20080604,org.eclipse.swt.win32.win32.x86:0.0.0,3.4.1.v3449c,org.eclipse.swt.win32.win32.x86_64:0.0.0,3.4.1.v3449c,org.eclipse.swt.wpf.win32.x86:0.0.0,3.4.1.v3449c,org.eclipse.swt.win32.win32.ia64:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.linux.x86:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.linux.s390:0.0.0,3.4.0.R3_4,org.eclipse.swt.gtk.linux.s390x:0.0.0,3.4.0.R3_4,org.eclipse.swt.gtk.solaris.sparc:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.solaris.x86:0.0.0,3.4.0.HEAD,org.eclipse.swt.gtk.linux.ppc:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.linux.x86_64:0.0.0,3.4.1.v3449c,org.eclipse.swt.carbon.macosx:0.0.0,3.4.1.v3449c,org.eclipse.swt.motif.aix.ppc:0.0.0,3.4.1.v3449c,org.eclipse.swt.motif.hpux.PA_RISC:0.0.0,3.4.0.v3448f,org.eclipse.swt.motif.hpux.ia64_32:0.0.0,3.4.1.v3449c,org.eclipse.swt.motif.linux.x86:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.linux.ia64:0.0.0,3.4.0.HEAD,org.eclipse.swt.motif.solaris.sparc:0.0.0,3.4.1.v3449c,org.eclipse.swt.photon.qnx.x86:0.0.0,3.4.1.v3449c,org.eclipse.rcp:0.0.0,3.4.0.v20080507,org.eclipse.core.contenttype:0.0.0,3.3.0.v20080604-1400,org.eclipse.equinox.app:0.0.0,1.1.0.v20080421-2006,org.eclipse.equinox.common:0.0.0,3.4.0.v20080421-2006,org.eclipse.equinox.preferences:0.0.0,3.2.201.R34x_v20080709,org.eclipse.equinox.registry:0.0.0,3.4.0.v20080516-0950,org.eclipse.equinox.launcher:0.0.0,1.0.101.R34x_v20080819,org.eclipse.equinox.launcher.gtk.solaris.sparc:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.carbon.macosx:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.gtk.linux.ppc:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.gtk.linux.x86:0.0.0,1.0.101.R34x_v20080805,org.eclipse.equinox.launcher.gtk.linux.s390:0.0.0,1.0.0.v20080303,org.eclipse.equinox.launcher.gtk.linux.s390x:0.0.0,1.0.0.v20080303,org.eclipse.equinox.launcher.motif.linux.x86:0.0.0,1.0.101.R34x_v20080805,org.eclipse.equinox.launcher.gtk.linux.x86_64:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.motif.aix.ppc:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.motif.hpux.ia64_32:0.0.0,1.0.1.R34x_v20080731,org.eclipse.equinox.launcher.motif.hpux.PA_RISC:0.0.0,1.0.100.v20080303,org.eclipse.equinox.launcher.wpf.win32.x86:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.win32.win32.x86:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.win32.win32.x86_64:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.win32.win32.ia64:0.0.0,1.0.101.R34x_v20080731,"/> -+ <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.rcp_3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341/feature.xml" selfVersion="3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341" featureIds="" pluginIds="com.ibm.icu:0.0.0,3.8.1.v20080530,org.eclipse.core.commands:0.0.0,3.4.0.I20080509-2000,org.eclipse.core.databinding:0.0.0,1.1.1.M20080827-0800b,org.eclipse.core.databinding.beans:0.0.0,1.1.1.M20080827-0800a,org.eclipse.core.jobs:0.0.0,3.4.0.v20080512,org.eclipse.core.expressions:0.0.0,3.4.0.v20080603-2000,org.eclipse.core.runtime:0.0.0,3.4.0.v20080512,org.eclipse.core.runtime.compatibility.auth:0.0.0,3.2.100.v20070502,org.eclipse.osgi:0.0.0,3.4.2.R34x_v20080826-1230,org.eclipse.help:0.0.0,3.3.101.v20080702_34x,org.eclipse.swt:0.0.0,3.4.1.v3449c,org.eclipse.jface:0.0.0,3.4.1.M20080827-2000,org.eclipse.jface.databinding:0.0.0,1.2.1.M20080827-0800a,org.eclipse.ui:0.0.0,3.4.1.M20080910-0800,org.eclipse.ui.workbench:0.0.0,3.4.1.M20080827-0800a,org.eclipse.ui.carbon:0.0.0,4.0.0.I20080610-1200,org.eclipse.update.configurator:0.0.0,3.2.201.R34x_v20080819,org.eclipse.equinox.simpleconfigurator:0.0.0,1.0.0.v20080604,org.eclipse.swt.win32.win32.x86:0.0.0,3.4.1.v3449c,org.eclipse.swt.win32.win32.x86_64:0.0.0,3.4.1.v3449c,org.eclipse.swt.wpf.win32.x86:0.0.0,3.4.1.v3449c,org.eclipse.swt.win32.win32.ia64:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.linux.x86:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.freebsd.x86:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.linux.s390:0.0.0,3.4.0.R3_4,org.eclipse.swt.gtk.linux.s390x:0.0.0,3.4.0.R3_4,org.eclipse.swt.gtk.solaris.sparc:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.solaris.x86:0.0.0,3.4.0.HEAD,org.eclipse.swt.gtk.linux.ppc:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.linux.x86_64:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.freebsd.amd64:0.0.0,3.4.1.v3449c,org.eclipse.swt.carbon.macosx:0.0.0,3.4.1.v3449c,org.eclipse.swt.motif.aix.ppc:0.0.0,3.4.1.v3449c,org.eclipse.swt.motif.hpux.PA_RISC:0.0.0,3.4.0.v3448f,org.eclipse.swt.motif.hpux.ia64_32:0.0.0,3.4.1.v3449c,org.eclipse.swt.motif.linux.x86:0.0.0,3.4.1.v3449c,org.eclipse.swt.gtk.linux.ia64:0.0.0,3.4.0.HEAD,org.eclipse.swt.motif.solaris.sparc:0.0.0,3.4.1.v3449c,org.eclipse.swt.photon.qnx.x86:0.0.0,3.4.1.v3449c,org.eclipse.rcp:0.0.0,3.4.0.v20080507,org.eclipse.core.contenttype:0.0.0,3.3.0.v20080604-1400,org.eclipse.equinox.app:0.0.0,1.1.0.v20080421-2006,org.eclipse.equinox.common:0.0.0,3.4.0.v20080421-2006,org.eclipse.equinox.preferences:0.0.0,3.2.201.R34x_v20080709,org.eclipse.equinox.registry:0.0.0,3.4.0.v20080516-0950,org.eclipse.equinox.launcher:0.0.0,1.0.101.R34x_v20080819,org.eclipse.equinox.launcher.gtk.solaris.sparc:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.carbon.macosx:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.gtk.linux.ppc:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.gtk.linux.x86:0.0.0,1.0.101.R34x_v20080805,org.eclipse.equinox.launcher.gtk.freebsd.x86:0.0.0,1.0.101.R34x_v20080805,org.eclipse.equinox.launcher.gtk.linux.s390:0.0.0,1.0.0.v20080303,org.eclipse.equinox.launcher.gtk.linux.s390x:0.0.0,1.0.0.v20080303,org.eclipse.equinox.launcher.motif.linux.x86:0.0.0,1.0.101.R34x_v20080805,org.eclipse.equinox.launcher.gtk.linux.x86_64:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.gtk.freebsd.amd64:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.motif.aix.ppc:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.motif.hpux.ia64_32:0.0.0,1.0.1.R34x_v20080731,org.eclipse.equinox.launcher.motif.hpux.PA_RISC:0.0.0,1.0.100.v20080303,org.eclipse.equinox.launcher.wpf.win32.x86:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.win32.win32.x86:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.win32.win32.x86_64:0.0.0,1.0.101.R34x_v20080731,org.eclipse.equinox.launcher.win32.win32.ia64:0.0.0,1.0.101.R34x_v20080731,"/> - <antcall target="rootFiles"> - <param name="rootTarget" value="rootFiles${os}_${ws}_${arch}"/> - </antcall> -@@ -472,6 +492,25 @@ - <chmod perm="755" dir="${feature.base}/linux.gtk.x86/${collectingFolder}" includes="eclipse" /> - <chmod perm="755" dir="${feature.base}/linux.gtk.x86/${collectingFolder}" includes="*.so*" /> - </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}/../../features/org.eclipse.platform/about_files/freebsd.gtk.x86"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/../../features/org.eclipse.equinox.executable/bin/gtk/freebsd/x86"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/rootfiles"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/../org.eclipse.platform/rootfiles"> -+ <include name="**"/> -+ </fileset> -+ </copy> -+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.x86/${collectingFolder}" includes="eclipse" /> -+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.x86/${collectingFolder}" includes="*.so*" /> -+ </target> - <target name="rootFileslinux_gtk_ppc"> - <mkdir dir="${feature.base}/linux.gtk.ppc/${collectingFolder}/"/> - <copy todir="${feature.base}/linux.gtk.ppc/${collectingFolder}/" failonerror="true" overwrite="true"> -@@ -506,6 +545,25 @@ - <chmod perm="755" dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" includes="eclipse" /> - <chmod perm="755" dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" includes="*.so*" /> - </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ <mkdir dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/"/> -+ <copy todir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/" failonerror="true" overwrite="true"> -+ <fileset dir="${basedir}/../../features/org.eclipse.platform/about_files/freebsd.gtk.amd64"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/../../features/org.eclipse.equinox.executable/bin/gtk/freebsd/amd64"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/rootfiles"> -+ <include name="**"/> -+ </fileset> -+ <fileset dir="${basedir}/../org.eclipse.platform/rootfiles"> -+ <include name="**"/> -+ </fileset> -+ </copy> -+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}" includes="eclipse" /> -+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}" includes="*.so*" /> -+ </target> - <target name="rootFileslinux_gtk_ia64"> - <mkdir dir="${feature.base}/linux.gtk.ia64/${collectingFolder}/"/> - <copy todir="${feature.base}/linux.gtk.ia64/${collectingFolder}/" failonerror="true" overwrite="true"> -@@ -684,6 +742,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.rcp-feature.xml b/java/eclipse-devel/files/patch-features-org.eclipse.rcp-feature.xml deleted file mode 100644 index b91aeb55ff02..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.rcp-feature.xml +++ /dev/null @@ -1,72 +0,0 @@ ---- features/org.eclipse.rcp/feature.xml.orig 2008-09-26 19:47:12.000000000 -0400 -+++ features/org.eclipse.rcp/feature.xml 2008-09-26 19:46:59.000000000 -0400 -@@ -207,6 +207,17 @@ - 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.linux.s390" - os="linux" - ws="gtk" -@@ -273,6 +284,17 @@ - unpack="false"/> - - <plugin -+ id="org.eclipse.swt.gtk.freebsd.amd64" -+ os="freebsd" -+ ws="gtk" -+ arch="amd64" -+ download-size="0" -+ install-size="0" -+ version="0.0.0" -+ fragment="true" -+ unpack="false"/> -+ -+ <plugin - id="org.eclipse.swt.carbon.macosx" - os="macosx" - ws="carbon" -@@ -448,6 +470,16 @@ - 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.linux.s390" - os="linux" - ws="gtk" -@@ -488,6 +520,16 @@ - fragment="true"/> - - <plugin -+ id="org.eclipse.equinox.launcher.gtk.freebsd.amd64" -+ os="freebsd" -+ ws="gtk" -+ arch="amd64" -+ 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" diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.rcp.source-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.rcp.source-build.xml deleted file mode 100644 index 379f6a3305aa..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.rcp.source-build.xml +++ /dev/null @@ -1,39 +0,0 @@ ---- features/org.eclipse.rcp.source/build.xml.orig 2008-08-02 15:37:58.000000000 -0400 -+++ features/org.eclipse.rcp.source/build.xml 2008-08-02 15:38:41.000000000 -0400 -@@ -92,6 +92,16 @@ - <property name="os" value="linux"/> - <property name="ws" value="gtk"/> - </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.swt.gtk.freebsd.x86.source" target="${target}"> -+ <property name="arch" value="x86"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> -+ <ant antfile="build.xml" dir="../../plugins/org.eclipse.swt.gtk.freebsd.amd64.source" target="${target}"> -+ <property name="arch" value="amd64"/> -+ <property name="os" value="freebsd"/> -+ <property name="ws" value="gtk"/> -+ </ant> - <ant antfile="build.xml" dir="../../plugins/org.eclipse.swt.gtk.solaris.x86.source" target="${target}"> - <property name="arch" value="x86"/> - <property name="os" value="solaris"/> -@@ -316,6 +326,10 @@ - </target> - <target name="rootFileslinux_motif_x86"> - </target> -+ <target name="rootFilesfreebsd_gtk_x86"> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - </target> - <target name="rootFilessolaris_gtk_x86"> -@@ -343,6 +357,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.rcp.source-feature.xml b/java/eclipse-devel/files/patch-features-org.eclipse.rcp.source-feature.xml deleted file mode 100644 index 21762a8d7c98..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.rcp.source-feature.xml +++ /dev/null @@ -1,11 +0,0 @@ ---- features/org.eclipse.rcp.source/feature.xml.orig 2008-09-26 19:53:35.000000000 -0400 -+++ features/org.eclipse.rcp.source/feature.xml 2008-09-26 19:53:21.000000000 -0400 -@@ -35,6 +35,8 @@ - <plugin id="org.eclipse.swt.gtk.linux.x86.source" version="3.4.1.v3449c" os="linux" arch="x86" ws="gtk" unpack="false"/> - <plugin id="org.eclipse.swt.gtk.linux.s390.source" version="3.4.0.R3_4" os="linux" arch="s390" ws="gtk" unpack="false"/> - <plugin id="org.eclipse.swt.gtk.linux.s390x.source" version="3.4.0.R3_4" os="linux" arch="s390x" ws="gtk" unpack="false"/> -+ <plugin id="org.eclipse.swt.gtk.freebsd.x86.source" version="3.4.1.v3449c" os="freebsd" arch="x86" ws="gtk" unpack="false"/> -+ <plugin id="org.eclipse.swt.gtk.freebsd.amd64.source" version="3.4.1.v3449c" os="freebsd" arch="amd64" ws="gtk" unpack="false"/> - <plugin id="org.eclipse.swt.gtk.solaris.sparc.source" version="3.4.1.v3449c" os="solaris" arch="sparc" ws="gtk" unpack="false"/> - <plugin id="org.eclipse.swt.gtk.solaris.x86.source" version="3.4.0.HEAD" os="solaris" arch="x86" ws="gtk" unpack="false"/> - <plugin id="org.eclipse.swt.gtk.linux.ppc.source" version="3.4.1.v3449c" os="linux" arch="ppc" ws="gtk" unpack="false"/> diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.sdk-build.properties b/java/eclipse-devel/files/patch-features-org.eclipse.sdk-build.properties deleted file mode 100644 index 6dacd35b82aa..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.sdk-build.properties +++ /dev/null @@ -1,8 +0,0 @@ ---- features/org.eclipse.sdk/build.properties.orig 2008-08-02 15:41:30.000000000 -0400 -+++ features/org.eclipse.sdk/build.properties 2008-08-02 15:41:44.000000000 -0400 -@@ -50,3 +50,5 @@ - root.qnx.photon.x86=win32 - root.linux.motif.x86=motif - root.macosx.carbon.ppc=macosx.carbon -+root.freebsd.gtk.x86=gtk -+root.freebsd.gtk.amd64=gtk diff --git a/java/eclipse-devel/files/patch-features-org.eclipse.sdk-build.xml b/java/eclipse-devel/files/patch-features-org.eclipse.sdk-build.xml deleted file mode 100644 index f574f111cf14..000000000000 --- a/java/eclipse-devel/files/patch-features-org.eclipse.sdk-build.xml +++ /dev/null @@ -1,34 +0,0 @@ ---- features/org.eclipse.sdk/build.xml.orig 2008-08-02 15:40:07.000000000 -0400 -+++ features/org.eclipse.sdk/build.xml 2008-08-02 15:40:38.000000000 -0400 -@@ -187,6 +187,22 @@ - </fileset> - </copy> - </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}/gtk"> -+ <include name="**"/> -+ </fileset> -+ </copy> -+ </target> -+ <target name="rootFilesfreebsd_gtk_amd64"> -+ <mkdir dir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/"/> -+ <copy todir="${feature.base}/freebsd.gtk.amd64/${collectingFolder}/" failonerror="true" overwrite="true"> -+ <fileset dir="${basedir}/gtk"> -+ <include name="**"/> -+ </fileset> -+ </copy> -+ </target> - <target name="rootFilessolaris_gtk_sparc"> - <mkdir dir="${feature.base}/solaris.gtk.sparc/${collectingFolder}/"/> - <copy todir="${feature.base}/solaris.gtk.sparc/${collectingFolder}/" failonerror="true" overwrite="true"> -@@ -244,6 +260,8 @@ - <antcall target="rootFileslinux_gtk_s390"/> - <antcall target="rootFileslinux_gtk_s390x"/> - <antcall target="rootFileslinux_motif_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_x86"/> -+ <antcall target="rootFilesfreebsd_gtk_amd64"/> - <antcall target="rootFilessolaris_gtk_sparc"/> - <antcall target="rootFilessolaris_gtk_x86"/> - <antcall target="rootFilessolaris_motif_sparc"/> diff --git a/java/eclipse-devel/files/patch-package.org.eclipse.sdk.all.xml b/java/eclipse-devel/files/patch-package.org.eclipse.sdk.all.xml deleted file mode 100644 index 70cb774b5bc4..000000000000 --- a/java/eclipse-devel/files/patch-package.org.eclipse.sdk.all.xml +++ /dev/null @@ -1,11 +0,0 @@ ---- package.org.eclipse.sdk.all.xml.orig 2008-10-01 19:09:30.000000000 -0400 -+++ package.org.eclipse.sdk.all.xml 2008-10-01 19:10:57.000000000 -0400 -@@ -30,6 +30,8 @@ - <assemble config="linux.gtk.s390" element="org.eclipse.sdk" dot="." scriptPrefix="package" /> - <assemble config="linux.gtk.s390x" element="org.eclipse.sdk" dot="." scriptPrefix="package" /> - <assemble config="linux.motif.x86" element="org.eclipse.sdk" dot="." scriptPrefix="package" /> -+<assemble config="freebsd.gtk.x86" element="org.eclipse.sdk" dot="." scriptPrefix="package" /> -+<assemble config="freebsd.gtk.amd64" element="org.eclipse.sdk" dot="." scriptPrefix="package" /> - <assemble config="solaris.gtk.sparc" element="org.eclipse.sdk" dot="." scriptPrefix="package" /> - <assemble config="solaris.gtk.x86" element="org.eclipse.sdk" dot="." scriptPrefix="package" /> - <assemble config="solaris.motif.sparc" element="org.eclipse.sdk" dot="." scriptPrefix="package" /> diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.ant.ui-buildfiles-buildRemoteExtraJAR.xml b/java/eclipse-devel/files/patch-plugins-org.eclipse.ant.ui-buildfiles-buildRemoteExtraJAR.xml deleted file mode 100644 index 137cca053b18..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.ant.ui-buildfiles-buildRemoteExtraJAR.xml +++ /dev/null @@ -1,20 +0,0 @@ ---- plugins/org.eclipse.ant.ui/buildfiles/buildRemoteExtraJAR.xml.orig 2008-08-02 10:58:33.000000000 -0400 -+++ plugins/org.eclipse.ant.ui/buildfiles/buildRemoteExtraJAR.xml 2008-08-02 11:02:19.000000000 -0400 -@@ -8,11 +8,15 @@ - <property name="build.result.folder" value="${basedir}"/> - <property name="version.suffix" value="_3.1.0"/> - <property name="win32.jar" value="${eclipse.home}/plugins/org.eclipse.swt.win32.win32.x86${version.suffix}.jar"/> -- <property name="gtk.jar" value="${eclipse.home}/plugins/org.eclipse.swt.gtk.linux.x86${version.suffix}.jar"/> -+ <property name="gtk.linux.jar" value="${eclipse.home}/plugins/org.eclipse.swt.gtk.linux.x86${version.suffix}.jar"/> -+ <property name="gtk.freebsd.x86.jar" value="${eclipse.home}/plugins/org.eclipse.swt.gtk.freebsd.x86${version.suffix}.jar"/> -+ <property name="gtk.freebsd.amd64.jar" value="${eclipse.home}/plugins/org.eclipse.swt.gtk.freebsd.amd64${version.suffix}.jar"/> - <property name="motif.jar" value="${eclipse.home}/plugins/org.eclipse.swt.motif${version.suffix}.jar"/> - <property name="osx.jar" value="${eclipse.home}/plugins/org.eclipse.swt.carbon.macosx.ppc${version.suffix}.jar"/> - <available file="${win32.jar}" property="swt.jar" value="${win32.jar}"/> -- <available file="${gtk.jar}" property="swt.jar" value="${gtk.jar}"/> -+ <available file="${gtk.linux.jar}" property="swt.jar" value="${gtk.linux.jar}"/> -+ <available file="${gtk.freebsd.x86.jar}" property="swt.jar" value="${gtk.freebsd.x86.jar}"/> -+ <available file="${gtk.freebsd.amd64.jar}" property="swt.jar" value="${gtk.freebsd.amd64.jar}"/> - <available file="${motif.jar}" property="swt.jar" value="${motif.jar}"/> - <available file="${osx.jar}" property="swt.jar" value="${osx.jar}"/> - </target> diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-Makefile b/java/eclipse-devel/files/patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-Makefile deleted file mode 100644 index 04c00601e53e..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile.orig 2008-08-02 10:38:16.000000000 -0400 -+++ plugins/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile 2008-08-02 10:38:32.000000000 -0400 -@@ -17,7 +17,7 @@ - OS_TYPE = freebsd - - #Set this to be the location of your JRE --JAVA_HOME = ~/vm/sun142 -+#JAVA_HOME = ~/vm/sun142 - - JDK_INCLUDE = -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_TYPE} - COMMON_INCLUDE = -I include diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-include-os_custom.h b/java/eclipse-devel/files/patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-include-os_custom.h deleted file mode 100644 index db7f84da5fd3..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-include-os_custom.h +++ /dev/null @@ -1,13 +0,0 @@ ---- plugins/org.eclipse.core.filesystem/natives/unix/freebsd/include/os_custom.h.orig 2008-08-02 10:40:44.000000000 -0400 -+++ plugins/org.eclipse.core.filesystem/natives/unix/freebsd/include/os_custom.h 2008-08-02 10:40:55.000000000 -0400 -@@ -11,8 +11,8 @@ - ***********************************************************************/ - - /* Use this directive when introducing platform-specific code in localfile.c */ --#ifndef LINUX --#define LINUX -+#ifndef FREEBSD -+#define FREEBSD - #endif - - /* FreeBSD supports reading symbolic links */ diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.filesystem-src-org-eclipse-core-internal-filesystem-local-LocalFileSystem.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.core.filesystem-src-org-eclipse-core-internal-filesystem-local-LocalFileSystem.java deleted file mode 100644 index 39d7552ba711..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.filesystem-src-org-eclipse-core-internal-filesystem-local-LocalFileSystem.java +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java.orig 2008-08-02 12:35:45.000000000 -0400 -+++ plugins/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java 2008-08-02 12:34:53.000000000 -0400 -@@ -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_LINUX) || (os.equals(Constants.OS_FREEBSD)) || (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/java/eclipse-devel/files/patch-plugins-org.eclipse.core.runtime-src-org-eclipse-core-internal-runtime-InternalPlatform.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.core.runtime-src-org-eclipse-core-internal-runtime-InternalPlatform.java deleted file mode 100644 index 299871acc853..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.runtime-src-org-eclipse-core-internal-runtime-InternalPlatform.java +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java.orig 2008-08-02 14:56:13.000000000 -0400 -+++ plugins/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java 2008-08-02 14:56:49.000000000 -0400 -@@ -61,7 +61,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_HPUX, Platform.OS_LINUX, Platform.OS_FREEBSD, 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; diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.runtime-src-org-eclipse-core-runtime-Platform.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.core.runtime-src-org-eclipse-core-runtime-Platform.java deleted file mode 100644 index 931136fbcea0..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.runtime-src-org-eclipse-core-runtime-Platform.java +++ /dev/null @@ -1,29 +0,0 @@ ---- plugins/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java.orig 2008-08-09 09:17:56.822774634 -0400 -+++ plugins/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java 2008-08-09 09:17:33.922680697 -0400 -@@ -204,6 +204,17 @@ - public static final String OS_LINUX = "linux";//$NON-NLS-1$ - - /** -+ * Constant string (value "freebsd") indicating the platform is running on a -+ * FreeBSD-based operating system. -+ * <p> -+ * Note this constant has been moved from the deprecated -+ * org.eclipse.core.boot.BootLoader class and its value has not changed. -+ * </p> -+ * @since 3.0 -+ */ -+ public static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$ -+ -+ /** - * Constant string (value "aix") indicating the platform is running on an - * AIX-based operating system. - * <p> -@@ -329,7 +340,7 @@ - * @deprecated use <code>ARCH_X86_64</code> instead. Note the values - * has been changed to be the value of the <code>ARCH_X86_64</code> constant. - */ -- public static final String ARCH_AMD64 = ARCH_X86_64; -+ public static final String ARCH_AMD64 = "amd64";//$NON-NLS-1$ - - /** - * Constant string (value "ia64") indicating the platform is running on an diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.runtime.compatibility-src-boot-org-eclipse-core-boot-BootLoader.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.core.runtime.compatibility-src-boot-org-eclipse-core-boot-BootLoader.java deleted file mode 100644 index 3e91b5fa9b4b..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.core.runtime.compatibility-src-boot-org-eclipse-core-boot-BootLoader.java +++ /dev/null @@ -1,16 +0,0 @@ ---- plugins/org.eclipse.core.runtime.compatibility/src-boot/org/eclipse/core/boot/BootLoader.java.orig 2008-08-02 14:57:57.000000000 -0400 -+++ plugins/org.eclipse.core.runtime.compatibility/src-boot/org/eclipse/core/boot/BootLoader.java 2008-08-02 14:59:13.000000000 -0400 -@@ -72,6 +72,13 @@ - public static final String OS_LINUX = "linux";//$NON-NLS-1$ - - /** -+ * Constant string (value "freebsd") indicating the platform is running on a -+ * FreeBSD-based operating system. -+ * @deprecated Replaced by {@link Platform#OS_FREEBSD}. -+ */ -+ public static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$ -+ -+ /** - * Constant string (value "aix") indicating the platform is running on an - * AIX-based operating system. - * @deprecated Replaced by {@link Platform#OS_AIX}. diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.launcher-src-org-eclipse-equinox-internal-launcher-Constants.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.launcher-src-org-eclipse-equinox-internal-launcher-Constants.java deleted file mode 100644 index 2fb51f5d35f5..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.launcher-src-org-eclipse-equinox-internal-launcher-Constants.java +++ /dev/null @@ -1,23 +0,0 @@ ---- plugins/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java.orig 2008-08-02 12:22:09.000000000 -0400 -+++ plugins/org.eclipse.equinox.launcher/src/org/eclipse/equinox/internal/launcher/Constants.java 2008-08-02 12:24:21.000000000 -0400 -@@ -19,6 +19,7 @@ - public static final String INTERNAL_AMD64 = "amd64"; //$NON-NLS-1$ - public static final String INTERNAL_OS_SUNOS = "SunOS"; //$NON-NLS-1$ - public static final String INTERNAL_OS_LINUX = "Linux"; //$NON-NLS-1$ -+ public static final String INTERNAL_OS_FREEBSD = "FreeBSD"; //$NON-NLS-1$ - public static final String INTERNAL_OS_MACOSX = "Mac OS"; //$NON-NLS-1$ - public static final String INTERNAL_OS_AIX = "AIX"; //$NON-NLS-1$ - public static final String INTERNAL_OS_HPUX = "HP-UX"; //$NON-NLS-1$ -@@ -40,6 +41,12 @@ - public static final String OS_LINUX = "linux";//$NON-NLS-1$ - - /** -+ * Constant string (value "freebsd") indicating the platform is running on a -+ * FreeBSD-based operating system. -+ */ -+ public static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$ -+ -+ /** - * Constant string (value "aix") indicating the platform is running on an - * AIX-based operating system. - */ diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.launcher-src-org-eclipse-equinox-launcher-Main.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.launcher-src-org-eclipse-equinox-launcher-Main.java deleted file mode 100644 index 98ecab5ea2e1..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.launcher-src-org-eclipse-equinox-launcher-Main.java +++ /dev/null @@ -1,30 +0,0 @@ ---- plugins/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java.orig 2008-08-09 01:52:52.897300867 -0400 -+++ plugins/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java 2008-08-09 01:53:31.527460286 -0400 -@@ -291,6 +291,8 @@ - return Constants.WS_WIN32; - if (osName.equals(Constants.OS_LINUX)) - return Constants.WS_GTK; -+ if (osName.equals(Constants.OS_FREEBSD)) -+ return Constants.WS_GTK; - if (osName.equals(Constants.OS_MACOSX)) - return Constants.WS_CARBON; - if (osName.equals(Constants.OS_HPUX)) -@@ -315,6 +317,8 @@ - return Constants.OS_SOLARIS; - if (osName.equalsIgnoreCase(Constants.INTERNAL_OS_LINUX)) - return Constants.OS_LINUX; -+ if (osName.equalsIgnoreCase(Constants.INTERNAL_OS_FREEBSD)) -+ return Constants.OS_FREEBSD; - if (osName.equalsIgnoreCase(Constants.INTERNAL_OS_QNX)) - return Constants.OS_QNX; - if (osName.equalsIgnoreCase(Constants.INTERNAL_OS_AIX)) -@@ -334,9 +338,6 @@ - // Map i386 architecture to x86 - if (name.equalsIgnoreCase(Constants.INTERNAL_ARCH_I386)) - return Constants.ARCH_X86; -- // Map amd64 architecture to x86_64 -- else if (name.equalsIgnoreCase(Constants.INTERNAL_AMD64)) -- return Constants.ARCH_X86_64; - - return name; - } diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.p2.metadata.generator-src-org-eclipse-equinox-internal-p2-metadata-generator-features-ProductFile.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.p2.metadata.generator-src-org-eclipse-equinox-internal-p2-metadata-generator-features-ProductFile.java deleted file mode 100644 index 76f49d471213..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.p2.metadata.generator-src-org-eclipse-equinox-internal-p2-metadata-generator-features-ProductFile.java +++ /dev/null @@ -1,143 +0,0 @@ ---- plugins/org.eclipse.equinox.p2.metadata.generator/src/org/eclipse/equinox/internal/p2/metadata/generator/features/ProductFile.java.orig 2008-08-02 15:21:00.000000000 -0400 -+++ plugins/org.eclipse.equinox.p2.metadata.generator/src/org/eclipse/equinox/internal/p2/metadata/generator/features/ProductFile.java 2008-08-02 15:20:23.000000000 -0400 -@@ -28,11 +28,13 @@ - - private static final String PROGRAM_ARGS = "programArgs"; //$NON-NLS-1$ - private static final String PROGRAM_ARGS_LINUX = "programArgsLin"; //$NON-NLS-1$ -+ private static final String PROGRAM_ARGS_FREEBSD = "programArgsFre"; //$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_LINUX = "vmArgsLin"; //$NON-NLS-1$ -+ private static final String VM_ARGS_FREEBSD = "vmArgsFre"; //$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$ - private static final String VM_ARGS_WIN = "vmArgsWin"; //$NON-NLS-1$ -@@ -51,6 +53,7 @@ - - private static final String OS_WIN32 = "win32";//$NON-NLS-1$ - private static final String OS_LINUX = "linux";//$NON-NLS-1$ -+ private static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$ - private static final String OS_SOLARIS = "solaris";//$NON-NLS-1$ - private static final String OS_MACOSX = "macosx";//$NON-NLS-1$ - -@@ -72,15 +75,17 @@ - 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_PROGRAM_ARGS_FREEBSD = 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_LINUX = 13; -+ private static final int STATE_VM_ARGS_FREEBSD = 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 int state = STATE_START; - -@@ -233,6 +238,8 @@ - key = VM_ARGS_WIN; - } else if (os.equals(OS_LINUX)) { - key = VM_ARGS_LINUX; -+ } else if (os.equals(OS_FREEBSD)) { -+ key = VM_ARGS_FREEBSD; - } else if (os.equals(OS_MACOSX)) { - key = VM_ARGS_MAC; - } else if (os.equals(OS_SOLARIS)) { -@@ -256,6 +263,8 @@ - key = PROGRAM_ARGS_WIN; - } else if (os.equals(OS_LINUX)) { - key = PROGRAM_ARGS_LINUX; -+ } else if (os.equals(OS_FREEBSD)) { -+ key = PROGRAM_ARGS_FREEBSD; - } else if (os.equals(OS_MACOSX)) { - key = PROGRAM_ARGS_MAC; - } else if (os.equals(OS_SOLARIS)) { -@@ -311,6 +320,8 @@ - processWin(attributes); - } else if (OS_LINUX.equals(localName)) { - processLinux(attributes); -+ } else if (OS_FREEBSD.equals(localName)) { -+ processFreeBSD(attributes); - } else if (OS_MACOSX.equals(localName)) { - processMac(attributes); - } -@@ -326,6 +337,8 @@ - state = STATE_PROGRAM_ARGS; - } else if (PROGRAM_ARGS_LINUX.equals(localName)) { - state = STATE_PROGRAM_ARGS_LINUX; -+ } else if (PROGRAM_ARGS_FREEBSD.equals(localName)) { -+ state = STATE_PROGRAM_ARGS_FREEBSD; - } else if (PROGRAM_ARGS_MAC.equals(localName)) { - state = STATE_PROGRAM_ARGS_MAC; - } else if (PROGRAM_ARGS_SOLARIS.equals(localName)) { -@@ -336,6 +349,8 @@ - state = STATE_VM_ARGS; - } else if (VM_ARGS_LINUX.equals(localName)) { - state = STATE_VM_ARGS_LINUX; -+ } else if (VM_ARGS_FREEBSD.equals(localName)) { -+ state = STATE_VM_ARGS_FREEBSD; - } else if (VM_ARGS_MAC.equals(localName)) { - state = STATE_VM_ARGS_MAC; - } else if (VM_ARGS_SOLARIS.equals(localName)) { -@@ -380,11 +395,13 @@ - - case STATE_PROGRAM_ARGS : - case STATE_PROGRAM_ARGS_LINUX : -+ case STATE_PROGRAM_ARGS_FREEBSD : - case STATE_PROGRAM_ARGS_MAC : - case STATE_PROGRAM_ARGS_SOLARIS : - case STATE_PROGRAM_ARGS_WIN : - case STATE_VM_ARGS : - case STATE_VM_ARGS_LINUX : -+ case STATE_VM_ARGS_FREEBSD : - case STATE_VM_ARGS_MAC : - case STATE_VM_ARGS_SOLARIS : - case STATE_VM_ARGS_WIN : -@@ -408,6 +425,9 @@ - case STATE_PROGRAM_ARGS_LINUX : - addLaunchArgumentToMap(PROGRAM_ARGS_LINUX, 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_MAC : - addLaunchArgumentToMap(PROGRAM_ARGS_MAC, String.valueOf(ch, start, length)); - break; -@@ -423,6 +443,9 @@ - case STATE_VM_ARGS_LINUX : - addLaunchArgumentToMap(VM_ARGS_LINUX, 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_MAC : - addLaunchArgumentToMap(VM_ARGS_MAC, String.valueOf(ch, start, length)); - break; -@@ -555,6 +578,12 @@ - result.add(attributes.getValue("icon")); //$NON-NLS-1$ - } - -+ private void processFreeBSD(Attributes attributes) { -+ if (!osMatch(OS_FREEBSD)) -+ return; -+ result.add(attributes.getValue("icon")); //$NON-NLS-1$ -+ } -+ - private void processMac(Attributes attributes) { - if (!osMatch(OS_MACOSX)) - return; diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.p2.reconciler.dropins-Bootstrap.product b/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.p2.reconciler.dropins-Bootstrap.product deleted file mode 100644 index 0d1e8c8b225b..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.equinox.p2.reconciler.dropins-Bootstrap.product +++ /dev/null @@ -1,10 +0,0 @@ ---- plugins/org.eclipse.equinox.p2.reconciler.dropins/Bootstrap.product.orig 2008-08-02 15:24:39.000000000 -0400 -+++ plugins/org.eclipse.equinox.p2.reconciler.dropins/Bootstrap.product 2008-08-02 15:26:30.000000000 -0400 -@@ -5,6 +5,7 @@ - - <configIni use="default"> - <linux>/org.eclipse.equinox.p2.reconciler.dropins/config.ini</linux> -+ <freebsd>/org.eclipse.equinox.p2.reconciler.dropins/config.ini</freebsd> - <macosx>/org.eclipse.equinox.p2.reconciler.dropins/config.ini</macosx> - <solaris>/org.eclipse.equinox.p2.reconciler.dropins/config.ini</solaris> - <win32>/org.eclipse.equinox.p2.reconciler.dropins/config.ini</win32> diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.frameworkadmin.equinox-src-org-eclipse-equinox-internal-frameworkadmin-equinox-EquinoxBundlesState.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.frameworkadmin.equinox-src-org-eclipse-equinox-internal-frameworkadmin-equinox-EquinoxBundlesState.java deleted file mode 100644 index 5dc9bf398dfd..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.frameworkadmin.equinox-src-org-eclipse-equinox-internal-frameworkadmin-equinox-EquinoxBundlesState.java +++ /dev/null @@ -1,12 +0,0 @@ ---- plugins/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/EquinoxBundlesState.java.orig 2008-08-09 14:32:49.360935838 -0400 -+++ plugins/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/EquinoxBundlesState.java 2008-08-09 14:32:30.730855758 -0400 -@@ -209,9 +209,6 @@ - // Map i386 architecture to x86 - if (name.equalsIgnoreCase(INTERNAL_ARCH_I386)) - arch = org.eclipse.osgi.service.environment.Constants.ARCH_X86; -- // Map amd64 architecture to x86_64 -- else if (name.equalsIgnoreCase(INTERNAL_AMD64)) -- arch = org.eclipse.osgi.service.environment.Constants.ARCH_X86_64; - else - arch = name; - platformProperties.setProperty("osgi.arch", arch); //$NON-NLS-1$ diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.help.base-plugin.xml b/java/eclipse-devel/files/patch-plugins-org.eclipse.help.base-plugin.xml deleted file mode 100644 index 4f145147f618..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.help.base-plugin.xml +++ /dev/null @@ -1,29 +0,0 @@ ---- plugins/org.eclipse.help.base/plugin.xml.orig 2008-08-02 15:36:47.000000000 -0400 -+++ plugins/org.eclipse.help.base/plugin.xml 2008-08-02 15:37:20.000000000 -0400 -@@ -113,7 +113,7 @@ - </parameter> - <parameter - name="os" -- value="Linux,AIX,HP,SunOS"> -+ value="Linux,FreeBSD,AIX,HP,SunOS"> - </parameter> - </factoryclass> - </browser> -@@ -132,7 +132,7 @@ - </parameter> - <parameter - name="os" -- value="Linux,AIX,HP,SunOS"> -+ value="Linux,FreeBSD,AIX,HP,SunOS"> - </parameter> - </factoryclass> - </browser> -@@ -151,7 +151,7 @@ - </parameter> - <parameter - name="os" -- value="Linux,AIX,HP,SunOS"> -+ value="Linux,FreeBSD,AIX,HP,SunOS"> - </parameter> - </factoryclass> - </browser> diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.help.base-src-org-eclipse-help-internal-base-HelpBasePreferenceInitializer.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.help.base-src-org-eclipse-help-internal-base-HelpBasePreferenceInitializer.java deleted file mode 100644 index f0ff37f9be50..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.help.base-src-org-eclipse-help-internal-base-HelpBasePreferenceInitializer.java +++ /dev/null @@ -1,12 +0,0 @@ ---- plugins/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java.orig 2008-08-02 15:30:15.000000000 -0400 -+++ plugins/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java 2008-08-02 15:31:53.000000000 -0400 -@@ -37,6 +37,9 @@ - } else if (os.indexOf("linux") != -1) { //$NON-NLS-1$ - prefs.setDefault("custom_browser_path", //$NON-NLS-1$ - "konqueror %1"); //$NON-NLS-1$ -+ } else if (os.indexOf("freebsd") != -1) { //$NON-NLS-1$ -+ prefs.setDefault("custom_browser_path", //$NON-NLS-1$ -+ "firefox %1"); //$NON-NLS-1$ - } else { - prefs.setDefault("custom_browser_path", "mozilla %1"); //$NON-NLS-1$ //$NON-NLS-2$ - } diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.help.base-src-org-eclipse-help-internal-browser-BrowserManager.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.help.base-src-org-eclipse-help-internal-browser-BrowserManager.java deleted file mode 100644 index 8593aa68f156..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.help.base-src-org-eclipse-help-internal-browser-BrowserManager.java +++ /dev/null @@ -1,10 +0,0 @@ ---- plugins/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java.orig 2008-08-02 15:35:43.000000000 -0400 -+++ plugins/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java 2008-08-02 15:35:12.000000000 -0400 -@@ -94,6 +94,7 @@ - } else if (Constants.OS_AIX.equalsIgnoreCase(os) - || (Constants.OS_HPUX.equalsIgnoreCase(os)) - || (Constants.OS_LINUX.equalsIgnoreCase(os)) -+ || (Constants.OS_FREEBSD.equalsIgnoreCase(os)) - || (Constants.OS_SOLARIS.equalsIgnoreCase(os))) { - setDefaultBrowserID(BROWSER_ID_MOZILLA); - if (defaultBrowserDesc == null) { diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.help.ui-src-org-eclipse-help-ui-internal-browser-embedded-EmbeddedBrowserFactory.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.help.ui-src-org-eclipse-help-ui-internal-browser-embedded-EmbeddedBrowserFactory.java deleted file mode 100644 index 1c368e5b065d..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.help.ui-src-org-eclipse-help-ui-internal-browser-embedded-EmbeddedBrowserFactory.java +++ /dev/null @@ -1,12 +0,0 @@ ---- plugins/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java.orig 2008-08-02 15:38:33.000000000 -0400 -+++ plugins/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java 2008-08-02 15:40:18.000000000 -0400 -@@ -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) { diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-build.xml b/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-build.xml deleted file mode 100644 index bd7ceded4109..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-build.xml +++ /dev/null @@ -1,25 +0,0 @@ ---- plugins/org.eclipse.osgi/build.xml.orig 2008-09-29 19:38:37.000000000 -0400 -+++ plugins/org.eclipse.osgi/build.xml 2008-09-29 19:39:37.000000000 -0400 -@@ -16,7 +16,13 @@ - <property name="compilerArg" value=""/> - <property name="javacSource" value="1.3"/> - <property name="javacTarget" value="1.2"/> -- <property name="bundleBootClasspath" value="osgi/exceptions.jar;osgi/xmlParserAPIs.jar;${CDC-1.0/Foundation-1.0}"/> -+ <property name="dir_bootclasspath" value="${java.home}/lib"/> -+ <path id="path_bootclasspath"> -+ <fileset dir="${dir_bootclasspath}"> -+ <include name="*.jar"/> -+ </fileset> -+ </path> -+ <property name="bootclasspath" refid="path_bootclasspath"/> - <condition property="bundleJavacSource" value="1.3" > - <isset property="CDC-1.0/Foundation-1.0"/> - </condition> -@@ -37,6 +43,7 @@ - </condition> - <property name="bundleJavacSource" value="${javacSource}"/> - <property name="bundleJavacTarget" value="${javacTarget}"/> -+ <property name="bundleBootClasspath" value="${bootclasspath}"/> - - <target name="init" depends="properties"> - <condition property="pluginTemp" value="${buildTempFolder}/plugins" > diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-core-adaptor-org-eclipse-osgi-util-TextProcessor.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-core-adaptor-org-eclipse-osgi-util-TextProcessor.java deleted file mode 100644 index 4a48310aef0a..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-core-adaptor-org-eclipse-osgi-util-TextProcessor.java +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java.orig 2008-08-02 13:18:14.000000000 -0400 -+++ plugins/org.eclipse.osgi/core/adaptor/org/eclipse/osgi/util/TextProcessor.java 2008-08-02 13:20:06.000000000 -0400 -@@ -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")) { //$NON-NLS-1$ //$NON-NLS-2$ -+ if (osName.startsWith("windows") || osName.startsWith("linux") || osName.startsWith("freebsd")) { //$NON-NLS-1$ //$NON-NLS-2$ - IS_PROCESSING_NEEDED = true; - } - } diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-eclipseAdaptor-src-org-eclipse-core-runtime-internal-adaptor-EclipseEnvironementInfo.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-eclipseAdaptor-src-org-eclipse-core-runtime-internal-adaptor-EclipseEnvironementInfo.java deleted file mode 100644 index 31981c41dccc..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-eclipseAdaptor-src-org-eclipse-core-runtime-internal-adaptor-EclipseEnvironementInfo.java +++ /dev/null @@ -1,48 +0,0 @@ ---- ./plugins/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java.orig 2008-08-08 23:54:36.137941647 -0400 -+++ ./plugins/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/EclipseEnvironmentInfo.java 2008-08-08 23:52:33.527433817 -0400 -@@ -33,6 +33,7 @@ - // this internally to be Solaris. - private static final String INTERNAL_OS_SUNOS = "SunOS"; //$NON-NLS-1$ - private static final String INTERNAL_OS_LINUX = "Linux"; //$NON-NLS-1$ -+ private static final String INTERNAL_OS_FREEBSD = "FreeBSD"; //$NON-NLS-1$ - private static final String INTERNAL_OS_MACOSX = "Mac OS"; //$NON-NLS-1$ - private static final String INTERNAL_OS_AIX = "AIX"; //$NON-NLS-1$ - private static final String INTERNAL_OS_HPUX = "HP-UX"; //$NON-NLS-1$ -@@ -41,9 +42,6 @@ - // While we recognize the i386 architecture, we change - // this internally to be x86. - private static final String INTERNAL_ARCH_I386 = "i386"; //$NON-NLS-1$ -- // While we recognize the amd64 architecture, we change -- // this internally to be x86_64. -- private static final String INTERNAL_AMD64 = "amd64"; //$NON-NLS-1$ - - private EclipseEnvironmentInfo() { - super(); -@@ -159,9 +157,6 @@ - // Map i386 architecture to x86 - if (name.equalsIgnoreCase(INTERNAL_ARCH_I386)) - arch = Constants.ARCH_X86; -- // Map amd64 architecture to x86_64 -- else if (name.equalsIgnoreCase(INTERNAL_AMD64)) -- arch = Constants.ARCH_X86_64; - else - arch = name; - FrameworkProperties.setProperty("osgi.arch", arch); //$NON-NLS-1$ -@@ -189,6 +184,8 @@ - return Constants.WS_WIN32; - if (os.equals(Constants.OS_LINUX)) - return Constants.WS_GTK; -+ if (os.equals(Constants.OS_FREEBSD)) -+ return Constants.WS_GTK; - if (os.equals(Constants.OS_MACOSX)) - return Constants.WS_CARBON; - if (os.equals(Constants.OS_HPUX)) -@@ -212,6 +209,8 @@ - return Constants.OS_SOLARIS; - if (osName.equalsIgnoreCase(INTERNAL_OS_LINUX)) - return Constants.OS_LINUX; -+ if (osName.equalsIgnoreCase(INTERNAL_OS_FREEBSD)) -+ return Constants.OS_FREEBSD; - if (osName.equalsIgnoreCase(INTERNAL_OS_QNX)) - return Constants.OS_QNX; - if (osName.equalsIgnoreCase(INTERNAL_OS_AIX)) diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-eclipseAdaptor-src-org-eclipse-core-runtime-internal-adaptor-PluginConverterImpl.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-eclipseAdaptor-src-org-eclipse-core-runtime-internal-adaptor-PluginConverterImpl.java deleted file mode 100644 index 786dddf21646..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-eclipseAdaptor-src-org-eclipse-core-runtime-internal-adaptor-PluginConverterImpl.java +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java.orig 2008-08-02 13:21:52.000000000 -0400 -+++ plugins/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/internal/adaptor/PluginConverterImpl.java 2008-08-02 13:22:39.000000000 -0400 -@@ -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_HPUX, org.eclipse.osgi.service.environment.Constants.OS_LINUX, org.eclipse.osgi.service.environment.Constants.OS_FREEBSD, 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/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-supplement-src-org-eclipse-osgi-service-environment-Constants.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-supplement-src-org-eclipse-osgi-service-environment-Constants.java deleted file mode 100644 index ce1a083678f9..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.osgi-supplement-src-org-eclipse-osgi-service-environment-Constants.java +++ /dev/null @@ -1,24 +0,0 @@ ---- plugins/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java.orig 2008-08-09 09:16:08.932328502 -0400 -+++ plugins/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java 2008-08-09 09:15:29.572165618 -0400 -@@ -34,6 +34,12 @@ - public static final String OS_LINUX = "linux";//$NON-NLS-1$ - - /** -+ * Constant string (value "freebsd") indicating the platform is running on a -+ * FreeBSD-based operating system. -+ */ -+ public static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$ -+ -+ /** - * Constant string (value "aix") indicating the platform is running on an - * AIX-based operating system. - */ -@@ -115,7 +121,7 @@ - * @deprecated use <code>ARCH_X86_64</code> instead. Note the values - * has been changed to be the value of the <code>ARCH_X86_64</code> constant. - */ -- public static final String ARCH_AMD64 = ARCH_X86_64; -+ public static final String ARCH_AMD64 = "amd64";//$NON-NLS-1$ - - /** - * Constant string (value "ia64") indicating the platform is running on an diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-scripts-productBuild-allElements.xml b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-scripts-productBuild-allElements.xml deleted file mode 100644 index 2816426fb485..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-scripts-productBuild-allElements.xml +++ /dev/null @@ -1,21 +0,0 @@ ---- plugins/org.eclipse.pde.build/scripts/productBuild/allElements.xml.orig 2008-08-02 16:07:51.000000000 -0400 -+++ plugins/org.eclipse.pde.build/scripts/productBuild/allElements.xml 2008-08-02 16:09:56.000000000 -0400 -@@ -48,6 +48,18 @@ - <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/> - </ant> - </target> -+ -+ <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> -+ -+ <target name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.amd64"> -+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> -+ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.amd64.zip"/> -+ </ant> -+ </target> - - <target name="assemble.org.eclipse.pde.build.container.feature.linux.motif.x86"> - <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-BrandingIron.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-BrandingIron.java deleted file mode 100644 index 0e87eab94461..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-BrandingIron.java +++ /dev/null @@ -1,24 +0,0 @@ ---- plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/BrandingIron.java.orig 2008-08-02 16:46:29.000000000 -0400 -+++ plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/BrandingIron.java 2008-08-02 16:48:54.000000000 -0400 -@@ -70,6 +70,8 @@ - brandWindows(); - if ("linux".equals(os)) //$NON-NLS-1$ - brandLinux(); -+ if ("freebsd".equals(os)) //$NON-NLS-1$ -+ brandFreeBSD(); - if ("solaris".equals(os)) //$NON-NLS-1$ - brandSolaris(); - if ("macosx".equals(os)) //$NON-NLS-1$ -@@ -94,6 +96,12 @@ - copy(new File(icons[0]), new File(root, "icon.xpm")); //$NON-NLS-1$ - } - -+ private void brandFreeBSD() throws Exception { -+ renameLauncher(); -+ if (brandIcons) -+ copy(new File(icons[0]), new File(root, "icon.xpm")); //$NON-NLS-1$ -+ } -+ - private void brandSolaris() throws Exception { - renameLauncher(); - if (brandIcons == false) diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-ProductFile.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-ProductFile.java deleted file mode 100644 index 3986ba23a2ff..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-ProductFile.java +++ /dev/null @@ -1,135 +0,0 @@ ---- plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/ProductFile.java.orig 2008-08-02 16:20:38.000000000 -0400 -+++ plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/ProductFile.java 2008-08-02 16:26:31.000000000 -0400 -@@ -28,11 +28,13 @@ - - private static final String PROGRAM_ARGS = "programArgs"; //$NON-NLS-1$ - private static final String PROGRAM_ARGS_LINUX = "programArgsLin"; //$NON-NLS-1$ -+ private static final String PROGRAM_ARGS_FREEBSD = "programArgsFre"; //$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_LINUX = "vmArgsLin"; //$NON-NLS-1$ -+ private static final String VM_ARGS_FREEBSD = "vmArgsFre"; //$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$ - private static final String VM_ARGS_WIN = "vmArgsWin"; //$NON-NLS-1$ -@@ -67,15 +69,17 @@ - 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_PROGRAM_ARGS_FREEBSD = 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_LINUX = 13; -+ private static final int STATE_VM_ARGS_FREEBSD = 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 int state = STATE_START; - -@@ -234,6 +238,8 @@ - key = VM_ARGS_WIN; - } else if( os.equals(Platform.OS_LINUX)) { - key = VM_ARGS_LINUX; -+ } else if( os.equals(Platform.OS_FREEBSD)) { -+ key = VM_ARGS_FREEBSD; - } else if( os.equals(Platform.OS_MACOSX)) { - key = VM_ARGS_MAC; - } else if(os.equals(Platform.OS_SOLARIS)) { -@@ -257,6 +263,8 @@ - key = PROGRAM_ARGS_WIN; - } else if( os.equals(Platform.OS_LINUX)) { - key = PROGRAM_ARGS_LINUX; -+ } else if( os.equals(Platform.OS_FREEBSD)) { -+ key = PROGRAM_ARGS_FREEBSD; - } else if( os.equals(Platform.OS_MACOSX)) { - key = PROGRAM_ARGS_MAC; - } else if(os.equals(Platform.OS_SOLARIS)) { -@@ -312,6 +320,8 @@ - processWin(attributes); - } else if (Platform.OS_LINUX.equals(localName)) { - processLinux(attributes); -+ } else if (Platform.OS_FREEBSD.equals(localName)) { -+ processFreeBSD(attributes); - } else if (Platform.OS_MACOSX.equals(localName)) { - processMac(attributes); - } -@@ -327,6 +337,8 @@ - state = STATE_PROGRAM_ARGS; - } else if (PROGRAM_ARGS_LINUX.equals(localName)) { - state = STATE_PROGRAM_ARGS_LINUX; -+ } else if (PROGRAM_ARGS_FREEBSD.equals(localName)) { -+ state = STATE_PROGRAM_ARGS_FREEBSD; - } else if (PROGRAM_ARGS_MAC.equals(localName)) { - state = STATE_PROGRAM_ARGS_MAC; - } else if (PROGRAM_ARGS_SOLARIS.equals(localName)) { -@@ -337,6 +349,8 @@ - state = STATE_VM_ARGS; - } else if (VM_ARGS_LINUX.equals(localName)) { - state = STATE_VM_ARGS_LINUX; -+ } else if (VM_ARGS_FREEBSD.equals(localName)) { -+ state = STATE_VM_ARGS_FREEBSD; - } else if (VM_ARGS_MAC.equals(localName)) { - state = STATE_VM_ARGS_MAC; - } else if (VM_ARGS_SOLARIS.equals(localName)) { -@@ -381,11 +395,13 @@ - - case STATE_PROGRAM_ARGS : - case STATE_PROGRAM_ARGS_LINUX : -+ case STATE_PROGRAM_ARGS_FREEBSD : - case STATE_PROGRAM_ARGS_MAC : - case STATE_PROGRAM_ARGS_SOLARIS : - case STATE_PROGRAM_ARGS_WIN : - case STATE_VM_ARGS : - case STATE_VM_ARGS_LINUX : -+ case STATE_VM_ARGS_FREEBSD : - case STATE_VM_ARGS_MAC : - case STATE_VM_ARGS_SOLARIS : - case STATE_VM_ARGS_WIN : -@@ -409,6 +425,9 @@ - case STATE_PROGRAM_ARGS_LINUX : - addLaunchArgumentToMap(PROGRAM_ARGS_LINUX, 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_MAC : - addLaunchArgumentToMap(PROGRAM_ARGS_MAC, String.valueOf(ch, start, length)); - break; -@@ -424,6 +443,9 @@ - case STATE_VM_ARGS_LINUX : - addLaunchArgumentToMap(VM_ARGS_LINUX, 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_MAC : - addLaunchArgumentToMap(VM_ARGS_MAC, String.valueOf(ch, start, length)); - break; -@@ -555,6 +577,12 @@ - result.add(attributes.getValue("icon")); //$NON-NLS-1$ - } - -+ private void processFreeBSD(Attributes attributes) { -+ if (!osMatch(Platform.OS_FREEBSD)) -+ return; -+ result.add(attributes.getValue("icon")); //$NON-NLS-1$ -+ } -+ - private void processMac(Attributes attributes) { - if (!osMatch(Platform.OS_MACOSX)) - return; diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-Utils.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-Utils.java deleted file mode 100644 index 909174407b45..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-Utils.java +++ /dev/null @@ -1,24 +0,0 @@ ---- plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java.orig 2008-08-02 16:49:39.000000000 -0400 -+++ plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java 2008-08-02 17:07:42.000000000 -0400 -@@ -13,6 +13,7 @@ - import java.net.URL; - import java.util.*; - import org.eclipse.core.runtime.*; -+import org.eclipse.osgi.service.environment.Constants; - import org.eclipse.osgi.service.resolver.BundleDescription; - import org.eclipse.osgi.util.NLS; - import org.eclipse.pde.internal.build.ant.AntScript; -@@ -433,7 +434,12 @@ - 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$ -+ String os = System.getProperty("osgi.os", ""); //$NON-NLS-1$ //$NON-NLS-2$ -+ String osStr = "Linux"; //$NON-NLS-1$ -+ if (os.equals(Constants.OS_FREEBSD)) { -+ osStr = "FreeBSD"; //$NON-NLS-1$ -+ } -+ script.printExecTask("ln", dir, arguments, osStr); //$NON-NLS-1$ - arguments.clear(); - } - } diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-builder-ModelBuildScriptGenerator.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-builder-ModelBuildScriptGenerator.java deleted file mode 100644 index 74408146bd04..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src-org-eclipse-pde-internal-build-builder-ModelBuildScriptGenerator.java +++ /dev/null @@ -1,24 +0,0 @@ ---- plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java.orig 2008-08-02 16:30:36.000000000 -0400 -+++ plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java 2008-08-02 16:45:09.000000000 -0400 -@@ -12,6 +12,7 @@ - import java.io.*; - import java.util.*; - import org.eclipse.core.runtime.*; -+import org.eclipse.osgi.service.environment.Constants; - import org.eclipse.osgi.service.resolver.BundleDescription; - import org.eclipse.osgi.util.NLS; - import org.eclipse.pde.internal.build.*; -@@ -621,7 +622,12 @@ - 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$ -+ String os = System.getProperty("osgi.os", ""); //$NON-NLS-1$ //$NON-NLS-2$ -+ String osStr = "Linux"; //$NON-NLS-1$ -+ if (os.equals(Constants.OS_FREEBSD)) { -+ osStr = "FreeBSD"; //$NON-NLS-1$ -+ } -+ script.printExecTask("ln -s", dir, arguments, osStr); //$NON-NLS-1$ - arguments.clear(); - } - } diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src_ant-org-eclipse-pde-internal-build-tasks-JNLPGenerator.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src_ant-org-eclipse-pde-internal-build-tasks-JNLPGenerator.java deleted file mode 100644 index dbbc7e88843b..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-src_ant-org-eclipse-pde-internal-build-tasks-JNLPGenerator.java +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java.orig 2008-08-02 16:28:25.000000000 -0400 -+++ plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java 2008-08-02 16:29:14.000000000 -0400 -@@ -307,6 +307,8 @@ - return "Mac"; //$NON-NLS-1$ - if ("linux".equalsIgnoreCase(os)) //$NON-NLS-1$ - return "Linux"; //$NON-NLS-1$ -+ if ("freebsd".equalsIgnoreCase(os)) //$NON-NLS-1$ -+ return "FreeBSD"; //$NON-NLS-1$ - if ("solaris".equalsIgnoreCase(os)) //$NON-NLS-1$ - return "Solaris"; //$NON-NLS-1$ - if ("hpux".equalsIgnoreCase(os)) //$NON-NLS-1$ diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-headless-build-build.properties b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-headless-build-build.properties deleted file mode 100644 index cefd018442a8..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-headless-build-build.properties +++ /dev/null @@ -1,20 +0,0 @@ ---- plugins/org.eclipse.pde.build/templates/headless-build/build.properties.orig 2008-08-02 16:11:10.000000000 -0400 -+++ plugins/org.eclipse.pde.build/templates/headless-build/build.properties 2008-08-02 16:12:29.000000000 -0400 -@@ -46,6 +46,8 @@ - # linux, gtk, x86 & \ - # linux, gtk, x86_64 & \ - # linux, motif, x86 & \ -+# freebsd, gtk, x86 & \ -+# freebsd, gtk, amd64 & \ - # solaris, motif, sparc & \ - # solaris, gtk, sparc & \ - # aix, motif, ppc & \ -@@ -66,6 +68,8 @@ - # linux, gtk, x86 - antZip& \ - # linux, gtk, x86_64 - antZip& \ - # linux, motif, x86 - antZip& \ -+# freebsd, gtk, x86 - antZip & \ -+# freebsd, gtk, amd64 - antZip & \ - # solaris, motif, sparc - antZip& \ - # solaris, gtk, sparc - antZip& \ - # aix, motif, ppc - antZip& \ diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-packager-customTargets.xml b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-packager-customTargets.xml deleted file mode 100644 index b5cf834825b7..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-packager-customTargets.xml +++ /dev/null @@ -1,28 +0,0 @@ ---- plugins/org.eclipse.pde.build/templates/packager/customTargets.xml.orig 2008-08-02 16:15:50.000000000 -0400 -+++ plugins/org.eclipse.pde.build/templates/packager/customTargets.xml 2008-08-02 16:17:23.000000000 -0400 -@@ -23,6 +23,12 @@ - <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86.zip"/> - </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.linux.gtk.ppc.xml"> - <ant antfile="${assembleScriptName}" > -@@ -35,6 +41,12 @@ - <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/> - </ant> - </target> -+ -+ <target name="assemble.freebsd.gtk.amd64.xml"> -+ <ant antfile="${assembleScriptName}" > -+ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.amd64.zip"/> -+ </ant> -+ </target> - - <target name="assemble.linux.motif.x86.xml"> - <ant antfile="${assembleScriptName}" > diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-packager-packager.properties b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-packager-packager.properties deleted file mode 100644 index fcabc61d5b52..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-packager-packager.properties +++ /dev/null @@ -1,20 +0,0 @@ ---- plugins/org.eclipse.pde.build/templates/packager/packager.properties.orig 2008-08-02 16:13:37.000000000 -0400 -+++ plugins/org.eclipse.pde.build/templates/packager/packager.properties 2008-08-02 16:14:47.000000000 -0400 -@@ -16,6 +16,8 @@ - # linux, gtk, x86 & \ - # linux, gtk, x86_64 & \ - # linux, motif, x86 & \ -+# freebsd, gtk, x86 & \ -+# freebsd, gtk, amd64 & \ - # solaris, motif, sparc & \ - # solaris, gtk, sparc & \ - # aix, motif, ppc & \ -@@ -88,6 +90,8 @@ - # linux, gtk, x86 - antZip& \ - # linux, gtk, x86_64 - antZip& \ - # linux, motif, x86 - antZip& \ -+# freebsd, gtk, x86 - antZip& \ -+# freebsd, gtk, amd64 - antZip& \ - # solaris, motif, sparc - antZip& \ - # solaris, gtk, sparc - antZip& \ - # aix, motif, ppc - antZip& \ diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-packager-packaging.properties b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-packager-packaging.properties deleted file mode 100644 index b1d8a95f1207..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.build-templates-packager-packaging.properties +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.pde.build/templates/packager/packaging.properties.orig 2008-08-02 16:18:28.000000000 -0400 -+++ plugins/org.eclipse.pde.build/templates/packager/packaging.properties 2008-08-02 16:55:27.000000000 -0400 -@@ -21,6 +21,8 @@ - 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 -+root.freebsd.gtk.x86=eclipse,about_files/,about.html,icon.xpm -+root.freebsd.gtk.amd64=eclipse,about_files/,about.html,icon.xpm - root.macosx.carbon.ppc=eclipse,Eclipse.app/ - root.macosx.carbon.ppc.link=Eclipse.app/Contents/MacOS/eclipse,eclipse,../../../MacOS,Eclipse.app/Contents/Resources/Splash.app/Contents/MacOS - root.aix.motif.ppc=eclipse diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-exports-ProductExportOperation.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-exports-ProductExportOperation.java deleted file mode 100644 index e45ca967f51b..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-exports-ProductExportOperation.java +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java.orig 2008-08-02 16:56:58.000000000 -0400 -+++ plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java 2008-08-02 17:00:16.000000000 -0400 -@@ -480,6 +480,8 @@ - images = getSolarisImages(info); - } else if (os.equals("linux")) { //$NON-NLS-1$ - images = getExpandedPath(info.getIconPath(ILauncherInfo.LINUX_ICON)); -+ } else if (os.equals("freebsd")) { //$NON-NLS-1$ -+ images = getExpandedPath(info.getIconPath(ILauncherInfo.FREEBSD_ICON)); - } else if (os.equals("macosx")) { //$NON-NLS-1$ - images = getExpandedPath(info.getIconPath(ILauncherInfo.MACOSX_ICON)); - } diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-iproduct-IArgumentsInfo.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-iproduct-IArgumentsInfo.java deleted file mode 100644 index fc26c50fbc4f..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-iproduct-IArgumentsInfo.java +++ /dev/null @@ -1,25 +0,0 @@ ---- plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java.orig 2008-08-02 17:01:23.000000000 -0400 -+++ plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/IArgumentsInfo.java 2008-08-02 17:04:18.000000000 -0400 -@@ -14,12 +14,14 @@ - - public static final String P_PROG_ARGS = "programArgs"; //$NON-NLS-1$ - public static final String P_PROG_ARGS_LIN = "programArgsLin"; //$NON-NLS-1$ -+ public static final String P_PROG_ARGS_FRE = "programArgsFre"; //$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_LIN = "vmArgsLin"; //$NON-NLS-1$ -+ public static final String P_VM_ARGS_FRE = "vmArgsFre"; //$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$ -@@ -29,6 +31,7 @@ - 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 = 5; - - void setProgramArguments(String args, int platform); - diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-iproduct-ILauncherInfo.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-iproduct-ILauncherInfo.java deleted file mode 100644 index 82494b70c880..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-iproduct-ILauncherInfo.java +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java.orig 2008-08-02 17:05:28.000000000 -0400 -+++ plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/iproduct/ILauncherInfo.java 2008-08-02 17:05:54.000000000 -0400 -@@ -14,6 +14,8 @@ - - public static final String LINUX_ICON = "linuxIcon"; //$NON-NLS-1$ - -+ public static final String FREEBSD_ICON = "freebsdIcon"; //$NON-NLS-1$ -+ - public static final String MACOSX_ICON = "macosxIcon"; //$NON-NLS-1$ - - public static final String SOLARIS_LARGE = "solarisLarge"; //$NON-NLS-1$ diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-ArgumentsInfo.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-ArgumentsInfo.java deleted file mode 100644 index 217ed8755099..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-ArgumentsInfo.java +++ /dev/null @@ -1,117 +0,0 @@ ---- plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java.orig 2008-08-02 21:24:52.884965179 -0400 -+++ plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ArgumentsInfo.java 2008-08-02 21:24:20.894767822 -0400 -@@ -21,12 +21,14 @@ - private static final long serialVersionUID = 1L; - private String fProgramArgs = ""; //$NON-NLS-1$ - private String fProgramArgsLin = ""; //$NON-NLS-1$ -+ private String fProgramArgsFre = ""; //$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 fVMArgsLin = ""; //$NON-NLS-1$ -+ private String fVMArgsFre = ""; //$NON-NLS-1$ - private String fVMArgsMac = ""; //$NON-NLS-1$ - private String fVMArgsSol = ""; //$NON-NLS-1$ - private String fVMArgsWin = ""; //$NON-NLS-1$ -@@ -52,6 +54,12 @@ - if (isEditable()) - firePropertyChanged(P_PROG_ARGS_LIN, old, fProgramArgsLin); - break; -+ case L_ARGS_FREEBSD : -+ old = fProgramArgsFre; -+ fProgramArgsFre = args; -+ if (isEditable()) -+ firePropertyChanged(P_PROG_ARGS_FRE, old, fProgramArgsFre); -+ break; - case L_ARGS_MACOS : - old = fProgramArgsMac; - fProgramArgsMac = args; -@@ -79,6 +87,8 @@ - return fProgramArgs; - case L_ARGS_LINUX : - return fProgramArgsLin; -+ case L_ARGS_FREEBSD : -+ return fProgramArgsFre; - case L_ARGS_MACOS : - return fProgramArgsMac; - case L_ARGS_SOLAR : -@@ -94,6 +104,8 @@ - return getCompleteArgs(getProgramArguments(L_ARGS_WIN32), fProgramArgs); - } else if (Platform.OS_LINUX.equals(os)) { - return getCompleteArgs(getProgramArguments(L_ARGS_LINUX), fProgramArgs); -+ } else if (Platform.OS_FREEBSD.equals(os)) { -+ return getCompleteArgs(getProgramArguments(L_ARGS_FREEBSD), fProgramArgs); - } else if (Platform.OS_MACOSX.equals(os)) { - return getCompleteArgs(getProgramArguments(L_ARGS_MACOS), fProgramArgs); - } else if (Platform.OS_SOLARIS.equals(os)) { -@@ -120,6 +132,12 @@ - if (isEditable()) - firePropertyChanged(P_VM_ARGS_LIN, old, fVMArgsLin); - break; -+ case L_ARGS_FREEBSD : -+ old = fVMArgsFre; -+ fVMArgsFre = args; -+ if (isEditable()) -+ firePropertyChanged(P_VM_ARGS_FRE, old, fVMArgsFre); -+ break; - case L_ARGS_MACOS : - old = fVMArgsMac; - fVMArgsMac = args; -@@ -147,6 +165,8 @@ - return fVMArgs; - case L_ARGS_LINUX : - return fVMArgsLin; -+ case L_ARGS_FREEBSD : -+ return fVMArgsFre; - case L_ARGS_MACOS : - return fVMArgsMac; - case L_ARGS_SOLAR : -@@ -162,6 +182,8 @@ - return getCompleteArgs(getVMArguments(L_ARGS_WIN32), fVMArgs); - } else if (Platform.OS_LINUX.equals(os)) { - return getCompleteArgs(getVMArguments(L_ARGS_LINUX), fVMArgs); -+ } else if (Platform.OS_FREEBSD.equals(os)) { -+ return getCompleteArgs(getVMArguments(L_ARGS_FREEBSD), fVMArgs); - } else if (Platform.OS_MACOSX.equals(os)) { - return getCompleteArgs(getVMArguments(L_ARGS_MACOS), fVMArgs); - } else if (Platform.OS_SOLARIS.equals(os)) { -@@ -187,6 +209,8 @@ - fProgramArgs = getText(child); - } else if (child.getNodeName().equals(P_PROG_ARGS_LIN)) { - fProgramArgsLin = getText(child); -+ } else if (child.getNodeName().equals(P_PROG_ARGS_FRE)) { -+ fProgramArgsFre = getText(child); - } else if (child.getNodeName().equals(P_PROG_ARGS_MAC)) { - fProgramArgsMac = getText(child); - } else if (child.getNodeName().equals(P_PROG_ARGS_SOL)) { -@@ -197,6 +221,8 @@ - fVMArgs = getText(child); - } else if (child.getNodeName().equals(P_VM_ARGS_LIN)) { - fVMArgsLin = getText(child); -+ } else if (child.getNodeName().equals(P_VM_ARGS_FRE)) { -+ fVMArgsFre = getText(child); - } else if (child.getNodeName().equals(P_VM_ARGS_MAC)) { - fVMArgsMac = getText(child); - } else if (child.getNodeName().equals(P_VM_ARGS_SOL)) { -@@ -225,6 +251,9 @@ - if (fProgramArgsLin.length() > 0) { - writer.println(indent + " " + "<" + P_PROG_ARGS_LIN + ">" + getWritableString(fProgramArgsLin) + "</" + P_PROG_ARGS_LIN + ">"); //$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 (fProgramArgsMac.length() > 0) { - writer.println(indent + " " + "<" + P_PROG_ARGS_MAC + ">" + getWritableString(fProgramArgsMac) + "</" + P_PROG_ARGS_MAC + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ - } -@@ -240,6 +269,9 @@ - if (fVMArgsLin.length() > 0) { - writer.println(indent + " " + "<" + P_VM_ARGS_LIN + ">" + getWritableString(fVMArgsLin) + "</" + P_VM_ARGS_LIN + ">"); //$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$ -+ } - if (fVMArgsMac.length() > 0) { - writer.println(indent + " " + "<" + P_VM_ARGS_MAC + ">" + getWritableString(fVMArgsMac) + "</" + P_VM_ARGS_MAC + ">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ - } diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-ConfigurationFileInfo.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-ConfigurationFileInfo.java deleted file mode 100644 index 9faed761c020..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-ConfigurationFileInfo.java +++ /dev/null @@ -1,92 +0,0 @@ ---- plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java.orig 2008-08-02 17:18:07.000000000 -0400 -+++ plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/ConfigurationFileInfo.java 2008-08-02 17:32:35.000000000 -0400 -@@ -25,11 +25,13 @@ - private String fPath; - - private static final String LIN = Constants.OS_LINUX; -+ private static final String FRE = Constants.OS_FREEBSD; - 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 fLinPath, fLinUse; -+ private String fFrePath, fFreUse; - private String fMacPath, fMacUse; - private String fSolPath, fSolUse; - private String fWinPath, fWinUse; -@@ -70,6 +72,9 @@ - if (child.getNodeName().equals(LIN)) { - fLinPath = getText(child); - fLinUse = fLinPath == 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$ - } else if (child.getNodeName().equals(MAC)) { - fMacPath = getText(child); - fMacUse = fMacPath == null ? "default" : "custom"; //$NON-NLS-1$ //$NON-NLS-2$ -@@ -89,6 +94,10 @@ - fLinPath = fLinPath == null ? fPath : null; - fLinUse = "custom"; //$NON-NLS-1$ - } -+ if (fFreUse == null) { -+ fFrePath = fFreUse == null ? fPath : null; -+ fFreUse = "custom"; //$NON-NLS-1$ -+ } - if (fMacUse == null) { - fMacPath = fMacPath == null ? fPath : null; - fMacUse = "custom"; //$NON-NLS-1$ -@@ -139,6 +148,12 @@ - writer.println("</" + LIN + ">"); //$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$ -+ } - if (fMacPath != null) { - writer.print(indent); - writer.print(" <" + MAC + ">"); //$NON-NLS-1$ //$NON-NLS-2$ -@@ -182,6 +197,11 @@ - fLinUse = use; - if (isEditable()) - firePropertyChanged(LIN, old, fLinUse); -+ } else if (Platform.OS_FREEBSD.equals(os)) { -+ String old = fFreUse; -+ fFreUse = use; -+ if (isEditable()) -+ firePropertyChanged(FRE, old, fFreUse); - } else if (Platform.OS_MACOSX.equals(os)) { - String old = fMacUse; - fMacUse = use; -@@ -203,6 +223,8 @@ - return fWinUse; - } else if (Platform.OS_LINUX.equals(os)) { - return fLinUse; -+ } else if (Platform.OS_FREEBSD.equals(os)) { -+ return fFreUse; - } else if (Platform.OS_MACOSX.equals(os)) { - return fMacUse; - } else if (Platform.OS_SOLARIS.equals(os)) { -@@ -229,6 +251,11 @@ - fLinPath = path; - if (isEditable()) - firePropertyChanged(LIN, old, fLinPath); -+ } else if (Platform.OS_FREEBSD.equals(os)) { -+ String old = fFrePath; -+ fFrePath = path; -+ if (isEditable()) -+ firePropertyChanged(FRE, old, fFrePath); - } else if (Platform.OS_MACOSX.equals(os)) { - String old = fMacPath; - fMacPath = path; -@@ -250,6 +277,8 @@ - return fWinPath; - } else if (Platform.OS_LINUX.equals(os)) { - return fLinPath; -+ } else if (Platform.OS_FREEBSD.equals(os)) { -+ return fFrePath; - } else if (Platform.OS_MACOSX.equals(os)) { - return fMacPath; - } else if (Platform.OS_SOLARIS.equals(os)) { diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-JREInfo.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-JREInfo.java deleted file mode 100644 index 92fc714091d3..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-JREInfo.java +++ /dev/null @@ -1,60 +0,0 @@ ---- plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/JREInfo.java.orig 2008-08-02 21:26:22.675516213 -0400 -+++ plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/JREInfo.java 2008-08-02 21:26:09.925437642 -0400 -@@ -23,12 +23,14 @@ - public class JREInfo extends ProductObject implements IJREInfo { - - private static final String JRE_LIN = "linux"; //$NON-NLS-1$ -+ private static final String JRE_FRE = "freebsd"; //$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 fJVMLin; -+ private IPath fJVMFre; - private IPath fJVMMac; - private IPath fJVMSol; - private IPath fJVMWin; -@@ -45,6 +47,8 @@ - return fJVMWin; - } else if (Platform.OS_LINUX.equals(os)) { - return fJVMLin; -+ } else if (Platform.OS_FREEBSD.equals(os)) { -+ return fJVMFre; - } else if (Platform.OS_MACOSX.equals(os)) { - return fJVMMac; - } else if (Platform.OS_SOLARIS.equals(os)) { -@@ -67,6 +71,11 @@ - fJVMLin = jreContainerPath; - if (isEditable()) - firePropertyChanged(JRE_LIN, old, fJVMLin); -+ } else if (Platform.OS_FREEBSD.equals(os)) { -+ IPath old = fJVMFre; -+ fJVMFre = jreContainerPath; -+ if (isEditable()) -+ firePropertyChanged(JRE_FRE, old, fJVMFre); - } else if (Platform.OS_MACOSX.equals(os)) { - IPath old = fJVMMac; - fJVMMac = jreContainerPath; -@@ -104,6 +113,8 @@ - if (child.getNodeType() == Node.ELEMENT_NODE) { - if (child.getNodeName().equals(JRE_LIN)) { - fJVMLin = getPath(child); -+ } else if (child.getNodeName().equals(JRE_FRE)) { -+ fJVMFre = getPath(child); - } else if (child.getNodeName().equals(JRE_MAC)) { - fJVMMac = getPath(child); - } else if (child.getNodeName().equals(JRE_SOL)) { -@@ -143,6 +154,12 @@ - writer.print(fJVMLin.toPortableString()); - writer.println("</" + JRE_LIN + ">"); //$NON-NLS-1$ //$NON-NLS-2$ - } -+ if (fJVMFre != null) { -+ writer.print(indent); -+ writer.print(" <" + JRE_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$ -+ writer.print(fJVMFre.toPortableString()); -+ writer.println("</" + JRE_FRE + ">"); //$NON-NLS-1$ //$NON-NLS-2$ -+ } - if (fJVMMac != null) { - writer.print(indent); - writer.print(" <" + JRE_MAC + ">"); //$NON-NLS-1$ //$NON-NLS-2$ diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-LauncherInfo.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-LauncherInfo.java deleted file mode 100644 index 6d6f7d44e363..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.core-src-org-eclipse-pde-internal-core-product-LauncherInfo.java +++ /dev/null @@ -1,41 +0,0 @@ ---- plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/LauncherInfo.java.orig 2008-08-02 17:14:03.000000000 -0400 -+++ plugins/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/LauncherInfo.java 2008-08-02 17:17:11.000000000 -0400 -@@ -76,6 +76,8 @@ - String name = child.getNodeName(); - if (name.equals("linux")) { //$NON-NLS-1$ - parseLinux((Element) child); -+ } else if (name.equals("freebsd")) { //$NON-NLS-1$ -+ parseFreeBSD((Element) child); - } else if (name.equals("macosx")) { //$NON-NLS-1$ - parseMac((Element) child); - } else if (name.equals("solaris")) { //$NON-NLS-1$ -@@ -124,6 +126,10 @@ - fIcons.put(LINUX_ICON, element.getAttribute("icon")); //$NON-NLS-1$ - } - -+ public 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) -@@ -131,6 +137,7 @@ - writer.println(">"); //$NON-NLS-1$ - - writeLinux(indent + " ", writer); //$NON-NLS-1$ -+ writeFreeBSD(indent + " ", writer); //$NON-NLS-1$ - writeMac(indent + " ", writer); //$NON-NLS-1$ - writeSolaris(indent + " ", writer); //$NON-NLS-1$ - writerWin(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$ -+ } -+ - } diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-PDEUIMessages.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-PDEUIMessages.java deleted file mode 100644 index ea0615826511..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-PDEUIMessages.java +++ /dev/null @@ -1,17 +0,0 @@ ---- plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/PDEUIMessages.java.orig 2008-08-02 21:41:30.561093849 -0400 -+++ plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/PDEUIMessages.java 2008-08-02 21:42:30.381459007 -0400 -@@ -1246,6 +1246,7 @@ - public static String LauncherSection_48Low; - public static String LauncherSection_48High; - 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; -@@ -3230,4 +3231,4 @@ - public static String PDECompilersConfigurationBlock_warning; - public static String PDECompilersConfigurationBlock_ignore; - --} -\ No newline at end of file -+} diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-ArgumentsSection.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-ArgumentsSection.java deleted file mode 100644 index 0007c7a3caa5..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-ArgumentsSection.java +++ /dev/null @@ -1,10 +0,0 @@ ---- plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ArgumentsSection.java.orig 2008-08-02 17:36:55.000000000 -0400 -+++ plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ArgumentsSection.java 2008-08-02 17:37:50.000000000 -0400 -@@ -35,6 +35,7 @@ - static { - TAB_LABELS[IArgumentsInfo.L_ARGS_ALL] = PDEUIMessages.ArgumentsSection_allPlatforms; - TAB_LABELS[IArgumentsInfo.L_ARGS_LINUX] = "linux"; //$NON-NLS-1$ -+ TAB_LABELS[IArgumentsInfo.L_ARGS_FREEBSD] = "freebsd"; //$NON-NLS-1$ - TAB_LABELS[IArgumentsInfo.L_ARGS_MACOS] = "macosx"; //$NON-NLS-1$ - TAB_LABELS[IArgumentsInfo.L_ARGS_SOLAR] = "solaris"; //$NON-NLS-1$ - TAB_LABELS[IArgumentsInfo.L_ARGS_WIN32] = "win32"; //$NON-NLS-1$ diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-ConfigurationSection.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-ConfigurationSection.java deleted file mode 100644 index 7f979abbf206..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-ConfigurationSection.java +++ /dev/null @@ -1,13 +0,0 @@ ---- plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java.orig 2008-08-02 17:38:50.000000000 -0400 -+++ plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java 2008-08-02 17:39:46.000000000 -0400 -@@ -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 = {"linux", "freebsd", "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_LINUX, Platform.OS_FREEBSD, Platform.OS_MACOSX, Platform.OS_SOLARIS, Platform.OS_WIN32}; - - private CTabFolder fTabFolder; - private int fLastTab; diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-JRESection.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-JRESection.java deleted file mode 100644 index aea9feb1f0ff..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-JRESection.java +++ /dev/null @@ -1,13 +0,0 @@ ---- plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java.orig 2008-08-02 21:34:49.378631553 -0400 -+++ plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java 2008-08-02 21:36:12.049135765 -0400 -@@ -77,8 +77,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 = {"linux", "freebsd", "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_FREEBSD, Platform.OS_MACOSX, Platform.OS_SOLARIS, Platform.OS_WIN32}; - - private CTabFolder fTabFolder; - private int fLastTab; diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-LauncherSection.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-LauncherSection.java deleted file mode 100644 index 04318c3914e5..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-editor-product-LauncherSection.java +++ /dev/null @@ -1,79 +0,0 @@ ---- plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/LauncherSection.java.orig 2008-08-02 17:40:49.000000000 -0400 -+++ plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/LauncherSection.java 2008-08-02 17:46:15.000000000 -0400 -@@ -61,6 +61,7 @@ - private Composite fNotebook; - private StackLayout fNotebookLayout; - private Composite fLinuxSection; -+ private Composite fFreeBSDSection; - private Composite fMacSection; - private Composite fSolarisSection; - private Composite fWin32Section; -@@ -156,6 +157,7 @@ - fNotebook.setLayout(fNotebookLayout); - - fLinuxSection = addLinuxSection(fNotebook, toolkit); -+ fFreeBSDSection = addFreeBSDSection(fNotebook, toolkit); - fMacSection = addMacSection(fNotebook, toolkit); - fSolarisSection = addSolarisSection(fNotebook, toolkit); - fWin32Section = addWin32Section(fNotebook, toolkit); -@@ -181,20 +183,24 @@ - - private void createTabs() { - addTab("linux"); //$NON-NLS-1$ -+ addTab("freebsd"); //$NON-NLS-1$ - addTab("macosx"); //$NON-NLS-1$ - addTab("solaris"); //$NON-NLS-1$ - addTab("win32"); //$NON-NLS-1$ - - 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 if ("freebsd".equals(currentTarget)) { //$NON-NLS-1$ -+ fTabFolder.setSelection(1); -+ fNotebookLayout.topControl = fFreeBSDSection; - } else { - fTabFolder.setSelection(0); - fNotebookLayout.topControl = fLinuxSection; -@@ -306,6 +312,14 @@ - return comp; - } - -+ 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 addSolarisSection(Composite parent, FormToolkit toolkit) { - Composite comp = createComposite(parent, toolkit); - createLabel(comp, toolkit, PDEUIMessages.LauncherSection_solarisLabel, 3); -@@ -484,12 +498,15 @@ - fNotebookLayout.topControl = fLinuxSection; - break; - case 1 : -- fNotebookLayout.topControl = fMacSection; -+ fNotebookLayout.topControl = fFreeBSDSection; - 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/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-pderesources.properties b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-pderesources.properties deleted file mode 100644 index bd44b42486e3..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-pderesources.properties +++ /dev/null @@ -1,10 +0,0 @@ ---- plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/pderesources.properties.orig 2008-09-25 20:35:26.000000000 -0400 -+++ plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/pderesources.properties 2008-09-25 20:32:37.000000000 -0400 -@@ -574,6 +574,7 @@ - LauncherSection_48Low=48x48 (8-bit): - LauncherSection_48High=48x48 (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/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-wizards-product-ProductIntroOperation.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-wizards-product-ProductIntroOperation.java deleted file mode 100644 index 0922d86670cc..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui-src-org-eclipse-pde-internal-ui-wizards-product-ProductIntroOperation.java +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java.orig 2008-08-02 21:38:59.940166888 -0400 -+++ plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java 2008-08-02 21:39:29.890351339 -0400 -@@ -127,7 +127,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,freebsd,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$ - - presentation.add(implementation); - diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui.templates-src-org-eclipse-pde-internal-ui-templates-rcp-IntroTemplate.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui.templates-src-org-eclipse-pde-internal-ui-templates-rcp-IntroTemplate.java deleted file mode 100644 index ec442e851a1a..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.pde.ui.templates-src-org-eclipse-pde-internal-ui-templates-rcp-IntroTemplate.java +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java.orig 2008-08-02 21:48:19.733606277 -0400 -+++ plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java 2008-08-02 21:49:05.223891216 -0400 -@@ -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,freebsd,macosx"); //$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/java/eclipse-devel/files/patch-plugins-org.eclipse.platform.doc.user-contexts_UserAssistance.xml b/java/eclipse-devel/files/patch-plugins-org.eclipse.platform.doc.user-contexts_UserAssistance.xml deleted file mode 100644 index 18e894d61da9..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.platform.doc.user-contexts_UserAssistance.xml +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.platform.doc.user/contexts_UserAssistance.xml.orig 2008-08-02 21:53:37.785558970 -0400 -+++ plugins/org.eclipse.platform.doc.user/contexts_UserAssistance.xml 2008-08-02 21:54:17.345801682 -0400 -@@ -17,7 +17,7 @@ - <!-- ===================== --> - - <context id="f1Shell"> -- <description>Context-sensitive help is provided for many interfaces, including views, wizards, fields, buttons, and menu items. To access this help, bring focus to the item by clicking it or using the tab key, and then press F1 (Shift-F1 on Linux, Help on Mac). Some infopops include links to topics within the online help where you can find more information about the item. This infopop opened because you requested help while an infopop was already open.</description> -+ <description>Context-sensitive help is provided for many interfaces, including views, wizards, fields, buttons, and menu items. To access this help, bring focus to the item by clicking it or using the tab key, and then press F1 (Shift-F1 on Linux and FreeBSD, Help on Mac). Some infopops include links to topics within the online help where you can find more information about the item. This infopop opened because you requested help while an infopop was already open.</description> - </context> - - <context id="prefPageHelp"> diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.swt.gtk.freebsd.amd64-build.xml b/java/eclipse-devel/files/patch-plugins-org.eclipse.swt.gtk.freebsd.amd64-build.xml deleted file mode 100644 index 8bf9db3433a3..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.swt.gtk.freebsd.amd64-build.xml +++ /dev/null @@ -1,64 +0,0 @@ ---- plugins/org.eclipse.swt.gtk.freebsd.amd64/build.xml.orig 2008-08-02 20:56:10.950055571 -0400 -+++ plugins/org.eclipse.swt.gtk.freebsd.amd64/build.xml 2008-08-02 20:58:39.830970324 -0400 -@@ -273,6 +273,9 @@ - <target name="build.cfiles" depends="build.jars"> - <!-- generate the C code from the (64 bit) SWT PI java classes --> - <!-- assumes the swt.jar has already been built --> -+ <!-- <ant antfile="build.xml" dir="${toolsplugindir}" inheritAll="false" target="build.jars" />--> -+ <!-- assumes the swttools.jar has already been built --> -+ <echo message="Generating jni C files"/> - <java classname="org.eclipse.swt.tools.internal.JNIGeneratorApp" classpath="${toolsplugindir}/bin:${toolsplugindir}/swttools.jar:${basedir}/swt.jar"><arg value="org.eclipse.swt.internal.C"/><arg value="${basedir}/src/Eclipse SWT PI/common/library/"/><arg value="${build.result.folder}/swt.jar"/></java> - <java classname="org.eclipse.swt.tools.internal.JNIGeneratorApp" classpath="${toolsplugindir}/bin:${toolsplugindir}/swttools.jar:${basedir}/swt.jar"><arg value="org.eclipse.swt.internal.gtk.OS"/><arg value="${basedir}/src/Eclipse SWT PI/gtk/library/"/><arg value="${build.result.folder}/swt.jar"/></java> - <java classname="org.eclipse.swt.tools.internal.JNIGeneratorApp" classpath="${toolsplugindir}/bin:${toolsplugindir}/swttools.jar:${basedir}/swt.jar"><arg value="org.eclipse.swt.internal.accessibility.gtk.ATK"/><arg value="${basedir}/src/Eclipse SWT PI/gtk/library/"/><arg value="${build.result.folder}/swt.jar"/></java> -@@ -287,21 +290,27 @@ - <!-- since this is the structure assumed by the native makefile and given that --> - <!-- this script needs to work outside of the Eclipse workspace without modifying --> - <!-- the content of the org.eclipse.swt project. --> -- <mkdir dir="${basedir}/src/bin/library"/> -- <copy todir="${basedir}/src/bin/library"> -- <fileset dir="${basedir}/src/Eclipse SWT/common/library"/> -- <fileset dir="${basedir}/src/Eclipse SWT AWT/gtk/library"/> -- <fileset dir="${basedir}/src/Eclipse SWT Mozilla/common/library"/> -- <fileset dir="${basedir}/src/Eclipse SWT OpenGL/glx/library"/> -- <fileset dir="${basedir}/src/Eclipse SWT PI/cairo/library"/> -- <fileset dir="${basedir}/src/Eclipse SWT PI/gtk/library"/> -- <fileset dir="${basedir}/src/Eclipse SWT PI/common/library"/> -- <fileset dir="${basedir}/src/Eclipse SWT Program/cde/library"/> -- <fileset dir="${basedir}/src/Eclipse SWT Program/gnome/library"/> -+ <echo message="${build.result.folder}"/> -+ <mkdir dir="${basedir}/gtk/library"/> -+ <copy todir="${basedir}/gtk/library"> -+ <fileset dir="${basedir}/src/Eclipse SWT/common/library/"/> -+ <fileset dir="${basedir}/src/Eclipse SWT AWT/gtk/library/"/> -+ <fileset dir="${basedir}/src/Eclipse SWT Mozilla/common/library/"/> -+ <fileset dir="${basedir}/src/Eclipse SWT OpenGL/glx/library/"/> -+ <fileset dir="${basedir}/src/Eclipse SWT PI/common/library/"/> -+ <fileset dir="${basedir}/src/Eclipse SWT PI/cairo/library/"/> -+ <fileset dir="${basedir}/src/Eclipse SWT PI/gtk/library/"/> -+ <fileset dir="${basedir}/src/Eclipse SWT PI/common/library/"/> -+ <fileset dir="${basedir}/src/Eclipse SWT Program/cde/library/"/> -+ <fileset dir="${basedir}/src/Eclipse SWT Program/gnome/library/"/> - </copy> - </target> - -+ <target name="build.jnilibs" depends="build.nativeLibraries"/> -+ - <target name="build.nativeLibraries" depends="build.cfiles" description="Build 64 bit native libraries without changing the content of org.eclipse.swt"> -+ <echo message="Building Native Libraries"/> -+ <!-- - <property name="sourcedir" value="${basedir}/src/bin/library" /> - <property name="lib_destdir" value="${sourcedir}/../../../../${fragment}" /> - <tstamp/> -@@ -317,6 +326,12 @@ - <copy todir="${lib_destdir}"> - <fileset dir="${sourcedir}/" includes="*.so"/> - </copy> -+ --> -+ <exec dir="${build.result.folder}/gtk/library" executable="sh"> -+ <env key="OUTPUT_DIR" value="${build.result.folder}"/> -+ <arg line="${build.result.folder}/gtk/library/build.sh"/> -+ <arg line="install"/> -+ </exec> - </target> - - <target name="build.zips" depends="init"> diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.swt.gtk.freebsd.amd64.source-META-INF-MANIFEST.MF b/java/eclipse-devel/files/patch-plugins-org.eclipse.swt.gtk.freebsd.amd64.source-META-INF-MANIFEST.MF deleted file mode 100644 index d7c5f8c8909e..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.swt.gtk.freebsd.amd64.source-META-INF-MANIFEST.MF +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.swt.gtk.freebsd.amd64.source/META-INF/MANIFEST.MF.orig 2008-09-25 20:44:00.000000000 -0400 -+++ plugins/org.eclipse.swt.gtk.freebsd.amd64.source/META-INF/MANIFEST.MF 2008-09-25 20:46:29.000000000 -0400 -@@ -6,7 +6,6 @@ - Bundle-ManifestVersion: 2
- Bundle-Localization: fragment
- Bundle-SymbolicName: org.eclipse.swt.gtk.freebsd.amd64.source
--Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x8
-- 6_64))
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=amd64))
- Bundle-Version: 3.4.1.v3449c
-
diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.swt.gtk.freebsd.x86-build.xml b/java/eclipse-devel/files/patch-plugins-org.eclipse.swt.gtk.freebsd.x86-build.xml deleted file mode 100644 index 9c33fa4685fd..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.swt.gtk.freebsd.x86-build.xml +++ /dev/null @@ -1,30 +0,0 @@ ---- plugins/org.eclipse.swt.gtk.freebsd.x86/build.xml.orig 2008-08-02 16:19:48.000000000 -0400 -+++ plugins/org.eclipse.swt.gtk.freebsd.x86/build.xml 2008-08-02 16:20:07.000000000 -0400 -@@ -142,12 +142,13 @@ - </target> - - <target name="build.cfiles" depends="init"> -- <mkdir dir="${build.result.folder}/library"/> -- <copy todir="${build.result.folder}/library"> -+ <mkdir dir="${build.result.folder}/gtk/library"/> -+ <copy todir="${build.result.folder}/gtk/library"> - <fileset dir="${plugindir}/Eclipse SWT/common/library"/> - <fileset dir="${plugindir}/Eclipse SWT AWT/gtk/library"/> - <fileset dir="${plugindir}/Eclipse SWT Mozilla/common/library"/> - <fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/library"/> -+ <fileset dir="${plugindir}/Eclipse SWT PI/common/library"/> - <fileset dir="${plugindir}/Eclipse SWT PI/cairo/library"/> - <fileset dir="${plugindir}/Eclipse SWT PI/gtk/library"/> - <fileset dir="${plugindir}/Eclipse SWT Program/cde/library"/> -@@ -156,9 +157,9 @@ - </target> - - <target name="build.jnilibs" depends="build.cfiles"> -- <exec dir="${build.result.folder}/library" executable="sh"> -+ <exec dir="${build.result.folder}/gtk/library" executable="sh"> - <env key="OUTPUT_DIR" value="${build.result.folder}"/> -- <arg line="${build.result.folder}/library/build.sh"/> -+ <arg line="${build.result.folder}/gtk/library/build.sh"/> - <arg line="install"/> - </exec> - </target> diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.team.cvs.ssh-src-org-eclipse-team-internal-ccvs-ssh-KnownHosts.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.team.cvs.ssh-src-org-eclipse-team-internal-ccvs-ssh-KnownHosts.java deleted file mode 100644 index 83d92e62c5a2..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.team.cvs.ssh-src-org-eclipse-team-internal-ccvs-ssh-KnownHosts.java +++ /dev/null @@ -1,12 +0,0 @@ ---- plugins/org.eclipse.team.cvs.ssh/src/org/eclipse/team/internal/ccvs/ssh/KnownHosts.java.orig 2008-08-02 23:18:54.457655000 -0400 -+++ plugins/org.eclipse.team.cvs.ssh/src/org/eclipse/team/internal/ccvs/ssh/KnownHosts.java 2008-08-02 23:20:58.798422053 -0400 -@@ -38,7 +38,8 @@ - } - - static String defaultFilename() { -- if (!Platform.getOS().equals(Platform.OS_LINUX)) return internalFilename(); -+ if (!Platform.getOS().equals(Platform.OS_LINUX) && !Platform.getOS().equals(Platform.OS_FREEBSD)) -+ return internalFilename(); - String HOME = System.getProperty("user.home"); //$NON-NLS-1$ - if (HOME==null) return internalFilename(); - return HOME+"/.ssh/known_hosts"; //$NON-NLS-1$ diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.update.configurator-component.xml b/java/eclipse-devel/files/patch-plugins-org.eclipse.update.configurator-component.xml deleted file mode 100644 index 670fc812961b..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.update.configurator-component.xml +++ /dev/null @@ -1,6 +0,0 @@ ---- plugins/org.eclipse.update.configurator/component.xml.orig 2008-08-03 22:58:47.947678048 -0400 -+++ plugins/org.eclipse.update.configurator/component.xml 2008-08-03 23:20:58.238181450 -0400 -@@ -1 +1 @@ --<?xml version="1.0" encoding="UTF-8"?><component xmlns="http://eclipse.org/wtp/releng/tools/component-model" name="Platform Install / Update"><description url=""></description><component-depends unrestricted="true"></component-depends><plugin id="org.eclipse.update.configurator" fragment="false"/><plugin id="org.eclipse.update.core" fragment="false"/><plugin id="org.eclipse.update.core.linux" fragment="true"/><plugin id="org.eclipse.update.core.win32" fragment="true"/><plugin id="org.eclipse.update.scheduler" fragment="false"/><plugin id="org.eclipse.update.ui" fragment="false"/><package name="org.eclipse.update.configurator"><type name="ConfiguratorUtils" implement="false" subclass="false" instantiate="false"/><type name="IPlatformConfiguration" instantiate="false"/><type name="IPlatformConfigurationFactory" instantiate="false"/></package><package name="org.eclipse.update.search"><type name="IUpdateSearchSite" instantiate="false"/><type name="UpdateSearchRequest"/><type name="IUpdateSearchFilter" instantiate="false"/><type name="IQueryUpdateSiteAdapter" instantiate="false"/><type name="IUpdateSearchResultCollectorFromMirror" instantiate="false"/><type name="VersionedIdentifiersFilter"/><type name="IUpdateSearchResultCollector" instantiate="false"/><type name="IUpdateSiteAdapter" instantiate="false"/><type name="BaseFilter"/><type name="EnvironmentFilter"/><type name="IUpdateSearchQuery" instantiate="false"/><type name="IUpdateSearchCategory" instantiate="false"/><type name="UpdateSearchScope"/><type name="BackLevelFilter"/></package><package name="org.eclipse.update.operations"><type name="IInstallFeatureOperation" instantiate="false"/><type name="IUninstallFeatureOperation" instantiate="false"/><type name="IConfigFeatureOperation" instantiate="false"/><type name="IToggleSiteOperation" instantiate="false"/><type name="IOperationFactory" instantiate="false"/><type name="OperationsManager" implement="false" subclass="false" instantiate="false"/><type name="IReplaceFeatureVersionOperation" instantiate="false"/><type name="IFeatureOperation" instantiate="false"/><type name="IOperation" instantiate="false"/><type name="IBatchOperation" instantiate="false"/><type name="IOperationListener" instantiate="false"/><type name="IRevertConfigurationOperation" instantiate="false"/><type name="IOperationValidator" instantiate="false"/><type name="IUnconfigFeatureOperation" instantiate="false"/><type name="IUpdateModelChangedListener" instantiate="false"/></package><package name="org.eclipse.update.core"><type name="Verifier"/><type name="IncludedFeatureReference"/><type name="IInstallHandlerEntry" instantiate="false"/><type name="IArchiveReference" instantiate="false"/><type name="INonPluginEntry" instantiate="false"/><type name="IImport" instantiate="false"/><type name="Site"/><type name="IVerificationResult" instantiate="false"/><type name="InstallHandlerEntry"/><type name="ISiteWithMirrors" instantiate="false"/><type name="JarEntryContentReference"/><type name="IUpdateConstants" instantiate="false"/><type name="BaseFeatureFactory" instantiate="false"/><type name="ISiteFactoryExtension" instantiate="false"/><type name="SiteManager" instantiate="false"/><type name="ICategory" instantiate="false"/><type name="ISite" instantiate="false"/><type name="IContentConsumer" instantiate="false"/><type name="ArchiveReference"/><type name="IVerifier" instantiate="false"/><type name="InstallMonitor"/><type name="IVerificationListener" instantiate="false"/><type name="ISiteFactory" instantiate="false"/><type name="JarContentReference"/><type name="Feature"/><type name="IFeatureFactory" instantiate="false"/><type name="IPlatformEnvironment" instantiate="false"/><type name="IInstallHandlerWithFilter" instantiate="false"/><type name="IPluginEntry" instantiate="false"/><type name="ContentReference"/><type name="URLEntry"/><type name="SiteFeatureReference"/><type name="IFeatureContentConsumer" instantiate="false"/><type name="IFeatureReference" instantiate="false"/><type name="Import"/><type name="ISiteContentProvider" instantiate="false"/><type name="IFeature" instantiate="false"/><type name="VersionedIdentifier" subclass="false"/><type name="FeatureReference"/><type name="IFeatureContentProvider" instantiate="false"/><type name="BaseInstallHandler"/><type name="ISiteFeatureReference" instantiate="false"/><type name="FeatureContentProvider"/><type name="SiteContentProvider"/><type name="BaseSiteFactory" instantiate="false"/><type name="IInstallHandler" instantiate="false"/><type name="SiteFeatureReferenceModel"/><type name="IIncludedFeatureReference" subclass="false" instantiate="false"/><type name="IURLEntry" instantiate="false"/><type name="NonPluginEntry"/><type name="Category"/><type name="PluginEntry"/><type name="Utilities" implement="false" subclass="false" instantiate="false"/></package><package name="org.eclipse.update.core.model"><type name="FeatureReferenceModel"/><type name="SiteModel"/><type name="PluginEntryModel"/><type name="ModelObject" instantiate="false"/><type name="SiteModelFactory"/><type name="FeatureModel"/><type name="InstallAbortedException"/><type name="NonPluginEntryModel"/><type name="InstallHandlerEntryModel"/><type name="DefaultSiteParser"/><type name="URLEntryModel"/><type name="FeatureModelFactory"/><type name="ContentEntryModel"/><type name="DefaultFeatureParser"/><type name="CategoryModel"/><type name="ImportModel"/><type name="IncludedFeatureReferenceModel"/><type name="InvalidSiteTypeException"/><type name="ArchiveReferenceModel"/></package><package name="org.eclipse.update.standalone"><type name="StandaloneUpdateApplication"/><type name="ScriptedCommand"/><type name="UpdateCommand"/><type name="UninstallCommand"/><type name="CmdLineArgs"/><type name="SearchCommand"/><type name="EnableCommand"/><type name="AddSiteCommand"/><type name="InstallCommand"/><type name="DisableCommand"/><type name="ListFeaturesCommand"/><type name="RemoveSiteCommand"/></package><package name="org.eclipse.update.configuration"><type name="IVolume" instantiate="false"/><type name="ILocalSystemInfoListener" instantiate="false"/><type name="IActivity" implement="false" subclass="false" instantiate="false"/><type name="IInstallConfigurationChangedListener" instantiate="false"/><type name="ILocalSite" instantiate="false"/><type name="ILocalSiteChangedListener" instantiate="false"/><type name="IConfiguredSite" instantiate="false"/><type name="IInstallDeltaHandler" instantiate="false"/><type name="IProblemHandler" instantiate="false"/><type name="IConfiguredSiteChangedListener" instantiate="false"/><type name="IInstallConfiguration" instantiate="false"/><type name="LocalSystemInfo" implement="false" subclass="false" instantiate="false"/><type name="ISessionDelta" instantiate="false"/></package><package name="org.eclipse.update.ui"><type name="UpdateJob"/><type name="UpdateManagerUI" implement="false" subclass="false" instantiate="false"/></package></component> -\ No newline at end of file -+<?xml version="1.0" encoding="UTF-8"?><component xmlns="http://eclipse.org/wtp/releng/tools/component-model" name="Platform Install / Update"><description url=""></description><component-depends unrestricted="true"></component-depends><plugin id="org.eclipse.update.configurator" fragment="false"/><plugin id="org.eclipse.update.core" fragment="false"/><plugin id="org.eclipse.update.core.linux" fragment="true"/><plugin id="org.eclipse.update.core.freebsd" fragment="true"/><plugin id="org.eclipse.update.core.win32" fragment="true"/><plugin id="org.eclipse.update.scheduler" fragment="false"/><plugin id="org.eclipse.update.ui" fragment="false"/><package name="org.eclipse.update.configurator"><type name="ConfiguratorUtils" implement="false" subclass="false" instantiate="false"/><type name="IPlatformConfiguration" instantiate="false"/><type name="IPlatformConfigurationFactory" instantiate="false"/></package><package name="org.eclipse.update.search"><type name="IUpdateSearchSite" instantiate="false"/><type name="UpdateSearchRequest"/><type name="IUpdateSearchFilter" instantiate="false"/><type name="IQueryUpdateSiteAdapter" instantiate="false"/><type name="IUpdateSearchResultCollectorFromMirror" instantiate="false"/><type name="VersionedIdentifiersFilter"/><type name="IUpdateSearchResultCollector" instantiate="false"/><type name="IUpdateSiteAdapter" instantiate="false"/><type name="BaseFilter"/><type name="EnvironmentFilter"/><type name="IUpdateSearchQuery" instantiate="false"/><type name="IUpdateSearchCategory" instantiate="false"/><type name="UpdateSearchScope"/><type name="BackLevelFilter"/></package><package name="org.eclipse.update.operations"><type name="IInstallFeatureOperation" instantiate="false"/><type name="IUninstallFeatureOperation" instantiate="false"/><type name="IConfigFeatureOperation" instantiate="false"/><type name="IToggleSiteOperation" instantiate="false"/><type name="IOperationFactory" instantiate="false"/><type name="OperationsManager" implement="false" subclass="false" instantiate="false"/><type name="IReplaceFeatureVersionOperation" instantiate="false"/><type name="IFeatureOperation" instantiate="false"/><type name="IOperation" instantiate="false"/><type name="IBatchOperation" instantiate="false"/><type name="IOperationListener" instantiate="false"/><type name="IRevertConfigurationOperation" instantiate="false"/><type name="IOperationValidator" instantiate="false"/><type name="IUnconfigFeatureOperation" instantiate="false"/><type name="IUpdateModelChangedListener" instantiate="false"/></package><package name="org.eclipse.update.core"><type name="Verifier"/><type name="IncludedFeatureReference"/><type name="IInstallHandlerEntry" instantiate="false"/><type name="IArchiveReference" instantiate="false"/><type name="INonPluginEntry" instantiate="false"/><type name="IImport" instantiate="false"/><type name="Site"/><type name="IVerificationResult" instantiate="false"/><type name="InstallHandlerEntry"/><type name="ISiteWithMirrors" instantiate="false"/><type name="JarEntryContentReference"/><type name="IUpdateConstants" instantiate="false"/><type name="BaseFeatureFactory" instantiate="false"/><type name="ISiteFactoryExtension" instantiate="false"/><type name="SiteManager" instantiate="false"/><type name="ICategory" instantiate="false"/><type name="ISite" instantiate="false"/><type name="IContentConsumer" instantiate="false"/><type name="ArchiveReference"/><type name="IVerifier" instantiate="false"/><type name="InstallMonitor"/><type name="IVerificationListener" instantiate="false"/><type name="ISiteFactory" instantiate="false"/><type name="JarContentReference"/><type name="Feature"/><type name="IFeatureFactory" instantiate="false"/><type name="IPlatformEnvironment" instantiate="false"/><type name="IInstallHandlerWithFilter" instantiate="false"/><type name="IPluginEntry" instantiate="false"/><type name="ContentReference"/><type name="URLEntry"/><type name="SiteFeatureReference"/><type name="IFeatureContentConsumer" instantiate="false"/><type name="IFeatureReference" instantiate="false"/><type name="Import"/><type name="ISiteContentProvider" instantiate="false"/><type name="IFeature" instantiate="false"/><type name="VersionedIdentifier" subclass="false"/><type name="FeatureReference"/><type name="IFeatureContentProvider" instantiate="false"/><type name="BaseInstallHandler"/><type name="ISiteFeatureReference" instantiate="false"/><type name="FeatureContentProvider"/><type name="SiteContentProvider"/><type name="BaseSiteFactory" instantiate="false"/><type name="IInstallHandler" instantiate="false"/><type name="SiteFeatureReferenceModel"/><type name="IIncludedFeatureReference" subclass="false" instantiate="false"/><type name="IURLEntry" instantiate="false"/><type name="NonPluginEntry"/><type name="Category"/><type name="PluginEntry"/><type name="Utilities" implement="false" subclass="false" instantiate="false"/></package><package name="org.eclipse.update.core.model"><type name="FeatureReferenceModel"/><type name="SiteModel"/><type name="PluginEntryModel"/><type name="ModelObject" instantiate="false"/><type name="SiteModelFactory"/><type name="FeatureModel"/><type name="InstallAbortedException"/><type name="NonPluginEntryModel"/><type name="InstallHandlerEntryModel"/><type name="DefaultSiteParser"/><type name="URLEntryModel"/><type name="FeatureModelFactory"/><type name="ContentEntryModel"/><type name="DefaultFeatureParser"/><type name="CategoryModel"/><type name="ImportModel"/><type name="IncludedFeatureReferenceModel"/><type name="InvalidSiteTypeException"/><type name="ArchiveReferenceModel"/></package><package name="org.eclipse.update.standalone"><type name="StandaloneUpdateApplication"/><type name="ScriptedCommand"/><type name="UpdateCommand"/><type name="UninstallCommand"/><type name="CmdLineArgs"/><type name="SearchCommand"/><type name="EnableCommand"/><type name="AddSiteCommand"/><type name="InstallCommand"/><type name="DisableCommand"/><type name="ListFeaturesCommand"/><type name="RemoveSiteCommand"/></package><package name="org.eclipse.update.configuration"><type name="IVolume" instantiate="false"/><type name="ILocalSystemInfoListener" instantiate="false"/><type name="IActivity" implement="false" subclass="false" instantiate="false"/><type name="IInstallConfigurationChangedListener" instantiate="false"/><type name="ILocalSite" instantiate="false"/><type name="ILocalSiteChangedListener" instantiate="false"/><type name="IConfiguredSite" instantiate="false"/><type name="IInstallDeltaHandler" instantiate="false"/><type name="IProblemHandler" instantiate="false"/><type name="IConfiguredSiteChangedListener" instantiate="false"/><type name="IInstallConfiguration" instantiate="false"/><type name="LocalSystemInfo" implement="false" subclass="false" instantiate="false"/><type name="ISessionDelta" instantiate="false"/></package><package name="org.eclipse.update.ui"><type name="UpdateJob"/><type name="UpdateManagerUI" implement="false" subclass="false" instantiate="false"/></package></component> diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.update.core-plugins.properties b/java/eclipse-devel/files/patch-plugins-org.eclipse.update.core-plugins.properties deleted file mode 100644 index d08165efbca0..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.update.core-plugins.properties +++ /dev/null @@ -1,10 +0,0 @@ ---- plugins/org.eclipse.update.core/plugin.properties.orig 2008-08-03 10:46:24.591010495 -0400 -+++ plugins/org.eclipse.update.core/plugin.properties 2008-08-03 10:46:47.971154061 -0400 -@@ -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
diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.update.core-src-org-eclipse-update-internal-core-UpdateManagerUtils.java b/java/eclipse-devel/files/patch-plugins-org.eclipse.update.core-src-org-eclipse-update-internal-core-UpdateManagerUtils.java deleted file mode 100644 index 7b6a5c719db4..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.update.core-src-org-eclipse-update-internal-core-UpdateManagerUtils.java +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/org.eclipse.update.core/src/org/eclipse/update/internal/core/UpdateManagerUtils.java.orig 2008-08-03 10:44:20.960250999 -0400 -+++ plugins/org.eclipse.update.core/src/org/eclipse/update/internal/core/UpdateManagerUtils.java 2008-08-03 10:45:13.560574224 -0400 -@@ -68,6 +68,8 @@ - .equals(Platform.getOS()) - || org.eclipse.osgi.service.environment.Constants.OS_LINUX - .equals(Platform.getOS()) -+ || org.eclipse.osgi.service.environment.Constants.OS_FREEBSD -+ .equals(Platform.getOS()) - || org.eclipse.osgi.service.environment.Constants.OS_SOLARIS - .equals(Platform.getOS()) - || org.eclipse.osgi.service.environment.Constants.OS_MACOSX diff --git a/java/eclipse-devel/files/patch-plugins-org.eclipse.update.core.freebsd-src-update.c b/java/eclipse-devel/files/patch-plugins-org.eclipse.update.core.freebsd-src-update.c deleted file mode 100644 index dd50d8793df6..000000000000 --- a/java/eclipse-devel/files/patch-plugins-org.eclipse.update.core.freebsd-src-update.c +++ /dev/null @@ -1,13 +0,0 @@ ---- plugins/org.eclipse.update.core.freebsd/src/update.c.orig 2008-08-05 23:34:48.000000000 -0400 -+++ plugins/org.eclipse.update.core.freebsd/src/update.c 2008-08-05 23:35:29.000000000 -0400 -@@ -11,8 +11,9 @@ -
- /* bug 82520 : need to include stdlib.h */
- # include <stdlib.h>
-+# include <sys/param.h>
- # include <sys/types.h>
--# include <sys/statfs.h>
-+# include <sys/mount.h>
- # include <update.h>
-
- /*
diff --git a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT-gtk-org-eclipse-swt-widgets-DirectoryDialog.java b/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT-gtk-org-eclipse-swt-widgets-DirectoryDialog.java deleted file mode 100644 index ef7629cf6cfc..000000000000 --- a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT-gtk-org-eclipse-swt-widgets-DirectoryDialog.java +++ /dev/null @@ -1,20 +0,0 @@ ---- gtk/org/eclipse/swt/widgets/DirectoryDialog.java.orig 2008-08-05 22:10:38.000000000 -0400 -+++ gtk/org/eclipse/swt/widgets/DirectoryDialog.java 2008-08-05 22:11:13.000000000 -0400 -@@ -145,15 +145,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) { diff --git a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT-gtk-org-eclipse-swt-widgets-FileDialog.java b/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT-gtk-org-eclipse-swt-widgets-FileDialog.java deleted file mode 100644 index fb23bb2968ce..000000000000 --- a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT-gtk-org-eclipse-swt-widgets-FileDialog.java +++ /dev/null @@ -1,51 +0,0 @@ ---- gtk/org/eclipse/swt/widgets/FileDialog.java.orig 2008-08-03 13:33:18.285923896 -0400 -+++ gtk/org/eclipse/swt/widgets/FileDialog.java 2008-08-03 13:36:14.527006003 -0400 -@@ -474,42 +474,42 @@ - } - stringBuffer.append (fileName); - 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_filename (handle, ptr); -- OS.g_free (ptr); - } - } else { - 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); - } - } - } else { - if (fileName.length () > 0) { - if (fileName.charAt (0) == SEPARATOR) { - byte [] buffer = Converter.wcsToMbcs (null, fileName, 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_filename (handle, ptr); -- OS.g_free (ptr); - } - } - } diff --git a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_Mozilla-gtk-org-eclipse-swt-browser-MozillaDelegate.java b/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_Mozilla-gtk-org-eclipse-swt-browser-MozillaDelegate.java deleted file mode 100644 index 56d4b133a2b2..000000000000 --- a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_Mozilla-gtk-org-eclipse-swt-browser-MozillaDelegate.java +++ /dev/null @@ -1,20 +0,0 @@ ---- gtk/org/eclipse/swt/browser/MozillaDelegate.java.orig 2008-08-02 21:58:22.782311909 -0400 -+++ gtk/org/eclipse/swt/browser/MozillaDelegate.java 2008-08-02 22:00:13.312988015 -0400 -@@ -26,14 +26,16 @@ - static final int STOP_PROPOGATE = 1; - - static boolean IsLinux; -+ static boolean IsFreeBSD; - static { - String osName = System.getProperty ("os.name").toLowerCase (); //$NON-NLS-1$ - IsLinux = osName.startsWith ("linux"); //$NON-NLS-1$ -+ IsFreeBSD = osName.startsWith ("freebsd"); //$NON-NLS-1$ - } - - MozillaDelegate (Browser browser) { - super (); -- if (!IsLinux) { -+ if (!IsLinux && !IsFreeBSD) { - browser.dispose (); - SWT.error (SWT.ERROR_NO_HANDLES, null, " [Unsupported platform]"); //$NON-NLS-1$ - } diff --git a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.sh b/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.sh deleted file mode 100644 index 88b57e05c52a..000000000000 --- a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.sh +++ /dev/null @@ -1,109 +0,0 @@ ---- gtk/library/build.sh.orig 2008-09-11 21:18:02.725614374 -0400 -+++ gtk/library/build.sh 2008-09-11 21:18:07.455632295 -0400 -@@ -50,6 +50,10 @@ - fi - fi - case $MODEL in -+ "amd64") -+ SWT_ARCH=x86_64 -+ AWT_ARCH=amd64 -+ ;; - "x86_64") - SWT_ARCH=x86_64 - AWT_ARCH=amd64 -@@ -65,7 +69,7 @@ - esac - - # For 64-bit CPUs, we have a switch --if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'ppc64' -o ${MODEL} = 'ia64' -o ${MODEL} = 's390x' ]; then -+if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'amd64' -o ${MODEL} = 'ppc64' -o ${MODEL} = 'ia64' -o ${MODEL} = 's390x' ]; then - SWT_PTR_CFLAGS=-DSWT_PTR_SIZE_64 - export SWT_PTR_CFLAGS - if [ -d /lib64 ]; then -@@ -74,47 +78,44 @@ - fi - fi - --if [ x`pkg-config --exists gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0 && echo YES` = "xYES" ]; then -- echo "libgnomeui-2.0 found, compiling SWT program support using GNOME" -- MAKE_GNOME=make_gnome --else -- echo "libgnome-2.0 and libgnomeui-2.0 not found:" -- echo " *** SWT Program support for GNOME will not be compiled." --fi -- --if [ x`pkg-config --exists cairo && echo YES` = "xYES" ]; then -- echo "Cairo found, compiling SWT support for the cairo graphics library." -- MAKE_CAIRO=make_cairo --else -- echo "Cairo not found:" -- echo " *** Advanced graphics support using cairo will not be compiled." -+if [ x${MAKE_GNOME} = "xmake_gnome" ]; then -+ if [ x`pkg-config --exists gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0 && echo YES` = "xYES" ]; then -+ echo "libgnomeui-2.0 found, compiling SWT program support using GNOME" -+ _MAKE_GNOME=make_gnome -+ else -+ echo "libgnome-2.0 and libgnomeui-2.0 not found:" -+ echo " *** SWT Program support for GNOME will not be compiled." -+ fi - fi - --if [ -z "${MOZILLA_INCLUDES}" -a -z "${MOZILLA_LIBS}" ]; then -- if [ x`pkg-config --exists mozilla-xpcom && echo YES` = "xYES" ]; then -- MOZILLA_INCLUDES=`pkg-config --cflags mozilla-xpcom` -- MOZILLA_LIBS=`pkg-config --libs mozilla-xpcom` -- export MOZILLA_INCLUDES -- export MOZILLA_LIBS -- MAKE_MOZILLA=make_mozilla -- 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 -- MOZILLA_INCLUDES=`pkg-config --cflags libxul` -- MOZILLA_LIBS=`pkg-config --libs libxul` -- export MOZILLA_INCLUDES -- export MOZILLA_LIBS -- MAKE_MOZILLA=make_mozilla -+if [ x${MAKE_CAIRO} = "xmake_cairo" ]; then -+ if [ x`pkg-config --exists cairo && echo YES` = "xYES" ]; then -+ echo "Cairo found, compiling SWT support for the cairo graphics library." -+ _MAKE_CAIRO=make_cairo - else -- echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM" -- echo " *** Mozilla embedding support will not be compiled." -+ echo "Cairo not found:" -+ echo " *** Advanced graphics support using cairo will not be compiled." - fi - fi - -+if [ x${MAKE_MOZILLA} = "xmake_mozilla" ]; then -+ if [ -z "${MOZILLA_INCLUDES}" -a -z "${MOZILLA_LIBS}" ]; then -+ case ${BROWSER} in -+ "firefox" | "mozilla" | "seamonkey" | "xulrunner") -+ MOZILLA_INCLUDES=`pkg-config --cflags ${BROWSER}-xpcom` -+ MOZILLA_LIBS=`pkg-config --libs ${BROWSER}-xpcom` -+ export MOZILLA_INCLUDES -+ export MOZILLA_LIBS -+ _MAKE_MOZILLA=make_mozilla -+ ;; -+ *) -+ echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM" -+ echo " *** Mozilla embedding support will not be compiled." -+ ;; -+ esac -+ fi -+fi -+ - # Find AWT if available - if [ -z "${AWT_LIB_PATH}" ]; then - if [ -d ${JAVA_HOME}/jre/lib/${AWT_ARCH} ]; then -@@ -142,5 +143,5 @@ - if [ "x${1}" = "xclean" ]; then - make -f $MAKEFILE clean - else -- make -f $MAKEFILE all $MAKE_GNOME $MAKE_CAIRO $MAKE_AWT $MAKE_MOZILLA ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} -+ make -f $MAKEFILE all $_MAKE_GNOME $_MAKE_CAIRO $MAKE_AWT $_MAKE_MOZILLA ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} - fi diff --git a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.xml b/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.xml deleted file mode 100644 index 281cae7600de..000000000000 --- a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.xml +++ /dev/null @@ -1,18 +0,0 @@ ---- gtk/library/build.xml.orig 2008-08-02 16:07:35.000000000 -0400 -+++ gtk/library/build.xml 2008-08-02 16:08:12.000000000 -0400 -@@ -14,7 +14,7 @@ - <arg line="${basedir}/bin/library/build.sh"/> - <arg line="install"/> - </exec> -- <eclipse.refreshLocal resource="org.eclipse.swt.gtk.linux.x86" depth="infinite" /> -+ <eclipse.refreshLocal resource="org.eclipse.swt.${installWs}.${installOs}.${installArch}" depth="infinite" /> - </target> - - <!-- Build swt.so for PowerPC 32 bit GTK (no Mozilla)--> -@@ -52,4 +52,4 @@ - </exec> - </target> - --</project> -\ No newline at end of file -+</project> diff --git a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-make_freebsd.mak b/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-make_freebsd.mak deleted file mode 100644 index beb3ec2b5dab..000000000000 --- a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-make_freebsd.mak +++ /dev/null @@ -1,72 +0,0 @@ ---- gtk/library/make_freebsd.mak.orig 2008-08-02 21:59:10.233269779 -0400 -+++ gtk/library/make_freebsd.mak 2008-08-02 21:59:50.313515173 -0400 -@@ -46,7 +46,7 @@ - - # 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 -lXtst - - CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc - -@@ -59,7 +59,7 @@ - GNOMELIBS = `pkg-config --libs-only-L gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -lgnomevfs-2 -lgnome-2 -lgnomeui-2 - - GLXCFLAGS = --GLXLIBS = -shared -fPIC -L/usr/X11R6/lib -lGL -lGLU -lm -+GLXLIBS = -shared -fPIC -L$(LOCALBASE)/lib -lGL -lGLU -lm - - # Uncomment for Native Stats tool - #NATIVE_STATS = -DNATIVE_STATS -@@ -74,11 +74,11 @@ - -Wno-non-virtual-dtor \ - -fPIC \ - -I. \ -+ -I$(LOCALBASE)/include \ - -I$(JAVA_HOME)/include \ - -I$(JAVA_HOME)/include/freebsd \ - ${SWT_PTR_CFLAGS} - MOZILLALIBS = -shared -Wl,--version-script=mozilla_exports -Bsymbolic --MOZILLAEXCLUDES = -DNO_XPCOMGlueShutdown -DNO_XPCOMGlueStartup - - SWT_OBJECTS = swt.o c.o c_stats.o callback.o - CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o -@@ -95,20 +95,21 @@ - CFLAGS = -O -Wall \ - -DSWT_VERSION=$(SWT_VERSION) \ - $(NATIVE_STATS) \ -- -DLINUX -DGTK \ -+ -DFREEBSD -DGTK \ -+ -I$(LOCALBASE)/include \ - -I$(JAVA_HOME)/include \ - -I$(JAVA_HOME)/include/freebsd \ - -fPIC \ - ${SWT_PTR_CFLAGS} - LIBS = -shared -fPIC - --ifndef NO_STRIP -- AWT_LIBS := $(AWT_LIBS) -s -- MOZILLALIBS := $(MOZILLALIBS) -s -- LIBS := $(LIBS) -s --endif -+.ifndef NO_STRIP -+AWT_LIBS := $(AWT_LIBS) -s -+MOZILLALIBS := $(MOZILLALIBS) -s -+LIBS := $(LIBS) -s -+.endif - --all: make_swt make_atk make_gnome make_glx -+all: make_swt make_atk $(MAKE_GNOME) make_glx $(MAKE_MOZILLA) $(MAKE_CAIRO) $(MAKE_AWT) - - # - # SWT libs -@@ -167,6 +168,9 @@ - $(AWT_LIB): $(AWT_OBJECTS) - $(CC) $(AWT_LIBS) -o $(AWT_LIB) $(AWT_OBJECTS) - -+swt_awt.o: swt_awt.c -+ $(CC) $(CFLAGS) -c swt_awt.c -+ - # - # Atk lib - # diff --git a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-org-eclipse-swt-internal-gtk-OS.java b/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-org-eclipse-swt-internal-gtk-OS.java deleted file mode 100644 index 16ea80bfccb8..000000000000 --- a/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-org-eclipse-swt-internal-gtk-OS.java +++ /dev/null @@ -1,25 +0,0 @@ ---- gtk/org/eclipse/swt/internal/gtk/OS.java.orig 2008-08-02 22:08:05.630890150 -0400 -+++ gtk/org/eclipse/swt/internal/gtk/OS.java 2008-08-02 22:10:32.931793757 -0400 -@@ -23,18 +23,19 @@ - } - - /** OS Constants */ -- public static final boolean IsAIX, IsSunOS, IsLinux, IsHPUX; -+ public static final boolean IsAIX, IsSunOS, IsLinux, IsFreeBSD, IsHPUX; - 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, isFreeBSD = false, isHPUX = false; - if (osName.equals ("Linux")) isLinux = true; -+ if (osName.equals ("FreeBSD")) isFreeBSD = 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; -+ IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsFreeBSD = isFreeBSD; IsHPUX = isHPUX; - } - - /** Constants */ diff --git a/java/eclipse-devel/pkg-message b/java/eclipse-devel/pkg-message deleted file mode 100644 index 66dc605d15da..000000000000 --- a/java/eclipse-devel/pkg-message +++ /dev/null @@ -1,3 +0,0 @@ -If eclipse-devel is reinstalled, you must run the 'setup-user' make -target as each user that is using eclipse. Failure to do so will result -in plugins installed by the users not being available at run-time. diff --git a/java/eclipse-devel/scripts/pre-patch b/java/eclipse-devel/scripts/pre-patch deleted file mode 100644 index 8ad970019aa1..000000000000 --- a/java/eclipse-devel/scripts/pre-patch +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -copy_file() -{ - srcfile="$1" - dstfile="$2" - - case $distfile in - *.zip) - #We may not want to push all files through sed echo "zip file" - mv $srcfile $dstfile - ;; - *) - rm -f $dstfile - cat "$srcfile" | sed 's/linux/freebsd/g; s/Linux/FreeBSD/g; s/x86_64/amd64/g' > "$dstfile" - ;; - esac -} - -copy_dir() -{ - srcdir="$1" - dstdir="$2" - - rm -rf "$dstdir" - cp -r "$srcdir" "$dstdir" || exit 1 - - if [ -d "$dstdir" ] - then - find "$dstdir" -name \*.so -delete - find "$dstdir" -name \*.so.\* -delete - find "$dstdir" -type f -print0 | \ - xargs -0 sed -i '.bak' 's/linux/freebsd/g; s/Linux/FreeBSD/g; s/x86_64/amd64/g' - find "$dstdir" -name \*.bak -delete - fi -} - -prepare_files() -{ - mkdir ${WRKSRC}/features/org.eclipse.equinox.executable/bin/gtk/freebsd - - # Copy the files and rename/change them appropriately - for src in $COPY_LIST - do - dst=`echo $src | sed 's/linux/freebsd/g; s/Linux/FreeBSD/g; s/x86_64/amd64/g'` - echo Copying $src into $dst - if [ -d ${WRKSRC}/$src ] - then - copy_dir ${WRKSRC}/$src ${WRKSRC}/$dst - else - copy_file ${WRKSRC}/$src ${WRKSRC}/$dst - fi - done - - # Files with spaces in their path... - src="${SWTGTK}/make_linux.mak" - dst=`echo $src | sed 's/linux/freebsd/g; s/Linux/FreeBSD/g; s/x86_64/amd64/g'` - echo Copying $src into $dst - copy_file "${WRKSRC}/$src" "${WRKSRC}/$dst" - - find ${WRKSRC} -name \*.so -delete - find ${WRKSRC} -name \*.so.\* -delete -} -#features/org.eclipse.platform.launchers/library/gtk/make_linux.mak -COPY_LIST=" -assemble.org.eclipse.sdk.linux.gtk.x86.xml -assemble.org.eclipse.sdk.linux.gtk.x86_64.xml -package.org.eclipse.sdk.linux.gtk.x86.xml -package.org.eclipse.sdk.linux.gtk.x86_64.xml -features/org.eclipse.platform/about_files/linux.gtk.x86 -features/org.eclipse.platform/about_files/linux.gtk.x86_64 -features/org.eclipse.equinox.executable/bin/gtk/linux -features/org.eclipse.equinox.executable/bin/gtk/linux/x86 -features/org.eclipse.equinox.executable/bin/gtk/linux/x86_64 -features/org.eclipse.equinox.executable/library/gtk/make_linux.mak -plugins/org.eclipse.core.filesystem/natives/unix/linux -plugins/org.eclipse.core.filesystem.linux.x86 -plugins/org.eclipse.core.filesystem.linux.x86_64 -plugins/org.eclipse.core.filesystem.linux.x86/os/linux -plugins/org.eclipse.core.filesystem.linux.x86_64/os/linux -plugins/org.eclipse.core.net.linux.x86 -plugins/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86 -plugins/org.eclipse.equinox.launcher.gtk.linux.x86 -plugins/org.eclipse.equinox.launcher.gtk.linux.x86/launcher.gtk.linux.x86.properties -plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64 -plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64/launcher.gtk.linux.x86_64.properties -plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.linux.x86 -plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.linux.x86/launcher.gtk.linux.x86.properties -plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.linux.x86_64 -plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.linux.x86_64/launcher.gtk.linux.x86_64.properties -plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_linux.properties -plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_linux_gtk.properties -plugins/org.eclipse.swt.gtk.linux.x86 -plugins/org.eclipse.swt.gtk.linux.x86 -plugins/org.eclipse.swt.gtk.linux.x86.source -plugins/org.eclipse.swt.gtk.linux.x86_64 -plugins/org.eclipse.swt.gtk.linux.x86_64.source -plugins/org.eclipse.update.core.linux -plugins/org.eclipse.update.core.linux/os/linux -plugins/org.eclipse.update.core.linux.source -" - -SWTGTK="plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" - -prepare_files -exit 0 |