summaryrefslogtreecommitdiff
path: root/java/eclipse-cdt/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-03 03:28:05 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-03 03:28:05 +0000
commit257d46643508f582b41b39766dbc45982d8076a6 (patch)
treed44fcb0f8527201ab1f239369f6e04ad51428f0c /java/eclipse-cdt/files
parentMark it as broke on FreeBSD 4.x; it doesn't build. (diff)
[patch] update java/eclipse-cdt to version 3.0.1
This patch updates java/eclipse-cdt to the latest version 3.0.1. It also installs the native shared libraries that were previously missing. In order to do this the distfile of the cdt-sdk had to be used instead. A static pkg-plist is also used to help people searching through the ports files. PR: ports/89893 Submitted by: Panagiotis Astithas <past@ebs.gr> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=152641
Diffstat (limited to 'java/eclipse-cdt/files')
-rw-r--r--java/eclipse-cdt/files/patch-cdt-feature.xml42
-rw-r--r--java/eclipse-cdt/files/patch-cdt.core-Makefile24
-rw-r--r--java/eclipse-cdt/files/patch-cdt.core-fragment.xml22
-rw-r--r--java/eclipse-cdt/files/patch-cdt.core-openpty.c10
-rw-r--r--java/eclipse-cdt/files/patch-cdt.core.x86-fragment.xml11
-rw-r--r--java/eclipse-cdt/files/patch-cdt.source-feature.xml9
-rw-r--r--java/eclipse-cdt/files/patch-managedbuilder.gnu-plugin.properties13
-rw-r--r--java/eclipse-cdt/files/patch-managedbuilder.gnu-plugin.xml110
-rw-r--r--java/eclipse-cdt/files/patch-plugin.properties10
-rw-r--r--java/eclipse-cdt/files/patch-source-fragment.xml11
10 files changed, 262 insertions, 0 deletions
diff --git a/java/eclipse-cdt/files/patch-cdt-feature.xml b/java/eclipse-cdt/files/patch-cdt-feature.xml
new file mode 100644
index 000000000000..b4b821f5790c
--- /dev/null
+++ b/java/eclipse-cdt/files/patch-cdt-feature.xml
@@ -0,0 +1,42 @@
+--- eclipse/features/org.eclipse.cdt_3.0.1/feature.xml.orig Thu Nov 3 05:32:10 2005
++++ eclipse/features/org.eclipse.cdt_3.0.1/feature.xml Fri Dec 2 23:19:06 2005
+@@ -112,6 +112,14 @@
+ fragment="true"/>
+
+ <plugin
++ id="org.eclipse.cdt.core.freebsd"
++ os="freebsd"
++ download-size="0"
++ install-size="0"
++ version="3.0.1"
++ fragment="true"/>
++
++ <plugin
+ id="org.eclipse.cdt.core.qnx"
+ os="qnx"
+ download-size="0"
+@@ -198,6 +206,24 @@
+ id="org.eclipse.cdt.core.linux.x86"
+ os="linux"
+ arch="x86"
++ download-size="0"
++ install-size="0"
++ version="3.0.1"
++ fragment="true"/>
++
++ <plugin
++ id="org.eclipse.cdt.core.freebsd.x86"
++ os="freebsd"
++ arch="x86"
++ download-size="0"
++ install-size="0"
++ version="3.0.1"
++ fragment="true"/>
++
++ <plugin
++ id="org.eclipse.cdt.core.freebsd.amd64"
++ os="freebsd"
++ arch="amd64"
+ download-size="0"
+ install-size="0"
+ version="3.0.1"
diff --git a/java/eclipse-cdt/files/patch-cdt.core-Makefile b/java/eclipse-cdt/files/patch-cdt.core-Makefile
new file mode 100644
index 000000000000..f82857804628
--- /dev/null
+++ b/java/eclipse-cdt/files/patch-cdt.core-Makefile
@@ -0,0 +1,24 @@
+--- eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/src/org.eclipse.cdt.core.freebsd_3.0.1/library/Makefile.orig Sat Dec 3 01:27:30 2005
++++ eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/src/org.eclipse.cdt.core.freebsd_3.0.1/library/Makefile Sat Dec 3 01:28:54 2005
+@@ -5,17 +5,17 @@
+ endif
+
+ # Defaults which can be overridden.
+-OS = linux
+-ARCH = x86
++#OS = linux
++#ARCH = x86
+
+ JDK_INCLUDES= $(JAVA_HOME)/include
+-JDK_OS_INCLUDES= $(JAVA_HOME)/include/$(OS)
++JDK_OS_INCLUDES= $(JAVA_HOME)/include/$(ECLIPSE_OS)
+
+ CC=gcc
+ CPPFLAGS = -I. -I$(JDK_INCLUDES) -I$(JDK_OS_INCLUDES)
+ CFLAGS +=-fpic -D_REENTRANT -D_GNU_SOURCE
+
+-INSTALL_DIR = ../../org.eclipse.cdt.core.linux.$(ARCH)/os/$(OS)/$(ARCH)
++INSTALL_DIR = ../../../../org.eclipse.cdt.core.freebsd.$(ECLIPSE_ARCH)_${PORTVERSION}/os/$(ECLIPSE_OS)/$(ECLIPSE_ARCH)
+
+ LIB_NAME_SPAWNER = libspawner.so
+ LIB_NAME_FULL_SPAWNER = $(INSTALL_DIR)/libspawner.so
diff --git a/java/eclipse-cdt/files/patch-cdt.core-fragment.xml b/java/eclipse-cdt/files/patch-cdt.core-fragment.xml
new file mode 100644
index 000000000000..59e5a3ec2af5
--- /dev/null
+++ b/java/eclipse-cdt/files/patch-cdt.core-fragment.xml
@@ -0,0 +1,22 @@
+--- eclipse/plugins/org.eclipse.cdt.core.freebsd_3.0.1/fragment.xml.orig Sat Dec 3 01:37:37 2005
++++ eclipse/plugins/org.eclipse.cdt.core.freebsd_3.0.1/fragment.xml Sat Dec 3 17:46:30 2005
+@@ -1,8 +1,8 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <?eclipse version="3.0"?>
+ <fragment
+- id="org.eclipse.cdt.core.linux"
+- name="%fragmentName.linux"
++ id="org.eclipse.cdt.core.freebsd"
++ name="%fragmentName.freebsd"
+ version="3.0.1"
+ provider-name="%providerName"
+ plugin-id="org.eclipse.cdt.core"
+@@ -16,7 +16,7 @@
+ <extension
+ point="org.eclipse.cdt.core.ProcessList">
+ <processList
+- platform="linux"
++ platform="freebsd"
+ class="org.eclipse.cdt.internal.core.linux.ProcessList">
+ </processList>
+ </extension>
diff --git a/java/eclipse-cdt/files/patch-cdt.core-openpty.c b/java/eclipse-cdt/files/patch-cdt.core-openpty.c
new file mode 100644
index 000000000000..c0daa2e8525f
--- /dev/null
+++ b/java/eclipse-cdt/files/patch-cdt.core-openpty.c
@@ -0,0 +1,10 @@
+--- eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/src/org.eclipse.cdt.core.freebsd_3.0.1/library/openpty.c.orig Sat Dec 3 01:10:16 2005
++++ eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/src/org.eclipse.cdt.core.freebsd_3.0.1/library/openpty.c Sat Dec 3 01:13:46 2005
+@@ -20,7 +20,6 @@
+ #include <grp.h>
+
+ #include <stdlib.h>
+-#include <stropts.h>
+
+ /**
+ * This is taken from R. W. Stevens book.
diff --git a/java/eclipse-cdt/files/patch-cdt.core.x86-fragment.xml b/java/eclipse-cdt/files/patch-cdt.core.x86-fragment.xml
new file mode 100644
index 000000000000..e0e0175103fa
--- /dev/null
+++ b/java/eclipse-cdt/files/patch-cdt.core.x86-fragment.xml
@@ -0,0 +1,11 @@
+--- eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/fragment.xml.orig Sat Dec 3 17:47:53 2005
++++ eclipse/plugins/org.eclipse.cdt.core.freebsd.x86_3.0.1/fragment.xml Sat Dec 3 18:03:31 2005
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <?eclipse version="3.0"?>
+ <fragment
+- id="org.eclipse.cdt.core.linux.x86"
++ id="org.eclipse.cdt.core.freebsd.x86"
+ name="X86 Fragment"
+ version="3.0.1"
+ provider-name="Eclipse.org"
diff --git a/java/eclipse-cdt/files/patch-cdt.source-feature.xml b/java/eclipse-cdt/files/patch-cdt.source-feature.xml
new file mode 100644
index 000000000000..ae802ee147ac
--- /dev/null
+++ b/java/eclipse-cdt/files/patch-cdt.source-feature.xml
@@ -0,0 +1,9 @@
+--- eclipse/features/org.eclipse.cdt.source_3.0.1/feature.xml.orig Thu Nov 3 05:32:10 2005
++++ eclipse/features/org.eclipse.cdt.source_3.0.1/feature.xml Fri Dec 2 23:29:17 2005
+@@ -22,4 +22,6 @@
+ <plugin ws="win32" os="win32" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.cdt.source.win32.win32.x86" version="3.0.1"/>
+ <plugin ws="motif" os="solaris" fragment="true" arch="sparc" download-size="0" install-size="0" id="org.eclipse.cdt.source.solaris.motif.sparc" version="3.0.1"/>
+ <plugin ws="gtk" os="linux" fragment="true" arch="x86_64" download-size="0" install-size="0" id="org.eclipse.cdt.source.linux.gtk.x86_64" version="3.0.1"/>
++ <plugin ws="gtk" os="freebsd" fragment="true" arch="x86" download-size="0" install-size="0" id="org.eclipse.cdt.source.freebsd.gtk.x86" version="3.0.1"/>
++ <plugin ws="gtk" os="freebsd" fragment="true" arch="amd64" download-size="0" install-size="0" id="org.eclipse.cdt.source.freebsd.gtk.amd64" version="3.0.1"/>
+ </feature>
diff --git a/java/eclipse-cdt/files/patch-managedbuilder.gnu-plugin.properties b/java/eclipse-cdt/files/patch-managedbuilder.gnu-plugin.properties
new file mode 100644
index 000000000000..51b5a5d53cca
--- /dev/null
+++ b/java/eclipse-cdt/files/patch-managedbuilder.gnu-plugin.properties
@@ -0,0 +1,13 @@
+--- eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_3.0.1/plugin.properties.orig Thu Nov 3 05:32:10 2005
++++ eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_3.0.1/plugin.properties Fri Dec 2 23:57:06 2005
+@@ -36,6 +36,10 @@
+ TargetName.solaris.exe=Solaris Executable
+ TargetName.solaris.so=Solaris Shared Library
+ TargetName.solaris.lib=Solaris Static Library
++TargetName.freebsd=FreeBSD
++TargetName.freebsd.exe=FreeBSD Executable
++TargetName.freebsd.so=FreeBSD Shared Library
++TargetName.freebsd.lib=FreeBSD Static Library
+
+ # Default Configuration Names
+ ConfigName.Rel=Release
diff --git a/java/eclipse-cdt/files/patch-managedbuilder.gnu-plugin.xml b/java/eclipse-cdt/files/patch-managedbuilder.gnu-plugin.xml
new file mode 100644
index 000000000000..543f3df2ea3b
--- /dev/null
+++ b/java/eclipse-cdt/files/patch-managedbuilder.gnu-plugin.xml
@@ -0,0 +1,110 @@
+--- eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_3.0.1/plugin.xml.orig Thu Nov 3 05:32:10 2005
++++ eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_3.0.1/plugin.xml Fri Dec 2 23:55:19 2005
+@@ -1334,7 +1334,7 @@
+ errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser">
+ <toolChain
+ archList="all"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ name="%ToolChainName.Dbg"
+ targetTool="cdt.managedbuild.tool.gnu.c.linker.exe.debug;cdt.managedbuild.tool.gnu.cpp.linker.exe.debug"
+ scannerConfigDiscoveryProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"
+@@ -1343,7 +1343,7 @@
+ id="cdt.managedbuild.target.gnu.platform.exe.debug"
+ name="%PlatformName.Dbg"
+ binaryParser="org.eclipse.cdt.core.ELF"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ archList="all">
+ </targetPlatform>
+ <builder
+@@ -1403,7 +1403,7 @@
+ errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser">
+ <toolChain
+ archList="all"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ name="%ToolChainName.Rel"
+ targetTool="cdt.managedbuild.tool.gnu.c.linker.exe.release;cdt.managedbuild.tool.gnu.cpp.linker.exe.release"
+ scannerConfigDiscoveryProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"
+@@ -1412,7 +1412,7 @@
+ id="cdt.managedbuild.target.gnu.platform.exe.release"
+ name="%PlatformName.Rel"
+ binaryParser="org.eclipse.cdt.core.ELF"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ archList="all">
+ </targetPlatform>
+ <builder
+@@ -1480,7 +1480,7 @@
+ id="cdt.managedbuild.config.gnu.so.debug">
+ <toolChain
+ archList="all"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ name="%ToolChainName.Dbg"
+ targetTool="cdt.managedbuild.tool.gnu.c.linker.so.debug;cdt.managedbuild.tool.gnu.cpp.linker.so.debug"
+ scannerConfigDiscoveryProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"
+@@ -1489,7 +1489,7 @@
+ id="cdt.managedbuild.target.gnu.platform.so.debug"
+ name="%PlatformName.Dbg"
+ binaryParser="org.eclipse.cdt.core.ELF"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ archList="all">
+ </targetPlatform>
+ <builder
+@@ -1574,7 +1574,7 @@
+ id="cdt.managedbuild.config.gnu.so.release">
+ <toolChain
+ archList="all"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ name="%ToolChainName.Rel"
+ targetTool="cdt.managedbuild.tool.gnu.c.linker.so.release;cdt.managedbuild.tool.gnu.cpp.linker.so.release"
+ scannerConfigDiscoveryProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"
+@@ -1583,7 +1583,7 @@
+ id="cdt.managedbuild.target.gnu.platform.so.release"
+ name="%PlatformName.Rel"
+ binaryParser="org.eclipse.cdt.core.ELF"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ archList="all">
+ </targetPlatform>
+ <builder
+@@ -1675,7 +1675,7 @@
+ id="cdt.managedbuild.config.gnu.lib.debug">
+ <toolChain
+ archList="all"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ name="%ToolChainName.Dbg"
+ targetTool="cdt.managedbuild.tool.gnu.archiver.lib.debug"
+ scannerConfigDiscoveryProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"
+@@ -1684,7 +1684,7 @@
+ id="cdt.managedbuild.target.gnu.platform.lib.debug"
+ name="%PlatformName.Dbg"
+ binaryParser="org.eclipse.cdt.core.ELF"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ archList="all">
+ </targetPlatform>
+ <builder
+@@ -1741,7 +1741,7 @@
+ id="cdt.managedbuild.config.gnu.lib.release">
+ <toolChain
+ archList="all"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ name="%ToolChainName.Rel"
+ targetTool="cdt.managedbuild.tool.gnu.archiver.lib.release"
+ scannerConfigDiscoveryProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"
+@@ -1750,7 +1750,7 @@
+ id="cdt.managedbuild.target.gnu.platform.lib.release"
+ name="%PlatformName.Rel"
+ binaryParser="org.eclipse.cdt.core.ELF"
+- osList="solaris,linux,hpux,aix,qnx"
++ osList="solaris,linux,hpux,aix,qnx,freebsd"
+ archList="all">
+ </targetPlatform>
+ <builder
diff --git a/java/eclipse-cdt/files/patch-plugin.properties b/java/eclipse-cdt/files/patch-plugin.properties
new file mode 100644
index 000000000000..7221e9f84342
--- /dev/null
+++ b/java/eclipse-cdt/files/patch-plugin.properties
@@ -0,0 +1,10 @@
+--- eclipse/plugins/org.eclipse.cdt.core_3.0.1/plugin.properties.orig Thu Nov 3 05:32:10 2005
++++ eclipse/plugins/org.eclipse.cdt.core_3.0.1/plugin.properties Fri Dec 2 23:37:25 2005
+@@ -56,6 +56,7 @@
+ fragmentName.solaris = C/C++ Development Tools Core for Solaris
+ fragmentName.win32 = C/C++ Development Tools Core for Windows
+ fragmentName.macosx = C/C++ Development Tools Core for MacOS X
++fragmentName.freebsd = C/C++ Development Tools Core for FreeBSD
+
+ CodeFormatter.name=C/C++ Code Formatter
+ CodeFormatter.name=C/C++ Code Formatters
diff --git a/java/eclipse-cdt/files/patch-source-fragment.xml b/java/eclipse-cdt/files/patch-source-fragment.xml
new file mode 100644
index 000000000000..7d3c957dd841
--- /dev/null
+++ b/java/eclipse-cdt/files/patch-source-fragment.xml
@@ -0,0 +1,11 @@
+--- eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/fragment.xml.orig Thu Nov 3 05:32:08 2005
++++ eclipse/plugins/org.eclipse.cdt.source.freebsd.gtk.x86_3.0.1/fragment.xml Sat Dec 3 00:06:43 2005
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <?eclipse version="3.0"?>
+ <fragment
+- id="org.eclipse.cdt.source.linux.gtk.x86"
++ id="org.eclipse.cdt.source.freebsd.gtk.x86"
+ name="%pluginName"
+ version="3.0.1"
+ provider-name="Eclipse.org"