summaryrefslogtreecommitdiff
path: root/java/eclipse
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse')
-rw-r--r--java/eclipse/Makefile106
-rw-r--r--java/eclipse/Makefile.plugins11
-rw-r--r--java/eclipse/distinfo78
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.project22
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.settings/org.eclipse.core.runtime.prefs2
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/META-INF/MANIFEST.MF9
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/about.html36
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/build.properties19
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/fragment.properties15
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/pom.xml28
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.project22
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.settings/org.eclipse.core.runtime.prefs2
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/META-INF/MANIFEST.MF9
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/about.html36
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/build.properties19
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/fragment.properties15
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/pom.xml28
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.project22
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.settings/org.eclipse.core.runtime.prefs2
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/META-INF/MANIFEST.MF9
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/about.html36
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/build.properties19
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/fragment.properties15
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/pom.xml28
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.project22
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.settings/org.eclipse.core.runtime.prefs2
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/BUILD_INFO.txt19
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/META-INF/MANIFEST.MF9
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/about.html36
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/build.properties19
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/fragment.properties15
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/pom.xml63
-rw-r--r--java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile42
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.classpath7
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.project28
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.jdt.core.prefs15
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.jdt.ui.prefs145
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/META-INF/MANIFEST.MF12
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/about.html36
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/build.properties20
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/forceQualifierUpdate.txt3
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/fragment.properties15
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/pom.xml29
-rw-r--r--java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/src/org/eclipse/core/net/ProxyProvider.java387
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/.project22
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/META-INF/MANIFEST.MF10
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/about.html36
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/build.properties25
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/launcher.gtk.freebsd.aarch64.properties15
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/.project22
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF10
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/about.html36
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/build.properties25
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/forceQualifierUpdate.txt2
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/launcher.gtk.freebsd.powerpc64.properties15
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/.project22
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF10
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/about.html36
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/build.properties25
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/forceQualifierUpdate.txt2
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/launcher.gtk.freebsd.powerpc64le.properties15
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.project22
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.settings/org.eclipse.pde.core.prefs4
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/META-INF/MANIFEST.MF10
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/about.html36
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/build.properties25
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/forceQualifierUpdate.txt3
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/launcher.gtk.freebsd.x86_64.properties15
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.classpath7
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.project34
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.core.runtime.prefs2
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.jdt.core.prefs118
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.jdt.ui.prefs109
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/META-INF/MANIFEST.MF13
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/about.html36
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/build.properties21
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/forceQualifierUpdate.txt4
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/fragment.properties17
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/fragment.xml18
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/pom.xml45
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GBusType.java21
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GError.java35
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GList.java42
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/LinuxPasswordProvider.java186
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/LinuxPasswordProviderMessages.java34
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretCollectionFlags.java19
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchema.java50
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaAttribute.java37
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaAttributeType.java20
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaFlags.java19
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretServiceFlags.java20
-rw-r--r--java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/messages.properties18
-rw-r--r--java/eclipse/files/patch-eclipse1490
-rw-r--r--java/eclipse/files/patch-eclipse-platform-parent52
-rw-r--r--java/eclipse/files/patch-eclipse.pde146
-rw-r--r--java/eclipse/files/patch-eclipse.platform.releng88
-rw-r--r--java/eclipse/files/patch-eclipse.platform.releng.tychoeclipsebuilder268
-rw-r--r--java/eclipse/files/patch-eclipse.platform.resources314
-rw-r--r--java/eclipse/files/patch-eclipse.platform.runtime24
-rw-r--r--java/eclipse/files/patch-eclipse.platform.swt357
-rw-r--r--java/eclipse/files/patch-eclipse.platform.swt.binaries327
-rw-r--r--java/eclipse/files/patch-eclipse.platform.team110
-rw-r--r--java/eclipse/files/patch-eclipse.platform.text12
-rw-r--r--java/eclipse/files/patch-eclipse.platform.ua65
-rw-r--r--java/eclipse/files/patch-eclipse.platform.ui233
-rw-r--r--java/eclipse/files/patch-rt.equinox.bundles108
-rw-r--r--java/eclipse/files/patch-rt.equinox.framework531
-rw-r--r--java/eclipse/files/patch-rt.equinox.p258
-rw-r--r--java/eclipse/pkg-descr4
-rw-r--r--java/eclipse/scripts/pre-build25
-rw-r--r--java/eclipse/scripts/pre-patch53
116 files changed, 4278 insertions, 2877 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile
index 2f314aaf89ab..1538f601ef03 100644
--- a/java/eclipse/Makefile
+++ b/java/eclipse/Makefile
@@ -1,33 +1,29 @@
PORTNAME= eclipse
-PORTVERSION= 4.24
-PORTREVISION= 2
+DISTVERSION= 4.32
CATEGORIES= java devel
-
-# Tag's Timestamp on eclipse-platform/eclipse.platform.releng.aggregator github.com
-ECLIPSE_TAG= R4_24
-ECLIPSE_TSTAMP= 20220616-0004
+ECLIPSE_TAG= R${DISTVERSION:S|.|_|g}
DIST_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Eclipse IDE 2022-06
+MAINTAINER= ngrundmann@gmx.de
+COMMENT= Eclipse IDE
WWW= https://www.eclipse.org/
LICENSE= EPL
ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le
-BUILD_DEPENDS= git:devel/git@lite \
- maven>0:devel/maven \
+BUILD_DEPENDS= git:devel/git \
+ mvn:devel/maven39 \
zip:archivers/zip
+
LIB_DEPENDS= libsecret-1.so:security/libsecret \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
-PORTSCOUT= ignore:1
-
-USES= compiler:c++11-lang gmake pkgconfig gnome
-USE_GNOME= gtk30
+USES= compiler:c++17-lang gmake pkgconfig gnome
+# The github repositories. The repository under NorbertXYZ is for a predefined maven
+# download, so the build does not need to download while do-build is running
USE_GITHUB= yes
GH_TUPLE= eclipse-platform:eclipse.platform.releng.aggregator:${ECLIPSE_TAG} \
eclipse-jdt:eclipse.jdt:${ECLIPSE_TAG}:a/eclipse.jdt \
@@ -37,57 +33,69 @@ GH_TUPLE= eclipse-platform:eclipse.platform.releng.aggregator:${ECLIPSE_TAG} \
eclipse-jdt:eclipse.jdt.ui:${ECLIPSE_TAG}:e/eclipse.jdt.ui \
eclipse-pde:eclipse.pde:${ECLIPSE_TAG}:f/eclipse.pde \
eclipse-platform:eclipse.platform:${ECLIPSE_TAG}:g/eclipse.platform \
- eclipse-platform:eclipse.platform.common:${ECLIPSE_TAG}:h/eclipse.platform.common \
- eclipse-platform:eclipse.platform.debug:${ECLIPSE_TAG}:i/eclipse.platform.debug \
- eclipse-platform:eclipse.platform.releng:${ECLIPSE_TAG}:j/eclipse.platform.releng \
- eclipse-platform:eclipse.platform.resources:${ECLIPSE_TAG}:k/eclipse.platform.resources \
- eclipse-platform:eclipse.platform.runtime:fd42b6e331:l/eclipse.platform.runtime \
- eclipse-platform:eclipse.platform.swt:${ECLIPSE_TAG}:m/eclipse.platform.swt \
- eclipse-platform:eclipse.platform.swt.binaries:${ECLIPSE_TAG}:n/eclipse.platform.swt.binaries \
- eclipse-platform:eclipse.platform.team:${ECLIPSE_TAG}:o/eclipse.platform.team \
- eclipse-platform:eclipse.platform.text:${ECLIPSE_TAG}:p/eclipse.platform.text \
- eclipse-platform:eclipse.platform.ua:${ECLIPSE_TAG}:q/eclipse.platform.ua \
- eclipse-platform:eclipse.platform.ui:${ECLIPSE_TAG}:r/eclipse.platform.ui \
- eclipse-platform:eclipse.platform.ui.tools:${ECLIPSE_TAG}:s/eclipse.platform.ui.tools \
- eclipse-equinox:equinox.binaries:${ECLIPSE_TAG}:t/rt.equinox.binaries \
- eclipse-equinox:equinox.bundles:${ECLIPSE_TAG}:u/rt.equinox.bundles \
- eclipse-equinox:equinox.framework:${ECLIPSE_TAG}:v/rt.equinox.framework \
- eclipse-equinox:p2:${ECLIPSE_TAG}:w/rt.equinox.p2 \
- daemonblade:eclipse-maven-repo:${PORTVERSION}:x
-
-USE_JAVA= 11+
-
-DESKTOP_ENTRIES="Eclipse" \
- "${COMMENT}" \
- "${PORTNAME}" \
- "${PORTNAME}" \
- "Development;IDE;Java;" \
- "false"
-
+ eclipse-platform:eclipse.platform.runtime:fd42b6e331:h/eclipse.platform.runtime \
+ eclipse-platform:eclipse.platform.swt:${ECLIPSE_TAG}:i/eclipse.platform.swt \
+ eclipse-platform:eclipse.platform.ui:${ECLIPSE_TAG}:j/eclipse.platform.ui \
+ eclipse-equinox:equinox:${ECLIPSE_TAG}:k/equinox \
+ eclipse-equinox:equinox.binaries:${ECLIPSE_TAG}:l/rt.equinox.binaries \
+ eclipse-equinox:p2:${ECLIPSE_TAG}:m/rt.equinox.p2 \
+ NorbertXYZ:eclipse-maven:${DISTVERSION}:n
+USE_GNOME= gtk30
+USE_JAVA= 17+
+
+DESKTOP_ENTRIES= "Eclipse" \
+ "${COMMENT}" \
+ "${PORTNAME}" \
+ "${PORTNAME}" \
+ "Development;IDE;Java;" \
+ "false"
+PORTSCOUT= ignore:1
SUB_FILES= ${PORTNAME}
-MAVEN_ENV= MAVEN_OPTS=-Xmx1024m CC=${CC} CFLAGS="${CFLAGS}" JAVA_HOME=${JAVA_HOME} HOME=${WRKDIR}/githome
-MAVEN_ECLIPSE= -Dmaven.repo.local=${WRKDIR}/eclipse-maven-repo-${PORTVERSION} \
- -Dnative=gtk.freebsd.${ARCH} \
- -DforceContextQualifier=v${ECLIPSE_TSTAMP}
+.include <bsd.port.pre.mk>
-ECLIPSE_RESULT= eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/target/products/org.eclipse.sdk.ide-freebsd.gtk.${ARCH}.tar.gz
+MAVEN_ENV= MAVEN_OPTS=-Xmx2048m CC=${CC} CFLAGS="${CFLAGS}" JAVA_HOME=${JAVA_HOME}
-.include <bsd.port.pre.mk>
+# To make the build working, set the (maven) architecture to x86_64 instead of amd64
+# Finally there are problems with amd64
+MAVEN_ARCH= ${ARCH:S|amd64|x86_64|}
+
+MAVEN_PARAMS= --offline \
+ -Dmaven.repo.local=${WRKDIR}/eclipse-maven-${DISTVERSION} \
+ -Dnative=gtk.freebsd.${MAVEN_ARCH} \
+ -DskipTests clean verify
+
+ECLIPSE_RESULT= eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/target/products/org.eclipse.sdk.ide-freebsd.gtk.${MAVEN_ARCH}.tar.gz
.if ${COMPILER_TYPE} == clang
CFLAGS+= -Wno-deprecated-non-prototype
.endif
+# Directories needed, but cannot be stored in git, because they are empty
+EMPTY_DIRS= eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.%%ARCH%%/os/freebsd/%%ARCH%% \
+ eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.%%ARCH%%/target \
+ eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/target \
+ rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/%%ARCH%% \
+ rt.equinox.binaries/org.eclipse.equinox.launcher.gtk.freebsd.%%ARCH%%
+
+pre-patch:
+ ${CP} -R ${FILESDIR}/addons/ ${WRKSRC}
+.for DIR in ${EMPTY_DIRS}
+. for _ARCH in aarch64 powerpc64 powerpc64le x86_64
+ ${MKDIR} ${WRKSRC}/${DIR:S|%%ARCH%%|${_ARCH}|g}
+ ${TOUCH} ${WRKSRC}/${DIR:S|%%ARCH%%|${_ARCH}|g}/.empty
+. endfor
+.endfor
+
do-build:
- cd ${WRKSRC} && ${SETENV} ${MAVEN_ENV} mvn --offline ${MAVEN_ECLIPSE} -DskipTests clean verify
+ cd ${WRKSRC} && ${SETENV} ${MAVEN_ENV} mvn ${MAVEN_PARAMS}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${TAR} -x --directory ${STAGEDIR}${DATADIR}/.. --file ${WRKSRC}/${ECLIPSE_RESULT}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-# generate dynamic plist, to cater for different ARCHS
+# Generate dynamic plist, to cater for different ARCHS
post-install:
cd ${STAGEDIR}${PREFIX} && ${FIND} -s bin/${PORTNAME} share/${PORTNAME} -not -type d >> ${TMPPLIST}
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds share/${PORTNAME} -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
diff --git a/java/eclipse/Makefile.plugins b/java/eclipse/Makefile.plugins
deleted file mode 100644
index dd4de181d4c4..000000000000
--- a/java/eclipse/Makefile.plugins
+++ /dev/null
@@ -1,11 +0,0 @@
-NO_BUILD= yes
-USE_JAVA= yes
-JAVA_VERSION= 8+
-
-REPO_DIRS?= features plugins
-
-do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/eclipse/dropins/${PORTNAME}/eclipse
- @(cd ${WRKSRC}; ${COPYTREE_SHARE} "${REPO_DIRS}" ${STAGEDIR}${PREFIX}/share/eclipse/dropins/${PORTNAME}/eclipse/)
- @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s share/eclipse/dropins/${PORTNAME} -not -type d) >> ${TMPPLIST}
- @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d share/eclipse/dropins/${PORTNAME} -type d -empty) | ${SED} -ne 's,^,@dir ,p' >> ${TMPPLIST}
diff --git a/java/eclipse/distinfo b/java/eclipse/distinfo
index 2698f806125c..9409c23b9cb7 100644
--- a/java/eclipse/distinfo
+++ b/java/eclipse/distinfo
@@ -1,51 +1,31 @@
-TIMESTAMP = 1656038535
-SHA256 (eclipse/eclipse-platform-eclipse.platform.releng.aggregator-4.24-R4_24_GH0.tar.gz) = 8adf38e43f12548a905bc04ca4991e144dcefc074b8484019f982e8473258b02
-SIZE (eclipse/eclipse-platform-eclipse.platform.releng.aggregator-4.24-R4_24_GH0.tar.gz) = 689841
-SHA256 (eclipse/eclipse-jdt-eclipse.jdt-R4_24_GH0.tar.gz) = a39673bfde615e257d7e038ef66800dd5946f042b18ddf44abcaf37010daa57a
-SIZE (eclipse/eclipse-jdt-eclipse.jdt-R4_24_GH0.tar.gz) = 39265
-SHA256 (eclipse/eclipse-jdt-eclipse.jdt.core-R4_24_GH0.tar.gz) = 65ca38c7c9ec833c8a0a09147a3a64a7741323222607d6048d5c6397e7359f5f
-SIZE (eclipse/eclipse-jdt-eclipse.jdt.core-R4_24_GH0.tar.gz) = 13427635
-SHA256 (eclipse/eclipse-jdt-eclipse.jdt.core.binaries-R4_24_GH0.tar.gz) = 948200cfc5578c317611c3633d90aefbe129488e4ea3a64c256e364e290e31e8
-SIZE (eclipse/eclipse-jdt-eclipse.jdt.core.binaries-R4_24_GH0.tar.gz) = 34886516
-SHA256 (eclipse/eclipse-jdt-eclipse.jdt.debug-R4_24_GH0.tar.gz) = 952c6e6cbe4bc8e940852b1cf4096a737bea638ab61d769e6483f12c06a1fef4
-SIZE (eclipse/eclipse-jdt-eclipse.jdt.debug-R4_24_GH0.tar.gz) = 2109736
-SHA256 (eclipse/eclipse-jdt-eclipse.jdt.ui-R4_24_GH0.tar.gz) = 2fa4f4f503525dad5d2cee0963059852681d037a7de32234562e02d20c86df27
-SIZE (eclipse/eclipse-jdt-eclipse.jdt.ui-R4_24_GH0.tar.gz) = 21833971
-SHA256 (eclipse/eclipse-pde-eclipse.pde-R4_24_GH0.tar.gz) = 74445fbdd607d7338c8027d7dd0907842fb19f9d4eda50308578651ca39e1231
-SIZE (eclipse/eclipse-pde-eclipse.pde-R4_24_GH0.tar.gz) = 29186052
-SHA256 (eclipse/eclipse-platform-eclipse.platform-R4_24_GH0.tar.gz) = e6c8508ca0c96c140625f6704be09a91c165cc26f6d80a3f24c98e06232e62f3
-SIZE (eclipse/eclipse-platform-eclipse.platform-R4_24_GH0.tar.gz) = 3059267
-SHA256 (eclipse/eclipse-platform-eclipse.platform.common-R4_24_GH0.tar.gz) = 68edec94a3a7e82cf6aec782b30e421366618c30299e0ef33c439374b5536f9a
-SIZE (eclipse/eclipse-platform-eclipse.platform.common-R4_24_GH0.tar.gz) = 29779908
-SHA256 (eclipse/eclipse-platform-eclipse.platform.debug-R4_24_GH0.tar.gz) = 2d2fbf81bbcfa2a6362bb8307309dff8fbb9f189acc0258bec5043213e54572d
-SIZE (eclipse/eclipse-platform-eclipse.platform.debug-R4_24_GH0.tar.gz) = 2295169
-SHA256 (eclipse/eclipse-platform-eclipse.platform.releng-R4_24_GH0.tar.gz) = c86ca6261ebcdeefef503b67aebac0b876677ebdbfc4b74d09c761fb11b1d44e
-SIZE (eclipse/eclipse-platform-eclipse.platform.releng-R4_24_GH0.tar.gz) = 205802
-SHA256 (eclipse/eclipse-platform-eclipse.platform.resources-R4_24_GH0.tar.gz) = 4e0d952381137163b2e434eac903042f19b590d1ab8774902cf7ffef042a1bd5
-SIZE (eclipse/eclipse-platform-eclipse.platform.resources-R4_24_GH0.tar.gz) = 1278451
+TIMESTAMP = 1724914687
+SHA256 (eclipse/eclipse-platform-eclipse.platform.releng.aggregator-4.32-R4_32_GH0.tar.gz) = c00f2fe914a657d4d76f884df9acef9c3ce6325de00919f0cba07c2f8a6064b7
+SIZE (eclipse/eclipse-platform-eclipse.platform.releng.aggregator-4.32-R4_32_GH0.tar.gz) = 24287066
+SHA256 (eclipse/eclipse-jdt-eclipse.jdt-R4_32_GH0.tar.gz) = e25d95791922b18e68cb25c28b29d173ac37c8a165f930f2ebca5ed2ea338ea6
+SIZE (eclipse/eclipse-jdt-eclipse.jdt-R4_32_GH0.tar.gz) = 39587
+SHA256 (eclipse/eclipse-jdt-eclipse.jdt.core-R4_32_GH0.tar.gz) = 6f5edeee5cef41f39f853e8612664ff8763594f495d7dfa82ccd1cff5042c869
+SIZE (eclipse/eclipse-jdt-eclipse.jdt.core-R4_32_GH0.tar.gz) = 14068032
+SHA256 (eclipse/eclipse-jdt-eclipse.jdt.core.binaries-R4_32_GH0.tar.gz) = 9f5c0e2fb690d6f5df46018bd13aa3b79c01744854fda3d6a70cd306d748f775
+SIZE (eclipse/eclipse-jdt-eclipse.jdt.core.binaries-R4_32_GH0.tar.gz) = 34885476
+SHA256 (eclipse/eclipse-jdt-eclipse.jdt.debug-R4_32_GH0.tar.gz) = c1b3ac3624852492637b30bbbe751acc1f3df9a17c585b8e1b9c6ad25c4cde58
+SIZE (eclipse/eclipse-jdt-eclipse.jdt.debug-R4_32_GH0.tar.gz) = 2142808
+SHA256 (eclipse/eclipse-jdt-eclipse.jdt.ui-R4_32_GH0.tar.gz) = fb625caac9dad82d3e23b871b21147248dab052129b238380fa91b55796069fb
+SIZE (eclipse/eclipse-jdt-eclipse.jdt.ui-R4_32_GH0.tar.gz) = 21908664
+SHA256 (eclipse/eclipse-pde-eclipse.pde-R4_32_GH0.tar.gz) = 5b7e12584782988334adfb6a0a3ea1c3723e452c1c9cb7b683d4302b349b6e4e
+SIZE (eclipse/eclipse-pde-eclipse.pde-R4_32_GH0.tar.gz) = 34790432
+SHA256 (eclipse/eclipse-platform-eclipse.platform-R4_32_GH0.tar.gz) = 4e012785e1df9379665ae660d345cefda9837959758d539d6a5d4c1a330b08b1
+SIZE (eclipse/eclipse-platform-eclipse.platform-R4_32_GH0.tar.gz) = 17130373
SHA256 (eclipse/eclipse-platform-eclipse.platform.runtime-fd42b6e331_GH0.tar.gz) = b93e7aefe4c0a588decf8dd840104fb3d54fdfef106e6d4af2c5950e9a3f94b7
SIZE (eclipse/eclipse-platform-eclipse.platform.runtime-fd42b6e331_GH0.tar.gz) = 692044
-SHA256 (eclipse/eclipse-platform-eclipse.platform.swt-R4_24_GH0.tar.gz) = 00ee208888bea89031c592ae070b3911194893e60f46eb89b87373ad65039f10
-SIZE (eclipse/eclipse-platform-eclipse.platform.swt-R4_24_GH0.tar.gz) = 8904984
-SHA256 (eclipse/eclipse-platform-eclipse.platform.swt.binaries-R4_24_GH0.tar.gz) = 4dc1ac798f44081a2db76652147cb9e348db55af8fb0022efc8f1dd8fc4776be
-SIZE (eclipse/eclipse-platform-eclipse.platform.swt.binaries-R4_24_GH0.tar.gz) = 1809506
-SHA256 (eclipse/eclipse-platform-eclipse.platform.team-R4_24_GH0.tar.gz) = f61f18527ee7baad5d9122c424ab6f146fae9f5ec81db127116230ac5156905a
-SIZE (eclipse/eclipse-platform-eclipse.platform.team-R4_24_GH0.tar.gz) = 1738853
-SHA256 (eclipse/eclipse-platform-eclipse.platform.text-R4_24_GH0.tar.gz) = c4ee6f5f54229f88a54c2b564038b49760f92f4d12ebbef8daf0d601046dcec2
-SIZE (eclipse/eclipse-platform-eclipse.platform.text-R4_24_GH0.tar.gz) = 2052540
-SHA256 (eclipse/eclipse-platform-eclipse.platform.ua-R4_24_GH0.tar.gz) = 7450f5e85cd0b525c0f3ad62aeecf36a5e6c8591f9a3d4d786aa2d41b9f7350e
-SIZE (eclipse/eclipse-platform-eclipse.platform.ua-R4_24_GH0.tar.gz) = 5646278
-SHA256 (eclipse/eclipse-platform-eclipse.platform.ui-R4_24_GH0.tar.gz) = d44eedcbe7fc97b3a3cae711257f6f7672618deed3a3e90e8ca229985409d614
-SIZE (eclipse/eclipse-platform-eclipse.platform.ui-R4_24_GH0.tar.gz) = 8917607
-SHA256 (eclipse/eclipse-platform-eclipse.platform.ui.tools-R4_24_GH0.tar.gz) = 64db26e499af59326c1ba51a3a3bc7f25788aadd4ce772ba2e040b56a8a9c8f6
-SIZE (eclipse/eclipse-platform-eclipse.platform.ui.tools-R4_24_GH0.tar.gz) = 502460
-SHA256 (eclipse/eclipse-equinox-equinox.binaries-R4_24_GH0.tar.gz) = 68f7629da546627397279f587523aed11f77def055735616dd9a512feba3a82b
-SIZE (eclipse/eclipse-equinox-equinox.binaries-R4_24_GH0.tar.gz) = 894583
-SHA256 (eclipse/eclipse-equinox-equinox.bundles-R4_24_GH0.tar.gz) = befe93800fcd86aba752d829bfb826db5a09f92f5ef29afedff79134174ff39e
-SIZE (eclipse/eclipse-equinox-equinox.bundles-R4_24_GH0.tar.gz) = 1646631
-SHA256 (eclipse/eclipse-equinox-equinox.framework-R4_24_GH0.tar.gz) = 98ecb20567c10cb21b90cc0b47ff1fb768d6d3da4e0a11930af60de29fdc9f45
-SIZE (eclipse/eclipse-equinox-equinox.framework-R4_24_GH0.tar.gz) = 1937236
-SHA256 (eclipse/eclipse-equinox-p2-R4_24_GH0.tar.gz) = 9730ef8f4807b0fd82e9115f56f30dba0aaf46f0e4b4df98f1406c30ca794f2b
-SIZE (eclipse/eclipse-equinox-p2-R4_24_GH0.tar.gz) = 54122344
-SHA256 (eclipse/daemonblade-eclipse-maven-repo-4.24_GH0.tar.gz) = 0949c61359f48aacc0a6c7c03b94cf94ebd0f73726144e616cfe59630d2a3d57
-SIZE (eclipse/daemonblade-eclipse-maven-repo-4.24_GH0.tar.gz) = 441108883
+SHA256 (eclipse/eclipse-platform-eclipse.platform.swt-R4_32_GH0.tar.gz) = 5d8d63679e2b3d96c996d001edfc9f1f8fc15e3296148bc4fb40e6687ce4cdba
+SIZE (eclipse/eclipse-platform-eclipse.platform.swt-R4_32_GH0.tar.gz) = 9139469
+SHA256 (eclipse/eclipse-platform-eclipse.platform.ui-R4_32_GH0.tar.gz) = 7554c70acb5ce62104be1447922a80099fa23dcbda694e0588b33d1b0b84a24a
+SIZE (eclipse/eclipse-platform-eclipse.platform.ui-R4_32_GH0.tar.gz) = 15388992
+SHA256 (eclipse/eclipse-equinox-equinox-R4_32_GH0.tar.gz) = 30604b178afab6bc1bed72fd1b28016ce17246efbf46bf072f981a71129d159b
+SIZE (eclipse/eclipse-equinox-equinox-R4_32_GH0.tar.gz) = 3562574
+SHA256 (eclipse/eclipse-equinox-equinox.binaries-R4_32_GH0.tar.gz) = 68fb0baf3cc62b900cff00327c970e83753c12626a33e703120a7035b35abc8c
+SIZE (eclipse/eclipse-equinox-equinox.binaries-R4_32_GH0.tar.gz) = 1319746
+SHA256 (eclipse/eclipse-equinox-p2-R4_32_GH0.tar.gz) = 57e537824c10f0d6a95a35ff81ab7e75a349d3b00ee641f1f2cd4373d673af0b
+SIZE (eclipse/eclipse-equinox-p2-R4_32_GH0.tar.gz) = 54404329
+SHA256 (eclipse/NorbertXYZ-eclipse-maven-4.32_GH0.tar.gz) = db8b20b45b7e0f208514940e4ca6cf555b6ce48ab98f9a48052b546c831d0953
+SIZE (eclipse/NorbertXYZ-eclipse-maven-4.32_GH0.tar.gz) = 855731569
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.project b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.project
new file mode 100644
index 000000000000..5fbecb1e0d91
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.project
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.core.filesystem.freebsd.aarch64</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>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.settings/org.eclipse.core.resources.prefs b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 000000000000..99f26c0203a7
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.settings/org.eclipse.core.runtime.prefs b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 000000000000..5a0ad22d2a76
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/META-INF/MANIFEST.MF b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/META-INF/MANIFEST.MF
new file mode 100644
index 000000000000..93e4bdfa1c15
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/META-INF/MANIFEST.MF
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %fragmentName
+Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.aarch64;singleton:=true
+Bundle-Version: 1.4.200.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=aarch64))
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/about.html b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/about.html
new file mode 100644
index 000000000000..8eee37d47051
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/about.html
@@ -0,0 +1,36 @@
+<!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>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ (&quot;Content&quot;). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/build.properties b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/build.properties
new file mode 100644
index 000000000000..ef62db2e802a
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/build.properties
@@ -0,0 +1,19 @@
+###############################################################################
+# Copyright (c) 2014 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+bin.includes = META-INF/,\
+ about.html,\
+ os/,\
+ fragment.properties
+src.includes = about.html
+generateSourceBundle=false
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/fragment.properties b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/fragment.properties
new file mode 100644
index 000000000000..bd28b5c9cd29
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/fragment.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2014 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+fragmentName = Core File System for Linux Aarch64 bit
+providerName = Eclipse.org
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/pom.xml b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/pom.xml
new file mode 100644
index 000000000000..5ba329c063a5
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/pom.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2014, 2015 IBM Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Distribution License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ IBM Corporation - initial implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.eclipse.platform</groupId>
+ <artifactId>eclipse.platform.resources</artifactId>
+ <version>4.32.0-SNAPSHOT</version>
+ <relativePath>../../</relativePath>
+ </parent>
+ <artifactId>org.eclipse.core.filesystem.freebsd.aarch64</artifactId>
+ <version>1.4.200-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <properties>
+ <skipAPIAnalysis>true</skipAPIAnalysis>
+ </properties>
+
+</project>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.project b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.project
new file mode 100644
index 000000000000..704cd8efd547
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.project
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.core.filesystem.freebsd.powerpc64</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>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.settings/org.eclipse.core.resources.prefs b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 000000000000..99f26c0203a7
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.settings/org.eclipse.core.runtime.prefs b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 000000000000..5a0ad22d2a76
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/META-INF/MANIFEST.MF b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/META-INF/MANIFEST.MF
new file mode 100644
index 000000000000..0badc417816f
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/META-INF/MANIFEST.MF
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %fragmentName
+Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.powerpc64;singleton:=true
+Bundle-Version: 1.4.200.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=powerpc64))
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/about.html b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/about.html
new file mode 100644
index 000000000000..8eee37d47051
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/about.html
@@ -0,0 +1,36 @@
+<!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>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ (&quot;Content&quot;). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/build.properties b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/build.properties
new file mode 100644
index 000000000000..ef62db2e802a
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/build.properties
@@ -0,0 +1,19 @@
+###############################################################################
+# Copyright (c) 2014 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+bin.includes = META-INF/,\
+ about.html,\
+ os/,\
+ fragment.properties
+src.includes = about.html
+generateSourceBundle=false
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/fragment.properties b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/fragment.properties
new file mode 100644
index 000000000000..cef8e03e7eea
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/fragment.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2014 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+fragmentName = Core File System for Linux PPC 64 LE bit
+providerName = Eclipse.org
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/pom.xml b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/pom.xml
new file mode 100644
index 000000000000..7db5dbecb984
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/pom.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2014, 2015 IBM Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Distribution License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ IBM Corporation - initial implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.eclipse.platform</groupId>
+ <artifactId>eclipse.platform.resources</artifactId>
+ <version>4.32.0-SNAPSHOT</version>
+ <relativePath>../../</relativePath>
+ </parent>
+ <artifactId>org.eclipse.core.filesystem.freebsd.powerpc64</artifactId>
+ <version>1.4.200-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <properties>
+ <skipAPIAnalysis>true</skipAPIAnalysis>
+ </properties>
+
+</project>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.project b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.project
new file mode 100644
index 000000000000..0e067474b8ed
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.project
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.core.filesystem.freebsd.powerpc64le</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>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.settings/org.eclipse.core.resources.prefs b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 000000000000..99f26c0203a7
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.settings/org.eclipse.core.runtime.prefs b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 000000000000..5a0ad22d2a76
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/META-INF/MANIFEST.MF b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/META-INF/MANIFEST.MF
new file mode 100644
index 000000000000..df54ea4e3915
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/META-INF/MANIFEST.MF
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %fragmentName
+Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.powerpc64le;singleton:=true
+Bundle-Version: 1.4.200.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=powerpc64le))
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/about.html b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/about.html
new file mode 100644
index 000000000000..8eee37d47051
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/about.html
@@ -0,0 +1,36 @@
+<!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>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ (&quot;Content&quot;). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/build.properties b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/build.properties
new file mode 100644
index 000000000000..ef62db2e802a
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/build.properties
@@ -0,0 +1,19 @@
+###############################################################################
+# Copyright (c) 2014 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+bin.includes = META-INF/,\
+ about.html,\
+ os/,\
+ fragment.properties
+src.includes = about.html
+generateSourceBundle=false
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/fragment.properties b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/fragment.properties
new file mode 100644
index 000000000000..cef8e03e7eea
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/fragment.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2014 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+fragmentName = Core File System for Linux PPC 64 LE bit
+providerName = Eclipse.org
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/pom.xml b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/pom.xml
new file mode 100644
index 000000000000..e6345f6a1ff3
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/pom.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2014, 2015 IBM Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Distribution License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ IBM Corporation - initial implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.eclipse.platform</groupId>
+ <artifactId>eclipse.platform.resources</artifactId>
+ <version>4.32.0-SNAPSHOT</version>
+ <relativePath>../../</relativePath>
+ </parent>
+ <artifactId>org.eclipse.core.filesystem.freebsd.powerpc64le</artifactId>
+ <version>1.4.200-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <properties>
+ <skipAPIAnalysis>true</skipAPIAnalysis>
+ </properties>
+
+</project>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.project b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.project
new file mode 100644
index 000000000000..474fadd7b961
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.project
@@ -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>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.settings/org.eclipse.core.resources.prefs b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 000000000000..99f26c0203a7
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.settings/org.eclipse.core.runtime.prefs b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 000000000000..5a0ad22d2a76
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/BUILD_INFO.txt b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/BUILD_INFO.txt
new file mode 100644
index 000000000000..c3e115e155f7
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/BUILD_INFO.txt
@@ -0,0 +1,19 @@
+Native Build Info:
+------------------
+
+platform: x86_64-redhat-linux
+built by: pawel.pogorzelski@pl.ibm.com
+build date: 21-Jan-2010
+OS Name: Red Hat Enterprise Linux Client release 4
+OS Version: Linux 2.6.9-67.EL x86_64 (glibc-2.3.4-2.39)
+Compiler version: gcc version 3.4.6-9
+
+build script:
+-------------
+#!/bin/sh
+rpm -q glibc
+#ensure system gcc
+export PATH=/usr/bin:$PATH
+cd org.eclipse.core.filesystem/natives/unix/linux
+make JAVA_HOME=$HOME/jdk1.5.0_11_x86-64
+cp liblocalfile_1_0_0.so ../../../../org.eclipse.core.filesystem.linux.x86_64/os/linux/x86_64/
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/META-INF/MANIFEST.MF b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/META-INF/MANIFEST.MF
new file mode 100644
index 000000000000..e3c439825430
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/META-INF/MANIFEST.MF
@@ -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.2.400.qualifier
+Bundle-Vendor: %providerName
+Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.7.200,2.0.0)"
+Bundle-Localization: fragment
+Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=x86_64))
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/about.html b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/about.html
new file mode 100644
index 000000000000..8eee37d47051
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/about.html
@@ -0,0 +1,36 @@
+<!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>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ (&quot;Content&quot;). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/build.properties b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/build.properties
new file mode 100644
index 000000000000..b2dcf76ec850
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/build.properties
@@ -0,0 +1,19 @@
+###############################################################################
+# Copyright (c) 2005, 2007 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+bin.includes = META-INF/,\
+ about.html,\
+ os/,\
+ fragment.properties
+src.includes = about.html
+generateSourceBundle=false
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/fragment.properties b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/fragment.properties
new file mode 100644
index 000000000000..eb50c047e53b
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/fragment.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2005 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+fragmentName = Core File System for Linux
+providerName = Eclipse.org
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/pom.xml b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/pom.xml
new file mode 100644
index 000000000000..9cef0079517f
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem.freebsd.x86_64/pom.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2012, 2015 Eclipse Foundation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Distribution License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ Igor Fedorenko - initial implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>eclipse.platform.resources</artifactId>
+ <groupId>org.eclipse.platform</groupId>
+ <version>4.32.0-SNAPSHOT</version>
+ <relativePath>../../</relativePath>
+ </parent>
+ <artifactId>org.eclipse.core.filesystem.freebsd.x86_64</artifactId>
+ <version>1.2.400-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <profiles>
+ <profile>
+ <id>build-natives</id>
+ <activation>
+ <property>
+ <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
+ <name>native</name>
+ <value>gtk.freebsd.x86_64</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>natives</id>
+ <phase>process-resources</phase>
+ <configuration>
+ <target>
+ <exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/freebsd/"/>
+ <mkdir dir="os/freebsd/x86_64/"/>
+ <copy todir="os/freebsd/x86_64/">
+ <fileset dir="../org.eclipse.core.filesystem/natives/unix/freebsd/">
+ <include name="libunixfile_*.so"/>
+ </fileset>
+ </copy>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
diff --git a/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile
new file mode 100644
index 000000000000..8e48a555f935
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/resources/bundles/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile
@@ -0,0 +1,42 @@
+#******************************************************************************
+# Copyright (c) 2010 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+#******************************************************************************/
+#
+# makefile for libunixfile_1_0_0.so
+
+CORE.C = ../unixfile.c
+CORE.O = unixfile.o
+LIB_NAME = libunixfile.so
+LIB_NAME_FULL = libunixfile_1_0_0.so
+
+#Set this to be your OS type
+OS_TYPE = freebsd
+
+#Set this to be the location of your JRE
+ifeq (${JAVA_HOME},)
+ JAVA_HOME = /usr/lib/jvm/java-1.5.0-ibm-1.5.0.9/
+endif
+
+JDK_INCLUDE = -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_TYPE}
+OPT_FLAGS=-O2 -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
+core:
+ ${CC} $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) -o $(CORE.O) $(CORE.C)
+ ${CC} $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
+
+clean:
+ rm -f $(CORE.O) $(LIB_NAME_FULL)
+#
+#install: core
+# rm -f ../../../../org.eclipse.core.filesystem.linux.x86/os/linux/x86/libunixfile_1_0_0.so
+# mv libunixfile_1_0_0.so ../../../../org.eclipse.core.filesystem.linux.x86/os/linux/x86/
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.classpath b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.classpath
new file mode 100644
index 000000000000..81fe078c20c0
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.classpath
@@ -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/JavaSE-17"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.project b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.project
new file mode 100644
index 000000000000..2784a1704b04
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.core.net.freebsd</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>
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.core.resources.prefs b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 000000000000..99f26c0203a7
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.jdt.core.prefs b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000000..9478cb165373
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,15 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=17
+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=error
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
+org.eclipse.jdt.core.compiler.release=enabled
+org.eclipse.jdt.core.compiler.source=17
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.jdt.ui.prefs b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 000000000000..a92fd5fc4501
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,145 @@
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+sp_cleanup.add_all=false
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_missing_override_annotations_interface_methods=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.also_simplify_lambda=true
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.array_with_curly=false
+sp_cleanup.arrays_fill=false
+sp_cleanup.bitwise_conditional_expression=false
+sp_cleanup.boolean_literal=false
+sp_cleanup.boolean_value_rather_than_comparison=true
+sp_cleanup.break_loop=false
+sp_cleanup.collection_cloning=false
+sp_cleanup.comparing_on_criteria=false
+sp_cleanup.comparison_statement=false
+sp_cleanup.controlflow_merge=false
+sp_cleanup.convert_functional_interfaces=true
+sp_cleanup.convert_to_enhanced_for_loop=true
+sp_cleanup.convert_to_enhanced_for_loop_if_loop_var_used=true
+sp_cleanup.convert_to_switch_expressions=false
+sp_cleanup.correct_indentation=false
+sp_cleanup.do_while_rather_than_while=false
+sp_cleanup.double_negation=false
+sp_cleanup.else_if=false
+sp_cleanup.embedded_if=false
+sp_cleanup.evaluate_nullable=false
+sp_cleanup.extract_increment=false
+sp_cleanup.format_source_code=true
+sp_cleanup.format_source_code_changes_only=true
+sp_cleanup.hash=false
+sp_cleanup.if_condition=false
+sp_cleanup.insert_inferred_type_arguments=false
+sp_cleanup.instanceof=false
+sp_cleanup.instanceof_keyword=false
+sp_cleanup.invert_equals=false
+sp_cleanup.join=false
+sp_cleanup.lazy_logical_operator=false
+sp_cleanup.make_local_variable_final=true
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=false
+sp_cleanup.map_cloning=false
+sp_cleanup.merge_conditional_blocks=false
+sp_cleanup.multi_catch=false
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.no_string_creation=false
+sp_cleanup.no_super=false
+sp_cleanup.number_suffix=false
+sp_cleanup.objects_equals=false
+sp_cleanup.on_save_use_additional_actions=true
+sp_cleanup.one_if_rather_than_duplicate_blocks_that_fall_through=false
+sp_cleanup.operand_factorization=false
+sp_cleanup.organize_imports=true
+sp_cleanup.overridden_assignment=false
+sp_cleanup.overridden_assignment_move_decl=true
+sp_cleanup.plain_replacement=false
+sp_cleanup.precompile_regex=false
+sp_cleanup.primitive_comparison=false
+sp_cleanup.primitive_parsing=false
+sp_cleanup.primitive_rather_than_wrapper=true
+sp_cleanup.primitive_serialization=false
+sp_cleanup.pull_out_if_from_if_else=false
+sp_cleanup.pull_up_assignment=false
+sp_cleanup.push_down_negation=false
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.reduce_indentation=false
+sp_cleanup.redundant_comparator=false
+sp_cleanup.redundant_falling_through_block_end=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_redundant_modifiers=false
+sp_cleanup.remove_redundant_semicolons=true
+sp_cleanup.remove_redundant_type_arguments=true
+sp_cleanup.remove_trailing_whitespaces=true
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_array_creation=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=true
+sp_cleanup.remove_unused_imports=true
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_method_parameters=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.replace_deprecated_calls=false
+sp_cleanup.return_expression=false
+sp_cleanup.simplify_lambda_expression_and_method_ref=true
+sp_cleanup.single_used_field=false
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.standard_comparison=false
+sp_cleanup.static_inner_class=false
+sp_cleanup.strictly_equal_or_different=false
+sp_cleanup.stringbuffer_to_stringbuilder=false
+sp_cleanup.stringbuilder=false
+sp_cleanup.stringbuilder_for_local_vars=true
+sp_cleanup.stringconcat_stringbuffer_stringbuilder=false
+sp_cleanup.stringconcat_to_textblock=false
+sp_cleanup.substring=false
+sp_cleanup.switch=false
+sp_cleanup.system_property=false
+sp_cleanup.system_property_boolean=false
+sp_cleanup.system_property_file_encoding=false
+sp_cleanup.system_property_file_separator=false
+sp_cleanup.system_property_line_separator=false
+sp_cleanup.system_property_path_separator=false
+sp_cleanup.ternary_operator=false
+sp_cleanup.try_with_resource=false
+sp_cleanup.unlooped_while=false
+sp_cleanup.unreachable_block=false
+sp_cleanup.use_anonymous_class_creation=false
+sp_cleanup.use_autoboxing=false
+sp_cleanup.use_blocks=false
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_directly_map_method=false
+sp_cleanup.use_lambda=true
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_string_is_blank=false
+sp_cleanup.use_this_for_non_static_field_access=false
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=false
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
+sp_cleanup.use_unboxing=false
+sp_cleanup.use_var=false
+sp_cleanup.useless_continue=false
+sp_cleanup.useless_return=false
+sp_cleanup.valueof_rather_than_instantiation=false
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/META-INF/MANIFEST.MF b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/META-INF/MANIFEST.MF
new file mode 100644
index 000000000000..760c3dd4c0bf
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/META-INF/MANIFEST.MF
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %fragmentName
+Bundle-Vendor: %providerName
+Bundle-Localization: fragment
+Bundle-SymbolicName: org.eclipse.core.net.freebsd;singleton:=true
+Bundle-Version: 1.1.200.qualifier
+Fragment-Host: org.eclipse.core.net;bundle-version="1.1.0"
+Eclipse-PlatformFilter: (osgi.os=freebsd)
+Bundle-RequiredExecutionEnvironment: JavaSE-17
+Automatic-Module-Name: org.eclipse.core.net.freebsd
+Require-Bundle: com.sun.jna
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/about.html b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/about.html
new file mode 100644
index 000000000000..8eee37d47051
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/about.html
@@ -0,0 +1,36 @@
+<!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>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ (&quot;Content&quot;). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/build.properties b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/build.properties
new file mode 100644
index 000000000000..6614e3beff55
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/build.properties
@@ -0,0 +1,20 @@
+###############################################################################
+# Copyright (c) 2021 Red Hat Inc. and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Red Hat Inc. - initial API and implementation
+###############################################################################
+bin.includes = fragment.properties,\
+ .,\
+ META-INF/,\
+ about.html
+src.includes = about.html
+source.. = src/
+output.. = bin/
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/forceQualifierUpdate.txt b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/forceQualifierUpdate.txt
new file mode 100644
index 000000000000..cdaca2bfa4f3
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/forceQualifierUpdate.txt
@@ -0,0 +1,3 @@
+# To force a version qualifier update add the bug here
+https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1184
+https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1659
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/fragment.properties b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/fragment.properties
new file mode 100644
index 000000000000..cbcfcd73945f
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/fragment.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2021 Red Hat Inc. and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Red Hat Inc. - initial API and implementation
+###############################################################################
+fragmentName = Proxy for Linux
+providerName = Eclipse.org
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/pom.xml b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/pom.xml
new file mode 100644
index 000000000000..1e68e2c574a6
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/pom.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2012, 2021 Eclipse Foundation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Distribution License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ Igor Fedorenko - initial implementation
+ Red Hat Inc. - modified for use in org.eclipse.core.net.linux
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.eclipse.platform</groupId>
+ <artifactId>eclipse.platform.team</artifactId>
+ <version>4.32.0-SNAPSHOT</version>
+ <relativePath>../../</relativePath>
+ </parent>
+ <artifactId>org.eclipse.core.net.freebsd</artifactId>
+ <version>1.1.200-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <properties>
+ <skipAPIAnalysis>true</skipAPIAnalysis>
+ </properties>
+
+</project>
diff --git a/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/src/org/eclipse/core/net/ProxyProvider.java b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/src/org/eclipse/core/net/ProxyProvider.java
new file mode 100644
index 000000000000..c2993586cfc8
--- /dev/null
+++ b/java/eclipse/files/addons/eclipse.platform/team/bundles/org.eclipse.core.net.freebsd/src/org/eclipse/core/net/ProxyProvider.java
@@ -0,0 +1,387 @@
+/*******************************************************************************
+ * Copyright (c) 2021 Red Hat Inc. and others
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Red Hat Inc. - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.core.net;
+
+import java.io.IOException;
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.Locale;
+import java.util.Objects;
+import java.util.Properties;
+
+import org.eclipse.core.internal.net.AbstractProxyProvider;
+import org.eclipse.core.internal.net.Activator;
+import org.eclipse.core.internal.net.Policy;
+import org.eclipse.core.internal.net.ProxyData;
+import org.eclipse.core.internal.net.StringUtil;
+import org.eclipse.core.net.proxy.IProxyData;
+
+import com.sun.jna.Library;
+import com.sun.jna.Native;
+import com.sun.jna.Pointer;
+import com.sun.jna.ptr.PointerByReference;
+
+/**
+ * JNA version of org.eclipse.core.internal.net.UnixProxyProvider
+ *
+ * @author jjohnstn
+ *
+ */
+public class ProxyProvider extends AbstractProxyProvider {
+
+ private static LibGio fLibGio;
+
+ private static Pointer proxySettings = Pointer.NULL;
+ private static Pointer httpProxySettings = Pointer.NULL;
+ private static Pointer httpsProxySettings = Pointer.NULL;
+ private static Pointer socksProxySettings = Pointer.NULL;
+ private static Pointer ftpProxySettings = Pointer.NULL;
+
+ private static final String ENABLE_GNOME = Activator.ID + ".enableGnome"; //$NON-NLS-1$
+
+ private static final String LIBRARY_NAME = "gio-2.0"; //$NON-NLS-1$
+
+ private static boolean isGnomeLibLoaded = false;
+
+ static {
+ // Load the GSettings JNI library if org.eclipse.core.net.enableGnome is specified
+ String value = System.getProperty(ENABLE_GNOME);
+ if ("".equals(value) || "true".equals(value)) { //$NON-NLS-1$ //$NON-NLS-2$
+ initializeSettings();
+ }
+ }
+
+ public ProxyProvider() {
+ // no initialization required
+ }
+
+ @Override
+ public IProxyData[] select(URI uri) {
+ String[] nonProxyHosts = getNonProxiedHosts();
+ if (nonProxyHosts != null) {
+ String host = uri.getHost();
+ for (String nonProxyHost : nonProxyHosts) {
+ if (StringUtil.hostMatchesFilter(host, nonProxyHost)) {
+ return new IProxyData[0];
+ }
+ }
+ }
+ IProxyData[] proxies = new IProxyData[0];
+ if (uri.getScheme() != null) {
+ ProxyData pd = getSystemProxyInfo(uri.getScheme());
+ proxies = pd != null ? new IProxyData[] { pd } : new IProxyData[0];
+ } else {
+ proxies = getProxyData();
+ }
+ if (Policy.DEBUG) {
+ Policy.debug("LinuxProxyProvider#select result for [" + uri + "]"); //$NON-NLS-1$ //$NON-NLS-2$
+ for (IProxyData proxy : proxies) {
+ System.out.println(" " + proxy); //$NON-NLS-1$
+ }
+ }
+ return proxies;
+ }
+
+ @Override
+ public IProxyData[] getProxyData() {
+ String[] commonTypes = new String[] { IProxyData.HTTP_PROXY_TYPE,
+ IProxyData.SOCKS_PROXY_TYPE, IProxyData.HTTPS_PROXY_TYPE };
+ return getProxyForTypes(commonTypes);
+ }
+
+ private IProxyData[] getProxyForTypes(String[] types) {
+ ArrayList<IProxyData> allData = new ArrayList<>();
+ for (String type : types) {
+ ProxyData pd = getSystemProxyInfo(type);
+ if (pd != null && pd.getHost() != null) {
+ allData.add(pd);
+ }
+ }
+ return allData.toArray(new IProxyData[0]);
+ }
+
+ @Override
+ public String[] getNonProxiedHosts() {
+ String[] npHosts;
+
+ if (Policy.DEBUG_SYSTEM_PROVIDERS)
+ Policy.debug("Getting no_proxy"); //$NON-NLS-1$
+
+ // First try the environment variable which is a URL
+ String npEnv = getEnv("no_proxy"); //$NON-NLS-1$
+ if (npEnv != null) {
+ npHosts = StringUtil.split(npEnv, new String[] { "," }); //$NON-NLS-1$
+ for (int i = 0; i < npHosts.length; i++)
+ npHosts[i] = npHosts[i].trim();
+ if (Policy.DEBUG_SYSTEM_PROVIDERS) {
+ Policy.debug("Got Env no_proxy: " + npEnv); //$NON-NLS-1$
+ debugPrint(npHosts);
+ }
+ return npHosts;
+ }
+
+ if (isGnomeLibLoaded) {
+ try {
+ npHosts = getGSettingsNonProxyHosts();
+ if (npHosts != null && npHosts.length > 0) {
+ if (Policy.DEBUG_SYSTEM_PROVIDERS) {
+ Policy.debug("Got Gnome no_proxy"); //$NON-NLS-1$
+ debugPrint(npHosts);
+ }
+ return npHosts;
+ }
+ } catch (UnsatisfiedLinkError e) {
+ // The library should be loaded, so this is a real exception
+ Activator.logError(
+ "Problem during accessing Gnome library", e); //$NON-NLS-1$
+ }
+ }
+
+ return new String[0];
+ }
+
+ // Returns null if something wrong or there is no proxy for the protocol
+ protected ProxyData getSystemProxyInfo(String protocol) {
+ ProxyData pd = null;
+ String envName = null;
+
+ if (Policy.DEBUG_SYSTEM_PROVIDERS)
+ Policy.debug("Getting proxies for: " + protocol); //$NON-NLS-1$
+
+ try {
+ // protocol schemes are ISO 8859 (ASCII)
+ protocol = protocol.toLowerCase(Locale.ENGLISH);
+
+ // First try the environment variable which is a URL
+ envName = protocol + "_proxy"; //$NON-NLS-1$
+ String proxyEnv = getEnv(envName);
+ if (Policy.DEBUG_SYSTEM_PROVIDERS)
+ Policy.debug("Got proxyEnv: " + proxyEnv); //$NON-NLS-1$
+
+ if (proxyEnv != null) {
+ int colonInd = proxyEnv.indexOf(":"); //$NON-NLS-1$
+ if (colonInd !=-1 && proxyEnv.length() > colonInd + 2 && !"//".equals(proxyEnv.substring(colonInd + 1, colonInd + 3))) { //$NON-NLS-1$
+ proxyEnv = "http://" + proxyEnv; //$NON-NLS-1$
+ }
+ URI uri = new URI(proxyEnv);
+ pd = new ProxyData(protocol);
+ pd.setHost(Objects.requireNonNull(uri.getHost(), "no host in " + proxyEnv)); //$NON-NLS-1$
+ int port = uri.getPort();
+ if (port == -1) {
+ throw new IllegalStateException("no port in " + proxyEnv); //$NON-NLS-1$
+ }
+ pd.setPort(port);
+ String userInfo = uri.getUserInfo();
+ if (userInfo != null) {
+ String user = null;
+ String password = null;
+ int pwInd = userInfo.indexOf(':');
+ if (pwInd >= 0) {
+ user = userInfo.substring(0, pwInd);
+ password = userInfo.substring(pwInd + 1);
+ } else {
+ user = userInfo;
+ }
+ pd.setUserid(user);
+ pd.setPassword(password);
+ }
+ pd.setSource("LINUX_ENV"); //$NON-NLS-1$
+ if (Policy.DEBUG_SYSTEM_PROVIDERS)
+ Policy.debug("Got Env proxy: " + pd); //$NON-NLS-1$
+ return pd;
+ }
+ } catch (Exception e) {
+ Activator.logError(
+ "Problem during accessing system variable: " + envName, e); //$NON-NLS-1$
+ }
+
+ if (isGnomeLibLoaded) {
+ try {
+ // Then ask Gnome
+ pd = getGSettingsProxyInfo(protocol);
+ if (pd != null) {
+ if (Policy.DEBUG_SYSTEM_PROVIDERS)
+ Policy.debug("Got Gnome proxy: " + pd); //$NON-NLS-1$
+ pd.setSource("LINUX_GNOME"); //$NON-NLS-1$
+ return pd;
+ }
+ } catch (UnsatisfiedLinkError e) {
+ // The library should be loaded, so this is a real exception
+ Activator.logError(
+ "Problem during accessing Gnome library", e); //$NON-NLS-1$
+ }
+ }
+
+ return null;
+ }
+
+ private static String getEnv(String env) {
+ try {
+ return System.getenv(env);
+ } catch (Throwable t) {
+ // Fall-back to running 'env' directly. Warning this is very slow...
+ // up to 200ms
+ String cmd[] = { "/bin/sh", //$NON-NLS-1$
+ "-c", //$NON-NLS-1$
+ "env | grep -i proxy" }; //$NON-NLS-1$
+ Properties props = new Properties();
+ Process proc = null;
+ try {
+ proc = Runtime.getRuntime().exec(cmd);
+ props.load(proc.getInputStream());
+ } catch (IOException e) {
+ Activator.logError(
+ "Problem during accessing system variable: " + env, e); //$NON-NLS-1$
+ } catch (IllegalArgumentException e) {
+ Activator.logError(
+ "Problem during accessing system variable: " + env, e); //$NON-NLS-1$
+ } finally {
+ if (proc != null) {
+ proc.destroy();
+ }
+ }
+ return props.getProperty(env);
+ }
+ }
+
+ private void debugPrint(String[] strs) {
+ for (int i = 0; i < strs.length; i++)
+ System.out.println(i + ": " + strs[i]); //$NON-NLS-1$
+ }
+
+ private interface LibGio extends Library {
+ Pointer g_settings_new(String schema);
+ boolean g_settings_get_boolean(Pointer settings, String key);
+ Pointer g_settings_get_string(Pointer settings, String key);
+ int g_settings_get_int(Pointer settings, String key);
+ PointerByReference g_settings_get_strv(Pointer Settings, String key);
+ void g_strfreev(PointerByReference p);
+ void g_free(Pointer p);
+ }
+
+ private static void initializeSettings() {
+ try {
+ fLibGio = Native.load(LIBRARY_NAME, LibGio.class);
+ proxySettings = fLibGio.g_settings_new ("org.gnome.system.proxy"); //$NON-NLS-1$
+ httpProxySettings = fLibGio.g_settings_new ("org.gnome.system.proxy.http"); //$NON-NLS-1$
+ httpsProxySettings = fLibGio.g_settings_new ("org.gnome.system.proxy.https"); //$NON-NLS-1$
+ socksProxySettings = fLibGio.g_settings_new ("org.gnome.system.proxy.socks"); //$NON-NLS-1$
+ ftpProxySettings = fLibGio.g_settings_new ("org.gnome.system.proxy.ftp"); //$NON-NLS-1$
+ isGnomeLibLoaded= true;
+ if (Policy.DEBUG_SYSTEM_PROVIDERS)
+ Policy.debug("Loaded " + //$NON-NLS-1$
+ System.mapLibraryName(LIBRARY_NAME) + " library"); //$NON-NLS-1$
+ } catch (UnsatisfiedLinkError e) {
+ isGnomeLibLoaded= false;
+ if (Policy.DEBUG_SYSTEM_PROVIDERS)
+ Policy.debug("Could not load library: " //$NON-NLS-1$
+ + System.mapLibraryName(LIBRARY_NAME));
+ }
+ }
+
+ protected static ProxyData getGSettingsProxyInfo(String protocol) {
+
+ if (protocol == null) {
+ return null;
+ }
+
+ if (proxySettings == Pointer.NULL) {
+ initializeSettings();
+ }
+
+ // Everything else applies only if the system proxy mode is manual
+ // Auto-configuration is not supported
+ Pointer mode = fLibGio.g_settings_get_string(proxySettings, "mode"); //$NON-NLS-1$
+ if (!mode.getString(0).equalsIgnoreCase("manual")) { //$NON-NLS-1$
+ fLibGio.g_free(mode);
+ return null;
+ }
+ fLibGio.g_free(mode);
+
+ Pointer host;
+ int port;
+
+ switch (protocol.toLowerCase()) {
+ case "http": //$NON-NLS-1$
+ host = fLibGio.g_settings_get_string(httpProxySettings, "host"); //$NON-NLS-1$
+ port = fLibGio.g_settings_get_int(httpProxySettings, "port"); //$NON-NLS-1$
+ break;
+ case "https": //$NON-NLS-1$
+ host = fLibGio.g_settings_get_string(httpsProxySettings, "host"); //$NON-NLS-1$
+ port = fLibGio.g_settings_get_int(httpsProxySettings, "port"); //$NON-NLS-1$
+ break;
+ case "ftp": //$NON-NLS-1$
+ host = fLibGio.g_settings_get_string(ftpProxySettings, "host"); //$NON-NLS-1$
+ port = fLibGio.g_settings_get_int(ftpProxySettings, "port"); //$NON-NLS-1$
+ break;
+ case "socks": //$NON-NLS-1$
+ host = fLibGio.g_settings_get_string(socksProxySettings, "host"); //$NON-NLS-1$
+ port = fLibGio.g_settings_get_int(socksProxySettings, "port"); //$NON-NLS-1$
+ break;
+ default:
+ // Unknown/invalid proxy type
+ return null;
+ }
+
+ ProxyData proxyData = new ProxyData(protocol);
+ proxyData.setHost(host.getString(0));
+ fLibGio.g_free(host);
+ proxyData.setPort(port);
+
+ // Each proxy type is enabled only if the "host" key is non-empty and its "port" key is non-0
+ if (proxyData.getHost() == null || proxyData.getPort() == 0) {
+ return null;
+ }
+
+ if (protocol.equalsIgnoreCase("http")) { //$NON-NLS-1$
+ // Authentication applies only to http proxies
+ boolean reqAuth = fLibGio.g_settings_get_boolean(httpProxySettings, "use-authentication"); //$NON-NLS-1$
+ if (reqAuth) {
+ Pointer user = fLibGio.g_settings_get_string(httpProxySettings, "authentication-user"); //$NON-NLS-1$
+ proxyData.setUserid(user.getString(0));
+ fLibGio.g_free(user);
+
+ Pointer password = fLibGio.g_settings_get_string(httpProxySettings, "authentication-password"); //$NON-NLS-1$
+ proxyData.setPassword(password.getString(0));
+ fLibGio.g_free(password);
+ }
+ }
+
+ return proxyData;
+ }
+
+ protected static String[] getGSettingsNonProxyHosts() {
+ if (proxySettings == Pointer.NULL) {
+ initializeSettings();
+ }
+
+ // Everything else applies only if the system proxy mode is manual
+ // Auto-configuration is not supported
+ Pointer mode = fLibGio.g_settings_get_string(proxySettings, "mode"); //$NON-NLS-1$
+ if (!mode.getString(0).equalsIgnoreCase("manual")) { //$NON-NLS-1$
+ fLibGio.g_free(mode);
+ return null;
+ }
+ fLibGio.g_free(mode);
+
+ PointerByReference npHostsArray = fLibGio.g_settings_get_strv(proxySettings, "ignore-hosts"); //$NON-NLS-1$
+ String[] npHosts = npHostsArray.getPointer().getStringArray(0);
+
+ fLibGio.g_strfreev(npHostsArray);
+
+ return npHosts;
+ }
+
+}
+
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/.project b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/.project
new file mode 100644
index 000000000000..14e9281df31a
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/.project
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.equinox.launcher.gtk.freebsd.aarch64</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>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/META-INF/MANIFEST.MF b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/META-INF/MANIFEST.MF
new file mode 100644
index 000000000000..f1dae5db5782
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/META-INF/MANIFEST.MF
@@ -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.aarch64;singleton:=true
+Bundle-Version: 1.2.1000.qualifier
+Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=aarch64))
+Bundle-Localization: launcher.gtk.freebsd.aarch64
+Eclipse-BundleShape: dir
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/about.html b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/about.html
new file mode 100644
index 000000000000..8eee37d47051
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/about.html
@@ -0,0 +1,36 @@
+<!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>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ (&quot;Content&quot;). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/build.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/build.properties
new file mode 100644
index 000000000000..5325df089bcb
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/build.properties
@@ -0,0 +1,25 @@
+###############################################################################
+# Copyright (c) 2015, 2022 Red Hat Inc. and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Red Hat Inc. - initial API and implementation
+###############################################################################
+bin.includes = META-INF/,\
+ launcher.gtk.freebsd.aarch64.properties,\
+ about.html
+
+generateSourceBundle=false
+binaryTag=LBv1-1901
+
+# Maven properties, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless#define-properties
+tycho.pomless.parent = ../../launcher-binary-parent
+pom.model.property.os = freebsd
+pom.model.property.ws = gtk
+pom.model.property.arch = aarch64
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/launcher.gtk.freebsd.aarch64.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/launcher.gtk.freebsd.aarch64.properties
new file mode 100644
index 000000000000..b1e2f588997b
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/launcher.gtk.freebsd.aarch64.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2015 Red Hat Inc. and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Red Hat Inc. - initial API and implementation
+###############################################################################
+pluginName = Equinox Launcher Linux AARCH64 Fragment
+providerName = Eclipse.org - Equinox
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/.project b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/.project
new file mode 100644
index 000000000000..9c31e70b6e1c
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/.project
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.equinox.launcher.gtk.freebsd.powerpc64</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>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF
new file mode 100644
index 000000000000..9ddb183f8ec0
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF
@@ -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.powerpc64;singleton:=true
+Bundle-Version: 1.2.1000.qualifier
+Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=powerpc64))
+Bundle-Localization: launcher.gtk.freebsd.powerpc64
+Eclipse-BundleShape: dir
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/about.html b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/about.html
new file mode 100644
index 000000000000..8eee37d47051
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/about.html
@@ -0,0 +1,36 @@
+<!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>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ (&quot;Content&quot;). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/build.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/build.properties
new file mode 100644
index 000000000000..10d9039c1d8e
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/build.properties
@@ -0,0 +1,25 @@
+###############################################################################
+# Copyright (c) 2014, 2022 Red Hat Inc. and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Alexander Kurtatkov - initial API and implementation
+###############################################################################
+bin.includes = META-INF/,\
+ launcher.gtk.freebsd.powerpc64.properties,\
+ about.html
+
+generateSourceBundle=false
+binaryTag=LBv1-1901
+
+# Maven properties, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless
+tycho.pomless.parent = ../../launcher-binary-parent
+pom.model.property.os = freebsd
+pom.model.property.ws = gtk
+pom.model.property.arch = powerpc64
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/forceQualifierUpdate.txt b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/forceQualifierUpdate.txt
new file mode 100644
index 000000000000..5a95097dc93e
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/forceQualifierUpdate.txt
@@ -0,0 +1,2 @@
+# To force a version qualifier update add the bug here
+I20180131-2000 comparator error
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/launcher.gtk.freebsd.powerpc64.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/launcher.gtk.freebsd.powerpc64.properties
new file mode 100644
index 000000000000..99cbbf0aeb98
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/launcher.gtk.freebsd.powerpc64.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2014 Red Hat Inc. and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Alexander Kurtakov - initial API and implementation
+###############################################################################
+pluginName = Equinox Launcher Linux PPC64le Fragment
+providerName = Eclipse.org - Equinox
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/.project b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/.project
new file mode 100644
index 000000000000..411ba085ebee
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/.project
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le</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>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF
new file mode 100644
index 000000000000..5fd13e4e6e3a
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF
@@ -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.powerpc64le;singleton:=true
+Bundle-Version: 1.2.1000.qualifier
+Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=powerpc64le))
+Bundle-Localization: launcher.gtk.freebsd.powerpc64le
+Eclipse-BundleShape: dir
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/about.html b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/about.html
new file mode 100644
index 000000000000..8eee37d47051
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/about.html
@@ -0,0 +1,36 @@
+<!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>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ (&quot;Content&quot;). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/build.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/build.properties
new file mode 100644
index 000000000000..aea0dd5ec475
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/build.properties
@@ -0,0 +1,25 @@
+###############################################################################
+# Copyright (c) 2014, 2022 Red Hat Inc. and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Alexander Kurtatkov - initial API and implementation
+###############################################################################
+bin.includes = META-INF/,\
+ launcher.gtk.freebsd.powerpc64le.properties,\
+ about.html
+
+generateSourceBundle=false
+binaryTag=LBv1-1901
+
+# Maven properties, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless
+tycho.pomless.parent = ../../launcher-binary-parent
+pom.model.property.os = freebsd
+pom.model.property.ws = gtk
+pom.model.property.arch = powerpc64le
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/forceQualifierUpdate.txt b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/forceQualifierUpdate.txt
new file mode 100644
index 000000000000..5a95097dc93e
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/forceQualifierUpdate.txt
@@ -0,0 +1,2 @@
+# To force a version qualifier update add the bug here
+I20180131-2000 comparator error
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/launcher.gtk.freebsd.powerpc64le.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/launcher.gtk.freebsd.powerpc64le.properties
new file mode 100644
index 000000000000..99cbbf0aeb98
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/launcher.gtk.freebsd.powerpc64le.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2014 Red Hat Inc. and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Alexander Kurtakov - initial API and implementation
+###############################################################################
+pluginName = Equinox Launcher Linux PPC64le Fragment
+providerName = Eclipse.org - Equinox
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.project b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.project
new file mode 100644
index 000000000000..b8fa5a05b295
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.project
@@ -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>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.settings/org.eclipse.pde.core.prefs b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.settings/org.eclipse.pde.core.prefs
new file mode 100644
index 000000000000..dd6790316c1d
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/.settings/org.eclipse.pde.core.prefs
@@ -0,0 +1,4 @@
+#Wed Dec 06 11:46:47 EST 2006
+eclipse.preferences.version=1
+pluginProject.extensions=false
+resolve.requirebundle=false
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/META-INF/MANIFEST.MF b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/META-INF/MANIFEST.MF
new file mode 100644
index 000000000000..9a2f90355d04
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/META-INF/MANIFEST.MF
@@ -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.2.1000.qualifier
+Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=x86_64))
+Bundle-Localization: launcher.gtk.freebsd.x86_64
+Eclipse-BundleShape: dir
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/about.html b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/about.html
new file mode 100644
index 000000000000..8eee37d47051
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/about.html
@@ -0,0 +1,36 @@
+<!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>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ (&quot;Content&quot;). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/build.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/build.properties
new file mode 100644
index 000000000000..63f478cd9c0c
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/build.properties
@@ -0,0 +1,25 @@
+###############################################################################
+# Copyright (c) 2011, 2022 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+bin.includes = META-INF/,\
+ launcher.gtk.freebsd.x86_64.properties,\
+ about.html
+
+generateSourceBundle=false
+binaryTag=LBv1-1901
+
+# Maven properties, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless
+tycho.pomless.parent = ../../launcher-binary-parent
+pom.model.property.os = freebsd
+pom.model.property.ws = gtk
+pom.model.property.arch = x86_64
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/forceQualifierUpdate.txt b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/forceQualifierUpdate.txt
new file mode 100644
index 000000000000..6a339fb98d2c
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/forceQualifierUpdate.txt
@@ -0,0 +1,3 @@
+# To force a version qualifier update add the bug here
+Bug 403352 - Update all parent versions to match our build stream
+I20180131-2000 comparator error
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/launcher.gtk.freebsd.x86_64.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/launcher.gtk.freebsd.x86_64.properties
new file mode 100644
index 000000000000..0390ce5f08ea
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64/launcher.gtk.freebsd.x86_64.properties
@@ -0,0 +1,15 @@
+###############################################################################
+# Copyright (c) 2007, 2009 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+pluginName = Equinox Launcher Linux X86_64 Fragment
+providerName = Eclipse.org - Equinox
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.classpath b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.classpath
new file mode 100644
index 000000000000..a7bc712151f9
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.classpath
@@ -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/JavaSE-17"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src/"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.project b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.project
new file mode 100644
index 000000000000..13077bb3fde7
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.project
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.equinox.security.freebsd</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>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+</projectDescription>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.core.runtime.prefs b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 000000000000..5a0ad22d2a76
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.jdt.core.prefs b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000000..c1c8dc4447f9
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,118 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
+org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
+org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
+org.eclipse.jdt.core.compiler.annotation.nonnull.secondary=
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary=
+org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
+org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
+org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=17
+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.APILeak=warning
+org.eclipse.jdt.core.compiler.problem.annotatedTypeArgumentToUnannotated=info
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
+org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
+org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning
+org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
+org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
+org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.suppressWarningsNotFullyAnalysed=info
+org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning
+org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
+org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unstableAutoModuleName=warning
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.release=enabled
+org.eclipse.jdt.core.compiler.source=17
+org.eclipse.objectteams.otdt.compiler.option.pure_java=enabled
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.jdt.ui.prefs b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 000000000000..6b0b13e2f63f
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,109 @@
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+sp_cleanup.add_all=false
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_missing_override_annotations_interface_methods=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.arrays_fill=false
+sp_cleanup.bitwise_conditional_expression=false
+sp_cleanup.boolean_literal=false
+sp_cleanup.break_loop=false
+sp_cleanup.collection_cloning=false
+sp_cleanup.comparison_statement=false
+sp_cleanup.controlflow_merge=false
+sp_cleanup.convert_functional_interfaces=false
+sp_cleanup.convert_to_enhanced_for_loop=false
+sp_cleanup.convert_to_enhanced_for_loop_if_loop_var_used=false
+sp_cleanup.convert_to_switch_expressions=false
+sp_cleanup.correct_indentation=false
+sp_cleanup.double_negation=false
+sp_cleanup.else_if=false
+sp_cleanup.embedded_if=false
+sp_cleanup.evaluate_nullable=false
+sp_cleanup.extract_increment=false
+sp_cleanup.format_source_code=true
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.hash=false
+sp_cleanup.if_condition=false
+sp_cleanup.insert_inferred_type_arguments=false
+sp_cleanup.instanceof=false
+sp_cleanup.join=false
+sp_cleanup.lazy_logical_operator=false
+sp_cleanup.make_local_variable_final=true
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=false
+sp_cleanup.map_cloning=false
+sp_cleanup.merge_conditional_blocks=false
+sp_cleanup.multi_catch=false
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.no_string_creation=false
+sp_cleanup.no_super=false
+sp_cleanup.number_suffix=false
+sp_cleanup.objects_equals=false
+sp_cleanup.on_save_use_additional_actions=true
+sp_cleanup.organize_imports=true
+sp_cleanup.overridden_assignment=false
+sp_cleanup.precompile_regex=false
+sp_cleanup.primitive_parsing=false
+sp_cleanup.primitive_serialization=false
+sp_cleanup.pull_up_assignment=false
+sp_cleanup.push_down_negation=false
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.redundant_falling_through_block_end=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_redundant_modifiers=false
+sp_cleanup.remove_redundant_semicolons=true
+sp_cleanup.remove_redundant_type_arguments=false
+sp_cleanup.remove_trailing_whitespaces=true
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_array_creation=true
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=true
+sp_cleanup.remove_unused_imports=true
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.simplify_lambda_expression_and_method_ref=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.static_inner_class=false
+sp_cleanup.strictly_equal_or_different=false
+sp_cleanup.stringbuilder=false
+sp_cleanup.switch=false
+sp_cleanup.ternary_operator=false
+sp_cleanup.try_with_resource=false
+sp_cleanup.use_anonymous_class_creation=false
+sp_cleanup.use_autoboxing=false
+sp_cleanup.use_blocks=false
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_directly_map_method=false
+sp_cleanup.use_lambda=true
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_this_for_non_static_field_access=false
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=false
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
+sp_cleanup.use_unboxing=false
+sp_cleanup.use_var=false
+sp_cleanup.useless_continue=false
+sp_cleanup.useless_return=false
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/META-INF/MANIFEST.MF b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/META-INF/MANIFEST.MF
new file mode 100644
index 000000000000..70a8068baa73
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %fragmentName
+Bundle-SymbolicName: org.eclipse.equinox.security.freebsd;singleton:=true
+Bundle-Version: 1.1.300.qualifier
+Bundle-Vendor: %providerName
+Fragment-Host: org.eclipse.equinox.security;bundle-version="[1.0.0,2.0.0)"
+Bundle-RequiredExecutionEnvironment: JavaSE-17
+Bundle-Localization: fragment
+Eclipse-PlatformFilter: (osgi.os=freebsd)
+Export-Package: org.eclipse.equinox.internal.security.freebsd;x-internal:=true
+Automatic-Module-Name: org.eclipse.equinox.security.freebsd
+Require-Bundle: com.sun.jna;bundle-version="[5.8.0,6.0.0)"
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/about.html b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/about.html
new file mode 100644
index 000000000000..8eee37d47051
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/about.html
@@ -0,0 +1,36 @@
+<!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>November 30, 2017</p>
+ <h3>License</h3>
+
+ <p>
+ The Eclipse Foundation makes available all content in this plug-in
+ (&quot;Content&quot;). Unless otherwise indicated below, the Content
+ is provided to you under the terms and conditions of the Eclipse
+ Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
+ available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
+ For purposes of the EPL, &quot;Program&quot; will mean the Content.
+ </p>
+
+ <p>
+ If you did not receive this Content directly from the Eclipse
+ Foundation, the Content is being redistributed by another party
+ (&quot;Redistributor&quot;) and different terms and conditions may
+ apply to your use of any object code in the Content. Check the
+ Redistributor's license that was provided with the Content. If no such
+ license exists, contact the Redistributor. Unless otherwise indicated
+ below, the terms and conditions of the EPL still apply to any source
+ code in the Content and such source code may be obtained at <a
+ href="http://www.eclipse.org/">http://www.eclipse.org</a>.
+ </p>
+
+</body>
+</html>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/build.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/build.properties
new file mode 100644
index 000000000000..5bf117a48da9
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/build.properties
@@ -0,0 +1,21 @@
+###############################################################################
+# Copyright (c) 2005, 2017 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Julien HENRY - Linux implementation
+###############################################################################
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ fragment.properties,\
+ fragment.xml,\
+ about.html
+src.includes = about.html
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/forceQualifierUpdate.txt b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/forceQualifierUpdate.txt
new file mode 100644
index 000000000000..1140809bc746
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/forceQualifierUpdate.txt
@@ -0,0 +1,4 @@
+# To force a version qualifier update add the bug here
+
+Bug 527899 [9] Implement JEP 280: Indify String Concatenation #1139
+https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1659
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/fragment.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/fragment.properties
new file mode 100644
index 000000000000..3215da80d64c
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/fragment.properties
@@ -0,0 +1,17 @@
+###############################################################################
+# Copyright (c) 2017, 2021 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Julien HENRY - Linux implementation
+###############################################################################
+fragmentName = Linux libsecret integration
+providerName = Eclipse.org - Equinox
+linuxModuleName = Linux Integration
+providerDescription = The provider uses libsecret to store a randomly generated user-specific \'master\' password. Users who can log into the operating system account can access contents of the secure storage.
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/fragment.xml b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/fragment.xml
new file mode 100644
index 000000000000..d91ed1d7d18d
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/fragment.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<fragment>
+ <extension
+ id="LinuxKeystoreIntegrationJNA"
+ name="%linuxModuleName"
+ point="org.eclipse.equinox.security.secureStorage">
+ <provider
+ class="org.eclipse.equinox.internal.security.linux.LinuxPasswordProvider"
+ description="%providerDescription"
+ obsoletes="org.eclipse.equinox.security.linuxkeystoreintegration"
+ priority="5">
+ <hint
+ value="AutomaticPasswordGeneration">
+ </hint>
+ </provider>
+ </extension>
+ </fragment>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/pom.xml b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/pom.xml
new file mode 100644
index 000000000000..b6a6d3c8f6b6
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/pom.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2017, 2020 Eclipse Foundation.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Distribution License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ Julien HENRY - Linux implementation
+ Red Hat Inc. - modified to makde org.eclipse.equinox.security.linux
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.eclipse.equinox</groupId>
+ <artifactId>parent</artifactId>
+ <version>4.32.0-SNAPSHOT</version>
+ <relativePath>../../</relativePath>
+</parent>
+ <artifactId>org.eclipse.equinox.security.freebsd</artifactId>
+ <version>1.1.300-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <configuration>
+ <dependency-resolution>
+ <extraRequirements>
+ <requirement>
+ <!-- workaround usage of split package https://bugs.eclipse.org/bugs/show_bug.cgi?id=403196 -->
+ <id>org.eclipse.equinox.registry</id>
+ <versionRange>0.0.0</versionRange>
+ <type>p2-installable-unit</type>
+ </requirement>
+ </extraRequirements>
+ </dependency-resolution>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GBusType.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GBusType.java
new file mode 100644
index 000000000000..f6b9320d8850
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GBusType.java
@@ -0,0 +1,21 @@
+/*******************************************************************************
+ * Copyright (c) 2020 Red Hat Inc.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Red Hat Inc. - initial version
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+public class GBusType {
+ public final static int G_BUS_TYPE_STARTER = -1;
+ public final static int G_BUS_TYPE_NONE = 0;
+ public final static int G_BUS_TYPE_SYSTEM = 1;
+ public final static int G_BUS_TYPE_SESSION = 2;
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GError.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GError.java
new file mode 100644
index 000000000000..66c75bc09735
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GError.java
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (c) 2020, 2021 Red Hat Inc.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Red Hat Inc. - initial version
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+import java.util.List;
+
+import com.sun.jna.Pointer;
+import com.sun.jna.Structure;
+
+public class GError extends Structure {
+ public int domain;
+ public int code;
+ public String message;
+
+ public GError(Pointer p) {
+ super(p);
+ read();
+ }
+
+ @Override
+ protected List<String> getFieldOrder() {
+ return List.of("domain", "code", "message"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ }
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GList.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GList.java
new file mode 100644
index 000000000000..a285c6d41a89
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/GList.java
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (c) 2020, 2021 Red Hat Inc.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Red Hat Inc. - initial version
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+import java.util.List;
+
+import com.sun.jna.Pointer;
+import com.sun.jna.Structure;
+
+public class GList extends Structure {
+ public static class ByReference extends GList implements Structure.ByReference {
+ public ByReference(Pointer p) {
+ super(p);
+ read();
+ }
+ }
+
+ public GList(Pointer p) {
+ super(p);
+ read();
+ }
+
+ public Pointer data;
+ public GList.ByReference next;
+ public GList.ByReference prev;
+
+ @Override
+ protected List<String> getFieldOrder() {
+ return List.of("data", "next", "prev"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ }
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/LinuxPasswordProvider.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/LinuxPasswordProvider.java
new file mode 100644
index 000000000000..d57364bc3c24
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/LinuxPasswordProvider.java
@@ -0,0 +1,186 @@
+/*******************************************************************************
+ * Copyright (c) 2017, 2024 IBM Corporation and others.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Julien HENRY - Linux implementation
+ * Red Hat Inc. - add validation method to handle KDE failures
+ * Red Hat Inc. - modified to make JNA version
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+import java.nio.charset.StandardCharsets;
+import java.security.SecureRandom;
+import java.util.Map;
+
+import javax.crypto.spec.PBEKeySpec;
+
+import org.eclipse.equinox.internal.security.auth.AuthPlugin;
+import org.eclipse.equinox.internal.security.storage.Base64;
+import org.eclipse.equinox.internal.security.storage.provider.IValidatingPasswordProvider;
+import org.eclipse.equinox.security.storage.provider.IPreferencesContainer;
+import org.eclipse.equinox.security.storage.provider.PasswordProvider;
+
+import com.sun.jna.Library;
+import com.sun.jna.Native;
+import com.sun.jna.Pointer;
+import com.sun.jna.ptr.PointerByReference;
+
+public class LinuxPasswordProvider extends PasswordProvider implements IValidatingPasswordProvider {
+
+ /**
+ * The length of the randomly generated password in bytes
+ */
+ private static final int PASSWORD_LENGTH = 64;
+
+ private static final String SECRET_COLLECTION_DEFAULT = "default"; //$NON-NLS-1$
+ // open flags = (RTLD_NODELETE | RTLD_GLOBAL | RTLD_LAZY)
+ private static final Map<String, Object> LIB_LOAD_OPTIONS = Map.of(Library.OPTION_OPEN_FLAGS, 0x1101);
+
+ private final SecretSchema fEquinoxSchema = new SecretSchema("org.eclipse.equinox", //$NON-NLS-1$
+ SecretSchemaFlags.SECRET_SCHEMA_NONE, new SecretSchemaAttribute(null, 0));
+ private LibSecret fLibSecret;
+ private LibGio fLibGio;
+
+ private interface LibGio extends Library {
+ Pointer g_bus_get_sync(int bus_type, Pointer cancellable, PointerByReference gerror);
+
+ void g_error_free(Pointer error);
+
+ GList g_list_append(GList list, Pointer data);
+ }
+
+ private interface LibSecret extends Library {
+ Pointer secret_service_get_sync(int flags, Pointer cancellable, PointerByReference gerror);
+
+ Pointer secret_collection_for_alias_sync(Pointer service, final String alias, int flags, Pointer cancellable,
+ PointerByReference gerror);
+
+ boolean secret_collection_get_locked(Pointer self);
+
+ String secret_collection_get_label(Pointer self);
+
+ int secret_service_unlock_sync(Pointer service, GList objects, Pointer cancellable, PointerByReference unlocked,
+ PointerByReference error);
+
+ String secret_password_lookup_sync(SecretSchema schema, Pointer cancellable, PointerByReference error,
+ Object... attributes);
+
+ boolean secret_password_store_sync(SecretSchema schema, String collection, String label, String password,
+ Pointer cancellable, PointerByReference error, Object... attributes);
+ }
+
+ private void unlockSecretService() {
+
+ fLibGio = Native.load("gio-2.0", LibGio.class, LIB_LOAD_OPTIONS); //$NON-NLS-1$
+
+ PointerByReference gerror = new PointerByReference();
+ gerror.setValue(Pointer.NULL);
+ fLibGio.g_bus_get_sync(GBusType.G_BUS_TYPE_SESSION, Pointer.NULL, gerror);
+ requireNoError(gerror, "Unable to get DBus session bus: "); //$NON-NLS-1$
+
+ fLibSecret = Native.load("secret-1", LibSecret.class, LIB_LOAD_OPTIONS); //$NON-NLS-1$
+ Pointer secretService = fLibSecret.secret_service_get_sync(SecretServiceFlags.SECRET_SERVICE_LOAD_COLLECTIONS,
+ Pointer.NULL, gerror);
+ requireNoError(gerror, "Unable to get secret service: "); //$NON-NLS-1$
+
+ Pointer defaultCollection = fLibSecret.secret_collection_for_alias_sync(secretService,
+ SECRET_COLLECTION_DEFAULT, SecretCollectionFlags.SECRET_COLLECTION_NONE, Pointer.NULL, gerror);
+ requireNoError(gerror, "Unable to get secret collection: "); //$NON-NLS-1$
+ if (defaultCollection == Pointer.NULL) {
+ throw new SecurityException("Unable to find default secret collection"); //$NON-NLS-1$
+ }
+ if (fLibSecret.secret_collection_get_locked(defaultCollection)) {
+ fLibSecret.secret_collection_get_label(defaultCollection);
+ GList list = fLibGio.g_list_append(null, defaultCollection);
+ PointerByReference unlocked = new PointerByReference();
+ fLibSecret.secret_service_unlock_sync(secretService, list, Pointer.NULL, unlocked, gerror);
+ fLibGio.g_error_free(unlocked.getValue());
+ fLibGio.g_error_free(list.getPointer());
+
+ requireNoError(gerror, "Unable to unlock: "); //$NON-NLS-1$
+ }
+
+ }
+
+ private String getMasterPassword() throws SecurityException {
+ unlockSecretService();
+ PointerByReference gerror = new PointerByReference();
+ String password = fLibSecret.secret_password_lookup_sync(fEquinoxSchema, Pointer.NULL, gerror, Pointer.NULL);
+
+ requireNoError(gerror, ""); //$NON-NLS-1$
+ if (password == null) {
+ throw new SecurityException("Unable to find password"); //$NON-NLS-1$
+ }
+ return new String(password.getBytes(), StandardCharsets.UTF_8);
+ }
+
+ private void saveMasterPassword(String password) throws SecurityException {
+ unlockSecretService();
+ PointerByReference gerror = new PointerByReference();
+
+ String passwordUTF8 = new String(password.getBytes(), StandardCharsets.UTF_8);
+
+ fLibSecret.secret_password_store_sync(fEquinoxSchema, SECRET_COLLECTION_DEFAULT, "Equinox master password", //$NON-NLS-1$
+ passwordUTF8, Pointer.NULL, gerror, Pointer.NULL);
+
+ requireNoError(gerror, ""); //$NON-NLS-1$
+ }
+
+ private void requireNoError(PointerByReference gerror, String details) {
+ if (gerror.getValue() != Pointer.NULL) {
+ GError error = new GError(gerror.getValue());
+ String message = error.message;
+ fLibGio.g_error_free(gerror.getValue());
+ throw new SecurityException(details + message);
+ }
+ }
+
+ @Override
+ public PBEKeySpec getPassword(IPreferencesContainer container, int passwordType) {
+
+ boolean newPassword = (passwordType & CREATE_NEW_PASSWORD) != 0;
+ boolean passwordChange = (passwordType & PASSWORD_CHANGE) != 0;
+
+ if (!newPassword && !passwordChange) {
+ try {
+ return new PBEKeySpec(getMasterPassword().toCharArray());
+ } catch (SecurityException e) {
+ AuthPlugin.getDefault().logError(LinuxPasswordProviderMessages.getMasterPasswordError, e);
+ return null;
+ }
+ }
+
+ byte[] rawPassword = new byte[PASSWORD_LENGTH];
+ new SecureRandom().nextBytes(rawPassword);
+ String newPasswordString = Base64.encode(rawPassword);
+
+ // add info message in the log
+ AuthPlugin.getDefault().logMessage(LinuxPasswordProviderMessages.newMasterPasswordGenerated);
+
+ try {
+ saveMasterPassword(newPasswordString);
+ return new PBEKeySpec(newPasswordString.toCharArray());
+ } catch (SecurityException e) {
+ AuthPlugin.getDefault().logError(LinuxPasswordProviderMessages.saveMasterPasswordError, e);
+ return null;
+ }
+ }
+
+ @Override
+ public boolean isValid() {
+ try {
+ unlockSecretService();
+ return true;
+ } catch (SecurityException e) {
+ return false;
+ }
+ }
+
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/LinuxPasswordProviderMessages.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/LinuxPasswordProviderMessages.java
new file mode 100644
index 000000000000..8e8d859814bd
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/LinuxPasswordProviderMessages.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2017 IBM Corporation and others.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Julien HENRY - Linux implementation
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+import org.eclipse.osgi.util.NLS;
+
+public class LinuxPasswordProviderMessages extends NLS {
+
+ private static final String BUNDLE_NAME = "org.eclipse.equinox.internal.security.linux.messages"; //$NON-NLS-1$
+
+ public static String getMasterPasswordError;
+ public static String saveMasterPasswordError;
+ public static String newMasterPasswordGenerated;
+
+ static {
+ // load message values from bundle file
+ reloadMessages();
+ }
+
+ public static void reloadMessages() {
+ NLS.initializeMessages(BUNDLE_NAME, LinuxPasswordProviderMessages.class);
+ }
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretCollectionFlags.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretCollectionFlags.java
new file mode 100644
index 000000000000..7746b40a69da
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretCollectionFlags.java
@@ -0,0 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2020 Red Hat Inc.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Red Hat Inc. - initial version
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+public class SecretCollectionFlags {
+ public final static int SECRET_COLLECTION_NONE = 0 << 0;
+ public final static int SECRET_COLLECTION_LOAD_ITEMS = 1 << 1;
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchema.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchema.java
new file mode 100644
index 000000000000..9db5f7e6f41e
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchema.java
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (c) 2020, 2021 Red Hat Inc.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Red Hat Inc. - initial version
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+import java.util.List;
+
+import com.sun.jna.Pointer;
+import com.sun.jna.Structure;
+
+public class SecretSchema extends Structure {
+ public String name;
+ public int flags;
+ public SecretSchemaAttribute[] attributes = new SecretSchemaAttribute[32];
+
+ /* <private> */
+ public int reserved;
+ public Pointer reserved1;
+ public Pointer reserved2;
+ public Pointer reserved3;
+ public Pointer reserved4;
+ public Pointer reserved5;
+ public Pointer reserved6;
+ public Pointer reserved7;
+
+ public SecretSchema(String name, int flags, SecretSchemaAttribute... attributes) {
+ this.name = name;
+ this.flags = flags;
+ for (int i = 0; i < attributes.length; ++i) {
+ this.attributes[i] = attributes[i];
+ }
+ write();
+ }
+
+ @Override
+ protected List<String> getFieldOrder() {
+ return List.of("name", "flags", "attributes", "reserved", "reserved1", "reserved2", "reserved3", "reserved4", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$
+ "reserved5", "reserved6", "reserved7"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ }
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaAttribute.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaAttribute.java
new file mode 100644
index 000000000000..c4aa7865f265
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaAttribute.java
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2020, 2021 Red Hat Inc.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Red Hat Inc. - initial version
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+import java.util.List;
+
+import com.sun.jna.Structure;
+
+public class SecretSchemaAttribute extends Structure {
+ public String name;
+ public int type;
+
+ public SecretSchemaAttribute() {
+ }
+
+ public SecretSchemaAttribute(String name, int type) {
+ this.name = name;
+ this.type = type;
+ write();
+ }
+
+ @Override
+ protected List<String> getFieldOrder() {
+ return List.of("name", "type"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaAttributeType.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaAttributeType.java
new file mode 100644
index 000000000000..d6b5fa6ba2ef
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaAttributeType.java
@@ -0,0 +1,20 @@
+/*******************************************************************************
+ * Copyright (c) 2020 Red Hat Inc.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Red Hat Inc. - initial version
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+public class SecretSchemaAttributeType {
+ public static int SECRET_SCHEMA_ATTRIBUTE_STRING = 0;
+ public static int SECRET_SCHEMA_ATTRIBUTE_INTEGER = 1;
+ public static int SECRET_SCHEMA_ATTRIBUTE_BOOLEAN = 2;
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaFlags.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaFlags.java
new file mode 100644
index 000000000000..69f30945415d
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretSchemaFlags.java
@@ -0,0 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2020 Red Hat Inc.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Red Hat Inc. - initial version
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+public class SecretSchemaFlags {
+ public static int SECRET_SCHEMA_NONE = 0;
+ public static int SECRET_SCHEMA_DONT_MATCH_NAME = (1 << 1);
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretServiceFlags.java b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretServiceFlags.java
new file mode 100644
index 000000000000..bfa09bc34196
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/SecretServiceFlags.java
@@ -0,0 +1,20 @@
+/*******************************************************************************
+ * Copyright (c) 2020 Red Hat Inc.
+ *
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Red Hat Inc. - initial version
+ *******************************************************************************/
+package org.eclipse.equinox.internal.security.linux;
+
+public class SecretServiceFlags {
+ public final static int SECRET_SERVICE_NONE = 0;
+ public final static int SECRET_SERVICE_OPEN_SESSION = 1 << 1;
+ public final static int SECRET_SERVICE_LOAD_COLLECTIONS = 1 << 2;
+}
diff --git a/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/messages.properties b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/messages.properties
new file mode 100644
index 000000000000..89797683736b
--- /dev/null
+++ b/java/eclipse/files/addons/equinox/bundles/org.eclipse.equinox.security.freebsd/src/org/eclipse/equinox/internal/security/linux/messages.properties
@@ -0,0 +1,18 @@
+###############################################################################
+# Copyright (c) 2017 IBM Corporation and others.
+#
+# This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License 2.0
+# which accompanies this distribution, and is available at
+# https://www.eclipse.org/legal/epl-2.0/
+#
+# SPDX-License-Identifier: EPL-2.0
+#
+# Contributors:
+# Julien HENRY - Linux implementation
+###############################################################################
+
+## Linux libsecure integration module
+getMasterPasswordError=Secure storage was unable to retrieve the master password from the password storage. If secure storage was created using a different user account, you'll have to switch back to that account. Alternatively, you can use the password recovery, or delete and re-create secure storage.
+saveMasterPasswordError=Secure storage was unable to save the master password.
+newMasterPasswordGenerated=New secure storage master password was generated (Linux libsecret integration module).
diff --git a/java/eclipse/files/patch-eclipse b/java/eclipse/files/patch-eclipse
new file mode 100644
index 000000000000..8bbb03874f44
--- /dev/null
+++ b/java/eclipse/files/patch-eclipse
@@ -0,0 +1,1490 @@
+--- eclipse-platform-parent/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse-platform-parent/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -77,9 +77,9 @@
+ 'eclipiserun-repo' repository, such as for computing .api-descriptions and
+ generating API Tools reports.
+ -->
+- <eclipserun-repo>https://download.eclipse.org/eclipse/updates/4.32-I-builds/</eclipserun-repo>
++ <eclipserun-repo>https://download.eclipse.org/eclipse/updates/4.32/</eclipserun-repo>
+
+- <comparator.repo>https://download.eclipse.org/eclipse/updates/4.32-I-builds</comparator.repo>
++ <comparator.repo>https://download.eclipse.org/eclipse/updates/4.32</comparator.repo>
+
+ <!-- only used when Tycho snapshot repo is enabled in <pluginRepositories> further down -->
+ <tycho-snapshot-repo.url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</tycho-snapshot-repo.url>
+@@ -246,6 +246,26 @@
+ </target>
+ <environments>
+ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>x86_64</arch>
++ </environment>
++ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>powerpc64</arch>
++ </environment>
++ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>powerpc64le</arch>
++ </environment>
++ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>aarch64</arch>
++ </environment>
++ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+@@ -809,7 +829,7 @@
+ For maintenance streams should always be "M-builds".
+ Ideally, this value would be provided by the environment, see bug 489789.
+ -->
+- <eclipse-p2-repo.url>https://download.eclipse.org/eclipse/updates/4.32-I-builds</eclipse-p2-repo.url>
++ <eclipse-p2-repo.url>https://download.eclipse.org/eclipse/updates/4.32</eclipse-p2-repo.url>
+ </properties>
+ <repositories>
+ <repository>
+--- eclipse.pde/build/org.eclipse.pde.build/scripts/productBuild/allElements.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.pde/build/org.eclipse.pde.build/scripts/productBuild/allElements.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -66,6 +66,13 @@
+ </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"/>
++ </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}">
+--- eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java 0000-00-00 00:00:00.000000000 +0000
+@@ -646,7 +646,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();
+ }
+ }
+--- eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java 0000-00-00 00:00:00.000000000 +0000
+@@ -922,7 +922,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();
+ }
+ }
+--- eclipse.pde/build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.pde/build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java 0000-00-00 00:00:00.000000000 +0000
+@@ -325,6 +325,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$
+--- eclipse.pde/build/org.eclipse.pde.build/templates/packager/customTargets.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.pde/build/org.eclipse.pde.build/templates/packager/customTargets.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -25,4 +25,10 @@
+ </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>
+--- eclipse.pde/build/org.eclipse.pde.build/templates/packager/packaging.properties 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.pde/build/org.eclipse.pde.build/templates/packager/packaging.properties 0000-00-00 00:00:00.000000000 +0000
+@@ -20,3 +20,4 @@
+
+ root.win32.win32.x86_64=eclipse.exe, eclipsec.exe
+ root.linux.gtk.x86_64=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
++root.freebsd.gtk.x86_64=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
+--- eclipse.pde/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.pde/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java 0000-00-00 00:00:00.000000000 +0000
+@@ -170,7 +170,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$
+
+--- eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java 0000-00-00 00:00:00.000000000 +0000
+@@ -69,8 +69,8 @@
+ private FormEntry fCustomEntry;
+ private boolean fBlockChanges;
+
+- private static final String[] TAB_LABELS = { "linux", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+- private static final String[] TAB_OS = { Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
++ private static final String[] TAB_LABELS = { "linux", "freebsd", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
++ private static final String[] TAB_OS = { Platform.OS_LINUX, Platform.OS_FREEBSD, Platform.OS_MACOSX, Platform.OS_WIN32 };
+
+ private CTabFolder fTabFolder;
+ private int fLastTab;
+--- eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java 0000-00-00 00:00:00.000000000 +0000
+@@ -80,8 +80,8 @@
+ private ComboViewerPart fEEsCombo;
+ private boolean fBlockChanges;
+
+- private static final String[] TAB_LABELS = { "linux", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+- private static final String[] TAB_OS = { Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
++ private static final String[] TAB_LABELS = { "linux", "freebsd", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
++ private static final String[] TAB_OS = { Platform.OS_LINUX, Platform.OS_FREEBSD, Platform.OS_MACOSX, Platform.OS_WIN32 };
+
+ private CTabFolder fTabFolder;
+ private int fLastTab;
+--- eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java 0000-00-00 00:00:00.000000000 +0000
+@@ -149,7 +149,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,freebsd,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
+
+ presentation.add(implementation);
+
+--- eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -137,6 +137,11 @@
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>x86_64</arch>
++ </environment>
++ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86_64</arch>
+--- eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.product 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.product 0000-00-00 00:00:00.000000000 +0000
+@@ -19,6 +19,7 @@
+ location="org.eclipse.platform" />
+ <launcher name="eclipse">
+ <linux icon="icons/icon.xpm"/>
++ <freebsd icon="icons/icon.xpm"/>
+ <macosx icon="icons/Eclipse.icns"/>
+ <win useIco="false">
+ <bmp/>
+--- eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -125,9 +125,9 @@
+ <execution>
+ <id>mirror-build</id>
+ <phase>generate-resources</phase>
+- <goals>
++ <!--<goals>
+ <goal>mirror</goal>
+- </goals>
++ </goals>-->
+ <configuration>
+ <source>
+ <!-- source repositories to mirror from -->
+@@ -395,6 +395,7 @@
+ <formats>
+ <win32>zip</win32>
+ <linux>tar.gz</linux>
++ <freebsd>tar.gz</freebsd>
+ <macosx>tar.gz</macosx>
+ </formats>
+ </configuration>
+--- eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/sdk.product 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/sdk.product 0000-00-00 00:00:00.000000000 +0000
+@@ -19,6 +19,7 @@
+ location="org.eclipse.platform" />
+ <launcher name="eclipse">
+ <linux icon="icons/icon.xpm"/>
++ <freebsd icon="icons/icon.xpm"/>
+ <macosx icon="icons/Eclipse.icns"/>
+ <win useIco="false">
+ <bmp/>
+--- eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/testManifest.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/testManifest.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -22,14 +22,30 @@
+ name="Linux (64 bit version)"
+ fileName="eclipse-SDK-${BUILD_ID}-linux-gtk-x86_64.tar.gz"></platform>
+ <platform
++ id="SLG264F"
++ name="FreeBSD (64 bit version)"
++ fileName="eclipse-SDK-${BUILD_ID}-freebsd-gtk-x86_64.tar.gz"></platform>
++ <platform
+ id="SLG2PPC64LE"
+ name="Linux (64 bit version for Power PC)"
+ fileName="eclipse-SDK-${BUILD_ID}-linux-gtk-ppc64le.tar.gz"></platform>
+ <platform
++ id="SLG2PPC64LEF"
++ name="FreeBSD (64 bit version for Power PC)"
++ fileName="eclipse-SDK-${BUILD_ID}-freebsd-gtk-powerpc64.tar.gz"></platform>
++ <platform
++ id="SLG2PPC64LEF2"
++ name="FreeBSD (64 bit version for Power PC)"
++ fileName="eclipse-SDK-${BUILD_ID}-freebsd-gtk-powerpc64le.tar.gz"></platform>
++ <platform
+ id="SLG2AARCH64"
+ name="Linux (64 bit version for AArch64)"
+ fileName="eclipse-SDK-${BUILD_ID}-linux-gtk-aarch64.tar.gz"></platform>
+ <platform
++ id="SLG2AARCH64F"
++ name="FreeBSD (64 bit version for AArch64)"
++ fileName="eclipse-SDK-${BUILD_ID}-freebsd-gtk-aarch64.tar.gz"></platform>
++ <platform
+ id="SMCC64"
+ name="Mac OSX (64 bit version)"
+ fileName="eclipse-SDK-${BUILD_ID}-macosx-cocoa-x86_64.dmg"></platform>
+@@ -71,14 +87,30 @@
+ name="Linux (64 bit version)"
+ fileName="eclipse-platform-${BUILD_ID}-linux-gtk-x86_64.tar.gz"></platform>
+ <platform
++ id="PLG264F"
++ name="FreeBSD (64 bit version)"
++ fileName="eclipse-platform-${BUILD_ID}-freebsd-gtk-x86_64.tar.gz"></platform>
++ <platform
+ id="PLG2PPC64LE"
+ name="Linux (64 bit version for Power PC)"
+ fileName="eclipse-platform-${BUILD_ID}-linux-gtk-ppc64le.tar.gz"></platform>
+ <platform
++ id="PLG2PPC64LEF"
++ name="FreeBSD (64 bit version for Power PC)"
++ fileName="eclipse-platform-${BUILD_ID}-freebsd-gtk-powerpc64.tar.gz"></platform>
++ <platform
++ id="PLG2PPC64LEF2"
++ name="Linux (64 bit version for Power PC)"
++ fileName="eclipse-platform-${BUILD_ID}-freebsd-gtk-powerpc64le.tar.gz"></platform>
++ <platform
+ id="PLG2AARCH64"
+ name="Linux (64 bit version for AArch64)"
+ fileName="eclipse-platform-${BUILD_ID}-linux-gtk-aarch64.tar.gz"></platform>
+ <platform
++ id="PLG2AARCH64F"
++ name="FreeBSD (64 bit version for AArch64)"
++ fileName="eclipse-platform-${BUILD_ID}-freebsd-gtk-aarch64.tar.gz"></platform>
++ <platform
+ id="PMCC64"
+ name="Mac OSX (64 bit version)"
+ fileName="eclipse-platform-${BUILD_ID}-macosx-cocoa-x86_64.dmg"></platform>
+@@ -117,13 +149,29 @@
+ name="Linux (64 bit version)"
+ fileName="swt-${BUILD_ID}-gtk-linux-x86_64.zip"></platform>
+ <platform
++ id="SWTLG64F"
++ name="FreeBSD (64 bit version)"
++ fileName="swt-${BUILD_ID}-gtk-freebsd-x86_64.zip"></platform>
++ <platform
+ id="SWTLG2PPC64LE"
+ name="Linux (64 bit version for Power PC)"
+ fileName="swt-${BUILD_ID}-gtk-linux-ppc64le.zip"></platform>
+ <platform
++ id="SWTLG2PPC64LEF"
++ name="FreeBSD (64 bit version for Power PC)"
++ fileName="swt-${BUILD_ID}-gtk-freebsd-powerpc64.zip"></platform>
++ <platform
++ id="SWTLG2PPC64LEF2"
++ name="FreeBSD (64 bit version for Power PC)"
++ fileName="swt-${BUILD_ID}-gtk-freebsd-powerpc64le.zip"></platform>
++ <platform
+ id="SWTLG2AARCH64"
+ name="Linux (64 bit version for AArch64)"
+ fileName="swt-${BUILD_ID}-gtk-linux-aarch64.zip"></platform>
++ <platform
++ id="SWTLG2AARCH64F"
++ name="FreeBSD (64 bit version for AArch64)"
++ fileName="swt-${BUILD_ID}-gtk-freebsd-aarch64.zip"></platform>
+ <platform
+ id="SWTMCC64"
+ name="Mac OSX (64 bit version)"
+--- eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/EclipseRTOSGiStarterKit.product 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/EclipseRTOSGiStarterKit.product 0000-00-00 00:00:00.000000000 +0000
+@@ -19,6 +19,7 @@
+
+ <launcher name="rt">
+ <linux icon="icon.xpm"/>
++ <freebsd icon="icon.xpm"/>
+ <macosx icon="rt.icns"/>
+ <win useIco="true">
+ <ico path="rt.ico"/>
+--- eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -46,6 +46,11 @@
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>x86_64</arch>
++ </environment>
++ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86_64</arch>
+@@ -96,6 +101,7 @@
+ <formats>
+ <win32>zip</win32>
+ <linux>tar.gz</linux>
++ <freebsd>tar.gz</freebsd>
+ <macosx>tar.gz</macosx>
+ </formats>
+ </configuration>
+--- eclipse.platform.releng.tychoeclipsebuilder/equinox/buildConfigs/equinox-launchers/build.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/equinox/buildConfigs/equinox-launchers/build.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -18,6 +18,10 @@
+ <buildRepos os="linux" ws="gtk" arch="x86_64" archiveName="${archiveRoot}-linux.gtk.x86_64.${buildId}.tar.gz" />
+ <buildRepos os="linux" ws="gtk" arch="ppc64le" archiveName="${archiveRoot}-linux.gtk.ppc64le.${buildId}.tar.gz" />
+ <buildRepos os="linux" ws="gtk" arch="aarch64" archiveName="${archiveRoot}-linux.gtk.aarch64.${buildId}.tar.gz" />
++ <buildRepos os="freebsd" ws="gtk" arch="x86_64" archiveName="${archiveRoot}-freebsd.gtk.x86_64.${buildId}.tar.gz" />
++ <buildRepos os="freebsd" ws="gtk" arch="powerpc64" archiveName="${archiveRoot}-freebsd.gtk.powerpc64.${buildId}.tar.gz" />
++ <buildRepos os="freebsd" ws="gtk" arch="powerpc64le" archiveName="${archiveRoot}-freebsd.gtk.powerpc64le.${buildId}.tar.gz" />
++ <buildRepos os="freebsd" ws="gtk" arch="aarch64" archiveName="${archiveRoot}-freebsd.gtk.aarch64.${buildId}.tar.gz" />
+ <buildRepos os="macosx" ws="cocoa" arch="x86_64" archiveName="${archiveRoot}-macosx.cocoa.x86_64.${buildId}.tar.gz" />
+ <buildRepos os="macosx" ws="cocoa" arch="aarch64" archiveName="${archiveRoot}-macosx.cocoa.aarch64.${buildId}.tar.gz" />
+ </target>
+--- eclipse.platform.releng.tychoeclipsebuilder/equinox/publishingFiles/testManifest.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/equinox/publishingFiles/testManifest.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -263,6 +263,26 @@
+ fileName="launchers-linux.gtk.aarch64.${BUILD_ID}.tar.gz" />
+ <platform
+ format="equinox"
++ id="SLG264F"
++ name="FreeBSD (x86_64/GTK+)"
++ fileName="launchers-freebsd.gtk.x86_64.${BUILD_ID}.tar.gz" />
++ <platform
++ format="equinox"
++ id="SLG2PPC64LEF"
++ name="FreeBSD (powerpc64/GTK+)"
++ fileName="launchers-freebsd.gtk.powerpc64.${BUILD_ID}.tar.gz" />
++ <platform
++ format="equinox"
++ id="SLG2PPC64LEF2"
++ name="FreeBSD (powerpc64le/GTK+)"
++ fileName="launchers-freebsd.gtk.powerpc64le.${BUILD_ID}.tar.gz" />
++ <platform
++ format="equinox"
++ id="SLG2AARCH64F2"
++ name="FreeBSD (AARCH64/GTK+)"
++ fileName="launchers-freebsd.gtk.aarch64.${BUILD_ID}.tar.gz" />
++ <platform
++ format="equinox"
+ id="SMCC64"
+ name="Mac OSX (Mac/Cocoa/x86_64)"
+ fileName="launchers-macosx.cocoa.x86_64.${BUILD_ID}.tar.gz" />
+@@ -284,6 +304,11 @@
+ id="ESLG264"
+ name="Linux (x86_64/GTK+)"
+ fileName="EclipseRT-OSGi-StarterKit-${BUILD_ID}-linux-gtk-x86_64.tar.gz" />
++ <platform
++ format="equinox"
++ id="ESLG264F"
++ name="FreeBSD (x86_64/GTK+)"
++ fileName="EclipseRT-OSGi-StarterKit-${BUILD_ID}-freebsd-gtk-x86_64.tar.gz" />
+ <platform
+ format="equinox"
+ id="ESMCC64"
+--- eclipse.platform.releng.tychoeclipsebuilder/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -31,7 +31,7 @@
+ <module>rcp.config</module>
+ <module>equinox.starterkit.product</module>
+ <module>equinox-sdk</module>
+- <module>eclipse-junit-tests</module>
++ <!--<module>eclipse-junit-tests</module>-->
+ <module>eclipse.platform.repository</module>
+ </modules>
+
+--- eclipse.platform.releng.tychoeclipsebuilder/rcp.config/build.properties 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng.tychoeclipsebuilder/rcp.config/build.properties 0000-00-00 00:00:00.000000000 +0000
+@@ -44,6 +44,16 @@
+ root.linux.gtk.x86_64=rootfiles/linux.gtk.x86_64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/x86_64
+ root.linux.gtk.x86_64.permissions.755=eclipse
+
+-bin.includes = feature.properties
++root.freebsd.gtk.powerpc64=rootfiles/freebsd.gtk.powerpc64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/powerpc64
++root.freebsd.gtk.powerpc64.permissions.755=eclipse
+
++root.freebsd.gtk.powerpc64le=rootfiles/freebsd.gtk.powerpc64le,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/powerpc64le
++root.freebsd.gtk.powerpc64le.permissions.755=eclipse
+
++root.freebsd.gtk.aarch64=rootfiles/freebsd.gtk.aarch64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/aarch64
++root.freebsd.gtk.aarch64.permissions.755=eclipse
++
++root.freebsd.gtk.x86_64=rootfiles/freebsd.gtk.x86_64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/x86_64
++root.freebsd.gtk.x86_64.permissions.755=eclipse
++
++bin.includes = feature.properties
+--- eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -75,6 +75,11 @@
+ version="0.0.0"/>
+
+ <plugin
++ id="org.eclipse.core.net.freebsd"
++ os="freebsd"
++ version="0.0.0"/>
++
++ <plugin
+ id="org.eclipse.core.net.win32"
+ os="win32"
+ version="0.0.0"/>
+@@ -223,6 +228,12 @@
+ version="0.0.0"/>
+
+ <plugin
++ id="org.eclipse.core.filesystem.freebsd.x86_64"
++ os="freebsd"
++ arch="x86_64"
++ version="0.0.0"/>
++
++ <plugin
+ id="org.eclipse.core.filesystem.macosx"
+ os="macosx"
+ version="0.0.0"/>
+@@ -246,12 +257,30 @@
+ version="0.0.0"/>
+
+ <plugin
++ id="org.eclipse.core.filesystem.freebsd.powerpc64"
++ os="freebsd"
++ arch="powerpc64"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.core.filesystem.freebsd.powerpc64le"
++ os="freebsd"
++ arch="powerpc64le"
++ version="0.0.0"/>
++
++ <plugin
+ id="org.eclipse.core.filesystem.linux.aarch64"
+ os="linux"
+ arch="aarch64"
+ version="0.0.0"/>
+
+ <plugin
++ id="org.eclipse.core.filesystem.freebsd.aarch64"
++ os="freebsd"
++ arch="aarch64"
++ version="0.0.0"/>
++
++ <plugin
+ id="org.eclipse.core.variables"
+ version="0.0.0"/>
+
+@@ -284,6 +313,11 @@
+ <plugin
+ id="org.eclipse.equinox.security.linux"
+ os="linux"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.equinox.security.freebsd"
++ os="freebsd"
+ version="0.0.0"/>
+
+ <plugin
+--- eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -57,9 +57,12 @@
+ <excludes>
+ <plugin id="org.eclipse.platform.doc.user"/>
+ <plugin id="org.eclipse.core.filesystem.linux.x86_64"/>
++ <plugin id="org.eclipse.core.filesystem.freebsd.x86_64"/>
+ <plugin id="org.eclipse.core.filesystem.macosx"/>
+ <plugin id="org.eclipse.core.filesystem.win32.x86_64"/>
+ <plugin id="org.eclipse.core.filesystem.linux.ppc64le"/>
++ <plugin id="org.eclipse.core.filesystem.freebsd.powerpc64"/>
++ <plugin id="org.eclipse.core.filesystem.freebsd.powerpc64le"/>
+ <plugin id="org.eclipse.core.resources.win32.x86_64"/>
+ </excludes>
+ </configuration>
+--- eclipse.platform.releng/publish-to-maven-central/SDK4Mvn.aggr 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.releng/publish-to-maven-central/SDK4Mvn.aggr 0000-00-00 00:00:00.000000000 +0000
+@@ -2,15 +2,19 @@
+ <aggregator:Aggregation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:aggregator="http://www.eclipse.org/cbi/p2repo/2011/aggregator/1.1.0" label="SDK4Mvn" packedStrategy="UNPACK_AS_SIBLING" type="R" mavenResult="true" versionFormat="MavenRelease" includeSources="true">
+ <validationSets label="main">
+ <contributions label="sdk">
+- <repositories enabled="false" location="/home/data/httpd/download.eclipse.org/eclipse/updates/4.32-I-builds"/>
++ <repositories enabled="false" location="/home/data/httpd/download.eclipse.org/eclipse/updates/4.32"/>
+ </contributions>
+ <contributions label="sdk_http">
+- <repositories location="https://download.eclipse.org/eclipse/updates/4.32-I-builds"/>
++ <repositories location="https://download.eclipse.org/eclipse/updates/4.32"/>
+ </contributions>
+ </validationSets>
+ <configurations operatingSystem="linux" windowSystem="gtk" architecture="aarch64"/>
+ <configurations operatingSystem="linux" windowSystem="gtk" architecture="ppc64le"/>
+ <configurations operatingSystem="linux" windowSystem="gtk" architecture="x86_64"/>
++ <configurations operatingSystem="freebsd" windowSystem="gtk" architecture="aarch64"/>
++ <configurations operatingSystem="freebsd" windowSystem="gtk" architecture="x86_64"/>
++ <configurations operatingSystem="freebsd" windowSystem="gtk" architecture="powerpc64"/>
++ <configurations operatingSystem="freebsd" windowSystem="gtk" architecture="powerpc64le"/>
+ <configurations operatingSystem="macosx" windowSystem="cocoa" architecture="x86_64"/>
+ <configurations operatingSystem="macosx" windowSystem="cocoa" architecture="aarch64"/>
+ <configurations architecture="x86_64"/>
+--- eclipse.platform.swt/binaries/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.swt/binaries/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -38,6 +38,10 @@
+ <module>org.eclipse.swt.gtk.linux.aarch64</module>
+ <module>org.eclipse.swt.gtk.linux.ppc64le</module>
+ <module>org.eclipse.swt.gtk.linux.x86_64</module>
++ <module>org.eclipse.swt.gtk.freebsd.aarch64</module>
++ <module>org.eclipse.swt.gtk.freebsd.powerpc64</module>
++ <module>org.eclipse.swt.gtk.freebsd.powerpc64le</module>
++ <module>org.eclipse.swt.gtk.freebsd.x86_64</module>
+ <module>org.eclipse.swt.win32.win32.aarch64</module>
+ <module>org.eclipse.swt.win32.win32.x86_64</module>
+ </modules>
+--- eclipse.platform.swt/bundles/org.eclipse.swt.tools/Oomph/platformSwt.setup 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.swt/bundles/org.eclipse.swt.tools/Oomph/platformSwt.setup 0000-00-00 00:00:00.000000000 +0000
+@@ -69,7 +69,7 @@
+ xsi:type="predicates:OrPredicate">
+ <operand
+ xsi:type="predicates:NamePredicate"
+- pattern=".*(cocoa|gtk|win32)(\.(macosx|aix|hpux|linux|solaris|win32)(\.(x86_64|ppc64|ia64|aarch64|arm|ppc64|ppc64le|s390|s390x|x86|sparcv9))?)?"/>
++ pattern=".*(cocoa|gtk|win32)(\.(freebsd|macosx|aix|hpux|linux|solaris|win32)(\.(x86_64|x86_64|ppc64|ia64|aarch64|arm|ppc64|ppc64le|s390|s390x|x86|sparcv9))?)?"/>
+ <operand
+ xsi:type="predicates:NamePredicate"
+ pattern="org\.eclipse\.swt\.opengl\.examples">
+--- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java 0000-00-00 00:00:00.000000000 +0000
+@@ -68,13 +68,14 @@
+
+ static String arch() {
+ String osArch = System.getProperty("os.arch"); //$NON-NLS-1$
+- if (osArch.equals ("amd64")) return "x86_64"; //$NON-NLS-1$ $NON-NLS-2$
++ // if (osArch.equals ("x86_64")) return "x86_64"; //$NON-NLS-1$ $NON-NLS-2$
+ return osArch;
+ }
+
+ static String os() {
+ String osName = System.getProperty("os.name"); //$NON-NLS-1$
+ if (osName.equals ("Linux")) return "linux"; //$NON-NLS-1$ $NON-NLS-2$
++ if (osName.equals ("FreeBSD")) return "freebsd"; //$NON-NLS-1$ $NON-NLS-2$
+ if (osName.equals ("Mac OS X")) return "macosx"; //$NON-NLS-1$ $NON-NLS-2$
+ if (osName.startsWith ("Win")) return "win32"; //$NON-NLS-1$ $NON-NLS-2$
+ return osName;
+--- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh 0000-00-00 00:00:00.000000000 +0000
+@@ -72,7 +72,7 @@
+
+ cd `dirname $0`
+
+-MAKE_TYPE=make
++MAKE_TYPE=gmake
+
+ export CFLAGS='-O -Wall -fPIC'
+
+@@ -82,27 +82,30 @@
+ fi
+ case $OS in
+ *)
+- SWT_OS=`uname -s | tr -s '[:upper:]' '[:lower:]'`
++ SWT_OS=`uname -s | tr '[:upper:]' '[:lower:]'`
+ MAKEFILE=make_linux.mak
+ ;;
+ esac
+
+ # Determine which CPU type we are building for
+ if [ "${MODEL}" = "" ]; then
+- if uname -i > /dev/null 2>&1; then
+- MODEL=`uname -i`
+- if [ ${MODEL} = 'unknown' ]; then
+- MODEL=`uname -m`
+- fi
+- else
+- MODEL=`uname -m`
+- fi
++ MODEL=`uname -m`
+ fi
+ case $MODEL in
+ "x86_64")
+ SWT_ARCH=x86_64
+- AWT_ARCH=amd64
++ AWT_ARCH=x86_64
+ ;;
++ "powerpc" | "powerpc64")
++ SWT_ARCH=ppc64
++ AWT_ARCH=ppc64
++ MODEL=`uname -p`
++ ;;
++ "powerpc64le")
++ SWT_ARCH=ppc64le
++ AWT_ARCH=ppc64le
++ MODEL=`uname -p`
++ ;;
+ *)
+ SWT_ARCH=$MODEL
+ AWT_ARCH=$MODEL
+@@ -134,11 +137,35 @@
+ export PKG_CONFIG_PATH="/usr/lib64/pkgconfig/"
+ fi
+ ;;
++ "freebsd.x86_64")
++ if [ "${CC}" = "" ]; then
++ export CC=cc
++ fi
++ if [ "${PKG_CONFIG_PATH}" = "" ]; then
++ export PKG_CONFIG_PATH="/usr/lib64/pkgconfig"
++ fi
++ ;;
++ "freebsd.ppc64")
++ if [ "${CC}" = "" ]; then
++ export CC=cc
++ fi
++ if [ "${PKG_CONFIG_PATH}" = "" ]; then
++ export PKG_CONFIG_PATH="/usr/lib64/pkgconfig/"
++ fi
++ ;;
++ "freebsd.aarch64")
++ if [ "${CC}" = "" ]; then
++ export CC=cc
++ fi
++ if [ "${PKG_CONFIG_PATH}" = "" ]; then
++ export PKG_CONFIG_PATH="/usr/lib64/pkgconfig/"
++ fi
++ ;;
+ esac
+
+
+ # For 64-bit CPUs, we have a switch
+-if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'ppc64le' -o ${MODEL} = 'aarch64' -o ${MODEL} = 'loongarch64' ]; then
++if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'ppc64le' -o ${MODEL} = 'powerpc64' -o ${MODEL} = 'powerpc64le' -o ${MODEL} = 'aarch64' -o ${MODEL} = 'loongarch64' ]; then
+ SWT_PTR_CFLAGS=-DJNI64
+ if [ -d /lib64 ]; then
+ XLIB64=-L/usr/X11R6/lib64
+@@ -149,6 +176,11 @@
+ XLIB64="${XLIB64} -L/usr/lib64"
+ SWT_LFLAGS=-m64
+ export SWT_LFLAGS
++ fi
++ if [ ${SWT_OS} = "freebsd" ]
++ then
++ SWT_PTR_CFLAGS="${SWT_PTR_CFLAGS} -m64"
++ export SWT_LFLAGS=-m64
+ fi
+ export SWT_PTR_CFLAGS
+ fi
+--- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak 0000-00-00 00:00:00.000000000 +0000
+@@ -99,15 +99,18 @@
+ WEBKIT_OBJECTS = swt.o webkitgtk.o webkitgtk_structs.o webkitgtk_stats.o webkitgtk_custom.o
+ GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o
+
++port_prefix=`pkg-config --variable=prefix gtk+-3.0`
+ CFLAGS := $(CFLAGS) \
+ -DSWT_VERSION=$(SWT_VERSION) \
+ $(SWT_DEBUG) \
+ $(SWT_WEBKIT_DEBUG) \
+- -DLINUX -DGTK \
++ -DFREEBSD -DGTK \
++ -Wno-deprecated-non-prototype \
++ -I$(port_prefix)/include \
+ -I$(SWT_JAVA_HOME)/include \
+- -I$(SWT_JAVA_HOME)/include/linux \
++ -I$(SWT_JAVA_HOME)/include/freebsd \
+ ${SWT_PTR_CFLAGS}
+-LFLAGS = -shared -fPIC ${SWT_LFLAGS}
++LFLAGS = -shared -fPIC ${SWT_LFLAGS} -L$(port_prefix)/lib
+
+ # Treat all warnings as errors. If your new code produces a warning, please
+ # take time to properly understand and fix/silence it as necessary.
+--- eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf 0000-00-00 00:00:00.000000000 +0000
+@@ -39,3 +39,24 @@
+ requires.8.name = org.eclipse.swt.win32.win32.aarch64
+ requires.8.range = [$version$,$version$]
+ requires.8.filter = (&(osgi.os=win32)(osgi.ws=win32)(osgi.arch=aarch64)(!(org.eclipse.swt.buildtime=true)))
++
++requires.9.namespace = org.eclipse.equinox.p2.iu
++requires.9.name = org.eclipse.swt.gtk.freebsd.x86_64
++requires.9.range = [$version$,$version$]
++requires.9.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=x86_64)(!(org.eclipse.swt.buildtime=true)))
++
++requires.10.namespace = org.eclipse.equinox.p2.iu
++requires.10.name = org.eclipse.swt.gtk.freebsd.powerpc64
++requires.10.range = [$version$,$version$]
++requires.10.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=powerpc64)(!(org.eclipse.swt.buildtime=true)))
++
++requires.11.namespace = org.eclipse.equinox.p2.iu
++requires.11.name = org.eclipse.swt.gtk.freebsd.powerpc64le
++requires.11.range = [$version$,$version$]
++requires.11.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=powerpc64le)(!(org.eclipse.swt.buildtime=true)))
++
++requires.12.namespace = org.eclipse.equinox.p2.iu
++requires.12.name = org.eclipse.swt.gtk.freebsd.aarch64
++requires.12.range = [$version$,$version$]
++requires.12.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=aarch64)(!(org.eclipse.swt.buildtime=true)))
++
+--- eclipse.platform.swt/local-build/org.eclipse.swt.fragments.localbuild/META-INF/p2.inf 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.swt/local-build/org.eclipse.swt.fragments.localbuild/META-INF/p2.inf 0000-00-00 00:00:00.000000000 +0000
+@@ -33,3 +33,23 @@
+ requires.7.name = org.eclipse.swt.win32.win32.aarch64
+ requires.7.range = 0.0.0
+ requires.7.filter = (&(osgi.os=win32)(osgi.ws=win32)(osgi.arch=aarch64))
++
++requires.8.namespace = org.eclipse.equinox.p2.iu
++requires.8.name = org.eclipse.swt.gtk.freebsd.x86_64
++requires.8.range = 0.0.0
++requires.8.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=x86_64))
++
++requires.9.namespace = org.eclipse.equinox.p2.iu
++requires.9.name = org.eclipse.swt.gtk.freebsd.powerpc64
++requires.9.range = 0.0.0
++requires.9.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=powerpc64))
++
++requires.10.namespace = org.eclipse.equinox.p2.iu
++requires.10.name = org.eclipse.swt.gtk.freebsd.powerpc64le
++requires.10.range = 0.0.0
++requires.10.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=powerpc64le))
++
++requires.11.namespace = org.eclipse.equinox.p2.iu
++requires.11.name = org.eclipse.swt.gtk.freebsd.aarch64
++requires.11.range = 0.0.0
++requires.11.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=aarch64))
+--- eclipse.platform.swt/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.swt/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -116,11 +116,11 @@
+ <activation>
+ <os>
+ <family>unix</family>
+- <name>Linux</name>
++ <!-- <name>Linux</name> -->
+ </os>
+ </activation>
+ <modules>
+- <module>tests/org.eclipse.swt.tests.gtk</module>
++ <!-- <module>tests/org.eclipse.swt.tests.gtk</module> -->
+ </modules>
+ <build>
+ <plugins>
+@@ -138,6 +138,21 @@
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>ppc64le</arch>
++ </environment>
++ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>x86_64</arch>
++ </environment>
++ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>powerpc64</arch>
++ </environment>
++ <environment>
++ <os>freebsd</os>
++ <ws>gtk</ws>
++ <arch>powerpc64le</arch>
+ </environment>
+ </environments>
+ </configuration>
+--- eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -94,7 +94,7 @@
+ <browser
+ id="org.eclipse.ui.browser.firefox"
+ name="%browserFirefox"
+- os="linux,aix,hpux,solaris"
++ os="freebsd,linux,aix,hpux,solaris"
+ executable="firefox"
+ factoryclass="org.eclipse.ui.internal.browser.browsers.MozillaFactory">
+ <location>
+@@ -104,28 +104,28 @@
+ <browser
+ id="org.eclipse.ui.browser.chrome"
+ name="%browserChrome"
+- os="linux,aix,hpux,solaris"
++ os="freebsd,linux,aix,hpux,solaris"
+ executable="google-chrome">
+ <location>usr/bin/google-chrome</location>
+ </browser>
+ <browser
+ id="org.eclipse.ui.browser.chromium"
+ name="%browserChromium"
+- os="linux"
++ os="freebsd,linux"
+ executable="chromium-browser">
+ <location>usr/bin/chromium-browser</location>
+ </browser>
+ <browser
+ id="org.eclipse.ui.browser.konqueror"
+ name="%browserKonqueror"
+- os="linux,aix,hpux,solaris"
++ os="freebsd,linux,aix,hpux,solaris"
+ executable="konqueror">
+ <location>usr/bin/konqueror</location>
+ </browser>
+ <browser
+ id="org.eclipse.ui.browser.epiphany"
+ name="%browserEpiphany"
+- os="linux"
++ os="freebsd,linux"
+ executable="epiphany">
+ <location>
+ usr/bin/epiphany
+--- eclipse.platform.ui/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.ui/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java 0000-00-00 00:00:00.000000000 +0000
+@@ -212,6 +212,9 @@
+ if (Constants.OS_LINUX.equalsIgnoreCase(os)) {
+ tw += 1; // See Bug 342610
+ }
++ else if (Constants.OS_FREEBSD.equalsIgnoreCase(os)) {
++ tw += 1; // See Bug 342610
++ }
+ if (bsize != null)
+ tw -= bsize.x + SPACING;
+ if (msize != null)
+@@ -577,4 +580,4 @@
+ target.setTransfer(transferTypes);
+ target.addDropListener(listener);
+ }
+-}
+\ No newline at end of file
++}
+--- eclipse.platform.ui/bundles/org.eclipse.ui.themes/plugin.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.ui/bundles/org.eclipse.ui.themes/plugin.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -12,7 +12,7 @@
+ basestylesheeturi="css/e4-dark_linux.css"
+ id="org.eclipse.e4.ui.css.theme.e4_dark"
+ label="%theme.dark"
+- os="linux">
++ os="freebsd">
+ </theme>
+ <theme
+ basestylesheeturi="css/e4-dark_win.css"
+@@ -37,7 +37,7 @@
+ basestylesheeturi="css/e4_default_gtk.css"
+ id="org.eclipse.e4.ui.css.theme.e4_default"
+ label="%theme.gtk"
+- os="linux">
++ os="freebsd">
+ </theme>
+ <theme
+ basestylesheeturi="css/e4_default_mac.css"
+--- eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -218,6 +218,34 @@
+ version="0.0.0"/>
+
+ <plugin
++ id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64"
++ os="freebsd"
++ ws="gtk"
++ arch="powerpc64"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le"
++ os="freebsd"
++ ws="gtk"
++ arch="powerpc64le"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.equinox.launcher.gtk.freebsd.aarch64"
++ os="freebsd"
++ ws="gtk"
++ arch="aarch64"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.equinox.launcher.gtk.freebsd.x86_64"
++ os="freebsd"
++ ws="gtk"
++ arch="x86_64"
++ version="0.0.0"/>
++
++ <plugin
+ id="org.eclipse.equinox.launcher.win32.win32.aarch64"
+ os="win32"
+ ws="win32"
+@@ -266,6 +294,34 @@
+ <plugin
+ id="org.eclipse.swt.gtk.linux.x86_64"
+ os="linux"
++ ws="gtk"
++ arch="x86_64"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.swt.gtk.freebsd.powerpc64"
++ os="freebsd"
++ ws="gtk"
++ arch="powerpc64"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.swt.gtk.freebsd.powerpc64le"
++ os="freebsd"
++ ws="gtk"
++ arch="powerpc64le"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.swt.gtk.freebsd.aarch64"
++ os="freebsd"
++ ws="gtk"
++ arch="aarch64"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.swt.gtk.freebsd.x86_64"
++ os="freebsd"
+ ws="gtk"
+ arch="x86_64"
+ version="0.0.0"/>
+--- eclipse.platform.ui/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform.ui/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -88,6 +88,10 @@
+ <plugin id="org.eclipse.equinox.launcher.gtk.linux.ppc64le" />
+ <plugin id="org.eclipse.equinox.launcher.gtk.linux.aarch64" />
+ <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86_64" />
++ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.aarch" />
++ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.x86_64" />
++ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64" />
++ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le" />
+ <plugin id="org.eclipse.equinox.launcher.win32.win32.aarch64" />
+ <plugin id="org.eclipse.equinox.launcher.win32.win32.x86_64" />
+ </excludes>
+--- eclipse.platform/runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java 0000-00-00 00:00:00.000000000 +0000
++++ eclipse.platform/runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java 0000-00-00 00:00:00.000000000 +0000
+@@ -259,6 +259,8 @@
+ */
+ public static final String OS_LINUX = "linux";//$NON-NLS-1$
+
++ public static final String OS_FREEBSD = "freebsd";
++
+ /**
+ * Constant string (value "aix") indicating the platform is running on an
+ * AIX-based operating system.
+@@ -410,7 +412,7 @@
+ public static final String ARCH_AARCH64 = "aarch64";//$NON-NLS-1$
+
+ /**
+- * Constant string (value "amd64") indicating the platform is running on an
++ * Constant string (value "x86_64") indicating the platform is running on an
+ * AMD64-based architecture.
+ *
+ * @since 3.0
+--- equinox/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Constants.java 0000-00-00 00:00:00.000000000 +0000
++++ equinox/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Constants.java 0000-00-00 00:00:00.000000000 +0000
+@@ -17,9 +17,10 @@
+ * @author aniefer
+ */
+ class Constants {
+- public static final String INTERNAL_AMD64 = "amd64"; //$NON-NLS-1$
++ public static final String INTERNAL_AMD64 = "x86_64"; //$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$
+@@ -42,6 +43,7 @@
+ * Linux-based operating system.
+ */
+ public static final String OS_LINUX = "linux";//$NON-NLS-1$
++ public static final String OS_FREEBSD = "freebsd";//$NON-NLS-1$
+
+ /**
+ * Constant string (value "aix") indicating the platform is running on an
+--- equinox/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java 0000-00-00 00:00:00.000000000 +0000
++++ equinox/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java 0000-00-00 00:00:00.000000000 +0000
+@@ -431,17 +431,20 @@
+ }
+
+ private String getArch() {
+- if (arch != null)
++ if (arch != null) {
++ // if (arch.equals("x86_64")) return "x86_64";
+ return arch;
++ }
+ String osgiArch = System.getProperty(PROP_ARCH);
+ if (osgiArch != null) {
++ // if (osgiArch.equals("x86_64")) return "x86_64";
+ arch = osgiArch;
+ return arch;
+ }
+ String name = System.getProperty("os.arch");//$NON-NLS-1$
+- // Map amd64 architecture to x86_64
+- if (name.equalsIgnoreCase(Constants.INTERNAL_AMD64))
+- return Constants.ARCH_X86_64;
++ // Map x86_64 architecture to x86_64
++ // XXX if (name.equalsIgnoreCase(Constants.INTERNAL_AMD64))
++ // XXX return Constants.ARCH_X86_64;
+
+ return name;
+ }
+--- equinox/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java 0000-00-00 00:00:00.000000000 +0000
++++ equinox/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxConfiguration.java 0000-00-00 00:00:00.000000000 +0000
+@@ -90,9 +90,9 @@
+ // 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
++ // While we recognize the x86_64 architecture, we change
+ // this internally to be x86_64.
+- private static final String INTERNAL_AMD64 = "amd64"; //$NON-NLS-1$
++ private static final String INTERNAL_AMD64 = "x86_64"; //$NON-NLS-1$
+
+ public static final String VARIABLE_DELIM_STRING = "$"; //$NON-NLS-1$
+ public static final char VARIABLE_DELIM_CHAR = '$';
+@@ -1134,7 +1134,7 @@
+ // Map i386 architecture to x86
+ if (name.equalsIgnoreCase(INTERNAL_ARCH_I386))
+ archValue = Constants.ARCH_X86;
+- // Map amd64 architecture to x86_64
++ // Map x86_64 architecture to x86_64
+ else if (name.equalsIgnoreCase(INTERNAL_AMD64))
+ archValue = Constants.ARCH_X86_64;
+ else
+--- equinox/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java 0000-00-00 00:00:00.000000000 +0000
++++ equinox/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/service/environment/Constants.java 0000-00-00 00:00:00.000000000 +0000
+@@ -148,7 +148,7 @@
+ public static final String ARCH_X86_64 = "x86_64";//$NON-NLS-1$
+
+ /**
+- * Constant string (value "amd64") indicating the platform is running on an
++ * Constant string (value "x86_64") indicating the platform is running on an
+ * AMD64-based architecture.
+ *
+ * @deprecated use <code>ARCH_X86_64</code> instead. Note the values
+--- equinox/features/org.eclipse.equinox.core.sdk/feature.xml 0000-00-00 00:00:00.000000000 +0000
++++ equinox/features/org.eclipse.equinox.core.sdk/feature.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -92,6 +92,16 @@
+ version="0.0.0"/>
+
+ <plugin
++ id="org.eclipse.equinox.security.freebsd"
++ os="freebsd"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.equinox.security.freebsd.source"
++ os="freebsd"
++ version="0.0.0"/>
++
++ <plugin
+ id="org.eclipse.equinox.security.macosx"
+ os="macosx"
+ version="0.0.0"/>
+--- equinox/features/org.eclipse.equinox.executable.feature/build.properties 0000-00-00 00:00:00.000000000 +0000
++++ equinox/features/org.eclipse.equinox.executable.feature/build.properties 0000-00-00 00:00:00.000000000 +0000
+@@ -33,6 +33,15 @@
+ root.linux.gtk.aarch64=bin/gtk/linux/aarch64,gtk_root
+ root.linux.gtk.aarch64.permissions.755=launcher
+
++root.freebsd.gtk.powerpc64=bin/gtk/freebsd/powerpc64,gtk_root
++root.freebsd.gtk.powerpc64.permissions.755=launcher
++
++root.freebsd.gtk.powerpc64le=bin/gtk/freebsd/powerpc64le,gtk_root
++root.freebsd.gtk.powerpc64le.permissions.755=launcher
++
++root.freebsd.gtk.aarch64=bin/gtk/freebsd/aarch64,gtk_root
++root.freebsd.gtk.aarch64.permissions.755=launcher
++
+ root.macosx.cocoa.x86_64=bin/cocoa/macosx/x86_64
+ root.macosx.cocoa.x86_64.permissions.755=Eclipse.app/Contents/MacOS/launcher
+
+@@ -41,3 +50,6 @@
+
+ root.linux.gtk.x86_64=bin/gtk/linux/x86_64,gtk_root
+ root.linux.gtk.x86_64.permissions.755=launcher
++
++root.freebsd.gtk.x86_64=bin/gtk/freebsd/x86_64,gtk_root
++root.freebsd.gtk.x86_64.permissions.755=launcher
+--- equinox/features/org.eclipse.equinox.executable.feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
++++ equinox/features/org.eclipse.equinox.executable.feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -66,6 +66,34 @@
+ version="0.0.0"/>
+
+ <plugin
++ id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64"
++ os="freebsd"
++ ws="gtk"
++ arch="powerpc64"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le"
++ os="freebsd"
++ ws="gtk"
++ arch="powerpc64le"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.equinox.launcher.gtk.freebsd.aarch64"
++ os="freebsd"
++ ws="gtk"
++ arch="aarch64"
++ version="0.0.0"/>
++
++ <plugin
++ id="org.eclipse.equinox.launcher.gtk.freebsd.x86_64"
++ os="freebsd"
++ ws="gtk"
++ arch="x86_64"
++ version="0.0.0"/>
++
++ <plugin
+ id="org.eclipse.equinox.launcher.win32.win32.aarch64"
+ os="win32"
+ ws="win32"
+--- equinox/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh 0000-00-00 00:00:00.000000000 +0000
++++ equinox/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh 0000-00-00 00:00:00.000000000 +0000
+@@ -114,8 +114,33 @@
+ ;;
+ esac
+ ;;
++ "FreeBSD" | "freebsd")
++ makefile="make_linux.mak"
++ defaultOS="freebsd"
++ case $defaultOSArch in
++ "amd64")
++ defaultOSArch="x86_64"
++ defaultJava=DEFAULT_JAVA_EXEC
++ ;;
++ "powerpc64")
++ defaultOSArch="powerpc64"
++ defaultJava=DEFAULT_JAVA_EXEC
++ ;;
++ "powerpc64le")
++ defaultOSArch="powerpc64le"
++ defaultJava=DEFAULT_JAVA_EXEC
++ ;;
++ "aarch64")
++ defaultOSArch="aarch64"
++ defaultJava=DEFAULT_JAVA_EXEC
++ ;;
++ *)
++ echo "*** Unknown MODEL <${MODEL}>"
++ ;;
++ esac
++ ;;
+ *)
+- echo "Unknown OS -- build aborted"
++ echo "Unknown OS $defaultOS -- build aborted"
+ ;;
+ esac
+ export CC
+@@ -154,13 +179,13 @@
+ # If the OS is supported (a makefile exists)
+ if [ "$makefile" != "" ]; then
+ if [ "$extraArgs" != "" ]; then
+- make -f $makefile $extraArgs
++ gmake -f $makefile $extraArgs
+ else
+ echo "Building $OS launcher. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
+- make -f $makefile clean
++ gmake -f $makefile clean
+ case x$CC in
+- x*gcc*) make -f $makefile all PICFLAG=-fpic ;;
+- *) make -f $makefile all ;;
++ x*gcc*) gmake -f $makefile all PICFLAG=-fpic ;;
++ *) gmake -f $makefile all ;;
+ esac
+ fi
+ else
+--- equinox/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak 0000-00-00 00:00:00.000000000 +0000
++++ equinox/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak 0000-00-00 00:00:00.000000000 +0000
+@@ -39,7 +39,8 @@
+ DEFAULT_OS ?= $(shell uname -s | tr "[:upper:]" "[:lower:]")
+ DEFAULT_WS ?= gtk
+ DEFAULT_OS_ARCH ?= $(shell uname -m)
+-JAVA_HOME ?= $(shell readlink -f /usr/bin/java | sed "s:jre/::" | sed "s:bin/java::")
++# XXX JAVA_HOME ?= $(shell readlink -f /usr/bin/java | sed "s:jre/::" | sed "s:bin/java::")
++JAVA_HOME ?= /usr/local/openjdk17
+ PROGRAM_OUTPUT ?= eclipse
+ PROGRAM_LIBRARY = $(PROGRAM_OUTPUT)_$(LIB_VERSION).so
+
+@@ -56,7 +57,7 @@
+ DEFAULT_JAVA ?= DEFAULT_JAVA_EXEC
+ endif
+
+-CC ?= gcc
++CC ?= cc # XXX gcc
+
+ # Useful to figure out if there is any difference between running build.sh and make_linux directly.
+ INFO_PROG=CC:$(CC) PROGRAM_OUTPUT:$(PROGRAM_OUTPUT) PROGRAM_LIBRARY:$(PROGRAM_LIBRARY) #
+@@ -86,10 +87,11 @@
+ -DDEFAULT_OS_ARCH="\"$(DEFAULT_OS_ARCH)\"" \
+ -DDEFAULT_WS="\"$(DEFAULT_WS)\"" \
+ -D$(DEFAULT_JAVA) \
++ -Wno-deprecated-non-prototype \
+ $(GTK_LIBS) \
+ -I. \
+ -I.. \
+- -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
++ -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd \
+ `pkg-config --cflags gtk+-3.0`
+
+ all: $(EXEC) $(DLL)
+--- equinox/features/org.eclipse.equinox.executable.feature/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ equinox/features/org.eclipse.equinox.executable.feature/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -125,6 +125,10 @@
+ <include name="gtk/linux/ppc64le/**/*"/>
+ <include name="gtk/linux/aarch64/**/*"/>
+ <include name="gtk/linux/x86_64/**/*"/>
++ <include name="gtk/freebsd/powerpc64/**/*"/>
++ <include name="gtk/freebsd/powerpc64le/**/*"/>
++ <include name="gtk/freebsd/aarch64/**/*"/>
++ <include name="gtk/freebsd/x86_64/**/*"/>
+ <include name="win32/win32/aarch64/**/*"/>
+ <include name="win32/win32/x86_64/**/*"/>
+ </fileset>
+--- equinox/features/org.eclipse.equinox.executable.feature/resources/build.properties 0000-00-00 00:00:00.000000000 +0000
++++ equinox/features/org.eclipse.equinox.executable.feature/resources/build.properties 0000-00-00 00:00:00.000000000 +0000
+@@ -26,6 +26,12 @@
+ root.linux.gtk.ppc64le=bin/gtk/linux/ppc64le,gtk_root
+ root.linux.gtk.ppc64le.permissions.755=launcher
+
++root.freebsd.gtk.powerpc64=bin/gtk/freebsd/powerpc64,gtk_root
++root.freebsd.gtk.powerpc64.permissions.755=launcher
++
++root.freebsd.gtk.powerpc64le=bin/gtk/freebsd/powerpc64le,gtk_root
++root.freebsd.gtk.powerpc64le.permissions.755=launcher
++
+ root.macosx.cocoa.x86_64=bin/cocoa/macosx/x86_64
+ root.macosx.cocoa.x86_64.permissions.755=Contents/MacOS/${launcherName}
+
+@@ -37,3 +43,9 @@
+
+ root.linux.gtk.loongarch64=bin/gtk/linux/loongarch64,gtk_root
+ root.linux.gtk.loongarch64.permissions.755=launcher
++
++root.freebsd.gtk.x86_64=bin/gtk/freebsd/x86_64,gtk_root
++root.freebsd.gtk.x86_64.permissions.755=libcairo-swt.so
++
++root.freebsd.gtk.aarch64=bin/gtk/freebsd/aarch64,gtk_root
++root.freebsd.gtk.aarch64.permissions.755=libcairo-swt.so
+--- equinox/features/org.eclipse.equinox.executable.feature/resources/build.xml 0000-00-00 00:00:00.000000000 +0000
++++ equinox/features/org.eclipse.equinox.executable.feature/resources/build.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -102,6 +102,22 @@
+ </copy>
+ <chmod perm="755" dir="${feature.base}/linux.gtk.ppc64le/${collectingFolder}" includes="launcher" />
+ </target>
++ <target name="rootFilesfreebsd_gtk_powerpc64">
++ <mkdir dir="${feature.base}/freebsd.gtk.powerpc64/${collectingFolder}"/>
++ <copy todir="${feature.base}/freebsd.gtk.powerpc64/${collectingFolder}" failonerror="true" overwrite="true">
++ <fileset dir="${basedir}/bin/gtk/freebsd/powerpc64" includes="**" />
++ <fileset dir="${basedir}/gtk_root" includes="**" />
++ </copy>
++ <chmod perm="755" dir="${feature.base}/freebsd.gtk.powerpc64/${collectingFolder}" includes="launcher" />
++ </target>
++ <target name="rootFilesfreebsd_gtk_powerpc64le">
++ <mkdir dir="${feature.base}/freebsd.gtk.powerpc64le/${collectingFolder}"/>
++ <copy todir="${feature.base}/freebsd.gtk.powerpc64le/${collectingFolder}" failonerror="true" overwrite="true">
++ <fileset dir="${basedir}/bin/gtk/freebsd/powerpc64le" includes="**" />
++ <fileset dir="${basedir}/gtk_root" includes="**" />
++ </copy>
++ <chmod perm="755" dir="${feature.base}/freebsd.gtk.powerpc64le/${collectingFolder}" includes="launcher" />
++ </target>
+ <target name="rootFileslinux_gtk_aarch64">
+ <mkdir dir="${feature.base}/linux.gtk.aarch64/${collectingFolder}"/>
+ <copy todir="${feature.base}/linux.gtk.aarch64/${collectingFolder}" failonerror="true" overwrite="true">
+@@ -110,6 +126,14 @@
+ </copy>
+ <chmod perm="755" dir="${feature.base}/linux.gtk.aarch64/${collectingFolder}" includes="launcher" />
+ </target>
++ <target name="rootFilesfreebsd_gtk_aarch64">
++ <mkdir dir="${feature.base}/freebsd.gtk.aarch64/${collectingFolder}"/>
++ <copy todir="${feature.base}/freebsd.gtk.aarch64/${collectingFolder}" failonerror="true" overwrite="true">
++ <fileset dir="${basedir}/bin/gtk/freebsd/aarch64" includes="**" />
++ <fileset dir="${basedir}/gtk_root" includes="**" />
++ </copy>
++ <chmod perm="755" dir="${feature.base}/freebsd.gtk.aarch64/${collectingFolder}" includes="launcher" />
++ </target>
+ <target name="rootFileslinux_gtk_x86_64">
+ <mkdir dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}"/>
+ <copy todir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" failonerror="true" overwrite="true">
+@@ -118,6 +142,14 @@
+ </copy>
+ <chmod perm="755" dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" includes="launcher" />
+ </target>
++ <target name="rootFilesfreebsd_gtk_x86_64">
++ <mkdir dir="${feature.base}/freebsd.gtk.x86_64/${collectingFolder}"/>
++ <copy todir="${feature.base}/freebsd.gtk.x86_64/${collectingFolder}" failonerror="true" overwrite="true">
++ <fileset dir="${basedir}/bin/gtk/freebsd/x86_64" includes="**" />
++ <fileset dir="${basedir}/gtk_root" includes="**" />
++ </copy>
++ <chmod perm="755" dir="${feature.base}/freebsd.gtk.x86_64/${collectingFolder}" includes="launcher" />
++ </target>
+ <target name="rootFileslinux_gtk_loongarch64">
+ <mkdir dir="${feature.base}/linux.gtk.loongarch64/${collectingFolder}"/>
+ <copy todir="${feature.base}/linux.gtk.loongarch64/${collectingFolder}" failonerror="true" overwrite="true">
+@@ -168,6 +200,10 @@
+ <antcall target="rootFileslinux_gtk_ppc64le"/>
+ <antcall target="rootFileslinux_gtk_aarch64"/>
+ <antcall target="rootFileslinux_gtk_x86_64"/>
++ <antcall target="rootFilesfreebsd_gtk_powerpc64"/>
++ <antcall target="rootFilesfreebsd_gtk_powerpc64le"/>
++ <antcall target="rootFilesfreebsd_gtk_aarch64"/>
++ <antcall target="rootFilesfreebsd_gtk_x86_64"/>
+ </target>
+
+ <target name="zip.distribution" depends="init" description="Create a zip containing all the plug-ins and features for the feature: org.eclipse.platform.launchers.">
+--- equinox/pom.xml 0000-00-00 00:00:00.000000000 +0000
++++ equinox/pom.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -176,6 +176,7 @@
+ <module>bundles/org.eclipse.equinox.security.macosx</module>
+ <module>bundles/org.eclipse.equinox.security.win32</module>
+ <module>bundles/org.eclipse.equinox.security.linux</module>
++ <module>bundles/org.eclipse.equinox.security.freebsd</module>
+ <module>bundles/org.eclipse.equinox.bidi</module>
+ <module>bundles/org.eclipse.equinox.cm</module>
+ <module>bundles/org.eclipse.equinox.console</module>
+@@ -219,6 +220,10 @@
+ <module>bundles/org.eclipse.equinox.launcher.gtk.linux.aarch64</module>
+ <module>bundles/org.eclipse.equinox.launcher.gtk.linux.ppc64le</module>
+ <module>bundles/org.eclipse.equinox.launcher.gtk.linux.x86_64</module>
++ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64</module>
++ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.x86_64</module>
++ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64</module>
++ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le</module>
+ <module>bundles/org.eclipse.equinox.launcher.win32.win32.aarch64</module>
+ <module>bundles/org.eclipse.equinox.launcher.win32.win32.x86_64</module>
+ <module>bundles/org.eclipse.equinox.launcher.tests</module>
+--- rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
++++ rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
+@@ -119,6 +119,11 @@
+ version="0.0.0"/>
+
+ <plugin
++ id="org.eclipse.equinox.security.freebsd"
++ os="freebsd"
++ version="0.0.0"/>
++
++ <plugin
+ id="org.eclipse.equinox.security.win32"
+ os="win32"
+ version="0.0.0"/>
+--- rt.equinox.p2/products/org.eclipse.equinox.p2.examples.rcp.discovery.product/cloud.product 0000-00-00 00:00:00.000000000 +0000
++++ rt.equinox.p2/products/org.eclipse.equinox.p2.examples.rcp.discovery.product/cloud.product 0000-00-00 00:00:00.000000000 +0000
+@@ -122,6 +122,7 @@
+ <plugin id="org.eclipse.equinox.registry"/>
+ <plugin id="org.eclipse.equinox.security"/>
+ <plugin id="org.eclipse.equinox.security.linux" fragment="true"/>
++ <plugin id="org.eclipse.equinox.security.freebsd" fragment="true"/>
+ <plugin id="org.eclipse.equinox.security.ui"/>
+ <plugin id="org.eclipse.equinox.simpleconfigurator"/>
+ <plugin id="org.eclipse.equinox.simpleconfigurator.manipulator"/>
+@@ -135,6 +136,7 @@
+ <plugin id="org.eclipse.osgi.util"/>
+ <plugin id="org.eclipse.swt"/>
+ <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
++ <plugin id="org.eclipse.swt.gtk.freebsd.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.ui"/>
+ <plugin id="org.eclipse.ui.browser"/>
+ <plugin id="org.eclipse.ui.workbench"/>
+--- rt.equinox.p2/products/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility.product/sdkbundlevisibility.product 0000-00-00 00:00:00.000000000 +0000
++++ rt.equinox.p2/products/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility.product/sdkbundlevisibility.product 0000-00-00 00:00:00.000000000 +0000
+@@ -115,6 +115,7 @@
+ <plugin id="org.eclipse.equinox.registry"/>
+ <plugin id="org.eclipse.equinox.security"/>
+ <plugin id="org.eclipse.equinox.security.linux" fragment="true"/>
++ <plugin id="org.eclipse.equinox.security.freebsd" fragment="true"/>
+ <plugin id="org.eclipse.equinox.security.macosx" fragment="true"/>
+ <plugin id="org.eclipse.equinox.security.ui"/>
+ <plugin id="org.eclipse.equinox.simpleconfigurator"/>
+@@ -130,6 +131,7 @@
+ <plugin id="org.eclipse.swt"/>
+ <plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
++ <plugin id="org.eclipse.swt.gtk.freebsd.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.ui"/>
+ <plugin id="org.eclipse.ui.cocoa" fragment="true"/>
+ <plugin id="org.eclipse.ui.workbench"/>
+--- rt.equinox.p2/products/org.eclipse.equinox.p2.installer.product/installer.product 0000-00-00 00:00:00.000000000 +0000
++++ rt.equinox.p2/products/org.eclipse.equinox.p2.installer.product/installer.product 0000-00-00 00:00:00.000000000 +0000
+@@ -41,6 +41,7 @@
+ <plugin id="org.eclipse.core.jobs"/>
+ <plugin id="org.eclipse.core.net"/>
+ <plugin id="org.eclipse.core.net.linux" fragment="true"/>
++ <plugin id="org.eclipse.core.net.freebsd" fragment="true"/>
+ <plugin id="org.eclipse.core.runtime"/>
+ <plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/>
+ <plugin id="org.eclipse.ecf"/>
+@@ -60,6 +61,7 @@
+ <plugin id="org.eclipse.equinox.launcher.cocoa.macosx.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.equinox.launcher.cocoa.macosx.aarch64" fragment="true"/>
+ <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86_64" fragment="true"/>
++ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.equinox.p2.artifact.repository"/>
+ <plugin id="org.eclipse.equinox.p2.core"/>
+ <plugin id="org.eclipse.equinox.p2.director"/>
+@@ -77,6 +79,7 @@
+ <plugin id="org.eclipse.equinox.registry"/>
+ <plugin id="org.eclipse.equinox.security"/>
+ <plugin id="org.eclipse.equinox.security.linux" fragment="true"/>
++ <plugin id="org.eclipse.equinox.security.freebsd" fragment="true"/>
+ <plugin id="org.eclipse.equinox.security.macosx" fragment="true"/>
+ <plugin id="org.eclipse.equinox.simpleconfigurator"/>
+ <plugin id="org.eclipse.equinox.simpleconfigurator.manipulator"/>
+@@ -89,6 +92,7 @@
+ <plugin id="org.eclipse.swt"/>
+ <plugin id="org.eclipse.swt.cocoa.macosx" fragment="true"/>
+ <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
++ <plugin id="org.eclipse.swt.gtk.freebsd.x86_64" fragment="true"/>
+ <plugin id="org.sat4j.core"/>
+ <plugin id="org.sat4j.pb"/>
+ <plugin id="org.tukaani.xz"/>
+--- rt.equinox.p2/products/org.eclipse.equinox.p2.ui.admin.rcp.product/rcp.product 0000-00-00 00:00:00.000000000 +0000
++++ rt.equinox.p2/products/org.eclipse.equinox.p2.ui.admin.rcp.product/rcp.product 0000-00-00 00:00:00.000000000 +0000
+@@ -158,10 +158,12 @@
+ <plugin id="org.eclipse.core.filebuffers"/>
+ <plugin id="org.eclipse.core.filesystem"/>
+ <plugin id="org.eclipse.core.filesystem.linux.x86_64" fragment="true"/>
++ <plugin id="org.eclipse.core.filesystem.freebsd.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.core.filesystem.macosx" fragment="true"/>
+ <plugin id="org.eclipse.core.jobs"/>
+ <plugin id="org.eclipse.core.net"/>
+ <plugin id="org.eclipse.core.net.linux" fragment="true"/>
++ <plugin id="org.eclipse.core.net.freebsd" fragment="true"/>
+ <plugin id="org.eclipse.core.resources"/>
+ <plugin id="org.eclipse.core.runtime"/>
+ <plugin id="org.eclipse.e4.core.commands"/>
+@@ -210,6 +212,7 @@
+ <plugin id="org.eclipse.equinox.launcher.cocoa.macosx.aarch64" fragment="true"/>
+ <plugin id="org.eclipse.equinox.launcher.cocoa.macosx.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86_64" fragment="true"/>
++ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.equinox.p2.artifact.repository"/>
+ <plugin id="org.eclipse.equinox.p2.console"/>
+ <plugin id="org.eclipse.equinox.p2.core"/>
+@@ -236,6 +239,7 @@
+ <plugin id="org.eclipse.equinox.registry"/>
+ <plugin id="org.eclipse.equinox.security"/>
+ <plugin id="org.eclipse.equinox.security.linux" fragment="true"/>
++ <plugin id="org.eclipse.equinox.security.freebsd" fragment="true"/>
+ <plugin id="org.eclipse.equinox.security.macosx" fragment="true"/>
+ <plugin id="org.eclipse.equinox.security.ui"/>
+ <plugin id="org.eclipse.equinox.simpleconfigurator"/>
+@@ -253,6 +257,7 @@
+ <plugin id="org.eclipse.swt"/>
+ <plugin id="org.eclipse.swt.cocoa.macosx" fragment="true"/>
+ <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
++ <plugin id="org.eclipse.swt.gtk.freebsd.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.text"/>
+ <plugin id="org.eclipse.ui"/>
+ <plugin id="org.eclipse.ui.cocoa" fragment="true"/>
diff --git a/java/eclipse/files/patch-eclipse-platform-parent b/java/eclipse/files/patch-eclipse-platform-parent
deleted file mode 100644
index ee6b0852f552..000000000000
--- a/java/eclipse/files/patch-eclipse-platform-parent
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -ru eclipse-platform-parent/pom.xml eclipse-platform-parent/pom.xml
---- eclipse-platform-parent/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse-platform-parent/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -77,9 +77,9 @@
- 'eclipiserun-repo' repository, such as for computing .api-descriptions and
- generating API Tools reports.
- -->
-- <eclipserun-repo>https://download.eclipse.org/eclipse/updates/4.24-I-builds/</eclipserun-repo>
-+ <eclipserun-repo>https://download.eclipse.org/eclipse/updates/4.24/</eclipserun-repo>
-
-- <comparator.repo>https://download.eclipse.org/eclipse/updates/4.24-I-builds</comparator.repo>
-+ <comparator.repo>https://download.eclipse.org/eclipse/updates/4.24</comparator.repo>
-
- <!-- only used when Tycho snapshot repo is enabled in <pluginRepositories> further down -->
- <tycho-snapshot-repo.url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</tycho-snapshot-repo.url>
-@@ -253,17 +253,22 @@
- </target>
- <environments>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>x86_64</arch>
-+ <arch>amd64</arch>
- </environment>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>ppc64le</arch>
-+ <arch>powerpc64</arch>
- </environment>
-+ <environment>
-+ <os>freebsd</os>
-+ <ws>gtk</ws>
-+ <arch>powerpc64le</arch>
-+ </environment>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
- <arch>aarch64</arch>
- </environment>
-@@ -625,7 +630,7 @@
- For maintenance streams should always be "M-builds".
- Ideally, this value would be provided by the environment, see bug 489789.
- -->
-- <eclipse-p2-repo.url>https://download.eclipse.org/eclipse/updates/4.24-I-builds</eclipse-p2-repo.url>
-+ <eclipse-p2-repo.url>https://download.eclipse.org/eclipse/updates/4.24</eclipse-p2-repo.url>
- </properties>
- <repositories>
- <repository>
diff --git a/java/eclipse/files/patch-eclipse.pde b/java/eclipse/files/patch-eclipse.pde
deleted file mode 100644
index 714dc2717561..000000000000
--- a/java/eclipse/files/patch-eclipse.pde
+++ /dev/null
@@ -1,146 +0,0 @@
-diff -ru eclipse.pde/build/org.eclipse.pde.build/scripts/productBuild/allElements.xml eclipse.pde/build/org.eclipse.pde.build/scripts/productBuild/allElements.xml
---- eclipse.pde/build/org.eclipse.pde.build/scripts/productBuild/allElements.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/build/org.eclipse.pde.build/scripts/productBuild/allElements.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -59,10 +59,10 @@
- </ant>
- </target>
-
-- <property name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86_64" value="true" />
-- <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86_64">
-+ <property name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.amd64" value="true" />
-+ <target name="assemble.org.eclipse.pde.build.container.feature.freebsd.gtk.amd64">
- <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
-- <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/>
-+ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.amd64.zip"/>
- </ant>
- </target>
-
-diff -ru eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java
---- eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java 0000-00-00 00:00:00.000000000 +0000
-@@ -694,7 +694,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();
- }
- }
-diff -ru eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java
---- eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/builder/ModelBuildScriptGenerator.java 0000-00-00 00:00:00.000000000 +0000
-@@ -912,7 +912,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();
- }
- }
-diff -ru eclipse.pde/build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java eclipse.pde/build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java
---- eclipse.pde/build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java 0000-00-00 00:00:00.000000000 +0000
-@@ -308,8 +308,8 @@
- return "Windows"; //$NON-NLS-1$
- if ("macosx".equalsIgnoreCase(os)) //$NON-NLS-1$
- 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 -ru eclipse.pde/build/org.eclipse.pde.build/templates/packager/customTargets.xml eclipse.pde/build/org.eclipse.pde.build/templates/packager/customTargets.xml
---- eclipse.pde/build/org.eclipse.pde.build/templates/packager/customTargets.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/build/org.eclipse.pde.build/templates/packager/customTargets.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -19,9 +19,9 @@
- </ant>
- </target>
-
-- <target name="assemble.linux.gtk.x86_64.xml">
-+ <target name="assemble.freebsd.gtk.amd64.xml">
- <ant antfile="${assembleScriptName}" >
-- <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/>
-+ <property name="archiveName" value="${archiveNamePrefix}-freebsd.gtk.amd64.zip"/>
- </ant>
- </target>
-
-diff -ru eclipse.pde/build/org.eclipse.pde.build/templates/packager/packaging.properties eclipse.pde/build/org.eclipse.pde.build/templates/packager/packaging.properties
---- eclipse.pde/build/org.eclipse.pde.build/templates/packager/packaging.properties 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/build/org.eclipse.pde.build/templates/packager/packaging.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -19,4 +19,4 @@
- root.permissions.755=eclipse,*.so*
-
- root.win32.win32.x86_64=eclipse.exe, eclipsec.exe
--root.linux.gtk.x86_64=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
-+root.freebsd.gtk.amd64=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
-diff -ru eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java
---- eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/ConfigurationSection.java 0000-00-00 00:00:00.000000000 +0000
-@@ -56,8 +56,8 @@
- private FormEntry fCustomEntry;
- private boolean fBlockChanges;
-
-- private static final String[] TAB_LABELS = { "linux", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-- private static final String[] TAB_OS = { Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
-+ private static final String[] TAB_LABELS = { "freebsd", "linux", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-+ private static final String[] TAB_OS = { Platform.OS_FREEBSD, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
-
- private CTabFolder fTabFolder;
- private int fLastTab;
-diff -ru eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java
---- eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/product/JRESection.java 0000-00-00 00:00:00.000000000 +0000
-@@ -69,8 +69,8 @@
- private ComboViewerPart fEEsCombo;
- private boolean fBlockChanges;
-
-- private static final String[] TAB_LABELS = { "linux", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-- private static final String[] TAB_OS = { Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
-+ private static final String[] TAB_LABELS = { "freebsd", "linux", "macosx", "win32" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-+ private static final String[] TAB_OS = { Platform.OS_FREEBSD, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
-
- private CTabFolder fTabFolder;
- private int fLastTab;
-diff -ru eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java
---- eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/product/ProductIntroOperation.java 0000-00-00 00:00:00.000000000 +0000
-@@ -130,7 +130,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", "freebsd,win32,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
-
- presentation.add(implementation);
-
-diff -ru eclipse.pde/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java eclipse.pde/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java
---- eclipse.pde/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java 0000-00-00 00:00:00.000000000 +0000
-@@ -162,7 +162,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", "freebsd,win32,linux,macosx"); //$NON-NLS-1$ //$NON-NLS-2$
- if (getTargetVersion() == 3.0)
- implementationElement.setAttribute("style", "content/shared.css"); //$NON-NLS-1$//$NON-NLS-2$
-
-diff -ru eclipse.pde/ui/org.eclipse.pde.ui.templates/templates_3.5/E4Application/$pluginId$.product eclipse.pde/ui/org.eclipse.pde.ui.templates/templates_3.5/E4Application/$pluginId$.product
---- eclipse.pde/ui/org.eclipse.pde.ui.templates/templates_3.5/E4Application/$pluginId$.product 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.pde/ui/org.eclipse.pde.ui.templates/templates_3.5/E4Application/$pluginId$.product 0000-00-00 00:00:00.000000000 +0000
-@@ -84,8 +84,9 @@
- <plugin id="org.osgi.util.promise"/>
- <plugin id="org.eclipse.swt"/>
- <plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true"/>
-- <plugin id="org.eclipse.swt.gtk.linux.ppc64" fragment="true"/>
-- <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
-+ <plugin id="org.eclipse.swt.gtk.freebsd.powerpc64" fragment="true"/>
-+ <plugin id="org.eclipse.swt.gtk.freebsd.powerpc64le" fragment="true"/>
-+ <plugin id="org.eclipse.swt.gtk.freebsd.amd64" fragment="true"/>
- <plugin id="org.eclipse.swt.win32.win32.x86_64" fragment="true"/>
- <plugin id="org.eclipse.urischeme"/>
- <plugin id="org.w3c.css.sac"/>
diff --git a/java/eclipse/files/patch-eclipse.platform.releng b/java/eclipse/files/patch-eclipse.platform.releng
deleted file mode 100644
index 71456e76cf08..000000000000
--- a/java/eclipse/files/patch-eclipse.platform.releng
+++ /dev/null
@@ -1,88 +0,0 @@
-diff -ru eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
---- eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -96,8 +96,8 @@
- unpack="false"/>
-
- <plugin
-- id="org.eclipse.core.net.linux"
-- os="linux"
-+ id="org.eclipse.core.net.freebsd"
-+ os="freebsd"
- download-size="0"
- install-size="0"
- version="0.0.0"
-@@ -363,9 +363,9 @@
- unpack="false"/>
-
- <plugin
-- id="org.eclipse.core.filesystem.linux.x86_64"
-- os="linux"
-- arch="x86_64"
-+ id="org.eclipse.core.filesystem.freebsd.amd64"
-+ os="freebsd"
-+ arch="amd64"
- download-size="0"
- install-size="0"
- version="0.0.0"
-@@ -402,18 +402,27 @@
- unpack="false"/>
-
- <plugin
-- id="org.eclipse.core.filesystem.linux.ppc64le"
-- os="linux"
-- arch="ppc64le"
-+ id="org.eclipse.core.filesystem.freebsd.powerpc64"
-+ os="freebsd"
-+ arch="powerpc64"
- download-size="0"
- install-size="0"
- version="0.0.0"
- fragment="true"
- unpack="false"/>
-+ <plugin
-+ id="org.eclipse.core.filesystem.freebsd.powerpc64le"
-+ os="freebsd"
-+ arch="powerpc64le"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"
-+ unpack="false"/>
-
- <plugin
-- id="org.eclipse.core.filesystem.linux.aarch64"
-- os="linux"
-+ id="org.eclipse.core.filesystem.freebsd.aarch64"
-+ os="freebsd"
- arch="aarch64"
- download-size="0"
- install-size="0"
-@@ -476,8 +485,8 @@
- unpack="false"/>
-
- <plugin
-- id="org.eclipse.equinox.security.linux"
-- os="linux"
-+ id="org.eclipse.equinox.security.freebsd"
-+ os="freebsd"
- download-size="0"
- install-size="0"
- version="0.0.0"
-diff -ru eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml
---- eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -56,10 +56,11 @@
- </plugins>
- <excludes>
- <plugin id="org.eclipse.platform.doc.user"/>
-- <plugin id="org.eclipse.core.filesystem.linux.x86_64"/>
-+ <plugin id="org.eclipse.core.filesystem.freebsd.amd64"/>
- <plugin id="org.eclipse.core.filesystem.macosx"/>
- <plugin id="org.eclipse.core.filesystem.win32.x86_64"/>
-- <plugin id="org.eclipse.core.filesystem.linux.ppc64le"/>
-+ <plugin id="org.eclipse.core.filesystem.freebsd.powerpc64"/>
-+ <plugin id="org.eclipse.core.filesystem.freebsd.powerpc64le"/>
- <plugin id="org.eclipse.core.resources.win32.x86_64"/>
- </excludes>
- </configuration>
diff --git a/java/eclipse/files/patch-eclipse.platform.releng.tychoeclipsebuilder b/java/eclipse/files/patch-eclipse.platform.releng.tychoeclipsebuilder
deleted file mode 100644
index b38bf896ea1e..000000000000
--- a/java/eclipse/files/patch-eclipse.platform.releng.tychoeclipsebuilder
+++ /dev/null
@@ -1,268 +0,0 @@
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/testManifest.xml eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/testManifest.xml
---- eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/testManifest.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/testManifest.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -15,16 +15,20 @@
- fileName="eclipse-SDK-${BUILD_ID}-win32-x86_64.zip"></platform>
- <platform
- id="SLG264"
-- name="Linux (64 bit version)"
-- fileName="eclipse-SDK-${BUILD_ID}-linux-gtk-x86_64.tar.gz"></platform>
-+ name="FreeBSD (64 bit version)"
-+ fileName="eclipse-SDK-${BUILD_ID}-freebsd-gtk-amd64.tar.gz"></platform>
- <platform
- id="SLG2PPC64LE"
-- name="Linux (64 bit version for Power PC)"
-- fileName="eclipse-SDK-${BUILD_ID}-linux-gtk-ppc64le.tar.gz"></platform>
-+ name="FreeBSD (64 bit version for Power PC)"
-+ fileName="eclipse-SDK-${BUILD_ID}-freebsd-gtk-powerpc64.tar.gz"></platform>
- <platform
-+ id="SLG2PPC64BE"
-+ name="FreeBSD (64 bit version for Power PC LE)"
-+ fileName="eclipse-SDK-${BUILD_ID}-freebsd-gtk-powerpc64le.tar.gz"></platform>
-+ <platform
- id="SLG2AARCH64"
-- name="Linux (64 bit version for AArch64)"
-- fileName="eclipse-SDK-${BUILD_ID}-linux-gtk-aarch64.tar.gz"></platform>
-+ name="FreeBSD (64 bit version for AArch64)"
-+ fileName="eclipse-SDK-${BUILD_ID}-freebsd-gtk-aarch64.tar.gz"></platform>
- <platform
- id="SMCC64"
- name="Mac OSX (64 bit version)"
-@@ -64,16 +68,16 @@
- fileName="eclipse-platform-${BUILD_ID}-win32-x86_64.zip"></platform>
- <platform
- id="PLG264"
-- name="Linux (64 bit version)"
-- fileName="eclipse-platform-${BUILD_ID}-linux-gtk-x86_64.tar.gz"></platform>
-+ name="FreeBSD (64 bit version)"
-+ fileName="eclipse-platform-${BUILD_ID}-freebsd-gtk-amd64.tar.gz"></platform>
- <platform
- id="PLG2PPC64LE"
-- name="Linux (64 bit version for Power PC)"
-- fileName="eclipse-platform-${BUILD_ID}-linux-gtk-ppc64le.tar.gz"></platform>
-+ name="FreeBSD (64 bit version for Power PC)"
-+ fileName="eclipse-platform-${BUILD_ID}-freebsd-gtk-powerpc64.tar.gz"></platform>
- <platform
- id="PLG2AARCH64"
-- name="Linux (64 bit version for AArch64)"
-- fileName="eclipse-platform-${BUILD_ID}-linux-gtk-aarch64.tar.gz"></platform>
-+ name="FreeBSD (64 bit version for AArch64)"
-+ fileName="eclipse-platform-${BUILD_ID}-freebsd-gtk-aarch64.tar.gz"></platform>
- <platform
- id="PMCC64"
- name="Mac OSX (64 bit version)"
-@@ -106,16 +110,16 @@
- fileName="swt-${BUILD_ID}-win32-win32-x86_64.zip"></platform>
- <platform
- id="SWTLG64"
-- name="Linux (64 bit version)"
-- fileName="swt-${BUILD_ID}-gtk-linux-x86_64.zip"></platform>
-+ name="FreeBSD (64 bit version)"
-+ fileName="swt-${BUILD_ID}-gtk-freebsd-amd64.zip"></platform>
- <platform
- id="SWTLG2PPC64LE"
-- name="Linux (64 bit version for Power PC)"
-- fileName="swt-${BUILD_ID}-gtk-linux-ppc64le.zip"></platform>
-+ name="FreeBSD (64 bit version for Power PC)"
-+ fileName="swt-${BUILD_ID}-gtk-freebsd-powerpc64.zip"></platform>
- <platform
- id="SWTLG2AARCH64"
-- name="Linux (64 bit version for AArch64)"
-- fileName="swt-${BUILD_ID}-gtk-linux-aarch64.zip"></platform>
-+ name="FreeBSD (64 bit version for AArch64)"
-+ fileName="swt-${BUILD_ID}-gtk-freebsd-aarch64.zip"></platform>
- <platform
- id="SWTMCC64"
- name="Mac OSX (64 bit version)"
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml
---- eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -138,9 +138,9 @@
- <resolver>p2</resolver>
- <environments>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>x86_64</arch>
-+ <arch>amd64</arch>
- </environment>
- <environment>
- <os>win32</os>
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.product eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.product
---- eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.product 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.product 0000-00-00 00:00:00.000000000 +0000
-@@ -18,7 +18,7 @@
- <splash
- location="org.eclipse.platform" />
- <launcher name="eclipse">
-- <linux icon="icons/icon.xpm"/>
-+ <freebsd icon="icons/icon.xpm"/>
- <macosx icon="icons/Eclipse.icns"/>
- <win useIco="false">
- <bmp/>
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.sdk.product eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.sdk.product
---- eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.sdk.product 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.sdk.product 0000-00-00 00:00:00.000000000 +0000
-@@ -18,7 +18,7 @@
- <splash
- location="org.eclipse.platform" />
- <launcher name="eclipse">
-- <linux icon="icons/icon.xpm"/>
-+ <freebsd icon="icons/icon.xpm"/>
- <macosx icon="icons/Eclipse.icns"/>
- <win useIco="false">
- <bmp/>
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/pom.xml eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/pom.xml
---- eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -124,9 +124,11 @@
- <execution>
- <id>mirror-build</id>
- <phase>generate-resources</phase>
-+<!-- Ignore eclipse-junit-tests artifacts for FreeBSD build
- <goals>
- <goal>mirror</goal>
- </goals>
-+-->
- <configuration>
- <source>
- <!-- source repositories to mirror from -->
-@@ -392,7 +394,7 @@
- <configuration>
- <formats>
- <win32>zip</win32>
-- <linux>tar.gz</linux>
-+ <freebsd>tar.gz</freebsd>
- <macosx>tar.gz</macosx>
- </formats>
- </configuration>
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/rcp.product eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/rcp.product
---- eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/rcp.product 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/rcp.product 0000-00-00 00:00:00.000000000 +0000
-@@ -16,7 +16,7 @@
- </launcherArgs>
-
- <launcher name="eclipse">
-- <linux icon="icons/icon.xpm"/>
-+ <freebsd icon="icons/icon.xpm"/>
- <macosx icon="icons/Eclipse.icns"/>
- <win useIco="false">
- <bmp/>
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/rcp.sdk.product eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/rcp.sdk.product
---- eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/rcp.sdk.product 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/rcp.sdk.product 0000-00-00 00:00:00.000000000 +0000
-@@ -18,7 +18,7 @@
- <windowImages/>
-
- <launcher name="eclipse">
-- <linux icon="icons/icon.xpm"/>
-+ <freebsd icon="icons/icon.xpm"/>
- <macosx icon="icons/Eclipse.icns"/>
- <win useIco="false">
- <bmp/>
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/sdk.product eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/sdk.product
---- eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/sdk.product 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/sdk.product 0000-00-00 00:00:00.000000000 +0000
-@@ -18,7 +18,7 @@
- <splash
- location="org.eclipse.platform" />
- <launcher name="eclipse">
-- <linux icon="icons/icon.xpm"/>
-+ <freebsd icon="icons/icon.xpm"/>
- <macosx icon="icons/Eclipse.icns"/>
- <win useIco="false">
- <bmp/>
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/equinox/buildConfigs/equinox-launchers/build.xml eclipse.platform.releng.tychoeclipsebuilder/equinox/buildConfigs/equinox-launchers/build.xml
---- eclipse.platform.releng.tychoeclipsebuilder/equinox/buildConfigs/equinox-launchers/build.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/equinox/buildConfigs/equinox-launchers/build.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -14,9 +14,10 @@
- <target name="equinoxlaunchers">
- <property name="archiveRoot" value="launchers" />
- <buildRepos os="win32" ws="win32" arch="x86_64" archiveName="${archiveRoot}-win32.win32.x86_64.${buildId}.zip" />
-- <buildRepos os="linux" ws="gtk" arch="x86_64" archiveName="${archiveRoot}-linux.gtk.x86_64.${buildId}.tar.gz" />
-- <buildRepos os="linux" ws="gtk" arch="ppc64le" archiveName="${archiveRoot}-linux.gtk.ppc64le.${buildId}.tar.gz" />
-- <buildRepos os="linux" ws="gtk" arch="aarch64" archiveName="${archiveRoot}-linux.gtk.aarch64.${buildId}.tar.gz" />
-+ <buildRepos os="freebsd" ws="gtk" arch="amd64" archiveName="${archiveRoot}-freebsd.gtk.amd64.${buildId}.tar.gz" />
-+ <buildRepos os="freebsd" ws="gtk" arch="powerpc64" archiveName="${archiveRoot}-freebsd.gtk.powerpc64.${buildId}.tar.gz" />
-+ <buildRepos os="freebsd" ws="gtk" arch="powerpc64le" archiveName="${archiveRoot}-freebsd.gtk.powerpc64le.${buildId}.tar.gz" />
-+ <buildRepos os="freebsd" ws="gtk" arch="aarch64" archiveName="${archiveRoot}-freebsd.gtk.aarch64.${buildId}.tar.gz" />
- <buildRepos os="macosx" ws="cocoa" arch="x86_64" archiveName="${archiveRoot}-macosx.cocoa.x86_64.${buildId}.tar.gz" />
- <buildRepos os="macosx" ws="cocoa" arch="aarch64" archiveName="${archiveRoot}-macosx.cocoa.aarch64.${buildId}.tar.gz" />
- </target>
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/EclipseRTOSGiStarterKit.product eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/EclipseRTOSGiStarterKit.product
---- eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/EclipseRTOSGiStarterKit.product 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/EclipseRTOSGiStarterKit.product 0000-00-00 00:00:00.000000000 +0000
-@@ -18,7 +18,7 @@
- <windowImages/>
-
- <launcher name="rt">
-- <linux icon="icon.xpm"/>
-+ <freebsd icon="icon.xpm"/>
- <macosx icon="rt.icns"/>
- <win useIco="true">
- <ico path="rt.ico"/>
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/pom.xml eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/pom.xml
---- eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/equinox.starterkit.product/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -43,9 +43,9 @@
- <resolver>p2</resolver>
- <environments>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>x86_64</arch>
-+ <arch>amd64</arch>
- </environment>
- <environment>
- <os>win32</os>
-@@ -97,7 +97,7 @@
- <configuration>
- <formats>
- <win32>zip</win32>
-- <linux>tar.gz</linux>
-+ <freebsd>tar.gz</freebsd>
- <macosx>tar.gz</macosx>
- </formats>
- </configuration>
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/pom.xml eclipse.platform.releng.tychoeclipsebuilder/pom.xml
---- eclipse.platform.releng.tychoeclipsebuilder/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -31,7 +31,9 @@
- <module>rcp.config</module>
- <module>equinox.starterkit.product</module>
- <module>equinox-sdk</module>
-+<!-- disabled
- <module>eclipse-junit-tests</module>
-+-->
- <module>eclipse.platform.repository</module>
- </modules>
-
-diff -ru eclipse.platform.releng.tychoeclipsebuilder/rcp.config/build.properties eclipse.platform.releng.tychoeclipsebuilder/rcp.config/build.properties
---- eclipse.platform.releng.tychoeclipsebuilder/rcp.config/build.properties 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.releng.tychoeclipsebuilder/rcp.config/build.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -32,14 +32,17 @@
- #root.win32.win32.x86=file:executables/win32.win32.x86/eclipsec.exe
- #root.win32.win32.x86_64=file:executables/win32.win32.x86_64/eclipsec.exe
-
--root.linux.gtk.ppc64le=rootfiles/linux.gtk.ppc64le,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/ppc64le
--root.linux.gtk.ppc64le.permissions.755=eclipse
-+root.freebsd.gtk.powerpc64=rootfiles/freebsd.gtk.powerpc64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/powerpc64
-+root.freebsd.gtk.powerpc64.permissions.755=eclipse
-
--root.linux.gtk.aarch64=rootfiles/linux.gtk.aarch64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/aarch64
--root.linux.gtk.aarch64.permissions.755=eclipse
-+root.freebsd.gtk.powerpc64le=rootfiles/freebsd.gtk.powerpc64le,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/powerpc64le
-+root.freebsd.gtk.powerpc64le.permissions.755=eclipse
-
--root.linux.gtk.x86_64=rootfiles/linux.gtk.x86_64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/x86_64
--root.linux.gtk.x86_64.permissions.755=eclipse
-+root.freebsd.gtk.aarch64=rootfiles/freebsd.gtk.aarch64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/aarch64
-+root.freebsd.gtk.aarch64.permissions.755=eclipse
-+
-+root.freebsd.gtk.amd64=rootfiles/freebsd.gtk.amd64,../../rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/freebsd/amd64
-+root.freebsd.gtk.amd64.permissions.755=eclipse
-
- bin.includes = feature.properties
-
diff --git a/java/eclipse/files/patch-eclipse.platform.resources b/java/eclipse/files/patch-eclipse.platform.resources
deleted file mode 100644
index b295843976a2..000000000000
--- a/java/eclipse/files/patch-eclipse.platform.resources
+++ /dev/null
@@ -1,314 +0,0 @@
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile eclipse.platform.resources/bundles/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem/natives/unix/freebsd/Makefile 0000-00-00 00:00:00.000000000 +0000
-@@ -20,7 +20,7 @@
- LIB_NAME_FULL = libunixfile_1_0_0.so
-
- #Set this to be your OS type
--OS_TYPE = linux
-+OS_TYPE = freebsd
-
- #Set this to be the location of your JRE
- ifeq (${JAVA_HOME},)
-@@ -28,15 +28,11 @@
- endif
-
- JDK_INCLUDE = -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_TYPE}
--OPT_FLAGS=-O2 -g -s -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-+OPT_FLAGS=-O2 -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-
- core:
-- gcc $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) -o $(CORE.O) $(CORE.C)
-- gcc $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
-+ ${CC} $(OPT_FLAGS) -fPIC -c $(JDK_INCLUDE) -o $(CORE.O) $(CORE.C)
-+ ${CC} $(OPT_FLAGS) -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
-
- clean:
- rm -f $(CORE.O) $(LIB_NAME_FULL)
--
--install: core
-- rm -f ../../../../org.eclipse.core.filesystem.linux.x86/os/linux/x86/libunixfile_1_0_0.so
-- mv libunixfile_1_0_0.so ../../../../org.eclipse.core.filesystem.linux.x86/os/linux/x86/
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/META-INF/MANIFEST.MF eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/META-INF/MANIFEST.MF
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -1,9 +1,9 @@
- Manifest-Version: 1.0
- Bundle-ManifestVersion: 2
- Bundle-Name: %fragmentName
--Bundle-SymbolicName: org.eclipse.core.filesystem.linux.aarch64;singleton:=true
-+Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.aarch64;singleton:=true
- Bundle-Version: 1.4.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=linux) (osgi.arch=aarch64))
-+Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=aarch64))
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/fragment.properties eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/fragment.properties
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/fragment.properties 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/fragment.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -11,5 +11,5 @@
- # Contributors:
- # IBM Corporation - initial API and implementation
- ###############################################################################
--fragmentName = Core File System for Linux Aarch64 bit
-+fragmentName = Core File System for FreeBSD Aarch64 bit
- providerName = Eclipse.org
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/pom.xml eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/pom.xml
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.aarch64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -17,7 +17,7 @@
- <version>4.24.0-SNAPSHOT</version>
- <relativePath>../../</relativePath>
- </parent>
-- <artifactId>org.eclipse.core.filesystem.linux.aarch64</artifactId>
-+ <artifactId>org.eclipse.core.filesystem.freebsd.aarch64</artifactId>
- <version>1.4.100-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
-@@ -36,7 +36,7 @@
- <resolver>p2</resolver>
- <environments>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
- <arch>aarch64</arch>
- </environment>
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/.project eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/.project
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/.project 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/.project 0000-00-00 00:00:00.000000000 +0000
-@@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="UTF-8"?>
- <projectDescription>
-- <name>org.eclipse.core.filesystem.linux.x86_64</name>
-+ <name>org.eclipse.core.filesystem.freebsd.amd64</name>
- <comment></comment>
- <projects>
- </projects>
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/META-INF/MANIFEST.MF eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/META-INF/MANIFEST.MF
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -1,9 +1,9 @@
- Manifest-Version: 1.0
- Bundle-ManifestVersion: 2
- Bundle-Name: %fragmentName
--Bundle-SymbolicName: org.eclipse.core.filesystem.linux.x86_64; singleton:=true
-+Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.amd64; singleton:=true
- Bundle-Version: 1.2.300.qualifier
- Bundle-Vendor: %providerName
- Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.7.200,2.0.0)"
- Bundle-Localization: fragment
--Eclipse-PlatformFilter: (& (osgi.os=linux) (osgi.arch=x86_64))
-+Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=amd64))
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/fragment.properties eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/fragment.properties
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/fragment.properties 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/fragment.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -11,5 +11,5 @@
- # Contributors:
- # IBM Corporation - initial API and implementation
- ###############################################################################
--fragmentName = Core File System for Linux
-+fragmentName = Core File System for FreeBSD
- providerName = Eclipse.org
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/pom.xml eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/pom.xml
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.amd64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -17,7 +17,7 @@
- <version>4.24.0-SNAPSHOT</version>
- <relativePath>../../</relativePath>
- </parent>
-- <artifactId>org.eclipse.core.filesystem.linux.x86_64</artifactId>
-+ <artifactId>org.eclipse.core.filesystem.freebsd.amd64</artifactId>
- <version>1.2.300-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
-@@ -32,9 +32,9 @@
- <resolver>p2</resolver>
- <environments>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>x86_64</arch>
-+ <arch>amd64</arch>
- </environment>
- </environments>
- </configuration>
-@@ -49,7 +49,7 @@
- <property>
- <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
- <name>native</name>
-- <value>gtk.linux.x86_64</value>
-+ <value>gtk.freebsd.amd64</value>
- </property>
- </activation>
- <build>
-@@ -62,10 +62,10 @@
- <phase>process-resources</phase>
- <configuration>
- <target>
-- <exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/linux/"/>
-- <mkdir dir="os/linux/x86_64/"/>
-- <copy todir="os/linux/x86_64/">
-- <fileset dir="../org.eclipse.core.filesystem/natives/unix/linux/">
-+ <exec executable="gmake" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/freebsd/"/>
-+ <mkdir dir="os/freebsd/amd64/"/>
-+ <copy todir="os/freebsd/amd64/">
-+ <fileset dir="../org.eclipse.core.filesystem/natives/unix/freebsd/">
- <include name="libunixfile_*.so"/>
- </fileset>
- </copy>
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.project eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.project
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.project 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/.project 0000-00-00 00:00:00.000000000 +0000
-@@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="UTF-8"?>
- <projectDescription>
-- <name>org.eclipse.core.filesystem.linux.ppc64le</name>
-+ <name>org.eclipse.core.filesystem.freebsd.powerpc64</name>
- <comment></comment>
- <projects>
- </projects>
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/META-INF/MANIFEST.MF eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/META-INF/MANIFEST.MF
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -1,9 +1,9 @@
- Manifest-Version: 1.0
- Bundle-ManifestVersion: 2
- Bundle-Name: %fragmentName
--Bundle-SymbolicName: org.eclipse.core.filesystem.linux.ppc64le;singleton:=true
-+Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.powerpc64;singleton:=true
- Bundle-Version: 1.4.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=linux) (osgi.arch=ppc64le))
-+Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=powerpc64))
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/fragment.properties eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/fragment.properties
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/fragment.properties 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/fragment.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -11,5 +11,5 @@
- # Contributors:
- # IBM Corporation - initial API and implementation
- ###############################################################################
--fragmentName = Core File System for Linux PPC 64 LE bit
-+fragmentName = Core File System for FreeBSD PPC 64 LE bit
- providerName = Eclipse.org
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/pom.xml eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/pom.xml
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -17,7 +17,7 @@
- <version>4.24.0-SNAPSHOT</version>
- <relativePath>../../</relativePath>
- </parent>
-- <artifactId>org.eclipse.core.filesystem.linux.ppc64le</artifactId>
-+ <artifactId>org.eclipse.core.filesystem.freebsd.powerpc64</artifactId>
- <version>1.4.100-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
-@@ -36,9 +36,9 @@
- <resolver>p2</resolver>
- <environments>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>ppc64le</arch>
-+ <arch>powerpc64</arch>
- </environment>
- </environments>
- </configuration>
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.project eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.project
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.project 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/.project 0000-00-00 00:00:00.000000000 +0000
-@@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="UTF-8"?>
- <projectDescription>
-- <name>org.eclipse.core.filesystem.linux.ppc64le</name>
-+ <name>org.eclipse.core.filesystem.freebsd.powerpc64le</name>
- <comment></comment>
- <projects>
- </projects>
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/META-INF/MANIFEST.MF eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/META-INF/MANIFEST.MF
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -1,9 +1,9 @@
- Manifest-Version: 1.0
- Bundle-ManifestVersion: 2
- Bundle-Name: %fragmentName
--Bundle-SymbolicName: org.eclipse.core.filesystem.linux.ppc64le;singleton:=true
-+Bundle-SymbolicName: org.eclipse.core.filesystem.freebsd.powerpc64le;singleton:=true
- Bundle-Version: 1.4.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=linux) (osgi.arch=ppc64le))
-+Eclipse-PlatformFilter: (& (osgi.os=freebsd) (osgi.arch=powerpc64le))
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/fragment.properties eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/fragment.properties
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/fragment.properties 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/fragment.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -11,5 +11,5 @@
- # Contributors:
- # IBM Corporation - initial API and implementation
- ###############################################################################
--fragmentName = Core File System for Linux PPC 64 LE bit
-+fragmentName = Core File System for FreeBSD PPC 64 LE bit
- providerName = Eclipse.org
-diff -ru eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/pom.xml eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/pom.xml
---- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.freebsd.powerpc64le/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -17,7 +17,7 @@
- <version>4.24.0-SNAPSHOT</version>
- <relativePath>../../</relativePath>
- </parent>
-- <artifactId>org.eclipse.core.filesystem.linux.ppc64le</artifactId>
-+ <artifactId>org.eclipse.core.filesystem.freebsd.powerpc64le</artifactId>
- <version>1.4.100-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
-@@ -36,9 +36,9 @@
- <resolver>p2</resolver>
- <environments>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>ppc64le</arch>
-+ <arch>powerpc64le</arch>
- </environment>
- </environments>
- </configuration>
-diff -ru eclipse.platform.resources/pom.xml eclipse.platform.resources/pom.xml
---- eclipse.platform.resources/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -52,9 +52,10 @@
-
- <modules>
- <module>bundles/org.eclipse.core.filesystem</module>
-- <module>bundles/org.eclipse.core.filesystem.linux.aarch64</module>
-- <module>bundles/org.eclipse.core.filesystem.linux.ppc64le</module>
-- <module>bundles/org.eclipse.core.filesystem.linux.x86_64</module>
-+ <module>bundles/org.eclipse.core.filesystem.freebsd.aarch64</module>
-+ <module>bundles/org.eclipse.core.filesystem.freebsd.powerpc64</module>
-+ <module>bundles/org.eclipse.core.filesystem.freebsd.powerpc64le</module>
-+ <module>bundles/org.eclipse.core.filesystem.freebsd.amd64</module>
- <module>bundles/org.eclipse.core.filesystem.macosx</module>
- <module>bundles/org.eclipse.core.filesystem.win32.x86_64</module>
-
-diff -ru eclipse.platform.resources/tests/org.eclipse.core.tests.filesystem.feature/feature.xml eclipse.platform.resources/tests/org.eclipse.core.tests.filesystem.feature/feature.xml
---- eclipse.platform.resources/tests/org.eclipse.core.tests.filesystem.feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.resources/tests/org.eclipse.core.tests.filesystem.feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -28,9 +28,9 @@
- unpack="false"/-->
-
- <plugin
-- id="org.eclipse.core.filesystem.linux.x86_64"
-- os="linux"
-- arch="x86_64"
-+ id="org.eclipse.core.filesystem.freebsd.amd64"
-+ os="freebsd"
-+ arch="amd64"
- download-size="0"
- install-size="0"
- version="0.0.0"
diff --git a/java/eclipse/files/patch-eclipse.platform.runtime b/java/eclipse/files/patch-eclipse.platform.runtime
deleted file mode 100644
index 82356ea0459f..000000000000
--- a/java/eclipse/files/patch-eclipse.platform.runtime
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ru eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java
---- eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/runtime/InternalPlatform.java 0000-00-00 00:00:00.000000000 +0000
-@@ -63,7 +63,7 @@
-
- private Map<Bundle, Log> logs = new ConcurrentHashMap<>(5);
-
-- private static final String[] OS_LIST = { Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
-+ private static final String[] OS_LIST = { Platform.OS_FREEBSD, Platform.OS_LINUX, Platform.OS_MACOSX, Platform.OS_WIN32 };
- private String password = ""; //$NON-NLS-1$
- private static final String PASSWORD = "-password"; //$NON-NLS-1$
-
-diff -ru eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java
---- eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java 0000-00-00 00:00:00.000000000 +0000
-@@ -206,6 +206,8 @@
- */
- public static final String OS_LINUX = "linux";//$NON-NLS-1$
-
-+ 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/files/patch-eclipse.platform.swt b/java/eclipse/files/patch-eclipse.platform.swt
deleted file mode 100644
index f767ccd32b14..000000000000
--- a/java/eclipse/files/patch-eclipse.platform.swt
+++ /dev/null
@@ -1,357 +0,0 @@
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/.classpath_gtk eclipse.platform.swt/bundles/org.eclipse.swt/.classpath_gtk
---- eclipse.platform.swt/bundles/org.eclipse.swt/.classpath_gtk 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt/.classpath_gtk 0000-00-00 00:00:00.000000000 +0000
-@@ -9,7 +9,7 @@
- <classpathentry kind="src" path="Eclipse SWT/common"/>
- <classpathentry kind="src" path="Eclipse SWT PI/gtk">
- <attributes>
-- <attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="org.eclipse.swt.gtk.linux.x86_64"/>
-+ <attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="org.eclipse.swt.gtk.freebsd.amd64"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="src" path="Eclipse SWT PI/cairo"/>
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FillLayout.java eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FillLayout.java
---- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FillLayout.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FillLayout.java 0000-00-00 00:00:00.000000000 +0000
-@@ -10,7 +10,6 @@
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
-- * Christoph Läubrich - Bug 513185
- *******************************************************************************/
- package org.eclipse.swt.layout;
-
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
---- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java 0000-00-00 00:00:00.000000000 +0000
-@@ -10,7 +10,7 @@
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
-- * Pierre-Yves B., pyvesdev@gmail.com - Bug 219750: [styled text] Typing ~~ inserts é~~
-+ * Pierre-Yves B., pyvesdev@gmail.com - Bug 219750
- *******************************************************************************/
- package org.eclipse.swt.widgets;
-
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java
---- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java 0000-00-00 00:00:00.000000000 +0000
-@@ -63,12 +63,12 @@
-
- static String arch() {
- String osArch = System.getProperty("os.arch"); //$NON-NLS-1$
-- if (osArch.equals ("amd64")) return "x86_64"; //$NON-NLS-1$ $NON-NLS-2$
- return osArch;
- }
-
- static String os() {
- String osName = System.getProperty("os.name"); //$NON-NLS-1$
-+ if (osName.equals ("FreeBSD")) return "freebsd"; //$NON-NLS-1$ $NON-NLS-2$
- if (osName.equals ("Linux")) return "linux"; //$NON-NLS-1$ $NON-NLS-2$
- if (osName.equals ("Mac OS X")) return "macosx"; //$NON-NLS-1$ $NON-NLS-2$
- if (osName.startsWith ("Win")) return "win32"; //$NON-NLS-1$ $NON-NLS-2$
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
---- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh 0000-00-00 00:00:00.000000000 +0000
-@@ -72,9 +72,9 @@
-
- cd `dirname $0`
-
--MAKE_TYPE=make
-+MAKE_TYPE=gmake
-
--export CFLAGS='-O -Wall -fPIC'
-+export CFLAGS="${CFLAGS--O -Wall} -fPIC"
-
- # Determine which OS we are on
- if [ "${OS}" = "" ]; then
-@@ -86,27 +86,30 @@
- MAKEFILE=make_win32.mak
- ;;
- *)
-- SWT_OS=`uname -s | tr -s '[:upper:]' '[:lower:]'`
-+ SWT_OS=`uname -s | tr '[:upper:]' '[:lower:]'`
- MAKEFILE=make_linux.mak
- ;;
- esac
-
- # Determine which CPU type we are building for
- if [ "${MODEL}" = "" ]; then
-- if uname -i > /dev/null 2>&1; then
-- MODEL=`uname -i`
-- if [ ${MODEL} = 'unknown' ]; then
-- MODEL=`uname -m`
-- fi
-- else
- MODEL=`uname -m`
-- fi
- fi
- case $MODEL in
- "x86_64")
- SWT_ARCH=x86_64
- AWT_ARCH=amd64
- ;;
-+ "powerpc" | "powerpc64")
-+ SWT_ARCH=ppc64
-+ AWT_ARCH=ppc64
-+ MODEL=`uname -p`
-+ ;;
-+ "powerpc64le")
-+ SWT_ARCH=ppc64le
-+ AWT_ARCH=ppc64le
-+ MODEL=`uname -p`
-+ ;;
- *)
- SWT_ARCH=$MODEL
- AWT_ARCH=$MODEL
-@@ -114,6 +117,13 @@
- esac
-
- case $SWT_OS.$SWT_ARCH in
-+ "freebsd.ppc64")
-+ if [ "${JAVA_HOME}" = "" ]; then
-+ DYNAMIC_JAVA_HOME=`readlink -f /usr/local/bin/java | sed "s:jre/::" | sed "s:bin/java::"`
-+ JAVA_HOME = $DYNAMIC_JAVA_HOME
-+ export JAVA_HOME
-+ fi
-+ ;;
- "linux.x86_64")
- if [ "${CC}" = "" ]; then
- export CC=gcc
-@@ -159,7 +169,7 @@
-
-
- # For 64-bit CPUs, we have a switch
--if [ ${MODEL} = 'x86_64' -o ${MODEL} = 'ppc64le' -o ${MODEL} = 'aarch64' -o ${MODEL} = 'loongarch64' ]; then
-+if [ ${MODEL} = 'amd64' -o ${MODEL} = 'powerpc64' -o ${MODEL} = 'powerpc64le' -o ${MODEL} = 'aarch64' -o ${MODEL} = 'loongarch64' ]; then
- SWT_PTR_CFLAGS=-DJNI64
- if [ -d /lib64 ]; then
- XLIB64=-L/usr/X11R6/lib64
-@@ -170,6 +180,11 @@
- XLIB64="${XLIB64} -L/usr/lib64"
- SWT_LFLAGS=-m64
- export SWT_LFLAGS
-+ fi
-+ if [ ${SWT_OS} = "freebsd" ]
-+ then
-+ SWT_PTR_CFLAGS="${SWT_PTR_CFLAGS} -m64"
-+ export SWT_LFLAGS=-m64
- fi
- export SWT_PTR_CFLAGS
- fi
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak
---- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak 0000-00-00 00:00:00.000000000 +0000
-@@ -98,16 +98,18 @@
- WEBKIT_OBJECTS = swt.o webkitgtk.o webkitgtk_structs.o webkitgtk_stats.o webkitgtk_custom.o
- GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o
-
-+port_prefix=`pkg-config --variable=prefix gtk+-3.0`
- CFLAGS := $(CFLAGS) \
- -DSWT_VERSION=$(SWT_VERSION) \
- $(NATIVE_STATS) \
- $(SWT_DEBUG) \
- $(SWT_WEBKIT_DEBUG) \
-- -DLINUX -DGTK \
-+ -DFREEBSD -DGTK \
-+ -I$(port_prefix)/include \
- -I$(JAVA_HOME)/include \
-- -I$(JAVA_HOME)/include/linux \
-+ -I$(JAVA_HOME)/include/freebsd \
- ${SWT_PTR_CFLAGS}
--LFLAGS = -shared -fPIC ${SWT_LFLAGS}
-+LFLAGS = -shared -fPIC ${SWT_LFLAGS} -L$(port_prefix)/lib
-
- # Treat all warnings as errors. If your new code produces a warning, please
- # take time to properly understand and fix/silence it as necessary.
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
---- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java 0000-00-00 00:00:00.000000000 +0000
-@@ -65,8 +65,8 @@
-
- /* Initialize the OS flags and locale constants */
- String osName = System.getProperty ("os.name");
-- boolean isLinux = false, isWin32 = false;
-- if (osName.equals ("Linux")) isLinux = true;
-+ boolean isLinux = osName.equals ("Linux") || osName.equals ("FreeBSD");
-+ boolean isWin32 = false;
- if (osName.startsWith("Windows")) isWin32 = true;
- IsLinux = isLinux; IsWin32 = isWin32;
-
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java
---- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java 0000-00-00 00:00:00.000000000 +0000
-@@ -114,7 +114,7 @@
- * https://www.nczonline.net/blog/2009/01/05/what-determines-that-a-script-is-long-running/
- * https://stackoverflow.com/questions/3030024/maximum-execution-time-for-javascript
- */
-- static final int ASYNC_EXEC_TIMEOUT_MS = 10000;
-+ static final int ASYNC_EXEC_TIMEOUT_MS = 100; // Dirty hack for webkit issues on FreeBSD
-
- /** Workaround for bug 522733 */
- static boolean bug522733FirstInstanceCreated = false;
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf
---- eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt/META-INF/p2.inf 0000-00-00 00:00:00.000000000 +0000
-@@ -16,19 +16,19 @@
- requires.3.filter = (&(osgi.os=macosx)(osgi.ws=cocoa)(osgi.arch=x86_64)(!(org.eclipse.swt.buildtime=true)))
-
- requires.4.namespace = org.eclipse.equinox.p2.iu
--requires.4.name = org.eclipse.swt.gtk.linux.x86_64
-+requires.4.name = org.eclipse.swt.gtk.freebsd.amd64
- requires.4.range = [$version$,$version$]
--requires.4.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=x86_64)(!(org.eclipse.swt.buildtime=true)))
-+requires.4.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=amd64)(!(org.eclipse.swt.buildtime=true)))
-
- requires.5.namespace = org.eclipse.equinox.p2.iu
--requires.5.name = org.eclipse.swt.gtk.linux.ppc64le
-+requires.5.name = org.eclipse.swt.gtk.freebsd.powerpc64
- requires.5.range = [$version$,$version$]
--requires.5.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=ppc64le)(!(org.eclipse.swt.buildtime=true)))
-+requires.5.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=powerpc64)(!(org.eclipse.swt.buildtime=true)))
-
- requires.6.namespace = org.eclipse.equinox.p2.iu
--requires.6.name = org.eclipse.swt.gtk.linux.aarch64
-+requires.6.name = org.eclipse.swt.gtk.freebsd.powerpc64le
- requires.6.range = [$version$,$version$]
--requires.6.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=aarch64)(!(org.eclipse.swt.buildtime=true)))
-+requires.6.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=powerpc64le)(!(org.eclipse.swt.buildtime=true)))
-
- requires.7.namespace = org.eclipse.equinox.p2.iu
- requires.7.name = org.eclipse.swt.cocoa.macosx.aarch64
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml
---- eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -67,17 +67,21 @@
- </antcall>
- <antcall target="check_fragment_libraries">
- <param name="library_count" value="7"/>
-- <param name="fragment" value="org.eclipse.swt.gtk.linux.aarch64"/>
-+ <param name="fragment" value="org.eclipse.swt.gtk.freebsd.aarch64"/>
- </antcall>
- <antcall target="check_fragment_libraries">
- <param name="library_count" value="7"/>
-- <param name="fragment" value="org.eclipse.swt.gtk.linux.ppc64le"/>
-+ <param name="fragment" value="org.eclipse.swt.gtk.freebsd.powerpc64"/>
- </antcall>
- <antcall target="check_fragment_libraries">
- <param name="library_count" value="7"/>
-- <param name="fragment" value="org.eclipse.swt.gtk.linux.x86_64"/>
-+ <param name="fragment" value="org.eclipse.swt.gtk.freebsd.powerpc64le"/>
- </antcall>
- <antcall target="check_fragment_libraries">
-+ <param name="library_count" value="7"/>
-+ <param name="fragment" value="org.eclipse.swt.gtk.freebsd.amd64"/>
-+ </antcall>
-+ <antcall target="check_fragment_libraries">
- <param name="library_count" value="4"/>
- <param name="fragment" value="org.eclipse.swt.win32.win32.x86_64"/>
- </antcall>
-@@ -88,13 +92,13 @@
- <property name="checkdir" value="~/build/check_libraries"/>
- <property name="library_count" value="31"/>
- <property name="fragment" value=""/>
-- <fileset id="match" dir="${repo.bin}/bundles/${fragment}" includes="**/org.eclipse.swt.gtk.linux.aarch64/**, **/org.eclipse.swt.gtk.linux.ppc64le/**, **/org.eclipse.swt.gtk.linux.x86_64/**, **/org.eclipse.swt.win32.win32.x86_64/**, **/org.eclipse.swt.cocoa.macosx.aarch64/**, **/org.eclipse.swt.cocoa.macosx.x86_64/**">
-+ <fileset id="match" dir="${repo.bin}/bundles/${fragment}" includes="**/org.eclipse.swt.gtk.freebsd.aarch64/**, **/org.eclipse.swt.gtk.freebsd.powerpc64/**, **/org.eclipse.swt.gtk.freebsd.powerpc64le/**, **/org.eclipse.swt.gtk.freebsd.amd64/**, **/org.eclipse.swt.win32.win32.x86_64/**, **/org.eclipse.swt.cocoa.macosx.aarch64/**, **/org.eclipse.swt.cocoa.macosx.x86_64/**">
- <filename regex="[0-9][0-9][0-9][0-9]"/>
- <filename regex="${swt_version}"/>
- <exclude name="**/.git/**"/>
- </fileset>
- <echo>Matched files ${toString:match}</echo>
-- <fileset id="not_match" dir="${repo.bin}/bundles/${fragment}" includes="**/org.eclipse.swt.gtk.linux.aarch64/**, **/org.eclipse.swt.gtk.linux.ppc64le/**, **/org.eclipse.swt.gtk.linux.x86_64/**, **/org.eclipse.swt.win32.win32.x86_64/**, **/org.eclipse.swt.cocoa.macosx.aarch64/**, **/org.eclipse.swt.cocoa.macosx.x86_64/**">
-+ <fileset id="not_match" dir="${repo.bin}/bundles/${fragment}" includes="**/org.eclipse.swt.gtk.freebsd.aarch64/**, **/org.eclipse.swt.gtk.freebsd.powerpc64/**, **/org.eclipse.swt.gtk.freebsd.powerpc64le/**, **/org.eclipse.swt.gtk.freebsd.amd64/**, **/org.eclipse.swt.win32.win32.x86_64/**, **/org.eclipse.swt.cocoa.macosx.aarch64/**, **/org.eclipse.swt.cocoa.macosx.x86_64/**">
- <filename regex="[0-9][0-9][0-9][0-9]"/>
- <filename regex="${swt_version}" negate="true"/>
- <exclude name="**/.git/**"/>
-diff -ru eclipse.platform.swt/bundles/org.eclipse.swt.tools/Oomph/platformSwt.setup eclipse.platform.swt/bundles/org.eclipse.swt.tools/Oomph/platformSwt.setup
---- eclipse.platform.swt/bundles/org.eclipse.swt.tools/Oomph/platformSwt.setup 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/bundles/org.eclipse.swt.tools/Oomph/platformSwt.setup 0000-00-00 00:00:00.000000000 +0000
-@@ -91,7 +91,7 @@
- xsi:type="predicates:NotPredicate">
- <operand
- xsi:type="predicates:NamePredicate"
-- pattern=".*(cocoa|gtk|win32)(\.(macosx|aix|hpux|linux|solaris|win32)(\.(x86_64|ppc64|ia64|aarch64|arm|ppc64|ppc64le|s390|s390x|x86|sparcv9))?)?"/>
-+ pattern=".*(cocoa|gtk|win32)(\.(freebsd|macosx|aix|hpux|linux|solaris|win32)(\.(amd64|x86_64|powerpc64|ia64|aarch64|arm|ppc64|powerpc64le|s390|s390x|x86|sparcv9))?)?"/>
- </operand>
- <operand
- xsi:type="predicates:NamePredicate"
-diff -ru eclipse.platform.swt/local-build/org.eclipse.swt.fragments.localbuild/META-INF/p2.inf eclipse.platform.swt/local-build/org.eclipse.swt.fragments.localbuild/META-INF/p2.inf
---- eclipse.platform.swt/local-build/org.eclipse.swt.fragments.localbuild/META-INF/p2.inf 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/local-build/org.eclipse.swt.fragments.localbuild/META-INF/p2.inf 0000-00-00 00:00:00.000000000 +0000
-@@ -10,19 +10,19 @@
- requires.2.filter = (&(osgi.os=macosx)(osgi.ws=cocoa)(osgi.arch=x86_64))
-
- requires.3.namespace = org.eclipse.equinox.p2.iu
--requires.3.name = org.eclipse.swt.gtk.linux.x86_64
-+requires.3.name = org.eclipse.swt.gtk.freebsd.amd64
- requires.3.range = 0.0.0
--requires.3.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=x86_64))
-+requires.3.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=amd64))
-
- requires.4.namespace = org.eclipse.equinox.p2.iu
--requires.4.name = org.eclipse.swt.gtk.linux.ppc64le
-+requires.4.name = org.eclipse.swt.gtk.freebsd.powerpc64
- requires.4.range = 0.0.0
--requires.4.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=ppc64le))
-+requires.4.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=powerpc64))
-
- requires.5.namespace = org.eclipse.equinox.p2.iu
--requires.5.name = org.eclipse.swt.gtk.linux.aarch64
-+requires.5.name = org.eclipse.swt.gtk.freebsd.powerpc64le
- requires.5.range = 0.0.0
--requires.5.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=aarch64))
-+requires.5.filter = (&(osgi.os=freebsd)(osgi.ws=gtk)(osgi.arch=powerpc64le))
-
- requires.6.namespace = org.eclipse.equinox.p2.iu
- requires.6.name = org.eclipse.swt.cocoa.macosx.aarch64
-diff -ru eclipse.platform.swt/pom.xml eclipse.platform.swt/pom.xml
---- eclipse.platform.swt/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -108,11 +108,12 @@
- <activation>
- <os>
- <family>unix</family>
-- <name>Linux</name>
- </os>
- </activation>
- <modules>
-+<!-- disabled
- <module>tests/org.eclipse.swt.tests.gtk</module>
-+-->
- </modules>
- <build>
- <plugins>
-@@ -122,17 +123,22 @@
- <version>${tycho.version}</version>
- <configuration>
- <environments>
-- <environment>
-- <os>linux</os>
-- <ws>gtk</ws>
-- <arch>x86_64</arch>
-- </environment>
-- <environment>
-- <os>linux</os>
-- <ws>gtk</ws>
-- <arch>ppc64le</arch>
-- </environment>
-- </environments>
-+ <environment>
-+ <os>freebsd</os>
-+ <ws>gtk</ws>
-+ <arch>amd64</arch>
-+ </environment>
-+ <environment>
-+ <os>freebsd</os>
-+ <ws>gtk</ws>
-+ <arch>powerpc64</arch>
-+ </environment>
-+ <environment>
-+ <os>freebsd</os>
-+ <ws>gtk</ws>
-+ <arch>powerpc64le</arch>
-+ </environment>
-+ </environments>
- </configuration>
- </plugin>
- </plugins>
diff --git a/java/eclipse/files/patch-eclipse.platform.swt.binaries b/java/eclipse/files/patch-eclipse.platform.swt.binaries
deleted file mode 100644
index 730c72fa5c99..000000000000
--- a/java/eclipse/files/patch-eclipse.platform.swt.binaries
+++ /dev/null
@@ -1,327 +0,0 @@
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/META-INF/MANIFEST.MF eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/META-INF/MANIFEST.MF
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -2,7 +2,7 @@
- Fragment-Host: org.eclipse.swt;bundle-version="[3.116.0,4.0.0)"
- Bundle-Name: %fragmentName
- Bundle-Vendor: %providerName
--Bundle-SymbolicName: org.eclipse.swt.gtk.linux.aarch64; singleton:=true
-+Bundle-SymbolicName: org.eclipse.swt.gtk.freebsd.aarch64; singleton:=true
- Bundle-Version: 3.120.0.qualifier
- Bundle-ManifestVersion: 2
- Bundle-Localization: fragment
-@@ -28,8 +28,8 @@
- org.eclipse.swt.internal.gtk3; x-internal:=true,
- org.eclipse.swt.internal.gtk4; x-internal:=true,
- org.eclipse.swt.internal.opengl.glx; x-internal:=true
--Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=aarch64))
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=aarch64))
- SWT-WS: gtk
--SWT-OS: linux
-+SWT-OS: freebsd
- SWT-Arch: aarch64
--Automatic-Module-Name: org.eclipse.swt.gtk.linux.aarch64
-+Automatic-Module-Name: org.eclipse.swt.gtk.freebsd.aarch64
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/build.xml eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/build.xml
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/build.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/build.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -1,8 +1,8 @@
- <?xml version="1.0" encoding="UTF-8"?>
--<project name="org.eclipse.swt.gtk.linux.aarch64" default="build.jars" basedir=".">
-+<project name="org.eclipse.swt.gtk.freebsd.aarch64" default="build.jars" basedir=".">
-
- <property name="swt.ws" value="gtk" />
-- <property name="swt.os" value="linux" />
-+ <property name="swt.os" value="freebsd" />
- <property name="swt.arch" value="aarch64" />
- <property name="targets" value="install"/>
-
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/pom.xml eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/pom.xml
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.aarch64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -20,12 +20,12 @@
- <relativePath>../binaries-parent/</relativePath>
- </parent>
- <groupId>org.eclipse.swt</groupId>
-- <artifactId>org.eclipse.swt.gtk.linux.aarch64</artifactId>
-+ <artifactId>org.eclipse.swt.gtk.freebsd.aarch64</artifactId>
- <version>3.120.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <properties>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
- <arch>aarch64</arch>
- <buildid>${buildId}</buildid>
-@@ -62,7 +62,7 @@
- <property>
- <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
- <name>native</name>
-- <value>gtk.linux.aarch64</value>
-+ <value>gtk.freebsd.aarch64</value>
- </property>
- </activation>
- <build>
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/.project eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/.project
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/.project 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/.project 0000-00-00 00:00:00.000000000 +0000
-@@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="UTF-8"?>
- <projectDescription>
-- <name>org.eclipse.swt.gtk.linux.x86_64</name>
-+ <name>org.eclipse.swt.gtk.freebsd.amd64</name>
- <comment></comment>
- <projects>
- </projects>
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/META-INF/MANIFEST.MF eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/META-INF/MANIFEST.MF
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -2,7 +2,7 @@
- Fragment-Host: org.eclipse.swt;bundle-version="[3.116.0,4.0.0)"
- Bundle-Name: %fragmentName
- Bundle-Vendor: %providerName
--Bundle-SymbolicName: org.eclipse.swt.gtk.linux.x86_64; singleton:=true
-+Bundle-SymbolicName: org.eclipse.swt.gtk.freebsd.amd64; singleton:=true
- Bundle-Version: 3.120.0.qualifier
- Bundle-ManifestVersion: 2
- Bundle-Localization: fragment
-@@ -28,8 +28,8 @@
- org.eclipse.swt.internal.gtk3; x-internal:=true,
- org.eclipse.swt.internal.gtk4; x-internal:=true,
- org.eclipse.swt.internal.opengl.glx; x-internal:=true
--Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=amd64))
- SWT-WS: gtk
--SWT-OS: linux
--SWT-Arch: x86_64
--Automatic-Module-Name: org.eclipse.swt.gtk.linux.x86_64
-+SWT-OS: freebsd
-+SWT-Arch: amd64
-+Automatic-Module-Name: org.eclipse.swt.gtk.freebsd.amd64
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/build.xml eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/build.xml
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/build.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/build.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -1,9 +1,9 @@
- <?xml version="1.0" encoding="UTF-8"?>
--<project name="org.eclipse.swt.gtk.linux.x86_64" default="build.jars" basedir=".">
-+<project name="org.eclipse.swt.gtk.freebsd.amd64" default="build.jars" basedir=".">
-
- <property name="swt.ws" value="gtk" />
-- <property name="swt.os" value="linux" />
-- <property name="swt.arch" value="x86_64" />
-+ <property name="swt.os" value="freebsd" />
-+ <property name="swt.arch" value="amd64" />
- <property name="targets" value="install"/>
-
- <!-- These properties are used by eclipse when exporting as Deployable plugin and fragments -->
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/mvnBuildSwtJar.sh eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/mvnBuildSwtJar.sh
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/mvnBuildSwtJar.sh 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/mvnBuildSwtJar.sh 0000-00-00 00:00:00.000000000 +0000
-@@ -36,10 +36,10 @@
-
- if [ "${DEV_ECLIPSE}" != "" ]; then
- echo " Copying generated *.jar files into your ${DEV_ECLIPSE} folder"
-- cp -v ./target/org.eclipse.swt.gtk.linux.x86_64-*-SNAPSHOT.jar ${DEV_ECLIPSE}/plugins/org.eclipse.swt.gtk.linux.x86_64_*
-- cp -v ./target/org.eclipse.swt.gtk.linux.x86_64-*-SNAPSHOT-sources.jar ${DEV_ECLIPSE}/plugins/org.eclipse.swt.gtk.linux.x86_64.source_*.jar
-+ cp -v ./target/org.eclipse.swt.gtk.freebsd.amd64-*-SNAPSHOT.jar ${DEV_ECLIPSE}/plugins/org.eclipse.swt.gtk.freebsd.amd64_*
-+ cp -v ./target/org.eclipse.swt.gtk.freebsd.amd64-*-SNAPSHOT-sources.jar ${DEV_ECLIPSE}/plugins/org.eclipse.swt.gtk.freebsd.amd64.source_*.jar
- echo "Note: Below should list newly generated *jar files with current timestamp"
-- ls -l --color=auto -a ${DEV_ECLIPSE}/plugins/org.eclipse.swt.gtk.linux.x86_64*
-+ ls -l --color=auto -a ${DEV_ECLIPSE}/plugins/org.eclipse.swt.gtk.freebsd.amd64*
- else
- echo "Note:"
- echo " Set DEV_ECLIPSE to your development eclipse folder to have the *.jar files copied into it automatically."
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/pom.xml eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/pom.xml
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.amd64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -20,14 +20,14 @@
- <relativePath>../binaries-parent/</relativePath>
- </parent>
- <groupId>org.eclipse.swt</groupId>
-- <artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
-+ <artifactId>org.eclipse.swt.gtk.freebsd.amd64</artifactId>
- <version>3.120.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <properties>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>x86_64</arch>
-+ <arch>amd64</arch>
- <buildid>${buildId}</buildid>
- </properties>
-
-@@ -62,7 +62,7 @@
- <property>
- <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
- <name>native</name>
-- <value>gtk.linux.x86_64</value>
-+ <value>gtk.freebsd.amd64</value>
- </property>
- </activation>
- <build>
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -2,7 +2,7 @@
- Fragment-Host: org.eclipse.swt;bundle-version="[3.116.0,4.0.0)"
- Bundle-Name: %fragmentName
- Bundle-Vendor: %providerName
--Bundle-SymbolicName: org.eclipse.swt.gtk.linux.ppc64le;singleton:=true
-+Bundle-SymbolicName: org.eclipse.swt.gtk.freebsd.powerpc64;singleton:=true
- Bundle-Version: 3.120.0.qualifier
- Bundle-ManifestVersion: 2
- Bundle-Localization: fragment
-@@ -28,8 +28,8 @@
- org.eclipse.swt.internal.gtk3; x-internal:=true,
- org.eclipse.swt.internal.gtk4; x-internal:=true,
- org.eclipse.swt.internal.opengl.glx; x-internal:=true
--Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=ppc64le))
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=powerpc64))
- SWT-WS: gtk
--SWT-OS: linux
--SWT-Arch: ppc64le
--Automatic-Module-Name: org.eclipse.swt.gtk.linux.ppc64le
-+SWT-OS: freebsd
-+SWT-Arch: powerpc64
-+Automatic-Module-Name: org.eclipse.swt.gtk.freebsd.powerpc64
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/build.xml eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/build.xml
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/build.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/build.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -1,9 +1,9 @@
- <?xml version="1.0" encoding="UTF-8"?>
--<project name="org.eclipse.swt.gtk.linux.ppc64le" default="build.jars" basedir=".">
-+<project name="org.eclipse.swt.gtk.freebsd.powerpc64" default="build.jars" basedir=".">
-
- <property name="swt.ws" value="gtk" />
-- <property name="swt.os" value="linux" />
-- <property name="swt.arch" value="ppc64le" />
-+ <property name="swt.os" value="freebsd" />
-+ <property name="swt.arch" value="powerpc64" />
- <property name="targets" value="install"/>
-
- <!-- These properties are used by eclipse when exporting as Deployable plugin and fragments -->
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/pom.xml eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/pom.xml
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -20,14 +20,14 @@
- <relativePath>../binaries-parent/</relativePath>
- </parent>
- <groupId>org.eclipse.swt</groupId>
-- <artifactId>org.eclipse.swt.gtk.linux.ppc64le</artifactId>
-+ <artifactId>org.eclipse.swt.gtk.freebsd.powerpc64</artifactId>
- <version>3.120.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <properties>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>ppc64le</arch>
-+ <arch>powerpc64</arch>
- <buildid>${buildId}</buildid>
- </properties>
-
-@@ -62,7 +62,7 @@
- <property>
- <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
- <name>native</name>
-- <value>gtk.linux.ppc64le</value>
-+ <value>gtk.freebsd.powerpc64</value>
- </property>
- </activation>
- <build>
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -2,7 +2,7 @@
- Fragment-Host: org.eclipse.swt;bundle-version="[3.116.0,4.0.0)"
- Bundle-Name: %fragmentName
- Bundle-Vendor: %providerName
--Bundle-SymbolicName: org.eclipse.swt.gtk.linux.ppc64le;singleton:=true
-+Bundle-SymbolicName: org.eclipse.swt.gtk.freebsd.powerpc64le;singleton:=true
- Bundle-Version: 3.120.0.qualifier
- Bundle-ManifestVersion: 2
- Bundle-Localization: fragment
-@@ -28,8 +28,8 @@
- org.eclipse.swt.internal.gtk3; x-internal:=true,
- org.eclipse.swt.internal.gtk4; x-internal:=true,
- org.eclipse.swt.internal.opengl.glx; x-internal:=true
--Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=ppc64le))
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=powerpc64le))
- SWT-WS: gtk
--SWT-OS: linux
--SWT-Arch: ppc64le
--Automatic-Module-Name: org.eclipse.swt.gtk.linux.ppc64le
-+SWT-OS: freebsd
-+SWT-Arch: powerpc64le
-+Automatic-Module-Name: org.eclipse.swt.gtk.freebsd.powerpc64le
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/build.xml eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/build.xml
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/build.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/build.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -1,9 +1,9 @@
- <?xml version="1.0" encoding="UTF-8"?>
--<project name="org.eclipse.swt.gtk.linux.ppc64le" default="build.jars" basedir=".">
-+<project name="org.eclipse.swt.gtk.freebsd.powerpc64le" default="build.jars" basedir=".">
-
- <property name="swt.ws" value="gtk" />
-- <property name="swt.os" value="linux" />
-- <property name="swt.arch" value="ppc64le" />
-+ <property name="swt.os" value="freebsd" />
-+ <property name="swt.arch" value="powerpc64le" />
- <property name="targets" value="install"/>
-
- <!-- These properties are used by eclipse when exporting as Deployable plugin and fragments -->
-diff -ru eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/pom.xml eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/pom.xml
---- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.freebsd.powerpc64le/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -20,14 +20,14 @@
- <relativePath>../binaries-parent/</relativePath>
- </parent>
- <groupId>org.eclipse.swt</groupId>
-- <artifactId>org.eclipse.swt.gtk.linux.ppc64le</artifactId>
-+ <artifactId>org.eclipse.swt.gtk.freebsd.powerpc64le</artifactId>
- <version>3.120.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <properties>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>ppc64le</arch>
-+ <arch>powerpc64le</arch>
- <buildid>${buildId}</buildid>
- </properties>
-
-@@ -62,7 +62,7 @@
- <property>
- <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
- <name>native</name>
-- <value>gtk.linux.ppc64le</value>
-+ <value>gtk.freebsd.powerpc64le</value>
- </property>
- </activation>
- <build>
-diff -ru eclipse.platform.swt.binaries/pom.xml eclipse.platform.swt.binaries/pom.xml
---- eclipse.platform.swt.binaries/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.swt.binaries/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -55,12 +55,13 @@
- <modules>
- <module>bundles/org.eclipse.swt.cocoa.macosx.x86_64</module>
- <module>bundles/org.eclipse.swt.cocoa.macosx.aarch64</module>
-- <module>bundles/org.eclipse.swt.gtk.linux.aarch64</module>
-- <module>bundles/org.eclipse.swt.gtk.linux.ppc64le</module>
-- <module>bundles/org.eclipse.swt.gtk.linux.x86_64</module>
-+ <module>bundles/org.eclipse.swt.gtk.freebsd.aarch64</module>
-+ <module>bundles/org.eclipse.swt.gtk.freebsd.powerpc64</module>
-+ <module>bundles/org.eclipse.swt.gtk.freebsd.powerpc64le</module>
-+ <module>bundles/org.eclipse.swt.gtk.freebsd.amd64</module>
- <module>bundles/org.eclipse.swt.win32.win32.x86_64</module>
- <!--module>bundles/org.eclipse.swt.browser.chromium.cocoa.macosx.x86_64</module>
-- <module>bundles/org.eclipse.swt.browser.chromium.gtk.linux.x86_64</module>
-+ <module>bundles/org.eclipse.swt.browser.chromium.gtk.freebsd.amd64</module>
- <module>bundles/org.eclipse.swt.browser.chromium.win32.win32.x86_64</module-->
- </modules>
-
diff --git a/java/eclipse/files/patch-eclipse.platform.team b/java/eclipse/files/patch-eclipse.platform.team
deleted file mode 100644
index 0ebf0de3dca1..000000000000
--- a/java/eclipse/files/patch-eclipse.platform.team
+++ /dev/null
@@ -1,110 +0,0 @@
-diff -ru eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/.project eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/.project
---- eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/.project 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/.project 0000-00-00 00:00:00.000000000 +0000
-@@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="UTF-8"?>
- <projectDescription>
-- <name>org.eclipse.core.net.linux</name>
-+ <name>org.eclipse.core.net.freebsd</name>
- <comment></comment>
- <projects>
- </projects>
-diff -ru eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/META-INF/MANIFEST.MF eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/META-INF/MANIFEST.MF
---- eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -3,10 +3,10 @@
- Bundle-Name: %fragmentName
- Bundle-Vendor: %providerName
- Bundle-Localization: fragment
--Bundle-SymbolicName: org.eclipse.core.net.linux;singleton:=true
-+Bundle-SymbolicName: org.eclipse.core.net.freebsd;singleton:=true
- Bundle-Version: 1.0.100.qualifier
- Fragment-Host: org.eclipse.core.net;bundle-version="1.1.0"
--Eclipse-PlatformFilter: (osgi.os=linux)
-+Eclipse-PlatformFilter: (osgi.os=freebsd)
- Bundle-RequiredExecutionEnvironment: JavaSE-11
--Automatic-Module-Name: org.eclipse.core.net.linux
-+Automatic-Module-Name: org.eclipse.core.net.freebsd
- Require-Bundle: com.sun.jna
-diff -ru eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/fragment.properties eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/fragment.properties
---- eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/fragment.properties 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/fragment.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -11,5 +11,5 @@
- # Contributors:
- # Red Hat Inc. - initial API and implementation
- ###############################################################################
--fragmentName = Proxy for Linux
-+fragmentName = Proxy for FreeBSD
- providerName = Eclipse.org
-diff -ru eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/pom.xml eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/pom.xml
---- eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -8,7 +8,7 @@
-
- Contributors:
- Igor Fedorenko - initial implementation
-- Red Hat Inc. - modified for use in org.eclipse.core.net.linux
-+ Red Hat Inc. - modified for use in org.eclipse.core.net.freebsd
- -->
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-@@ -19,7 +19,7 @@
- <relativePath>../../</relativePath>
- </parent>
- <groupId>org.eclipse.core</groupId>
-- <artifactId>org.eclipse.core.net.linux</artifactId>
-+ <artifactId>org.eclipse.core.net.freebsd</artifactId>
- <version>1.0.100-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
-@@ -35,7 +35,7 @@
- <configuration>
- <environments>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
- </environment>
- </environments>
-diff -ru eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/src/org/eclipse/core/net/ProxyProvider.java eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/src/org/eclipse/core/net/ProxyProvider.java
---- eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/src/org/eclipse/core/net/ProxyProvider.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.team/bundles/org.eclipse.core.net.freebsd/src/org/eclipse/core/net/ProxyProvider.java 0000-00-00 00:00:00.000000000 +0000
-@@ -85,7 +85,7 @@
- proxies = getProxyData();
- }
- if (Policy.DEBUG) {
-- Policy.debug("LinuxProxyProvider#select result for [" + uri + "]"); //$NON-NLS-1$ //$NON-NLS-2$
-+ Policy.debug("FreeBSDProxyProvider#select result for [" + uri + "]"); //$NON-NLS-1$ //$NON-NLS-2$
- for (IProxyData proxy : proxies) {
- System.out.println(" " + proxy); //$NON-NLS-1$
- }
-@@ -196,7 +196,7 @@
- pd.setUserid(user);
- pd.setPassword(password);
- }
-- pd.setSource("LINUX_ENV"); //$NON-NLS-1$
-+ pd.setSource("FREEBSD_ENV"); //$NON-NLS-1$
- if (Policy.DEBUG_SYSTEM_PROVIDERS)
- Policy.debug("Got Env proxy: " + pd); //$NON-NLS-1$
- return pd;
-@@ -213,7 +213,7 @@
- if (pd != null) {
- if (Policy.DEBUG_SYSTEM_PROVIDERS)
- Policy.debug("Got Gnome proxy: " + pd); //$NON-NLS-1$
-- pd.setSource("LINUX_GNOME"); //$NON-NLS-1$
-+ pd.setSource("FREEBSD_GNOME"); //$NON-NLS-1$
- return pd;
- }
- } catch (UnsatisfiedLinkError e) {
-diff -ru eclipse.platform.team/pom.xml eclipse.platform.team/pom.xml
---- eclipse.platform.team/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.team/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -67,7 +67,7 @@
- <module>examples/org.eclipse.team.examples.filesystem</module>
-
- <!-- fragments -->
-- <module>bundles/org.eclipse.core.net.linux</module>
-+ <module>bundles/org.eclipse.core.net.freebsd</module>
- <module>bundles/org.eclipse.core.net.win32</module>
- <module>bundles/org.eclipse.core.net.win32.x86_64</module>
- <module>tests</module>
diff --git a/java/eclipse/files/patch-eclipse.platform.text b/java/eclipse/files/patch-eclipse.platform.text
deleted file mode 100644
index de0dc33ff4f1..000000000000
--- a/java/eclipse/files/patch-eclipse.platform.text
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru eclipse.platform.text/org.eclipse.ui.workbench.texteditor/plugin.xml eclipse.platform.text/org.eclipse.ui.workbench.texteditor/plugin.xml
---- eclipse.platform.text/org.eclipse.ui.workbench.texteditor/plugin.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.text/org.eclipse.ui.workbench.texteditor/plugin.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -1354,7 +1354,7 @@
- %blockSelectionModeFont.description
- </description>
- <fontValue
-- os="linux"
-+ os="freebsd"
- value="Monospace-regular-10"
- ws="gtk">
- </fontValue>
diff --git a/java/eclipse/files/patch-eclipse.platform.ua b/java/eclipse/files/patch-eclipse.platform.ua
deleted file mode 100644
index ad9d5aeb2910..000000000000
--- a/java/eclipse/files/patch-eclipse.platform.ua
+++ /dev/null
@@ -1,65 +0,0 @@
-diff -ru eclipse.platform.ua/org.eclipse.help.base/plugin.xml eclipse.platform.ua/org.eclipse.help.base/plugin.xml
---- eclipse.platform.ua/org.eclipse.help.base/plugin.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ua/org.eclipse.help.base/plugin.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -131,7 +131,7 @@
- </parameter>
- <parameter
- name="os"
-- value="Linux,AIX,HP,SunOS">
-+ value="FreeBSD,Linux,AIX,HP,SunOS">
- </parameter>
- </factoryclass>
- </browser>
-@@ -150,7 +150,7 @@
- </parameter>
- <parameter
- name="os"
-- value="Linux,AIX,HP,SunOS">
-+ value="FreeBSD,Linux,AIX,HP,SunOS">
- </parameter>
- </factoryclass>
- </browser>
-@@ -169,7 +169,7 @@
- </parameter>
- <parameter
- name="os"
-- value="Linux,AIX,HP,SunOS">
-+ value="FreeBSD,Linux,AIX,HP,SunOS">
- </parameter>
- </factoryclass>
- </browser>
-diff -ru eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java
---- eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/base/HelpBasePreferenceInitializer.java 0000-00-00 00:00:00.000000000 +0000
-@@ -35,7 +35,7 @@
- prefs
- .put("custom_browser_path", //$NON-NLS-1$
- "\"C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE\" %1"); //$NON-NLS-1$
-- } else if (os.contains("linux")) { //$NON-NLS-1$
-+ } else if (os.contains("linux") || os.contains("freebsd")) { //$NON-NLS-1$
- prefs.put("custom_browser_path", //$NON-NLS-1$
- "konqueror %1"); //$NON-NLS-1$
- } else {
-diff -ru eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java
---- eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ua/org.eclipse.help.base/src/org/eclipse/help/internal/browser/BrowserManager.java 0000-00-00 00:00:00.000000000 +0000
-@@ -95,7 +95,7 @@
- if (defaultBrowserDesc == null) {
- if (Constants.WS_WIN32.equalsIgnoreCase(os)) {
- setDefaultBrowserID(BROWSER_ID_SYSTEM);
-- } else if (Constants.OS_LINUX.equalsIgnoreCase(os)) {
-+ } else if (Constants.OS_LINUX.equalsIgnoreCase(os) || Constants.OS_FREEBSD.equalsIgnoreCase(os)) {
- setDefaultBrowserID(BROWSER_ID_FIREFOX);
- } else if (Constants.OS_MACOSX.equalsIgnoreCase(os)) {
- setDefaultBrowserID(BROWSER_ID_MAC_SYSTEM);
-diff -ru eclipse.platform.ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java eclipse.platform.ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java
---- eclipse.platform.ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ua/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/embedded/EmbeddedBrowserFactory.java 0000-00-00 00:00:00.000000000 +0000
-@@ -67,6 +67,7 @@
- */
- private boolean test() {
- if (!Constants.OS_WIN32.equalsIgnoreCase(Platform.getOS())
-+ && !Constants.OS_FREEBSD.equalsIgnoreCase(Platform.getOS())
- && !Constants.OS_LINUX.equalsIgnoreCase(Platform.getOS())) {
- return false;
- }
diff --git a/java/eclipse/files/patch-eclipse.platform.ui b/java/eclipse/files/patch-eclipse.platform.ui
deleted file mode 100644
index 606d70f72a04..000000000000
--- a/java/eclipse/files/patch-eclipse.platform.ui
+++ /dev/null
@@ -1,233 +0,0 @@
-diff -ru eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk/pom.xml eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk/pom.xml
---- eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -33,9 +33,9 @@
- <resolver>p2</resolver>
- <environments>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>x86_64</arch>
-+ <arch>amd64</arch>
- </environment>
- </environments>
- </configuration>
-diff -ru eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml
---- eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ui/bundles/org.eclipse.ui.browser/plugin.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -94,7 +94,7 @@
- <browser
- id="org.eclipse.ui.browser.firefox"
- name="%browserFirefox"
-- os="linux,aix,hpux,solaris"
-+ os="freebsd,linux,aix,hpux,solaris"
- executable="firefox"
- factoryclass="org.eclipse.ui.internal.browser.browsers.MozillaFactory">
- <location>
-@@ -104,28 +104,28 @@
- <browser
- id="org.eclipse.ui.browser.chrome"
- name="%browserChrome"
-- os="linux,aix,hpux,solaris"
-+ os="freebsd,linux,aix,hpux,solaris"
- executable="google-chrome">
- <location>usr/bin/google-chrome</location>
- </browser>
- <browser
- id="org.eclipse.ui.browser.chromium"
- name="%browserChromium"
-- os="linux"
-+ os="freebsd,linux"
- executable="chromium-browser">
- <location>usr/bin/chromium-browser</location>
- </browser>
- <browser
- id="org.eclipse.ui.browser.konqueror"
- name="%browserKonqueror"
-- os="linux,aix,hpux,solaris"
-+ os="freebsd,linux,aix,hpux,solaris"
- executable="konqueror">
- <location>usr/bin/konqueror</location>
- </browser>
- <browser
- id="org.eclipse.ui.browser.epiphany"
- name="%browserEpiphany"
-- os="linux"
-+ os="freebsd,linux"
- executable="epiphany">
- <location>
- usr/bin/epiphany
-diff -ru eclipse.platform.ui/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java eclipse.platform.ui/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java
---- eclipse.platform.ui/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ui/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java 0000-00-00 00:00:00.000000000 +0000
-@@ -209,7 +209,8 @@
- if (currentTitleControl.getVisible()) {
- int tw = width - HMARGIN * 2 - SPACING * 2;
- String os = System.getProperty("os.name"); //$NON-NLS-1$
-- if (Constants.OS_LINUX.equalsIgnoreCase(os)) {
-+ if (Constants.OS_LINUX.equalsIgnoreCase(os) ||
-+ Constants.OS_FREEBSD.equalsIgnoreCase(os)) {
- tw += 1; // See Bug 342610
- }
- if (bsize != null)
-@@ -577,4 +578,4 @@
- target.setTransfer(transferTypes);
- target.addDropListener(listener);
- }
--}
-\ No newline at end of file
-+}
-diff -ru eclipse.platform.ui/bundles/org.eclipse.ui.themes/plugin.xml eclipse.platform.ui/bundles/org.eclipse.ui.themes/plugin.xml
---- eclipse.platform.ui/bundles/org.eclipse.ui.themes/plugin.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ui/bundles/org.eclipse.ui.themes/plugin.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -12,7 +12,7 @@
- basestylesheeturi="css/e4-dark_linux.css"
- id="org.eclipse.e4.ui.css.theme.e4_dark"
- label="%theme.dark"
-- os="linux">
-+ os="freebsd">
- </theme>
- <theme
- basestylesheeturi="css/e4-dark_win.css"
-@@ -37,7 +37,7 @@
- basestylesheeturi="css/e4_default_gtk.css"
- id="org.eclipse.e4.ui.css.theme.e4_default"
- label="%theme.gtk"
-- os="linux">
-+ os="freebsd">
- </theme>
- <theme
- basestylesheeturi="css/e4_default_mac.css"
-diff -ru eclipse.platform.ui/bundles/org.eclipse.urischeme/src/org/eclipse/urischeme/IOperatingSystemRegistration.java eclipse.platform.ui/bundles/org.eclipse.urischeme/src/org/eclipse/urischeme/IOperatingSystemRegistration.java
---- eclipse.platform.ui/bundles/org.eclipse.urischeme/src/org/eclipse/urischeme/IOperatingSystemRegistration.java 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ui/bundles/org.eclipse.urischeme/src/org/eclipse/urischeme/IOperatingSystemRegistration.java 0000-00-00 00:00:00.000000000 +0000
-@@ -33,6 +33,8 @@
- * @return an instance of IOperatingSystemRegistration
- */
- static IOperatingSystemRegistration getInstance() {
-+ if (Platform.OS_FREEBSD.equals(Platform.getOS()))
-+ return new RegistrationLinux();
- if (Platform.OS_MACOSX.equals(Platform.getOS())) {
- return new RegistrationMacOsX();
- } else if (Platform.OS_LINUX.equals(Platform.getOS())) {
-diff -ru eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
---- eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -406,19 +406,29 @@
- fragment="true"/>
-
- <plugin
-- id="org.eclipse.equinox.launcher.gtk.linux.ppc64le"
-- os="linux"
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64"
-+ os="freebsd"
- ws="gtk"
-- arch="ppc64le"
-+ arch="powerpc64"
- download-size="0"
- install-size="0"
- version="0.0.0"
- fragment="true"/>
-
- <plugin
-- id="org.eclipse.equinox.launcher.gtk.linux.aarch64"
-- os="linux"
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le"
-+ os="freebsd"
- ws="gtk"
-+ arch="powerpc64le"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"/>
-+
-+ <plugin
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.aarch64"
-+ os="freebsd"
-+ ws="gtk"
- arch="aarch64"
- download-size="0"
- install-size="0"
-@@ -426,10 +436,10 @@
- fragment="true"/>
-
- <plugin
-- id="org.eclipse.equinox.launcher.gtk.linux.x86_64"
-- os="linux"
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.amd64"
-+ os="freebsd"
- ws="gtk"
-- arch="x86_64"
-+ arch="amd64"
- download-size="0"
- install-size="0"
- version="0.0.0"
-@@ -464,10 +474,10 @@
- unpack="false"/>
-
- <plugin
-- id="org.eclipse.swt.gtk.linux.ppc64le"
-- os="linux"
-+ id="org.eclipse.swt.gtk.freebsd.powerpc64"
-+ os="freebsd"
- ws="gtk"
-- arch="ppc64le"
-+ arch="powerpc64"
- download-size="0"
- install-size="0"
- version="0.0.0"
-@@ -475,9 +485,20 @@
- unpack="false"/>
-
- <plugin
-- id="org.eclipse.swt.gtk.linux.aarch64"
-- os="linux"
-+ id="org.eclipse.swt.gtk.freebsd.powerpc64le"
-+ os="freebsd"
- ws="gtk"
-+ arch="powerpc64le"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"
-+ unpack="false"/>
-+
-+ <plugin
-+ id="org.eclipse.swt.gtk.freebsd.aarch64"
-+ os="freebsd"
-+ ws="gtk"
- arch="aarch64"
- download-size="0"
- install-size="0"
-@@ -486,10 +507,10 @@
- unpack="false"/>
-
- <plugin
-- id="org.eclipse.swt.gtk.linux.x86_64"
-- os="linux"
-+ id="org.eclipse.swt.gtk.freebsd.amd64"
-+ os="freebsd"
- ws="gtk"
-- arch="x86_64"
-+ arch="amd64"
- download-size="0"
- install-size="0"
- version="0.0.0"
-diff -ru eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml
---- eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ eclipse.platform.ui/features/org.eclipse.e4.rcp/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -39,9 +39,10 @@
- <plugin id="org.eclipse.swt"/>
- <plugin id="org.eclipse.equinox.launcher.cocoa.macosx.x86_64"/>
- <plugin id="org.eclipse.equinox.launcher.cocoa.macosx.aarch64"/>
-- <plugin id="org.eclipse.equinox.launcher.gtk.linux.ppc64le"/>
-- <plugin id="org.eclipse.equinox.launcher.gtk.linux.aarch64"/>
-- <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86_64"/>
-+ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64"/>
-+ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le"/>
-+ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.aarch64"/>
-+ <plugin id="org.eclipse.equinox.launcher.gtk.freebsd.amd64"/>
- <plugin id="org.eclipse.equinox.launcher.win32.win32.x86_64"/>
- </excludes>
- </configuration>
diff --git a/java/eclipse/files/patch-rt.equinox.bundles b/java/eclipse/files/patch-rt.equinox.bundles
deleted file mode 100644
index 1d41747dd52a..000000000000
--- a/java/eclipse/files/patch-rt.equinox.bundles
+++ /dev/null
@@ -1,108 +0,0 @@
-diff -ru rt.equinox.bundles/bundles/org.eclipse.equinox.bidi/src/org/eclipse/equinox/bidi/advanced/StructuredTextEnvironment.java rt.equinox.bundles/bundles/org.eclipse.equinox.bidi/src/org/eclipse/equinox/bidi/advanced/StructuredTextEnvironment.java
---- rt.equinox.bundles/bundles/org.eclipse.equinox.bidi/src/org/eclipse/equinox/bidi/advanced/StructuredTextEnvironment.java 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.bundles/bundles/org.eclipse.equinox.bidi/src/org/eclipse/equinox/bidi/advanced/StructuredTextEnvironment.java 0000-00-00 00:00:00.000000000 +0000
-@@ -187,7 +187,7 @@
- String osName = StructuredTextActivator.getProperty("os.name"); //$NON-NLS-1$/
- if (osName != null)
- osName = osName.toLowerCase();
-- boolean supportedOS = osName.startsWith("windows") || osName.startsWith("linux") || osName.startsWith("mac"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-+ boolean supportedOS = osName.startsWith("windows") || osName.startsWith("freebsd") || osName.startsWith("linux") || osName.startsWith("mac"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- if (supportedOS) {
- // Check whether the current language uses a bidi script (Arabic, Hebrew, Farsi or Urdu)
- boolean isBidi = "iw".equals(language) || //$NON-NLS-1$
-diff -ru rt.equinox.bundles/bundles/org.eclipse.equinox.security/META-INF/MANIFEST.MF rt.equinox.bundles/bundles/org.eclipse.equinox.security/META-INF/MANIFEST.MF
---- rt.equinox.bundles/bundles/org.eclipse.equinox.security/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.bundles/bundles/org.eclipse.equinox.security/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -13,7 +13,7 @@
- org.eclipse.equinox.internal.security.credentials;x-internal:=true,
- org.eclipse.equinox.internal.security.storage;x-internal:=true,
- org.eclipse.equinox.internal.security.storage.friends;version="1.0.0";x-friends:="org.eclipse.equinox.security.ui",
-- org.eclipse.equinox.internal.security.storage.provider;x-friends:="org.eclipse.equinox.security.linux",
-+ org.eclipse.equinox.internal.security.storage.provider;x-friends:="org.eclipse.equinox.security.freebsd",
- org.eclipse.equinox.security.auth;version="1.0.0",
- org.eclipse.equinox.security.auth.credentials;version="1.0.0",
- org.eclipse.equinox.security.auth.module;version="1.0.0",
-diff -ru rt.equinox.bundles/bundles/org.eclipse.equinox.security.freebsd/META-INF/MANIFEST.MF rt.equinox.bundles/bundles/org.eclipse.equinox.security.freebsd/META-INF/MANIFEST.MF
---- rt.equinox.bundles/bundles/org.eclipse.equinox.security.freebsd/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.bundles/bundles/org.eclipse.equinox.security.freebsd/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -1,14 +1,14 @@
- Manifest-Version: 1.0
- Bundle-ManifestVersion: 2
- Bundle-Name: %fragmentName
--Bundle-SymbolicName: org.eclipse.equinox.security.linux;singleton:=true
-+Bundle-SymbolicName: org.eclipse.equinox.security.freebsd;singleton:=true
- Bundle-Version: 1.0.200.qualifier
- Bundle-Vendor: %providerName
- Fragment-Host: org.eclipse.equinox.security;bundle-version="[1.0.0,2.0.0)"
- Bundle-RequiredExecutionEnvironment: JavaSE-11
- Bundle-Localization: fragment
--Eclipse-PlatformFilter: (osgi.os=linux)
--Export-Package: org.eclipse.equinox.internal.security.linux;x-internal:=true
--Automatic-Module-Name: org.eclipse.equinox.security.linux
-+Eclipse-PlatformFilter: (osgi.os=freebsd)
-+Export-Package: org.eclipse.equinox.internal.security.freebsd;x-internal:=true
-+Automatic-Module-Name: org.eclipse.equinox.security.freebsd
- Eclipse-BundleShape: dir
- Require-Bundle: com.sun.jna;bundle-version="5.8.0"
-diff -ru rt.equinox.bundles/bundles/org.eclipse.equinox.security.freebsd/pom.xml rt.equinox.bundles/bundles/org.eclipse.equinox.security.freebsd/pom.xml
---- rt.equinox.bundles/bundles/org.eclipse.equinox.security.freebsd/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.bundles/bundles/org.eclipse.equinox.security.freebsd/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -19,7 +19,7 @@
- <relativePath>../../</relativePath>
- </parent>
- <groupId>org.eclipse.equinox</groupId>
-- <artifactId>org.eclipse.equinox.security.linux</artifactId>
-+ <artifactId>org.eclipse.equinox.security.freebsd</artifactId>
- <version>1.0.200-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
-@@ -32,7 +32,7 @@
- <resolver>p2</resolver>
- <environments>
- <environment>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
- </environment>
- </environments>
-diff -ru rt.equinox.bundles/features/org.eclipse.equinox.core.sdk/feature.xml rt.equinox.bundles/features/org.eclipse.equinox.core.sdk/feature.xml
---- rt.equinox.bundles/features/org.eclipse.equinox.core.sdk/feature.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.bundles/features/org.eclipse.equinox.core.sdk/feature.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -126,9 +126,9 @@
- unpack="false"/>
-
- <plugin
-- id="org.eclipse.equinox.security.linux"
-- os="linux"
-- arch="x86_64"
-+ id="org.eclipse.equinox.security.freebsd"
-+ os="freebsd"
-+ arch="amd64"
- download-size="0"
- install-size="0"
- version="0.0.0"
-@@ -136,9 +136,9 @@
- unpack="false"/>
-
- <plugin
-- id="org.eclipse.equinox.security.linux.source"
-- os="linux"
-- arch="x86_64"
-+ id="org.eclipse.equinox.security.freebsd.source"
-+ os="freebsd"
-+ arch="amd64"
- download-size="0"
- install-size="0"
- version="0.0.0"
-diff -ru rt.equinox.bundles/pom.xml rt.equinox.bundles/pom.xml
---- rt.equinox.bundles/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.bundles/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -78,7 +78,7 @@
- <module>bundles/org.eclipse.equinox.security</module>
- <module>bundles/org.eclipse.equinox.security.macosx</module>
- <module>bundles/org.eclipse.equinox.security.win32.x86_64</module>
-- <module>bundles/org.eclipse.equinox.security.linux</module>
-+ <module>bundles/org.eclipse.equinox.security.freebsd</module>
- <module>bundles/org.eclipse.equinox.bidi</module>
- <module>bundles/org.eclipse.equinox.cm</module>
- <module>bundles/org.eclipse.equinox.console</module>
diff --git a/java/eclipse/files/patch-rt.equinox.framework b/java/eclipse/files/patch-rt.equinox.framework
deleted file mode 100644
index 1d4689898157..000000000000
--- a/java/eclipse/files/patch-rt.equinox.framework
+++ /dev/null
@@ -1,531 +0,0 @@
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/META-INF/MANIFEST.MF rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/META-INF/MANIFEST.MF
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -2,9 +2,9 @@
- Bundle-ManifestVersion: 2
- Bundle-Name: %pluginName
- Bundle-Vendor: %providerName
--Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.linux.aarch64;singleton:=true
-+Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.aarch64;singleton:=true
- Bundle-Version: 1.2.500.qualifier
- Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
--Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=aarch64))
--Bundle-Localization: launcher.gtk.linux.aarch64
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=aarch64))
-+Bundle-Localization: launcher.gtk.freebsd.aarch64
- Eclipse-BundleShape: dir
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/pom.xml rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/pom.xml
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -18,12 +18,12 @@
- <relativePath>../../launcher-binary-parent</relativePath>
- </parent>
- <groupId>org.eclipse.equinox</groupId>
-- <artifactId>org.eclipse.equinox.launcher.gtk.linux.aarch64</artifactId>
-+ <artifactId>org.eclipse.equinox.launcher.gtk.freebsd.aarch64</artifactId>
- <version>1.2.500-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <properties>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
- <arch>aarch64</arch>
- <skipAPIAnalysis>true</skipAPIAnalysis>
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/.project rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/.project
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/.project 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/.project 0000-00-00 00:00:00.000000000 +0000
-@@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="UTF-8"?>
- <projectDescription>
-- <name>org.eclipse.equinox.launcher.gtk.linux.x86_64</name>
-+ <name>org.eclipse.equinox.launcher.gtk.freebsd.amd64</name>
- <comment></comment>
- <projects>
- </projects>
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/META-INF/MANIFEST.MF rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/META-INF/MANIFEST.MF
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -2,9 +2,9 @@
- Bundle-ManifestVersion: 2
- Bundle-Name: %pluginName
- Bundle-Vendor: %providerName
--Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.linux.x86_64;singleton:=true
-+Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.amd64;singleton:=true
- Bundle-Version: 1.2.500.qualifier
- Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
--Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))
--Bundle-Localization: launcher.gtk.linux.x86_64
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=amd64))
-+Bundle-Localization: launcher.gtk.freebsd.amd64
- Eclipse-BundleShape: dir
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/launcher.gtk.linux.x86_64.properties rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/launcher.gtk.linux.x86_64.properties
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/launcher.gtk.linux.x86_64.properties 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/launcher.gtk.linux.x86_64.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -11,5 +11,5 @@
- # Contributors:
- # IBM Corporation - initial API and implementation
- ###############################################################################
--pluginName = Equinox Launcher Linux X86_64 Fragment
-+pluginName = Equinox Launcher FreeBSD/amd64 Fragment
- providerName = Eclipse.org - Equinox
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/pom.xml rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/pom.xml
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -18,14 +18,14 @@
- <relativePath>../../launcher-binary-parent</relativePath>
- </parent>
- <groupId>org.eclipse.equinox</groupId>
-- <artifactId>org.eclipse.equinox.launcher.gtk.linux.x86_64</artifactId>
-+ <artifactId>org.eclipse.equinox.launcher.gtk.freebsd.amd64</artifactId>
- <version>1.2.500-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <properties>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>x86_64</arch>
-+ <arch>amd64</arch>
- <skipAPIAnalysis>true</skipAPIAnalysis>
- </properties>
- </project>
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/.project rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/.project
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/.project 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/.project 0000-00-00 00:00:00.000000000 +0000
-@@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="UTF-8"?>
- <projectDescription>
-- <name>org.eclipse.equinox.launcher.gtk.linux.ppc64le</name>
-+ <name>org.eclipse.equinox.launcher.gtk.freebsd.powerpc64</name>
- <comment></comment>
- <projects>
- </projects>
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -2,9 +2,9 @@
- Bundle-ManifestVersion: 2
- Bundle-Name: %pluginName
- Bundle-Vendor: %providerName
--Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.linux.ppc64le;singleton:=true
-+Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.powerpc64;singleton:=true
- Bundle-Version: 1.2.500.qualifier
- Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
--Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=ppc64le))
--Bundle-Localization: launcher.gtk.linux.ppc64le
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=powerpc64))
-+Bundle-Localization: launcher.gtk.freebsd.powerpc64
- Eclipse-BundleShape: dir
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/pom.xml rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/pom.xml
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -18,14 +18,14 @@
- <relativePath>../../launcher-binary-parent</relativePath>
- </parent>
- <groupId>org.eclipse.equinox</groupId>
-- <artifactId>org.eclipse.equinox.launcher.gtk.linux.ppc64le</artifactId>
-+ <artifactId>org.eclipse.equinox.launcher.gtk.freebsd.powerpc64</artifactId>
- <version>1.2.500-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <properties>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>ppc64le</arch>
-+ <arch>powerpc64</arch>
- <skipAPIAnalysis>true</skipAPIAnalysis>
- </properties>
- </project>
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/META-INF/MANIFEST.MF 0000-00-00 00:00:00.000000000 +0000
-@@ -2,9 +2,9 @@
- Bundle-ManifestVersion: 2
- Bundle-Name: %pluginName
- Bundle-Vendor: %providerName
--Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.linux.ppc64le;singleton:=true
-+Bundle-SymbolicName: org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le;singleton:=true
- Bundle-Version: 1.2.500.qualifier
- Fragment-Host: org.eclipse.equinox.launcher;bundle-version="[1.5.0,1.7.0)"
--Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=ppc64le))
--Bundle-Localization: launcher.gtk.linux.ppc64le
-+Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=freebsd) (osgi.arch=powerpc64le))
-+Bundle-Localization: launcher.gtk.freebsd.powerpc64le
- Eclipse-BundleShape: dir
-diff -ru rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/pom.xml rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/pom.xml
---- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -18,14 +18,14 @@
- <relativePath>../../launcher-binary-parent</relativePath>
- </parent>
- <groupId>org.eclipse.equinox</groupId>
-- <artifactId>org.eclipse.equinox.launcher.gtk.linux.ppc64le</artifactId>
-+ <artifactId>org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le</artifactId>
- <version>1.2.500-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
- <properties>
-- <os>linux</os>
-+ <os>freebsd</os>
- <ws>gtk</ws>
-- <arch>ppc64le</arch>
-+ <arch>powerpc64le</arch>
- <skipAPIAnalysis>true</skipAPIAnalysis>
- </properties>
- </project>
-diff -ru rt.equinox.framework/features/org.eclipse.equinox.executable.feature/build.properties rt.equinox.framework/features/org.eclipse.equinox.executable.feature/build.properties
---- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/build.properties 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/build.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -24,17 +24,20 @@
- root.win32.win32.x86_64=bin/win32/win32/x86_64
- root.win32.win32.x86_64.permissions.755=launcher.exe
-
--root.linux.gtk.ppc64le=bin/gtk/linux/ppc64le,gtk_root
--root.linux.gtk.ppc64le.permissions.755=launcher
-+root.freebsd.gtk.powerpc64=bin/gtk/freebsd/powerpc64,gtk_root
-+root.freebsd.gtk.powerpc64.permissions.755=launcher
-
--root.linux.gtk.aarch64=bin/gtk/linux/aarch64,gtk_root
--root.linux.gtk.aarch64.permissions.755=launcher
-+root.freebsd.gtk.powerpc64le=bin/gtk/freebsd/powerpc64le,gtk_root
-+root.freebsd.gtk.powerpc64le.permissions.755=launcher
-
-+root.freebsd.gtk.aarch64=bin/gtk/freebsd/aarch64,gtk_root
-+root.freebsd.gtk.aarch64.permissions.755=launcher
-+
- root.macosx.cocoa.x86_64=bin/cocoa/macosx/x86_64
- root.macosx.cocoa.x86_64.permissions.755=Eclipse.app/Contents/MacOS/launcher
-
- root.macosx.cocoa.aarch64=bin/cocoa/macosx/aarch64
- root.macosx.cocoa.aarch64.permissions.755=Eclipse.app/Contents/MacOS/launcher
-
--root.linux.gtk.x86_64=bin/gtk/linux/x86_64,gtk_root
--root.linux.gtk.x86_64.permissions.755=libcairo-swt.so
-+root.freebsd.gtk.amd64=bin/gtk/freebsd/amd64,gtk_root
-+root.freebsd.gtk.amd64.permissions.755=libcairo-swt.so
-diff -ru rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml
---- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -57,18 +57,27 @@
- fragment="true"/>
-
- <plugin
-- id="org.eclipse.equinox.launcher.gtk.linux.ppc64le"
-- os="linux"
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64"
-+ os="freebsd"
- ws="gtk"
-- arch="ppc64le"
-+ arch="powerpc64"
- download-size="0"
- install-size="0"
- version="0.0.0"
- fragment="true"/>
-+ <plugin
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le"
-+ os="freebsd"
-+ ws="gtk"
-+ arch="powerpc64le"
-+ download-size="0"
-+ install-size="0"
-+ version="0.0.0"
-+ fragment="true"/>
-
- <plugin
-- id="org.eclipse.equinox.launcher.gtk.linux.aarch64"
-- os="linux"
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.aarch64"
-+ os="freebsd"
- ws="gtk"
- arch="aarch64"
- download-size="0"
-@@ -77,10 +86,10 @@
- fragment="true"/>
-
- <plugin
-- id="org.eclipse.equinox.launcher.gtk.linux.x86_64"
-- os="linux"
-+ id="org.eclipse.equinox.launcher.gtk.freebsd.amd64"
-+ os="freebsd"
- ws="gtk"
-- arch="x86_64"
-+ arch="amd64"
- download-size="0"
- install-size="0"
- version="0.0.0"
-diff -ru rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/eclipse.c rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/eclipse.c
---- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/eclipse.c 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/eclipse.c 0000-00-00 00:00:00.000000000 +0000
-@@ -216,10 +216,8 @@
- _T_ECLIPSE("The %s executable launcher was unable to locate its \n\
- companion launcher jar.");
-
--#ifdef LINUX
- static _TCHAR* gtk2Msg =
- _T_ECLIPSE("The %s executable launcher no longer supports running with GTK + 2.x. Continuing using GTK+ 3.x.");
--#endif
-
- static _TCHAR* homeMsg =
- _T_ECLIPSE("The %s executable launcher was unable to locate its \n\
-diff -ru rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh
---- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh 0000-00-00 00:00:00.000000000 +0000
-@@ -117,8 +117,13 @@
- ;;
- esac
- ;;
-+ FreeBSD|freebsd)
-+ defaultOS="freebsd"
-+ defaultJava=DEFAULT_JAVA_EXEC
-+ makefile="make_linux.mak"
-+ ;;
- *)
-- echo "Unknown OS -- build aborted"
-+ echo "Unknown OS $defaultOS -- build aborted"
- ;;
- esac
- export CC
-@@ -151,19 +156,20 @@
-
- LIBRARY_DIR="$EXEC_DIR/../org.eclipse.equinox.launcher.$defaultWS.$defaultOS.$defaultOSArch"
- OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch"
-+mkdir -p ${OUTPUT_DIR}
-
- export OUTPUT_DIR PROGRAM_OUTPUT DEFAULT_OS DEFAULT_OS_ARCH DEFAULT_WS DEFAULT_JAVA LIBRARY_DIR
-
- # If the OS is supported (a makefile exists)
- if [ "$makefile" != "" ]; then
- if [ "$extraArgs" != "" ]; then
-- make -f $makefile $extraArgs
-+ gmake -f $makefile $extraArgs
- else
- echo "Building $OS launcher. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
-- make -f $makefile clean
-+ gmake -f $makefile clean
- case x$CC in
-- x*gcc*) make -f $makefile all PICFLAG=-fpic ;;
-- *) make -f $makefile all ;;
-+ x*gcc*) gmake -f $makefile all PICFLAG=-fpic ;;
-+ *) gmake -f $makefile all ;;
- esac
- fi
- else
-diff -ru rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak
---- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak 0000-00-00 00:00:00.000000000 +0000
-@@ -81,10 +81,11 @@
- -DGTK3_LIB="\"libgtk-3.so.0\"" -DGDK3_LIB="\"libgdk-3.so.0\"" \
- -DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\"" -DGOBJ_LIB="\"libgobject-2.0.so.0\"" \
- -DGIO_LIB="\"libgio-2.0.so.0\"" -DGLIB_LIB="\"libglib-2.0.so.0\""
--LFLAGS = ${M_ARCH} -shared -fpic -Wl,--export-dynamic
--CFLAGS = ${M_CFLAGS} ${M_ARCH} -g -s -Wall\
-+port_prefix=`pkg-config --variable=prefix gtk+-3.0`
-+LFLAGS = ${M_ARCH} -shared -fpic
-+CFLAGS = ${M_CFLAGS} ${M_ARCH} -g -Wall\
- -fpic \
-- -DLINUX \
-+ -DFREEBSD \
- -DDEFAULT_OS="\"$(DEFAULT_OS)\"" \
- -DDEFAULT_OS_ARCH="\"$(DEFAULT_OS_ARCH)\"" \
- -DDEFAULT_WS="\"$(DEFAULT_WS)\"" \
-@@ -92,7 +93,8 @@
- $(GTK_LIBS) \
- -I. \
- -I.. \
-- -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
-+ -I$(port_prefix)/include \
-+ -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd \
- `pkg-config --cflags gtk+-3.0`
-
- all: $(EXEC) $(DLL)
-@@ -130,11 +132,11 @@
-
- $(EXEC): $(MAIN_OBJS) $(COMMON_OBJS)
- $(info Linking and generating: $(EXEC))
-- $(CC) ${M_ARCH} -o $(EXEC) $(MAIN_OBJS) $(COMMON_OBJS) $(LIBS)
-+ $(CC) ${M_ARCH} -s -o $(EXEC) $(MAIN_OBJS) $(COMMON_OBJS) $(LIBS)
-
- $(DLL): $(DLL_OBJS) $(COMMON_OBJS)
- $(info Linking and generating: $(DLL))
-- $(CC) $(LFLAGS) -o $(DLL) $(DLL_OBJS) $(COMMON_OBJS) $(LIBS)
-+ $(CC) $(LFLAGS) -s -o $(DLL) $(DLL_OBJS) $(COMMON_OBJS) $(LIBS)
-
- install: all
- cp $(EXEC) $(OUTPUT_DIR)
-diff -ru rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml
---- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -124,9 +124,10 @@
- <fileset dir="${rt.equinox.binaries.loc}/org.eclipse.equinox.executable/bin/">
- <include name="cocoa/macosx/x86_64/**/*"/>
- <include name="cocoa/macosx/aarch64/**/*"/>
-- <include name="gtk/linux/ppc64le/**/*"/>
-- <include name="gtk/linux/aarch64/**/*"/>
-- <include name="gtk/linux/x86_64/**/*"/>
-+ <include name="gtk/freebsd/powerpc64/**/*"/>
-+ <include name="gtk/freebsd/powerpc64le/**/*"/>
-+ <include name="gtk/freebsd/aarch64/**/*"/>
-+ <include name="gtk/freebsd/amd64/**/*"/>
- <include name="win32/win32/x86_64/**/*"/>
- </fileset>
- </copy>
-diff -ru rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties
---- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -20,17 +20,20 @@
- root.win32.win32.x86_64=file:bin/win32/win32/x86_64/launcher.exe
- root.win32.win32.x86_64.permissions.755=launcher.exe
-
--root.linux.gtk.ppc64le=bin/gtk/linux/ppc64le,gtk_root
--root.linux.gtk.ppc64le.permissions.755=launcher
-+root.freebsd.gtk.powerpc64=bin/gtk/freebsd/powerpc64,gtk_root
-+root.freebsd.gtk.powerpc64.permissions.755=launcher
-
-+root.freebsd.gtk.powerpc64le=bin/gtk/freebsd/powerpc64le,gtk_root
-+root.freebsd.gtk.powerpc64le.permissions.755=launcher
-+
- root.macosx.cocoa.x86_64=bin/cocoa/macosx/x86_64
- root.macosx.cocoa.x86_64.permissions.755=Contents/MacOS/${launcherName}
-
- root.macosx.cocoa.aarch64=bin/cocoa/macosx/aarch64
- root.macosx.cocoa.aarch64.permissions.755=Contents/MacOS/${launcherName}
-
--root.linux.gtk.x86_64=bin/gtk/linux/x86_64,gtk_root
--root.linux.gtk.x86_64.permissions.755=libcairo-swt.so
-+root.freebsd.gtk.amd64=bin/gtk/freebsd/amd64,gtk_root
-+root.freebsd.gtk.amd64.permissions.755=libcairo-swt.so
-
- root.linux.gtk.loongarch64=bin/gtk/linux/loongarch64,gtk_root
- root.linux.gtk.loongarch64.permissions.755=launcher
-diff -ru rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.xml rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.xml
---- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/resources/build.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -84,30 +84,38 @@
- <chmod perm="755" dir="${feature.base}/macosx.cocoa.aarch64/${collectingFolder}" includes="${launcherName}" />
- <chmod perm="755" dir="${feature.base}/macosx.cocoa.aarch64/${collectingFolder}" includes="Eclipse.app/Contents/MacOS/launcher" />
- </target>
-- <target name="rootFileslinux_gtk_ppc64le">
-- <mkdir dir="${feature.base}/linux.gtk.ppc64le/${collectingFolder}"/>
-- <copy todir="${feature.base}/linux.gtk.ppc64le/${collectingFolder}" failonerror="true" overwrite="true">
-- <fileset dir="${basedir}/bin/gtk/linux/ppc64le" includes="**" />
-+ <target name="rootFilesfreebsd_gtk_powerpc64">
-+ <mkdir dir="${feature.base}/freebsd.gtk.powerpc64/${collectingFolder}"/>
-+ <copy todir="${feature.base}/freebsd.gtk.powerpc64/${collectingFolder}" failonerror="true" overwrite="true">
-+ <fileset dir="${basedir}/bin/gtk/freebsd/powerpc64" includes="**" />
- <fileset dir="${basedir}/gtk_root" includes="**" />
- </copy>
-- <chmod perm="755" dir="${feature.base}/linux.gtk.ppc64le/${collectingFolder}" includes="launcher" />
-+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.powerpc64/${collectingFolder}" includes="launcher" />
- </target>
-- <target name="rootFileslinux_gtk_aarch64">
-- <mkdir dir="${feature.base}/linux.gtk.aarch64/${collectingFolder}"/>
-- <copy todir="${feature.base}/linux.gtk.aarch64/${collectingFolder}" failonerror="true" overwrite="true">
-- <fileset dir="${basedir}/bin/gtk/linux/aarch64" includes="**" />
-+ <target name="rootFilesfreebsd_gtk_powerpc64le">
-+ <mkdir dir="${feature.base}/freebsd.gtk.powerpc64le/${collectingFolder}"/>
-+ <copy todir="${feature.base}/freebsd.gtk.powerpc64le/${collectingFolder}" failonerror="true" overwrite="true">
-+ <fileset dir="${basedir}/bin/gtk/freebsd/powerpc64le" includes="**" />
- <fileset dir="${basedir}/gtk_root" includes="**" />
- </copy>
-- <chmod perm="755" dir="${feature.base}/linux.gtk.aarch64/${collectingFolder}" includes="launcher" />
-+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.powerpc64le/${collectingFolder}" includes="launcher" />
- </target>
-- <target name="rootFileslinux_gtk_x86_64">
-- <mkdir dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}"/>
-- <copy todir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" failonerror="true" overwrite="true">
-- <fileset dir="${basedir}/bin/gtk/linux/x86_64" includes="**" />
-+ <target name="rootFilesfreebsd_gtk_aarch64">
-+ <mkdir dir="${feature.base}/freebsd.gtk.aarch64/${collectingFolder}"/>
-+ <copy todir="${feature.base}/freebsd.gtk.aarch64/${collectingFolder}" failonerror="true" overwrite="true">
-+ <fileset dir="${basedir}/bin/gtk/freebsd/aarch64" includes="**" />
- <fileset dir="${basedir}/gtk_root" includes="**" />
- </copy>
-- <chmod perm="755" dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" includes="launcher" />
-+ <chmod perm="755" dir="${feature.base}/freebsd.gtk.aarch64/${collectingFolder}" includes="launcher" />
- </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="launcher" />
-+ </target>
- <target name="rootFileslinux_gtk_loongarch64">
- <mkdir dir="${feature.base}/linux.gtk.loongarch64/${collectingFolder}"/>
- <copy todir="${feature.base}/linux.gtk.loongarch64/${collectingFolder}" failonerror="true" overwrite="true">
-@@ -154,9 +162,9 @@
- <target name="rootFilesgroup_group_group">
- <antcall target="rootFileswin32_win32_x86_64"/>
- <antcall target="rootFilesmacosx_cocoa_x86_64"/>
-- <antcall target="rootFileslinux_gtk_ppc64le"/>
-- <antcall target="rootFileslinux_gtk_aarch64"/>
-- <antcall target="rootFileslinux_gtk_x86_64"/>
-+ <antcall target="rootFilesfreebsd_gtk_powerpc64"/>
-+ <antcall target="rootFilesfreebsd_gtk_aarch64"/>
-+ <antcall target="rootFilesfreebsd_gtk_amd64"/>
- </target>
-
- <target name="zip.distribution" depends="init" description="Create a zip containing all the plug-ins and features for the feature: org.eclipse.platform.launchers.">
-diff -ru rt.equinox.framework/pom.xml rt.equinox.framework/pom.xml
---- rt.equinox.framework/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -53,27 +53,27 @@
- </repositories>
- </profile>
- <profile>
-- <id>build-native-launchers-gtk.linux.arm</id>
-+ <id>build-native-launchers-gtk.freebsd.arm</id>
- <activation>
- <property>
- <name>native</name>
-- <value>gtk.linux.arm</value>
-+ <value>gtk.freebsd.arm</value>
- </property>
- </activation>
- <modules>
-- <module>bundles/org.eclipse.equinox.launcher.gtk.linux.arm</module>
-+ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.arm</module>
- </modules>
- </profile>
- <profile>
-- <id>build-native-launchers-gtk.linux.aarch64</id>
-+ <id>build-native-launchers-gtk.freebsd.aarch64</id>
- <activation>
- <property>
- <name>native</name>
-- <value>gtk.linux.aarch64</value>
-+ <value>gtk.freebsd.aarch64</value>
- </property>
- </activation>
- <modules>
-- <module>bundles/org.eclipse.equinox.launcher.gtk.linux.aarch64</module>
-+ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64</module>
- </modules>
- </profile>
- <profile>
-@@ -101,9 +101,10 @@
- <module>bundles/org.eclipse.equinox.launcher.cocoa.macosx</module>
- <module>bundles/org.eclipse.equinox.launcher.cocoa.macosx.x86_64</module>
- <module>bundles/org.eclipse.equinox.launcher.cocoa.macosx.aarch64</module>
-- <module>bundles/org.eclipse.equinox.launcher.gtk.linux.aarch64</module>
-- <module>bundles/org.eclipse.equinox.launcher.gtk.linux.ppc64le</module>
-- <module>bundles/org.eclipse.equinox.launcher.gtk.linux.x86_64</module>
-+ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.aarch64</module>
-+ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64</module>
-+ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.powerpc64le</module>
-+ <module>bundles/org.eclipse.equinox.launcher.gtk.freebsd.amd64</module>
- <module>bundles/org.eclipse.equinox.launcher.win32.win32.x86_64</module>
-
- <module>bundles/org.eclipse.osgi.tests</module>
-diff -ru rt.equinox.framework/releng/org.eclipse.equinox.launcher.releng/launcher.properties rt.equinox.framework/releng/org.eclipse.equinox.launcher.releng/launcher.properties
---- rt.equinox.framework/releng/org.eclipse.equinox.launcher.releng/launcher.properties 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.framework/releng/org.eclipse.equinox.launcher.releng/launcher.properties 0000-00-00 00:00:00.000000000 +0000
-@@ -8,4 +8,4 @@
- #j_linux.x86_64=/shared/common/jdk-1.6.0_10
-
- #user names to use on each of the machines if different from the user running hudson, u_${os}.${arch}
--u_linux.x86_64=swtbuild
-+u_freebsd.amd64=swtbuild
diff --git a/java/eclipse/files/patch-rt.equinox.p2 b/java/eclipse/files/patch-rt.equinox.p2
deleted file mode 100644
index 5283a149eb72..000000000000
--- a/java/eclipse/files/patch-rt.equinox.p2
+++ /dev/null
@@ -1,58 +0,0 @@
-diff -ru rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/pom.xml rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/pom.xml
---- rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/pom.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/pom.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -39,7 +39,7 @@
- </goals>
- <configuration>
- <formats>
-- <linux>tar.gz</linux>
-+ <freebsd>tar.gz</freebsd>
- </formats>
- </configuration>
- </execution>
-diff -ru rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/reconciler.product rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/reconciler.product
---- rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/reconciler.product 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests.reconciler.product/reconciler.product 0000-00-00 00:00:00.000000000 +0000
-@@ -49,7 +49,7 @@
- <plugin id="org.eclipse.core.expressions"/>
- <plugin id="org.eclipse.core.jobs"/>
- <plugin id="org.eclipse.core.net"/>
-- <plugin id="org.eclipse.core.net.linux" fragment="true"/>
-+ <plugin id="org.eclipse.core.net.freebsd" fragment="true"/>
- <plugin id="org.eclipse.core.runtime"/>
- <plugin id="org.eclipse.e4.core.commands"/>
- <plugin id="org.eclipse.e4.core.contexts"/>
-@@ -120,7 +120,7 @@
- <plugin id="org.eclipse.equinox.preferences"/>
- <plugin id="org.eclipse.equinox.registry"/>
- <plugin id="org.eclipse.equinox.security"/>
-- <plugin id="org.eclipse.equinox.security.linux" fragment="true"/>
-+ <plugin id="org.eclipse.equinox.security.freebsd" fragment="true"/>
- <plugin id="org.eclipse.equinox.security.ui"/>
- <plugin id="org.eclipse.equinox.simpleconfigurator"/>
- <plugin id="org.eclipse.equinox.simpleconfigurator.manipulator"/>
-@@ -133,7 +133,7 @@
- <plugin id="org.eclipse.osgi.services"/>
- <plugin id="org.eclipse.swt"/>
- <plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true"/>
-- <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
-+ <plugin id="org.eclipse.swt.gtk.freebsd.amd64" fragment="true"/>
- <plugin id="org.eclipse.swt.win32.win32.x86_64" fragment="true"/>
- <plugin id="org.eclipse.ui"/>
- <plugin id="org.eclipse.ui.workbench"/>
-diff -ru rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml
---- rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
-+++ rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml 0000-00-00 00:00:00.000000000 +0000
-@@ -177,9 +177,9 @@
- unpack="false"/>
-
- <plugin
-- id="org.eclipse.equinox.security.linux"
-- os="linux"
-- arch="x86_64"
-+ id="org.eclipse.equinox.security.freebsd"
-+ os="freebsd"
-+ arch="amd64"
- download-size="0"
- install-size="0"
- version="0.0.0"
diff --git a/java/eclipse/pkg-descr b/java/eclipse/pkg-descr
index 6063836f40a2..d95d26f635e4 100644
--- a/java/eclipse/pkg-descr
+++ b/java/eclipse/pkg-descr
@@ -4,3 +4,7 @@ and a foundation for constructing and running integrated software-
development tools. The Eclipse Platform allows tool builders to
independently develop tools that integrate with other people's tools
so seamlessly you can't tell where one tool ends and another starts.
+
+Note, that for this port (to make it possible) the internal variable
+ARCH is reset from "amd64" to "x86_64" to make the eclipse build
+process went through.
diff --git a/java/eclipse/scripts/pre-build b/java/eclipse/scripts/pre-build
index c47955570d3d..4974d1c99523 100644
--- a/java/eclipse/scripts/pre-build
+++ b/java/eclipse/scripts/pre-build
@@ -1,14 +1,11 @@
#!/bin/sh
-#
-# Build quirks
-#
-cd ${WRKSRC}
ARCHS="aarch64 amd64 powerpc64 powerpc64le"
+cd ${WRKSRC}
+
# Create dummy repo for jgit
-if [ ! -d .git ]
-then
+if [ ! -d .git ]; then
mkdir ${WRKDIR}/githome
(
export HOME=${WRKDIR}/githome
@@ -19,19 +16,3 @@ then
git commit -q --message="java/eclipse" --author="Eclipse <eclipse@freebsd.org>"
)
fi
-
-# Create dummy targets
-GTK_EXE="rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk"
-for A in ${ARCHS}
-do
- mkdir -p ${GTK_EXE}/freebsd/${A}
- touch ${GTK_EXE}/freebsd/${A}/eclipse
-done
-
-arch=`uname -p`
-
-if [ "$arch" == "powerpc64" ]
-then
- sed -i '' -e 's/ppc64le/ppc64/g' eclipse.platform.swt/bundles/org.eclipse.swt/'Eclipse SWT'/gtk/org/eclipse/swt/graphics/Device.java
- sed -i '' -e 's/ppc64le/ppc64/g' eclipse.platform.swt/bundles/org.eclipse.swt/'Eclipse SWT'/gtk/org/eclipse/swt/widgets/Control.java
-fi
diff --git a/java/eclipse/scripts/pre-patch b/java/eclipse/scripts/pre-patch
deleted file mode 100644
index 122ee1a9488c..000000000000
--- a/java/eclipse/scripts/pre-patch
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-#
-# Reorg source files, reusing Linux sources as the base for FreeBSD builds.
-#
-LINUX_DIRS="
- eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.*
- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.*
- eclipse.platform.resources/bundles/org.eclipse.core.filesystem/natives/unix/linux
- eclipse.platform.team/bundles/org.eclipse.core.net.linux*
- rt.equinox.bundles/bundles/org.eclipse.equinox.security.linux*
- rt.equinox.binaries/org.eclipse.equinox.launcher.gtk.linux.*
- rt.equinox.framework/bundles/org.eclipse.equinox.launcher.gtk.linux.*"
-
-rename_arch ()
-{
- # Rename to FreeBSD TARGET_ARCH names
- F=$(echo $1 | sed -e s/linux/freebsd/)
- case $F in
- *.arm)
- echo $(echo $F | sed -e 's/arm/armv7/');;
- *.ppc64le)
- echo $(echo $F | sed -e 's/ppc64le/powerpc64/');;
- *.x86)
- echo $(echo $F | sed -e 's/x86/i386/');;
- *.x86_64)
- echo $(echo $F | sed -e 's/x86_64/amd64/');;
- *)
- echo ${F};;
- esac
-}
-
-cd ${WRKSRC}
-
-for D in ${LINUX_DIRS}
-do
- if [ ! -e ${D} ]
- then
- echo "ERROR: ${D} not found"
- continue
- fi
-
- NEWNAME=$(rename_arch ${D})
- mv ${D} ${NEWNAME}
- echo "INFO: ${D} -> ${NEWNAME}"
-
- case ${NEWNAME} in
- *.powerpc64)
- cp -rf ${NEWNAME} `echo ${NEWNAME} | sed -e 's/powerpc64/powerpc64le/'`;;
- esac
-done
-
-# Clean up binaries
-rm -rf rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux