From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 8 16:00:36 2005 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 58CDF16A41F for ; Mon, 8 Aug 2005 16:00:36 +0000 (GMT) (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 D35AD43D49 for ; Mon, 8 Aug 2005 16:00:35 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j78G0ZpU047781 for ; Mon, 8 Aug 2005 16:00:35 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j78G0ZhN047780; Mon, 8 Aug 2005 16:00:35 GMT (envelope-from gnats) Resent-Date: Mon, 8 Aug 2005 16:00:35 GMT Resent-Message-Id: <200508081600.j78G0ZhN047780@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, "\"Panagiotis Astithas\" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B44416A41F; Mon, 8 Aug 2005 15:59:54 +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 8E80B43D45; Mon, 8 Aug 2005 15:59:52 +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 j78FxkID015254; Mon, 8 Aug 2005 18:59:46 +0300 (EEST) (envelope-from past@ebs.gr) Received: from edgar.gr (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j78Fxk6C062315; Mon, 8 Aug 2005 18:59:46 +0300 (EEST) (envelope-from past@ebs.gr) Message-Id: <1123516672.0@edgar.gr> Date: Mon, 8 Aug 2005 18:57:52 +0300 From: "\"Panagiotis Astithas\" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: nork@FreeBSD.org Subject: ports/84672: Fix for the internal browser in java/eclipse X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 16:00:36 -0000 >Number: 84672 >Category: ports >Synopsis: Fix for the internal browser in java/eclipse >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 08 16:00:35 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Panagiotis Astithas >Release: FreeBSD 5.4-STABLE i386 >Organization: EBS Ltd. >Environment: System: FreeBSD 5.4-STABLE #0: Sat Jul 9 20:02:08 EEST 2005 root@edgar.gr:/usr/obj/usr/src/sys/EDGAR >Description: The eclipse 3.1 port has a small bug that causes the internal browser to fail. The location of the embeddable mozilla browser does not pass from the startup script, to the eclipse executable. Spotted by: Georg-W. Koltermann >How-To-Repeat: - Start eclipse (/usr/local/bin/eclipse). Open Window -> Preferences and find the browser category. See that the internal browser option is greyed. - Open the Javadoc view in the Java perspective. Open a simple java program with a String variable and select the String type. Notice the Javadoc information for String in the Javadoc view is displayed in raw text and not formatted HTML. - Open the log from Help -> About -> Configuration -> Log. Notice error message like the following: !ENTRY org.eclipse.ui.browser 2 0 2005-07-30 18:54:56.256 !MESSAGE Internal browser is not available: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] >Fix: --- eclipse-browser.patch begins here --- diff -ruN /usr/ports/java/eclipse/files/eclipse.in eclipse/files/eclipse.in --- /usr/ports/java/eclipse/files/eclipse.in Sun Jul 31 08:26:15 2005 +++ eclipse/files/eclipse.in Mon Aug 8 16:47:43 2005 @@ -10,8 +10,8 @@ DEFAULT_JAVA_HOME=%%JAVA_HOME%% ECLIPSE_HOME=%%ECLIPSE_HOME%% DEFAULT_JAVA_CMD=java -MOZILLA_FIVE_HOME=%%X11BASE%%/lib/%%BROWSER%% -LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH +export MOZILLA_FIVE_HOME=%%X11BASE%%/lib/%%BROWSER%% +export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH #----------------------------------------------------------------------------- --- eclipse-browser.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: