From owner-svn-ports-all@FreeBSD.ORG Mon Nov 12 18:20:20 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9758CF8; Mon, 12 Nov 2012 18:20:20 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD258FC13; Mon, 12 Nov 2012 18:20:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qACIKKMd075077; Mon, 12 Nov 2012 18:20:20 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qACIKKma075074; Mon, 12 Nov 2012 18:20:20 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201211121820.qACIKKma075074@svn.freebsd.org> From: Jung-uk Kim Date: Mon, 12 Nov 2012 18:20:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r307341 - in branches/RELENG_9_1_0/java/icedtea-web: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2012 18:20:21 -0000 Author: jkim Date: Mon Nov 12 18:20:20 2012 New Revision: 307341 URL: http://svnweb.freebsd.org/changeset/ports/307341 Log: MFH: r307194, r307256 - Update to 1.3.1. - Tidy up dependencies, trim Makefile header, and clean up style. Approved by: portmgr (tabthorpe) Feature safe: yes Modified: branches/RELENG_9_1_0/java/icedtea-web/Makefile branches/RELENG_9_1_0/java/icedtea-web/distinfo branches/RELENG_9_1_0/java/icedtea-web/files/patch-Makefile.in Directory Properties: branches/RELENG_9_1_0/ (props changed) Modified: branches/RELENG_9_1_0/java/icedtea-web/Makefile ============================================================================== --- branches/RELENG_9_1_0/java/icedtea-web/Makefile Mon Nov 12 18:13:42 2012 (r307340) +++ branches/RELENG_9_1_0/java/icedtea-web/Makefile Mon Nov 12 18:20:20 2012 (r307341) @@ -1,13 +1,7 @@ -# New ports collection makefile for: icedtea-web -# Date created: July 11, 2011 -# Whom: Jung-uk Kim -# # $FreeBSD$ -# PORTNAME= icedtea-web -PORTVERSION= 1.3 -PORTREVISION= 1 +PORTVERSION= 1.3.1 CATEGORIES= java www MASTER_SITES= http://icedtea.wildebeest.org/download/source/ \ http://icedtea.classpath.org/download/source/ @@ -17,22 +11,22 @@ COMMENT= A free Java plug-in and Java We LICENSE= GPLv2 +BUILD_DEPENDS= ${LOCALBASE}/bin/zip:${PORTSDIR}/archivers/zip \ + ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash +RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash + GNU_CONFIGURE= yes USE_GMAKE= yes USE_JAVA= yes JAVA_OS= native JAVA_VENDOR= openjdk JAVA_VERSION= 1.6+ +USE_PKGCONFIG= yes USE_PERL5_BUILD=yes USE_XORG= x11 +WANT_GNOME= yes -OPTIONS_DEFINE= PLUGIN RHINO TEST -OPTIONS_DEFAULT=PLUGIN -PLUGIN_DESC= Enable the browser plug-in -RHINO_DESC= Add support for Proxy Auto Config files -TEST_DESC= Add support for running regression test - -.include +EXTRACT_AFTER_ARGS= | ${SETENV} LC_ALL=en_US.UTF-8 ${TAR} -xf - MAN1= itweb-javaws.1 PLIST_FILES= bin/itweb-javaws bin/itweb-settings \ @@ -42,22 +36,24 @@ PLIST_FILES= bin/itweb-javaws bin/itweb- PORTDATA= about.jar about.jnlp netx.jar PORTDOCS= netx -BUILD_DEPENDS+= ${LOCALBASE}/bin/zip:${PORTSDIR}/archivers/zip -RUN_DEPENDS+= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash - -USE_PKGCONFIG= yes - -CONFIGURE_ARGS+=--with-ecj=no --with-jdk-home="${JAVA_HOME}" +CONFIGURE_ARGS= --with-ecj=no --with-jdk-home="${JAVA_HOME}" +SH= ${LOCALBASE}/bin/bash -EXTRACT_AFTER_ARGS= | ${SETENV} LC_ALL=en_US.UTF-8 ${TAR} -xf - +OPTIONS_DEFINE= PLUGIN RHINO TEST +OPTIONS_DEFAULT=PLUGIN +PLUGIN_DESC= Enable the browser plug-in +RHINO_DESC= Add support for Proxy Auto Config files +TEST_DESC= Add support for running regression test -.include +.include .if empty(PORT_OPTIONS:MDOCS) -CONFIGURE_ARGS+= --disable-docs +CONFIGURE_ARGS+=--disable-docs .endif .if ${PORT_OPTIONS:MPLUGIN} +USE_GECKO= libxul libxul19 +USE_GNOME= glib20 gtk20 USE_WEBPLUGINS= native WEBPLUGINS_DIR= ${PREFIX}/lib WEBPLUGINS_FILES=IcedTeaPlugin.so @@ -66,10 +62,6 @@ PLIST_FILES+= lib/IcedTeaPlugin.so PORTDATA+= plugin.jar PORTDOCS+= plugin -BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:${PORTSDIR}/devel/glib20 \ - ${LOCALBASE}/libdata/pkgconfig/gtk+-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20 \ - ${LOCALBASE}/libdata/pkgconfig/mozilla-plugin.pc:${PORTSDIR}/www/libxul19 - CONFIGURE_ARGS+=--with-gtk=2 .include "${PORTSDIR}/www/firefox/Makefile.webplugins" .else @@ -77,25 +69,21 @@ CONFIGURE_ARGS+=--disable-plugin .endif .if ${PORT_OPTIONS:MRHINO} -CONFIGURE_ARGS+=--with-rhino=${JAVASHAREDIR}/rhino/rhino.jar BUILD_DEPENDS+= ${JAVASHAREDIR}/rhino/rhino.jar:${PORTSDIR}/lang/rhino RUN_DEPENDS+= ${JAVASHAREDIR}/rhino/rhino.jar:${PORTSDIR}/lang/rhino +CONFIGURE_ARGS+=--with-rhino=${JAVASHAREDIR}/rhino/rhino.jar .else CONFIGURE_ARGS+=--with-rhino=no .endif .if ${PORT_OPTIONS:MTEST} +BUILD_DEPENDS+= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit CONFIGURE_ARGS+=--with-junit=${JAVALIBDIR}/junit.jar -BUILD_DEPENDS+= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \ - ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash .else CONFIGURE_ARGS+=--with-junit=no .endif -post-patch: - ${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/javac.in - ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ - ${WRKSRC}/launcher/javaws.in +.include .if ${JAVA_PORT_VERSION} == "1.6.0" pre-extract: @@ -103,9 +91,14 @@ pre-extract: @${ECHO_MSG} "IMPORTANT: To build IcedTea-Web ${PORTVERSION}, you have to turn on 'ICEDTEA' option" @${ECHO_MSG} "for ${JAVA_PORT} (default). Otherwise, it will neither build nor work." @${ECHO_MSG} - @sleep 10 + @sleep 5 .endif +post-patch: + ${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/javac.in + ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${WRKSRC}/launcher/javaws.in + .if ${PORT_OPTIONS:MTEST} post-build: @${ECHO_MSG} @@ -125,11 +118,9 @@ post-install: .if ${PORT_OPTIONS:MTEST} test: build - @${SED} -e 's|^SHELL = /bin/sh|SHELL = ${LOCALBASE}/bin/bash|' \ - ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.test - @(cd ${WRKSRC}; ${GMAKE} -f Makefile.test check) + @(cd ${WRKSRC}; ${GMAKE} check) .if ${PORT_OPTIONS:MPLUGIN} - @(cd ${WRKSRC}; ${GMAKE} -f Makefile.test plugin-tests) + @(cd ${WRKSRC}; ${GMAKE} plugin-tests) .endif .endif Modified: branches/RELENG_9_1_0/java/icedtea-web/distinfo ============================================================================== --- branches/RELENG_9_1_0/java/icedtea-web/distinfo Mon Nov 12 18:13:42 2012 (r307340) +++ branches/RELENG_9_1_0/java/icedtea-web/distinfo Mon Nov 12 18:20:20 2012 (r307341) @@ -1,2 +1,2 @@ -SHA256 (icedtea-web-1.3.tar.gz) = d46ec10700732cea103da2aae64ff01e717cb1281b83e1797ce48cc53280b49f -SIZE (icedtea-web-1.3.tar.gz) = 987785 +SHA256 (icedtea-web-1.3.1.tar.gz) = 20c7fd1eef6c79cbc6478bb01236a3eb2f0af6184eaed24baca59a3c37eafb56 +SIZE (icedtea-web-1.3.1.tar.gz) = 995777 Modified: branches/RELENG_9_1_0/java/icedtea-web/files/patch-Makefile.in ============================================================================== --- branches/RELENG_9_1_0/java/icedtea-web/files/patch-Makefile.in Mon Nov 12 18:13:42 2012 (r307340) +++ branches/RELENG_9_1_0/java/icedtea-web/files/patch-Makefile.in Mon Nov 12 18:20:20 2012 (r307341) @@ -1,6 +1,6 @@ ---- Makefile.in.orig 2012-08-27 15:36:58.431461000 -0400 -+++ Makefile.in 2012-09-06 17:00:58.000000000 -0400 -@@ -235,14 +235,14 @@ +--- Makefile.in.orig 2012-11-01 12:51:47.732805000 -0400 ++++ Makefile.in 2012-11-07 18:38:48.000000000 -0500 +@@ -257,14 +257,14 @@ #end of exported autoconf copies # binary names @@ -17,7 +17,7 @@ -e 's|[@]ITWEB_SETTINGS_BIN_LOCATION[@]|$(bindir)/$(itweb_settings)|g' \ -e 's|[@]JAVA[@]|$(JAVA)|g' \ -e 's|[@]JRE[@]|$(SYSTEM_JRE_DIR)|g' -@@ -724,8 +724,8 @@ +@@ -746,8 +746,8 @@ # Top-Level Targets # ================= @@ -28,7 +28,7 @@ check-local: $(RHINO_TESTS) $(JUNIT_TESTS) -@@ -745,24 +745,26 @@ +@@ -767,24 +767,26 @@ @ENABLE_PLUGIN_TRUE@ ${INSTALL_PROGRAM} $(PLUGIN_DIR)/$(BUILT_PLUGIN_LIBRARY) $(DESTDIR)$(libdir) @ENABLE_PLUGIN_TRUE@ ${INSTALL_DATA} $(abs_top_builddir)/liveconnect/lib/classes.jar $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/plugin.jar ${INSTALL_DATA} $(NETX_DIR)/lib/classes.jar $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar @@ -60,7 +60,7 @@ @ENABLE_DOCS_TRUE@@ENABLE_PLUGIN_TRUE@ done) uninstall-local: -@@ -771,8 +773,8 @@ +@@ -793,8 +795,8 @@ rm -f $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/netx.jar rm -f $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/about.jnlp rm -f $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/about.jar @@ -71,16 +71,18 @@ rm -f $(DESTDIR)$(bindir)/$(itweb_settings) rm -rf $(DESTDIR)$(htmldir) -@@ -862,7 +864,7 @@ +@@ -884,8 +886,8 @@ netx-source-files.txt: find $(NETX_SRCDIR) -name '*.java' | sort > $@ -@WITH_RHINO_FALSE@ sed -i '/RhinoBasedPacEvaluator/ d' $@ +-@HAVE_JAVA7_FALSE@ sed -i '/VariableX509TrustManagerJDK7/ d' $@ +@WITH_RHINO_FALSE@ sed -i -e '/RhinoBasedPacEvaluator/ d' $@ ++@HAVE_JAVA7_FALSE@ sed -i -e '/VariableX509TrustManagerJDK7/ d' $@ stamps/netx.stamp: netx-source-files.txt stamps/bootstrap-directory.stamp mkdir -p $(NETX_DIR) -@@ -874,7 +876,8 @@ +@@ -897,7 +899,8 @@ (cd $(NETX_RESOURCE_DIR); \ for files in $$(find . -type f); \ do \ @@ -90,7 +92,7 @@ $(NETX_DIR)/net/sourceforge/jnlp/resources/$${files}; \ done) cp -a $(NETX_SRCDIR)/net/sourceforge/jnlp/runtime/pac-funcs.js \ -@@ -902,10 +905,10 @@ +@@ -925,10 +928,10 @@ rm -f stamps/netx.stamp clean-desktop-files: @@ -103,7 +105,7 @@ extra-source-files.txt: find $(abs_top_srcdir)/extra -name '*.java' | sort > $@ -@@ -917,7 +920,8 @@ +@@ -940,7 +943,8 @@ (cd $(NETX_EXTRA_DIR); \ for files in $$(find . -type f); \ do \ @@ -113,7 +115,7 @@ $(NETX_EXTRA_DIST_DIR)/$${files}; \ done) mkdir -p stamps -@@ -931,7 +935,7 @@ +@@ -954,7 +958,7 @@ extra-lib/about.jar: stamps/extra-class-files.stamp $(BOOT_DIR)/bin/jar cf $@ -C extra-lib net ; @@ -122,7 +124,7 @@ mkdir -p launcher.build $(edit_launcher_script) < $< > $@ -@@ -940,14 +944,14 @@ +@@ -963,14 +967,14 @@ $(edit_launcher_script) < $< > $@ clean-launchers: @@ -140,7 +142,7 @@ itweb-settings.desktop: $(srcdir)/itweb-settings.desktop.in sed "s#PATH_TO_ITWEB_SETTINGS#$(bindir)/$(itweb_settings)#" \ -@@ -1001,7 +1005,7 @@ +@@ -1024,7 +1028,7 @@ fi stamps/check-pac-functions.stamp: stamps/bootstrap-directory.stamp @@ -149,7 +151,7 @@ $$(readlink -f $(abs_top_srcdir)/netx/net/sourceforge/jnlp/runtime/pac-funcs.js) ; \ mkdir -p stamps && \ touch $@ -@@ -1056,7 +1060,7 @@ +@@ -1079,7 +1082,7 @@ notSrcFiles=`find . -mindepth 1 -type f \! -name "*.java" | sed "s/.\/*//"` ; \ $(BOOT_DIR)/bin/javac -cp $(NETX_DIR)/lib/classes.jar -d "$(JNLP_TESTS_DIR)/$$dir/" $$srcFiles ; \ if [ -n "$$notSrcFiles" ] ; then \ @@ -158,7 +160,7 @@ fi ; \ cd "$(JNLP_TESTS_DIR)/$$dir/" ; \ if [ -f $(META_MANIFEST) ]; \ -@@ -1209,7 +1213,7 @@ +@@ -1232,7 +1234,7 @@ whiteListed=`cat $(REPRODUCERS_CLASS_WHITELIST)`; \ cd $(JNLP_TESTS_ENGINE_TESTS_DIR) ; \ class_names= ; \ @@ -167,7 +169,7 @@ class_name=`echo $$test | sed -e 's|\.class$$||' -e 's|^\./||'` ; \ class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ INLCUDE="NO" ; \ -@@ -1393,7 +1397,7 @@ +@@ -1416,7 +1416,7 @@ $(UNIT_CLASS_NAMES): cd $(NETX_UNIT_TEST_DIR) ; \ class_names= ; \ @@ -176,7 +178,7 @@ class_name=`echo $$test | sed -e 's|\.class$$||' -e 's|^\./||'` ; \ class_name=`echo $$class_name | sed -e 's|/|.|g' ` ; \ class_names="$$class_names $$class_name" ; \ -@@ -1404,10 +1408,7 @@ +@@ -1427,10 +1427,7 @@ $(TESTS_DIR)/$(REPORT_STYLES_DIRNAME) $(UNIT_CLASS_NAMES) filename=" " ; \ cd $(NETX_UNIT_TEST_SRCDIR) ; \ @@ -188,7 +190,7 @@ cd $(NETX_UNIT_TEST_DIR) ; \ class_names=`cat $(UNIT_CLASS_NAMES)` ; \ CLASSPATH=$(NETX_DIR)/lib/classes.jar:$(JUNIT_JAR):$(JUNIT_RUNNER_JAR):$(JNLP_TESTS_ENGINE_DIR):. \ -@@ -1663,9 +1664,7 @@ +@@ -1686,9 +1683,7 @@ @ENABLE_PLUGIN_TRUE@ $(PLUGIN_TEST_SRCS) ; @ENABLE_PLUGIN_TRUE@ $(BOOT_DIR)/bin/jar cf plugin/tests/LiveConnect/PluginTest.jar \ @ENABLE_PLUGIN_TRUE@ plugin/tests/LiveConnect/*.class ;