From owner-freebsd-gnome@FreeBSD.ORG Sat Oct 15 17:31:22 2005 Return-Path: X-Original-To: freebsd-gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4E9816A41F; Sat, 15 Oct 2005 17:31:22 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1970C43D46; Sat, 15 Oct 2005 17:31:21 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from pelsia.ninth-nine.com (d110.GkanagawaFL7.vectant.ne.jp [202.215.69.110]) (authenticated bits=0) by sakura.ninth-nine.com (8.13.3/8.13.3/NinthNine) with ESMTP id j9FHVDDS024613; Sun, 16 Oct 2005 02:31:19 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 16 Oct 2005 02:31:13 +0900 (JST) Message-Id: <200510151731.j9FHVDDS024613@sakura.ninth-nine.com> From: Norikatsu Shigemura To: freebsd-gnome@FreeBSD.org X-Mailer: Sylpheed version 2.0.2 (GTK+ 2.6.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0 (sakura.ninth-nine.com [219.127.74.120]); Sun, 16 Oct 2005 02:31:20 +0900 (JST) Cc: freebsd-ports@FreeBSD.org Subject: linux plugins and mozila related browsers X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2005 17:31:22 -0000 Hi. I want to do following things. But I cannot do it:-(. Please help me:-). 1. Make mozilla related browsers (mozilla, firefox, epiphany, ...) don't readlink(2) plugin files in /usr/X11R6/lib/browser_plugins/. I researched www/firefox and found MOZ_PLUGIN_PATH related codes in xpcom/io/nsAppFileLocationProvider.cpp. I tested following change: - rv = NS_NewNativeLocalFile(nsDependentCString(pathVar), PR_TRUE, getter_AddRefs(localFile)); + rv = NS_NewNativeLocalFile(nsDependentCString(pathVar), PR_FALSE, getter_AddRefs(localFile)); But PR_TRUE/PR_FALSE flags are not available:-(. So I don't know how to fix it.... 2. Add LPW enabled check code in /usr/X11R6/lib/firefox/run-mozilla.sh. a. LPW enabled check I think that ldd(1) should be supported Linux dynamic object. SEE ALSO: http://lists.freebsd.org/pipermail/freebsd-hackers/2005-October/014028.html - - - - - - - - - - - - - - - - - - - - - - - - - - - - if ldd /usr/X11R6/lib/linux-flashplugin6/libflashplayer.so 2> /dev/null | grep pluginwrapper > /dev/null; then MOZ_PLUGIN_PATH=/usr/X11R6/lib/browser_linux_plugins:/usr/X11R6/lib/browser_plugins; export MOZ_PLUGIN_PATH else MOZ_PLUGIN_PATH=/usr/X11R6/lib/browser_plugins; export MOZ_PLUGIN_PATH fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3. Does MOZ_PLUGIN_PATH support multiple plugin path? It is good that set MOZ_PLUGIN_PATH=/usr/X11R6/lib/browser_linux_plugins:/usr/X11R6/lib/browser_plugins. But I cannot follow MOZ_PLUGIN_PATH process:-(. If above things are success, mezz@ requested things are over. SEE ALSO: http://lists.freebsd.org/pipermail/cvs-ports/2005-September/072407.html http://lists.freebsd.org/pipermail/cvs-ports/2005-September/072409.html http://lists.freebsd.org/pipermail/cvs-ports/2005-September/072411.html http://lists.freebsd.org/pipermail/cvs-ports/2005-September/072412.html http://lists.freebsd.org/pipermail/cvs-ports/2005-September/072499.html http://lists.freebsd.org/pipermail/cvs-ports/2005-September/072502.html