Rebuilding Chrome's registry?

Thierry Thomas <[email protected]> Tue, 6 Apr 2004 23:52:24 +0200
Newsgroups gmane.os.freebsd.devel.mozilla
Organization Kabbale Eros
Message-ID <[email protected]>
Hello,

Some time ago, I sent some PRs about .xpi extensions, and I'd like to
commit them. E.g. PR ports/63236
<http://www.freebsd.org/cgi/query-pr.cgi?pr=63236>.

But I cannot commit them as-is, because after deinstallation they leave
a modified Chrome's registry. It's not possible to keep a copy of the
registry before the installation, because if you install extension A,
then extension B, then deinstall A but keep B, it would not work...

The submitted solution is to rebuild the registry during post-install:
and post-deinstall:.

Unfortunately, this solution does not work, because the mozilla* ports
build their registry before installation, under ${WRKSRC}, during
post-build:.

I have proposed a patch to fix this problem in
<http://www.freebsd.org/cgi/getmsg.cgi?fetch=3927+0+/usr/local/www/db/text/2004/freebsd-gnome/20040118.freebsd-gnome>

What do you think about it?
-- 
Th. Thomas.
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAcyaYc95pjMcUBaIRAmitAJ4wjr9lwSbaRYadE/+YeN6kt6V5CwCg1W9R
Etitzf7MIdNnpQvu83US/tM=
=ApXI
-----END PGP SIGNATURE-----