Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 18060
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nick Palmer <nicholas@slackers.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mozilla-1.3-r1.ebuild mozilla-1.3-r1.ebuild text/plain Matt Taylor 2003-03-26 03:46 0000 16.20 KB Details
unix-spellcheck.patch unix-spellcheck.patch patch Matt Taylor 2003-03-26 03:47 0000 5.46 KB Details | Diff
spellcheck.tar.gz spellcheck.tar.gz application/octet-stream Matt Taylor 2003-03-26 03:49 0000 274.04 KB Details
spellcheck.tar.gz new spellcheck.tar.gz application/octet-stream Matt Taylor 2003-03-28 00:44 0000 274.04 KB Details
mozilla-1.3-r2.ebuild mozilla-1.3-r2.ebuild text/plain Carson Reynolds 2003-06-16 11:30 0000 16.50 KB Details
mozilla-1.4-spellcheck_patch.tar.gz Patch and source to enable the spellchecker in Mozilla 1.4 application/octet-stream Paul Moore 2003-07-18 07:10 0000 279.38 KB Details
mozilla-1.4-r3-spellcheck_patch.tar.gz ebuild and patch for 1.4-r3 application/x-gzip Carson Reynolds 2003-08-05 07:50 0000 281.99 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 18060 depends on: Show dependency tree
Bug 18060 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-23 16:48 0000
We should include a USE var that would include the spellchecker at
spellchecker.mozdev.org in the build of mozilla. The precedent is there with the
enigmail inclusion in the ebuild, and the spellchecker is one of mozilla mails
glaringly missing features.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Matt Taylor 2003-03-26 03:45:02 0000 -------
I patched the spellchecker in but it doesn't compile.  If anyones interested
I'll attach the modified ebuild, patch and spellchecker tarball since they only
have cvs downloads, however I don't know how usefull it will be since it
doesn't compile.  Heres the error I get.

g++ -o mozSpellChecker.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI 
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/editor -I../../../dist/include/content
-I../../../dist/include/layout -I../../../dist/include/dom
-I../../../dist/include/necko -I../../../dist/include/widget
-I../../../dist/include/pref -I../../../dist/include/gfx
-I../../../dist/include/txtsvc -I../../../dist/include/uconv
-I../../../dist/include/unicharutil -I../../../dist/include/spellchecker
-I../../../dist/include
-I/var/tmp/portage/mozilla-1.3-r1/work/mozilla/dist/include/nspr     
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-long-long -march=i686 -pipe -Wno-deprecated
-pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2 
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h
-Wp,-MD,.deps/mozSpellChecker.pp mozSpellChecker.cpp
mozPersonalDictionary.cpp
g++ -o mozPersonalDictionary.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"
-DOJI  -I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/editor -I../../../dist/include/content
-I../../../dist/include/layout -I.
./../../dist/include/dom -I../../../dist/include/necko
-I../../../dist/include/widget -I../../../dist/include/pref
-I../../../dist/include/gfx -I../../../dist/include/txtsvc
-I../../../dist/include/uconv -I../../../dist/include/unicharutil
-I../../../dist/include/spellchecker -I../../../dist/include
-I/var/tmp/portage/mozilla-1.3-r1/work/mozilla/dist/include/nspr     
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-long-long -march=i686 -pipe -Wno-deprecated
-pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2 
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h
-Wp,-MD,.deps/mozPersonalDictionary.pp mozPersonalDictionary.cpp
mozPersonalDictionary.cpp: In method `nsresult mozPersonalDictionary::Load()':
mozPersonalDictionary.cpp:393: no matching function for call to
`nsDerivedSafe<nsIUnicharInputStream>::Read (PRUnichar *, int, PRUint32 *)'
../../../dist/include/xpcom/nsIUnicharInputStream.h:59: candidates are:
nsresult nsIUnicharInputStream::Read(PRUnichar *, unsigned int, unsigned int,
PRUint32 *)
mozPersonalDictionary.cpp:395: no matching function for call to
`nsDerivedSafe<nsIUnicharInputStream>::Read (PRUnichar *, int, PRUint32 *)'
../../../dist/include/xpcom/nsIUnicharInputStream.h:59: candidates are:
nsresult nsIUnicharInputStream::Read(PRUnichar *, unsigned int, unsigned int,
PRUint32 *)
mozPersonalDictionary.cpp:401: no matching function for call to
`nsDerivedSafe<nsIUnicharInputStream>::Read (PRUnichar *, int, PRUint32 *)'
../../../dist/include/xpcom/nsIUnicharInputStream.h:59: candidates are:
nsresult nsIUnicharInputStream::Read(PRUnichar *, unsigned int, unsigned int,
PRUint32 *)
make[4]: *** [mozPersonalDictionary.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/mozilla-1.3-r1/work/mozilla/extensions/spellcheck/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/var/tmp/portage/mozilla-1.3-r1/work/mozilla/extensions/spellcheck'
make[2]: *** [libs] Error 2
make[2]: Leaving directory
`/var/tmp/portage/mozilla-1.3-r1/work/mozilla/extensions'
make[1]: *** [tier_94] Error 2
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.3-r1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-1.3-r1 failed.
!!! Function src_compile, Line 369, Exitcode 2
!!! (no error message)

------- Comment #2 From Matt Taylor 2003-03-26 03:46:49 0000 -------
Created an attachment (id=9819) [details]
mozilla-1.3-r1.ebuild

created a new use var of mozspellcheck like all the other moz* ones

------- Comment #3 From Matt Taylor 2003-03-26 03:47:59 0000 -------
Created an attachment (id=9820) [details]
unix-spellcheck.patch

add the spellchecker to the build

------- Comment #4 From Matt Taylor 2003-03-26 03:49:26 0000 -------
Created an attachment (id=9821) [details]
spellcheck.tar.gz

untar into the files dir

------- Comment #5 From Matt Taylor 2003-03-26 04:01:44 0000 -------
I submited a bug to the spellchecker guys.  See
http://mozdev.org/bugs/show_bug.cgi?id=3487

------- Comment #6 From Matt Taylor 2003-03-27 15:38:22 0000 -------
I got a fix from the mozdev bug...trying it out. Will update this bug in a few
hours when mozilla finishes compiling.

------- Comment #7 From Matt Taylor 2003-03-28 00:42:08 0000 -------
Ok with the fix it compiles and works.  Uploading new tarball.

------- Comment #8 From Matt Taylor 2003-03-28 00:44:09 0000 -------
Created an attachment (id=9930) [details]
new spellcheck.tar.gz

------- Comment #9 From Carson Reynolds 2003-06-16 11:30:07 0000 -------
Created an attachment (id=13377) [details]
An update of the mozilla-1.3-r1.ebuild for r2

Result of a diff between (bug attached) mozilla-1.3-r1.ebuild and standard
mozilla-1.3-r2.ebuild.

------- Comment #10 From Matt Taylor 2003-06-16 15:59:57 0000 -------
cool, I didn't even notice there was a -r2 ebuild since I called my ebuild -r2
on my machine.

------- Comment #11 From Paul Moore 2003-07-08 07:38:08 0000 -------
I tested the patches on Alpha and it worked for me, I am in the process of
testing the latest CVS bits on the mozilla-1.4 package for Alpha as well.  It
would be really nice if this made it into the base mozilla package.

------- Comment #12 From Paul Moore 2003-07-18 07:10:11 0000 -------
Created an attachment (id=14658) [details]
Patch and source to enable the spellchecker in Mozilla 1.4

To install this patch untar the file in /usr/portage/net-www/mozilla; it has
been tested on Gentoo Alpha but I have no reason to believe it will have
problems on Gentoo X86.

------- Comment #13 From Carson Reynolds 2003-08-05 06:29:37 0000 -------
According to http://spellchecker.mozdev.org/ the spellchechecker is now in the
1.5 trunk. For 1.4, I will be posting patches for 1.4-r2 and 1.4-r3 shortly. We
ought to integrate these into the mozilla default ebuild to save the
duplication of effort by all the good folks who keep diffing and posting
patches to this bug.

------- Comment #14 From Carson Reynolds 2003-08-05 07:50:00 0000 -------
Created an attachment (id=15546) [details]
ebuild and patch for 1.4-r3

Attached is a new ebuild for mozilla 1.4-r3 which adds a new USE flag called
mozspellcheck. Copy this file into /usr/portage/net-www/mozilla/. Perform tar
-zxvf mozilla-1.4-r3-spellcheck_patch.tar.gz in that directory. Then perform
USE="-crypt mozspellcheck" emerge
/usr/portage/net-www/mozilla/mozilla-1.4-r3.ebuild. After this, the user should
be able to log in as root and install the spellchecker from
http://spellchecker.mozdev.org/installation.html#

------- Comment #15 From Matt Taylor 2003-08-06 14:54:01 0000 -------
I just emerged the ebuild provided here and it works great.  I didn't need to
set -crypt.

------- Comment #16 From A. Permyakov 2003-10-03 16:32:21 0000 -------
Is this patch still not in 1.4-r4 or am I missing something?

------- Comment #17 From Aron Griffis (RETIRED) 2004-03-20 14:40:05 0000 -------
Since mozilla-1.5 I think that the spellchecker is included in moz by default,
sorry we weren't able to do this for 1.3/1.4

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug