chrome support for www/mozilla
Jose M Rodriguez
josemi at freebsd.jazztel.es
Thu Mar 10 06:21:59 PST 2005
Hi,
I need a solution for mozilla pkg for a customer, and need to know if
this can be part of the forthcoming mozilla-1.7.6.
If not, I'll work this as local patches.
The main problem is mozilla chrome/installed-chrome.txt registration.
Due that other mozilla.org will be using extensions very soon (even
mozilla-devel) the only target for this will be www/mozilla (1.7.6),
langpacks ans extensions.
The changes will be:
- move the chrome registration to $MOZDIR/register.sh (shared with
exensions)
- add support for a $MOZDIR/chrome.d/ chrome repository
- add a Makefile.chrome (in the way of www/mozex/Makefile.xpi)
- add a pkg-install.chrome (in the way of www/mozex/pkg-install.xpi)
The chrome registration will be:
move distrib installed-chrome.txt as chrome.d/00dist.chrome
langpacks will install 8x<langpack>.chrome and 8x<langpack>.sed (if
needed).
js only extensions like chatzilla will use 6x<extension>.chrome and
6x<extension>.sed (if needed).
component extensions like enigmail will use 4x<extension>.chrome and
4x<extension>.sed (if needed).
.chrome files contents will be additions to installed-chrome.txt
.sed files will be use with sed reimplace to purify installed-chrome.txt
before cat >>
register.sh will regenerate installed-chrome.txt from repo and do
registration.
Any comments on this are wellcome.
--
josemi
More information about the freebsd-gnome
mailing list