From owner-svn-ports-head@freebsd.org Sat Jul 7 11:15:44 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C4A21035452; Sat, 7 Jul 2018 11:15:44 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 485E770832; Sat, 7 Jul 2018 11:15:44 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2770816A34; Sat, 7 Jul 2018 11:15:44 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w67BFh8u059005; Sat, 7 Jul 2018 11:15:43 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w67BFhYT059000; Sat, 7 Jul 2018 11:15:43 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201807071115.w67BFhYT059000@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 7 Jul 2018 11:15:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474073 - head/java/icedtea-web X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/java/icedtea-web X-SVN-Commit-Revision: 474073 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2018 11:15:44 -0000 Author: tobik Date: Sat Jul 7 11:15:43 2018 New Revision: 474073 URL: https://svnweb.freebsd.org/changeset/ports/474073 Log: Attempt to unbreak java/icedtea-web - Bring back the PLUGIN option. The build needs the 4 NPAPI headers. Extract them from libxul-45.9.0_12 to a separate distfile and point the build to them. PR: 229242 Approved by: java (maintainer timeout, 2 weeks) Modified: head/java/icedtea-web/Makefile head/java/icedtea-web/distinfo head/java/icedtea-web/pkg-plist Modified: head/java/icedtea-web/Makefile ============================================================================== --- head/java/icedtea-web/Makefile Sat Jul 7 11:08:40 2018 (r474072) +++ head/java/icedtea-web/Makefile Sat Jul 7 11:15:43 2018 (r474073) @@ -2,17 +2,17 @@ PORTNAME= icedtea-web PORTVERSION= 1.6.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= java www MASTER_SITES= http://icedtea.wildebeest.org/download/source/ \ http://icedtea.classpath.org/download/source/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= java@FreeBSD.org COMMENT= Free Java plug-in and Java Web Start for OpenJDK LICENSE= GPLv2 -BROKEN= Does not configure: "Package 'mozilla-plugin', required by 'virtual:world', not found" BUILD_DEPENDS= zip:archivers/zip \ bash:shells/bash \ gsed:textproc/gsed @@ -43,9 +43,11 @@ CONFIGURE_SHELL= ${bash_CMD} TEST_TARGET= check -OPTIONS_DEFINE= DOCS RHINO TAGSOUP +OPTIONS_DEFINE= DOCS PLUGIN RHINO TAGSOUP +OPTIONS_DEFAULT=PLUGIN OPTIONS_SUB= yes +PLUGIN_DESC= Enable the browser plug-in RHINO_DESC= Add support for Proxy Auto Config files TAGSOUP_DESC= Enable cleaning up of malformed JNLP files @@ -61,6 +63,18 @@ TAGSOUP_BUILD_DEPENDS= ${JAVALIBDIR}/tagsoup.jar:textp TAGSOUP_RUN_DEPENDS= ${TAGSOUP_BUILD_DEPENDS} TAGSOUP_VARS= TAGSOUP_JAR="${JAVALIBDIR}/tagsoup.jar" TAGSOUP_VARS_OFF= TAGSOUP_JAR=no + +PLUGIN_CONFIGURE_ENABLE=plugin +PLUGIN_CONFIGURE_ENV= MOZILLA_CFLAGS="-I${WRKDIR}/npapi-headers -DXP_UNIX" \ + MOZILLA_LIBS=" " # needs to be set and non-empty! +PLUGIN_DISTFILES= npapi-headers${EXTRACT_SUFX}:npapi +PLUGIN_MASTER_SITES= LOCAL/tobik:npapi +PLUGIN_PORTDOCS= plugin +PLUGIN_TEST_TARGET= plugin-tests +PLUGIN_USE= GNOME=glib20 +PLUGIN_USES= webplugin:native +PLUGIN_VARS= WEBPLUGIN_DIR=${PREFIX}/lib \ + WEBPLUGIN_FILES=IcedTeaPlugin.so HAMCREST_JAR= ${JAVALIBDIR}/hamcrest.jar JUNIT_JAR= ${JAVALIBDIR}/junit.jar Modified: head/java/icedtea-web/distinfo ============================================================================== --- head/java/icedtea-web/distinfo Sat Jul 7 11:08:40 2018 (r474072) +++ head/java/icedtea-web/distinfo Sat Jul 7 11:15:43 2018 (r474073) @@ -1,2 +1,5 @@ +TIMESTAMP = 1529752635 SHA256 (icedtea-web-1.6.2.tar.gz) = ce67034096d6b960e2b6cfb5c41a7bd6b30eb2ec7f13bf3ecdb477ff6ce69300 SIZE (icedtea-web-1.6.2.tar.gz) = 1824557 +SHA256 (npapi-headers.tar.gz) = 625d86955aef95c7a0a4c192bb51a1e7833d30c2d53e390d07f97abd835744f8 +SIZE (npapi-headers.tar.gz) = 15637 Modified: head/java/icedtea-web/pkg-plist ============================================================================== --- head/java/icedtea-web/pkg-plist Sat Jul 7 11:08:40 2018 (r474072) +++ head/java/icedtea-web/pkg-plist Sat Jul 7 11:15:43 2018 (r474073) @@ -1,6 +1,7 @@ bin/itweb-javaws bin/itweb-policyeditor bin/itweb-settings +%%PLUGIN%%%%WEBPLUGIN_DIR%%/IcedTeaPlugin.so man/cs/man1/icedtea-web-plugin.1.gz man/cs/man1/icedtea-web.1.gz man/cs/man1/itweb-javaws.1.gz @@ -26,4 +27,5 @@ share/applications/itweb-policyeditor.desktop share/applications/itweb-settings.desktop %%DATADIR%%/javaws_splash.png %%DATADIR%%/netx.jar +%%PLUGIN%%%%DATADIR%%/plugin.jar share/pixmaps/itweb-javaws.png