Dan Nicholson wrote:
> On 12/21/05, Bruce Dubbs <[EMAIL PROTECTED]> wrote:
> 
>>The mozilla-run.sh script ends up setting among other things:
>>
>>export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
>>
>>It may well be that MOZILLA_FIVE_HOME is not strictly necessary, but it
>>is expected by the developers.
> 
> 
> That might be true, but in the case of run-mozilla.sh,
> MOZILLA_FIVE_HOME is set at run independently of
> --default-mozilla-five-home= .  It derives this value from the current
> directory.  /usr/bin/firefox uses the location for run-mozilla.sh from
> $moz_libdir, and this is set at compile time independently of any
> FIVE_home variants.
> 
> Keep in mind that --default-mozilla-five-home and the environment
> variable MOZILLA_FIVE_HOME are different things.  Some applications
> that depend on firefox will respect the environment variable
> MOZILLA_FIVE_HOME.  Passing --default-mozilla-five-home in base
> firefox only adds #define DEFAULT_MOZILLA_FIVE_HOME = ... to
> /usr/include/firefox-1.5/mozilla-config.h and /usr/bin/firefox-config
> which is like freetype-config I think.
> 
> So, --default-mozilla-five-home appears to be a compile time parameter
> for _other_ applications.  Doesn't seem to affect firefox at all. 
> Whether the other applications use that #define, I have no clue.

Mozilla/firefox/thunderbird are pretty closely related.
/usr/bin/mozilla uses MOZILLA_FIVE_HOME and following the code uses it.

If MOZILLA_FIVE_HOME is not set, it runs
/usr/lib/mozilla-1.7.12/run-mozilla.sh

where I do see the comment:

## This script is meant to run a mozilla program from the mozilla
## source tree.  This is mostly useful to folks hacking on mozilla.

I think it is a way for developers to have multiple versions installed
on their system at the same time.  It probably isn't necessary if there
is only one version on the system.  The question I have is the effect of
not having it and updating from FF-1.5 to FF-1.5.x.  It may have no
effect.  I havn't looked at that.

  -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to