|
Lines 5-14
Link Here
|
| 5 |
inherit eutils java-utils |
5 |
inherit eutils java-utils |
| 6 |
|
6 |
|
| 7 |
# karltk: Portage 2.0.51_pre13 needs this |
7 |
# karltk: Portage 2.0.51_pre13 needs this |
| 8 |
MY_A="eclipse-sourceBuild-srcIncluded-3.1M6.zip" |
8 |
MY_A="eclipse-sourceBuild-srcIncluded-3.1M7.zip" |
| 9 |
DESCRIPTION="Eclipse Tools Platform" |
9 |
DESCRIPTION="Eclipse Tools Platform" |
| 10 |
HOMEPAGE="http://www.eclipse.org/" |
10 |
HOMEPAGE="http://www.eclipse.org/" |
| 11 |
SRC_URI="http://download.eclipse.org/downloads/drops/S-3.1M6-200504011645/${MY_A}" |
11 |
SRC_URI="ftp://download.eclipse.org/S-3.1M7-200505131415/${MY_A}" |
| 12 |
IUSE="gnome mozilla jikes gcj nosrc nodoc" |
12 |
IUSE="gnome mozilla jikes gcj nosrc nodoc" |
| 13 |
SLOT="3.1" |
13 |
SLOT="3.1" |
| 14 |
LICENSE="CPL-1.0" |
14 |
LICENSE="CPL-1.0" |
|
Lines 179-196
Link Here
|
| 179 |
} |
179 |
} |
| 180 |
|
180 |
|
| 181 |
function setup-dir-vars() { |
181 |
function setup-dir-vars() { |
| 182 |
launcher_src_dir="features/org.eclipse.launchers/library/gtk" |
182 |
launcher_src_dir="features/org.eclipse.platform.launchers/library/gtk" |
| 183 |
swt_src_dir="plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" |
183 |
swt_src_dir="plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" |
| 184 |
|
184 |
|
| 185 |
core_src_dir="plugins/org.eclipse.core.resources.linux/src" |
185 |
core_src_dir="plugins/org.eclipse.core.resources.linux/src" |
| 186 |
|
186 |
|
| 187 |
case ${ARCH} in |
187 |
case ${ARCH} in |
| 188 |
x86) |
188 |
x86) |
| 189 |
swt_dest_dir="plugins/org.eclipse.swt.gtk/os/linux/x86" |
189 |
swt_dest_dir="plugins/org.eclipse.swt.gtk.linux.x86" |
| 190 |
core_dest_dir="plugins/org.eclipse.core.resources.linux/os/linux/x86" |
190 |
core_dest_dir="plugins/org.eclipse.core.resources.linux/os/linux/x86" |
| 191 |
;; |
191 |
;; |
| 192 |
ppc) |
192 |
ppc) |
| 193 |
swt_dest_dir="plugins/org.eclipse.swt.gtk/os/linux/ppc" |
193 |
swt_dest_dir="plugins/org.eclipse.swt.gtk.linux.ppc" |
| 194 |
core_dest_dir="plugins/org.eclipse.core.resources.linux/os/linux/ppc/" |
194 |
core_dest_dir="plugins/org.eclipse.core.resources.linux/os/linux/ppc/" |
| 195 |
;; |
195 |
;; |
| 196 |
esac |
196 |
esac |
|
Lines 232-238
Link Here
|
| 232 |
local target=${1} |
232 |
local target=${1} |
| 233 |
|
233 |
|
| 234 |
einfo "Building GTK+ frontend (${target}) -- see compilelog.txt for details" |
234 |
einfo "Building GTK+ frontend (${target}) -- see compilelog.txt for details" |
| 235 |
LOCALCLASSPATH=jdtcore.jar ant -q -q \ |
235 |
LOCALCLASSPATH=jdtcore.jar:ecj.jar ant -q -q \ |
| 236 |
-buildfile build.xml \ |
236 |
-buildfile build.xml \ |
| 237 |
-DcollPlace="eclipse-${SLOT}" \ |
237 |
-DcollPlace="eclipse-${SLOT}" \ |
| 238 |
-DinstallOs=linux \ |
238 |
-DinstallOs=linux \ |
|
Lines 281-289
Link Here
|
| 281 |
|
281 |
|
| 282 |
[ ${ARCH} == 'amd64' ] && swt_ptr_cflags=-DSWT_PTR_SIZE_64 |
282 |
[ ${ARCH} == 'amd64' ] && swt_ptr_cflags=-DSWT_PTR_SIZE_64 |
| 283 |
|
283 |
|
| 284 |
[ ${ARCH} == 'x86' ] && output_dir="../../../org.eclipse.swt.gtk/os/linux/x86" |
284 |
[ ${ARCH} == 'x86' ] && output_dir="../../../org.eclipse.swt.gtk.linux.x86" |
| 285 |
[ ${ARCH} == 'ppc' ] && output_dir="../../../org.eclipse.swt.gtk64/os/linux/ppc" |
285 |
[ ${ARCH} == 'ppc' ] && output_dir="../../../org.eclipse.swt.gtk.linux.ppc" |
| 286 |
[ ${ARCH} == 'amd64' ] && output_dir="../../../org.eclipse.swt.gtk64/os/linux/x86_64" |
286 |
[ ${ARCH} == 'amd64' ] && output_dir="../../../org.eclipse.swt.gtk.linux.x86_64" |
| 287 |
|
287 |
|
| 288 |
export AWT_LIB_PATH=${awt_lib_path} |
288 |
export AWT_LIB_PATH=${awt_lib_path} |
| 289 |
export XTEST_LIB_PATH=/usr/X11R6/lib |
289 |
export XTEST_LIB_PATH=/usr/X11R6/lib |
|
Lines 418-424
Link Here
|
| 418 |
use jikes && antopts="-Dbuild.compiler=jikes" |
418 |
use jikes && antopts="-Dbuild.compiler=jikes" |
| 419 |
|
419 |
|
| 420 |
ant ${antopts} -q -f compilejdtcorewithjavac.xml || die "Failed to bootstrap jdtcore compiler" |
420 |
ant ${antopts} -q -f compilejdtcorewithjavac.xml || die "Failed to bootstrap jdtcore compiler" |
| 421 |
LOCALCLASSPATH=jdtcore.jar ant -q -f compilejdtcore.xml || die "Failed to compile jdtcore" |
421 |
LOCALCLASSPATH=jdtcore.jar:ecj.jar ant -q -f compilejdtcore.xml || die "Failed to compile jdtcore" |
| 422 |
|
422 |
|
| 423 |
# WTF? Just to make things interesting, compilejdtcore.xml suddenly moves jdtcore.jar to ../ |
423 |
# WTF? Just to make things interesting, compilejdtcore.xml suddenly moves jdtcore.jar to ../ |
| 424 |
|
424 |
|