View | Details | Raw Unified
Collapse All | Expand All

(-) eclipse.orig/build (-2 / +2 lines)
 Lines 56-64    Link Here 
then
then
        ORIGCLASSPATH=$CLASSPATH;export ORIGCLASSPATH
        ORIGCLASSPATH=$CLASSPATH;export ORIGCLASSPATH
        ant -q -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
        ant -q -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
        CLASSPATH=$PWD/jdtcoresrc/ecj.jar:$CLASSPATH;export CLASSPATH
        LOCALCLASSPATH=$PWD/jdtcoresrc/ecj.jar:$CLASSPATH;export LOCALCLASSPATH
        ant -q -buildfile jdtcoresrc/compilejdtcore.xml
        ant -q -buildfile jdtcoresrc/compilejdtcore.xml
        CLASSPATH=$PWD/ecj.jar:$ORIGCLASSPATH;export CLASSPATH
        LOCALCLASSPATH=$PWD/ecj.jar:$ORIGCLASSPATH;export LOCALCLASSPATH
		ant -q -buildfile build.xml $target -DinstallOs=$os -DinstallWs=$ws -DinstallArch=$arch $compilelibs $bootclasspath 
		ant -q -buildfile build.xml $target -DinstallOs=$os -DinstallWs=$ws -DinstallArch=$arch $compilelibs $bootclasspath 
else
else
	echo "The os-ws-arch combination of $os-$ws-$arch is not valid."
	echo "The os-ws-arch combination of $os-$ws-$arch is not valid."
(-) eclipse.orig/build.xml (-3 / +3 lines)
 Lines 53-59    Link Here 
		<exec dir="${swtlibs}/" executable="sh" failonerror="true">
		<exec dir="${swtlibs}/" executable="sh" failonerror="true">
			<arg line="build.sh"/>
			<arg line="build.sh"/>
		</exec>
		</exec>
		<property name="swtdir" value="${buildDirectory}/plugins/org.eclipse.swt.${installWs}.{installOs}.{installArch}"/>
		<property name="swtdir" value="${buildDirectory}/plugins/org.eclipse.swt.${installWs}.${installOs}.${installArch}"/>
		<mkdir dir="${swtdir}"/>
		<mkdir dir="${swtdir}"/>
		<move todir="${swtdir}/">
		<move todir="${swtdir}/">
			<fileset dir="${swtlibs}">
			<fileset dir="${swtlibs}">
 Lines 160-167    Link Here 
				</condition>
				</condition>
		</fail>
		</fail>
		<property name="compilerArg" value="-encoding ISO-8859-1" />
		<property name="compilerArg" value="-encoding ISO-8859-1" />
		<property name="javacSource" value="1.3" />
		<property name="javacSource" value="1.4" />
		<property name="javacTarget" value="1.2" />
		<property name="javacTarget" value="1.4" />
		<property name="javacDebugInfo" value="true" />
		<property name="javacDebugInfo" value="true" />
		<property name="javacFailOnError" value="true" />
		<property name="javacFailOnError" value="true" />
		
		
(-) eclipse.orig/plugins/org.eclipse.core.resources.linux/build.xml (-1 / +6 lines)
 Lines 57-66    Link Here 
	<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
	<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
		<mkdir dir="${destination.temp.folder}/org.eclipse.core.resources.linux_3.1.0"/>
		<mkdir dir="${destination.temp.folder}/org.eclipse.core.resources.linux_3.1.0"/>
          <exec dir="./src" executable="make">
          </exec>
	  <copy todir="os/linux/${basearch}" failonerror="true" overwrite="false">
        	<fileset dir="src" includes="*.so"/>
          </copy>
		<copy todir="${destination.temp.folder}/org.eclipse.core.resources.linux_3.1.0" failonerror="true" overwrite="false">
		<copy todir="${destination.temp.folder}/org.eclipse.core.resources.linux_3.1.0" failonerror="true" overwrite="false">
			<fileset dir="${basedir}" includes="os/,META-INF/,about.html"			/>
			<fileset dir="${basedir}" includes="os/,META-INF/,about.html"			/>
		</copy>
		</copy>
		<chmod perm="755" dir="${destination.temp.folder}/org.eclipse.core.resources.linux_3.1.0" includes="os/linux/x86/*.so" /> 
		<chmod perm="755" dir="${destination.temp.folder}/org.eclipse.core.resources.linux_3.1.0" includes="os/linux/${basearch}/*.so" /> 
	</target>
	</target>
	<target name="build.zips" depends="init">
	<target name="build.zips" depends="init">
(-) eclipse.orig/plugins/org.eclipse.core.resources.linux/src/Makefile (-2 / +2 lines)
 Lines 17-28    Link Here 
OS_TYPE = linux
OS_TYPE = linux
#Set this to be the location of your JRE
#Set this to be the location of your JRE
JAVA_HOME = ~/vm/sun142
#JAVA_HOME = ~/vm/sun142
JDK_INCLUDE = -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_TYPE}
JDK_INCLUDE = -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_TYPE}
core :
core :
	gcc -fPIC -g -c $(JDK_INCLUDE) -o $(CORE.O) $(CORE.C)
	gcc -O2 -fPIC -g -c $(JDK_INCLUDE) -o $(CORE.O) $(CORE.C)
	gcc -g -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
	gcc -g -shared -Wl,-soname,$(LIB_NAME) -o $(LIB_NAME_FULL) $(CORE.O) -lc
clean :
clean :
(-) eclipse.orig/plugins/org.eclipse.swt/Eclipse (-1 / +1 lines)
 Lines 128-131    Link Here 
export CC LD JAVA_HOME AWT_LIB_PATH XTEST_LIB_PATH GECKO_SDK GECKO_INCLUDES GECKO_LIBS SWT_PTR_CFLAGS CDE_HOME OUTPUT_DIR
export CC LD JAVA_HOME AWT_LIB_PATH XTEST_LIB_PATH GECKO_SDK GECKO_INCLUDES GECKO_LIBS SWT_PTR_CFLAGS CDE_HOME OUTPUT_DIR
make -f $makefile ${1} ${2} ${3} ${4}
make -f $makefile ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9}
(-) eclipse.orig/plugins/org.eclipse.swt.gtk.linux.x86_64/build.xml (-1 / +1 lines)
 Lines 38-44    Link Here 
		<property name="destdir" value="${temp.folder}/@dot.bin"/>
		<property name="destdir" value="${temp.folder}/@dot.bin"/>
		<delete dir="${temp.folder}/@dot.bin"/>
		<delete dir="${temp.folder}/@dot.bin"/>
		<mkdir dir="${temp.folder}/@dot.bin"/>
		<mkdir dir="${temp.folder}/@dot.bin"/>
		<javac destdir="${temp.folder}/@dot.bin" verbose="true" debug="on" failonerror="no" bootclasspath="${bootclasspath}" source="1.3" target="1.2">
		<javac destdir="${temp.folder}/@dot.bin" verbose="true" debug="on" failonerror="no" bootclasspath="${bootclasspath}" source="1.4" target="1.4">
			<src path="${basedir}/src/Eclipse SWT/cairo/"/>
			<src path="${basedir}/src/Eclipse SWT/cairo/"/>
			<src path="${basedir}/src/Eclipse SWT/common/"/>
			<src path="${basedir}/src/Eclipse SWT/common/"/>
			<src path="${basedir}/src/Eclipse SWT/common_j2se/"/>
			<src path="${basedir}/src/Eclipse SWT/common_j2se/"/>
(-) eclipse.orig/plugins/org.eclipse.update.core.linux/src/build.xml (-5 / +5 lines)
 Lines 5-11    Link Here 
  <!-- Set a meaningful default value for when it is not. -->
  <!-- Set a meaningful default value for when it is not. -->
  <property name="eclipse-home" value="${basedir}/../.."/>
  <property name="eclipse-home" value="${basedir}/../.."/>
  <property name="jdk-path" value="${java.home}"/>  
  <property name="jdk-path" value="${java.home}"/>  
  <property name="destination" value="${eclipse-home}/org.eclipse.update.core.linux/os/linux/x86/"/>
  <property name="destination" value="${eclipse-home}/org.eclipse.update.core.linux/os/linux/${arch}/"/>
  <property name="obj-path" value="${eclipse-home}/org.eclipse.update.core.linux/src/"/>
  <property name="obj-path" value="${eclipse-home}/org.eclipse.update.core.linux/src/"/>
  <property name="src-path" value="${eclipse-home}/org.eclipse.update.core.linux/src/"/>  
  <property name="src-path" value="${eclipse-home}/org.eclipse.update.core.linux/src/"/>  
  
  
 Lines 47-63    Link Here 
    <property name="header-path" value="${jdk-path}/../include"/>
    <property name="header-path" value="${jdk-path}/../include"/>
    <property name="header-linux-path" value="${header-path}/linux" />
    <property name="header-linux-path" value="${header-path}/linux" />
	<echo message="gcc -o  ${library-file} -shared -I${src-path} -I${header-linux-path} ${library-file} -static -lc"/>
	<echo message="gcc -o  ${library-file} -shared -fPIC -I${src-path} -I${header-linux-path} ${library-file} -lc"/>
    <apply executable="gcc" dest="${eclipse-home}/" parallel="false">
    <apply executable="gcc" dest="${eclipse-home}/" parallel="false">
      <arg value="-o"/>
      <arg value="-o"/>
      <arg value="${library-file}"/>
      <arg value="${library-file}"/>
      <arg value="-shared"/>
      <arg value="-shared"/>
      <arg value="-fPIC"/>
      <arg value="-I${src-path}"/>
      <arg value="-I${src-path}"/>
      <arg value="-I${header-path}"/>      
      <arg value="-I${header-path}"/>      
      <arg value="-I${header-linux-path}"/>  
      <arg value="-I${header-linux-path}"/>  
	  <srcfile/>
	  <srcfile/>
	  <arg value="-static"/>           
      <arg value="-lc"/>	  
      <arg value="-lc"/>	  
      <fileset dir="${src-path}" includes="*.c"/>
      <fileset dir="${src-path}" includes="*.c"/>
      <mapper type="glob" from="*.c" to="*.o"/>
      <mapper type="glob" from="*.c" to="*.o"/>
 Lines 67-70    Link Here 
  </target>
  </target>
  
  
  
  
</project>
</project>
 Lines 86-92    Link Here 
LIBS = -shared -fpic -s
LIBS = -shared -fpic -s
all: make_swt make_atk make_gnome make_awt
all: make_swt make_atk make_gnome make_awt make_cairo make_mozilla
#
#
# SWT libs
# SWT libs