Import icedtea-web 1.1.2.
The IcedTea-Web project provides a Free Software web browser plugin running applets written in the Java programming language and an implementation of Java Web Start, originally based on the NetX project. It works in gecko-based AND webkit-based browsers, and is meant as a replacement for the dead/unmaintained/dreaded sun java plugin. It is still a it rough at the edges (java process sometimes doesn't finish when tab is closed, awt exceptions upon first paint), but let's import it so that people can try it and debug it. ok sthen@
This commit is contained in:
parent
bad5bc7959
commit
4e24173230
48
www/icedtea-web/Makefile
Normal file
48
www/icedtea-web/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/02/29 20:57:52 landry Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
COMMENT = Java web browser plugin
|
||||
DISTNAME = icedtea-web-1.1.2
|
||||
CATEGORIES = www
|
||||
|
||||
MAINTAINER = Landry Breuil <landry@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES = http://icedtea.classpath.org/download/source/
|
||||
HOMEPAGE = http://icedtea.classpath.org/wiki/IcedTea-Web
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = --with-jdk-home=${LOCALBASE}/jdk-1.7.0 \
|
||||
--disable-docs \
|
||||
--libdir=${TRUEPREFIX}/lib/mozilla/plugins
|
||||
CONFIGURE_ENV = MOZILLA_CFLAGS="`pkg-config --cflags xulrunner-plugin`" \
|
||||
MOZILLA_LIBS="`pkg-config --libs xulrunner-plugin`"
|
||||
|
||||
MODULES = java \
|
||||
devel/gettext
|
||||
|
||||
MODJAVA_VER= 1.7+
|
||||
|
||||
BUILD_DEPENDS = archivers/zip \
|
||||
archivers/gtar \
|
||||
devel/xulrunner/1.9,-devel
|
||||
# otherwise PaxHeaders file get in the way
|
||||
TAR = ${LOCALBASE}/bin/gtar
|
||||
USE_GMAKE = Yes
|
||||
|
||||
LIB_DEPENDS = x11/gtk+2 \
|
||||
devel/glib2>=2.28.8p1 #for the gio/EINTR fix
|
||||
|
||||
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
||||
WANTLIB += Xrandr Xrender atk-1.0 cairo expat fontconfig freetype
|
||||
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
|
||||
WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
|
||||
WANTLIB += pangoft2-1.0 pixman-1 png pthread-stubs stdc++ xcb
|
||||
WANTLIB += xcb-render xcb-shm z
|
||||
|
||||
.include <bsd.port.mk>
|
5
www/icedtea-web/distinfo
Normal file
5
www/icedtea-web/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (icedtea-web-1.1.2.tar.gz) = Vk4QggiHeTuGsErJl5y25Q==
|
||||
RMD160 (icedtea-web-1.1.2.tar.gz) = fKM+Z1muwnVnoisH8Cr8d1M51RM=
|
||||
SHA1 (icedtea-web-1.1.2.tar.gz) = +GIiC0UE5ohwa3Q/aPYsgeV7wYM=
|
||||
SHA256 (icedtea-web-1.1.2.tar.gz) = MFHzvx4dB616qiiyBIIafAYxhI0gunlC/CNEDndGSeQ=
|
||||
SIZE (icedtea-web-1.1.2.tar.gz) = 807736
|
58
www/icedtea-web/patches/patch-Makefile_in
Normal file
58
www/icedtea-web/patches/patch-Makefile_in
Normal file
@ -0,0 +1,58 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2012/02/29 20:57:52 landry Exp $
|
||||
--- Makefile.in.orig Fri Jul 15 22:03:11 2011
|
||||
+++ Makefile.in Thu Aug 4 15:19:39 2011
|
||||
@@ -654,12 +654,12 @@ install-data-local:
|
||||
@ENABLE_DOCS_TRUE@ (cd ${abs_top_builddir}/docs/netx; \
|
||||
@ENABLE_DOCS_TRUE@ for files in $$(find . -type f); \
|
||||
@ENABLE_DOCS_TRUE@ do \
|
||||
-@ENABLE_DOCS_TRUE@ ${INSTALL_DATA} -D $${files} $(DESTDIR)$(htmldir)/netx/$${files}; \
|
||||
+@ENABLE_DOCS_TRUE@ ${INSTALL_DATA} $${files} $(DESTDIR)$(htmldir)/netx/$${files}; \
|
||||
@ENABLE_DOCS_TRUE@ done)
|
||||
@ENABLE_DOCS_TRUE@@ENABLE_PLUGIN_TRUE@ (cd ${abs_top_builddir}/docs/plugin; \
|
||||
@ENABLE_DOCS_TRUE@@ENABLE_PLUGIN_TRUE@ for files in $$(find . -type f); \
|
||||
@ENABLE_DOCS_TRUE@@ENABLE_PLUGIN_TRUE@ do \
|
||||
-@ENABLE_DOCS_TRUE@@ENABLE_PLUGIN_TRUE@ ${INSTALL_DATA} -D $${files} $(DESTDIR)$(htmldir)/plugin/$${files}; \
|
||||
+@ENABLE_DOCS_TRUE@@ENABLE_PLUGIN_TRUE@ ${INSTALL_DATA} $${files} $(DESTDIR)$(htmldir)/plugin/$${files}; \
|
||||
@ENABLE_DOCS_TRUE@@ENABLE_PLUGIN_TRUE@ done)
|
||||
|
||||
uninstall-local:
|
||||
@@ -758,7 +758,7 @@ clean-liveconnect:
|
||||
|
||||
netx-source-files.txt:
|
||||
find $(NETX_SRCDIR) -name '*.java' | sort > $@
|
||||
-@WITH_RHINO_FALSE@ sed -i '/RhinoBasedPacEvaluator/ d' $@
|
||||
+@WITH_RHINO_FALSE@ perl -pi -e 's/^.*RhinoBasedPacEvaluator.*//' $@
|
||||
|
||||
stamps/netx.stamp: netx-source-files.txt stamps/bootstrap-directory.stamp
|
||||
mkdir -p $(NETX_DIR)
|
||||
@@ -768,14 +768,15 @@ stamps/netx.stamp: netx-source-files.txt stamps/bootst
|
||||
-bootclasspath $(RUNTIME) \
|
||||
@netx-source-files.txt
|
||||
(cd $(NETX_RESOURCE_DIR); \
|
||||
+ install -d $(NETX_DIR)/net/sourceforge/jnlp/resources/ ; \
|
||||
for files in $$(find . -type f); \
|
||||
do \
|
||||
- ${INSTALL_DATA} -D $${files} \
|
||||
+ install -c -m 644 $${files} \
|
||||
$(NETX_DIR)/net/sourceforge/jnlp/resources/$${files}; \
|
||||
done)
|
||||
- cp -a $(NETX_SRCDIR)/net/sourceforge/jnlp/runtime/pac-funcs.js \
|
||||
+ cp $(NETX_SRCDIR)/net/sourceforge/jnlp/runtime/pac-funcs.js \
|
||||
$(NETX_DIR)/net/sourceforge/jnlp/runtime
|
||||
- cp -a build.properties $(NETX_DIR)/net/sourceforge/jnlp/
|
||||
+ cp build.properties $(NETX_DIR)/net/sourceforge/jnlp/
|
||||
mkdir -p stamps
|
||||
touch $@
|
||||
|
||||
@@ -811,9 +812,10 @@ stamps/extra-class-files.stamp: extra-source-files.txt
|
||||
-sourcepath $(abs_top_srcdir)/extra -cp netx.build \
|
||||
-bootclasspath $(RUNTIME) @extra-source-files.txt
|
||||
(cd $(NETX_EXTRA_DIR); \
|
||||
+ install -d $(NETX_EXTRA_DIST_DIR) ; \
|
||||
for files in $$(find . -type f); \
|
||||
do \
|
||||
- ${INSTALL_DATA} -D $${files} \
|
||||
+ install -c -m 644 $${files} \
|
||||
$(NETX_EXTRA_DIST_DIR)/$${files}; \
|
||||
done)
|
||||
mkdir -p stamps
|
3
www/icedtea-web/pkg/DESCR
Normal file
3
www/icedtea-web/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
The IcedTea-Web project provides a Free Software web browser plugin
|
||||
running applets written in the Java programming language and an
|
||||
implementation of Java Web Start, originally based on the NetX project.
|
12
www/icedtea-web/pkg/PLIST
Normal file
12
www/icedtea-web/pkg/PLIST
Normal file
@ -0,0 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/02/29 20:57:52 landry Exp $
|
||||
bin/itweb-settings
|
||||
bin/javaws
|
||||
lib/mozilla/
|
||||
lib/mozilla/plugins/
|
||||
lib/mozilla/plugins/IcedTeaPlugin.so
|
||||
@man man/man1/javaws.1
|
||||
share/icedtea-web/
|
||||
share/icedtea-web/about.jar
|
||||
share/icedtea-web/about.jnlp
|
||||
share/icedtea-web/netx.jar
|
||||
share/icedtea-web/plugin.jar
|
Loading…
Reference in New Issue
Block a user