On Thu, Jul 15, 2010 at 07:53:39PM +0200, Landry Breuil wrote:
> Hi ports@
> 
> sent this to MAINTAINER last week without feedback yet, but maybe
> someone want to raise an opinion on the subject ..
> 
> Basically, the only last 4 users of xulrunner 1.8 are eclipse (being
> worked on - or so), gtk-vnc, py-gnome-extras(same) and classpath.
> Most linux distros disable gcjwebplugin, and i'm pretty sure it's
> deprecated upstream in favor of icedtea-plugin. We have the java plugin
> from jdk anyway for people who really need that kind of thing.
> 
> So, if anyone really used gcjwebplugin (instead of regular java plugin)
> speak now; i'd like to disable it from classpath port. Or if anyone
> feels brave enough to convert it to xulrunner 1.9.... send me the diff :)

And here's a diff that :
- converts to newer lib_depends
- adds missing build_depends on archivers/zip, otherwise fails with
touch resources
/usr/obj/ports//classpath-0.98p1/bin/gjar cf glibj.zip gnu java javax org sun 
META-INF
/usr/obj/ports//classpath-0.98p1/bin/gjar[516]: /usr/local/bin/zip: not found
- remove MAINTAINER per his request
- cleans SHARED_LIBS from non-versioned libs
- disable gcjwebplugin, as done in most other oses

i've built tested jamvm (only user of classpath) and it builds fine.

ok anyone ?

Landry

> ----- Forwarded message from Landry Breuil <[email protected]> -----
> 
> Date: Sat, 10 Jul 2010 12:42:48 +0200
> From: Landry Breuil <[email protected]>
> To: [email protected]
> Subject: lang/classpath and xulrunner
> User-Agent: Mutt/1.5.20 (2009-06-14)
> Message-ID: <[email protected]>
> 
> Hi,
> 
> you're listed as the maintainer for lang/classpath in openbsd's ports
> tree. This port uses xulrunner 1.8, which i'd like to put in the attic.
> Can you look into eventually convert it to use/build against xulrunner
> 1.9, or should we just --disable-plugin, as gentoo/redhat/ubuntu/debian
> does ?
> https://bugs.launchpad.net/ubuntu/+source/classpath/+bug/561892
> https://bugzilla.redhat.com/show_bug.cgi?id=548783
> http://bugs.gentoo.org/show_bug.cgi?id=213463
> icedtea-plugin is supposed to supersede it, and i have no idea if
> gcjwebplugin has any use in the past.
> 
> Landry
> 
> ----- End forwarded message -----
> 
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/classpath/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile    10 Aug 2009 17:31:07 -0000      1.15
+++ Makefile    20 Jul 2010 15:43:55 -0000
@@ -6,7 +6,7 @@
 COMMENT=       essential libraries for java
 
 DISTNAME=      classpath-0.98
-PKGNAME=       ${DISTNAME}p1
+REVISION=      2
 
 CATEGORIES=    lang java
 
@@ -14,17 +14,14 @@
                ecj.jar:0
 DIST_SUBDIR=   classpath
 
-.for _lib in gcjwebplugin gconfpeer gtkpeer javaio javalang \
-       javalangmanagement javalangreflect javamath javanet \
-       javanio javautil jawt
+.for _lib in javaio javalang javanio javautil \
+       javalangmanagement javalangreflect javanet
 SHARED_LIBS+=          ${_lib} 0.98
 .endfor
 
 HOMEPAGE=      http://www.gnu.org/software/classpath/
 
-MAINTAINER=    Frederick C. Druseikis <[email protected]>
-
-# GPL
+# GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=    Yes
 PERMIT_DISTFILES_CDROM=        Yes
@@ -34,25 +31,26 @@
 MODGCC4_ARCHES=        *
 MODGCC4_LANGS= java
 
-BUILD_DEPENDS= ::devel/xulrunner/1.8,-devel \
+BUILD_DEPENDS= ::archivers/zip \
                ::lang/antlr2
 
 RUN_DEPENDS=   ::lang/gcc/4.2,-java,java \
                ::lang/antlr2
 
-LIB_DEPENDS=   gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
-               dbus-glib-1::x11/dbus-glib \
-               ORBit-2::devel/ORBit2 \
-               gconf-2::devel/gconf2 \
-               magic::devel/libmagic \
-               gmp::devel/gmp
+LIB_DEPENDS=   ::x11/gtk+2 \
+               ::x11/dbus-glib \
+               ::devel/ORBit2 \
+               ::devel/gconf2 \
+               ::devel/libmagic \
+               ::devel/gmp
 
 WANTLIB=       ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
                Xfixes Xi Xinerama Xrandr Xrender Xtst atk-1.0 cairo \
                dbus-1 expat fontconfig freetype gio-2.0 glib-2.0 glitz \
                gmodule-2.0 gobject-2.0 gthread-2.0 intl m pango-1.0 \
                pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread-stubs \
-               stdc++ xcb z
+               xcb xcb-render xcb-render-util ORBit-2 gconf-2 magic gmp z \
+               gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0
 
 MASTER_SITES=  ${MASTER_SITE_GNU:=classpath/}
 MASTER_SITES0= 
http://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/
@@ -69,6 +67,7 @@
 
 CONFIGURE_ARGS=        --with-libiconv-prefix=${LOCALBASE} \
                --with-glibj=zip \
+               --disable-plugin \
                --enable-gtk-peer \
                --x-includes=${X11BASE}/include \
                --x-libraries=${X11BASE}/lib \
Index: pkg/PFRAG.shared
===================================================================
RCS file: /cvs/ports/lang/classpath/pkg/PFRAG.shared,v
retrieving revision 1.2
diff -u -r1.2 PFRAG.shared
--- pkg/PFRAG.shared    16 Jun 2009 15:31:02 -0000      1.2
+++ pkg/PFRAG.shared    20 Jul 2010 15:43:55 -0000
@@ -1,5 +1,4 @@
 @comment $OpenBSD: PFRAG.shared,v 1.2 2009/06/16 15:31:02 kurt Exp $
-lib/classpath/libgcjwebplugin.so
 lib/classpath/libgconfpeer.so
 lib/classpath/libgtkpeer.so
 @lib lib/classpath/libjavaio.so.${LIBjavaio_VERSION}
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/classpath/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- pkg/PLIST   16 Jun 2009 15:31:02 -0000      1.3
+++ pkg/PLIST   20 Jul 2010 15:43:55 -0000
@@ -22,8 +22,6 @@
 @info info/cp-tools.info
 @info info/cp-vmintegration.info
 lib/classpath/
-lib/classpath/libgcjwebplugin.a
-lib/classpath/libgcjwebplugin.la
 lib/classpath/libgconfpeer.a
 lib/classpath/libgconfpeer.la
 lib/classpath/libgtkpeer.a

Reply via email to