From owner-freebsd-eclipse@FreeBSD.ORG Mon Sep 26 08:36:20 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 6DA8016A41F for ; Mon, 26 Sep 2005 08:36:20 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BBB543D53 for ; Mon, 26 Sep 2005 08:36:18 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j8Q8aA9V052944; Mon, 26 Sep 2005 11:36:10 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j8Q8aKq1058415; Mon, 26 Sep 2005 11:36:20 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <4337B2F5.3050005@ebs.gr> Date: Mon, 26 Sep 2005 11:36:05 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050830) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Hobden References: <1127383357.51404.26.camel@tos.teleplan.no> <4333CC65.90008@ebs.gr> <1127638645.22892.2.camel@localhost> <1127646616.22892.6.camel@localhost> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-eclipse@freebsd.org Subject: Re: Eclipse 3.1_2 window problems 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: Mon, 26 Sep 2005 08:36:20 -0000 Mark Hobden wrote: > On 9/25/05, Vladimir Grebenschikov wrote: > >>% ls -l /usr/X11R6/lib/libgtk*.0 >>-rwxr-xr-x 1 root wheel 3040701 Sep 19 14:05 /usr/X11R6/lib/libgtk-x11-2.0.so.0 >>-rwxr-xr-x 1 root wheel 1767607 Sep 11 17:52 /usr/X11R6/lib/libgtkhtml-2.so.0 >>-rwxr-xr-x 1 root wheel 429268 Sep 11 17:57 /usr/X11R6/lib/libgtksourceview-1.0.so.0 >>-rwxr-xr-x 1 root wheel 23521 Sep 13 23:20 /usr/X11R6/lib/libgtkspell.so.0 >>% >> >>But I have gnome-2.12 system, actually problems start after upgrading to >>2.12. > > > So thats why just running -clean or deleting the .eclipse files worked > for you and not for me. I hope restoring the > manualpatch-plugins-swt-gtk-os_custom.h file does not break it for > users running the new test port of gtk/gnome do you still have files > matching: > % ls -l /usr/X11R6/lib/libgtk*.so The reason this patch was removed was to avoid treating FreeBSD differently than other Unix systems, at the suggestion of an IBM engineer. This is was he said: "I intend to apply the patches to the launcher and SWT, but I have one question. I've been worried about the use of "libgtk-x11-2.0.so.0" vs "libgtk-x11-2.0.so" on *BSD vs Linux. For shared libraries, the first number is the major version number, and an unversioned .so link is supposed to point at the current development version (it's what -l uses). We can't dlopen the .so on every platform because doesn't always exist. Under many Linux distributions, the .so symbolic link only exists in the -devel package. I have heard that the library version weirdness on FreeBSD is due to a libtool bug, and is fixed by an "ltverhack" script at some point, but I have not been able to verify this." In my tests I concluded that it was unnecessary and I received no responses or complaints when I asked for testers. I'm glad that bringing it back is a satisfactory solution to this problem, and I don't expect any trouble from it, but I wonder whether there is some dlopen flag that should be used instead. Cheers, Panagiotis