/hg/icedtea7: 3 new changesets

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Mon Jun 2 19:36:13 UTC 2014


changeset 7c83a4e3c373 in /hg/icedtea7
details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=7c83a4e3c373
author: Andrew John Hughes <gnu_andrew at member.fsf.org>
date: Mon Jun 02 18:59:06 2014 +0100

	PR1807: Support Debian/Ubuntu 7 OpenJDK Install as Boot JDK

	2014-06-02  Andrew John Hughes  <gnu.andrew at member.fsf.org>

		PR1807: Support Debian/Ubuntu 7 OpenJDK
		Install as Boot JDK
		* NEWS: Updated.
		* acinclude.m4:
		(IT_CHECK_FOR_JDK): Add java-7-openjdk
		to ICEDTEA7_VMS.


changeset 6dae67d3ac69 in /hg/icedtea7
details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=6dae67d3ac69
author: Andrew John Hughes <gnu_andrew at member.fsf.org>
date: Mon Jun 02 19:48:26 2014 +0100

	PR1365: Replace hgforest support

	2014-06-02  Andrew John Hughes  <gnu.andrew at member.fsf.org>

		* INSTALL:
		Remove documentation of --with-project as
		option is being removed.
		* Makefile.am:
		(OPENJDK_HG_URL): Removed.
		(CVMI_HG_URL): Likewise.
		(CLOSURES_HG_URL): Likewise.
		(CACIOCAVALLO_HG_URL): Likewise.
		(BSD_HG_URL): Likewise.
		(NIO2_HG_URL): Likewise.
		(REV_ARG): Added and set conditionally if
		$(HGREV) is set.
		(clean-local): Drop clean-hgforest.
		(hgforest): Removed.
		(clean-hgforest): Likewise.
		(download-openjdk): Remove project conditionals.
		Replace fclone usage with multiple clone calls.
		* NEWS: Updated.
		* acinclude.m4:
		(IT_ENABLE_HG): Drop IT_WITH_PROJECT dependency
		and simply to yes/no.
		(IT_WITH_PROJECT): Removed.
		* configure.ac: Drop IT_WITH_PROJECT.


changeset 51d5f1e9310b in /hg/icedtea7
details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=51d5f1e9310b
author: Andrew John Hughes <gnu_andrew at member.fsf.org>
date: Mon Jun 02 20:35:33 2014 +0100

	PR1814: HotSpot URL should be used with --enable-hg

	2014-06-02  Andrew John Hughes  <gnu.andrew at member.fsf.org>

		PR1814: HotSpot URL should be used with --enable-hg
		* Makefile.am:
		(.PHONY): Add clean-download-hotspot.
		(download); Depend on download-hotspot.
		(clean-download): Move clean-download-nashorn
		to clean-download-openjdk to retain ordering.
		(download-openjdk): Remove hotspot from for loop
		and HotSpot zip download rules.
		(clean-download-openjdk): Depend on clean-download-hotspot.
		(download-hotspot): New target. Cloning now uses HS_URL
		as with zip downloading.
		(clean-download-hotspot): Separated from clean-download-openjdk.
		(extract-hotspot): Depend on download-hotspot.
		* NEWS: Updated.


diffstat:

 ChangeLog    |   53 ++++++++++++++++++++++
 INSTALL      |    3 -
 Makefile.am  |  142 ++++++++++++++++++++++------------------------------------
 NEWS         |    3 +
 acinclude.m4 |   45 +-----------------
 configure.ac |    1 -
 6 files changed, 114 insertions(+), 133 deletions(-)

diffs (408 lines):

diff -r 61916c3ad26e -r 51d5f1e9310b ChangeLog
--- a/ChangeLog	Thu May 15 12:17:33 2014 +0100
+++ b/ChangeLog	Mon Jun 02 20:35:33 2014 +0100
@@ -1,3 +1,56 @@
+2014-06-02  Andrew John Hughes  <gnu.andrew at member.fsf.org>
+
+	PR1814: HotSpot URL should be used with --enable-hg
+	* Makefile.am:
+	(.PHONY): Add clean-download-hotspot.
+	(download); Depend on download-hotspot.
+	(clean-download): Move clean-download-nashorn
+	to clean-download-openjdk to retain ordering.
+	(download-openjdk): Remove hotspot from for loop
+	and HotSpot zip download rules.
+	(clean-download-openjdk): Depend on clean-download-hotspot.
+	(download-hotspot): New target. Cloning now uses HS_URL
+	as with zip downloading.
+	(clean-download-hotspot): Separated from clean-download-openjdk.
+	(extract-hotspot): Depend on download-hotspot.
+	* NEWS: Updated.
+
+2014-06-02  Andrew John Hughes  <gnu.andrew at member.fsf.org>
+
+	PR1365: Replace hgforest support
+	* INSTALL:
+	Remove documentation of --with-project as
+	option is being removed.
+	* Makefile.am:
+	(OPENJDK_HG_URL): Removed.
+	(CVMI_HG_URL): Likewise.
+	(CLOSURES_HG_URL): Likewise.
+	(CACIOCAVALLO_HG_URL): Likewise.
+	(BSD_HG_URL): Likewise.
+	(NIO2_HG_URL): Likewise.
+	(REV_ARG): Added and set conditionally if
+	$(HGREV) is set.
+	(clean-local): Drop clean-hgforest.
+	(hgforest): Removed.
+	(clean-hgforest): Likewise.
+	(download-openjdk): Remove project conditionals.
+	Replace fclone usage with multiple clone calls.
+	* NEWS: Updated.
+	* acinclude.m4:
+	(IT_ENABLE_HG): Drop IT_WITH_PROJECT dependency
+	and simply to yes/no.
+	(IT_WITH_PROJECT): Removed.
+	* configure.ac: Drop IT_WITH_PROJECT.
+
+2014-06-02  Andrew John Hughes  <gnu.andrew at member.fsf.org>
+
+	PR1807: Support Debian/Ubuntu 7 OpenJDK
+	Install as Boot JDK
+	* NEWS: Updated.
+	* acinclude.m4:
+	(IT_CHECK_FOR_JDK): Add java-7-openjdk
+	to ICEDTEA7_VMS.
+
 2014-05-14  Andrew John Hughes  <gnu.andrew at member.fsf.org>
 
 	PR1765: Boot JDK on ppc64le uses differently named
diff -r 61916c3ad26e -r 51d5f1e9310b INSTALL
--- a/INSTALL	Thu May 15 12:17:33 2014 +0100
+++ b/INSTALL	Mon Jun 02 20:35:33 2014 +0100
@@ -175,9 +175,6 @@
 * --with-abs-install-dir: The final install location of the j2sdk-image, for use in the SystemTap tapset.
 * --with-llvm-config: Specify the location of the llvm-config binary.
 * --with-version-suffix: Appends the given text to the JDK version output.
-* --with-project: Build an OpenJDK project from the following: icedtea, jdk7, closures, cvmi, cacaiocavallo,
-  bsd, nio2.  The default is icedtea.  Use of others is at the user's risk and builds may fail.  This setting
-  affects which forest is checked out when --enable-hg is used and the set of patches applied.
 * --with-hotspot-build: The HotSpot to use, defaulting to 'original' i.e. hs14 as bundled with OpenJDK.
 * --with-pax: The command used to PaX-mark built binaries.
 * --enable-Werror: Turn gcc & javac warnings into errors.
diff -r 61916c3ad26e -r 51d5f1e9310b Makefile.am
--- a/Makefile.am	Thu May 15 12:17:33 2014 +0100
+++ b/Makefile.am	Mon Jun 02 20:35:33 2014 +0100
@@ -32,12 +32,6 @@
 
 ICEDTEA_PREFIX = icedtea7-forest
 ICEDTEA_HG_URL = http://icedtea.classpath.org/hg/$(ICEDTEA_PREFIX)
-OPENJDK_HG_URL = http://hg.openjdk.java.net/jdk7/jdk7
-CVMI_HG_URL = http://hg.openjdk.java.net/cvmi/cvmi/
-CLOSURES_HG_URL = http://hg.openjdk.java.net/closures/closures/
-CACIOCAVALLO_HG_URL = http://hg.openjdk.java.net/caciocavallo/jdk7/
-BSD_HG_URL = http://hg.openjdk.java.net/bsd-port/bsd-port
-NIO2_HG_URL = http://hg.openjdk.java.net/nio/nio/
 
 OPENJDK_URL = $(ICEDTEA_HG_URL)
 CORBA_URL = $(ICEDTEA_HG_URL)/corba
@@ -172,6 +166,10 @@
   HOTSPOT_SRC_ZIP = hotspot.tar.gz
 endif
 
+if WITH_HGREV
+REV_ARG = -r $(HGREV)
+endif
+
 if ENABLE_PULSE_JAVA
 PULSE_JAVA_TARGET = stamps/pulse-java.stamp
 endif
@@ -790,7 +788,7 @@
  clean-icedtea clean-icedtea-boot clean-clone clean-clone-boot \
  clean-bootstrap-directory-stage1 clean-bootstrap-directory-stage2 \
  clean-bootstrap-directory-symlink-stage1 clean-bootstrap-directory-symlink-stage2 \
- clean-extract clean-generated clean-native-ecj clean-hgforest clean-icedtea-stage2 \
+ clean-extract clean-generated clean-native-ecj clean-icedtea-stage2 \
  clean-icedtea-debug-stage2 clean-icedtea-stage1 clean-add-zero clean-add-zero-debug \
  clean-add-cacao clean-add-cacao-debug clean-rt clean-rewrite-rhino clean-rewriter \
  clean-add-systemtap clean-add-systemtap-debug clean-add-pulseaudio clean-add-pulseaudio-debug \
@@ -829,7 +827,8 @@
 	clean-add-nss clean-add-tzdata-support clean-add-tzdata-support-debug \
 	clean-add-systemtap-boot clean-add-pulseaudio-boot clean-add-tzdata-support-boot \
 	clean-check-crypto clean-check-crypto-debug clean-check-crypto-boot \
-	clean-add-archive clean-add-archive-debug clean-add-archive-boot clean-cryptocheck
+	clean-add-archive clean-add-archive-debug clean-add-archive-boot clean-cryptocheck \
+	clean-download-hotspot
 
 env:
 	@echo 'unset JAVA_HOME'
@@ -859,59 +858,24 @@
 # OpenJDK Source Preparation Targets
 # ==================================
 
-# Check for forest support
-
-stamps/hgforest.stamp:
-if USE_HG
-	if ! $(HG) fclone -h; \
-          then \
-          echo "No forest extension found. Please refer to" \
-            "http://selenic.com/mercurial/wiki/index.cgi/ForestExtension"; \
-          exit 1; \
-        fi;
-endif
-	mkdir -p stamps 
-	touch $@
-
-clean-hgforest:
-	rm -f stamps/hgforest.stamp
-
 # Download OpenJDK sources.
 
 stamps/download.stamp: stamps/download-openjdk.stamp \
- stamps/download-cacao.stamp stamps/download-jamvm.stamp
+ stamps/download-cacao.stamp stamps/download-jamvm.stamp stamps/download-hotspot.stamp
 	mkdir -p stamps
 	touch $@
 
 clean-download: clean-download-openjdk clean-download-cacao clean-download-jamvm
 	rm -f stamps/download.stamp
 
-stamps/download-openjdk.stamp: stamps/hgforest.stamp
-if !OPENJDK_SRC_DIR_FOUND
-if USE_CLOSURES
-	$(HG) fclone $(CLOSURES_HG_URL) openjdk; 
-else
-if USE_CVMI
-	$(HG) fclone $(CVMI_HG_URL) openjdk; 
-else
-if USE_CACIOCAVALLO
-	$(HG) fclone $(CACIOCAVALLO_HG_URL) openjdk;
-else
-if USE_BSD
-	$(HG) fclone $(BSD_HG_URL) openjdk;
-else
-if USE_NIO2
-	hg fclone $(NIO2_HG_URL) openjdk;
-else
-if USE_JDK7
-	hg fclone $(OPENJDK_HG_URL) openjdk;
+stamps/download-openjdk.stamp:
+if OPENJDK_SRC_DIR_FOUND
 else
 if USE_HG
-if WITH_HGREV
-	$(HG) fclone -r $(HGREV) $(ICEDTEA_HG_URL) openjdk;
-else
-	$(HG) fclone $(ICEDTEA_HG_URL) openjdk;
-endif
+	$(HG) clone $(REV_ARG) $(ICEDTEA_HG_URL) openjdk;
+	for repos in corba jaxp jaxws langtools jdk ; do \
+	  $(HG) clone $(REV_ARG) $(ICEDTEA_HG_URL)/$${repos} openjdk/$${repos}; \
+	done
 else
 if USE_ALT_OPENJDK_SRC_ZIP
 	ln -sf $(ALT_OPENJDK_SRC_ZIP) $(OPENJDK_SRC_ZIP)
@@ -1027,38 +991,12 @@
 	    echo "ERROR: No up-to-date OpenJDK langtools zip available"; exit -1; \
 	  fi ; \
 	fi ;
-if USE_ALT_HOTSPOT_SRC_ZIP
-	ln -sf $(ALT_HOTSPOT_SRC_ZIP) $(HOTSPOT_SRC_ZIP)
-endif
-	echo "Using HotSpot build: ${HSBUILD}"
-	if ! echo "$(HS_SHA256SUM)  $(HOTSPOT_SRC_ZIP)" \
-	  | $(SHA256SUM) --check ; \
-	then \
-	  if test "x$(enable_downloading)" = "xyes"; then \
-	    if [ -e $(HOTSPOT_SRC_ZIP) ] ; then \
-	      mv $(HOTSPOT_SRC_ZIP) $(HOTSPOT_SRC_ZIP).old ; \
-	    fi ; \
-	    $(WGET) $(HS_URL)/archive/$(HS_CHANGESET).tar.gz -O $(HOTSPOT_SRC_ZIP) ; \
-	    if ! echo "$(HS_SHA256SUM)  $(HOTSPOT_SRC_ZIP)" \
-	      | $(SHA256SUM) --check ; then \
-	      echo "ERROR: Bad download of HotSpot zip"; false; \
-	    fi; \
-	  else \
-	    echo "ERROR: No up-to-date OpenJDK HotSpot zip available"; exit -1; \
-	  fi ; \
-	fi
-endif
-endif
-endif
-endif
-endif
-endif
 endif
 endif
 	mkdir -p stamps
 	touch $@
 
-clean-download-openjdk:
+clean-download-openjdk: clean-download-hotspot
 	if [ ! -z $(OPENJDK_SRC_ZIP) ] ; then \
 	  rm -f $(OPENJDK_SRC_ZIP) ; \
 	fi
@@ -1077,9 +1015,6 @@
 	if [ ! -z $(LANGTOOLS_SRC_ZIP) ] ; then \
 	  rm -f $(LANGTOOLS_SRC_ZIP) ; \
 	fi
-	if [ ! -z $(HOTSPOT_SRC_ZIP) ] ; then \
-	  rm -f $(HOTSPOT_SRC_ZIP) ; \
-	fi
 	rm -f stamps/download-openjdk.stamp
 
 stamps/download-cacao.stamp:
@@ -1145,6 +1080,43 @@
 	rm -f $(JAMVM_SRC_ZIP)
 	rm -f stamps/download-jamvm.stamp
 
+stamps/download-hotspot.stamp: stamps/download-openjdk.stamp
+if OPENJDK_SRC_DIR_FOUND
+else
+if USE_HG
+	$(HG) clone $(REV_ARG) $(HS_URL) openjdk/hotspot
+else
+if USE_ALT_HOTSPOT_SRC_ZIP
+	ln -sf $(ALT_HOTSPOT_SRC_ZIP) $(HOTSPOT_SRC_ZIP)
+endif
+	echo "Using HotSpot build: ${HSBUILD}"
+	if ! echo "$(HS_SHA256SUM)  $(HOTSPOT_SRC_ZIP)" \
+	  | $(SHA256SUM) --check ; \
+	then \
+	  if test "x$(enable_downloading)" = "xyes"; then \
+	    if [ -e $(HOTSPOT_SRC_ZIP) ] ; then \
+	      mv $(HOTSPOT_SRC_ZIP) $(HOTSPOT_SRC_ZIP).old ; \
+	    fi ; \
+	    $(WGET) $(HS_URL)/archive/$(HS_CHANGESET).tar.gz -O $(HOTSPOT_SRC_ZIP) ; \
+	    if ! echo "$(HS_SHA256SUM)  $(HOTSPOT_SRC_ZIP)" \
+	      | $(SHA256SUM) --check ; then \
+	      echo "ERROR: Bad download of HotSpot zip"; false; \
+	    fi; \
+	  else \
+	    echo "ERROR: No up-to-date OpenJDK HotSpot zip available"; exit -1; \
+	  fi ; \
+	fi
+endif
+endif
+	mkdir -p stamps
+	touch $@
+
+clean-download-hotspot:
+	if [ ! -z $(HOTSPOT_SRC_ZIP) ] ; then \
+	  rm -f $(HOTSPOT_SRC_ZIP) ; \
+	fi
+	rm -f stamps/download-hotspot.stamp
+
 stamps/extract.stamp: stamps/extract-openjdk.stamp \
  stamps/extract-cacao.stamp stamps/remove-intree-libraries.stamp \
  stamps/extract-jamvm.stamp stamps/extract-hotspot.stamp stamps/sanitise-openjdk.stamp
@@ -1250,7 +1222,7 @@
 	rm -rf openjdk
 	rm -f stamps/extract-openjdk.stamp
 
-stamps/extract-hotspot.stamp: stamps/extract-openjdk.stamp
+stamps/extract-hotspot.stamp: stamps/extract-openjdk.stamp stamps/download-hotspot.stamp
 	set -e ; \
 	if [ ! -z $(HOTSPOT_SRC_ZIP) ] ; then \
 	  if test -e ${HOTSPOT_SRC_ZIP} ; \
@@ -2756,14 +2728,10 @@
 
 download-cacao: stamps/download-cacao.stamp
 
+download-hotspot: stamps/download-hotspot.stamp
+
 download-jamvm: stamps/download-jamvm.stamp
 
-download-jaf-drop: stamps/download-jaf-drop.stamp
-
-download-jaxp-drop: stamps/download-jaxp-drop.stamp
-
-download-jaxws-drop: stamps/download-jaxws-drop.stamp
-
 download-openjdk: stamps/download-openjdk.stamp
 
 extract: stamps/extract.stamp
diff -r 61916c3ad26e -r 51d5f1e9310b NEWS
--- a/NEWS	Thu May 15 12:17:33 2014 +0100
+++ b/NEWS	Mon Jun 02 20:35:33 2014 +0100
@@ -184,6 +184,9 @@
   - PR1762: Undefined references when building with NSS 3.16.1
   - PR1763: ppc64 JIT doesn't support class data sharing
   - PR1765: Boot JDK on ppc64le uses differently named arch directory to final build
+  - PR1807: Support Debian/Ubuntu 7 OpenJDK Install as Boot JDK
+  - PR1365: Replace hgforest support
+  - PR1814: HotSpot URL should be used with --enable-hg
 
 New in release 2.5.0 (2014-XX-XX):
 
diff -r 61916c3ad26e -r 51d5f1e9310b acinclude.m4
--- a/acinclude.m4	Thu May 15 12:17:33 2014 +0100
+++ b/acinclude.m4	Mon Jun 02 20:35:33 2014 +0100
@@ -859,10 +859,9 @@
 
 AC_DEFUN([IT_ENABLE_HG],
 [
-  AC_REQUIRE([IT_WITH_PROJECT])
   AC_MSG_CHECKING(whether to retrieve the source code from Mercurial)
   AC_ARG_ENABLE([hg],
-                [AS_HELP_STRING(--enable-hg,download source code from Mercurial [[default=depends on project]])],
+                [AS_HELP_STRING(--enable-hg,download source code from Mercurial [[default=no]])],
   [
     case "${enableval}" in
       no)
@@ -874,14 +873,7 @@
     esac
   ],
   [
-    case "${project}" in
-      icedtea)
-        enable_hg=no
-        ;;
-      *)
-        enable_hg=yes
-        ;;
-    esac
+    enable_hg=no
   ])
   AC_MSG_RESULT([${enable_hg}])
   AM_CONDITIONAL([USE_HG], test x"${enable_hg}" = "xyes")
@@ -915,37 +907,6 @@
   AC_SUBST(VERSION_SUFFIX, $version_suffix)
 ])
 
-AC_DEFUN([IT_WITH_PROJECT],
-[
-  AC_MSG_CHECKING(which OpenJDK project is being used)
-  AC_ARG_WITH([project],
-              [AS_HELP_STRING(--with-project=PROJECT,choose the OpenJDK project to use: icedtea jdk7 closures cvmi caciocavallo bsd nio2 [[PROJECT=icedtea]])],
-  [
-    case "${withval}" in
-      yes)
-	project=icedtea
-        ;;
-      no)
-	AC_MSG_ERROR([argument passed to --with-project should be a supported OpenJDK project (see help)])
-	;;
-      *)
-        project=${withval}
-        ;;
-    esac
-  ],
-  [
-    project=icedtea
-  ])
-  AC_MSG_RESULT([${project}])
-  AC_SUBST(PROJECT_NAME, $project)
-  AM_CONDITIONAL([USE_CLOSURES], test x"${project}" = "xclosures")
-  AM_CONDITIONAL([USE_CVMI], test x"${project}" = "xcvmi")
-  AM_CONDITIONAL([USE_CACIOCAVALLO], test x"${project}" = "xcaciocavallo")
-  AM_CONDITIONAL([USE_BSD], test x"${project}" = "xbsd")
-  AM_CONDITIONAL([USE_NIO2], test x"${project}" = "xnio2")
-  AM_CONDITIONAL([USE_JDK7], test x"${project}" = "xjdk7")
-])
-
 AC_DEFUN_ONCE([IT_WITH_GCJ],
 [
   AC_MSG_CHECKING([whether to compile ecj natively])
@@ -1183,7 +1144,7 @@
 		  /usr/lib/jvm/java-1.6.0"
     ICEDTEA7_VMS="/usr/lib/jvm/icedtea-7 /usr/lib/jvm/icedtea7 /usr/lib/jvm/java-1.7.0-openjdk
     		  /usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib64/jvm/java-1.7.0-openjdk
-		  /usr/lib/jvm/java-1.7.0"
+		  /usr/lib/jvm/java-1.7.0 /usr/lib/jvm/java-7-openjdk"
     for dir in ${BOOTSTRAP_VMS} ${ICEDTEA7_VMS} ${ICEDTEA6_VMS} \
     	       /usr/lib/jvm/java-openjdk /usr/lib/jvm/openjdk /usr/lib/jvm/java-icedtea \
 	       /etc/alternatives/java_sdk_openjdk ; do
diff -r 61916c3ad26e -r 51d5f1e9310b configure.ac
--- a/configure.ac	Thu May 15 12:17:33 2014 +0100
+++ b/configure.ac	Mon Jun 02 20:35:33 2014 +0100
@@ -180,7 +180,6 @@
 IT_ENABLE_ARM32JIT
 
 IT_WITH_VERSION_SUFFIX
-IT_WITH_PROJECT
 IT_ENABLE_HG
 IT_WITH_TZDATA_DIR
 


More information about the distro-pkg-dev mailing list