Re: Re: [WEB] BUG: package galeon-1.3.17-1.1.fc2.dag doesn't see plugins in /usr/lib/mozilla/plugins/

Dag Wieers <[email protected]> Tue, 10 Aug 2004 20:16:57 +0200 (CEST)
Newsgroups gmane.comp.web.galeon.devel
Organization 3TI Web Hosting Services
Message-ID <[email protected]>
On Tue, 10 Aug 2004, Tommi Komulainen wrote:

> On Tue, 2004-08-10 at 15:23 +0200, Dag Wieers wrote:
> > 
> > Most probably they overlooked all the uses of the shell-script. For 
> > reference, here it is:
> > 
> > 	#!/bin/sh
> > 
> > 	### Written by Dag Wieers <[email protected]>
> > 	### Please send suggestions and fixes to me.
> > 
> > 	if [ -z "$MOZILLA_FIVE_HOME" ]; then
> > 	       MOZILLA_FIVE_HOME="%{_libdir}/mozilla-%{lversion}"
> > 	fi
> > 
> > 	LD_LIBRARY_PATH="$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH"
> > 	MOZ_PLUGIN_PATH="$MOZILLA_FIVE_HOME/plugins:%{_libdir}/mozilla/plugins:$LD_LIBRARY_PATH"
> > 
> > 	export LD_LIBRARY_PATH MOZILLA_FIVE_HOME MOZ_PLUGIN_PATH
> > 
> > 	exec %{_bindir}/galeon-bin $@
> > 
> > I hope that they can provide that functionality from the binary so that 
> > the shell-script is no longer needed.
> 
> The only reason for the shell script was to be able to set
> LD_LIBRARY_PATH properly or Galeon wouldn't start at all.  Now that
> we're using -rpath that's no longer needed.
> 
> In a 'make install' installation of Mozilla plugins work just fine,
> they're located in ${prefix}/lib/mozilla-${version}/plugins.  And I
> believe unversioned directory isn't searched.
> 
> ${prefix}/lib/mozilla/plugins is a modification in the Mozilla RPM, it's
> up to the Galeon packager to make similar modifications, there shouldn't
> be any distribution specific things in Galeon.
> 
> FWIW it should be trivial to move the binary to
> ${prefix}/lib/galeon/galeon (or libexec, or whatever the distribution
> convention happens to be) and put the custom shell script in
> ${prefix}/bin

Well, that's what I was doing before. I still think it would be useful to 
have the plugin searchpath configurable in Galeon (even if it only was in 
about:config or in gconf). But hey, Red Hat users will have to start a 
shell-script and revert to killing galeon-bin then.

I don't agree, but that's ok. Now I know what to do.

--   dag wieers,  [email protected],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285