mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 18:50:33 -04:00
. Fix support for xulrunner as the WITH_GECKO option. [1] . Remove mozilla as a WITH_GECKO option. PR: 127353 [1] Submitted by: Stephane Potvin (maintainer)
75 lines
4.1 KiB
XML
75 lines
4.1 KiB
XML
--- build.xml.orig 2008-09-29 19:16:32.000000000 -0400
|
|
+++ build.xml 2008-09-29 19:19:37.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,compilelibs,compile,install" />
|
|
|
|
<!-- all features required to build eclipse sdk and javadoc -->
|
|
<target name="allElements">
|
|
@@ -41,6 +41,16 @@
|
|
<mkdir dir="${linux.gtk.s390x.rootfiles}" />
|
|
<copy tofile="${linux.gtk.s390x.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.s390x/about.html" />
|
|
|
|
+ <!--copy freebsd gtk x86 about_files to in temp location where it will be copied into root of eclipse at assembly time-->
|
|
+ <property name="freebsd.gtk.x86.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/freebsd.gtk.x86" />
|
|
+ <mkdir dir="${freebsd.gtk.x86.rootfiles}" />
|
|
+ <copy tofile="${freebsd.gtk.x86.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.freebsd.x86/about.html" />
|
|
+
|
|
+ <!--copy freebsd gtk amd64 about_files to in temp location where it will be copied into root of eclipse at assembly time-->
|
|
+ <property name="freebsd.gtk.amd64.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/freebsd.gtk.amd64" />
|
|
+ <mkdir dir="${freebsd.gtk.amd64.rootfiles}" />
|
|
+ <copy tofile="${freebsd.gtk.amd64.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.freebsd.amd64/about.html" />
|
|
+
|
|
<copy todir="${linux.gtk.x86_64.rootfiles}">
|
|
<fileset dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.x86_64" includes="
|
|
about_files/mpl-v11.txt" />
|
|
@@ -71,6 +81,25 @@
|
|
<record name="compilelog.txt" action="stop" />
|
|
</target>
|
|
|
|
+ <target name="compilelibs" depends="init,clean" if="libsconfig">
|
|
+ <echo message="Compiling SWT native libraries..."/>
|
|
+ <ant dir="${buildDirectory}/plugins/org.eclipse.swt.${installWs}.${installOs}.${installArch}" antfile="build.xml" target="build.jnilibs"/>
|
|
+
|
|
+ <echo message="Compiling native launcher..."/>
|
|
+ <property name="launcherlibs" value="${buildDirectory}/features/org.eclipse.equinox.executable" />
|
|
+ <exec dir="${launcherlibs}/library/${installWs}/" executable="sh" failonerror="true">
|
|
+ <arg line="build.sh install" />
|
|
+ </exec>
|
|
+
|
|
+ <echo message="Compiling liblocalfile..."/>
|
|
+ <exec dir="plugins/org.eclipse.core.filesystem/natives/unix/freebsd" executable="make" failonerror="true" />
|
|
+ <move file="plugins/org.eclipse.core.filesystem/natives/unix/freebsd/liblocalfile_1_0_0.so" todir="plugins/org.eclipse.core.filesystem.freebsd.${installArch}/os/freebsd/${installArch}">
|
|
+ </move>
|
|
+
|
|
+ <echo message="Compiling native update library..."/>
|
|
+ <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..." />
|
|
@@ -277,6 +306,8 @@
|
|
<equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-motif-x86" />
|
|
<equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-gtk-s390" />
|
|
<equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-gtk-s390x" />
|
|
+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="freebsd-gtk-x86" />
|
|
+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="freebsd-gtk-amd64" />
|
|
<equals arg1="${installOs}-${installWs}-${installArch}" arg2="solaris-gtk-x86" />
|
|
<equals arg1="${installOs}-${installWs}-${installArch}" arg2="hpux-motif-PA_RISC" />
|
|
</or>
|
|
@@ -284,7 +315,10 @@
|
|
|
|
<!--used to add doc plug-ins to result after initial assembly-->
|
|
<condition property="archive.format" value="tar">
|
|
- <equals arg1="${installOs}" arg2="linux" />
|
|
+ <or>
|
|
+ <equals arg1="${installOs}" arg2="linux" />
|
|
+ <equals arg1="${installOs}" arg2="freebsd" />
|
|
+ </or>
|
|
</condition>
|
|
<property name="archive.format" value="zip" />
|
|
</target>
|