. Update to 3.6.1.

Submitted by:	tg@
This commit is contained in:
Greg Lewis 2010-11-04 14:55:29 +00:00
parent c2176a7de3
commit 343561ed77
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264084
5 changed files with 662 additions and 1183 deletions

View File

@ -6,15 +6,14 @@
#
PORTNAME= eclipse-devel
PORTVERSION= 3.5.2
PORTREVISION= 3
PORTVERSION= 3.6.1
#PORTREVISION= 3
CATEGORIES= java devel
MASTER_SITES= http://download.eclipse.org/technology/linuxtools/eclipse-build/:1 \
http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/bundles/:2 \
http://download.eclipse.org/tools/orbit/downloads/drops/S20100308015149/bundles/:3 \
MASTER_SITES= http://download.eclipse.org/technology/linuxtools/eclipse-build/3.6.x_Helios/:1 \
http://download.eclipse.org/tools/orbit/downloads/drops/R20100519200754/bundles/:2 \
${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:4,} \
${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%/,junit/junit/${JUNIT3_VERSION}/:5,} \
${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%/,junit/junit/${JUNIT4_VERSION}/:6,}
http://cloud.github.com/downloads/KentBeck/junit/:6
DISTFILES= ${ECLIPSE_BUILD_SRCFILE}:1 \
${ECLIPSE_SRCFILE}:1 \
${ANT_SRCFILE}:4 \
@ -51,28 +50,29 @@ JAVA_BUILD= yes
JAVA_OS= native
JAVA_RUN= yes
JAVA_VERSION= 1.6
JAVA_VENDOR= openjdk
ECLIPSE_BUILD_SRCFILE= eclipse-build-0.5.0${EXTRACT_SUFX}
ECLIPSE_BUILD_SRCFILE= eclipse-build-0.6.1${EXTRACT_SUFX}
ECLIPSE_SRCFILE= eclipse-${PORTVERSION}-src${EXTRACT_SUFX}
ECLIPSE_TEST_SRCFILE= eclipse-sdktests-${PORTVERSION}-src${EXTRACT_SUFX}
ECLIPSE_TEST_SCRIPTFILE=eclipse-sdktests-${PORTVERSION}-scripts${EXTRACT_SUFX}
ECLIPSE_JAR_BUNDLES= com.ibm.icu_4.0.1.v20090822.jar \
ECLIPSE_JAR_BUNDLES= com.ibm.icu_4.2.1.v20100412.jar \
com.jcraft.jsch_0.1.41.v200903070017.jar \
javax.servlet_2.5.0.v200806031605.jar \
javax.servlet_2.5.0.v200910301333.jar \
javax.servlet.jsp_2.0.0.v200806031607.jar \
org.apache.commons.codec_1.3.0.v20080530-1600.jar \
org.apache.commons.el_1.0.0.v200806031608.jar \
org.apache.commons.httpclient_3.1.0.v20080605-1935.jar \
org.apache.commons.logging_1.0.4.v200904062259.jar \
org.apache.commons.httpclient_3.1.0.v201005080502.jar \
org.apache.commons.logging_1.0.4.v201005080501.jar \
org.apache.jasper_5.5.17.v200903231320.jar \
org.apache.lucene_1.9.1.v20080530-1600.jar \
org.apache.lucene.analysis_1.9.1.v20080530-1600.jar \
org.apache.lucene_1.9.1.v20100518-1140.jar \
org.apache.lucene.analysis_1.9.1.v20100518-1140.jar \
org.mortbay.jetty.util_6.1.23.v201004211559.jar \
org.mortbay.jetty.server_6.1.23.v201004211559.jar \
org.hamcrest.core_1.1.0.v20090501071000.jar \
org.mortbay.jetty.server_6.1.15.v200905151201.jar \
org.mortbay.jetty.util_6.1.15.v200905182336.jar \
org.objectweb.asm_3.1.0.v200803061910.jar
ECLIPSE_SAT4J_BUNDLES= org.sat4j.core_2.1.1.v20090825.jar \
org.sat4j.pb_2.1.1.v20090825.jar
org.objectweb.asm_3.2.0.v200909071300.jar
ECLIPSE_SAT4J_BUNDLES= org.sat4j.core_2.2.0.v20100429.jar \
org.sat4j.pb_2.2.0.v20100429.jar
ANT_VERSION= 1.7.1
ANT_SRCFILE= apache-ant-${ANT_VERSION}-bin${EXTRACT_SUFX}
ANT_BUNDLES= ant-antlr.jar \
@ -95,12 +95,13 @@ ANT_BUNDLES= ant-antlr.jar \
ant-trax.jar
JUNIT3_VERSION= 3.8.2
JUNIT3_SRCFILE= junit${JUNIT3_VERSION}.zip
JUNIT4_VERSION= 4.8.1
JUNIT4_VERSION= 4.8.2
JUNIT4_SRCFILE= junit-${JUNIT4_VERSION}.jar
FBSD_SUPPORT_SRCFILE= freebsd-support.patch
MAKE_ARGS= -DbuildOs=freebsd -DbuildArch=${ARCH:C/amd64/x86_64/:C/i386/x86/} -Dprefix=${PREFIX} -Dlocalbase=${LOCALBASE}
MAKE_ENV+= GRE_HOME=${PREFIX}/lib/${GECKO} _JAVA_OPTIONS="-Xmx1024m"
MAKE_ARGS= -DbuildOs=freebsd -DbuildArch=${ARCH:C/amd64/x86_64/:C/i386/x86/} -Dprefix=${PREFIX} -Dlocalbase=${LOCALBASE} -Dlabel=${PORTVERSION}
MAKE_ENV+= GRE_HOME=${PREFIX}/lib/${GECKO} _JAVA_OPTIONS="-Xmx1024m" JAVA_VENDOR=${JAVA_VENDOR}
WRKSRC= ${WRKDIR}/${ECLIPSE_BUILD_SRCFILE:C/${EXTRACT_SUFX}//}
PATCH_STRIP= -p1
@ -115,14 +116,10 @@ PLIST_FILES= bin/${PORTNAME} \
share/icons/hicolor/48x48/apps/${PORTNAME}.png \
share/pixmaps/${PORTNAME}.png
.for f in ${ECLIPSE_JAR_BUNDLES}
.for f in ${ECLIPSE_JAR_BUNDLES} ${ECLIPSE_SAT4J_BUNDLES}
DISTFILES+= ${f}:2
.endfor
.for f in ${ECLIPSE_SAT4J_BUNDLES}
DISTFILES+= ${f}:3
.endfor
.include <bsd.port.pre.mk>
.if defined(WITH_TESTS)
@ -134,19 +131,12 @@ BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash \
ALL_TARGET= provision.tests
.endif
.if ${OSVERSION} >= 800000
JAVA_VENDOR= bsdjava
.endif
# Copy the eclipse source file to the work area
post-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${ECLIPSE_SRCFILE} ${BUILD_WRKSRC}
@${CP} ${FILESDIR}/${FBSD_SUPPORT_SRCFILE} ${BUILD_WRKSRC}/patches/
@${MKDIR} ${BUILD_WRKSRC}/bundles
.for f in ${ECLIPSE_JAR_BUNDLES}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${BUILD_WRKSRC}/bundles/
.endfor
.for f in ${ECLIPSE_SAT4J_BUNDLES}
.for f in ${ECLIPSE_JAR_BUNDLES} ${ECLIPSE_SAT4J_BUNDLES}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${BUILD_WRKSRC}/bundles/
.endfor
.for f in ${ANT_BUNDLES}
@ -169,11 +159,14 @@ pre-patch:
# Fixup boot classes path
post-patch:
@${REINPLACE_CMD} -e "s+%%BOOTCLASSPATH%%+${BOOTCLASSPATH}+g" ${BUILD_WRKSRC}/build.properties
@${REINPLACE_CMD} -e "s+%%PORTNAME%%+${PORTNAME}+g" ${BUILD_WRKSRC}/build.xml
@${REINPLACE_CMD} -e "s+%%BOOTCLASSPATH%%+${BOOTCLASSPATH}+g" ${BUILD_WRKSRC}/pdebuild.properties
@${REINPLACE_CMD} -e "s+%%PORTNAME%%+${PORTNAME}+g" ${BUILD_WRKSRC}/build.xml
@${REINPLACE_CMD} -e "s+%%PORTNAME%%+${PORTNAME}+g" ${BUILD_WRKSRC}/eclipse.desktop
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} applyPatches)
.for f in ${ECLIPSE_JAR_BUNDLES}
@${REINPLACE_CMD} -e "s+^${f}=\(.*\)+${f}=${BUILD_WRKSRC}/bundles/${f}+" ${BUILD_WRKSRC}/dependencies.properties
@${REINPLACE_CMD} -e "s+^${f}=\(.*\)+${f}=${BUILD_WRKSRC}/bundles/${f}+" ${BUILD_WRKSRC}/jdtdependencies.properties
@${REINPLACE_CMD} -e "s+^${f}=\(.*\)+${f}=${BUILD_WRKSRC}/bundles/${f}+" ${BUILD_WRKSRC}/sdkdependencies.properties
.endfor
.for f in ${ECLIPSE_SAT4J_BUNDLES}
@${REINPLACE_CMD} -e "s+^${f}=\(.*\)+${f}=${BUILD_WRKSRC}/bundles/${f}+" ${BUILD_WRKSRC}/dependencies.properties
@ -181,8 +174,9 @@ post-patch:
.for f in ${ANT_BUNDLES}
@${REINPLACE_CMD} -e "s+${f}=\(.*\)+${f}=${BUILD_WRKSRC}/bundles/${f}+" ${BUILD_WRKSRC}/nonosgidependencies.properties
.endfor
@${REINPLACE_CMD} -e "s+=/usr/share/java/junit.jar+=${BUILD_WRKSRC}/bundles/junit.jar+" ${BUILD_WRKSRC}/nonosgidependencies.properties
@${REINPLACE_CMD} -e "s+=/usr/share/java/junit4.jar+=${BUILD_WRKSRC}/bundles/junit4.jar+" ${BUILD_WRKSRC}/nonosgidependencies.properties
@${REINPLACE_CMD} -e "s+=/usr/share/java/junit.jar+=${BUILD_WRKSRC}/bundles/junit.jar+" ${BUILD_WRKSRC}/jdtnonosgidependencies.properties
@${REINPLACE_CMD} -e "s+=/usr/share/java/junit4.jar+=${BUILD_WRKSRC}/bundles/junit4.jar+" ${BUILD_WRKSRC}/jdtnonosgidependencies.properties
@${REINPLACE_CMD} -e "s+/usr/share/java/junit4.jar+${BUILD_WRKSRC}/bundles/junit4.jar+" ${BUILD_WRKSRC}/build.xml
.if defined(WITH_TESTS)
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} applyTestPatches)
.endif
@ -208,16 +202,6 @@ do-install:
${BUILD_WRKSRC}/eclipse.tmp
.endif
@${INSTALL_SCRIPT} ${WRKSRC}/eclipse.tmp ${PREFIX}/bin/${PORTNAME}
@for f in `ls ${BUILD_WRKSRC}/bundles/*.jar`; do \
BASE=`basename $$f`; \
FILES=`find ${PORTDESTDIR}/plugins/ -name "$$BASE"`; \
if [ ! -z "$$FILES" ]; then \
for s in $$FILES; do \
${RM} "$$s"; \
${INSTALL_DATA} "$$f" "$$s"; \
done; \
fi; \
done
@${PREFIX}/bin/${PORTNAME} -initialize -consolelog
-@update-desktop-database
@(cd ${PREFIX}; ${FIND} -s lib/${PORTNAME} -not -type d) >> ${TMPPLIST}

View File

@ -1,27 +1,27 @@
MD5 (eclipse/eclipse-build-0.5.0.tar.bz2) = 4222efa5f5817b369db90843b0ca7563
SHA256 (eclipse/eclipse-build-0.5.0.tar.bz2) = d5f184bb9337eff30e4828c55c866f678eb512b93c908402ef1acc812e1bcf16
SIZE (eclipse/eclipse-build-0.5.0.tar.bz2) = 276662
MD5 (eclipse/eclipse-3.5.2-src.tar.bz2) = 942cf2b429c3ce96bd8256f3cb5b2f81
SHA256 (eclipse/eclipse-3.5.2-src.tar.bz2) = e16b9d392132054733ef510fa41123e61dc5dbc25e386124d497d9d8469324cf
SIZE (eclipse/eclipse-3.5.2-src.tar.bz2) = 59509303
MD5 (eclipse/eclipse-build-0.6.1.tar.bz2) = dac006a81d45f366ecbf3f78f7fa9424
SHA256 (eclipse/eclipse-build-0.6.1.tar.bz2) = 66b6344fe55523b1e2243bd37f9ad14aeff0fd7f0f44669a89cada9146e5b46e
SIZE (eclipse/eclipse-build-0.6.1.tar.bz2) = 295425
MD5 (eclipse/eclipse-3.6.1-src.tar.bz2) = 306f8bf4ec2b0bf6f3f8329608cb15dd
SHA256 (eclipse/eclipse-3.6.1-src.tar.bz2) = 588f90209a75c8359e86deed5a48f5b3bff69e5d7e1856119e8a740c17646250
SIZE (eclipse/eclipse-3.6.1-src.tar.bz2) = 62707872
MD5 (eclipse/apache-ant-1.7.1-bin.tar.bz2) = 9330447f3763b87570dd1118c49a8efd
SHA256 (eclipse/apache-ant-1.7.1-bin.tar.bz2) = 24e54c9d90b81d1b7342695a8285a969393fd883e99ffbbc04203c106d9c2f97
SIZE (eclipse/apache-ant-1.7.1-bin.tar.bz2) = 7641928
MD5 (eclipse/junit3.8.2.zip) = 9b8963ba2147a64bd5f1574b6fd289cb
SHA256 (eclipse/junit3.8.2.zip) = aae23d20e6f4dc45b4bf0b10fedcbd209c100342a0cafce1aa07d2da6da1f24a
SIZE (eclipse/junit3.8.2.zip) = 461426
MD5 (eclipse/junit-4.8.1.jar) = fb44723f35c2f1af5c51eb729b502f0d
SHA256 (eclipse/junit-4.8.1.jar) = efd8cf93b57d01e8f5fbefbe1f17ae39e6e22553615926e00a6eefc307da21e6
SIZE (eclipse/junit-4.8.1.jar) = 237047
MD5 (eclipse/com.ibm.icu_4.0.1.v20090822.jar) = 2c0e3112c5fe9361ea61b905a02150e8
SHA256 (eclipse/com.ibm.icu_4.0.1.v20090822.jar) = 9629635b5ab76be6de3364bf2487356f57941a7cbe04239a70db9df566c169e7
SIZE (eclipse/com.ibm.icu_4.0.1.v20090822.jar) = 5787493
MD5 (eclipse/junit-4.8.2.jar) = 8a498c3d820db50cc7255d8c46c1ebd1
SHA256 (eclipse/junit-4.8.2.jar) = a2aa2c3bb2b72da76c3e6a71531f1eefdc350494819baf2b1d80d7146e020f9e
SIZE (eclipse/junit-4.8.2.jar) = 237344
MD5 (eclipse/com.ibm.icu_4.2.1.v20100412.jar) = 3e6690e17b268a280532c2aff54c0cc6
SHA256 (eclipse/com.ibm.icu_4.2.1.v20100412.jar) = 78150e19c1084d4ad085de156332f6985872d1da9d7b2e22b2c0360ecdc3b974
SIZE (eclipse/com.ibm.icu_4.2.1.v20100412.jar) = 6451214
MD5 (eclipse/com.jcraft.jsch_0.1.41.v200903070017.jar) = 43d0a7e7f2b72bc94827a1420c99a3e1
SHA256 (eclipse/com.jcraft.jsch_0.1.41.v200903070017.jar) = ee8af42d01fbdd07a70762483b9eeda5dc8f23b386e04a6aa034b06df75c9396
SIZE (eclipse/com.jcraft.jsch_0.1.41.v200903070017.jar) = 225576
MD5 (eclipse/javax.servlet_2.5.0.v200806031605.jar) = e3ee9d09500707048362df8b16e7b4c2
SHA256 (eclipse/javax.servlet_2.5.0.v200806031605.jar) = 4c5fef96a177c72fa28470cb23d65833a541c77e0ea0914fb3d92f7c6aa902f0
SIZE (eclipse/javax.servlet_2.5.0.v200806031605.jar) = 117853
MD5 (eclipse/javax.servlet_2.5.0.v200910301333.jar) = e46e37400d01a527fab7a22edc74bd2d
SHA256 (eclipse/javax.servlet_2.5.0.v200910301333.jar) = 27c684a06d3832578e2b0bfbd183d973ad5662cfee5cf116791091b74e0297ee
SIZE (eclipse/javax.servlet_2.5.0.v200910301333.jar) = 118873
MD5 (eclipse/javax.servlet.jsp_2.0.0.v200806031607.jar) = afa76cbe2cf90a605d0d415eae4d7109
SHA256 (eclipse/javax.servlet.jsp_2.0.0.v200806031607.jar) = 7129d8eb8759eae6169cb494d2ee031bb75a3dab68bc789d92d8a34f2f8a873e
SIZE (eclipse/javax.servlet.jsp_2.0.0.v200806031607.jar) = 62707
@ -31,42 +31,36 @@ SIZE (eclipse/org.apache.commons.codec_1.3.0.v20080530-1600.jar) = 53772
MD5 (eclipse/org.apache.commons.el_1.0.0.v200806031608.jar) = 8dfda26bbd970749ff7ae341a93c140f
SHA256 (eclipse/org.apache.commons.el_1.0.0.v200806031608.jar) = 0d8b55ca35e851ce3d1e5beeb0e4c32ab0630d4d21b3ce324ef0ac0a45e3ad37
SIZE (eclipse/org.apache.commons.el_1.0.0.v200806031608.jar) = 127481
MD5 (eclipse/org.apache.commons.httpclient_3.1.0.v20080605-1935.jar) = 8dd836d15bf93050746681d726242461
SHA256 (eclipse/org.apache.commons.httpclient_3.1.0.v20080605-1935.jar) = 339385ec9ffd7398db682988afaf6ccdca82086cf0255e7dd1fc298dc8ba08d5
SIZE (eclipse/org.apache.commons.httpclient_3.1.0.v20080605-1935.jar) = 320150
MD5 (eclipse/org.apache.commons.logging_1.0.4.v200904062259.jar) = 805a903497b0a7df138ea5e4a1fd0f54
SHA256 (eclipse/org.apache.commons.logging_1.0.4.v200904062259.jar) = 001948a5c62731984a3752043fb1f2d892806e1efb2ba8396c12fe5db2afadbd
SIZE (eclipse/org.apache.commons.logging_1.0.4.v200904062259.jar) = 44210
MD5 (eclipse/org.apache.commons.httpclient_3.1.0.v201005080502.jar) = 4bf4a6337ada12733a56746c679adb72
SHA256 (eclipse/org.apache.commons.httpclient_3.1.0.v201005080502.jar) = 0f215df922704e121e8504d9c34e60a40729d43badd90576e4c83446203cf77e
SIZE (eclipse/org.apache.commons.httpclient_3.1.0.v201005080502.jar) = 321329
MD5 (eclipse/org.apache.commons.logging_1.0.4.v201005080501.jar) = a5e6de22b126c858813d5a3431704e71
SHA256 (eclipse/org.apache.commons.logging_1.0.4.v201005080501.jar) = 5f0c8730284da1752cca07de023eca14bdd50e99f7262239b17db8eaf7b40a71
SIZE (eclipse/org.apache.commons.logging_1.0.4.v201005080501.jar) = 45398
MD5 (eclipse/org.apache.jasper_5.5.17.v200903231320.jar) = 0376ebc2882221c22315ffee622766fc
SHA256 (eclipse/org.apache.jasper_5.5.17.v200903231320.jar) = 0e440bffabde8db6ad20dee3075ad0a7a7699867be4f5e4b755fd1e56a93fb03
SIZE (eclipse/org.apache.jasper_5.5.17.v200903231320.jar) = 1721330
MD5 (eclipse/org.apache.lucene_1.9.1.v20080530-1600.jar) = 1188266fdd5e5d845ea3a4c54d148de1
SHA256 (eclipse/org.apache.lucene_1.9.1.v20080530-1600.jar) = 64cfb714fc520fba75277494fadab655d3d14f9429dfcb5a55d547a9e1d90e3f
SIZE (eclipse/org.apache.lucene_1.9.1.v20080530-1600.jar) = 444122
MD5 (eclipse/org.apache.lucene.analysis_1.9.1.v20080530-1600.jar) = a943517c8c2ce1b2c9bd05f3a0a313b9
SHA256 (eclipse/org.apache.lucene.analysis_1.9.1.v20080530-1600.jar) = 7eb8cfbe5ff091b186666daa2778b021b1f24d47fffdc8aff7ce693095d6954f
SIZE (eclipse/org.apache.lucene.analysis_1.9.1.v20080530-1600.jar) = 70361
MD5 (eclipse/org.apache.lucene_1.9.1.v20100518-1140.jar) = 80107b569a61aed776e342626da0b51f
SHA256 (eclipse/org.apache.lucene_1.9.1.v20100518-1140.jar) = 2bab6a2feaabaf8db9c04db16fec03435e37fe201294aead06096884e210ad7b
SIZE (eclipse/org.apache.lucene_1.9.1.v20100518-1140.jar) = 445306
MD5 (eclipse/org.apache.lucene.analysis_1.9.1.v20100518-1140.jar) = 514505c60dd7d072a190b6daade42eb8
SHA256 (eclipse/org.apache.lucene.analysis_1.9.1.v20100518-1140.jar) = bc55013ceb92b3f911217a9d913e89a72172af90895cec55a069bf047b0cac28
SIZE (eclipse/org.apache.lucene.analysis_1.9.1.v20100518-1140.jar) = 71545
MD5 (eclipse/org.mortbay.jetty.util_6.1.23.v201004211559.jar) = 54e05281d44ccc038b09b16bd23368e3
SHA256 (eclipse/org.mortbay.jetty.util_6.1.23.v201004211559.jar) = 36dc0cf4e75888f9ffb0d36551a915926f247cb4b3cfdeed80479ec8a687f011
SIZE (eclipse/org.mortbay.jetty.util_6.1.23.v201004211559.jar) = 192846
MD5 (eclipse/org.mortbay.jetty.server_6.1.23.v201004211559.jar) = e800bdb1e4d56a9fe8a87766fe40738c
SHA256 (eclipse/org.mortbay.jetty.server_6.1.23.v201004211559.jar) = 17bcd3edc28a4808a13558077507da6ed5fe88cc8c216d00d87da88683d3d94d
SIZE (eclipse/org.mortbay.jetty.server_6.1.23.v201004211559.jar) = 557434
MD5 (eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar) = aa182429a9bbe01c485571f199a471aa
SHA256 (eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar) = 211c869941f7151fe7d3ecaae31b53d128a2d97684ed4ce455d2ca4ea3a0abeb
SIZE (eclipse/org.hamcrest.core_1.1.0.v20090501071000.jar) = 26650
MD5 (eclipse/org.mortbay.jetty.server_6.1.15.v200905151201.jar) = a5108cbf1472be6299c0ea520e9d3dd1
SHA256 (eclipse/org.mortbay.jetty.server_6.1.15.v200905151201.jar) = 06f490b0b13477cc110c78a9e5a2097e620404fa89ddc3411e66fd111d303599
SIZE (eclipse/org.mortbay.jetty.server_6.1.15.v200905151201.jar) = 539578
MD5 (eclipse/org.mortbay.jetty.util_6.1.15.v200905182336.jar) = ff20b874c732e0456f0c68032df06fff
SHA256 (eclipse/org.mortbay.jetty.util_6.1.15.v200905182336.jar) = b112a4f80922bd14ed5737160ba99fa4aabc04db6cea8913f2ca23d622e067ea
SIZE (eclipse/org.mortbay.jetty.util_6.1.15.v200905182336.jar) = 186357
MD5 (eclipse/org.objectweb.asm_3.1.0.v200803061910.jar) = 35e516bfc32eb9145871c172b7cc4cf9
SHA256 (eclipse/org.objectweb.asm_3.1.0.v200803061910.jar) = 62eac6f966b20394a349b44da04d87dd99c39edaa16b996d911c1cf88547388e
SIZE (eclipse/org.objectweb.asm_3.1.0.v200803061910.jar) = 220211
MD5 (eclipse/org.sat4j.core_2.1.1.v20090825.jar) = 762d93cbd20e994347d2a9fabf085c01
SHA256 (eclipse/org.sat4j.core_2.1.1.v20090825.jar) = 6f8541e936d770f8c21978f8939c5b97e9db38c0ac9826ae9a745ef91181d1a1
SIZE (eclipse/org.sat4j.core_2.1.1.v20090825.jar) = 181816
MD5 (eclipse/org.sat4j.pb_2.1.1.v20090825.jar) = a1de7d00453c99b8580bcc4c558be1d8
SHA256 (eclipse/org.sat4j.pb_2.1.1.v20090825.jar) = 7329c67e844d59bbc2fd5d4cfcfbca7819eecfaac55afaf6c39c0d3dbcc108b0
SIZE (eclipse/org.sat4j.pb_2.1.1.v20090825.jar) = 111984
MD5 (eclipse/eclipse-sdktests-3.5.2-src.tar.bz2) = c0103f2bc13eb2049ad9c6abcf46f8d2
SHA256 (eclipse/eclipse-sdktests-3.5.2-src.tar.bz2) = e2f2490e7854a26ccff3deca732e2565f3d86a246645160997b914a176924b06
SIZE (eclipse/eclipse-sdktests-3.5.2-src.tar.bz2) = 86258617
MD5 (eclipse/eclipse-sdktests-3.5.2-scripts.tar.bz2) = 4e0445e114067defa20135a06cb184a1
SHA256 (eclipse/eclipse-sdktests-3.5.2-scripts.tar.bz2) = e06efe159fe1ee99536799795c6d76324d87fb125366ae03b85ada15f2629137
SIZE (eclipse/eclipse-sdktests-3.5.2-scripts.tar.bz2) = 4802
MD5 (eclipse/org.objectweb.asm_3.2.0.v200909071300.jar) = 7aff7763a60c1e2c095e9ab05cca0a29
SHA256 (eclipse/org.objectweb.asm_3.2.0.v200909071300.jar) = 3b30b0b87d9d517829eb6227c45657c767f3ec90019cb99d26638f5c4a07a15d
SIZE (eclipse/org.objectweb.asm_3.2.0.v200909071300.jar) = 229434
MD5 (eclipse/org.sat4j.core_2.2.0.v20100429.jar) = 02e0e62e6c55dbba2afb65fb649eda32
SHA256 (eclipse/org.sat4j.core_2.2.0.v20100429.jar) = 4c3c8b6c3b05576fd1adba3c1ce04e6ea88dd1d9615163411baa76f269c750aa
SIZE (eclipse/org.sat4j.core_2.2.0.v20100429.jar) = 193845
MD5 (eclipse/org.sat4j.pb_2.2.0.v20100429.jar) = 3ded0a927f1736ba146a4b289c8eb3b9
SHA256 (eclipse/org.sat4j.pb_2.2.0.v20100429.jar) = 4c57e12cd17a128e14d3cf093ec265e6991a74fcba096c0d284145bf2cd0d44d
SIZE (eclipse/org.sat4j.pb_2.2.0.v20100429.jar) = 121389

View File

@ -17,7 +17,7 @@ Index: build.xml
===================================================================
--- build.xml (revision 23733)
+++ build.xml (working copy)
@@ -88,6 +88,7 @@
@@ -130,6 +130,7 @@
<ant inheritall="false" antfile="pdebuild.xml">
<property name="buildId" value="${buildId}" />
<property name="buildArch" value="${buildArch}" />
@ -25,7 +25,7 @@ Index: build.xml
</ant>
</target>
@@ -264,7 +265,10 @@
@@ -315,7 +316,10 @@
<!-- end back-ported patches -->
<!-- Only build for one target (bug #293952) -->
<copy file="${buildConfigs}/eclipse-build-config/build.properties.in" tofile="${buildConfigs}/eclipse-build-config/build.properties" />
@ -34,10 +34,10 @@ Index: build.xml
+ <replacefilter token="@build_arch@" value="${buildArch}" />
+ <replacefilter token="@build_os@" value="${buildOs}" />
+ </replace>
<patch patchfile="${basedir}/patches/java-home.patch" dir="${buildDirectory}" strip="2" />
<echo file="patch-stamp" />
</target>
@@ -350,6 +354,7 @@
@@ -399,6 +403,7 @@
<!--
<ant antfile="build.xml" dir="${eclipse.pdebuild.scripts}">
<property name="arch" value="${buildArch}"/>
@ -45,7 +45,7 @@ Index: build.xml
<property name="builder" value="${buildConfig}" />
</ant>
-->
@@ -404,9 +409,9 @@
@@ -462,9 +467,9 @@
<target name="compile.libgnomeproxy" if="build.libgnomeproxy">
<!-- build libgnomeproxy -->
@ -58,7 +58,7 @@ Index: build.xml
</target>
<target name="compilelibs" unless="compilelibs.complete">
@@ -418,16 +423,16 @@
@@ -476,16 +481,16 @@
<include name="**/*.so" />
</fileset>
</delete>
@ -78,14 +78,14 @@ Index: build.xml
<copy todir="${buildDirectory}/plugins/${launcherfragment}">
<fileset dir="${launcherlibs}/library/gtk">
<include name="**/*.so" />
@@ -435,13 +440,13 @@
@@ -493,13 +498,13 @@
</copy>
<!-- build liblocalfile -->
- <exec dir="${buildDirectory}/plugins/org.eclipse.core.filesystem/natives/unix/linux" executable="make" failonerror="true" />
- <move file="${buildDirectory}/plugins/org.eclipse.core.filesystem/natives/unix/linux/liblocalfile_1_0_0.so" todir="${buildDirectory}/plugins/org.eclipse.core.filesystem.linux.${buildArch}/os/linux/${buildArch}">
- <move file="${buildDirectory}/plugins/org.eclipse.core.filesystem/natives/unix/linux/libunixfile_1_0_0.so" todir="${buildDirectory}/plugins/org.eclipse.core.filesystem.linux.${buildArch}/os/linux/${buildArch}">
+ <exec dir="${buildDirectory}/plugins/org.eclipse.core.filesystem/natives/unix/${buildOs}" executable="make" failonerror="true" />
+ <move file="${buildDirectory}/plugins/org.eclipse.core.filesystem/natives/unix/${buildOs}/liblocalfile_1_0_0.so" todir="${buildDirectory}/plugins/org.eclipse.core.filesystem.${buildOs}.${buildArch}/os/${buildOs}/${buildArch}">
+ <move file="${buildDirectory}/plugins/org.eclipse.core.filesystem/natives/unix/${buildOs}/libunixfile_1_0_0.so" todir="${buildDirectory}/plugins/org.eclipse.core.filesystem.${buildOs}.${buildArch}/os/${buildOs}/${buildArch}">
</move>
<!-- build libgnomeproxy -->
<antcall target="compile.libgnomeproxy" />
@ -95,7 +95,7 @@ Index: build.xml
<echo file="compilelibs-stamp" />
</target>
@@ -544,7 +549,7 @@
@@ -593,7 +598,7 @@
<arg line="-application org.eclipse.ant.core.antRunner " />
<arg line="-buildfile buildConfiguration.xml" />
<arg line="-propertyfile ${basedir}/build.properties " />
@ -104,41 +104,41 @@ Index: build.xml
<arg line="-Dreposource=${reposource} " />
<arg line="-Dbasedir=${productFiles}/rcpConfig" />
<arg line="-DbuildId=${buildId} " />
@@ -570,6 +575,7 @@
@@ -631,6 +636,7 @@
<arg line="-buildfile publishProduct.xml" />
<arg line="-propertyfile ${basedir}/build.properties " />
<arg line="-DbuildArch=${buildArch} " />
+ <arg line="-DbuildOs=${buildOs} " />
<arg line="-Dreposource=${reposource} " />
<arg line="-DbuildConfig=${buildConfig} " />
<arg line="-DproductFiles=${productFiles} " />
@@ -587,7 +593,7 @@
<param name="p2.director.profile" value="SDKProfile" />
<param name="p2.director.install.path" value="${buildDirectory}/installation" />
<arg line="-DproductFile=${productFile} " />
@@ -721,7 +727,7 @@
<param name="p2.director.profile" value="${profileName}" />
<param name="p2.director.install.path" value="${provisionDir}" />
<param name="p2.director.extraArgs" value="-profileProperties org.eclipse.update.install.features=true" />
- <param name="p2.os" value="linux" />
+ <param name="p2.os" value="${buildOs}" />
<param name="p2.ws" value="gtk" />
<param name="p2.arch" value="${buildArch}" />
<param name="p2.repo" value="${reposource}" />
@@ -647,6 +653,8 @@
<chmod perm="ugo+rx" file="${basedir}/runtests.sh" />
@@ -800,6 +806,8 @@
-->
<exec executable="${basedir}/runtests.sh" dir="${basedir}">
<arg value="-t${timestamp}" />
+ <arg value="-a${buildArch}" />
+ <arg value="-o${buildOs}" />
</exec>
<property name="testResultDir" value="${basedir}/tests_${timestamp}/results" />
<!-- Copy over the XML to generate a top-level report for all of the tests -->
@@ -772,7 +780,7 @@
<arg value="-b ${testsBuildDirectory}" />
<arg value="-p ${provisionDir}" />
<arg value="${testSwitches}" />
@@ -924,7 +932,7 @@
<property name="startupjarpath" refid="startupjar" />
<symlink link="${destDir}/${prefix}/${libDir}/eclipse/startup.jar" resource="plugins/${startupjarpath}" />
<symlink link="${installationDir}/startup.jar" resource="plugins/${startupjarpath}" />
<!-- Create the "swt.jar" and friends symlinks -->
- <fileset dir="${destDir}/${prefix}/${libDir}/eclipse/plugins" includes="org.eclipse.swt.gtk.linux.${buildArch}_*" id="swtjar" />
+ <fileset dir="${destDir}/${prefix}/${libDir}/eclipse/plugins" includes="org.eclipse.swt.gtk.${buildOs}.${buildArch}_*" id="swtjar" />
- <fileset dir="${installationDir}/plugins" includes="org.eclipse.swt.gtk.linux.${buildArch}_*" id="swtjar" />
+ <fileset dir="${installationDir}/plugins" includes="org.eclipse.swt.gtk.${buildOs}.${buildArch}_*" id="swtjar" />
<property name="swtjarpath" refid="swtjar" />
<symlink link="${destDir}/${prefix}/${libDir}/eclipse/swt-gtk-3.5.2.jar" resource="plugins/${swtjarpath}" />
<symlink link="${destDir}/${prefix}/${libDir}/eclipse/swt-gtk.jar" resource="plugins/${swtjarpath}" />
<symlink link="${installationDir}/swt-gtk-${label}.jar" resource="plugins/${swtjarpath}" />
<symlink link="${installationDir}/swt-gtk.jar" resource="plugins/${swtjarpath}" />
Index: pdebuild.xml
===================================================================
--- pdebuild.xml (revision 23733)
@ -179,10 +179,10 @@ Index: publishProduct.xml
===================================================================
--- publishProduct.xml (revision 23733)
+++ publishProduct.xml (working copy)
@@ -2,7 +2,7 @@
@@ -1,7 +1,7 @@
<project name="Eclipse SDK build" default="publish" basedir=".">
<target name="publish">
<echo message="Calling p2.publish.product with repository=${reposource} and productFile=${productFiles}/sdk/sdk.product"/>
<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${productFiles}/sdk/sdk.product" compress="true">
<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${productFile}" compress="true">
- <config os="linux" ws="gtk" arch="${buildArch}" />
+ <config os="${buildOs}" ws="gtk" arch="${buildArch}" />
<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
@ -192,24 +192,25 @@ Index: runtests.sh
===================================================================
--- runtests.sh (revision 23733)
+++ runtests.sh (working copy)
@@ -14,6 +14,8 @@
-g Don't run the tests headless
-d Allow remote connection to test runs' JVM
@@ -16,6 +16,8 @@
-b Tests build directory
-p Clean installation directory to copy for running test suites
-t Timestamp string with which to tag the results
+ -a Architecture to run the tests on
+ -o OS to run the tests on
-v Make test runs output to the console
_EOF_
}
@@ -83,6 +85,8 @@
headless=1
fi
@@ -72,6 +74,7 @@
# Defaults
debugTests=0
headless=1
+ buildOs=linux
testFramework=org.eclipse.test_3.2.0
if [ -z ${timestamp} ]; then
timestamp=$(date "+%Y%m%d%H%M%S")
@@ -116,21 +119,16 @@
+
label=$(grep label build.properties | sed s/label=//)
testframework=$(grep ^testframework build.properties | sed s/testframework=//)
@@ -142,21 +146,16 @@
if [ ${headless} == 1 ]; then
# Try to find Xvnc
xvnc=
@ -238,7 +239,7 @@ Index: runtests.sh
fi
}
@@ -139,9 +137,11 @@
@@ -165,9 +164,11 @@
port=`expr '(' $RANDOM '*' 9 / 32767 ')' + 58`
echo localhost > Xvnc.cfg
echo "Setting up Xvnc on port ${port} with password VNCpassword1"
@ -252,7 +253,7 @@ Index: runtests.sh
}
function setArch() {
@@ -160,13 +160,15 @@
@@ -186,13 +187,15 @@
arch=ia64 ;;
ppc)
arch=ppc ;;
@ -269,36 +270,36 @@ Index: runtests.sh
fi
}
@@ -177,7 +179,7 @@
-application org.eclipse.ant.core.antRunner \
-file $testDriver \
-Declipse-home=${eclipseHome} \
- -Dos=linux \
+ -Dos=${buildOs} \
-Dws=gtk \
-Darch=${arch} \
-Dlibrary-file=$libraryXml \
@@ -185,7 +187,7 @@
-logger org.apache.tools.ant.DefaultLogger \
-vmargs \
-Duser.home=${homedir} \
- -Dosgi.os=linux \
+ -Dosgi.os=${buildOs} \
-Dosgi.ws=gtk \
-Dosgi.arch=${arch}
}
@@ -288,7 +290,7 @@
@@ -206,7 +209,7 @@
-application org.eclipse.ant.core.antRunner \
-file $testDriver \
-Declipse-home=${eclipseHome} \
- -Dos=linux \
+ -Dos=${buildOs} \
-Dws=gtk \
-Darch=${arch} \
-Dlibrary-file=$libraryXml \
@@ -214,7 +217,7 @@
-logger org.apache.tools.ant.DefaultLogger \
-vmargs \
-Duser.home=${homedir} \
- -Dosgi.os=linux \
+ -Dosgi.os=${buildOs} \
-Dosgi.ws=gtk \
-Dosgi.arch=${arch}
else
@@ -348,7 +351,7 @@
}
# Command-line arguments
-while getopts "de:gt:h" OPTION
+while getopts "de:gt:a:o:h" OPTION
-while getopts "vde:gb:p:t:h" OPTION
+while getopts "vde:gb:p:t:a:o:h" OPTION
do
case $OPTION in
d)
@@ -300,6 +302,12 @@
t)
timestamp=$OPTARG
@@ -366,6 +369,12 @@
p)
provisionDir=$OPTARG
;;
+ a)
+ buildArch=$OPTARG
@ -309,14 +310,3 @@ Index: runtests.sh
h)
usage
exit 1
Index: build.sh
===================================================================
--- build.sh (revision 23733)
+++ build.sh (working copy)
@@ -38,5 +38,5 @@
esac
DATE=`date +%Y%m%d%H%M%S`
-ant -DbuildArch=${arch} 2>&1 | tee build_${DATE}.log
+ant -DbuildArch=${arch} -DbuildOs=linux 2>&1 | tee build_${DATE}.log
echo "Build log is available in build_${DATE}.log"

File diff suppressed because it is too large Load Diff

View File

@ -63,7 +63,21 @@ $FreeBSD$
+CDC-1.1/PersonalJava-1.1=%%BOOTCLASSPATH%%
--- eclipse-build-0.5.0.orig/build.xml 2009-12-23 16:22:44.090824173 -0500
+++ eclipse-build-0.5.0/build.xml 2009-12-23 16:23:06.357147407 -0500
@@ -124,8 +124,7 @@
@@ -117,11 +117,11 @@
<target name="setLibDir" depends="setLib64Dir">
<property name="libDir" value="lib" />
- <property name="installationDir" value="${destDir}${prefix}/${libDir}/eclipse" />
+ <property name="installationDir" value="${destDir}${prefix}/${libDir}/%%PORTNAME%%" />
</target>
<target name="getInstallationDir" depends="setLibDir">
- <echo message="Installation directory will be ${destDir}/${prefix}/${libDir}" />
+ <echo message="Installation directory will be ${destDir}/${prefix}/${libDir}/%%PORTNAME%%" />
</target>
<property name="doTests" value="true" />
@@ -166,8 +166,7 @@
<target name="copySource" unless="sdkSourcePresent">
<echo message="Copy SDK source (cp -rd --not-target-directory eclipse ${buildDirectory})" />
<exec executable="cp" failonerror="true">
@ -73,59 +87,73 @@ $FreeBSD$
<arg value="eclipse" />
<arg value="${buildDirectory}" />
</exec>
@@ -243,8 +242,14 @@
@@ -292,8 +291,10 @@
<target name="applyPatches" depends="insertBuildId" unless="patch.complete">
<!-- eclipse-build-only patches -->
<patch patchfile="${basedir}/patches/eclipse-buildswtnatives.patch" dir="${buildDirectory}" strip="0" />
<patch patchfile="${basedir}/patches/eclipse-jdt_launch-customBuild.patch" dir="${buildDirectory}" strip="0" />
- <patch patchfile="${basedir}/patches/eclipse-swt-buildagainstxulrunner.patch" dir="${buildDirectory}/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" strip="3" />
- <patch patchfile="${basedir}/patches/eclipse-addArchesAnd64bitSWT.patch" dir="${buildDirectory}/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" strip="6" />
+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library">
+ <arg value="-p3" />
+ <arg value="-i${basedir}/patches/eclipse-swt-buildagainstxulrunner.patch" />
+ </exec>
+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library">
+ <arg value="-p6" />
+ <arg value="-i${basedir}/patches/eclipse-addArchesAnd64bitSWT.patch" />
+ </exec>
<patch patchfile="${basedir}/patches/eclipse-add-archs-filesystem.patch" dir="${buildDirectory}" strip="0" />
<patch patchfile="${basedir}/patches/eclipse-add-archs-swt.patch" dir="${buildDirectory}" strip="0" />
<patch patchfile="${basedir}/patches/eclipse-add-archs-executable.patch" dir="${buildDirectory}/features/org.eclipse.equinox.executable" strip="0" />
@@ -269,6 +274,10 @@
<replacefilter token="@build_arch@" value="${buildArch}" />
<patch patchfile="${basedir}/patches/eclipse-buildswtnatives.patch" dir="${buildDirectory}" strip="1" />
- <patch patchfile="${basedir}/patches/eclipse-swt-buildagainstxulrunner.patch" dir="${buildDirectory}" strip="1" />
- <patch patchfile="${basedir}/patches/eclipse-addArchesAnd64bitSWT.patch" dir="${buildDirectory}" strip="1" />
+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}">
+ <arg value="-p1" />
+ <arg value="-i${basedir}/patches/eclipse-swt-buildagainstxulrunner.patch" />
+ </exec>
<patch patchfile="${basedir}/patches/eclipse-add-archs-filesystem.patch" dir="${buildDirectory}" strip="1" />
<patch patchfile="${basedir}/patches/eclipse-add-archs-swt.patch" dir="${buildDirectory}" strip="1" />
<patch patchfile="${basedir}/patches/eclipse-add-archs-executable.patch" dir="${buildDirectory}" strip="1" />
@@ -306,9 +307,15 @@
<patch patchfile="${basedir}/patches/eclipse-nosourcebundlesfordependencies.patch" dir="${buildDirectory}" strip="1" />
<patch patchfile="${basedir}/patches/eclipse-use-newer-commons-codec.patch" dir="${buildDirectory}" strip="1" />
<patch patchfile="${basedir}/patches/junit4-nochecksum.patch" dir="${buildDirectory}" strip="0" />
- <patch patchfile="${basedir}/patches/bz318912.patch" dir="${buildDirectory}" strip="0" />
+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}">
+ <arg value="-p0" />
+ <arg value="-i${basedir}/patches/bz318912.patch" />
+ </exec>
<patch patchfile="${basedir}/patches/osgi-util.patch" dir="${buildDirectory}" strip="1" />
- <patch patchfile="${basedir}/patches/eclipse-swt-compile-xpt.patch" dir="${buildDirectory}" strip="1" />
+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}">
+ <arg value="-p1" />
+ <arg value="-i${basedir}/patches/eclipse-swt-compile-xpt.patch" />
+ </exec>
<replace file="${buildDirectory}/plugins/org.eclipse.pde.build/templates/package-build/build.properties" token="/usr/share/eclipse" value="/usr/${libDir}/eclipse" />
<chmod dir="${buildDirectory}/plugins/org.eclipse.pde.build/templates/package-build" includes="*.sh" perm="a+x" />
<!-- end eclipse-build-only patches -->
@@ -321,6 +328,10 @@
<replacefilter token="@build_os@" value="${buildOs}" />
</replace>
+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}">
+ <arg value="-p2" />
+ <arg value="-i${basedir}/patches/freebsd-support.patch" />
+ </exec>
<patch patchfile="${basedir}/patches/java-home.patch" dir="${buildDirectory}" strip="2" />
+ <exec executable="${localbase}/bin/gpatch" dir="${buildDirectory}">
+ <arg value="-p2" />
+ <arg value="-i${basedir}/patches/freebsd-support.patch" />
+ </exec>
<echo file="patch-stamp" />
</target>
@@ -651,7 +660,8 @@
<format property="timestamp" pattern="yyyyMMddHHmmss" />
</tstamp>
<chmod perm="ugo+rx" file="${basedir}/runtests.sh" />
@@ -804,7 +815,8 @@
<!--
<echo message="Calling runtests with (debug, verbose) = (${testSwitches})" />
-->
- <exec executable="${basedir}/runtests.sh" dir="${basedir}">
+ <exec executable="${localbase}/bin/bash" dir="${basedir}">
+ <arg value="${basedir}/runtests.sh" />
+ <exec executable="${localbase}/bin/bash" dir="${basedir}">
+ <arg value="${basedir}/runtests.sh" />
<arg value="-t${timestamp}" />
<arg value="-a${buildArch}" />
<arg value="-o${buildOs}" />
@@ -755,44 +765,42 @@
</target>
@@ -906,26 +918,25 @@
<target name="install" depends="provision.sdk">
- <mkdir dir="${destDir}${prefix}/${libDir}/eclipse" />
+ <mkdir dir="${destDir}${prefix}/${libDir}/%%PORTNAME%%" />
<exec executable="cp" failonerror="true">
<target name="installIntoDestDir">
<mkdir dir="${installationDir}" />
- <exec executable="cp" failonerror="true">
- <arg value="-rd" />
- <arg value="--no-target-directory" />
- <arg value="${buildDirectory}/installation" />
- <arg value="${destDir}${prefix}/${libDir}/eclipse" />
+ <arg value="-R" />
+ <arg value="${buildDirectory}/installation/" />
+ <arg value="${destDir}${prefix}/${libDir}/%%PORTNAME%%" />
- <arg value="${provisionDir}" />
- <arg value="${installationDir}" />
+ <exec executable="cp" failonerror="true">
+ <arg value="-RL" />
+ <arg value="${provisionDir}/" />
+ <arg value="${installationDir}" />
</exec>
<!-- install desktop file -->
- <copy file="eclipse.desktop" todir="${destDir}${prefix}/share/applications" />
+ <copy file="eclipse.desktop" tofile="${destDir}${prefix}/share/applications/%%PORTNAME%%.desktop" />
@ -139,44 +167,57 @@ $FreeBSD$
<mkdir dir="${destDir}${prefix}/share/pixmaps" />
- <symlink link="${destDir}${prefix}/share/pixmaps/eclipse.png" resource="../icons/hicolor/48x48/apps/eclipse.png" />
+ <symlink link="${destDir}${prefix}/share/pixmaps/%%PORTNAME%%.png" resource="../icons/hicolor/48x48/apps/%%PORTNAME%%.png" />
<!--shared dropins folder-->
<!--shared dropins folder for architecture-independent plugins-->
- <mkdir dir="${destDir}${prefix}/share/eclipse/dropins" />
- <!-- eclipse binary -->
- <mkdir dir="${destDir}${prefix}/bin" />
- <symlink link="${destDir}${prefix}/bin/eclipse" resource="../${libDir}/eclipse/eclipse" />
+ <mkdir dir="${destDir}${prefix}/share/%%PORTNAME%%/dropins" />
<!-- eclipse binary -->
<mkdir dir="${destDir}${prefix}/bin" />
- <symlink link="${destDir}${prefix}/bin/eclipse" resource="../${libDir}/eclipse/eclipse" />
+ <symlink link="${destDir}${prefix}/bin/%%PORTNAME%%" resource="../${libDir}/%%PORTNAME%%/eclipse" />
<!-- FIXME: we really shouldn't need this anymore but at least pdebuild.sh will need to be updated -->
<!-- Create the "startup.jar" symlink -->
- <fileset dir="${destDir}/${prefix}/${libDir}/eclipse/plugins" includes="org.eclipse.equinox.launcher_*" id="startupjar" />
+ <fileset dir="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/plugins" includes="org.eclipse.equinox.launcher_*" id="startupjar" />
<property name="startupjarpath" refid="startupjar" />
- <symlink link="${destDir}/${prefix}/${libDir}/eclipse/startup.jar" resource="plugins/${startupjarpath}" />
+ <symlink link="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/startup.jar" resource="plugins/${startupjarpath}" />
<!-- Create the "swt.jar" and friends symlinks -->
- <fileset dir="${destDir}/${prefix}/${libDir}/eclipse/plugins" includes="org.eclipse.swt.gtk.${buildOs}.${buildArch}_*" id="swtjar" />
+ <fileset dir="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/plugins" includes="org.eclipse.swt.gtk.${buildOs}.${buildArch}_*" id="swtjar" />
<property name="swtjarpath" refid="swtjar" />
- <symlink link="${destDir}/${prefix}/${libDir}/eclipse/swt-gtk-3.5.2.jar" resource="plugins/${swtjarpath}" />
- <symlink link="${destDir}/${prefix}/${libDir}/eclipse/swt-gtk.jar" resource="plugins/${swtjarpath}" />
- <symlink link="${destDir}/${prefix}/${libDir}/eclipse/swt.jar" resource="plugins/${swtjarpath}" />
-
- <echo append="true" file="${destDir}${prefix}/${libDir}/eclipse/eclipse.ini" message="-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=${prefix}/share/eclipse/dropins" />
+ <symlink link="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/swt-gtk-3.5.2.jar" resource="plugins/${swtjarpath}" />
+ <symlink link="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/swt-gtk.jar" resource="plugins/${swtjarpath}" />
+ <symlink link="${destDir}/${prefix}/${libDir}/%%PORTNAME%%/swt.jar" resource="plugins/${swtjarpath}" />
+
+ <echo append="true" file="${destDir}${prefix}/${libDir}/%%PORTNAME%%/eclipse.ini" message="-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=${prefix}/share/%%PORTNAME%%/dropins" />
<fileset dir="${installationDir}/plugins" includes="org.eclipse.equinox.launcher_*" id="startupjar" />
@@ -938,7 +949,7 @@
<symlink link="${installationDir}/swt-gtk.jar" resource="plugins/${swtjarpath}" />
<symlink link="${installationDir}/swt.jar" resource="plugins/${swtjarpath}" />
- <echo append="true" file="${installationDir}/eclipse.ini" message="-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=${prefix}/share/eclipse/dropins" />
+ <echo append="true" file="${installationDir}/eclipse.ini" message="-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=${prefix}/share/%%PORTNAME%%/dropins" />
<!-- Extract SWT JNI .so files -->
<java classname="org.eclipse.core.launcher.Main" fork="true" failonerror="true" dir="${destDir}">
@@ -990,8 +1001,8 @@
<arg value="s@/@_@g" />
</exec>
<apply executable="sed" failonerror="true" verbose="true">
- <arg value="-i" />
- <arg value="\@${destDir}@d;\@${destDirWithUnderscores}@d;\@${reposourceWithUnderscores}@d;\@${provisionDirWithUnderscores}@d" />
+ <arg value="-i.bak" />
+ <arg value="\@${reposourceWithUnderscores}@d;\@${provisionDirWithUnderscores}@d" />
<srcfile />
<fileset dir="${installationDir}">
<include name="metadata/content.xml" />
@@ -1012,7 +1023,7 @@
</fileset>
</apply>
<apply executable="sed" failonerror="true" verbose="true">
- <arg value="-i" />
+ <arg value="-i.bak" />
<arg value="s@${provisionDir}@${installationDir}@g;s@${installationDir}@${prefix}/${libDir}/eclipse@g" />
<srcfile />
<fileset dir="${installationDir}/${profileDir}">
@@ -1027,9 +1038,11 @@
</apply>
<!-- Move config file to /etc -->
+ <!--
<mkdir dir="${destDir}/etc" />
<move file="${destDir}${prefix}/${libDir}/eclipse/eclipse.ini" tofile="${destDir}/etc/eclipse.ini" />
<symlink link="${destDir}${prefix}/${libDir}/eclipse/eclipse.ini" resource="/etc/eclipse.ini" />
-
<move file="${installationDir}/eclipse.ini" tofile="${destDir}/etc/eclipse.ini" />
<symlink link="${installationDir}/eclipse.ini" resource="/etc/eclipse.ini" />
+ -->
+
</target>
<target name="package.extract.swt">
--- eclipse-build-0.5.0.orig/pdebuild/eclipse-pdebuild.sh 2009-11-11 07:59:07.000000000 -0500
+++ eclipse-build-0.5.0/pdebuild/eclipse-pdebuild.sh 2009-12-23 16:23:06.357147407 -0500
@@ -230,7 +230,7 @@
@ -190,16 +231,22 @@ $FreeBSD$
if [ "x$zipDeps" != "x" ]; then
--- eclipse-build-0.5.0.orig/pdebuild.properties 2009-10-01 08:58:04.000000000 -0400
+++ eclipse-build-0.5.0/pdebuild.properties 2009-12-23 16:23:06.358151430 -0500
@@ -5,7 +5,7 @@
@@ -1,11 +1,11 @@
buildArch=x86
ws=gtk
-os=linux
+os=freebsd
buildId=M20100211-1343
buildTag=vM20100211-1343
label=3.5.2
-label=3.6.0
-bootclasspath=/usr/lib/jvm/java/jre/lib/rt.jar:/usr/lib/jvm/java/jre/lib/jce.jar:/usr/lib/jvm/default-java/jre/lib/rt.jar:/usr/lib/jvm/default-java/jre/lib/jce.jar
+label=3.6.1
+bootclasspath=%%BOOTCLASSPATH%%
#build.compiler=org.eclipse.jdt.core.JDTCompilerAdapter
javacFailOnError=true
@@ -28,21 +28,21 @@
@@ -29,21 +29,21 @@
CDC-1.1/PersonalBasis-1.1=${bootclasspath}
CDC-1.1/PersonalJava-1.1=${bootclasspath}
# Somehow bootclasspath isn't expanded when used by antRunner
@ -250,3 +297,15 @@ $FreeBSD$
</java>
<taskdef name="eclipse.versionReplacer"
classname="org.eclipse.pde.internal.build.tasks.GenericVersionReplacer"
--- eclipse-build-0.6.1/eclipse.desktop.orig Tue Sep 29 23:34:41 2009
+++ eclipse-build-0.6.1/eclipse.desktop Tue Oct 26 15:24:36 2010
@@ -2,7 +2,7 @@
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
-Icon=eclipse
-Exec=eclipse
+Icon=%%PORTNAME%%
+Exec=%%PORTNAME%%
Terminal=false
Categories=Development;IDE;Java;