On Sun, Mar 23, 2008 at 10:34 PM, Randy McMurchy
<[EMAIL PROTECTED]> wrote:
>
> This doesn't address the question I have about SeaMonkey and .xpi
> extension installations. I found if you don't install it (the .xpi,
> Enigmail in this case) from the build tree, and you wait to install
> it from the xpi_store (our dir we copy the .xpi file to), you
> *must* run as root once to register it.
>
> Otherwise it doesn't work. Plain and simple.
Personally, I use unzip to manually install the xpi from the build for
both firefox and thunderbird. This is what I do for enigmail:
# create xpi as enigmail.xpi
make -C ../thunderbird-build/mailnews/extensions/enigmail \
XPIFILE=enigmail.xpi xpi
# install the xpi; first <em:id> is the install directory
enig_dir=$(sed -n '/<em:id>/{s%[^>]*>\(.*\)<.*%\1%p;q}' \
mailnews/extensions/enigmail/package/install.rdf)
unzip -d ${PKG_DEST}/usr/lib/thunderbird/extensions/${enig_dir} \
../thunderbird-build/dist/bin/enigmail.xpi
The sed to strip out the directory is nasty, but it works.
Also, you can script the "run as root" part by running "thunderbird
-register" whenever. I don't know if that encompasses the
"-install-global-extension" switch, but I think it should take care of
the "you should run once as root" part. I never run any of the Mozilla
programs as root before using them unprivileged (but I do run
-register after the install).
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page