From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 23 12:00:30 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B0FA16A405 for ; Sun, 23 Apr 2006 12:00:30 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A329B43D53 for ; Sun, 23 Apr 2006 12:00:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3NC0T4D046834 for ; Sun, 23 Apr 2006 12:00:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3NC0TmD046833; Sun, 23 Apr 2006 12:00:29 GMT (envelope-from gnats) Resent-Date: Sun, 23 Apr 2006 12:00:29 GMT Resent-Message-Id: <200604231200.k3NC0TmD046833@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anton Yudin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 833B216A405 for ; Sun, 23 Apr 2006 11:50:13 +0000 (UTC) (envelope-from toha@toha.org.ua) Received: from toha.org.ua (as-53-09.lns2-4c.kharkov.ukrtel.net [82.207.103.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4694843D46 for ; Sun, 23 Apr 2006 11:50:12 +0000 (GMT) (envelope-from toha@toha.org.ua) Received: from pandemonium.toha.org.ua (localhost [127.0.0.1]) by pandemonium.toha.org.ua (8.13.6/8.13.6) with ESMTP id k3NBjqKD078663 for ; Sun, 23 Apr 2006 14:45:52 +0300 (EEST) (envelope-from toha@pandemonium.toha.org.ua) Received: (from toha@localhost) by pandemonium.toha.org.ua (8.13.6/8.13.6/Submit) id k3NBjqfi078662; Sun, 23 Apr 2006 14:45:52 +0300 (EEST) (envelope-from toha) Message-Id: <200604231145.k3NBjqfi078662@pandemonium.toha.org.ua> Date: Sun, 23 Apr 2006 14:45:52 +0300 (EEST) From: Anton Yudin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/96199: new port java/jdic: The JDesktop Integration Components (JDIC) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anton Yudin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2006 12:00:30 -0000 >Number: 96199 >Category: ports >Synopsis: new port java/jdic: The JDesktop Integration Components (JDIC) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Apr 23 12:00:29 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Anton Yudin >Release: FreeBSD 6.1-RC i386 >Organization: >Environment: System: FreeBSD pandemonium.toha.org.ua 6.1-RC FreeBSD 6.1-RC #0: Mon Apr 17 21:40:22 EEST 2006 root@pandemonium.toha.org.ua:/obj/obj/usr/src/sys/NKERNEL i386 >Description: The JDesktop Integration Components (JDIC) project aims to make Java technology-based applications ("Java applications") first-class citizens of current desktop platforms without sacrificing platform independence. Its mission is to enable seamless desktop/Java integration. JDIC provides Java applications with access to functionalities and facilities provided by the native desktop. It consists of a collection of Java packages and tools. JDIC supports a variety of features such as embedding the native browser, launching the desktop applications, creating tray icons on the desktop, registering file type associations, creating JNLP installer packages, etc. Many new features are contributed as incubator projects from the community. WWW: https://jdic.dev.java.net/ >How-To-Repeat: >Fix: shar: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # java/jdic # java/jdic/Makefile # java/jdic/distinfo # java/jdic/pkg-descr # java/jdic/files # java/jdic/files/patch-jni-Makefile # java/jdic/files/patch-mozilla-Makefile # java/jdic/files/patch-utils-MsgServer.h # echo c - java/jdic mkdir -p java/jdic > /dev/null 2>&1 echo x - java/jdic/Makefile sed 's/^X//' >java/jdic/Makefile << 'END-of-java/jdic/Makefile' X# New ports collection makefile for: The JDesktop Integration Components (JDIC) X# Date created: Sun Apr 23 14:20:39 EEST 2006 X# Whom: Anton Yudin X# X# $FreeBSD$ X# X XPORTNAME= jdic XPORTVERSION= 20060308 XCATEGORIES= java devel XMASTER_SITES= https://www.dev.java.net/files/documents/880/30794/ XDISTNAME= ${PORTNAME}-${PORTVERSION}-src X XMAINTAINER= toha@toha.org.ua XCOMMENT= The JDesktop Integration Components (JDIC) X XUSE_GNOME= gconf2 glib20 gnomevfs2 gtk20 libbonobo libgnome orbit2 X XBUILD_DEPENDS+= ${X11BASE}/libdata/pkgconfig/mozilla-plugin.pc:${PORTSDIR}/www/mozilla XLIB_DEPENDS+= nspr4.1:${PORTSDIR}/devel/nspr X XUSE_JAVA= yes XJAVA_VERSION= 1.5+ X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/jdic X XUSE_ZIP= yes XUSE_ANT= yes XMAKE_ENV+= MOZILLA_DIST=${X11BASE}/lib/mozilla GECKO_SDK=${X11BASE}/include/mozilla INCLUDE_NSPR_DIR=${PREFIX}/include/nspr LOCAL_LIB_DIR=${PREFIX}/lib XALL_TARGET= buildfreebsd X XTARGET_DIR= ${JAVASHAREDIR}/${PORTNAME} X XDOCSDIR= ${TARGET_DIR}/javadoc X Xdo-install: X cd ${WRKSRC}/dist/freebsd && ${FIND} . -type d -a \! -path '*javadoc*' -exec ${INSTALL} -d ${TARGET_DIR}/'{}' \; && \ X ${FIND} . -type f -a \! -path '*javadoc*' -exec ${INSTALL_DATA} '{}' ${TARGET_DIR}/'{}' \; X ${FIND} ${TARGET_DIR} -name \*.so -or -name mozembed-freebsd-gtk2 -exec ${CHMOD} a+x '{}' \; X.if !defined(NOPORTDOCS) X cd ${WRKSRC}/dist/freebsd && ${FIND} javadoc -type d -exec ${INSTALL} -d ${TARGET_DIR}/'{}' \; && \ X ${FIND} javadoc -type f -exec ${INSTALL_DATA} '{}' ${TARGET_DIR}/'{}' \; X.endif X Xpost-install: X.if !defined(NOPORTDOCS) X @${FIND} ${TARGET_DIR}/javadoc -not -type d | ${SED} -e 's,^${PREFIX},,' >> ${TMPPLIST} X @${FIND} -d ${TARGET_DIR}/javadoc -type d | ${SED} -e 's,^${PREFIX},@dirrm ,' >> ${TMPPLIST} X.endif X @${FIND} ${TARGET_DIR} -not -type d -a -not -path '*javadoc*' | ${SED} -e 's,^${PREFIX},,' >> ${TMPPLIST} X @${FIND} -d ${TARGET_DIR} -type d -a -not -path '*javadoc*' | ${SED} -e 's,^${PREFIX},@dirrm ,' >> ${TMPPLIST} X X.include END-of-java/jdic/Makefile echo x - java/jdic/distinfo sed 's/^X//' >java/jdic/distinfo << 'END-of-java/jdic/distinfo' XMD5 (jdic-20060308-src.zip) = 37269a9805faa9fefe045ffcc8880c89 XSHA256 (jdic-20060308-src.zip) = e7f245f28f3dfbe426514477e9c66881cbcc18988d08d0bac2595272efa2f780 XSIZE (jdic-20060308-src.zip) = 15338120 END-of-java/jdic/distinfo echo x - java/jdic/pkg-descr sed 's/^X//' >java/jdic/pkg-descr << 'END-of-java/jdic/pkg-descr' XThe JDesktop Integration Components (JDIC) project aims to make XJava technology-based applications ("Java applications") first-class Xcitizens of current desktop platforms without sacrificing platform Xindependence. Its mission is to enable seamless desktop/Java integration. X XJDIC provides Java applications with access to functionalities and facilities Xprovided by the native desktop. It consists of a collection of Java packages Xand tools. JDIC supports a variety of features such as embedding the native Xbrowser, launching the desktop applications, creating tray icons on the Xdesktop, registering file type associations, creating JNLP installer packages, Xetc. Many new features are contributed as incubator projects from the community. X XWWW: https://jdic.dev.java.net/ END-of-java/jdic/pkg-descr echo c - java/jdic/files mkdir -p java/jdic/files > /dev/null 2>&1 echo x - java/jdic/files/patch-jni-Makefile sed 's/^X//' >java/jdic/files/patch-jni-Makefile << 'END-of-java/jdic/files/patch-jni-Makefile' X--- src/unix/native/jni/Makefile.orig Sun Apr 23 12:37:04 2006 X+++ src/unix/native/jni/Makefile Sun Apr 23 12:39:03 2006 X@@ -124,7 +124,7 @@ X tray: $(TRAY_SO_NAME) X X $(TRAY_SO_NAME): $(TRAY_CSRC) X- $(CC) $(INCLUDES) $(LDFLAGS) -ldl -L$(X11LIB) -lXt -lX11 $(TRAY_CSRC) -o $@ X+ $(CC) $(INCLUDES) -I/usr/X11R6/include $(LDFLAGS) -L$(X11LIB) -lXt -lX11 $(TRAY_CSRC) -o $@ X X clean: X rm -f *.so END-of-java/jdic/files/patch-jni-Makefile echo x - java/jdic/files/patch-mozilla-Makefile sed 's/^X//' >java/jdic/files/patch-mozilla-Makefile << 'END-of-java/jdic/files/patch-mozilla-Makefile' X--- src/unix/native/mozilla/Makefile.orig Sun Apr 23 13:00:17 2006 X+++ src/unix/native/mozilla/Makefile Sun Apr 23 13:19:12 2006 X@@ -47,8 +47,8 @@ X # For Gecko SDK 1.6 or ealier, enable USING_GECKO_SDK_1_4. Or else, enable X # USING_GECKO_SDK_1_7. X # X-USING_GECKO_SDK_1_4 = 1 X-#USING_GECKO_SDK_1_7 = 1 X+#USING_GECKO_SDK_1_4 = 1 X+USING_GECKO_SDK_1_7 = 1 X X # set gtk version X # X@@ -74,7 +74,7 @@ X MODULE_NAME_PART = mozembed-solaris-gtk X endif X ifeq ($(OS_ARCH), FreeBSD) X-CXX = g++ X+CXX = g++ -I${INCLUDE_NSPR_DIR} X LDFLAGS = -shared -fPIC -Wl,--version-script=gnu-ld-script X MODULE_NAME_PART = mozembed-freebsd-gtk X endif X@@ -108,7 +108,7 @@ X # mozilla distribution X X LIBS = -L$(MOZILLA_DIST) -lgtkembedmoz X-LIBS_PROG = -L$(MOZILLA_DIST) -lgtkembedmoz -lxpcom -lnspr4 -lplds4 -lplc4 X+LIBS_PROG = -L${LOCAL_LIB_DIR} -L$(MOZILLA_DIST) -pthread -lgtkembedmoz -lxpcom -lnspr4 -lplds4 -lplc4 X X # libembedstring.a from the 1.4.2 gecko sdk requires __ctype_tolower, X # but for some reason that isn't available from the version of glibc X@@ -163,11 +163,11 @@ X ifdef USING_GECKO_SDK_1_7 X CPPFLAGS += \ X -DUSING_GECKO_SDK_1_7 \ X- -include $(GECKO_SDK)/include/mozilla-config.h \ X- -I$(GECKO_SDK)/include \ X+ -include $(GECKO_SDK)/mozilla-config.h \ X+ -I$(GECKO_SDK) \ X $(NULL) X LIBS += \ X- -L$(GECKO_SDK)/lib -lxpcomglue_s \ X+ -L$(GECKO_SDK)/lib \ X -L$(GECKO_SDK)/bin -lxpcom -lnspr4 -lplds4 -lplc4 \ X $(NULL) X endif END-of-java/jdic/files/patch-mozilla-Makefile echo x - java/jdic/files/patch-utils-MsgServer.h sed 's/^X//' >java/jdic/files/patch-utils-MsgServer.h << 'END-of-java/jdic/files/patch-utils-MsgServer.h' X--- src/share/native/utils/MsgServer.h.orig Sun Apr 23 13:12:04 2006 X+++ src/share/native/utils/MsgServer.h Sun Apr 23 13:11:49 2006 X@@ -30,6 +30,7 @@ X #include X #include X #include X+#include X #include X #include X #endif END-of-java/jdic/files/patch-utils-MsgServer.h exit >Release-Note: >Audit-Trail: >Unformatted: