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

Tommi Komulainen <[email protected]> Tue, 10 Aug 2004 19:59:48 +0300
Newsgroups gmane.comp.web.galeon.devel
Message-ID <[email protected]>
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


-- 
Tommi Komulainen                                 [email protected]
GPG 1024D/68388EE6    6FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBGP8EBKiYcWg4juYRAlsPAJ4uqVLZPGGsaxFkv4HMwvs6n1okEgCfSgBR
AlNinFcxKzyzON2Og/bcYUg=
=RoZ6
-----END PGP SIGNATURE-----