From owner-freebsd-eclipse@FreeBSD.ORG Thu Sep 11 04:12:23 2008 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 710E8106564A for ; Thu, 11 Sep 2008 04:12:23 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 2EBDE8FC25 for ; Thu, 11 Sep 2008 04:12:22 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 44B7A2841A; Thu, 11 Sep 2008 15:54:42 +1200 (NZST) Date: Thu, 11 Sep 2008 15:54:42 +1200 From: Jonathan Chen To: freebsd-eclipse@freebsd.org Message-ID: <20080911035442.GA33990@osiris.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: eclipse-devel and WITH_GECKO=xulrunner X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 04:12:23 -0000 Hi, First of all, thanks to all involved for the Eclipse 3.4 port. It's great to be using something relatively up to date. However, I've noticed that the eclipse-devel port will only work for WITH_GECKO=firefox. If WITH_GECKO=xulrunner is used, the port will build but will not run. Any chance for a fix for this? Cheers. -- Jonathan Chen | To do is to be -- Nietzsche | To be is to do -- Sartre | Scooby do be do -- Scooby From owner-freebsd-eclipse@FreeBSD.ORG Thu Sep 11 12:48:18 2008 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAF161065675 for ; Thu, 11 Sep 2008 12:48:18 +0000 (UTC) (envelope-from sepotvin@FreeBSD.org) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7C8B48FC22 for ; Thu, 11 Sep 2008 12:48:17 +0000 (UTC) (envelope-from sepotvin@FreeBSD.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from yoda.telcobridges.com ([67.70.237.74]) by VL-MH-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTPA id <0K7100LJ67K9OY93@VL-MH-MR002.ip.videotron.ca> for freebsd-eclipse@freebsd.org; Thu, 11 Sep 2008 08:48:12 -0400 (EDT) Message-id: <48C91389.9020603@FreeBSD.org> Date: Thu, 11 Sep 2008 08:48:09 -0400 From: "Stephane E. Potvin" User-Agent: Thunderbird 2.0.0.16 (X11/20080730) To: Jonathan Chen References: <20080911035442.GA33990@osiris.chen.org.nz> In-reply-to: <20080911035442.GA33990@osiris.chen.org.nz> X-Enigmail-Version: 0.95.6 Cc: freebsd-eclipse@freebsd.org Subject: Re: eclipse-devel and WITH_GECKO=xulrunner X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 12:48:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Chen wrote: | Hi, | | First of all, thanks to all involved for the Eclipse 3.4 port. It's | great to be using something relatively up to date. | | However, I've noticed that the eclipse-devel port will only work for | WITH_GECKO=firefox. If WITH_GECKO=xulrunner is used, the port will | build but will not run. Any chance for a fix for this? | | Cheers. Hi Jonathan, I didn't test eclipse with xulrunner when I did the port. I'll try to have a look at it but in the mean time I would appreciate if you could give me more information about what is happening (error messages, stack trace, jvm crash file, etc...) Steph -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjJE4kACgkQmdOXtTCX/ntVxgCg1YNAOzcZ0l+f6bvhf982Reoi /6IAn2VksItEGi7ZJuzPxlg7gg5GToKA =IjfW -----END PGP SIGNATURE----- From owner-freebsd-eclipse@FreeBSD.ORG Fri Sep 12 02:44:31 2008 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A524F106564A for ; Fri, 12 Sep 2008 02:44:31 +0000 (UTC) (envelope-from sepotvin@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 77B8C8FC1D for ; Fri, 12 Sep 2008 02:44:31 +0000 (UTC) (envelope-from sepotvin@videotron.ca) MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_rHM3cDQynnxp5O57SsNdug)" Received: from leia.telcobridges.com ([96.21.231.154]) by VL-MO-MR005.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0K7200432A9AL8I5@VL-MO-MR005.ip.videotron.ca> for freebsd-eclipse@freebsd.org; Thu, 11 Sep 2008 22:43:58 -0400 (EDT) Message-id: <48C9D76B.2000102@videotron.ca> Date: Thu, 11 Sep 2008 22:43:55 -0400 From: "Stephane E. Potvin" User-Agent: Thunderbird 2.0.0.16 (X11/20080726) To: Jonathan Chen References: <20080911035442.GA33990@osiris.chen.org.nz> In-reply-to: <20080911035442.GA33990@osiris.chen.org.nz> X-Enigmail-Version: 0.95.6 Cc: freebsd-eclipse@freebsd.org Subject: Re: eclipse-devel and WITH_GECKO=xulrunner X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2008 02:44:31 -0000 This is a multi-part message in MIME format. --Boundary_(ID_rHM3cDQynnxp5O57SsNdug) Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7BIT -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Chen wrote: | Hi, | | First of all, thanks to all involved for the Eclipse 3.4 port. It's | great to be using something relatively up to date. | | However, I've noticed that the eclipse-devel port will only work for | WITH_GECKO=firefox. If WITH_GECKO=xulrunner is used, the port will | build but will not run. Any chance for a fix for this? | | Cheers. Could you try the attached patch? It should hopefully fix the problem when trying to use xulrunner. The patch should fix the support for both xulrunner and seamonkey (on x86 and amd64). I removed mozilla support in the gecko list as the port is marked deprecated (though the support is still present but untested in the patch). Regards, Steph -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjJ12cACgkQmdOXtTCX/nucQQCgt/K4Hu3buY9SjPuGahZ8ct1V +YMAnR8JeM1D2JHijpTy15MB+Y7Y4gzJ =yV/6 -----END PGP SIGNATURE----- --Boundary_(ID_rHM3cDQynnxp5O57SsNdug) Content-type: text/x-patch; CHARSET=US-ASCII; name=gecko.diff Content-transfer-encoding: 7BIT Content-disposition: inline; filename=gecko.diff Index: Makefile =================================================================== RCS file: /home/FreeBSD/ncvs/ports/java/eclipse-devel/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- Makefile 6 Sep 2008 19:31:47 -0000 1.19 +++ Makefile 12 Sep 2008 02:22:11 -0000 @@ -7,6 +7,7 @@ PORTNAME= eclipse-devel PORTVERSION= 3.4 +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= ${MASTER_SITE_ECLIPSE} MASTER_SITE_SUBDIR= R-${PORTVERSION}-200806172000 @@ -31,7 +32,7 @@ PATCH= ${LOCALBASE}/bin/gpatch .if !defined(WITHOUT_MOZILLA) -USE_GECKO= firefox xulrunner mozilla seamonkey +USE_GECKO= firefox xulrunner seamonkey .endif USE_JAVA= yes Index: files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.sh =================================================================== RCS file: /home/FreeBSD/ncvs/ports/java/eclipse-devel/files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.sh,v retrieving revision 1.1 diff -u -r1.1 post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.sh --- files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.sh 6 Sep 2008 19:31:48 -0000 1.1 +++ files/post-patch-plugins-org.eclipse.swt-Eclipse_SWT_PI-gtk-library-build.sh 12 Sep 2008 01:18:51 -0000 @@ -1,5 +1,5 @@ ---- gtk/library/build.sh.orig 2008-08-02 20:48:26.157201172 -0400 -+++ gtk/library/build.sh 2008-08-02 22:49:45.246241822 -0400 +--- gtk/library/build.sh.orig 2008-09-11 21:18:02.725614374 -0400 ++++ gtk/library/build.sh 2008-09-11 21:18:07.455632295 -0400 @@ -50,6 +50,10 @@ fi fi @@ -20,7 +20,7 @@ SWT_PTR_CFLAGS=-DSWT_PTR_SIZE_64 export SWT_PTR_CFLAGS if [ -d /lib64 ]; then -@@ -74,23 +78,28 @@ +@@ -74,47 +78,44 @@ fi fi @@ -30,43 +30,80 @@ -else - echo "libgnome-2.0 and libgnomeui-2.0 not found:" - echo " *** SWT Program support for GNOME will not be compiled." +-fi +- +-if [ x`pkg-config --exists cairo && echo YES` = "xYES" ]; then +- echo "Cairo found, compiling SWT support for the cairo graphics library." +- MAKE_CAIRO=make_cairo +-else +- echo "Cairo not found:" +- echo " *** Advanced graphics support using cairo will not be compiled." +if [ x${MAKE_GNOME} = "xmake_gnome" ]; then + if [ x`pkg-config --exists gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0 && echo YES` = "xYES" ]; then + echo "libgnomeui-2.0 found, compiling SWT program support using GNOME" -+ MAKE_GNOME=make_gnome ++ _MAKE_GNOME=make_gnome + else + echo "libgnome-2.0 and libgnomeui-2.0 not found:" + echo " *** SWT Program support for GNOME will not be compiled." + fi fi --if [ x`pkg-config --exists cairo && echo YES` = "xYES" ]; then -- echo "Cairo found, compiling SWT support for the cairo graphics library." -- MAKE_CAIRO=make_cairo --else -- echo "Cairo not found:" -- echo " *** Advanced graphics support using cairo will not be compiled." +-if [ -z "${MOZILLA_INCLUDES}" -a -z "${MOZILLA_LIBS}" ]; then +- if [ x`pkg-config --exists mozilla-xpcom && echo YES` = "xYES" ]; then +- MOZILLA_INCLUDES=`pkg-config --cflags mozilla-xpcom` +- MOZILLA_LIBS=`pkg-config --libs mozilla-xpcom` +- export MOZILLA_INCLUDES +- export MOZILLA_LIBS +- MAKE_MOZILLA=make_mozilla +- elif [ x`pkg-config --exists firefox-xpcom && echo YES` = "xYES" ]; then +- MOZILLA_INCLUDES=`pkg-config --cflags firefox-xpcom` +- MOZILLA_LIBS=`pkg-config --libs firefox-xpcom` +- export MOZILLA_INCLUDES +- export MOZILLA_LIBS +- MAKE_MOZILLA=make_mozilla +- elif [ x`pkg-config --exists libxul && echo YES` = "xYES" ]; then +- MOZILLA_INCLUDES=`pkg-config --cflags libxul` +- MOZILLA_LIBS=`pkg-config --libs libxul` +- export MOZILLA_INCLUDES +- export MOZILLA_LIBS +- MAKE_MOZILLA=make_mozilla +if [ x${MAKE_CAIRO} = "xmake_cairo" ]; then + if [ x`pkg-config --exists cairo && echo YES` = "xYES" ]; then + echo "Cairo found, compiling SWT support for the cairo graphics library." -+ MAKE_CAIRO=make_cairo -+ else ++ _MAKE_CAIRO=make_cairo + else +- echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM" +- echo " *** Mozilla embedding support will not be compiled." + echo "Cairo not found:" + echo " *** Advanced graphics support using cairo will not be compiled." -+ fi + fi fi --if [ -z "${MOZILLA_INCLUDES}" -a -z "${MOZILLA_LIBS}" ]; then +if [ x${MAKE_MOZILLA} = "xmake_mozilla" ]; then + if [ -z "${MOZILLA_INCLUDES}" -a -z "${MOZILLA_LIBS}" ]; then - if [ x`pkg-config --exists mozilla-xpcom && echo YES` = "xYES" ]; then - MOZILLA_INCLUDES=`pkg-config --cflags mozilla-xpcom` - MOZILLA_LIBS=`pkg-config --libs mozilla-xpcom` -@@ -113,6 +122,7 @@ - echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM" - echo " *** Mozilla embedding support will not be compiled." - fi ++ case ${BROWSER} in ++ "firefox" | "mozilla" | "seamonkey" | "xulrunner") ++ MOZILLA_INCLUDES=`pkg-config --cflags ${BROWSER}-xpcom` ++ MOZILLA_LIBS=`pkg-config --libs ${BROWSER}-xpcom` ++ export MOZILLA_INCLUDES ++ export MOZILLA_LIBS ++ _MAKE_MOZILLA=make_mozilla ++ ;; ++ *) ++ echo "None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM" ++ echo " *** Mozilla embedding support will not be compiled." ++ ;; ++ esac + fi - fi - ++fi ++ # Find AWT if available + if [ -z "${AWT_LIB_PATH}" ]; then + if [ -d ${JAVA_HOME}/jre/lib/${AWT_ARCH} ]; then +@@ -142,5 +143,5 @@ + if [ "x${1}" = "xclean" ]; then + make -f $MAKEFILE clean + else +- make -f $MAKEFILE all $MAKE_GNOME $MAKE_CAIRO $MAKE_AWT $MAKE_MOZILLA ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ++ make -f $MAKEFILE all $_MAKE_GNOME $_MAKE_CAIRO $MAKE_AWT $_MAKE_MOZILLA ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} + fi --Boundary_(ID_rHM3cDQynnxp5O57SsNdug) Content-type: application/octet-stream; name=gecko.diff.sig Content-transfer-encoding: base64 Content-disposition: attachment; filename=gecko.diff.sig iEYEABECAAYFAkjJ12oACgkQmdOXtTCX/ns9VQCfcgGg2BGo0UH0M7Vwz49GzY3JjD0AoKud MWS268cHUu27JCNlakknq0WV --Boundary_(ID_rHM3cDQynnxp5O57SsNdug)-- From owner-freebsd-eclipse@FreeBSD.ORG Fri Sep 12 08:37:26 2008 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C8071065674 for ; Fri, 12 Sep 2008 08:37:26 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 27AF08FC32 for ; Fri, 12 Sep 2008 08:37:26 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id CA1942840F; Fri, 12 Sep 2008 20:37:23 +1200 (NZST) Date: Fri, 12 Sep 2008 20:37:23 +1200 From: Jonathan Chen To: "Stephane E. Potvin" Message-ID: <20080912083723.GA56640@osiris.chen.org.nz> References: <20080911035442.GA33990@osiris.chen.org.nz> <48C9D76B.2000102@videotron.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C9D76B.2000102@videotron.ca> User-Agent: Mutt/1.4.2.3i Cc: freebsd-eclipse@freebsd.org Subject: Re: eclipse-devel and WITH_GECKO=xulrunner X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2008 08:37:26 -0000 On Thu, Sep 11, 2008 at 10:43:55PM -0400, Stephane E. Potvin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jonathan Chen wrote: > | Hi, > | > | First of all, thanks to all involved for the Eclipse 3.4 port. It's > | great to be using something relatively up to date. > | > | However, I've noticed that the eclipse-devel port will only work for > | WITH_GECKO=firefox. If WITH_GECKO=xulrunner is used, the port will > | build but will not run. Any chance for a fix for this? > | > | Cheers. > > Could you try the attached patch? It should hopefully fix the problem > when trying to use xulrunner. > > The patch should fix the support for both xulrunner and seamonkey (on > x86 and amd64). I removed mozilla support in the gecko list as the port > is marked deprecated (though the support is still present but untested > in the patch). Thanks for the patch, it works fine! -- Jonathan Chen ---------------------------------------------------------------------- char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} From owner-freebsd-eclipse@FreeBSD.ORG Sat Sep 13 16:15:18 2008 Return-Path: Delivered-To: freebsd-eclipse@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B841106566C; Sat, 13 Sep 2008 16:15:18 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACA28FC1D; Sat, 13 Sep 2008 16:15:18 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8DGFHYh042352; Sat, 13 Sep 2008 16:15:17 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8DGFHPm042348; Sat, 13 Sep 2008 16:15:17 GMT (envelope-from linimon) Date: Sat, 13 Sep 2008 16:15:17 GMT Message-Id: <200809131615.m8DGFHPm042348@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-eclipse@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/127353: java/eclipse-devel: eclipse-devel-3.4 doesn't install libswt files X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2008 16:15:18 -0000 Old Synopsis: eclipse-devel-3.4 port doesn't install libswt files New Synopsis: java/eclipse-devel: eclipse-devel-3.4 doesn't install libswt files Responsible-Changed-From-To: freebsd-bugs->freebsd-eclipse Responsible-Changed-By: linimon Responsible-Changed-When: Sat Sep 13 16:14:21 UTC 2008 Responsible-Changed-Why: Make this a ports PR and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=127353