From owner-cvs-all Thu Mar 7 2: 2:33 2002 Delivered-To: cvs-all@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id BD30C37B41C; Thu, 7 Mar 2002 02:02:14 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id MAA43158; Thu, 7 Mar 2002 12:01:57 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h171.229.dialup.iptcom.net [212.9.229.171]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id MAA75646; Thu, 7 Mar 2002 12:01:45 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g27A1EB10605; Thu, 7 Mar 2002 12:01:14 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C873A9C.ACD9763A@FreeBSD.org> Date: Thu, 07 Mar 2002 12:02:04 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Trevor Johnson Cc: "David O'Brien" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, gnome@FreeBSD.org Subject: Re: cvs commit: ports/www/mozilla Makefile pkg-plist References: <20020306233644.T27624-100000@blues.jpj.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Trevor Johnson wrote: > > On Wed, 6 Mar 2002, David O'Brien wrote: > > > On Mon, Feb 18, 2002 at 12:04:07PM -0800, Maxim Sobolev wrote: > > > sobomax 2002/02/18 12:04:07 PST > > > > > > Modified files: > > > www/mozilla Makefile pkg-plist > > > Log: > > > Pre-create symlink to a Java plugin, so that the user only needs to install > > > jdk1.3.1 to make it working. Bump PORTREVISION. > > > > I am not sure this was a good thing. Ever since this change Mozilla has > > crashed more often for me, and often gives: > > > > LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i 386/ns600/libjavaplugin_oji.so [Cannot open "/usr/local/jdk1.3.1/jre/plugin/i386 /ns600/libjavaplugin_oji.so"] > > Segmentation fault > > For the linux-mozilla port, I wrote a little script which looks in > predefined places for plugins and makes symlinks to whichever ones exist. I don't like this approach, because it only works if the user had jdk installed when installing mozilla. Ideally, Mozilla should just ignore invalid plugins in its plugin directory or there should be a way to change Mozilla's behaviour at runtime using environment variable (e.g. `MOZILLA_PLUGINS=/foo/bar/plugin1.so:/foo/bar/plugin2.so'). -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message