From 2ab0568a2e7c25b89387f6169fe28218dbbf2aa6 Mon Sep 17 00:00:00 2001 From: Ben Konrath Date: May 24 2007 05:51:41 +0000 Subject: - 3.3RC1. - Pull in changes from F-7. --- diff --git a/.cvsignore b/.cvsignore index f1d4db0..d548f9b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,4 +1,5 @@ +eclipse-fedora-splash-3.2.1.png icu4jsrc_3_4_5.jar eclipse-fileinitializerapp.tar.bz2 -eclipse-sourceBuild-srcIncluded-3.2.2.zip -eclipse-fedora-splash-3.2.2.png +eclipse-sourceBuild-srcIncluded-3.3M5eh.zip +eclipse-sourceBuild-srcIncluded-3.3RC1.zip diff --git a/customBuildCallbacks.xml-add-pre.gather.bin.parts.patch b/customBuildCallbacks.xml-add-pre.gather.bin.parts.patch deleted file mode 100644 index 6b6af48..0000000 --- a/customBuildCallbacks.xml-add-pre.gather.bin.parts.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: customBuildCallbacks.xml -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.platform.doc.isv/customBuildCallbacks.xml,v -retrieving revision 1.5 -diff -u -r1.5 customBuildCallbacks.xml ---- customBuildCallbacks.xml 14 Dec 2005 00:07:22 -0000 1.5 -+++ customBuildCallbacks.xml 5 Jun 2006 01:18:34 -0000 -@@ -80,6 +80,15 @@ - - - -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - diff --git a/eclipse-build.patch b/eclipse-build.patch index 0a90607..d999138 100644 --- a/eclipse-build.patch +++ b/eclipse-build.patch @@ -5,20 +5,17 @@ retrieving revision 1.9 diff -u -r1.9 build.xml --- build.xml 11 May 2006 20:51:39 -0000 1.9 +++ build.xml 26 May 2006 23:06:38 -0000 -@@ -95,6 +95,18 @@ +@@ -95,6 +95,15 @@ + -+ -+ -+ -+ ++ + + -+ -+ ++ ++ + + diff --git a/eclipse-ecj-square-bracket-classpath.patch b/eclipse-ecj-square-bracket-classpath.patch deleted file mode 100644 index ed815a7..0000000 --- a/eclipse-ecj-square-bracket-classpath.patch +++ /dev/null @@ -1,107 +0,0 @@ -Index: batch/org/eclipse/jdt/internal/compiler/batch/Main.java -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java,v -retrieving revision 1.254.4.2 -diff -u -r1.254.4.2 Main.java ---- batch/org/eclipse/jdt/internal/compiler/batch/Main.java 20 Oct 2006 14:11:48 -0000 1.254.4.2 -+++ batch/org/eclipse/jdt/internal/compiler/batch/Main.java 16 Feb 2007 18:40:23 -0000 -@@ -2723,6 +2723,10 @@ - ArrayList currentRuleSpecs = new ArrayList(defaultSize); - StringTokenizer tokenizer = new StringTokenizer(currentPath, - File.pathSeparator + "[]", true); //$NON-NLS-1$ -+ ArrayList tokens = new ArrayList(); -+ while (tokenizer.hasMoreTokens()) { -+ tokens.add(tokenizer.nextToken()); -+ } - // state machine - final int start = 0; - final int readyToClose = 1; -@@ -2737,14 +2741,20 @@ - // 'path[' 'path1;path2[' - final int rulesReadyToClose = 6; - // 'path[rule' 'path[rule1;rule2' -+ final int bracketOpened = 7; -+ // '.*[.*' -+ final int bracketClosed = 8; -+ // '.*([.*])+' - final int error = 99; - int state = start; - String token = null; -- while (tokenizer.hasMoreTokens() && state != error) { -- token = tokenizer.nextToken(); -+ int cursor = 0, tokensNb = tokens.size(), bracket = -1; -+ while (cursor < tokensNb && state != error) { -+ token = (String) tokens.get(cursor++); - if (token.equals(File.pathSeparator)) { - switch (state) { - case start: -+ case bracketOpened: - break; - case readyToClose: - case readyToCloseEndingWithRules: -@@ -2757,14 +2767,21 @@ - case rulesReadyToClose: - state = rulesNeedAnotherRule; - break; -+ case bracketClosed: -+ cursor = bracket + 1; -+ state = rulesStart; -+ break; - default: - state = error; - } - } else if (token.equals("[")) { //$NON-NLS-1$ - switch (state) { - case readyToClose: -- state = rulesStart; -+ bracket = cursor - 1; -+ case bracketClosed: -+ state = bracketOpened; - break; -+ case bracketOpened: - default: - state = error; - } -@@ -2773,6 +2790,10 @@ - case rulesReadyToClose: - state = readyToCloseEndingWithRules; - break; -+ case bracketOpened: -+ state = bracketClosed; -+ break; -+ case bracketClosed: - default: - state = error; - } -@@ -2789,10 +2810,22 @@ - state = rulesReadyToClose; - currentRuleSpecs.add(token); - break; -+ case bracketClosed: -+ for (int i = bracket; i < cursor ; i++) { -+ currentClasspathName += (String) tokens.get(i); -+ } -+ state = readyToClose; -+ break; -+ case bracketOpened: -+ break; - default: - state = error; - } - } -+ if (state == bracketClosed && cursor == tokensNb) { -+ cursor = bracket + 1; -+ state = rulesStart; -+ } - } - switch(state) { - case readyToClose: -@@ -2801,6 +2834,8 @@ - addNewEntry(paths, currentClasspathName, currentRuleSpecs, - customEncoding, isSourceOnly); - break; -+ case bracketOpened: -+ case bracketClosed: - default : - // we go on anyway - this.logger.logIncorrectClasspath(currentPath); diff --git a/eclipse-launcher-addplatformtotildeeclipse.patch b/eclipse-launcher-addplatformtotildeeclipse.patch deleted file mode 100644 index 5dd6a56..0000000 --- a/eclipse-launcher-addplatformtotildeeclipse.patch +++ /dev/null @@ -1,144 +0,0 @@ -Index: library/eclipse.c -=================================================================== -RCS file: /cvsroot/eclipse/platform-launcher/library/eclipse.c,v -retrieving revision 1.71 -diff -u -r1.71 eclipse.c ---- library/eclipse.c 25 Apr 2006 14:31:50 -0000 1.71 -+++ library/eclipse.c 14 May 2007 11:14:30 -0000 -@@ -512,6 +512,8 @@ - /* Get the command to start the Java VM. */ - vmCommandArgs = getVMCommand( argc, argv ); - -+ addPlatformToTildeDotEclipse(); -+ - /* While the Java VM should be restarted */ - vmCommand = vmCommandArgs; - while (vmCommand != NULL) -Index: library/gtk/eclipseGtk.c -=================================================================== -RCS file: /cvsroot/eclipse/platform-launcher/library/gtk/eclipseGtk.c,v -retrieving revision 1.27 -diff -u -r1.27 eclipseGtk.c ---- library/gtk/eclipseGtk.c 27 Mar 2006 18:25:42 -0000 1.27 -+++ library/gtk/eclipseGtk.c 14 May 2007 11:14:30 -0000 -@@ -335,3 +335,120 @@ - gtk_main_quit(); - return FALSE; - } -+ -+/* Add the platform to ~/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.update/platform.xml */ -+void addPlatformToTildeDotEclipse() -+{ -+ gchar *platform_xml, *touched, *dot_eclipse; -+ gchar *rcp321_position; -+ gchar *platform_xml_contents; -+ GError *error = NULL; -+ -+ platform_xml = g_strconcat(g_get_home_dir(), "/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.update/platform.xml", NULL); -+ dot_eclipse = g_strconcat(g_get_home_dir(), "/.eclipse", NULL); -+ touched = g_strconcat(g_get_home_dir(), "/.eclipse/.homedirmodified-fedora", NULL); -+ -+ -+ if (!g_file_test(dot_eclipse, G_FILE_TEST_EXISTS)) -+ { -+ /* If .eclipse doesn't exist, Eclipse has yet to be started. -+ * We don't have worry about doing anything now and in the future -+ * so add the appropriate file to ~/.eclipse. */ -+ if (g_mkdir(g_strconcat(g_get_home_dir(), "/.eclipse", NULL), 511) < 0) -+ { -+ g_print("Error creating ~/.eclipse/."); -+ g_free(platform_xml); -+ g_free(dot_eclipse); -+ g_free(touched); -+ return; -+ -+ } -+ if (g_file_set_contents(touched, "\0", -1, &error) == FALSE) -+ { -+ g_print("Error touching ~/.eclipse/.homedirmodified-fedora."); -+ g_print(g_strconcat(error->message, "\n\0", NULL)); -+ g_free(error); -+ g_free(platform_xml); -+ g_free(dot_eclipse); -+ g_free(touched); -+ return; -+ } -+ -+ } -+ else if (g_file_test(platform_xml, G_FILE_TEST_EXISTS)) -+ { -+ /* platform_xml exists, workaround these two bugs: -+ * https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238107 -+ * https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238109 -+ * -+ * remove the unwanted feature if its in platform.xml */ -+ -+ if (g_file_get_contents(platform_xml, &platform_xml_contents, NULL, &error) == FALSE) -+ { -+ g_print("Error reading platform.xml in ~/.eclipse.\ -+ You should remove ~/.eclipse before restarting Eclipse:\0"); -+ g_print(g_strconcat(error->message, "\n\0", NULL)); -+ g_free(error); -+ g_free(platform_xml); -+ g_free(touched); -+ return; -+ } -+ -+ gchar *unwanted_feature = "\n\0"; -+ rcp321_position = g_strrstr(platform_xml_contents, unwanted_feature); -+ -+ if (rcp321_position != NULL) -+ { -+ int i; -+ for (i = 0; i < strlen(unwanted_feature); i++) { -+ rcp321_position[i] = ' '; -+ } -+ } -+ -+ if (g_file_set_contents(platform_xml, platform_xml_contents, -1, &error) == FALSE) -+ { -+ g_print("Error writing platform.xml in ~/.eclipse.\ -+ You should remove ~/.eclipse before restarting Eclipse:\0"); -+ g_print(g_strconcat(error->message, "\n\0", NULL)); -+ g_free(error); -+ g_free(touched); -+ g_free(dot_eclipse); -+ g_free(platform_xml); -+ g_free(platform_xml_contents); -+ return; -+ } -+ -+ g_free(platform_xml_contents); -+ } -+ -+ g_free(dot_eclipse); -+ if (g_file_test(touched, G_FILE_TEST_EXISTS)) -+ { -+ /* touched exists, we don't need to do anything */ -+ g_free(platform_xml); -+ g_free(touched); -+ return; -+ } -+ -+ /* At this point platform_xml exists and touched does not exist. */ -+ if (g_file_test(platform_xml, G_FILE_TEST_EXISTS)) -+ { -+ if (g_remove(platform_xml) < 0) -+ { -+ g_print("Error writing platform.xml in ~/.eclipse.\ -+ You should remove ~/.eclipse before restarting Eclipse:\0"); -+ g_free(platform_xml); -+ g_free(touched); -+ return; -+ } -+ } -+ if (g_file_set_contents(touched, "\0", -1, &error) == FALSE) -+ { -+ g_print("Error touching ~/.eclipse/.homedirmodified-fedora."); -+ g_print(g_strconcat(error->message, "\n\0", NULL)); -+ g_free(error); -+ } -+ g_free(platform_xml); -+ g_free(touched); -+ return; -+} diff --git a/eclipse-launcher-set-install-dir-and-shared-config.patch b/eclipse-launcher-set-install-dir-and-shared-config.patch index cacc034..cd8b78d 100644 --- a/eclipse-launcher-set-install-dir-and-shared-config.patch +++ b/eclipse-launcher-set-install-dir-and-shared-config.patch @@ -1,121 +1,23 @@ -### Eclipse Workspace Patch 1.0 -#P platform-launcher -Index: library/eclipseConfig.c -=================================================================== -RCS file: /cvsroot/eclipse/platform-launcher/library/eclipseConfig.c,v -retrieving revision 1.11 -diff -u -r1.11 eclipseConfig.c ---- library/eclipseConfig.c 15 Apr 2005 19:17:10 -0000 1.11 -+++ library/eclipseConfig.c 25 Oct 2006 22:10:20 -0000 -@@ -30,8 +30,11 @@ - - #endif - --int readConfigFile(_TCHAR* program, _TCHAR* arg0, int *argc, _TCHAR ***argv) -+/* installDir must end in path separator */ -+int readConfigFile(_TCHAR* installDir, _TCHAR* arg0, int *argc, _TCHAR ***argv) - { -+ _TCHAR* temp; -+ _TCHAR* programName; - _TCHAR* config_file = NULL; - _TCHAR buffer[1024]; - _TCHAR argument[1024]; -@@ -39,11 +42,20 @@ - int maxArgs = 128; - int index; - -- if (program == NULL || argc == NULL || argv == NULL) return -1; -- -- /* Get a copy */ -- config_file = _tcsdup(program); -+ if (installDir == NULL || argc == NULL || argv == NULL) return -1; - -+ /* Determine the name of the executable */ -+ temp = malloc( (_tcslen( arg0 ) + 1) * sizeof(_TCHAR) ); -+ _tcscpy( temp, arg0 ); -+ programName = _tcsrchr( temp, dirSeparator ); -+ if (programName == NULL) -+ programName = temp; -+ else -+ programName++; -+ -+ /* Get a copy */ -+ config_file = _tcsdup(installDir); -+ - #ifdef _WIN32 - { - /* Search for the extension .exe and replace it with .ini */ -@@ -57,8 +69,11 @@ - } - #else - /* Append the extension */ -- config_file = (char*)realloc(config_file, strlen(config_file) + 5); -- strcat(config_file, ".ini"); -+ config_file = (char*)realloc(config_file, strlen(config_file) + strlen(programName) + 5); -+ strcat(config_file, programName); -+ free(temp); -+ programName = NULL; -+ strcat(config_file, ".ini"); - #endif - - /* Open the config file as a text file Index: library/eclipse.c =================================================================== -RCS file: /cvsroot/eclipse/platform-launcher/library/eclipse.c,v -retrieving revision 1.71 -diff -u -r1.71 eclipse.c ---- library/eclipse.c 25 Apr 2006 14:31:50 -0000 1.71 -+++ library/eclipse.c 25 Oct 2006 22:10:20 -0000 -@@ -295,7 +295,8 @@ +RCS file: /cvsroot/eclipse/org.eclipse.equinox.executable/library/eclipse.c,v +retrieving revision 1.20 +diff -u -r1.20 eclipse.c +--- library/eclipse.c 8 Feb 2007 16:57:15 -0000 1.20 ++++ library/eclipse.c 1 Mar 2007 03:44:19 -0000 +@@ -330,8 +330,9 @@ /* Define the required VM arguments (all platforms). */ - static _TCHAR* jar = _T_ECLIPSE("-jar"); --static _TCHAR** reqVMarg[] = { &jar, &jarFile, NULL }; -+static _TCHAR* sharedConfigurationDir = _T_ECLIPSE("-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration"); -+static _TCHAR** reqVMarg[] = { &sharedConfigurationDir, &jar, &jarFile, NULL }; - - /* Local methods */ - static int createUserArgs(int configArgc, _TCHAR **configArgv, int *argc, _TCHAR ***argv); -@@ -387,8 +388,19 @@ - #endif - } - -+ /* Find the directory where Eclipse is installed. */ -+ programDir = getProgramDir(); -+ if (programDir == NULL) -+ { -+ errorMsg = malloc( (_tcslen(homeMsg) + _tcslen(officialName) + 10) * sizeof(_TCHAR) ); -+ _stprintf( errorMsg, homeMsg, officialName ); -+ displayMessage( officialName, errorMsg ); -+ free( errorMsg ); -+ exit( 1 ); -+ } -+ - /* Parse configuration file arguments */ -- if (isMainEclipse(argc, argv) && readConfigFile(program, argv[0], &configArgc, &configArgv) == 0) -+ if (isMainEclipse(argc, argv) && readConfigFile(programDir, argv[0], &configArgc, &configArgv) == 0) - { - parseArgs (&configArgc, configArgv); - } -@@ -411,17 +423,6 @@ - /* Initialize the window system. */ - initWindowSystem( &argc, argv, (showSplashArg != NULL) ); - -- /* Find the directory where the Eclipse program is installed. */ -- programDir = getProgramDir(); -- if (programDir == NULL) -- { -- errorMsg = malloc( (_tcslen(homeMsg) + _tcslen(officialName) + 10) * sizeof(_TCHAR) ); -- _stprintf( errorMsg, homeMsg, officialName ); -- displayMessage( officialName, errorMsg ); -- free( errorMsg ); -- exit( 1 ); -- } -- - /* If the exit data option was given, set exit data */ - if (exitDataArg != NULL) - { -@@ -1078,19 +1079,12 @@ + static _TCHAR* cp = NULL; +-static _TCHAR* cpValue = NULL; +-static _TCHAR** reqVMarg[] = { &cp, &cpValue, NULL }; /* required VM args */ ++static _TCHAR* cpValue = NULL; ++static _TCHAR* sharedConfigurationDir = _T_ECLIPSE("-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration"); ++static _TCHAR** reqVMarg[] = { &sharedConfigurationDir, &cp, &cpValue, NULL }; /* required VM args */ + static _TCHAR** userVMarg = NULL; /* user specific args for the Java VM */ + static _TCHAR** eeVMarg = NULL; /* vm args specified in ee file */ + static int nEEargs = 0; +@@ -915,20 +916,12 @@ */ _TCHAR* getProgramDir( ) { @@ -134,25 +36,25 @@ diff -u -r1.71 eclipse.c - - free( programDir ); - return NULL; -+ programDir = malloc( (_tcslen( temp + 1 )) * sizeof(_TCHAR) ); -+ _tcscpy( programDir, temp ); -+ return programDir; ++ programDir = malloc( (_tcslen( temp + 1 )) * sizeof(_TCHAR) ); ++ _tcscpy( programDir, temp ); ++ return programDir; } -+ + static _TCHAR* findStartupJar(){ Index: library/gtk/make_linux.mak =================================================================== -RCS file: /cvsroot/eclipse/platform-launcher/library/gtk/make_linux.mak,v -retrieving revision 1.11 -diff -u -r1.11 make_linux.mak ---- library/gtk/make_linux.mak 9 Mar 2006 19:01:05 -0000 1.11 -+++ library/gtk/make_linux.mak 25 Oct 2006 22:10:20 -0000 -@@ -27,7 +27,7 @@ - OBJS = eclipse.o eclipseUtil.o eclipseShm.o eclipseConfig.o eclipseMozilla.o eclipseGtk.o - EXEC = $(PROGRAM_OUTPUT) - LIBS = `pkg-config --libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgdk-x11-2.0 --CFLAGS = -O -s \ -+CFLAGS = -O -s -g \ +RCS file: /cvsroot/eclipse/org.eclipse.equinox.executable/library/gtk/make_linux.mak,v +retrieving revision 1.10 +diff -u -r1.10 make_linux.mak +--- library/gtk/make_linux.mak 7 Feb 2007 18:13:48 -0000 1.10 ++++ library/gtk/make_linux.mak 1 Mar 2007 03:44:19 -0000 +@@ -43,7 +43,7 @@ + DLL = $(PROGRAM_LIBRARY) + LIBS = `pkg-config --libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lgdk-x11-2.0 -lpthread -ldl + LFLAGS = -shared -fpic -Wl,--export-dynamic +-CFLAGS = -O -s -Wall\ ++CFLAGS = -O -s -Wall -g \ -fpic \ -DLINUX \ -DMOZILLA_FIX \ diff --git a/eclipse-pde.build-add-package-build.patch b/eclipse-pde.build-add-package-build.patch index 77f347d..2d0b04b 100644 --- a/eclipse-pde.build-add-package-build.patch +++ b/eclipse-pde.build-add-package-build.patch @@ -193,9 +193,42 @@ RCS file: templates/package-build/prepare-build-dir.sh diff -N templates/package-build/prepare-build-dir.sh --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ templates/package-build/prepare-build-dir.sh 1 Jan 1970 00:00:00 -0000 -@@ -0,0 +1,77 @@ +@@ -0,0 +1,83 @@ +#!/bin/sh + ++ ++make_links() ++{ ++ TYPE=$1 ++ TYPEDIR=$2 ++ shift; shift; ++ XMLFILES=$@ ++ ++ CURBUILDFILE=$BUILDDIR/tmp/$TYPE-build.xml ++ cat $BUILDFILE | sed "s|@type@|$TYPE|" > $CURBUILDFILE ++ ++ for f in $XMLFILES; do ++ PROJECTDIR=$(dirname $f) ++ PROJECTNAME=$(ant -Dbasedir=$PROJECTDIR -f $CURBUILDFILE 2>&1 | grep echo | cut --delimiter=' ' -f 7) ++ if [ -z $PROJECTNAME ]; then ++ if [ ! -e $PROJECTDIR/META-INF/MANIFEST.MF ]; then ++ echo "ERROR: could not determine the feature id for $PROJECTDIR" ++ exit 1 ++ fi ++ PROJECTNAME=$(grep Bundle-SymbolicName $PROJECTDIR/META-INF/MANIFEST.MF | cut --delimiter=';' -f 1 | cut --delimiter=' ' -f 2) ++ if [ -z $PROJECTNAME ]; then ++ echo "ERROR: could not determine the feature id for $PROJECTDIR" ++ exit 1 ++ fi ++ fi ++ ++ echo " making symlink: $BUILDDIR/$TYPEDIR/$PROJECTNAME -> $PROJECTDIR" ++ ln -sf $PROJECTDIR $BUILDDIR/$TYPEDIR/$PROJECTNAME ++ ++ done ++} ++ ++ +if [ $# -ne 2 ]; then + echo "usage: $0 " + exit 1 @@ -224,50 +257,23 @@ diff -N templates/package-build/prepare-build-dir.sh + +" > $BUILDFILE + -+for type in feature plugin fragment; do -+ CURBUILDFILE=$BUILDDIR/tmp/$type-build.xml -+ cat $BUILDFILE | sed "s|@type@|$type|" > $CURBUILDFILE -+done ++# find the feature.xml, plugin.xml and fragment.xml files ++FEATURES=$(find $SOURCEDIR -name feature.xml) ++PLUGINS=$(find $SOURCEDIR -name plugin.xml) ++FRAGMENTS=$(find $SOURCEDIR -name fragment.xml) + +# make the directories eclipse is expecting +echo " making the 'features' and 'plugins' directories" +mkdir -p $BUILDDIR/features $BUILDDIR/plugins + +# make symlinks for the features -+FEATURES=$(find $SOURCEDIR -name feature.xml) -+for f in $FEATURES; do -+ PROJECTDIR=$(dirname $f) -+ PROJECTNAME=$(ant -Dbasedir=$PROJECTDIR -f $BUILDDIR/tmp/feature-build.xml 2>&1 | grep echo | cut --delimiter=' ' -f 7) -+ if [ -z $PROJECTNAME ]; then -+ echo "ERROR: could not determine the feature id for $PROJECTDIR" -+ exit 1 -+ fi -+ -+ echo " making symlink: $BUILDDIR/features/$PROJECTNAME -> $PROJECTDIR" -+ ln -sf $PROJECTDIR $BUILDDIR/features/$PROJECTNAME -+done -+ -+# make symlinks for plugins and fragments -+PLUGINDIRS=$(find $SOURCEDIR -name plugin.xml -o -name fragment.xml -o -name MANIFEST.MF | sed "s/plugin.xml//g" | sed "s/fragment.xml//g" | sed "s/META-INF\/MANIFEST.MF//" | sort | uniq) -+for dir in $PLUGINDIRS; do -+ PROJECTNAME="" -+ if [ -e $dir/META-INF/MANIFEST.MF ]; then -+ PROJECTNAME=$(grep Bundle-SymbolicName $dir/META-INF/MANIFEST.MF | cut --delimiter=';' -f 1 | cut --delimiter=' ' -f 2) -+ elif [ -e $dir/plugin.xml ]; then -+ PROJECTNAME=$(ant -Dbasedir=$dir -f $BUILDDIR/tmp/plugin-build.xml 2>&1 | grep echo | cut --delimiter=' ' -f 7) -+ elif [ -e $dir/fragment.xml ]; then -+ PROJECTNAME=$(ant -Dbasedir=$dir -f $BUILDDIR/tmp/fragment-build.xml 2>&1 | grep echo | cut --delimiter=' ' -f 7) -+ fi -+ -+ if [ -z $PROJECTNAME ]; then -+ echo "ERROR: could not determine the plugin or fragment id for $dir" -+ exit 1 -+ fi -+ -+ echo " making symlink: $BUILDDIR/plugins/$PROJECTNAME -> $dir" -+ ln -sf $dir $BUILDDIR/plugins/$PROJECTNAME -+ -+done ++make_links feature features $FEATURES ++ ++# make the symlinks for plugins ++make_links plugin plugins $PLUGINS ++ ++# make the symlinks for fragments - they go in the plugins directory as well ++make_links fragment plugins $FRAGMENTS + +rm -rf $BUILDDIR/tmp +echo done diff --git a/eclipse-ppc64gre64.patch b/eclipse-ppc64gre64.patch deleted file mode 100644 index d915efa..0000000 --- a/eclipse-ppc64gre64.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: library/eclipseMozilla.c -=================================================================== -RCS file: /cvsroot/eclipse/platform-launcher/library/eclipseMozilla.c,v -retrieving revision 1.2 -diff -u -r1.2 eclipseMozilla.c ---- library/eclipseMozilla.c 10 Aug 2006 21:21:26 -0000 1.2 -+++ library/eclipseMozilla.c 17 Nov 2006 18:39:08 -0000 -@@ -102,7 +102,7 @@ - { - struct stat buf; - FILE *file = NULL; --#if defined(__amd64__) || defined(__x86_64__) -+#if defined(__amd64__) || defined(__x86_64__) || defined(__powerpc64__) - if (stat("/etc/gre64.conf", &buf) == 0) - { - file = fopen("/etc/gre64.conf", "r"); diff --git a/eclipse-swt-firefox.2.patch b/eclipse-swt-firefox.2.patch deleted file mode 100644 index e3d31ad..0000000 --- a/eclipse-swt-firefox.2.patch +++ /dev/null @@ -1,33 +0,0 @@ -### Eclipse Workspace Patch 1.0 -#P org.eclipse.swt.tools -Index: JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.mozilla.XPCOM.properties -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.mozilla.XPCOM.properties,v -retrieving revision 1.11.2.1 -diff -u -r1.11.2.1 org.eclipse.swt.internal.mozilla.XPCOM.properties ---- JNI_Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.mozilla.XPCOM.properties 26 Jul 2006 16:33:11 -0000 1.11.2.1 -+++ JNI_Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.mozilla.XPCOM.properties 29 Sep 2006 04:51:03 -0000 -@@ -24,17 +24,18 @@ - XPCOM_NS_GetServiceManager= - XPCOM_NS_GetServiceManager_0=cast=(nsIServiceManager**) - --XPCOM_NS_InitEmbedding= --XPCOM_NS_InitEmbedding_0=cast=(nsILocalFile *) --XPCOM_NS_InitEmbedding_1=cast=(nsIDirectoryServiceProvider *) -+XPCOM_NS_InitXPCOM3= -+XPCOM_NS_InitXPCOM3_0=cast=(nsIServiceManager**) -+XPCOM_NS_InitXPCOM3_1=cast=(nsIFile *) -+XPCOM_NS_InitXPCOM3_2=cast=(nsIDirectoryServiceProvider *) -+XPCOM_NS_InitXPCOM3_3=cast=(const nsStaticModuleInfo *) -+XPCOM_NS_InitXPCOM3_4=cast=(PRUint32) - - XPCOM_NS_NewLocalFile= - XPCOM_NS_NewLocalFile_0=cast=(nsAString *),flags=struct - XPCOM_NS_NewLocalFile_1= - XPCOM_NS_NewLocalFile_2=cast=(nsILocalFile**) - --XPCOM_NS_TermEmbedding= -- - XPCOM_PR_Free= - XPCOM_PR_Free_0=cast=(void *) - diff --git a/eclipse-swt-firefox.patch b/eclipse-swt-firefox.patch deleted file mode 100644 index 9346cbc..0000000 --- a/eclipse-swt-firefox.patch +++ /dev/null @@ -1,475 +0,0 @@ -### Eclipse Workspace Patch 1.0 -#P org.eclipse.swt -Index: Eclipse_SWT_PI/gtk/library/make_linux.mak -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_PI/gtk/library/make_linux.mak,v -retrieving revision 1.33.2.1 -diff -u -r1.33.2.1 make_linux.mak ---- Eclipse_SWT_PI/gtk/library/make_linux.mak 26 Jul 2006 16:33:23 -0000 1.33.2.1 -+++ Eclipse_SWT_PI/gtk/library/make_linux.mak 29 Sep 2006 13:21:51 -0000 -@@ -202,7 +202,7 @@ - # - # Mozilla lib - # --make_mozilla:$(MOZILLA_LIB) $(PROFILE14_LIB) $(PROFILE17_LIB) $(PROFILE18_LIB) -+make_mozilla:$(MOZILLA_LIB) - - $(MOZILLA_LIB): $(MOZILLA_OBJECTS) - $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALIBS) ${GECKO_LIBS} -@@ -220,22 +220,22 @@ - $(CXX) $(MOZILLACFLAGS) ${GECKO_INCLUDES} -c xpcom_stats.cpp - - $(PROFILE14_OBJECTS): xpcom_profile.cpp -- $(CXX) -o $(PROFILE14_OBJECTS) $(MOZILLACFLAGS) ${PROFILE14_INCLUDES} -c xpcom_profile.cpp -+ $(CXX) -o $(PROFILE14_OBJECTS) $(MOZILLACFLAGS) ${PROFILE14_INCLUDES} ${GECKO_INCLUDES} -c xpcom_profile.cpp - - $(PROFILE17_OBJECTS): xpcom_profile.cpp -- $(CXX) -o $(PROFILE17_OBJECTS) $(MOZILLACFLAGS) ${PROFILE17_INCLUDES} -c xpcom_profile.cpp -+ $(CXX) -o $(PROFILE17_OBJECTS) $(MOZILLACFLAGS) ${PROFILE17_INCLUDES} ${GECKO_INCLUDES} -c xpcom_profile.cpp - - $(PROFILE18_OBJECTS): xpcom_profile.cpp -- $(CXX) -o $(PROFILE18_OBJECTS) $(MOZILLACFLAGS) ${PROFILE18_INCLUDES} -c xpcom_profile.cpp -+ $(CXX) -o $(PROFILE18_OBJECTS) $(MOZILLACFLAGS) ${PROFILE18_INCLUDES} ${GECKO_INCLUDES} -c xpcom_profile.cpp - - $(PROFILE14_LIB): $(PROFILE14_OBJECTS) -- $(CXX) -o $(PROFILE14_LIB) $(PROFILE14_OBJECTS) $(MOZILLALIBS) ${PROFILE14_LIBS} -+ $(CXX) -o $(PROFILE14_LIB) $(PROFILE14_OBJECTS) $(MOZILLALIBS) ${PROFILE14_LIBS} ${GECKO_LIBS} - - $(PROFILE17_LIB): $(PROFILE17_OBJECTS) -- $(CXX) -o $(PROFILE17_LIB) $(PROFILE17_OBJECTS) $(MOZILLALIBS) ${PROFILE17_LIBS} -+ $(CXX) -o $(PROFILE17_LIB) $(PROFILE17_OBJECTS) $(MOZILLALIBS) ${PROFILE17_LIBS} ${GECKO_LIBS} - - $(PROFILE18_LIB): $(PROFILE18_OBJECTS) -- $(CXX) -o $(PROFILE18_LIB) $(PROFILE18_OBJECTS) $(MOZILLALIBS) ${PROFILE18_LIBS} -+ $(CXX) -o $(PROFILE18_LIB) $(PROFILE18_OBJECTS) $(MOZILLALIBS) ${PROFILE18_LIBS} ${GECKO_LIBS} - - # - # GLX lib -@@ -264,4 +264,4 @@ - # Clean - # - clean: -- rm -f *.o *.so -+ rm -f *.o *.so -\ No newline at end of file -Index: Eclipse_SWT_PI/gtk/library/build.sh -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_PI/gtk/library/build.sh,v -retrieving revision 1.40 -diff -u -r1.40 build.sh ---- Eclipse_SWT_PI/gtk/library/build.sh 22 Nov 2005 04:48:15 -0000 1.40 -+++ Eclipse_SWT_PI/gtk/library/build.sh 29 Sep 2006 13:21:51 -0000 -@@ -87,9 +87,9 @@ - fi - - if [ -z "${GECKO_INCLUDES}" -a -z "${GECKO_LIBS}" ]; then -- if [ x`pkg-config --exists mozilla-xpcom && echo YES` = "xYES" ]; then -- GECKO_INCLUDES=`pkg-config --cflags mozilla-xpcom` -- GECKO_LIBS=`pkg-config --libs mozilla-xpcom` -+ if [ x`pkg-config --exists firefox-xpcom && echo YES` = "xYES" ]; then -+ GECKO_INCLUDES=`pkg-config --cflags firefox-xpcom` -+ GECKO_LIBS=`pkg-config --libs firefox-xpcom` - export GECKO_INCLUDES - export GECKO_LIBS - MAKE_MOZILLA=make_mozilla -Index: Eclipse_SWT_Mozilla/common/library/xpcom_stats.cpp -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_Mozilla/common/library/xpcom_stats.cpp,v -retrieving revision 1.15.2.1 -diff -u -r1.15.2.1 xpcom_stats.cpp ---- Eclipse_SWT_Mozilla/common/library/xpcom_stats.cpp 26 Jul 2006 16:33:23 -0000 1.15.2.1 -+++ Eclipse_SWT_Mozilla/common/library/xpcom_stats.cpp 29 Sep 2006 13:21:49 -0000 -@@ -31,15 +31,14 @@ - - #ifdef NATIVE_STATS - --int XPCOM_nativeFunctionCount = 132; --int XPCOM_nativeFunctionCallCount[132]; -+int XPCOM_nativeFunctionCount = 131; -+int XPCOM_nativeFunctionCallCount[131]; - char * XPCOM_nativeFunctionNames[] = { - "Call", - "NS_1GetComponentManager", - "NS_1GetServiceManager", -- "NS_1InitEmbedding", -+ "NS_1InitXPCOM3_FUNC", - "NS_1NewLocalFile", -- "NS_1TermEmbedding", - "PR_1Free", - "PR_1Malloc", - "VtblCall__II", -Index: Eclipse_SWT_Mozilla/common/library/xpcom_profile.h -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_Mozilla/common/library/xpcom_profile.h,v -retrieving revision 1.1.2.1 -diff -u -r1.1.2.1 xpcom_profile.h ---- Eclipse_SWT_Mozilla/common/library/xpcom_profile.h 26 Jul 2006 16:33:23 -0000 1.1.2.1 -+++ Eclipse_SWT_Mozilla/common/library/xpcom_profile.h 29 Sep 2006 13:21:48 -0000 -@@ -32,7 +32,7 @@ - #define NDEBUG - - #include "nsCOMPtr.h" --#include "nsProfileDirServiceProvider.h" -+#include "profdirserviceprovider/nsProfileDirServiceProvider.h" - #include "xpcom_stats.h" - - #endif /* INC_xpcom_profile_H */ -Index: Eclipse_SWT_Mozilla/common/library/xpcom.h -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_Mozilla/common/library/xpcom.h,v -retrieving revision 1.6.2.1 -diff -u -r1.6.2.1 xpcom.h ---- Eclipse_SWT_Mozilla/common/library/xpcom.h 26 Jul 2006 16:33:23 -0000 1.6.2.1 -+++ Eclipse_SWT_Mozilla/common/library/xpcom.h 29 Sep 2006 13:21:48 -0000 -@@ -32,7 +32,6 @@ - #define NDEBUG - - #include "nsXPCOM.h" --#include "nsEmbedAPI.h" - #include "nsEmbedString.h" - #include "nsIInputStream.h" - #include "nsISupportsUtils.h" -Index: Eclipse_SWT_Mozilla/common/library/xpcom.cpp -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_Mozilla/common/library/xpcom.cpp,v -retrieving revision 1.29.2.1 -diff -u -r1.29.2.1 xpcom.cpp ---- Eclipse_SWT_Mozilla/common/library/xpcom.cpp 26 Jul 2006 16:33:23 -0000 1.29.2.1 -+++ Eclipse_SWT_Mozilla/common/library/xpcom.cpp 29 Sep 2006 13:21:48 -0000 -@@ -85,14 +85,16 @@ - } - #endif - --#ifndef NO_NS_1InitEmbedding --JNIEXPORT jint JNICALL XPCOM_NATIVE(NS_1InitEmbedding) -- (JNIEnv *env, jclass that, jint arg0, jint arg1) -+#ifndef NO_NS_1InitXPCOM3 -+JNIEXPORT jint JNICALL XPCOM_NATIVE(NS_1InitXPCOM3) -+ (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4) - { - jint rc = 0; -- XPCOM_NATIVE_ENTER(env, that, NS_1InitEmbedding_FUNC); -- rc = (jint)NS_InitEmbedding((nsILocalFile *)arg0, (nsIDirectoryServiceProvider *)arg1); -- XPCOM_NATIVE_EXIT(env, that, NS_1InitEmbedding_FUNC); -+ XPCOM_NATIVE_ENTER(env, that, NS_1GetComponentRegistrar_FUNC); -+ rc = (jint)NS_InitXPCOM3((nsIServiceManager **)arg0, (nsIFile *)arg1, -+ (nsIDirectoryServiceProvider *)arg2, (nsStaticModuleInfo *)arg3, -+ (PRUint32) arg4); -+ XPCOM_NATIVE_EXIT(env, that, NS_1GetComponentRegistrar_FUNC); - return rc; - } - #endif -@@ -113,18 +115,6 @@ - } - #endif - --#ifndef NO_NS_1TermEmbedding --JNIEXPORT jint JNICALL XPCOM_NATIVE(NS_1TermEmbedding) -- (JNIEnv *env, jclass that) --{ -- jint rc = 0; -- XPCOM_NATIVE_ENTER(env, that, NS_1TermEmbedding_FUNC); -- rc = (jint)NS_TermEmbedding(); -- XPCOM_NATIVE_EXIT(env, that, NS_1TermEmbedding_FUNC); -- return rc; --} --#endif -- - #ifndef NO_PR_1Free - JNIEXPORT void JNICALL XPCOM_NATIVE(PR_1Free) - (JNIEnv *env, jclass that, jint arg0) -Index: Eclipse_SWT_Mozilla/common/library/xpcom_stats.h -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_Mozilla/common/library/xpcom_stats.h,v -retrieving revision 1.14.2.1 -diff -u -r1.14.2.1 xpcom_stats.h ---- Eclipse_SWT_Mozilla/common/library/xpcom_stats.h 26 Jul 2006 16:33:23 -0000 1.14.2.1 -+++ Eclipse_SWT_Mozilla/common/library/xpcom_stats.h 29 Sep 2006 13:21:49 -0000 -@@ -41,9 +41,8 @@ - Call_FUNC, - NS_1GetComponentManager_FUNC, - NS_1GetServiceManager_FUNC, -- NS_1InitEmbedding_FUNC, -+ NS_1InitXPCOM3_FUNC, - NS_1NewLocalFile_FUNC, -- NS_1TermEmbedding_FUNC, - PR_1Free_FUNC, - PR_1Malloc_FUNC, - VtblCall__II_FUNC, -Index: Eclipse_SWT_Mozilla/gtk/org/eclipse/swt/browser/Browser.java -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_Mozilla/gtk/org/eclipse/swt/browser/Browser.java,v -retrieving revision 1.61.2.2 -diff -u -r1.61.2.2 Browser.java ---- Eclipse_SWT_Mozilla/gtk/org/eclipse/swt/browser/Browser.java 24 Aug 2006 20:19:25 -0000 1.61.2.2 -+++ Eclipse_SWT_Mozilla/gtk/org/eclipse/swt/browser/Browser.java 29 Sep 2006 13:21:51 -0000 -@@ -10,15 +10,75 @@ - *******************************************************************************/ - package org.eclipse.swt.browser; - --import java.io.*; --import java.util.*; --import org.eclipse.swt.*; --import org.eclipse.swt.widgets.*; --import org.eclipse.swt.graphics.*; --import org.eclipse.swt.internal.*; --import org.eclipse.swt.internal.gtk.*; --import org.eclipse.swt.internal.mozilla.*; --import org.eclipse.swt.layout.*; -+import java.io.File; -+import java.io.UnsupportedEncodingException; -+import java.util.Locale; -+import java.util.StringTokenizer; -+ -+import org.eclipse.swt.SWT; -+import org.eclipse.swt.SWTError; -+import org.eclipse.swt.SWTException; -+import org.eclipse.swt.graphics.Point; -+import org.eclipse.swt.graphics.Rectangle; -+import org.eclipse.swt.internal.Callback; -+import org.eclipse.swt.internal.Converter; -+import org.eclipse.swt.internal.Library; -+import org.eclipse.swt.internal.gtk.GdkEvent; -+import org.eclipse.swt.internal.gtk.LONG; -+import org.eclipse.swt.internal.gtk.OS; -+import org.eclipse.swt.internal.mozilla.XPCOM; -+import org.eclipse.swt.internal.mozilla.XPCOMObject; -+import org.eclipse.swt.internal.mozilla.nsEmbedString; -+import org.eclipse.swt.internal.mozilla.nsIAppShell; -+import org.eclipse.swt.internal.mozilla.nsIBaseWindow; -+import org.eclipse.swt.internal.mozilla.nsICategoryManager; -+import org.eclipse.swt.internal.mozilla.nsIComponentManager; -+import org.eclipse.swt.internal.mozilla.nsIComponentRegistrar; -+import org.eclipse.swt.internal.mozilla.nsIContextMenuListener; -+import org.eclipse.swt.internal.mozilla.nsICookie; -+import org.eclipse.swt.internal.mozilla.nsICookieManager; -+import org.eclipse.swt.internal.mozilla.nsID; -+import org.eclipse.swt.internal.mozilla.nsIDOMEvent; -+import org.eclipse.swt.internal.mozilla.nsIDOMMouseEvent; -+import org.eclipse.swt.internal.mozilla.nsIDOMWindow; -+import org.eclipse.swt.internal.mozilla.nsIDirectoryService; -+import org.eclipse.swt.internal.mozilla.nsIDocShell; -+import org.eclipse.swt.internal.mozilla.nsIEmbeddingSiteWindow; -+import org.eclipse.swt.internal.mozilla.nsIFile; -+import org.eclipse.swt.internal.mozilla.nsIIOService; -+import org.eclipse.swt.internal.mozilla.nsIInterfaceRequestor; -+import org.eclipse.swt.internal.mozilla.nsILocalFile; -+import org.eclipse.swt.internal.mozilla.nsIPrefBranch; -+import org.eclipse.swt.internal.mozilla.nsIPrefLocalizedString; -+import org.eclipse.swt.internal.mozilla.nsIPrefService; -+import org.eclipse.swt.internal.mozilla.nsIProperties; -+import org.eclipse.swt.internal.mozilla.nsIRequest; -+import org.eclipse.swt.internal.mozilla.nsIServiceManager; -+import org.eclipse.swt.internal.mozilla.nsISimpleEnumerator; -+import org.eclipse.swt.internal.mozilla.nsISupports; -+import org.eclipse.swt.internal.mozilla.nsISupportsWeakReference; -+import org.eclipse.swt.internal.mozilla.nsITooltipListener; -+import org.eclipse.swt.internal.mozilla.nsIURI; -+import org.eclipse.swt.internal.mozilla.nsIURIContentListener; -+import org.eclipse.swt.internal.mozilla.nsIWeakReference; -+import org.eclipse.swt.internal.mozilla.nsIWebBrowser; -+import org.eclipse.swt.internal.mozilla.nsIWebBrowserChrome; -+import org.eclipse.swt.internal.mozilla.nsIWebBrowserChromeFocus; -+import org.eclipse.swt.internal.mozilla.nsIWebBrowserFocus; -+import org.eclipse.swt.internal.mozilla.nsIWebBrowserStream; -+import org.eclipse.swt.internal.mozilla.nsIWebNavigation; -+import org.eclipse.swt.internal.mozilla.nsIWebProgress; -+import org.eclipse.swt.internal.mozilla.nsIWebProgressListener; -+import org.eclipse.swt.internal.mozilla.nsIWindowWatcher; -+import org.eclipse.swt.layout.FillLayout; -+import org.eclipse.swt.widgets.Composite; -+import org.eclipse.swt.widgets.Display; -+import org.eclipse.swt.widgets.Event; -+import org.eclipse.swt.widgets.Label; -+import org.eclipse.swt.widgets.Listener; -+import org.eclipse.swt.widgets.Menu; -+import org.eclipse.swt.widgets.Shell; -+import org.eclipse.swt.widgets.Widget; - - /** - * Instances of this class implement the browser user interface -@@ -175,40 +235,43 @@ - * - mozilla17profile/mozilla17profile-gcc should succeed for mozilla 1.7.x and firefox - * - mozilla18profile/mozilla18profile-gcc should succeed for mozilla 1.8.x (seamonkey) - */ -- try { -- Library.loadLibrary ("swt-mozilla14-profile"); //$NON-NLS-1$ -- usingProfile = true; -- } catch (UnsatisfiedLinkError e1) { -- try { -- Library.loadLibrary ("swt-mozilla17-profile"); //$NON-NLS-1$ -- usingProfile = true; -- } catch (UnsatisfiedLinkError e2) { -- try { -- Library.loadLibrary ("swt-mozilla14-profile-gcc3"); //$NON-NLS-1$ -- usingProfile = true; -- } catch (UnsatisfiedLinkError e3) { -- try { -- Library.loadLibrary ("swt-mozilla17-profile-gcc3"); //$NON-NLS-1$ -- usingProfile = true; -- } catch (UnsatisfiedLinkError e4) { -- try { -- Library.loadLibrary ("swt-mozilla18-profile"); //$NON-NLS-1$ -- usingProfile = true; -- } catch (UnsatisfiedLinkError e5) { -- try { -- Library.loadLibrary ("swt-mozilla18-profile-gcc3"); //$NON-NLS-1$ -- usingProfile = true; -- } catch (UnsatisfiedLinkError e6) { -- /* -- * fail silently, the Browser will still work without profile support -- * but will abort any attempts to navigate to HTTPS pages -- */ -- } -- } -- } -- } -- } -- } -+// Library.loadLibrary("swt-mozilla17-profile"); -+ // We build the profile stuff without the need for a separate DSO -+ usingProfile = true; -+// try { -+// Library.loadLibrary ("swt-mozilla14-profile"); //$NON-NLS-1$ -+// usingProfile = true; -+// } catch (UnsatisfiedLinkError e1) { -+// try { -+// Library.loadLibrary ("swt-mozilla17-profile"); //$NON-NLS-1$ -+// usingProfile = true; -+// } catch (UnsatisfiedLinkError e2) { -+// try { -+// Library.loadLibrary ("swt-mozilla14-profile-gcc3"); //$NON-NLS-1$ -+// usingProfile = true; -+// } catch (UnsatisfiedLinkError e3) { -+// try { -+// Library.loadLibrary ("swt-mozilla17-profile-gcc3"); //$NON-NLS-1$ -+// usingProfile = true; -+// } catch (UnsatisfiedLinkError e4) { -+// try { -+// Library.loadLibrary ("swt-mozilla18-profile"); //$NON-NLS-1$ -+// usingProfile = true; -+// } catch (UnsatisfiedLinkError e5) { -+// try { -+// Library.loadLibrary ("swt-mozilla18-profile-gcc3"); //$NON-NLS-1$ -+// usingProfile = true; -+// } catch (UnsatisfiedLinkError e6) { -+// /* -+// * fail silently, the Browser will still work without profile support -+// * but will abort any attempts to navigate to HTTPS pages -+// */ -+// } -+// } -+// } -+// } -+// } -+// } - - int /*long*/[] retVal = new int /*long*/[1]; - nsEmbedString pathString = new nsEmbedString(mozillaPath); -@@ -218,11 +281,11 @@ - if (retVal[0] == 0) error(XPCOM.NS_ERROR_NULL_POINTER); - - nsILocalFile localFile = new nsILocalFile(retVal[0]); -- rc = XPCOM.NS_InitEmbedding(localFile.getAddress(), 0); -+ rc = XPCOM.NS_InitXPCOM3(0, localFile.getAddress(), 0, 0, 0); - localFile.Release(); - if (rc != XPCOM.NS_OK) { - dispose(); -- SWT.error(SWT.ERROR_NO_HANDLES, null, " [NS_InitEmbedding "+mozillaPath+" error "+rc+"]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ -+ SWT.error(SWT.ERROR_NO_HANDLES, null, " [NS_InitXPCOM3 "+mozillaPath+" error "+rc+"]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - } - - rc = XPCOM.NS_GetComponentManager(result); -@@ -283,7 +346,7 @@ - rc = properties.Get(buffer, nsIFile.NS_IFILE_IID, result); - if (rc != XPCOM.NS_OK) error(rc); - if (result[0] == 0) error(XPCOM.NS_NOINTERFACE); -- properties.Release(); -+ // properties.Release() is now after the Set below - - nsIFile profileDir = new nsIFile(result[0]); - result[0] = 0; -@@ -305,24 +368,15 @@ - pathString.dispose(); // - - profileDir = new nsIFile(result[0]); -- result[0] = 0; -- -- rc = XPCOM_PROFILE.NS_NewProfileDirServiceProvider(true, result); -+ -+ // Set the profile dir property so that it's initialized for -+ // things like password manager and https -+ buffer = Converter.wcsToMbcs(null, XPCOM.NS_APP_USER_PROFILE_50_DIR, true); -+ rc = properties.Set(buffer, profileDir.getAddress()); - if (rc != XPCOM.NS_OK) error(rc); -- if (result[0] == 0) error(XPCOM.NS_NOINTERFACE); -- -- final int /*long*/ dirServiceProvider = result[0]; -+ properties.Release(); -+ - result[0] = 0; -- rc = XPCOM_PROFILE.ProfileDirServiceProvider_Register(dirServiceProvider); -- if (rc != XPCOM.NS_OK) error(rc); -- rc = XPCOM_PROFILE.ProfileDirServiceProvider_SetProfileDir(dirServiceProvider, profileDir.getAddress()); -- if (rc != XPCOM.NS_OK) error(rc); -- -- getDisplay().addListener(SWT.Dispose, new Listener() { -- public void handleEvent(Event e) { -- XPCOM_PROFILE.ProfileDirServiceProvider_Shutdown(dirServiceProvider); -- } -- }); - } - - /* -@@ -1354,27 +1408,6 @@ - tip = null; - - BrowserCount--; -- /* -- * This code is intentionally commented. It is not possible to reinitialize -- * Mozilla once it has been terminated. NS_InitEmbedding always fails after -- * NS_TermEmbedding has been called. The workaround is to call NS_InitEmbedding -- * once and never call NS_TermEmbedding. -- */ --// if (BrowserCount == 0) { --// if (AppShell != null) { --// // Shutdown the appshell service. --// rc = AppShell.Spindown(); --// if (rc != XPCOM.NS_OK) error(rc); --// AppShell.Release(); --// AppShell = null; --// } --// WindowCreator.Release(); --// WindowCreator = null; --// PromptService.Release(); --// PromptService = null; --// XPCOM.NS_TermEmbedding(); --// mozilla = false; --// } - } - - void Activate() { -Index: Eclipse_SWT_Mozilla/common/org/eclipse/swt/internal/mozilla/XPCOM.java -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse_SWT_Mozilla/common/org/eclipse/swt/internal/mozilla/XPCOM.java,v -retrieving revision 1.48.2.1 -diff -u -r1.48.2.1 XPCOM.java ---- Eclipse_SWT_Mozilla/common/org/eclipse/swt/internal/mozilla/XPCOM.java 26 Jul 2006 16:33:23 -0000 1.48.2.1 -+++ Eclipse_SWT_Mozilla/common/org/eclipse/swt/internal/mozilla/XPCOM.java 29 Sep 2006 13:21:49 -0000 -@@ -89,6 +89,7 @@ - public static final int NS_ERROR_HTMLPARSER_UNRESOLVEDDTD = 0x804e03f3; - public static final int NS_ERROR_FILE_NOT_FOUND = 0x80520012; - public static final String NS_APP_APPLICATION_REGISTRY_DIR = "AppRegD"; //$NON-NLS-1$ -+ public static final String NS_APP_USER_PROFILE_50_DIR = "ProfD"; //$NON-NLS-1$ - - public static final native void memmove(nsID dest, int /*long*/ src, int nbytes); - public static final native void memmove(int /*long*/ dest, nsID src, int nbytes); -@@ -103,7 +104,6 @@ - public static final native void memmove(byte[] dest, char[] src, int nbytes); - public static final native int NS_GetComponentManager(int /*long*/[] result); - public static final native int NS_GetServiceManager(int /*long*/[] result); --public static final native int NS_InitEmbedding(int /*long*/ aMozBinDirectory, int /*long*/ aAppFileLocProvider); -+public static final native int NS_InitXPCOM3(int /*long*/ result, int /*long*/ binDirectory, int /*long*/ appFileLocationProvider, int /*long*/ staticComponents, int componentCount); - public static final native int NS_NewLocalFile(int /*long*/ path, boolean followLinks, int /*long*/[] result); --public static final native int NS_TermEmbedding(); - public static final native int strlen_PRUnichar(int /*long*/ s); diff --git a/eclipse-swttools.patch b/eclipse-swttools.patch index 60997f1..e0ffb0c 100644 --- a/eclipse-swttools.patch +++ b/eclipse-swttools.patch @@ -1,37 +1,14 @@ -Index: build.xml -=================================================================== -RCS file: /home/eclipse/org.eclipse.swt.gtk.linux.x86_64/build.xml,v -retrieving revision 1.3 -diff -u -r1.3 build.xml ---- build.xml 18 Apr 2005 20:27:37 -0000 1.3 -+++ build.xml 26 Apr 2005 19:13:30 -0000 -@@ -21,7 +21,6 @@ - - - -- - - - -@@ -200,8 +199,11 @@ +--- build.xml.orig 2007-02-22 10:14:59.000000000 -0500 ++++ build.xml 2007-03-01 10:38:05.000000000 -0500 +@@ -228,6 +228,11 @@ -+ ++ ++ ++ + + -- -+ - - - -@@ -304,6 +306,8 @@ - - - -+ -+ - - - + + diff --git a/eclipse-tomcat55-build.patch b/eclipse-tomcat55-build.patch index d049aa5..b7faa2c 100644 --- a/eclipse-tomcat55-build.patch +++ b/eclipse-tomcat55-build.patch @@ -1,53 +1,53 @@ --- build.xml.orig 2006-07-05 12:47:26.000000000 -0400 +++ build.xml 2006-07-05 12:50:49.000000000 -0400 @@ -144,50 +144,56 @@ - - - + + + - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- - -- +- + + + diff --git a/eclipse-tomcat55.patch b/eclipse-tomcat55.patch index 25bff35..4d6fa32 100644 --- a/eclipse-tomcat55.patch +++ b/eclipse-tomcat55.patch @@ -860,5 +860,5 @@ diff -u -r1.21 MANIFEST.MF + org.apache.tomcat.util.threads;x-internal:=true, + org.eclipse.tomcat.internal;x-internal:=true, + org.eclipse.tomcat.internal;x-internal:=true, - org.eclipse.tomcat.internal.extensions;x-internal:=true + org.eclipse.tomcat.internal.extensions Bundle-RequiredExecutionEnvironment: J2SE-1.4 diff --git a/eclipse-usebuiltlauncher.patch b/eclipse-usebuiltlauncher.patch deleted file mode 100644 index aa8945d..0000000 --- a/eclipse-usebuiltlauncher.patch +++ /dev/null @@ -1,158 +0,0 @@ ---- features/org.eclipse.platform/build.xml.orig 2006-06-01 15:45:39.000000000 -0400 -+++ features/org.eclipse.platform/build.xml 2006-06-01 15:45:08.000000000 -0400 -@@ -394,6 +394,11 @@ - - - -+ -+ -+ -+ -+ - - - -@@ -402,6 +407,8 @@ - - - -+ -+ - - - -@@ -412,6 +419,8 @@ - - - -+ -+ - - - -@@ -429,6 +438,8 @@ - - - -+ -+ - - - -@@ -440,6 +451,8 @@ - - - -+ -+ - - - -@@ -451,6 +464,8 @@ - - - -+ -+ - - - -@@ -463,6 +478,8 @@ - - - -+ -+ - - - -@@ -474,6 +491,8 @@ - - - -+ -+ - - - -@@ -487,6 +506,8 @@ - - - -+ -+ - - - -@@ -498,6 +519,8 @@ - - - -+ -+ - - - -@@ -508,6 +531,8 @@ - - - -+ -+ - - - -@@ -518,6 +543,8 @@ - - - -+ -+ - - - -@@ -528,6 +555,8 @@ - - - -+ -+ - - - -@@ -538,6 +567,8 @@ - - - -+ -+ - - - -@@ -548,6 +579,8 @@ - - - -+ -+ - - - -@@ -558,6 +591,8 @@ - - - -+ -+ - - - -@@ -568,6 +603,8 @@ - - - -+ -+ - - - diff --git a/eclipse-workaround-plugin.xml-parsing-bug-gcc-bz29853.patch b/eclipse-workaround-plugin.xml-parsing-bug-gcc-bz29853.patch deleted file mode 100644 index 75c5379..0000000 --- a/eclipse-workaround-plugin.xml-parsing-bug-gcc-bz29853.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: src/org/eclipse/pde/internal/core/plugin/PluginHandler.java -=================================================================== -RCS file: /cvsroot/eclipse/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/plugin/PluginHandler.java,v -retrieving revision 1.6 -diff -u -r1.6 PluginHandler.java ---- src/org/eclipse/pde/internal/core/plugin/PluginHandler.java 3 Apr 2006 19:48:18 -0000 1.6 -+++ src/org/eclipse/pde/internal/core/plugin/PluginHandler.java 17 Nov 2006 22:18:53 -0000 -@@ -52,11 +52,13 @@ - } - } - -+ boolean setLineAttr = false; - Element element = fDocument.createElement(qName); - for (int i = 0; i < attributes.getLength(); i++) { - element.setAttribute(attributes.getQName(i), attributes.getValue(i)); -- if ("extension".equals(qName) || "extension-point".equals(qName)) { //$NON-NLS-1$ //$NON-NLS-2$ -+ if (("extension".equals(qName) || "extension-point".equals(qName)) && !setLineAttr) { //$NON-NLS-1$ //$NON-NLS-2$ - element.setAttribute("line", Integer.toString(fLocator.getLineNumber())); //$NON-NLS-1$ -+ setLineAttr = true; - } - } - diff --git a/eclipse.spec b/eclipse.spec index 43ca5a1..40a67fe 100644 --- a/eclipse.spec +++ b/eclipse.spec @@ -2,10 +2,11 @@ Epoch: 1 %define gcj_support 1 %define tomcatsharedir %{_datadir}/tomcat5 +%define tomcatlibdir %{_var}/lib/tomcat5 %define eclipse_major 3 -%define eclipse_minor 2 +%define eclipse_minor 3 %define eclipse_majmin %{eclipse_major}.%{eclipse_minor} -%define eclipse_micro 2 +%define eclipse_micro 0 %define libname libswt3 # All arches line up between Eclipse and Linux kernel names except i386 -> x86 @@ -18,16 +19,16 @@ Epoch: 1 Summary: An open, extensible IDE Name: eclipse Version: %{eclipse_majmin}.%{eclipse_micro} -Release: 14%{?dist} +Release: 0.1.RC1%{?dist} License: Eclipse Public License Group: Text Editors/Integrated Development Environments (IDE) URL: http://www.eclipse.org/ -Source0: http://download.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/eclipse-sourceBuild-srcIncluded-3.2.2.zip +Source0: http://download.eclipse.org/eclipse/downloads/drops/S-3.3RC1-200705171700/eclipse-sourceBuild-srcIncluded-3.3RC1.zip Source2: %{name}.desktop # The icu4j bits will be moved out into their own package for Fedora 7. See: # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199504 Source7: ftp://ftp.software.ibm.com/software/globalization/icu/icu4j/3.4.5/icu4jsrc_3_4_5.jar -Source11: %{name}-fedora-splash-3.2.2.png +Source11: %{name}-fedora-splash-3.2.1.png Source16: %{name}-copy-platform.sh Source17: efj.sh.in Source18: ecj.sh.in @@ -38,26 +39,25 @@ Source19: %{name}-filenamepatterns.txt # tar cjf eclipse-fileinitializerapp.tar.bz2 equinox-incubator/ # (generated 2006-11-01 18:48 UTC) Source20: %{name}-fileinitializerapp.tar.bz2 +Source21: org.eclipse.equinox.initializer_1.0.0.jar -# Build liblocalfile and libupdate JNI libs in the main SDK build.xml -Patch0: %{name}-build.patch # We need this because icu4j's Eclipse bits are dependent upon Eclipse # but we don't want the icu4j RPM needing Eclipse to build Patch1: %{name}-icu4j-build-files.patch # These two patches need to go upstream -Patch2: %{name}-libupdatebuild.patch Patch3: %{name}-libupdatebuild2.patch # Build swttools.jar # https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364 Patch4: %{name}-swttools.patch -# This needs to go upstream -Patch11: %{name}-usebuiltlauncher.patch # This does two things: # 1. allows the launcher to be in /usr/bin and # 2. ensures that the OSGi configuration directory # (which contains the JNI .sos) is in %{_libdir} # We should investigate whether or not this can go upstream Patch12: %{name}-launcher-set-install-dir-and-shared-config.patch +# Don't attempt to link to Sun's javadocs +# FIXME: could use sed instead +Patch13: %{name}-javadoclinks.patch # Always generate debug info when building RPMs (Andrew Haley) # This needs to be investigated for getEnv changes Patch14: %{name}-ecj-rpmdebuginfo.patch @@ -66,43 +66,13 @@ Patch14: %{name}-ecj-rpmdebuginfo.patch # https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html # This needs to be submitted upstream Patch15: %{name}-pde.build-add-package-build.patch +# FIXME: Should we ship tomcat plugins with 3.3? # This tomcat stuff will change when they move to the equinox jetty provider # https://bugs.eclipse.org/bugs/show_bug.cgi?id=98371 Patch6: %{name}-tomcat55.patch Patch7: %{name}-tomcat55-build.patch -Patch8: %{name}-webapp-tomcat55.patch -# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90630 -Patch5: %{name}-updatehomedir.patch -# https://bugs.eclipse.org/bugs/show_bug.cgi?id=161996 -Patch9: %{name}-ecj-square-bracket-classpath.patch # Use ecj for gcj Patch17: %{name}-ecj-gcj.patch -# Build against firefox: -# - fix swt profile include path -# - don't compile the mozilla 1.7 / firefox profile library -- build it inline -# - don't use symbols not in our firefox builds -# https://bugs.eclipse.org/bugs/show_bug.cgi?id=161310 -# FIXME: these can probably go away >= 3.3M4 -# Note: I made this patch from within Eclipse and then did the following to -# it due to spaces in the paths: -# sed --in-place "s/Eclipse\ SWT\ Mozilla/Eclipse_SWT_Mozilla/g" eclipse-swt-firefox.patch -# sed --in-place "s/Eclipse\ SWT\ PI/Eclipse_SWT_PI/g" eclipse-swt-firefox.patch -Patch18: %{name}-swt-firefox.patch -Patch19: %{name}-swt-firefox.2.patch -# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=209393 -# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29853 -Patch20: %{name}-workaround-plugin.xml-parsing-bug-gcc-bz29853.patch -# This is already upstream in 3.3 builds. It *may* get into 3.2.2. -Patch21: customBuildCallbacks.xml-add-pre.gather.bin.parts.patch -# Add ppc64 to the list of arches with gre64.conf -# part of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=207016 -Patch22: %{name}-ppc64gre64.patch -# This patch allowed us to remove -# /usr/share/eclipse/configuration/org.eclipse.update/platform.xml -- which -# fixed a number of update-related bugs -- in an FC6 update. -# We can remove this patch for Fedora 8. -Patch23: %{name}-launcher-addplatformtotildeeclipse.patch -Patch24: %{name}-add-ppc64-sparc64-s390-s390x.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ant @@ -191,7 +161,7 @@ Summary: Eclipse Rich Client Platform Group: Development/Languages Requires: %{libname}-gtk2 = %{epoch}:%{version}-%{release} # This file-level requirement is for the bi-arch multilib case -Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.2.2.v3236.jar +Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.3.0.v3320b.jar Requires(post): %{libname}-gtk2 = %{epoch}:%{version}-%{release} Requires(postun): %{libname}-gtk2 = %{epoch}:%{version}-%{release} %if %{gcj_support} @@ -224,7 +194,7 @@ Requires(postun): java-gcj-compat >= 1.0.64 %endif Requires: %{name}-rcp = %{epoch}:%{version}-%{release} # This file-level requirement is for the bi-arch multilib case -Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.2.2.v3236.jar +Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.3.0.v3320b.jar Requires(post): %{name}-rcp = %{epoch}:%{version}-%{release} Requires(postun): %{name}-rcp = %{epoch}:%{version}-%{release} # Need to investigate why we don't build ant-apache-bsf or ant-commons-net in @@ -369,16 +339,13 @@ to create Eclipse applications. %prep %setup -q -c -%patch0 -p0 sed --in-place "s/java5.home/java.home/" build.xml -%patch2 -p0 %patch3 -p0 # FIXME: investigate why we are pushd'ing here # Build swttools.jar pushd plugins/org.eclipse.swt.gtk.linux.x86_64 %patch4 -p0 popd -%patch5 -p0 # tomcat patches pushd plugins/org.eclipse.tomcat @@ -390,52 +357,29 @@ sed --in-place "s/4.1.130/5.5.23/g" \ plugins/org.eclipse.tomcat/build.xml \ plugins/org.eclipse.tomcat/META-INF/MANIFEST.MF \ assemble.*.xml -pushd plugins/org.eclipse.help.webapp -%patch8 -p0 -popd pushd plugins/org.eclipse.jdt.core -%patch9 -p0 %patch17 -p0 popd -%patch11 -p0 -# Because the launcher source is zipped up, we need to unzip, patch, and re-pack -# FIXME: figure out why we need to patch and sed twice and fix upstream -mkdir launchertmp -unzip -qq -d launchertmp plugins/org.eclipse.platform/launchersrc.zip -pushd launchertmp +# launcher patches +rm plugins/org.eclipse.platform/launchersrc.zip +pushd features/org.eclipse.equinox.executable %patch12 -p0 -%patch22 -p0 -%patch23 -p0 # put the configuration directory in an arch-specific location sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c # make the eclipse binary relocatable sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c -zip -q -9 -r ../launchersrc.zip * +zip -q -9 -r ../../plugins/org.eclipse.platform/launchersrc.zip library popd -mv launchersrc.zip plugins/org.eclipse.platform -rm -rf launchertmp -pushd features/org.eclipse.platform.launchers -%patch12 -p0 -%patch22 -p0 -%patch23 -p0 -# put the configuration directory in an arch-specific location -sed --in-place "s:/usr/lib/eclipse:%{_libdir}/%{name}:" library/eclipse.c -# make the eclipse binary relocatable -sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c -popd - -# use our system-installed javadocs -sed --in-place "s|http://java.sun.com/j2se/1.4.2/docs/api|%{_datadir}/javadocs/java|" \ - plugins/org.eclipse.platform.doc.isv/platformOptions.txt -sed --in-place "s|http://java.sun.com/j2se/1.5/docs/api|%{_datadir}/javadocs/java|" \ - plugins/org.eclipse.jdt.doc.isv/jdtaptOptions.txt \ - plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt -sed --in-place "s|http://java.sun.com/j2se/1.4/docs/api|%{_datadir}/javadocs/java|" \ - plugins/org.eclipse.pde.doc.user/pdeOptions.txt \ - plugins/org.eclipse.pde.doc.user/pdeOptions +# Link against our system-installed javadocs +%patch13 -p0 +sed --in-place "s:/usr/share/:%{_datadir}/:g" \ + plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt \ + plugins/org.eclipse.pde.doc.user/pdeOptions.txt \ + plugins/org.eclipse.pde.doc.user/pdeOptions \ + plugins/org.eclipse.platform.doc.isv/platformOptions.txt %patch14 -p0 pushd plugins/org.eclipse.pde.build @@ -443,38 +387,8 @@ pushd plugins/org.eclipse.pde.build sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" templates/package-build/build.properties popd -# Build against our firefox packages -pushd plugins/org.eclipse.swt -mv "Eclipse SWT Mozilla" Eclipse_SWT_Mozilla -mv "Eclipse SWT PI" Eclipse_SWT_PI -%patch18 -mv Eclipse_SWT_Mozilla "Eclipse SWT Mozilla" -mv Eclipse_SWT_PI "Eclipse SWT PI" -popd -pushd plugins/org.eclipse.swt.tools -mv "JNI Generation" JNI_Generation -%patch19 -mv JNI_Generation "JNI Generation" -popd - -# workaround for GNU XML bug when parsing plugin.xml -# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29853 -pushd plugins/org.eclipse.pde.core -%patch20 -popd - -# customcallbacks fixes. They are upstream already. -pushd plugins/org.eclipse.platform.doc.isv -%patch21 -p0 -popd -pushd plugins/org.eclipse.platform.doc.user -%patch21 -p0 -popd - # Splashscreen -pushd plugins/org.eclipse.platform -cp %{SOURCE11} splash.bmp -popd +cp %{SOURCE11} plugins/org.eclipse.platform/splash.bmp # FIXME this should be patched upstream with a flag to turn on and off # all output should be directed to stdout @@ -487,102 +401,59 @@ find -name \*.so | xargs rm # Symlinks ## BEGIN ANT ## -rm plugins/org.apache.ant/lib/ant-antlr.jar -rm plugins/org.apache.ant/lib/ant-antlrsrc.zip -rm plugins/org.apache.ant/lib/ant-apache-bcel.jar -rm plugins/org.apache.ant/lib/ant-apache-bcelsrc.zip -#rm plugins/org.apache.ant/lib/ant-apache-bsf.jar -#rm plugins/org.apache.ant/lib/ant-apache-bsfsrc.zip -rm plugins/org.apache.ant/lib/ant-apache-log4j.jar -rm plugins/org.apache.ant/lib/ant-apache-log4jsrc.zip -rm plugins/org.apache.ant/lib/ant-apache-oro.jar -rm plugins/org.apache.ant/lib/ant-apache-orosrc.zip -rm plugins/org.apache.ant/lib/ant-apache-regexp.jar -rm plugins/org.apache.ant/lib/ant-apache-regexpsrc.zip -rm plugins/org.apache.ant/lib/ant-apache-resolver.jar -rm plugins/org.apache.ant/lib/ant-apache-resolversrc.zip -rm plugins/org.apache.ant/lib/ant-commons-logging.jar -rm plugins/org.apache.ant/lib/ant-commons-loggingsrc.zip -rm plugins/org.apache.ant/lib/ant-commons-net.jar -rm plugins/org.apache.ant/lib/ant-commons-netsrc.zip -rm plugins/org.apache.ant/lib/ant-icontract.jar -rm plugins/org.apache.ant/lib/ant-icontractsrc.zip -rm plugins/org.apache.ant/lib/ant-jai.jar -rm plugins/org.apache.ant/lib/ant-jaisrc.zip -rm plugins/org.apache.ant/lib/ant.jar -rm plugins/org.apache.ant/lib/antsrc.zip -rm plugins/org.apache.ant/lib/ant-javamail.jar -rm plugins/org.apache.ant/lib/ant-javamailsrc.zip -rm plugins/org.apache.ant/lib/ant-jdepend.jar -rm plugins/org.apache.ant/lib/ant-jdependsrc.zip -rm plugins/org.apache.ant/lib/ant-jmf.jar -rm plugins/org.apache.ant/lib/ant-jmfsrc.zip -rm plugins/org.apache.ant/lib/ant-jsch.jar -rm plugins/org.apache.ant/lib/ant-jschsrc.zip -rm plugins/org.apache.ant/lib/ant-junit.jar -rm plugins/org.apache.ant/lib/ant-junitsrc.zip -rm plugins/org.apache.ant/lib/ant-launcher.jar -rm plugins/org.apache.ant/lib/ant-launchersrc.zip -rm plugins/org.apache.ant/lib/ant-netrexx.jar -rm plugins/org.apache.ant/lib/ant-netrexxsrc.zip -rm plugins/org.apache.ant/lib/ant-nodeps.jar -rm plugins/org.apache.ant/lib/ant-nodepssrc.zip -rm plugins/org.apache.ant/lib/ant-starteam.jar -rm plugins/org.apache.ant/lib/ant-starteamsrc.zip -rm plugins/org.apache.ant/lib/ant-stylebook.jar -rm plugins/org.apache.ant/lib/ant-stylebooksrc.zip -rm plugins/org.apache.ant/lib/ant-swing.jar -rm plugins/org.apache.ant/lib/ant-swingsrc.zip -rm plugins/org.apache.ant/lib/ant-trax.jar -rm plugins/org.apache.ant/lib/ant-traxsrc.zip -rm plugins/org.apache.ant/lib/ant-vaj.jar -rm plugins/org.apache.ant/lib/ant-vajsrc.zip -rm plugins/org.apache.ant/lib/ant-weblogic.jar -rm plugins/org.apache.ant/lib/ant-weblogicsrc.zip -rm plugins/org.apache.ant/lib/ant-xalan1.jar -rm plugins/org.apache.ant/lib/ant-xalan1src.zip -rm plugins/org.apache.ant/lib/ant-xslp.jar -rm plugins/org.apache.ant/lib/ant-xslpsrc.zip +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-antlr.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-bcel.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-bsf.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-log4j.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-oro.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-regexp.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-resolver.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-commons-logging.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-commons-net.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jai.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-javamail.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jdepend.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jmf.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jsch.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-junit.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-launcher.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-netrexx.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-nodeps.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-starteam.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-stylebook.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-swing.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-trax.jar +rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-weblogic.jar # FIXME: use build-jar-repository -ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant/lib/ant-antlr.jar -ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant/lib/ant-apache-bcel.jar -#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant/lib/ant-apache-bsf.jar -ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant/lib/ant-apache-log4j.jar -ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant/lib/ant-apache-oro.jar -ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant/lib/ant-apache-regexp.jar -ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant/lib/ant-apache-resolver.jar -ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant/lib/ant-commons-logging.jar +ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-antlr.jar +ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-bcel.jar +#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-bsf.jar +ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-log4j.jar +ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-oro.jar +ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-regexp.jar +ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-resolver.jar +ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-commons-logging.jar # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642 # the symlinks that are commented-out are not currently shipped on Fedora -#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant/lib/ant-commons-net.jar -#ln -s %{_javadir}/ant/ant-icontract.jar plugins/org.apache.ant/lib/ant-icontract.jar -#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant/lib/ant-jai.jar -ln -s %{_javadir}/ant.jar plugins/org.apache.ant/lib/ant.jar -ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant/lib/ant-javamail.jar -ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant/lib/ant-jdepend.jar -#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant/lib/ant-jmf.jar -ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant/lib/ant-jsch.jar -ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant/lib/ant-junit.jar -ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant/lib/ant-launcher.jar -#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant/lib/ant-netrexx.jar -ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant/lib/ant-nodeps.jar -#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant/lib/ant-starteam.jar -#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant/lib/ant-stylebook.jar -ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant/lib/ant-swing.jar -ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant/lib/ant-trax.jar -#ln -s %{_javadir}/ant/ant-vaj.jar plugins/org.apache.ant/lib/ant-vaj.jar -#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant/lib/ant-weblogic.jar -#ln -s %{_javadir}/ant/ant-xalan1.jar plugins/org.apache.ant/lib/ant-xalan1.jar -#ln -s %{_javadir}/ant/ant-xslp.jar plugins/org.apache.ant/lib/ant-xslp.jar +#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-commons-net.jar +#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jai.jar +ln -s %{_javadir}/ant.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant.jar +ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-javamail.jar +ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jdepend.jar +#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jmf.jar +ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jsch.jar +ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-junit.jar +ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-launcher.jar +#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-netrexx.jar +ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-nodeps.jar +#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-starteam.jar +#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-stylebook.jar +ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-swing.jar +ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-trax.jar +#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-weblogic.jar ## END ANT ## -# BEGIN LUCENE ## -rm plugins/org.apache.lucene/lucene-1.4.3.jar -rm plugins/org.apache.lucene/lucene-1.4.3-src.zip -ln -s %{_usr}/src/lucene/lucene-1.4.3.jar plugins/org.apache.lucene/lucene-1.4.3-src.zip -ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene/lucene-1.4.3.jar -# END LUCENE ## - ## BEGIN TOMCAT ## rm plugins/org.eclipse.tomcat/commons-beanutils.jar rm plugins/org.eclipse.tomcat/commons-collections.jar @@ -638,7 +509,7 @@ build-jar-repository -s -p plugins/org.eclipse.tomcat/lib regexp build-jar-repository -s -p plugins/org.eclipse.tomcat/lib servletapi5 ## END TOMCAT ## -build-jar-repository -s -p plugins/org.junit junit +build-jar-repository -s -p plugins/org.junit_3.8.2.v200701261102 junit pushd plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library # /usr/lib -> /usr/lib64 @@ -646,7 +517,6 @@ sed --in-place "s:/usr/lib/:%{_libdir}/:g" build.sh sed --in-place "s:-L\$(AWT_LIB_PATH):-L%{_jvmdir}/java/jre/lib/%{_arch}:" make_linux.mak popd - # FIXME: figure out what's going on with build.index. find plugins -type f -name \*.xml -exec sed --in-place "s/\(\)/<\!-- \1 -->/" "{}" \; @@ -661,39 +531,24 @@ sed --in-place "s/$swt_frag_ver_ia64/$swt_frag_ver/g" plugins/org.eclipse.swt.gt assemble.org.eclipse.sdk.linux.gtk.ia64.xml \ features/org.eclipse.rcp/build.xml -## Nasty hack to get suppport for ppc64, s390{,x} and sparc{,64} -%patch24 -p0 -# there is only partial support for ppc64 in 3.2 so we have to remove this -# partial support to get the replacemnt hack to work -find -name \*ppc64\* | xargs rm -r -# remove ppc64 support from features/org.eclipse.platform.source/feature.xml -# replace ppc64 with a fake arch (ppc128) so we don't have duplicate ant targets -find -type f -name \*.xml -exec sed --in-place "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" "{}" \; -# remove org.eclipse.platform.source.linux.gtk.ppc64,3.2.0.v20060602-0010-gszCh-8eOaU1uKq -sed --in-place "s/,.\{38\}ppc64.*macosx/,org.eclipse.platform.source.macosx/g" features/org.eclipse.platform.source/build.xml -# replace final occurances with an existing arch -sed --in-place "s/ppc64/x86_64/g" features/org.eclipse.platform.source/build.xml -# Move all of the ia64 directories to ppc64 or s390{,x} or sparc{,64} dirs and replace -# the ia64 strings with ppc64 or s390(x) -%ifarch ppc64 s390 s390x sparc sparc64 - for f in $(find -name \*ia64\* | grep -v motif | grep -v ia64_32); do - mv $f $(echo $f | sed "s/ia64/%{_arch}/") - done - find -type f ! -name \*.java -a ! -name feature.xml -exec sed --in-place "s/ia64_32/@eye-eh-64_32@/g" "{}" \; - find -type f ! -name \*.java -a ! -name feature.xml -exec sed --in-place "s/ia64/%{_arch}/g" "{}" \; - find -type f ! -name \*.java -a ! -name feature.xml -exec sed --in-place "s/@eye-eh-64_32@/ia64_32/g" "{}" \; -%endif +# remove jdt.compiler.tool as it requires a JVM that supports Java 1.6 +sed --in-place "s/org.eclipse.jdt.compiler.tool:0.0.0,1.0.0.v_763,//" features/org.eclipse.jdt/build.xml +linenum=$(grep -no jdt.compiler.tool features/org.eclipse.jdt/build.xml | cut -d : -f 1) +sed --in-place -e "$linenum,$(expr $linenum + 4)d" features/org.eclipse.jdt/build.xml +linenum=$(grep -no jdt.compiler.tool features/org.eclipse.jdt/feature.xml | cut -d : -f 1) +sed --in-place -e "$(expr $linenum - 1),$(expr $linenum + 5)d" features/org.eclipse.jdt/feature.xml +linenum=$(grep -no "dir=\"plugins/org.eclipse.jdt.compiler.tool" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml | cut -d : -f 1) +sed --in-place -e "$linenum,$(expr $linenum + 2)d" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml +linenum=$(grep -no "value=\"org.eclipse.jdt.compiler.tool" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml | cut -d : -f 1) +sed --in-place -e "$(expr $linenum - 2),$(expr $linenum + 1)d" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml # link to the jsch jar -rm baseLocation/plugins/com.jcraft.jsch_0.1.28.jar -ln -s %{_javadir}/jsch.jar baseLocation/plugins/com.jcraft.jsch_0.1.28.jar +rm plugins/com.jcraft.jsch_0.1.28.jar +ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_0.1.28.jar # set the icu4j plugins for building -pushd baseLocation/plugins -rm com.ibm.icu.base_3.4.5.20061213.jar \ - com.ibm.icu_3.4.5.20061213.jar \ - com.ibm.icu.base.source_3.4.5.20061213/src/com.ibm.icu.base_3.4.5.20061213/src.zip \ - com.ibm.icu.source_3.4.5.20061213/src/com.ibm.icu_3.4.5.20061213/src.zip +pushd plugins +rm com.ibm.icu_3.6.1.v20070417.jar mkdir -p icu4j-build-temp pushd icu4j-build-temp @@ -704,7 +559,6 @@ popd mkdir -p icu4j-build mv icu4j-build-temp/eclipseProjects/com.ibm.icu icu4j-build -mv icu4j-build-temp/eclipseProjects/com.ibm.icu.base icu4j-build rm -r icu4j-build-temp # add build.xml patches @@ -719,8 +573,6 @@ popd rm plugins/org.eclipse.swt.win32.win32.x86/swt.jar \ plugins/org.eclipse.swt/extra_jars/exceptions.jar \ plugins/org.eclipse.swt.tools/swttools.jar \ - features/org.eclipse.platform.launchers/bin/startup.jar \ - plugins/org.eclipse.team.cvs.ssh2/com.jcraft.jsch_*.jar # make sure there are no jars left JARS="" @@ -740,85 +592,31 @@ tar jxf %{SOURCE20} ORIGCLASSPATH=$CLASSPATH # Finish the icu4j build -pushd baseLocation/plugins - -# Build the icu.base plugin -zipfile=$PWD/com.ibm.icu.base.source_3.4.5.20061213/src/com.ibm.icu.base_3.4.5.20061213/src.zip -pushd icu4j-build/com.ibm.icu.base/src -find -name \*.java | xargs touch --date=1/1/1980 -zip -X -9 -r $zipfile . -i \*.java -popd -pushd icu4j-build/com.ibm.icu.base +pushd plugins/icu4j-build/com.ibm.icu ant build.update.jar +mv com.ibm.icu_3.4.5.jar ../../com.ibm.icu_3.6.1.v20070417.jar popd -mv icu4j-build/com.ibm.icu.base/com.ibm.icu.base_3.4.5.jar com.ibm.icu.base_3.4.5.20061213.jar -# Build the icu plugin -zipfile=$PWD/com.ibm.icu.source_3.4.5.20061213/src/com.ibm.icu_3.4.5.20061213/src.zip -pushd icu4j-build/com.ibm.icu/src -find -name \*.java | xargs touch --date=1/1/1980 -zip -X -9 -r $zipfile . -i \*.java -popd -pushd icu4j-build/com.ibm.icu -ant build.update.jar -popd -mv icu4j-build/com.ibm.icu/com.ibm.icu_3.4.5.jar com.ibm.icu_3.4.5.20061213.jar - -popd - -# Bootstrapping is 3 parts: -# 1. Build ecj with gcj -C -- only necessary until gcjx/ecj lands in gcc -# 2. Build ecj with gcj-built ecj ("javac") -# 3. Re-build ecj with output of 2. - -%if %{gcj_support} - # Unzip the "stable compiler" source into a temp dir and build it. - # Note: we don't want to build the CompilerAdapter. - mkdir ecj-bootstrap-tmp - unzip -qq -d ecj-bootstrap-tmp jdtcoresrc/src/ecj.zip - rm -f ecj-bootstrap-tmp/org/eclipse/jdt/core/JDTCompilerAdapter.java - - # 1a. Build ecj with gcj -C - pushd ecj-bootstrap-tmp - for f in `find -name '*.java' | cut -c 3- | LC_ALL=C sort`; do - gcj -Wno-deprecated -C $f - done - find -name '*.class' -or -name '*.properties' -or -name '*.rsc' |\ - xargs jar cf ../ecj-bootstrap.jar - popd - - # Delete our modified ecj and restore the backup - rm -rf ecj-bootstrap-tmp - - # 1b. Natively-compile it - gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \ - -o ecj-bootstrap.jar.so ecj-bootstrap.jar +# Bootstrapping: +# 1. Build ecj with gcj-built ecj ("javac") +# 2. Re-build ecj with output of 1. - gcj-dbtool -n ecj-bootstrap.db 30000 - gcj-dbtool -a ecj-bootstrap.db ecj-bootstrap.jar{,.so} - - # 2a. Build ecj - export CLASSPATH=ecj-bootstrap.jar:$ORIGCLASSPATH - export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj-bootstrap.db" -%endif +# 1a. compile ecj with javac ant -buildfile jdtcoresrc/compilejdtcorewithjavac.xml %if %{gcj_support} - # 2b. Natively-compile ecj + # 1b. Natively-compile ecj gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \ -o jdtcoresrc/ecj.jar.so jdtcoresrc/ecj.jar gcj-dbtool -n jdtcoresrc/ecj.db 30000 gcj-dbtool -a jdtcoresrc/ecj.db jdtcoresrc/ecj.jar{,.so} - # Remove our gcj-built ecj - rm ecj-bootstrap.db ecj-bootstrap.jar{,.so} - - # To enSURE we're not using any pre-compiled ecj on the build system, set this + # To ensure we're not using any pre-compiled ecj on the build system, set this export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/jdtcoresrc/ecj.db" %endif -# 3. Use this ecj to rebuild itself +# 2. Use this ecj to rebuild itself export CLASSPATH=`pwd`/jdtcoresrc/ecj.jar:$ORIGCLASSPATH ant -buildfile jdtcoresrc/compilejdtcore.xml @@ -842,38 +640,38 @@ ant \ -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \ -Dlibsconfig=true -DjavacSource=1.5 -DjavacTarget=1.5 -# Build the FileInitializer application -SDK=$(cd eclipse && pwd) -PDEPLUGINVERSION=$(ls $SDK/plugins | grep pde.build | sed 's/org.eclipse.pde.build_//') -pushd equinox-incubator -mkdir -p build -mkdir -p home -homedir=$(cd home && pwd) - -# This can go away when package build handles plugins (not just features) -echo "" > build/assemble.org.eclipse.equinox.initializer.all.xml -echo "" > build/package.org.eclipse.equinox.initializer.all.xml - -java -cp $SDK/startup.jar \ - org.eclipse.core.launcher.Main \ - -Duser.home=$homedir \ - -application org.eclipse.ant.core.antRunner \ - -Dtype=plugin \ - -Did=org.eclipse.equinox.initializer \ - -DsourceDirectory=$(pwd) \ - -DbaseLocation=$SDK \ - -Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build \ - -f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml - -pushd build/plugins/org.eclipse.equinox.initializer -java -cp $SDK/startup.jar \ - org.eclipse.core.launcher.Main \ - -Duser.home=$homedir \ - -application org.eclipse.ant.core.antRunner \ - -f build.xml build.update.jar -popd - -popd +## Build the FileInitializer application +#SDK=$(cd eclipse && pwd) +#PDEPLUGINVERSION=$(ls $SDK/plugins | grep pde.build | sed 's/org.eclipse.pde.build_//') +#pushd equinox-incubator +#mkdir -p build +#mkdir -p home +#homedir=$(cd home && pwd) +# +## This can go away when package build handles plugins (not just features) +#echo "" > build/assemble.org.eclipse.equinox.initializer.all.xml +#echo "" > build/package.org.eclipse.equinox.initializer.all.xml +# +#java -cp $SDK/startup.jar \ +# org.eclipse.core.launcher.Main \ +# -Duser.home=$homedir \ +# -application org.eclipse.ant.core.antRunner \ +# -Dtype=plugin \ +# -Did=org.eclipse.equinox.initializer \ +# -DsourceDirectory=$(pwd) \ +# -DbaseLocation=$SDK \ +# -Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build \ +# -f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml +# +#pushd build/plugins/org.eclipse.equinox.initializer +#java -cp $SDK/startup.jar \ +# org.eclipse.core.launcher.Main \ +# -Duser.home=$homedir \ +# -application org.eclipse.ant.core.antRunner \ +# -f build.xml build.update.jar +#popd +# +#popd %install rm -rf $RPM_BUILD_ROOT @@ -893,10 +691,12 @@ install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/features # Explode the resulting SDK tarball tar -C $RPM_BUILD_ROOT%{_datadir} -zxf result/linux-gtk-%{eclipse_arch}-sdk.tar.gz -# The FileInitializer app isn't part of the SDK (yet?) but we want it to be -# around for other RPMs -cp equinox-incubator/org.eclipse.equinox.initializer/org.eclipse.equinox.initializer_*.jar \ - $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins +## The FileInitializer app isn't part of the SDK (yet?) but we want it to be +## around for other RPMs +#cp equinox-incubator/org.eclipse.equinox.initializer/org.eclipse.equinox.initializer_*.jar \ +# $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins +# Hack for 3.3M4 +cp %{SOURCE21} $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins # Set up an extension location and a link file for the arch-specific dir echo "path:$RPM_BUILD_ROOT%{_libdir}" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments.link @@ -925,8 +725,8 @@ mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.update.core.linux_$UPD $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins # FIXME: icu4j generates res_index.txt differently on different arches - possible libgcj bug. -mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/com.ibm.icu_3.4.5.20061213.jar $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins -mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/com.ibm.icu.source_3.4.5.20061213 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins +mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/com.ibm.icu_3.6.0.20061215.jar $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins +mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/com.ibm.icu.source_3.6.0.20061215 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins # FIXME: there is a problem with gjdoc generating different HTML on different # architectures. @@ -986,6 +786,7 @@ echo "path:/usr/lib64" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments64.li mv $RPM_BUILD_ROOT%{_datadir}/%{name}/configuration $RPM_BUILD_ROOT%{_libdir}/%{name} rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.update rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.core.runtime +rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.app # Set config.ini for the platform; no benefit to having it be sdk sed --in-place "s/eclipse.product=org.eclipse.sdk.ide/eclipse.product=org.eclipse.platform.ide/" \ @@ -1225,80 +1026,80 @@ ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_0.1.28.jar # This is needed to make these package multilib compatible. # FIXME: this needs to be re-written as a separate program # warning: big hack! -mkdir -p ${RPM_BUILD_ROOT}/tmp -for zip in `find ${RPM_BUILD_ROOT}%{_datadir}/%{name} -type f -name \*.zip -o -type f -name \*.jar`; do - # unpack every zip, set the date of the files and directories and repack the zip - ZIPNAME=`basename $zip` - TMPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.tmpdir.XXXXXXXXXX` - ZIPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.zipdir.XXXXXXXXXX` - - pushd $TMPDIR - unzip -qq -o $zip - rm -f $zip - - # check if there are jars or zips inside the zip or jar - zipsinside=`find $TMPDIR -type f -name \*.zip -o -name \*.jar` - if [ -n "$zipsinside" ]; then - for zip2 in $zipsinside; do - # unpack every zip, set the date of the files and directories and repack the zip - ZIPNAME2=`basename $zip2` - TMPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.tmpdir.XXXXXXXXXX` - ZIPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.zipdir.XXXXXXXXXX` - - pushd $TMPDIR2 - unzip -qq -o $zip2 - rm -f $zip2 - - # create the directories first - for d in `find -type d | LC_ALL=C sort`; do - mkdir -p $ZIPDIR2/$d - done - # move the contents over to the a new directory in order and set the times. - for f in `find -type f | LC_ALL=C sort`; do - cp $f $ZIPDIR2/$f - touch --date="1970-01-01 UTC" $ZIPDIR2/$f - done - popd - - # Set the times of the directories. - touch --date="1970-01-01 UTC" `find $ZIPDIR2 -type d` - - # make the new zip - pushd $ZIPDIR2 - find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip2 -@ - popd - - # Cleanup. - rm -rf $TMPDIR2 - rm -rf $ZIPDIR2 - done - fi - - # now on to the original zip or jar. - # create the directories first - for d in `find -type d | LC_ALL=C sort`; do - mkdir -p $ZIPDIR/$d - done - # move the contents over to the a new directory in order and set the times. - for f in `find -type f | LC_ALL=C sort`; do - cp $f $ZIPDIR/$f - touch --date="1970-01-01 UTC" $ZIPDIR/$f - done - popd - - # Set the times of the directories. - touch --date="1970-01-01 UTC" `find $ZIPDIR -type d` - - # make the new zip - pushd $ZIPDIR - find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip -@ - popd - - # Cleanup. - rm -rf $TMPDIR - rm -rf $ZIPDIR -done -rm -rf ${RPM_BUILD_ROOT}/tmp +#mkdir -p ${RPM_BUILD_ROOT}/tmp +#for zip in `find ${RPM_BUILD_ROOT}%{_datadir}/%{name} -type f -name \*.zip -o -type f -name \*.jar`; do +# # unpack every zip, set the date of the files and directories and repack the zip +# ZIPNAME=`basename $zip` +# TMPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.tmpdir.XXXXXXXXXX` +# ZIPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.zipdir.XXXXXXXXXX` +# +# pushd $TMPDIR +# unzip -qq -o $zip +# rm -f $zip +# +# # check if there are jars or zips inside the zip or jar +# zipsinside=`find $TMPDIR -type f -name \*.zip -o -name \*.jar` +# if [ -n "$zipsinside" ]; then +# for zip2 in $zipsinside; do +# # unpack every zip, set the date of the files and directories and repack the zip +# ZIPNAME2=`basename $zip2` +# TMPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.tmpdir.XXXXXXXXXX` +# ZIPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.zipdir.XXXXXXXXXX` +# +# pushd $TMPDIR2 +# unzip -qq -o $zip2 +# rm -f $zip2 +# +# # create the directories first +# for d in `find -type d | LC_ALL=C sort`; do +# mkdir -p $ZIPDIR2/$d +# done +# # move the contents over to the a new directory in order and set the times. +# for f in `find -type f | LC_ALL=C sort`; do +# cp $f $ZIPDIR2/$f +# touch --date="1970-01-01 UTC" $ZIPDIR2/$f +# done +# popd +# +# # Set the times of the directories. +# touch --date="1970-01-01 UTC" `find $ZIPDIR2 -type d` +# +# # make the new zip +# pushd $ZIPDIR2 +# find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip2 -@ +# popd +# +# # Cleanup. +# rm -rf $TMPDIR2 +# rm -rf $ZIPDIR2 +# done +# fi +# +# # now on to the original zip or jar. +# # create the directories first +# for d in `find -type d | LC_ALL=C sort`; do +# mkdir -p $ZIPDIR/$d +# done +# # move the contents over to the a new directory in order and set the times. +# for f in `find -type f | LC_ALL=C sort`; do +# cp $f $ZIPDIR/$f +# touch --date="1970-01-01 UTC" $ZIPDIR/$f +# done +# popd +# +# # Set the times of the directories. +# touch --date="1970-01-01 UTC" `find $ZIPDIR -type d` +# +# # make the new zip +# pushd $ZIPDIR +# find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip -@ +# popd +# +# # Cleanup. +# rm -rf $TMPDIR +# rm -rf $ZIPDIR +#done +#rm -rf ${RPM_BUILD_ROOT}/tmp # remove this python script so that it is not aot compiled, thus avoiding a # multilib conflict @@ -1455,9 +1256,12 @@ fi %endif %{_datadir}/%{name}/readme %{_libdir}/%{name}/features/org.eclipse.rcp_* +%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_* +%{_datadir}/%{name}/plugins/org.eclipse.equinox.launcher_* %{_datadir}/%{name}/plugins/org.eclipse.update.configurator_* %{_datadir}/%{name}/plugins/org.eclipse.osgi_* %{_datadir}/%{name}/plugins/org.eclipse.equinox.registry_* +%{_datadir}/%{name}/plugins/org.eclipse.equinox.app_* %{_libdir}/%{name}/plugins/com.ibm.icu_* %{_datadir}/%{name}/plugins/org.eclipse.jface_* %{_datadir}/%{name}/plugins/org.eclipse.jface.databinding_* @@ -1473,12 +1277,16 @@ fi %{_datadir}/%{name}/plugins/org.eclipse.help_* %{_datadir}/%{name}/plugins/org.eclipse.core.contenttype_* %{_datadir}/%{name}/plugins/org.eclipse.rcp_* +%{_datadir}/%{name}/plugins/org.eclipse.core.databinding_* +%{_datadir}/%{name}/plugins/org.eclipse.core.databinding.beans_* %if %{gcj_support} %{_libdir}/gcj/%{name}/org.eclipse.update.configurator_* %ifnarch ia64 %{_libdir}/gcj/%{name}/org.eclipse.osgi_* %endif %{_libdir}/gcj/%{name}/org.eclipse.equinox.registry_* +%{_libdir}/gcj/%{name}/org.eclipse.equinox.launcher_* +%{_libdir}/gcj/%{name}/org.eclipse.equinox.app_* %{_libdir}/gcj/%{name}/com.ibm.icu_* %{_libdir}/gcj/%{name}/org.eclipse.jface_* %{_libdir}/gcj/%{name}/org.eclipse.jface.databinding_* @@ -1493,6 +1301,8 @@ fi %{_libdir}/gcj/%{name}/org.eclipse.equinox.common_* %{_libdir}/gcj/%{name}/org.eclipse.help_* %{_libdir}/gcj/%{name}/org.eclipse.core.contenttype_* +%{_libdir}/gcj/%{name}/org.eclipse.core.databinding_* +%{_libdir}/gcj/%{name}/org.eclipse.core.databinding.beans_* %{_libdir}/gcj/%{name}/startup.jar* %endif @@ -1511,7 +1321,12 @@ fi %{_datadir}/pixmaps/* %{_datadir}/icons/*/*/apps/* %{_datadir}/%{name}/features/org.eclipse.platform_* +%{_datadir}/%{name}/features/org.eclipse.cvs_* +%{_datadir}/%{name}/features/org.eclipse.cvs.source_* %{_datadir}/%{name}/plugins/org.eclipse.equinox.initializer_* +%{_datadir}/%{name}/plugins/org.eclipse.ui.ide.application_* +%{_datadir}/%{name}/plugins/org.eclipse.cvs_* +%{_datadir}/%{name}/plugins/org.eclipse.cvs.source_* %{_datadir}/%{name}/plugins/org.eclipse.ui.navigator.resources_* %{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ui_* %{_datadir}/%{name}/plugins/org.eclipse.ui.navigator_* @@ -1573,6 +1388,7 @@ fi %if %{gcj_support} %{_libdir}/gcj/%{name}/org.eclipse.equinox.initializer_* %{_libdir}/gcj/%{name}/org.eclipse.ui.navigator.resources_* +%{_libdir}/gcj/%{name}/org.eclipse.ui.ide.application_* %{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ui_* %{_libdir}/gcj/%{name}/org.eclipse.ui.navigator_* %{_libdir}/gcj/%{name}/org.eclipse.team.cvs.core_* @@ -1582,7 +1398,11 @@ fi %{_libdir}/gcj/%{name}/org.eclipse.core.resources_* %{_libdir}/gcj/%{name}/org.eclipse.jface.text_* %{_libdir}/gcj/%{name}/org.eclipse.ui.intro_* +%{_libdir}/gcj/%{name}/org.eclipse.cvs_* #%{_libdir}/gcj/%{name}/org.eclipse.ui.ide_* +%ifnarch ia64 +%{_libdir}/gcj/%{name}/com.jcraft.jsch_* +%endif %{_libdir}/gcj/%{name}/org.eclipse.ui.cheatsheets_* %{_libdir}/gcj/%{name}/org.eclipse.ant.core_* %{_libdir}/gcj/%{name}/org.eclipse.help.appserver_* @@ -1689,12 +1509,14 @@ fi %{_datadir}/%{name}/plugins/org.eclipse.pde.core_* %{_datadir}/%{name}/plugins/org.eclipse.pde.junit.runtime_* %{_datadir}/%{name}/plugins/org.eclipse.pde.ui_* +%{_datadir}/%{name}/plugins/org.eclipse.pde.ui.templates_* %{_datadir}/%{name}/buildscripts %if %{gcj_support} %{_libdir}/gcj/%{name}/org.eclipse.pde_* %{_libdir}/gcj/%{name}/org.eclipse.pde.core_* %{_libdir}/gcj/%{name}/org.eclipse.pde.junit.runtime_* %{_libdir}/gcj/%{name}/org.eclipse.pde.ui_* +%{_libdir}/gcj/%{name}/org.eclipse.pde.ui.templates_* %{_libdir}/gcj/%{name}/pdebuild.jar* %{_libdir}/gcj/%{name}/pdebuild-ant.jar* %endif @@ -1717,104 +1539,29 @@ fi %{_libdir}/%{name}/plugins/org.eclipse.sdk_* %changelog -* Thu May 17 2007 Ben Konrath 3.2.2-14 -- BR/R tomcat5 >= 5.5.23. -- Fix broken symlinks for tomcat5 5.5.23. - -* Tue May 15 2007 Ben Konrath 3.2.2-13 -- Another bug fix for launch-addplatformtotildeeclipse.patch. -- Add BR/B tomcat >= 5.5.20 instead of just = 5.5.20. -- Resolves: #240025. - -* Wed May 02 2007 Ben Konrath 3.2.2-12 -- Fix additional problem with launcher-addplatformtotildeeclipse.patch. -- Resolves: #238109. - -* Mon Apr 30 2007 Ben Konrath 3.2.2-11 -- Add workaround in launcher-addplatformtotildeeclipse.patch for problems - caused by bug #238109. -- Resolves: #238109. - -* Fri Apr 27 2007 Ben Konrath 3.2.2-10 -- Fix problem in launcher-addplatformtotildeeclipse.patch. -- Resolves: #238109. - -* Fri Apr 27 2007 Ben Konrath 3.2.2-9 -- Remove BR eclipse-pde. -- Related: #236895 - -* Wed Apr 11 2007 Ben Konrath 3.2.2-8 -- Link to system-installed jsch instead of including it. -- Fix links to system-installed javadocs. - -* Tue Mar 20 2007 Ben Konrath 3.2.2-7 -- Remove search and processing for mac encoded files. -- Remove BR dos2unix. - -* Mon Mar 19 2007 Thomas Fitzsimmons 3.2.2-6 -- Remove gjdoc build requirement. - -* Fri Mar 16 2007 Ben Konrath 3.2.2-5 -- Update package-build releng script to work with mylar. - -* Thu Mar 15 2007 Ben Konrath 3.2.2-4 -- Update to tomcat 5.5.20. - -* Fri Mar 02 2007 Ben Konrath 3.2.2-3 -- Uncomment 'this.generatePackagesStructure = true;' in ecj-gcj patch. - -* Mon Feb 26 2007 Ben Konrath 3.2.2-2 -- Add gcc messages to ecj-gcj patch. - -* Wed Feb 21 2007 Ben Konrath 3.2.2-1 -- 3.2.2. -- Remove patch that disables Java 5 code. -- Add -DjavacSource=1.5 -DjavacTarget=1.5 to ant compile line. - -* Wed Feb 07 2007 Ben Konrath 3.2.1-37 -- Move rcp feature to %%{_libdir} to avoid multilib conflict on ppc{,64}. - -* Tue Feb 06 2007 Ben Konrath 3.2.1-36 -- Rework ppc64, s390{x} and sparc{64} hack again to try to fix multilib - problem. - -* Thu Feb 01 2007 Ben Konrath 3.2.1-35 -- Use original name for the SWT JNI symlinks. -- Rework ppc64, s390{x} and sparc{64} hack to fix multilib problem. -- Update ecj [] patch to upstream version from 3.3. - -* Tue Jan 30 2007 Ben Konrath 3.2.1-34 -- Create symlinks to the SWT JNI libs in %%{_libdir}/eclipse with sane - versions. - -* Mon Jan 29 2007 Ben Konrath 3.2.1-33 -- Check for features directory in sdk postun script. -- Resolves: #224588. - -* Fri Jan 26 2007 Ben Konrath 3.2.1-32 -- Fix bug in ecj [] patch. - -* Tue Jan 16 2007 Ben Konrath 3.2.1-31 -- Add bugzilla reference to remove jars bug in comment. -- Update bugzilla refereces to [] bugs. - -* Fri Jan 12 2007 Ben Konrath 3.2.1-30 -- Fix %%postun problem in the sdk sub-package. - -* Thu Jan 11 2007 Ben Konrath 3.2.1-29 -- Remove SWT JNI symlinks from %%{libdir}. - -* Wed Jan 10 2007 Ben Konrath 3.2.1-28 -- Rpmlint cleanups. - -* Fri Jan 05 2007 Ben Konrath 3.2.1-27 -- Use /g in tomcat version replacement. -- Disable com.jcraft.jsch_0.1.28.jar and - org.eclipse.osgi_3.2.1.R32x_v20060919.jar on ia64. - -* Tue Dec 19 2006 Ben Konrath 3.2.1-26 -- Use sed instead of patch for tomcat version. -- Add BuildRequires desktop-file-utils. +* Wed May 23 2007 Ben Konrath 3.3.0-0.2.M5eh +- 3.3RC1. +- Pull in changes from F-7. + +* Mon Feb 26 2007 Ben Konrath 3.3.0-0.1.M5eh +- 3.3M5. +- Remove launcher-addplatformtotildeeclipse.patch as it's only needed + for FC-5 -> FC-6. +- Remove swt firefox patches as they are no longer needed. +- Remove ppc64, s390{,x} and sparc{,64} support. +- Remove use-built-launcher patch. +- Update set-launcher-and-configuration-dir patch. + +* Mon Jan 29 2007 Ben Konrath 3.3.0-0.3.M4 +- Enable updated ecj square brackets patch. + +* Fri Jan 12 2007 Ben Konrath 3.3.0-0.2.M4 +- Pull in fixes from rawhide. + +* Wed Dec 20 2006 Ben Konrath 3.3.0-0.1.M4 +- 3.3M4. +- Update patches for 3.3M4. +- Remove SWT JNI symlinks in %%{_libdir}. * Wed Dec 6 2006 Ben Konrath 3.2.1-25 - Add %%{_libdir}/eclipse dir to files list of libswt-gtk2. diff --git a/sources b/sources index eaa24a6..163378b 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ c3be75d8af3c31b7a1748247ab3fee95 icu4jsrc_3_4_5.jar +627db0c5033547a48370a5e45a89d2f1 eclipse-fedora-splash-3.2.1.png e1313563c7e36aa46e33789a1386b815 eclipse-fileinitializerapp.tar.bz2 -5d1b9f6a146ffc59191e513083a6ec86 eclipse-sourceBuild-srcIncluded-3.2.2.zip -d48b18e6e50ce7713242a3e0092fdbe9 eclipse-fedora-splash-3.2.2.png +a32db71d03d7e70e37ec1cc7ea199a34 eclipse-sourceBuild-srcIncluded-3.3RC1.zip