Re: Spelling Checking in Firefox and Thunderbird
On Wed, Jun 18, 2014 at 08:32:57PM -0700, Clint Pachl wrote: > Landry Breuil wrote, On 06/16/14 23:29: > >Spellchecking was fixed_after_ 5.5 was branched, so > >you'll either have to: > >- upgrade to -current to get seamonkey 2.26, which*should* be fixed > >- backport the fix, which consist in rebuilding the package adding > > --with-system-hunspell to CONFIGURE_ARGS. > > After backporting the fix above to the 5.5 release ports, I experienced a > hellacious build. First, I was running out of drive space on my SSD. Then > the build was exhausting memory at the linking stage. So I set WRKOBJDIR and > `ulimit -d unlimited` to get past that. However, the spell checker was still > broken. > > Finally, Google told me to use `--enable-system-hunspell` instead of > `--with-system-hunspell`. I should have recognized the format just by > looking at the other CONFIGURE_ARGS. Now I have a working spell checker! > Thanks Landry and Stuart for your help. Yeah, the --with and --enable arguments are not always looking the same, sorry i mixed it in my mail. > 1. /usr/local/lib/seamonkey-2.23/dictionaries/ > 2. /usr/local/share/mozilla-dicts/ > 3. /usr/local/share/hunspell/ (symlinks to mozilla-dicts) > > By default, Seamonkey uses the first one, which only contains the "en-US" > dictionary. But as Stuart pointed out, you can manually choose a path using > Mozilla/Seamonkey `spellchecker.dictionary_path` config. In -current, a file is installed in defaults/preferences/all-openbsd.js to set it by default to point to /usr/local/share/mozilla-dicts/ - you didnt get that part because i also forgot to tell you to backport those bits, that's all :) > Thanks again Landry for maintaining these monstrous Mozilla ports. Thanks for the perseverance in backporting bits and building it ;) Landry
Re: Spelling Checking in Firefox and Thunderbird
Landry Breuil wrote, On 06/16/14 23:29: Spellchecking was fixed_after_ 5.5 was branched, so you'll either have to: - upgrade to -current to get seamonkey 2.26, which*should* be fixed - backport the fix, which consist in rebuilding the package adding --with-system-hunspell to CONFIGURE_ARGS. After backporting the fix above to the 5.5 release ports, I experienced a hellacious build. First, I was running out of drive space on my SSD. Then the build was exhausting memory at the linking stage. So I set WRKOBJDIR and `ulimit -d unlimited` to get past that. However, the spell checker was still broken. Finally, Google told me to use `--enable-system-hunspell` instead of `--with-system-hunspell`. I should have recognized the format just by looking at the other CONFIGURE_ARGS. Now I have a working spell checker! Thanks Landry and Stuart for your help. The remainder of this email is just an FYI. The Seamonkey build required 6.2 GB of disk space (not including build requirements) and 2300 MB of RAM at peak. Dang! Also, during my troubleshooting phase, I found dictionaries scattered throughout the filesystem: 1. /usr/local/lib/seamonkey-2.23/dictionaries/ 2. /usr/local/share/mozilla-dicts/ 3. /usr/local/share/hunspell/ (symlinks to mozilla-dicts) By default, Seamonkey uses the first one, which only contains the "en-US" dictionary. But as Stuart pointed out, you can manually choose a path using Mozilla/Seamonkey `spellchecker.dictionary_path` config. On my system, LibreOffice automatically installed hunspell, which also installed the "en-GB" dictionary by default into the second path. So if you wanted Mexican Spanish for example, you would have to install the "mozilla-dicts-es-MX" package and set spellchecker.dictionary_path = /usr/local/share/mozilla-dicts/ in `about:config`. Then set the language via Edit -> Preferences -> Appearance -> Spelling -> Language. Thanks again Landry for maintaining these monstrous Mozilla ports. Clint P.S. there should be no spelling errors in this email!
Re: Spelling Checking in Firefox and Thunderbird
Landry Breuil wrote, On 06/16/14 23:29: On Mon, Jun 16, 2014 at 03:27:19PM -0700, Clint Pachl wrote: Landry Breuil wrote, On 05/15/14 12:26: On Thu, May 15, 2014 at 08:19:08PM +0100, Fred wrote: Hi Ports, This might be old information but I have just noticed that spell checking is working again in Firefox 29.0 and Thunderbird 24.5.0 Yes, i finally found time to dig into it, and it got commited with 29.0. Not everything is properly fixed (the root issue is not, see http://bugzilla.mozilla.org/991278), but at least this way it works. After upgrading to OBSD 5.5 my spell checker also quit working with Seamonkey 2.23, the release package. I've been trying to live without it until November, but I just can't. My spelling isn't 100% and I use email for professional business communications. I somewhat doubt it "stopped working" since it was known broken since basically forever. Spellchecking was fixed _after_ 5.5 was branched, so you'll either have to: - upgrade to -current to get seamonkey 2.26, which *should* be fixed - backport the fix, which consist in rebuilding the package adding --with-system-hunspell to CONFIGURE_ARGS. Thanks Landry, that explains it. I've been trying everything, including uninstalling LibreOffice, which auto installed mozilla-dicts-en-GB and hunspell. I thought maybe LibreOffice and those packages were conflicting with Mozilla. I did the manual installation outlined here http://kb.mozillazine.org/Dictionaries ... Well, it really did "stop" working for me. I was running 5.3 release. Once 5.5 came out, I did two quick upgrades, basically bypassing 5.4 and jumping right to 5.5. I immediately noticed that the spell checker was broken. Anyway, I will reinstall LibreOffice and the hunspell packages then backport the fix on the release ports as you instructed. Thanks again Landry.
Re: Spelling Checking in Firefox and Thunderbird
On Mon, Jun 16, 2014 at 03:27:19PM -0700, Clint Pachl wrote: > Landry Breuil wrote, On 05/15/14 12:26: > >On Thu, May 15, 2014 at 08:19:08PM +0100, Fred wrote: > >>Hi Ports, > >> > >>This might be old information but I have just noticed that spell checking is > >>working again in Firefox 29.0 and Thunderbird 24.5.0 > >Yes, i finally found time to dig into it, and it got commited with 29.0. > >Not everything is properly fixed (the root issue is not, see > >http://bugzilla.mozilla.org/991278), but at least this way it works. > > After upgrading to OBSD 5.5 my spell checker also quit working with > Seamonkey 2.23, the release package. I've been trying to live without it > until November, but I just can't. My spelling isn't 100% and I use email for > professional business communications. I somewhat doubt it "stopped working" since it was known broken since basically forever. Spellchecking was fixed _after_ 5.5 was branched, so you'll either have to: - upgrade to -current to get seamonkey 2.26, which *should* be fixed - backport the fix, which consist in rebuilding the package adding --with-system-hunspell to CONFIGURE_ARGS. Landrty
Re: Spelling Checking in Firefox and Thunderbird
Stuart Henderson wrote, On 06/16/14 16:15: On 2014/06/16 15:27, Clint Pachl wrote: Landry Breuil wrote, On 05/15/14 12:26: On Thu, May 15, 2014 at 08:19:08PM +0100, Fred wrote: Hi Ports, This might be old information but I have just noticed that spell checking is working again in Firefox 29.0 and Thunderbird 24.5.0 Yes, i finally found time to dig into it, and it got commited with 29.0. Not everything is properly fixed (the root issue is not, see http://bugzilla.mozilla.org/991278), but at least this way it works. After upgrading to OBSD 5.5 my spell checker also quit working with Seamonkey 2.23, the release package. I've been trying to live without it until November, but I just can't. My spelling isn't 100% and I use email for professional business communications. Does it help to go intoabout:config and set spellchecker.dictionary_path to /usr/local/share/mozilla-dicts ? First, I ensured that I had the dictionaries correctly installed: $ cd /usr/local/share/mozilla-dicts/ $ ls -1 en-GB.aff en-GB.dic Then to make sure I have all my bases covered, I did the following: $ sudo cp en-GB.aff en-US.aff $ sudo cp en-GB.dic en-US.dic (mostly becaue my default preferences are "en-US") I tried setting `spellchecker.dictionary_path` (per Stuart H.) to the following (including "US" version) with no luck: * /usr/local/share/mozilla-dicts * /usr/local/share/mozilla-dicts/ * /usr/local/share/mozilla-dicts/en-GB.aff * /usr/local/share/mozilla-dicts/en-GB.dic * /usr/local/share/mozilla-dicts/en-GB * /home/pachl/.mozilla/seamonkey/e8cxa4g0.default/extensions/en...@dictionaries.addons.mozilla.org/dictionaries/ (the last one points to the add-on English dictionary) I also tried setting `spellchecker.dictionary` to "en-US" and "en-GB" but no difference. I uninstalled my add-on dictionaries and retried the above settings to make sure there were no conflicts, but that didn't help. I reinstalled the following add-on dictionaries: * United States English Spellchecker 7.0.1 * British English 1.19.5 and tried the settings above again, but no luck. Also, I restarted Seamonkey between settings to make sure the changes were updated. I disabled my only 3 extensions in case they were not causing problems: * Compact Menu 2 4.3.1 * It's All Text! 1.8.1 * LastPass 3.1.1 Executed seamonkey with lang: $ seamonkey -lang en-US And also tried safe mode with a variation of dictionary paths and installed dictionaries: $ seamonkey -safe-mode I looked at all of my configs that contained "spell" hopefully turning up a clue. Everything was set to the default except for `layout.spellcheckDefault`, which I reset from 2 -> 1. Nothing worked. It's as if Seamonkey doesn't recognize any of the installed dictionaries, in my profile or the system dictionary package. No output to STDERR either. I'm all out of ideas.
Re: Spelling Checking in Firefox and Thunderbird
On 2014/06/16 15:27, Clint Pachl wrote: > Landry Breuil wrote, On 05/15/14 12:26: > >On Thu, May 15, 2014 at 08:19:08PM +0100, Fred wrote: > >>Hi Ports, > >> > >>This might be old information but I have just noticed that spell checking is > >>working again in Firefox 29.0 and Thunderbird 24.5.0 > >Yes, i finally found time to dig into it, and it got commited with 29.0. > >Not everything is properly fixed (the root issue is not, see > >http://bugzilla.mozilla.org/991278), but at least this way it works. > > After upgrading to OBSD 5.5 my spell checker also quit working with > Seamonkey 2.23, the release package. I've been trying to live without it > until November, but I just can't. My spelling isn't 100% and I use email for > professional business communications. Does it help to go into about:config and set spellchecker.dictionary_path to /usr/local/share/mozilla-dicts ?
Re: Spelling Checking in Firefox and Thunderbird
Landry Breuil wrote, On 05/15/14 12:26: On Thu, May 15, 2014 at 08:19:08PM +0100, Fred wrote: Hi Ports, This might be old information but I have just noticed that spell checking is working again in Firefox 29.0 and Thunderbird 24.5.0 Yes, i finally found time to dig into it, and it got commited with 29.0. Not everything is properly fixed (the root issue is not, see http://bugzilla.mozilla.org/991278), but at least this way it works. After upgrading to OBSD 5.5 my spell checker also quit working with Seamonkey 2.23, the release package. I've been trying to live without it until November, but I just can't. My spelling isn't 100% and I use email for professional business communications. port:fred ~> pkg_info|grep thunder thunderbird-24.5.0 Mozilla e-mail, rss and usenet client thunderbird-i18n-en-GB-24.5.0 en-GB language pack for Thunderbird port:fred ~> pkg_info|grep firefox firefox-29.0Mozilla web browser pachl@neo$ pkg_info | grep -e mozilla -e seamonkey mozilla-dicts-en-GB-1.3p0 en-GB dictionary for Mozilla seamonkey-2.23 Mozilla application suite Well, the interesting part is having mozilla-dicts-$YOURLANG installed for proper spellcheck in your language :) not the i18n ui strings.. Landry Should spellcheck work in Seamonkey Mail with my 5.5 release packages? I'm in "US" and not "GB". The "en-GB" dict was installed automatically, but there doesn't seem to be a US version. I also tried installing the mozilla-dicts-en-CA-1.3p0 package but that didn't work. I'm not sure how to select/configure the dictionary language. Do I need to set an environment variable or a config in Seamonkey? The dictionary in "Preferences > Appearance > Spelling > Language" is "English/United States". It is my only choice in the drop down menu. I've also tried downloading other dictionaries as an "add-on" but that didn't work either. I am tempted to download the packages tree and remake the package. However, I'm hesitant to proceed because of this: http://www.openbsd.org/faq/faq15.html#NoFun If somone can point me in the right direction to get my spell checker working, I would greatly appreciate your help. Clint P.S. this email may contain spelling errors! ;-)
Re: Spelling Checking in Firefox and Thunderbird
On Thu, May 15, 2014 at 08:19:08PM +0100, Fred wrote: > Hi Ports, > > This might be old information but I have just noticed that spell checking is > working again in Firefox 29.0 and Thunderbird 24.5.0 Yes, i finally found time to dig into it, and it got commited with 29.0. Not everything is properly fixed (the root issue is not, see http://bugzilla.mozilla.org/991278), but at least this way it works. > port:fred ~> pkg_info|grep thunder > thunderbird-24.5.0 Mozilla e-mail, rss and usenet client > thunderbird-i18n-en-GB-24.5.0 en-GB language pack for Thunderbird > port:fred ~> pkg_info|grep firefox > firefox-29.0Mozilla web browser Well, the interesting part is having mozilla-dicts-$YOURLANG installed for proper spellcheck in your language :) not the i18n ui strings.. Landry
Spelling Checking in Firefox and Thunderbird
Hi Ports, This might be old information but I have just noticed that spell checking is working again in Firefox 29.0 and Thunderbird 24.5.0 port:fred ~> pkg_info|grep thunder thunderbird-24.5.0 Mozilla e-mail, rss and usenet client thunderbird-i18n-en-GB-24.5.0 en-GB language pack for Thunderbird port:fred ~> pkg_info|grep firefox firefox-29.0Mozilla web browser port:fred ~> dmesg|head -2 OpenBSD 5.5-current (GENERIC.MP) #126: Mon May 12 22:40:04 MDT 2014 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP Thanks Fred