From owner-freebsd-eclipse@FreeBSD.ORG Tue Aug 30 12:15:51 2005 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F17CC16A41F; Tue, 30 Aug 2005 12:15:50 +0000 (GMT) (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 9466043D46; Tue, 30 Aug 2005 12:15:50 +0000 (GMT) (envelope-from sepotvin@videotron.ca) Received: from [10.0.0.147] ([67.70.237.74]) by VL-MO-MR002.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTPA id <0IM100G0VBECUCI0@VL-MO-MR002.ip.videotron.ca>; Tue, 30 Aug 2005 08:15:49 -0400 (EDT) Date: Tue, 30 Aug 2005 08:15:47 -0400 From: "Stephane E. Potvin" In-reply-to: <431382C3.3060205@ebs.gr> To: Panagiotis Astithas Message-id: <43144DF3.4020706@videotron.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en X-Enigmail-Version: 0.92.0.0 References: <20050829180704.68762.qmail@exxodus.fedaykin.here> <43136B59.7090508@videotron.ca> <431382C3.3060205@ebs.gr> User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050826) Cc: freebsd-eclipse@freebsd.org, Mario Sergio Fujikawa Ferreira Subject: Re: Eclipse 3.1: no swt-pi-gtk-3138 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: Tue, 30 Aug 2005 12:15:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Panagiotis Astithas wrote: > Stephane E. Potvin wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Mario Sergio Fujikawa Ferreira wrote: >> >>> Hi, >>> >>> I maintain 2 ports (net/mldonkey-sancho and net/azureus) >>> which depend on eclipse and have been broken ever since its update. >>> >>> I've just updated azureus yesterday and got it building just >>> fine but I get the following error message. >>> >>> $ ./azureus >>> >>> Exception in thread "main" java.lang.UnsatisfiedLinkError: no >>> swt-pi-gtk-3138 in java.library.path >>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) >>> at java.lang.Runtime.loadLibrary0(Runtime.java:822) >>> at java.lang.System.loadLibrary(System.java:992) >>> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123) >>> at org.eclipse.swt.internal.gtk.OS.(OS.java:19) >>> at >>> org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) >>> at >>> org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) >>> at org.eclipse.swt.widgets.Display.(Display.java:122) >>> at >>> org.gudy.azureus2.ui.swt.mainwindow.SWTThread.(Unknown Source) >>> at >>> org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(Unknown >>> Source) >>> at >>> org.gudy.azureus2.ui.swt.mainwindow.Initializer.(Unknown Source) >>> at org.gudy.azureus2.ui.swt.Main.(Unknown Source) >>> at org.gudy.azureus2.ui.swt.Main.main(Unknown Source) >>> >>> which should be fixed by using a proper -Djava.library.path=somewhere >>> statemente. >>> >>> However, I am not able find the proper location to point to. >>> Taking a look at >>> >>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=89315 >>> >>> I find out that there are SWT PI patches there which are not included >>> with our java/eclipse port. > > > No way, I sent those attachments from my /usr/ports/java/eclipse/files > directory :-) > >>> Are there plans to integrate those patches now that the >>> ports freeze is over? >>> >>> Regards, >>> >> >> >> You can find the libraries in the >> org.eclipse.swt.gtk.freebsd.x86_3.1.0.jar file in eclipse's plugin >> directory. You'll have to extract them somewhere and add this path to >> your -Djava.library.path >> >> I have no idea why they are not extracted by default anymore. >> >> Regards, >> >> Steph > > > Exactly, eclipse now uses a simplified plugin distribution, where > everything is included in a single jar. I'll take a look into what needs > to be done for azureus, etc. Another option is to finish my swt31 port > and make swt-based apps depend on it. What would you prefer? > > Cheers, > > Panagiotis For what it's worth, if we go that road (having a separate swt port) I would like to have an option to have swt based ports depends on eclipse. As I'm using eclipse for development on my box, I would prefer to have only one instance of the swt library lying around. Steph -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDFE3zmdOXtTCX/nsRAtchAKD880AQccbihOFxiyVYDF7pRNebxwCfUGeU Xg277gnPtU1APh6ceEh1xpk= =iVAI -----END PGP SIGNATURE-----