rpms/eclipse/devel .cvsignore, 1.27, 1.28 eclipse-build.patch, 1.5, 1.6 eclipse-launcher-set-install-dir-and-shared-config.patch, 1.1, 1.2 eclipse-pde.build-add-package-build.patch, 1.3, 1.4 eclipse-swttools.patch, 1.3, 1.4 eclipse-tomcat55-build.patch, 1.13, 1.14 eclipse-tomcat55.patch, 1.9, 1.10 eclipse.spec, 1.428, 1.429 sources, 1.40, 1.41 customBuildCallbacks.xml-add-pre.gather.bin.parts.patch, 1.1, NONE eclipse-ecj-square-bracket-classpath.patch, 1.4, NONE eclipse-launcher-addplatformtotildeeclipse.patch, 1.5, NONE eclipse-ppc64gre64.patch, 1.1, NONE eclipse-swt-firefox.2.patch, 1.1, NONE eclipse-swt-firefox.patch, 1.8, NONE eclipse-usebuiltlauncher.patch, 1.4, NONE eclipse-workaround-plugin.xml-parsing-bug-gcc-bz29853.patch, 1.1, NONE
Ben Konrath (bkonrath)
fedora-extras-commits at redhat.com
Thu May 24 05:52:19 UTC 2007
Author: bkonrath
Update of /cvs/pkgs/rpms/eclipse/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27516
Modified Files:
.cvsignore eclipse-build.patch
eclipse-launcher-set-install-dir-and-shared-config.patch
eclipse-pde.build-add-package-build.patch
eclipse-swttools.patch eclipse-tomcat55-build.patch
eclipse-tomcat55.patch eclipse.spec sources
Removed Files:
customBuildCallbacks.xml-add-pre.gather.bin.parts.patch
eclipse-ecj-square-bracket-classpath.patch
eclipse-launcher-addplatformtotildeeclipse.patch
eclipse-ppc64gre64.patch eclipse-swt-firefox.2.patch
eclipse-swt-firefox.patch eclipse-usebuiltlauncher.patch
eclipse-workaround-plugin.xml-parsing-bug-gcc-bz29853.patch
Log Message:
* Wed May 23 2007 Ben Konrath <bkonrath at redhat.com> 3.3.0-0.2.M5eh
- 3.3RC1.
- Pull in changes from F-7.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/.cvsignore,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- .cvsignore 21 Feb 2007 18:52:38 -0000 1.27
+++ .cvsignore 24 May 2007 05:51:41 -0000 1.28
@@ -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
eclipse-build.patch:
Index: eclipse-build.patch
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse-build.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- eclipse-build.patch 21 Feb 2007 18:52:38 -0000 1.5
+++ eclipse-build.patch 24 May 2007 05:51:41 -0000 1.6
@@ -5,20 +5,17 @@
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 @@
<arg line="build.sh" />
</exec>
<move file="${launcherlibs}/library/${installWs}/eclipse" todir="${launcherlibs}/" />
+
-+ <delete dir="${launcherlibs}/library"/>
-+
-+ <!-- Build JNI libs -->
-+ <!-- liblocalfile -->
++ <!-- build liblocalfile -->
+ <exec dir="plugins/org.eclipse.core.filesystem/natives/unix/linux" executable="make" failonerror="true"/>
+ <move file="plugins/org.eclipse.core.filesystem/natives/unix/linux/liblocalfile_1_0_0.so"
+ todir="plugins/org.eclipse.core.filesystem.linux.${installArch}/os/linux/${installArch}">
-+ </move>
-+ <!-- and libupdate -->
++ </move>
++ <!-- build libupdate -->
+ <ant dir="plugins/org.eclipse.update.core.linux/src" antfile="build.xml" />
+
</target>
eclipse-launcher-set-install-dir-and-shared-config.patch:
Index: eclipse-launcher-set-install-dir-and-shared-config.patch
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse-launcher-set-install-dir-and-shared-config.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- eclipse-launcher-set-install-dir-and-shared-config.patch 29 Oct 2006 17:29:22 -0000 1.1
+++ eclipse-launcher-set-install-dir-and-shared-config.patch 24 May 2007 05:51:41 -0000 1.2
@@ -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 @@
-
- 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 \
eclipse-pde.build-add-package-build.patch:
Index: eclipse-pde.build-add-package-build.patch
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse-pde.build-add-package-build.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- eclipse-pde.build-add-package-build.patch 16 Mar 2007 18:41:07 -0000 1.3
+++ eclipse-pde.build-add-package-build.patch 24 May 2007 05:51:41 -0000 1.4
@@ -193,9 +193,42 @@
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 <path to source dir> <path to build dir>"
+ exit 1
@@ -224,50 +257,23 @@
+ </target>
+</project>" > $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
++make_links feature features $FEATURES
+
-+ echo " making symlink: $BUILDDIR/plugins/$PROJECTNAME -> $dir"
-+ ln -sf $dir $BUILDDIR/plugins/$PROJECTNAME
++# make the symlinks for plugins
++make_links plugin plugins $PLUGINS
+
-+done
++# make the symlinks for fragments - they go in the plugins directory as well
++make_links fragment plugins $FRAGMENTS
+
+rm -rf $BUILDDIR/tmp
+echo done
eclipse-swttools.patch:
Index: eclipse-swttools.patch
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse-swttools.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- eclipse-swttools.patch 2 Jun 2006 21:46:07 -0000 1.3
+++ eclipse-swttools.patch 24 May 2007 05:51:41 -0000 1.4
@@ -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 @@
-
- <target name="properties" if="eclipse.running">
- <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
-- <!--compile the jar in org.eclipse.swt.tools-->
- </target>
-
- <target name="build.update.jar" depends="init">
-@@ -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 @@
</target>
<target name="build.cfiles" depends="build.jars">
-+ <!--compile the jar in org.eclipse.swt.tools-->
++ <!-- delete swttools.jar so that it will be compiled in the build.jars target -->
++ <ant antfile="build.xml" dir="${toolsplugindir}" inheritAll="false" target="clean"/>
++ <!--compile swtools.jar in org.eclipse.swt.tools-->
+ <ant antfile="build.xml" dir="${toolsplugindir}" inheritAll="false" target="build.jars" />
+
<!-- generate the C code from the (64 bit) SWT PI java classes -->
-- <!-- assumes the swt.jar has already been built -->
-+ <!-- assumes the swttools.jar has already been built -->
- <java classname="org.eclipse.swt.tools.internal.JNIGeneratorApp" classpath="${toolsplugindir}/bin:${toolsplugindir}/swttools.jar:${basedir}/swt.jar"><arg value="org.eclipse.swt.internal.gtk.OS"/><arg value="${basedir}/src/Eclipse SWT PI/gtk/library/"/><arg value="${build.result.folder}/swt.jar"/></java>
- <java classname="org.eclipse.swt.tools.internal.JNIGeneratorApp" classpath="${toolsplugindir}/bin:${toolsplugindir}/swttools.jar:${basedir}/swt.jar"><arg value="org.eclipse.swt.internal.accessibility.gtk.ATK"/><arg value="${basedir}/src/Eclipse SWT PI/gtk/library/"/><arg value="${build.result.folder}/swt.jar"/></java>
- <java classname="org.eclipse.swt.tools.internal.JNIGeneratorApp" classpath="${toolsplugindir}/bin:${toolsplugindir}/swttools.jar:${basedir}/swt.jar"><arg value="org.eclipse.swt.internal.cairo.Cairo"/><arg value="${basedir}/src/Eclipse SWT PI/cairo/library/"/><arg value="${build.result.folder}/swt.jar"/></java>
-@@ -304,6 +306,8 @@
- <delete file="${plugin.destination}/${full.name}.jar"/>
- <delete file="${plugin.destination}/${full.name}.zip"/>
- <delete dir="${temp.folder}"/>
-+ <!-- delete swttools.jar so that it will be compiled in the build.jars target -->
-+ <ant antfile="build.xml" dir="${toolsplugindir}" inheritAll="false" target="clean"/>
- </target>
-
- <target name="refresh" depends="init" if="eclipse.running">
+ <!-- assumes the swt.jar has already been built -->
+ <java classname="org.eclipse.swt.tools.internal.JNIGeneratorApp" classpath="${toolsplugindir}/bin:${toolsplugindir}/swttools.jar:${basedir}/swt.jar"><arg value="org.eclipse.swt.internal.C"/><arg value="${basedir}/src/Eclipse SWT PI/common/library/"/><arg value="${build.result.folder}/swt.jar"/></java>
eclipse-tomcat55-build.patch:
Index: eclipse-tomcat55-build.patch
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse-tomcat55-build.patch,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- eclipse-tomcat55-build.patch 19 Dec 2006 21:57:24 -0000 1.13
+++ eclipse-tomcat55-build.patch 24 May 2007 05:51:41 -0000 1.14
@@ -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 @@
- <pathelement path="${build.result.folder}/../org.apache.ant/lib/ant-xalan1.jar"/>
- <pathelement path="../org.apache.ant/lib/ant-xslp.jar"/>
- <pathelement path="${build.result.folder}/../org.apache.ant/lib/ant-xslp.jar"/>
+ <pathelement path="${build.result.folder}/../org.eclipse.osgi.services/@dot"/>
+ <pathelement path="${build.result.folder}/../org.eclipse.osgi.services_3.1.100.v20060918/@dot"/>
+ <pathelement path="../javax.servlet_2.4.0.v200704241052.jar"/>
- <pathelement path="catalina.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/catalina.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/catalina.jar"/>
- <pathelement path="bootstrap.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/bootstrap.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/bootstrap.jar"/>
- <pathelement path="commons-beanutils.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/commons-beanutils.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/commons-beanutils.jar"/>
- <pathelement path="commons-collections.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/commons-collections.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/commons-collections.jar"/>
- <pathelement path="commons-digester.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/commons-digester.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/commons-digester.jar"/>
- <pathelement path="commons-logging-api.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/commons-logging-api.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/commons-logging-api.jar"/>
- <pathelement path="commons-modeler.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/commons-modeler.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/commons-modeler.jar"/>
- <pathelement path="jakarta-regexp-1.3.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/jakarta-regexp-1.3.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/jakarta-regexp-1.3.jar"/>
- <pathelement path="jasper-compiler.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/jasper-compiler.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/jasper-compiler.jar"/>
- <pathelement path="jasper-runtime.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/jasper-runtime.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/jasper-runtime.jar"/>
- <pathelement path="mx4j-jmx.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/mx4j-jmx.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/mx4j-jmx.jar"/>
- <pathelement path="naming-common.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/naming-common.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/naming-common.jar"/>
- <pathelement path="naming-factory.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/naming-factory.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/naming-factory.jar"/>
- <pathelement path="naming-resources.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/naming-resources.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/naming-resources.jar"/>
- <pathelement path="servlet.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/servlet.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/servlet.jar"/>
- <pathelement path="servlets-common.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/servlets-common.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/servlets-common.jar"/>
- <pathelement path="servlets-default.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/servlets-default.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/servlets-default.jar"/>
- <pathelement path="servlets-invoker.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/servlets-invoker.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/servlets-invoker.jar"/>
- <pathelement path="servlets-manager.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/servlets-manager.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/servlets-manager.jar"/>
- <pathelement path="tomcat-coyote.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/tomcat-coyote.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/tomcat-coyote.jar"/>
- <pathelement path="tomcat-http11.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/tomcat-http11.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/tomcat-http11.jar"/>
- <pathelement path="tomcat-util.jar"/>
-- <pathelement path="${build.result.folder}/../org.eclipse.tomcat/tomcat-util.jar"/>
+- <pathelement path="${build.result.folder}/../org.eclipse.tomcat_4.1.130.v20070514/tomcat-util.jar"/>
+ <pathelement path="lib/catalina.jar"/>
+ <pathelement path="${build.result.folder}/../org.eclipse.tomcat/lib/catalina.jar"/>
+ <pathelement path="lib/catalina-optional.jar"/>
eclipse-tomcat55.patch:
Index: eclipse-tomcat55.patch
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse-tomcat55.patch,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- eclipse-tomcat55.patch 15 Mar 2007 15:46:10 -0000 1.9
+++ eclipse-tomcat55.patch 24 May 2007 05:51:41 -0000 1.10
@@ -860,5 +860,5 @@
+ 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
Index: eclipse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/eclipse.spec,v
retrieving revision 1.428
retrieving revision 1.429
diff -u -r1.428 -r1.429
--- eclipse.spec 17 May 2007 14:34:21 -0000 1.428
+++ eclipse.spec 24 May 2007 05:51:41 -0000 1.429
@@ -2,10 +2,11 @@
%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 @@
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 @@
# 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 @@
# 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 @@
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 @@
%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 @@
%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 @@
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 @@
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 @@
# 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 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:-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/\(<antcall target=\"build.index\".*\/>\)/<\!-- \1 -->/" "{}" \;
@@ -661,39 +531,24 @@
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 @@
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 @@
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 @@
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
-ant build.update.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
+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/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 @@
-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 "<project default=\"main\"><target name=\"main\"></target></project>" > build/assemble.org.eclipse.equinox.initializer.all.xml
-echo "<project default=\"main\"><target name=\"main\"></target></project>" > 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 "<project default=\"main\"><target name=\"main\"></target></project>" > build/assemble.org.eclipse.equinox.initializer.all.xml
+#echo "<project default=\"main\"><target name=\"main\"></target></project>" > 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 @@
# 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 @@
$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 @@
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 @@
# 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 @@
%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 @@
%{_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 @@
%{_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 @@
%{_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 @@
%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 @@
%{_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 @@
%{_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 @@
%{_libdir}/%{name}/plugins/org.eclipse.sdk_*
%changelog
-* Thu May 17 2007 Ben Konrath <bkonrath at redhat.com> 3.2.2-14
-- BR/R tomcat5 >= 5.5.23.
-- Fix broken symlinks for tomcat5 5.5.23.
-
-* Tue May 15 2007 Ben Konrath <bkonrath at redhat.com> 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 <bkonrath at redhat.com> 3.2.2-12
-- Fix additional problem with launcher-addplatformtotildeeclipse.patch.
-- Resolves: #238109.
-
-* Mon Apr 30 2007 Ben Konrath <bkonrath at redhat.com> 3.2.2-11
-- Add workaround in launcher-addplatformtotildeeclipse.patch for problems
- caused by bug #238109.
-- Resolves: #238109.
-
-* Fri Apr 27 2007 Ben Konrath <bkonrath at redhat.com> 3.2.2-10
-- Fix problem in launcher-addplatformtotildeeclipse.patch.
-- Resolves: #238109.
-
-* Fri Apr 27 2007 Ben Konrath <bkonrath at redhat.com> 3.2.2-9
-- Remove BR eclipse-pde.
-- Related: #236895
-
-* Wed Apr 11 2007 Ben Konrath <bkonrath at redhat.com> 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 <bkonrath at redhat.com> 3.2.2-7
-- Remove search and processing for mac encoded files.
-- Remove BR dos2unix.
-
-* Mon Mar 19 2007 Thomas Fitzsimmons <fitzsim at redhat.com> 3.2.2-6
-- Remove gjdoc build requirement.
-
-* Fri Mar 16 2007 Ben Konrath <bkonrath at redhat.com> 3.2.2-5
-- Update package-build releng script to work with mylar.
-
-* Thu Mar 15 2007 Ben Konrath <bkonrath at redhat.com> 3.2.2-4
-- Update to tomcat 5.5.20.
-
-* Fri Mar 02 2007 Ben Konrath <bkonrath at redhat.com> 3.2.2-3
-- Uncomment 'this.generatePackagesStructure = true;' in ecj-gcj patch.
-
-* Mon Feb 26 2007 Ben Konrath <bkonrath at redhat.com> 3.2.2-2
-- Add gcc messages to ecj-gcj patch.
-
-* Wed Feb 21 2007 Ben Konrath <bkonrath at redhat.com> 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 <bkonrath at redhat.com> 3.2.1-37
-- Move rcp feature to %%{_libdir} to avoid multilib conflict on ppc{,64}.
-
-* Tue Feb 06 2007 Ben Konrath <bkonrath at redhat.com> 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 <bkonrath at redhat.com> 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 <bkonrath at redhat.com> 3.2.1-34
-- Create symlinks to the SWT JNI libs in %%{_libdir}/eclipse with sane
- versions.
-
-* Mon Jan 29 2007 Ben Konrath <bkonrath at redhat.com> 3.2.1-33
-- Check for features directory in sdk postun script.
-- Resolves: #224588.
-
-* Fri Jan 26 2007 Ben Konrath <bkonrath at redhat.com> 3.2.1-32
-- Fix bug in ecj [] patch.
-
-* Tue Jan 16 2007 Ben Konrath <bkonrath at redhat.com> 3.2.1-31
-- Add bugzilla reference to remove jars bug in comment.
-- Update bugzilla refereces to [] bugs.
-
-* Fri Jan 12 2007 Ben Konrath <bkonrath at redhat.com> 3.2.1-30
-- Fix %%postun problem in the sdk sub-package.
-
-* Thu Jan 11 2007 Ben Konrath <bkonrath at redhat.com> 3.2.1-29
-- Remove SWT JNI symlinks from %%{libdir}.
-
-* Wed Jan 10 2007 Ben Konrath <bkonrath at redhat.com> 3.2.1-28
-- Rpmlint cleanups.
-
-* Fri Jan 05 2007 Ben Konrath <bkonrath at redhat.com> 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 <bkonrath at redhat.com> 3.2.1-26
-- Use sed instead of patch for tomcat version.
-- Add BuildRequires desktop-file-utils.
+* Wed May 23 2007 Ben Konrath <bkonrath at redhat.com> 3.3.0-0.2.M5eh
+- 3.3RC1.
+- Pull in changes from F-7.
+
+* Mon Feb 26 2007 Ben Konrath <bkonrath at redhat.com> 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 <bkonrath at redhat.com> 3.3.0-0.3.M4
+- Enable updated ecj square brackets patch.
+
+* Fri Jan 12 2007 Ben Konrath <bkonrath at redhat.com> 3.3.0-0.2.M4
+- Pull in fixes from rawhide.
+
+* Wed Dec 20 2006 Ben Konrath <bkonrath at redhat.com> 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 <bkonrath at redhat.com> 3.2.1-25
- Add %%{_libdir}/eclipse dir to files list of libswt-gtk2.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse/devel/sources,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- sources 21 Feb 2007 18:52:39 -0000 1.40
+++ sources 24 May 2007 05:51:41 -0000 1.41
@@ -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
--- customBuildCallbacks.xml-add-pre.gather.bin.parts.patch DELETED ---
--- eclipse-ecj-square-bracket-classpath.patch DELETED ---
--- eclipse-launcher-addplatformtotildeeclipse.patch DELETED ---
--- eclipse-ppc64gre64.patch DELETED ---
--- eclipse-swt-firefox.2.patch DELETED ---
--- eclipse-swt-firefox.patch DELETED ---
--- eclipse-usebuiltlauncher.patch DELETED ---
--- eclipse-workaround-plugin.xml-parsing-bug-gcc-bz29853.patch DELETED ---
More information about the fedora-extras-commits
mailing list