pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/openjdk7-icedtea-plugin Import openjdk7-icedtea-pl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e351449eba85
branches:  trunk
changeset: 400245:e351449eba85
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Oct 14 11:39:25 2009 +0000

description:
Import openjdk7-icedtea-plugin-1.11.0.20091005 as www/openjdk7-icedtea-plugin.

This is a Java plugin for NPR compatible browsers.

Tested with www/firefox, works on at least some of the applets found here:
http://java.sun.com/applets/jdk/1.4/index.html
(but also crashes on some ...)

diffstat:

 www/openjdk7-icedtea-plugin/DESCR            |   1 +
 www/openjdk7-icedtea-plugin/Makefile         |  41 ++++++++++++++++++++++++++++
 www/openjdk7-icedtea-plugin/PLIST            |   2 +
 www/openjdk7-icedtea-plugin/distinfo         |  23 +++++++++++++++
 www/openjdk7-icedtea-plugin/patches/patch-aa |  13 ++++++++
 www/openjdk7-icedtea-plugin/patches/patch-ab |  13 ++++++++
 www/openjdk7-icedtea-plugin/patches/patch-ac |  15 ++++++++++
 www/openjdk7-icedtea-plugin/patches/patch-ad |  13 ++++++++
 www/openjdk7-icedtea-plugin/patches/patch-ae |  13 ++++++++
 www/openjdk7-icedtea-plugin/patches/patch-af |  13 ++++++++
 www/openjdk7-icedtea-plugin/patches/patch-ag |  13 ++++++++
 www/openjdk7-icedtea-plugin/patches/patch-ah |  13 ++++++++
 www/openjdk7-icedtea-plugin/patches/patch-ai |  13 ++++++++
 13 files changed, 186 insertions(+), 0 deletions(-)

diffs (238 lines):

diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/DESCR Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,1 @@
+This is a Java plugin for NPR compatible browsers.
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/Makefile      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+#
+
+DISTNAME=      # from icedtea-extras.mk
+PKGNAME=       openjdk7-icedtea-plugin-1.11.0.20091005
+CATEGORIES=    www
+MASTER_SITES=  # from icedtea-extras.mk
+
+MAINTAINER=    tnn%NetBSD.org@localhost
+HOMEPAGE=      http://icedtea.classpath.org/
+COMMENT=       Java browser plugin
+LICENSE=       # GPL2 + Classpath exception
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+ICEDTEA_PACKAGE=       yes
+GNU_CONFIGURE=         yes
+WRKSRC=                        ${WRKDIR}/${ICEDTEA}
+
+CONFIGURE_ARGS+=       --enable-npplugin
+
+BUILDLINK_PASSTHRU_DIRS+=      ${PREFIX}/java/openjdk7
+PREPEND_PATH+=                 ${PREFIX}/java/openjdk7/bin
+
+SUBST_CLASSES+=                        fix-paths
+SUBST_STAGE.fix-paths=         pre-configure
+SUBST_MESSAGE.fix-paths=       Fixing paths.
+SUBST_FILES.fix-paths=         plugin/icedteanp/IcedTeaNPPlugin.cc
+SUBST_SED.fix-paths+=          -e 's,%s/../../bin/java,${PREFIX}/java/openjdk7/bin/java,g'
+
+do-build:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} IcedTeaNPPlugin.so
+
+INSTALLATION_DIRS+=            lib/netscape/plugins
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/plugin/icedteanp/IcedTeaNPPlugin.so ${DESTDIR}${PREFIX}/lib/netscape/plugins
+
+BUILDLINK_API_DEPENDS.xulrunner+=       xulrunner>=1.9.1.3nb6
+.include "../../lang/openjdk7/icedtea-extras.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/PLIST Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+lib/netscape/plugins/IcedTeaNPPlugin.so
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/distinfo      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,23 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+
+SHA1 (openjdk7/175529fae103.tar.bz2) = 297f474423a18d727a87b922b1665ea4e5d54732
+RMD160 (openjdk7/175529fae103.tar.bz2) = 37bb512ccce29eb764a6bf9649c13715bf3eb2d6
+Size (openjdk7/175529fae103.tar.bz2) = 4599216 bytes
+SHA1 (openjdk7/apache-ant-1.7.1-bin.zip) = a7e8fa7bc2102a8d8df99c64db73c2eae3d8b483
+RMD160 (openjdk7/apache-ant-1.7.1-bin.zip) = a4e2c992ac7c81949b391d146baf9c411dbb2c2d
+Size (openjdk7/apache-ant-1.7.1-bin.zip) = 11657986 bytes
+SHA1 (openjdk7/rhino1_7R2.zip) = 3bb380cfb7f6febb87a64b2dee7fa308042f37e4
+RMD160 (openjdk7/rhino1_7R2.zip) = 58ae321829ac701e442bfbfed3d6f87b2bb6ba4c
+Size (openjdk7/rhino1_7R2.zip) = 2996867 bytes
+SHA1 (openjdk7/xalan-j_2_7_1-bin.zip) = 681f04e180de88264bd3df68946001efb0bc2ff1
+RMD160 (openjdk7/xalan-j_2_7_1-bin.zip) = d7174fcc9dd8b3876b5a9c8cde021953475b57f8
+Size (openjdk7/xalan-j_2_7_1-bin.zip) = 17336979 bytes
+SHA1 (patch-aa) = f7720f1730611a8331856da0a9593d8456b6c104
+SHA1 (patch-ab) = d8e8a3d6b2251f0d0f1857f7578405269efa94da
+SHA1 (patch-ac) = 87453db8e841960137d93c8c3f5e74299d9ad2b2
+SHA1 (patch-ad) = 19a423e2a6414ddb16866fe24f628ecd573ee4ab
+SHA1 (patch-ae) = cf073e70408d371ff436ea4b89efece2d27cf5bd
+SHA1 (patch-af) = 5bfeeaf535335a2728af46c8ef5f5e1b4c2a5a52
+SHA1 (patch-ag) = 2c0bf60a99e4160bed29434cf0f36f751f721cb9
+SHA1 (patch-ah) = 3b7094127fe66c0b0940765930d45cf220355b31
+SHA1 (patch-ai) = 5b04e8227dc32c3746b7940ebc260bfa55ee3480
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/patches/patch-aa      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+
+--- Makefile.am.orig   2009-10-08 16:31:21.000000000 +0200
++++ Makefile.am
+@@ -1704,7 +1704,7 @@ IcedTeaNPPlugin.so: IcedTeaNPPlugin_obje
+         $(GLIB_LIBS) \
+         $(GTK_LIBS) \
+         $(MOZILLA_LIBS)\
+-        -shared -o $@ \
++        -shared -o $@; \
+       cd ../
+ 
+ clean-IcedTeaNPPlugin:
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/patches/patch-ab      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+
+--- configure.ac.orig  2009-10-07 10:48:00.000000000 +0200
++++ configure.ac
+@@ -421,7 +421,7 @@ dnl FIXME: use unstable
+ if test "x${enable_plugin}" = "xyes"
+ then
+   PKG_CHECK_MODULES(XULRUNNER, \
+-    nspr mozilla-js mozilla-plugin libxul-unstable >= 1.9)
++    mozilla-nspr mozilla-js mozilla-plugin libxul-unstable >= 1.9)
+   PKG_CHECK_MODULES(GTK, gtk+-2.0)
+   IT_XULRUNNER_VERSION
+ fi
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/patches/patch-ac      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+
+XXX tnn investigate this.
+
+--- plugin/icedteanp/IcedTeaJavaRequestProcessor.cc.orig       2009-10-07 10:48:00.000000000 +0200
++++ plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
+@@ -817,7 +817,7 @@ JavaRequestProcessor::createJavaObjectFr
+       stringArg += NPVARIANT_TO_STRING(variant).UTF8Characters;
+ #endif
+     }
+-    else if (browser_functions.getproperty())
++    else if (0 /* browser_functions.getproperty() */)
+     {
+ 
+     }
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/patches/patch-ad      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+
+--- acinclude.m4.orig  2009-10-07 10:48:00.000000000 +0200
++++ acinclude.m4
+@@ -873,7 +873,7 @@ AC_DEFUN([ENABLE_HG],
+ [
+   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)],
+   [
+     case "${enableval}" in
+       no)
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/patches/patch-ae      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+
+--- plugin/icedteanp/IcedTeaNPPlugin.cc.orig   2009-10-07 10:48:00.000000000 +0200
++++ plugin/icedteanp/IcedTeaNPPlugin.cc
+@@ -1916,7 +1920,7 @@ NP_Initialize (NPNetscapeFuncs* browserT
+   pluginTable->version = (NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR;
+   pluginTable->size = sizeof (NPPluginFuncs);
+ 
+-#if MOZILLA_VERSION_COLLAPSED < 1090200
++#if MOZILLA_VERSION_COLLAPSED < 1090100
+   pluginTable->newp = NewNPP_NewProc (GCJ_New);
+   pluginTable->destroy = NewNPP_DestroyProc (GCJ_Destroy);
+   pluginTable->setwindow = NewNPP_SetWindowProc (GCJ_SetWindow);
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/patches/patch-af      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+
+--- plugin/icedteanp/IcedTeaNPPlugin.h.orig    2009-10-07 10:48:00.000000000 +0200
++++ plugin/icedteanp/IcedTeaNPPlugin.h
+@@ -43,7 +43,7 @@ exception statement from your version. *
+ #include <npapi.h>
+ #include <nsThreadUtils.h>
+ 
+-#if MOZILLA_VERSION_COLLAPSED < 1090200
++#if MOZILLA_VERSION_COLLAPSED < 1090100
+ #include <npupp.h>
+ #else
+ #include <npapi.h>
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/patches/patch-ag      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+
+--- plugin/icedteanp/IcedTeaPluginRequestProcessor.h.orig      2009-10-07 10:48:00.000000000 +0200
++++ plugin/icedteanp/IcedTeaPluginRequestProcessor.h
+@@ -47,7 +47,7 @@ exception statement from your version. *
+ 
+ #include <npapi.h>
+ 
+-#if MOZILLA_VERSION_COLLAPSED < 1090200
++#if MOZILLA_VERSION_COLLAPSED < 1090100
+ #include <npupp.h>
+ #else
+ #include <npapi.h>
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/patches/patch-ah      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+
+--- plugin/icedteanp/IcedTeaPluginUtils.h.orig 2009-10-07 10:48:00.000000000 +0200
++++ plugin/icedteanp/IcedTeaPluginUtils.h
+@@ -57,7 +57,7 @@ exception statement from your version. *
+ 
+ #include <npapi.h>
+ 
+-#if MOZILLA_VERSION_COLLAPSED < 1090200
++#if MOZILLA_VERSION_COLLAPSED < 1090100
+ #include <npupp.h>
+ #else
+ #include <npapi.h>
diff -r 503686d21862 -r e351449eba85 www/openjdk7-icedtea-plugin/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/openjdk7-icedtea-plugin/patches/patch-ai      Wed Oct 14 11:39:25 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1.1.1 2009/10/14 11:39:25 tnn Exp $
+
+--- plugin/icedteanp/IcedTeaScriptablePluginObject.h.orig      2009-10-07 10:48:00.000000000 +0200
++++ plugin/icedteanp/IcedTeaScriptablePluginObject.h
+@@ -39,7 +39,7 @@ exception statement from your version. *
+ #ifndef __ICEDTEASCRIPTABLEPLUGINOBJECT_H_
+ #define __ICEDTEASCRIPTABLEPLUGINOBJECT_H_
+ 
+-#if MOZILLA_VERSION_COLLAPSED < 1090200
++#if MOZILLA_VERSION_COLLAPSED < 1090100
+ #include "npupp.h"
+ #else
+ #include <npapi.h>



Home | Main Index | Thread Index | Old Index