On Fri, Jul 28, 2017 at 07:52:03AM +0200, Landry Breuil wrote:
> Hi,
> 
> xulrunner/24 is ancient, dead upstream, and only two ports uses them:
> - www/conkeror which, even if sorta alive upstream, hasnt seen an update
>   in 4 years
> - www/icedtea-web which will be useless when firefox 57 is out, as the
>   java plugin only works in esr right now, and esr57 will remove the
> remaining NPAPI plugin support. Ok, there's javaws which allows to use
> it outside a browser, but meh. Who needs this crap nowadays ? even
> idrac7 have a perfectly working html5 console... or one could switch it
> to build against firefox esr headers, no idea if that would work, and
> would require the sdk to be a subpackage of firefox-esr port.

Another option is to ditch the plugin from itweb, which removes the
dependency on xulrunner and leaves javaws working ?


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/icedtea-web/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile    26 Jul 2017 22:45:31 -0000      1.26
+++ Makefile    28 Jul 2017 07:09:09 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =      Java web browser plugin
 DISTNAME =     icedtea-web-1.6.2
-REVISION =     3
+REVISION =     4
 CATEGORIES =   www
 
 MAINTAINER =   Giovanni Bechis <giova...@openbsd.org>
@@ -17,22 +17,18 @@
 CONFIGURE_ENV =                BIN_BASH=${LOCALBASE}/bin/bash
 CONFIGURE_ARGS =       --with-jdk-home=${JAVA_HOME} \
                        --disable-docs \
-                       --libdir=${TRUEPREFIX}/lib/mozilla/plugins
+                       --disable-plugin
 
-MODULES =      java \
-               devel/gettext
+MODULES =      java
 
 MODJAVA_VER=   1.8
 
 #build system does horrible things with bash
 RUN_DEPENDS =  shells/bash
 BUILD_DEPENDS =        ${RUN_DEPENDS} \
-               archivers/zip \
-               devel/xulrunner/24,-devel
+               archivers/zip
 
 USE_GMAKE =    Yes
-LIB_DEPENDS =  devel/glib2
-WANTLIB += glib-2.0 m ${COMPILER_LIBCXX}
 
 post-patch:
        ${SUBST_CMD} ${WRKSRC}/launcher/launchers.in
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/icedtea-web/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- pkg/PLIST   15 May 2016 13:20:43 -0000      1.4
+++ pkg/PLIST   28 Jul 2017 07:09:09 -0000
@@ -2,9 +2,6 @@
 bin/itweb-settings
 bin/javaws
 bin/policyeditor
-lib/mozilla/
-lib/mozilla/plugins/
-lib/mozilla/plugins/IcedTeaPlugin.so
 @man man/man1/icedtea-web-plugin.1
 @man man/man1/icedtea-web.1
 @man man/man1/itweb-settings.1
@@ -17,7 +14,6 @@
 share/icedtea-web/
 share/icedtea-web/javaws_splash.png
 share/icedtea-web/netx.jar
-share/icedtea-web/plugin.jar
 share/pixmaps/
 share/pixmaps/javaws.png
 @exec %D/bin/update-desktop-database

Reply via email to