diff options
| author | Greg Lewis <glewis@FreeBSD.org> | 2009-06-06 20:58:22 +0000 |
|---|---|---|
| committer | Greg Lewis <glewis@FreeBSD.org> | 2009-06-06 20:58:22 +0000 |
| commit | 34968d47619d56d1b9e0a7cc7e60e592d90d3bee (patch) | |
| tree | b6a142055daf566f258d6bc7d92d4389ddbb470e /java/eclipse/scripts/pre-patch | |
| parent | Upgrade to 2000.15.3. (diff) | |
. Update to 3.4.2, including:
. We are now installing a real eclipse product.
. Only the jar files for the platform are built, dramatically reducing
the time necessary to build (thanks to the Fedora devs for the idea
and the basic procedure).
. Lot of small fixes to the build procedure to make future imports easier
. Some of the bundles are pre-extracted during install to improve
launching time.
. JDK 1.6 is required to build but any jre (1.5 or 1.6) can be used in
Preferences->Java->Installed JREs. JDK 1.4 is unfortunately not
supported at this time.
. Switch to x86_64 architecture name instead of amd64 to be more in-line
with mainline eclipse.
Note that after this update you will need to reinstall any plugins you've
installed with the built in Update Manager. This is a one time thing.
Submitted by: sepotvin@ (maintainer)
Notes
Notes:
svn path=/head/; revision=235331
Diffstat (limited to 'java/eclipse/scripts/pre-patch')
| -rw-r--r-- | java/eclipse/scripts/pre-patch | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/java/eclipse/scripts/pre-patch b/java/eclipse/scripts/pre-patch index 33f4afa73bec..d983bd845159 100644 --- a/java/eclipse/scripts/pre-patch +++ b/java/eclipse/scripts/pre-patch @@ -5,7 +5,7 @@ copy_file() { srcfile="$1" dstfile="$2" - + case $distfile in *.zip) #We may not want to push all files through sed echo "zip file" @@ -13,7 +13,7 @@ copy_file() ;; *) rm -f $dstfile - cat "$srcfile" | sed 's/linux/freebsd/g; s/Linux/FreeBSD/g; s/x86_64/amd64/g' > "$dstfile" + cat "$srcfile" | sed 's/linux/freebsd/g; s/Linux/FreeBSD/g' > "$dstfile" ;; esac } @@ -31,9 +31,10 @@ copy_dir() find "$dstdir" -name \*.so -delete find "$dstdir" -name \*.so.\* -delete find "$dstdir" -type f -print0 | \ - xargs -0 sed -i '.bak' 's/linux/freebsd/g; s/Linux/FreeBSD/g; s/x86_64/amd64/g' - find "$dstdir" -name \*.bak -delete - fi + xargs -0 sed -i '.bak' 's/linux/freebsd/g; s/Linux/FreeBSD/g' + find "$dstdir" -name \*.bak -delete + find -d "$dstdir" -type d -name "linux" -exec rm -rf {} \; + fi } prepare_files() @@ -43,7 +44,7 @@ prepare_files() # Copy the files and rename/change them appropriately for src in $COPY_LIST do - dst=`echo $src | sed 's/linux/freebsd/g; s/Linux/FreeBSD/g; s/x86_64/amd64/g'` + dst=`echo $src | sed 's/linux/freebsd/g; s/Linux/FreeBSD/g'` echo Copying $src into $dst if [ -d ${WRKSRC}/$src ] then @@ -55,14 +56,20 @@ prepare_files() # Files with spaces in their path... src="${SWTGTK}/make_linux.mak" - dst=`echo $src | sed 's/linux/freebsd/g; s/Linux/FreeBSD/g; s/x86_64/amd64/g'` + dst=`echo $src | sed 's/linux/freebsd/g; s/Linux/FreeBSD/g'` echo Copying $src into $dst copy_file "${WRKSRC}/$src" "${WRKSRC}/$dst" + # New x86_64 fragment + src="plugins/org.eclipse.core.net.freebsd.x86" + dst="plugins/org.eclipse.core.net.freebsd.x86_64" + echo Copying $src into $dst + copy_dir "${WRKSRC}/$src" "${WRKSRC}/$dst" + find ${WRKSRC} -name \*.so -delete find ${WRKSRC} -name \*.so.\* -delete } -#features/org.eclipse.platform.launchers/library/gtk/make_linux.mak + COPY_LIST=" assemble.org.eclipse.sdk.linux.gtk.x86.xml assemble.org.eclipse.sdk.linux.gtk.x86_64.xml @@ -104,4 +111,6 @@ plugins/org.eclipse.update.core.linux.source SWTGTK="plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" prepare_files + + exit 0 |
