Some thoughts about the handling of xulrunner-1.9.1 et al.

Axel Beckert abe at deuxchevaux.org
Sat Jul 11 14:50:42 UTC 2009


Hi Mike,

On Sat, Jul 11, 2009 at 09:30:20AM +0200, Mike Hommey wrote:
> > I call either "xulrunner-1.9 path/to/application.ini" or
> > "xulrunner-1.9.1 path/to/application.ini". Works fine(*).
> > 
> > [...]
> > 
> > (*) The other method of installung xulrunner applications I know is to
> >     copy (symlinking is said not to work) xulrunner-stub to the
> >     appliation's directory and rename it. This obviously doesn't work
> >     out for packaging xulrunner appliations.
> 
> Look at iceweasel, it does exactly that: symlinking xulrunner-stub and
> name it firefox-bin (this name is for backwards compatibility). Note the
> symlinking thing only works with debian xulrunner.

Now that's cool! You guys really rock! No idea why the Mozilla guys
dislike the Debian way, but I really love it. :-)

> There is an extra thing iceweasel does, is to symlink the xulrunner path
> to /usr/lib/iceweasel/xulrunner, which forces which xulrunner to use and
> avoid the xulrunner-stub to look in /etc/gre.d.

I'll definitely have a look at these things for my conkeror package.

> > > In any case, you can set the MOZ_GRE_CONF environment variable to the
> > > full path of the file in /etc/gre.d containing info about the version of
> > > xulrunner you'd want to use.
> > 
> > Doesn't seem to work if I call
> > 
> > env MOZ_GRE_CONF=/etc/gre.d/1.9.1.system.conf xulrunner-1.9
> > 
> > Or does that only work when xulrunner-stub is used?
> 
> It only works when the stub is used. Obviously, if you run xulrunner-1.9
> directly, you want to use xulrunner 1.9 ;)

Well, 1.9.1 is also some kind of 1.9. ;-)

Anyway, thanks for all the enlightenment! (I use ratpoison, though. ;-)

		Regards, Axel
-- 
Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/



More information about the pkg-mozilla-maintainers mailing list