1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

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)
This commit is contained in:
Tobias Kortkamp 2018-07-07 11:15:43 +00:00
parent c29c30e0fa
commit 1388dc54c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474073
3 changed files with 22 additions and 3 deletions

View File

@ -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
@ -62,6 +64,18 @@ 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

View File

@ -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

View File

@ -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