Hi,

On Sun, Apr 20, 2008 at 11:23:08PM -0400, Jeremy Maitin-Shepard wrote:
> Note that it isn't an issue of registering Conkeror with xulrunner, but
> rather of registering xulrunner with the system.

Ah, ok. Didn't knew that.

> Perhaps because the package takes care of registering it, they
> disabled the --register options.

That's very possible.

> > P.S. to Jeremy: Will make one single binary package since
> > --install-app generates an ELF binary instead of a shell script with
> > "/usr/bin/xulrunner-1.9 /usr/lib/conkeror/application.ini" as I
> > expected.
> 
> I think a single package would be the most convenient for users, but
> note that --install-app doesn't actually do anything very fancy.  The
> ELF executable you are seeing is actually just an exact copy of
> xulrunner-stub.

Yeah, assumed that. But this seems not really necessary since a shell
script calling xulrunner on the application.ini seems to be sufficient
and copying files from another package is a very bad thing. So I'm
happy to hear this isn't anything magic. :-)

> There is no need to actually run --install-app.

'kay. Wasn't sure about that.

> I'd recommend the following procedure for installing:
> 
> Install everything to e.g. /usr/lib/conkeror.  Copy everything in the
> Conkeror repository to there except:
> 
> Skip:
>    build.sh
>    install.sh
>    Info.plist (only for Mac OS X)
>    Makefile
>    spawn-process-helper.c (copy over the built spawn-process-helper
>                            executable instead)

Yeah, thanks for the list. It's what I would have left out, but it's
good to have that confirmed. :-)

> Additionally, copy xulrunner-stub over as e.g.
> /usr/lib/conkeror/conkeror.

Will try to replace the xulrunner-stub binary with a shell script. If
that works, I'm probably back to two packages. %-) But since it seems
as if I still have to learn a lot about how current Mozilla products
work, I probably going better with not doing any more predictions
unless I have a working package... ;-)

> If the appropriate environment variables are not set globally on Debian,
> perhaps instead copy xulrunner-bin as conkeror-bin, and create a shell
> script /usr/lib/conkeror/conkeror that sets
> 
> LD_LIBRARY_PATH and MOZ_PLUGIN_PATH as appropriate.

Yeah probably will put a shell script instead a symbolic link into
/usr/bin anyway.

Thanks for all the background information. Helped already a lot. But
digging myself into it and finding out by try and error was also an
interesting experience. :-)

                Regards, Axel
-- 
Axel Beckert - [EMAIL PROTECTED], [EMAIL PROTECTED] - http://noone.org/abe/
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to