rpms/eclipse/devel eclipse-compilelibs.patch,1.3,1.4

Andrew Overholt (overholt) fedora-extras-commits at redhat.com
Fri Jul 25 13:22:31 UTC 2008


Author: overholt

Update of /cvs/pkgs/rpms/eclipse/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11117

Added Files:
	eclipse-compilelibs.patch 
Log Message:
Re-add mistakenly-removed eclipse-compilelibs.patch

eclipse-compilelibs.patch:

Index: eclipse-compilelibs.patch
===================================================================
RCS file: eclipse-compilelibs.patch
diff -N eclipse-compilelibs.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ eclipse-compilelibs.patch	25 Jul 2008 13:22:00 -0000	1.4
@@ -0,0 +1,45 @@
+--- build.xml.compilelibs	2008-07-25 09:15:34.000000000 -0400
++++ build.xml	2008-07-25 09:15:40.000000000 -0400
+@@ -1,7 +1,7 @@
+ <project name="Eclipse SDK Source Build" default="run" basedir=".">
+ 
+ 	<!--  default target that runs complete build  -->
+-	<target name="run" depends="fetch,insertBuildId,compile,install" />
++	<target name="run" depends="fetch,insertBuildId,compile,compilelibs,install" />
+ 
+ 	<!--  all features required to build eclipse sdk and javadoc  -->
+ 	<target name="allElements">
+@@ -71,6 +71,33 @@
+ 		<record name="compilelog.txt" action="stop" />
+ 	</target>
+ 
++	<target name="compilelibs" depends="init,clean,compile" if="libsconfig">
++		<ant antfile="${buildDirectory}/plugins/org.eclipse.swt.${installWs}.${installOs}.${installArch}/build.xml" target="build.nativeLibraries" dir="${buildDirectory}/plugins/org.eclipse.swt.${installWs}.${installOs}.${installArch}" />
++	
++		<property name="launcherlibs" value="${buildDirectory}/features/org.eclipse.equinox.executable" />
++		<exec dir="${launcherlibs}/library/${installWs}/" executable="sh" failonerror="true">
++			<arg line="build.sh" />
++		</exec>
++		<copy file="${launcherlibs}/library/${installWs}/eclipse" todir="${buildDirectory}/eclipse/" />
++
++		<property name="launcherfragment" value="org.eclipse.equinox.launcher.${installWs}.${installOs}.${installArch}" />
++
++		<copy file="${launcherlibs}/library/${installWs}/eclipse" todir="features/org.eclipse.equinox.executable/contributed/${installWs}/${installOs}/${installArch}/" />
++		<copy todir="${buildDirectory}/plugins/${launcherfragment}">
++			<fileset dir="${launcherlibs}/library/${installWs}">
++				<include name="**/*.so" />
++			</fileset>
++		</copy>
++
++		<!-- build liblocalfile -->
++		<exec dir="plugins/org.eclipse.core.filesystem/natives/unix/${installOs}" executable="make" failonerror="true" />
++		<move file="plugins/org.eclipse.core.filesystem/natives/unix/${installOs}/liblocalfile_1_0_0.so" todir="plugins/org.eclipse.core.filesystem.${installOs}.${installArch}/os/${installOs}/${installArch}">
++		</move>
++		<!-- build libupdate -->
++		<ant dir="plugins/org.eclipse.update.core.${installOs}/src" antfile="build.xml" />
++
++	</target>
++
+ 	<!--create an installable eclipse runtime-->
+ 	<target name="install" depends="init">
+ 		<echo message="Assembling..." />




More information about the fedora-extras-commits mailing list