mozilla spellchecker (was RE: Help Building Mozilla)

"Jon Noack" <[email protected]> Wed, 19 Feb 2003 19:00:07 -0600 (CST)
Newsgroups gmane.os.freebsd.devel.mozilla
Message-ID <[email protected]>
This is all from memory, so let me know if I messed something up.  Worked
with Mozilla 1.2.1 and 5.0-RELEASE-p1.  I'll try and put together an XPI
tonight.

References:
http://spellchecker.mozdev.org/source.html
http://spellchecker.mozdev.org/compilefaq.html

1. Get the spellchecker source
cd <source_path>
cvs -d :pserver:[email protected]:/cvs login
cvs -d :pserver:[email protected]:/cvs co spellchecker

2. Fetch, extract, and patch the Mozilla source
cd /usr/ports/www/mozilla
make patch

3. Copy spellchecker/spellcheck into the extensions subdirectory
cp -r <source_path>/spellchecker/spellcheck work/mozilla/extensions/

4. Modify the patch to match the port's default extensions
<editor> <source_path>/patches/unix-spellcheck.patch
remove the "irc" from lines 135 and 136

5. Apply the modified patch found in spellchecker/patches
cd work/mozilla
patch -p0 < <source_path>/patches/unix-spellcheck.patch
when it asks you what file to patch for some rpm thing, just hit enter and
say 'y' to skip that patch

6. Use -w flag for portinstall or portupgrade to prevent it from cleaning
portinstall -w mozilla
or
portupgrade -w mozilla

7. Get all the girls... ;-)

Hope that's helpful,
Jon Noack



To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mozilla" in the body of the message