pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/openjdk7 Might as well import this now to let a w...
details: https://anonhg.NetBSD.org/pkgsrc/rev/503686d21862
branches: trunk
changeset: 400244:503686d21862
user: tnn <tnn%pkgsrc.org@localhost>
date: Wed Oct 14 11:26:15 2009 +0000
description:
Might as well import this now to let a wider audience experiment with it.
This is openjdk 1.7.0 b72 + bsd-port. From pkgsrc-wip.
diffstat:
lang/openjdk7/DESCR | 8 +
lang/openjdk7/Makefile | 143 +++++
lang/openjdk7/PLIST | 1057 +++++++++++++++++++++++++++++++++++++++
lang/openjdk7/bootstrap.mk | 45 +
lang/openjdk7/buildlink3.mk | 13 +
lang/openjdk7/distinfo | 58 ++
lang/openjdk7/icedtea-extras.mk | 71 ++
lang/openjdk7/patches/patch-aa | 14 +
lang/openjdk7/patches/patch-ab | 14 +
lang/openjdk7/patches/patch-ac | 21 +
lang/openjdk7/patches/patch-ad | 16 +
lang/openjdk7/patches/patch-ae | 15 +
lang/openjdk7/patches/patch-af | 15 +
lang/openjdk7/patches/patch-ag | 13 +
lang/openjdk7/patches/patch-ah | 16 +
lang/openjdk7/patches/patch-ai | 21 +
lang/openjdk7/patches/patch-aj | 16 +
lang/openjdk7/patches/patch-am | 13 +
lang/openjdk7/patches/patch-an | 12 +
lang/openjdk7/patches/patch-ao | 14 +
lang/openjdk7/patches/patch-ap | 40 +
lang/openjdk7/patches/patch-aq | 17 +
lang/openjdk7/patches/patch-ar | 13 +
lang/openjdk7/patches/patch-as | 59 ++
lang/openjdk7/patches/patch-at | 13 +
lang/openjdk7/patches/patch-au | 13 +
lang/openjdk7/patches/patch-av | 22 +
27 files changed, 1772 insertions(+), 0 deletions(-)
diffs (truncated from 1880 to 300 lines):
diff -r ecc3461afad8 -r 503686d21862 lang/openjdk7/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/openjdk7/DESCR Wed Oct 14 11:26:15 2009 +0000
@@ -0,0 +1,8 @@
+Open-source implementation of the Java Platform, Standard Edition.
+
+This package is NOT certified to be compatible with any Java standard.
+Use at own risk.
+
+Mandatory trademark notice:
+ "OpenJDK is a trademark or registered trademark of Sun Microsystems,
+ Inc. in the United States and other countries."
diff -r ecc3461afad8 -r 503686d21862 lang/openjdk7/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/openjdk7/Makefile Wed Oct 14 11:26:15 2009 +0000
@@ -0,0 +1,143 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/14 11:26:15 tnn Exp $
+
+DISTNAME= openjdk-7-ea-src-b72-17_sep_2009
+PKGNAME= openjdk7-1.7.0.72.20090924
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_LOCAL:=openjdk7/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tnn%NetBSD.org@localhost
+HOMEPAGE= http://openjdk.java.net/
+COMMENT= Open-source implementation of the Java Platform, Standard Edition
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DISTFILES= ${DEFAULT_DISTFILES}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+# diff between distfile and bsd-port branch. To check out, use:
+# "hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port/"
+PATCHFILES+= jdk-7-bsd-port-72.20090924.diff.bz2
+PATCH_SITES+= ${MASTER_SITE_LOCAL:=openjdk7/}
+
+CACERTS= cacerts-20091013.tar.bz2
+DISTFILES+= ${CACERTS}
+EXTRACT_ONLY+= ${CACERTS}
+
+JAVA_NAME= openjdk7
+JAVA_HOME= ${PREFIX}/java/${JAVA_NAME}
+JAVA_WRAPPERS= jar java javac javadoc javah javap keytool orbd \
+ policytool rmid rmiregistry servertool tnameserv
+
+BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip
+BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip
+MAKE_ENV+= PKGSRC_ZIPEXE=${PREFIX}/bin/zip
+MAKE_ENV+= PKGSRC_UNZIP=${PREFIX}/bin/unzip
+MAKE_ENV+= PKGSRC_UNZIPSFX=${PREFIX}/bin/unzipsfv
+
+NO_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake pax
+UNLIMIT_RESOURCES= datasize stacksize
+WRKSRC= ${WRKDIR}/openjdk
+
+BUILDLINK_PASSTHRU_DIRS+= ${ALT_BOOTDIR}
+PREPEND_PATH+= ${ALT_BOOTDIR}/bin
+
+MAKE_ENV+= ALT_BOOTDIR=${ALT_BOOTDIR}
+MAKE_ENV+= ALT_FREETYPE_LIB_PATH=${BUILDLINK_PREFIX.freetype2}/lib
+MAKE_ENV+= ALT_FREETYPE_HEADERS_PATH=${BUILDLINK_PREFIX.freetype2}/include
+MAKE_ENV+= ALT_CUPS_HEADERS_PATH=${BUILDLINK_PREFIX.cups}/include
+MAKE_ENV+= ALT_COMPILER_PATH=${WRAPPER_DIR}/bin
+MAKE_ENV+= ALT_X11_PATH=${X11BASE}
+
+MAKE_ENV+= ALT_PARALLEL_COMPILE_JOBS=${MAKE_JOBS:U1}
+
+MAKE_ENV+= HOTSPOT_BUILD_USER=pkgsrc
+MAKE_ENV+= NO_DOCS=true
+MAKE_ENV+= SKIP_COMPARE_IMAGES=true
+MAKE_ENV+= SKIP_FASTDEBUG_BUILD=yes
+MAKE_ENV+= SKIP_DEBUG_BUILD=yes
+
+BUILDDIR= ${WRKSRC}/build/${OPSYS:C/.*BSD/bsd/}-${MACHINE_ARCH:S/i386/i586/:S/x86_64/amd64/}
+PLIST_SUBST+= ARCH=${MACHINE_ARCH:S/x86_64/amd64/}
+PLIST_SUBST+= LOWER_OPSYS=${LOWER_OPSYS}
+
+.include "../../mk/bsd.prefs.mk"
+.include "bootstrap.mk"
+.include "icedtea-extras.mk"
+
+SUBST_CLASSES+= add-rpaths
+SUBST_STAGE.add-rpaths= pre-build
+SUBST_MESSAGE.add-rpaths= adding X11 run path flags to Makefiles
+SUBST_FILES.add-rpaths= jdk/make/sun/awt/Makefile \
+ jdk/make/sun/awt/mawt.gmk \
+ jdk/make/sun/jawt/Makefile \
+ jdk/make/sun/jdga/Makefile \
+ jdk/make/sun/splashscreen/Makefile \
+ jdk/make/sun/xawt/Makefile
+SUBST_SED.add-rpaths= -e 's|-L$$(OPENWIN_LIB)|-L$$(OPENWIN_LIB) -Wl,-R$$(OPENWIN_LIB)|g'
+
+PLIST_VARS+= i386
+.if ${MACHINE_ARCH} == "i386"
+PLIST.i386= yes
+.endif
+
+post-extract:
+ chmod +x ${ANT_BIN}/ant
+ cd ${WRKDIR}/${ICEDTEA}/plugin/icedteanp/java && pax -rw . \
+ ${WRKSRC}/jdk/src/share/classes
+ cd ${WRKDIR}/${ICEDTEA}/netx && pax -rw . \
+ ${WRKSRC}/jdk/src/share/classes
+
+do-build: ${WRKDIR}/stage3-done
+
+# stage 1 builds a native JDK using the bootstrap binaries
+${WRKDIR}/stage1-done:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
+ rm -rf ${WRKDIR}/bootstrap
+ cd ${BUILDDIR} && mv j2sdk-image ${WRKDIR}/bootstrap
+ rm -rf ${BUILDDIR}
+ touch ${WRKDIR}/stage1-done
+
+# stage 2 rebuilds the JDK using native tools
+${WRKDIR}/stage2-done: ${WRKDIR}/stage1-done
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
+ touch ${BUILDDIR}/j2sdk-image/jre/lib/applet/.keep
+ touch ${WRKDIR}/stage2-done
+
+# stage 3 builds third party add-ons
+${WRKDIR}/stage3-done: ${WRKDIR}/stage2-done ${WRKDIR}/cacerts.out
+ touch ${WRKDIR}/stage3-done
+
+${WRKDIR}/cacerts.out:
+ for cert in ${WRKDIR}/cacerts/*.crt; do \
+ ${ECHO} yes | ${BUILDDIR}/bin/keytool \
+ -importcert \
+ -keystore ${.TARGET} \
+ -alias `${ECHO} $$cert | sed 's,.*/\\([^/]*\\)\\.crt,\\1,'` \
+ -file $$cert \
+ -storepass pkgsrc; \
+ done
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${JAVA_HOME}
+ cd ${BUILDDIR}/j2sdk-image && pax -rwpp . \
+ ${DESTDIR}${JAVA_HOME}/.
+ ${INSTALL_DATA} ${WRKDIR}/cacerts.out \
+ ${DESTDIR}${JAVA_HOME}/jre/lib/security/cacerts
+
+.include "../../graphics/freetype2/buildlink3.mk"
+BUILDLINK_DEPMETHOD.cups?= build
+.include "../../print/cups/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXi/buildlink3.mk"
+BUILDLINK_DEPMETHOD.libXp?= build
+.include "../../x11/libXp/buildlink3.mk"
+BUILDLINK_DEPMETHOD.libXt?= build
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXtst/buildlink3.mk"
+.include "../../x11/libXrender/buildlink3.mk"
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../mk/java-env.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ecc3461afad8 -r 503686d21862 lang/openjdk7/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/openjdk7/PLIST Wed Oct 14 11:26:15 2009 +0000
@@ -0,0 +1,1057 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/14 11:26:15 tnn Exp $
+bin/openjdk7-jar
+bin/openjdk7-java
+bin/openjdk7-javac
+bin/openjdk7-javadoc
+bin/openjdk7-javah
+bin/openjdk7-javap
+bin/openjdk7-keytool
+bin/openjdk7-orbd
+bin/openjdk7-policytool
+bin/openjdk7-rmid
+bin/openjdk7-rmiregistry
+bin/openjdk7-servertool
+bin/openjdk7-tnameserv
+java/openjdk7/ASSEMBLY_EXCEPTION
+java/openjdk7/LICENSE
+java/openjdk7/THIRD_PARTY_README
+java/openjdk7/bin/appletviewer
+java/openjdk7/bin/apt
+java/openjdk7/bin/extcheck
+java/openjdk7/bin/idlj
+java/openjdk7/bin/jar
+java/openjdk7/bin/jarsigner
+java/openjdk7/bin/java
+${PLIST.i386}java/openjdk7/bin/java-rmi.cgi
+java/openjdk7/bin/javac
+java/openjdk7/bin/javadoc
+java/openjdk7/bin/javah
+java/openjdk7/bin/javap
+java/openjdk7/bin/jconsole
+java/openjdk7/bin/jdb
+java/openjdk7/bin/jhat
+java/openjdk7/bin/jinfo
+java/openjdk7/bin/jmap
+java/openjdk7/bin/jps
+java/openjdk7/bin/jrunscript
+java/openjdk7/bin/jsadebugd
+java/openjdk7/bin/jstack
+java/openjdk7/bin/jstat
+java/openjdk7/bin/jstatd
+java/openjdk7/bin/keytool
+java/openjdk7/bin/native2ascii
+java/openjdk7/bin/orbd
+java/openjdk7/bin/pack200
+java/openjdk7/bin/policytool
+java/openjdk7/bin/rmic
+java/openjdk7/bin/rmid
+java/openjdk7/bin/rmiregistry
+java/openjdk7/bin/schemagen
+java/openjdk7/bin/serialver
+java/openjdk7/bin/servertool
+java/openjdk7/bin/tnameserv
+java/openjdk7/bin/unpack200
+java/openjdk7/bin/wsgen
+java/openjdk7/bin/wsimport
+java/openjdk7/bin/xjc
+java/openjdk7/demo/applets/ArcTest/ArcCanvas.class
+java/openjdk7/demo/applets/ArcTest/ArcControls.class
+java/openjdk7/demo/applets/ArcTest/ArcTest.class
+java/openjdk7/demo/applets/ArcTest/ArcTest.java
+java/openjdk7/demo/applets/ArcTest/IntegerTextField.class
+java/openjdk7/demo/applets/ArcTest/example1.html
+java/openjdk7/demo/applets/BarChart/BarChart.class
+java/openjdk7/demo/applets/BarChart/BarChart.java
+java/openjdk7/demo/applets/BarChart/example1.html
+java/openjdk7/demo/applets/BarChart/example2.html
+java/openjdk7/demo/applets/Blink/Blink$1.class
+java/openjdk7/demo/applets/Blink/Blink.class
+java/openjdk7/demo/applets/Blink/Blink.java
+java/openjdk7/demo/applets/Blink/example1.html
+java/openjdk7/demo/applets/CardTest/CardPanel.class
+java/openjdk7/demo/applets/CardTest/CardTest.class
+java/openjdk7/demo/applets/CardTest/CardTest.java
+java/openjdk7/demo/applets/CardTest/example1.html
+java/openjdk7/demo/applets/Clock/Clock.class
+java/openjdk7/demo/applets/Clock/Clock.java
+java/openjdk7/demo/applets/Clock/example1.html
+java/openjdk7/demo/applets/DitherTest/CardinalTextField.class
+java/openjdk7/demo/applets/DitherTest/DitherCanvas.class
+java/openjdk7/demo/applets/DitherTest/DitherControls.class
+java/openjdk7/demo/applets/DitherTest/DitherTest.class
+java/openjdk7/demo/applets/DitherTest/DitherTest.java
+java/openjdk7/demo/applets/DitherTest/example1.html
+java/openjdk7/demo/applets/DrawTest/DrawControls.class
+java/openjdk7/demo/applets/DrawTest/DrawPanel.class
+java/openjdk7/demo/applets/DrawTest/DrawTest.class
+java/openjdk7/demo/applets/DrawTest/DrawTest.java
+java/openjdk7/demo/applets/DrawTest/example1.html
+java/openjdk7/demo/applets/Fractal/CLSFractal.class
+java/openjdk7/demo/applets/Fractal/CLSFractal.java
+java/openjdk7/demo/applets/Fractal/CLSRule.class
+java/openjdk7/demo/applets/Fractal/CLSTurtle.class
+java/openjdk7/demo/applets/Fractal/ContextLSystem.class
+java/openjdk7/demo/applets/Fractal/example1.html
+java/openjdk7/demo/applets/GraphicsTest/AppletFrame.class
+java/openjdk7/demo/applets/GraphicsTest/AppletFrame.java
+java/openjdk7/demo/applets/GraphicsTest/ArcCard.class
+java/openjdk7/demo/applets/GraphicsTest/ArcDegreePanel.class
+java/openjdk7/demo/applets/GraphicsTest/ArcPanel.class
+java/openjdk7/demo/applets/GraphicsTest/ColorUtils.class
+java/openjdk7/demo/applets/GraphicsTest/GraphicsCards.class
+java/openjdk7/demo/applets/GraphicsTest/GraphicsPanel.class
+java/openjdk7/demo/applets/GraphicsTest/GraphicsTest.class
+java/openjdk7/demo/applets/GraphicsTest/GraphicsTest.java
+java/openjdk7/demo/applets/GraphicsTest/OvalShape.class
+java/openjdk7/demo/applets/GraphicsTest/PolygonShape.class
+java/openjdk7/demo/applets/GraphicsTest/RectShape.class
+java/openjdk7/demo/applets/GraphicsTest/RoundRectShape.class
+java/openjdk7/demo/applets/GraphicsTest/Shape.class
+java/openjdk7/demo/applets/GraphicsTest/ShapeTest.class
+java/openjdk7/demo/applets/GraphicsTest/example1.html
+java/openjdk7/demo/applets/MoleculeViewer/Atom.class
+java/openjdk7/demo/applets/MoleculeViewer/Matrix3D.class
+java/openjdk7/demo/applets/MoleculeViewer/Matrix3D.java
+java/openjdk7/demo/applets/MoleculeViewer/XYZApp.class
+java/openjdk7/demo/applets/MoleculeViewer/XYZApp.java
+java/openjdk7/demo/applets/MoleculeViewer/XYZChemModel.class
+java/openjdk7/demo/applets/MoleculeViewer/example1.html
+java/openjdk7/demo/applets/MoleculeViewer/example2.html
+java/openjdk7/demo/applets/MoleculeViewer/example3.html
+java/openjdk7/demo/applets/MoleculeViewer/models/HyaluronicAcid.xyz
+java/openjdk7/demo/applets/MoleculeViewer/models/benzene.xyz
+java/openjdk7/demo/applets/MoleculeViewer/models/buckminsterfullerine.xyz
+java/openjdk7/demo/applets/MoleculeViewer/models/cyclohexane.xyz
+java/openjdk7/demo/applets/MoleculeViewer/models/ethane.xyz
+java/openjdk7/demo/applets/MoleculeViewer/models/water.xyz
+java/openjdk7/demo/applets/NervousText/NervousText.class
+java/openjdk7/demo/applets/NervousText/NervousText.java
+java/openjdk7/demo/applets/NervousText/example1.html
+java/openjdk7/demo/applets/SimpleGraph/GraphApplet.class
+java/openjdk7/demo/applets/SimpleGraph/GraphApplet.java
+java/openjdk7/demo/applets/SimpleGraph/example1.html
+java/openjdk7/demo/applets/SortDemo/BidirBubbleSortAlgorithm.class
+java/openjdk7/demo/applets/SortDemo/BidirBubbleSortAlgorithm.java
+java/openjdk7/demo/applets/SortDemo/BubbleSortAlgorithm.class
+java/openjdk7/demo/applets/SortDemo/BubbleSortAlgorithm.java
+java/openjdk7/demo/applets/SortDemo/QSortAlgorithm.class
Home |
Main Index |
Thread Index |
Old Index