First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 114482
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Kevin F. Quinn (RETIRED) <kevquinn@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kevin F. Quinn (RETIRED) <kevquinn@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
hunspell-1.1.2.ebuild Ebuild for v1.1.2 of hunspell text/plain Kevin F. Quinn (RETIRED) 2005-12-04 16:18 0000 746 bytes Details
openoffice-2.0.1.ebuild-hunspell.patch Ebuild patch for openoffice to use system hunspell as spellchecker patch Kevin F. Quinn (RETIRED) 2006-01-29 05:45 0000 1.28 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 114482 depends on: Show dependency tree
Bug 114482 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: 2005-12-04 16:17 0000
hunspell is a much enhanced version of myspell; I'll attach an ebuild
contributed by Attila Toth which I've updated for the current latest
version 1.1.2.

Hunspell is a significant enhancement of myspell, blessed by the myspell author
to replace myspell in Openoffice.org - see
http://lingucomponent.openoffice.org/ (last paragraph)
http://lingucomponent.openoffice.org/servlets/ReadMsg?list=dev&msgNo=1377
http://www.openoffice.org/issues/show_bug.cgi?id=52383

For the openoffice team, configure option --enable-hunspell will enable the
relevant UNO component, and --with-system-hunspell gets it to use the system
hunspell library rather than a version duplicated in openoffice.  I'd suggest
adding a 'hunspell' USE flag in openoffice to switch it on and add the
dependency on hunspell, but it's up to you of course.  Ultimately if hunspell
does displace myspell such use-flag stuff may disappear.

I've checked that it builds and works ok on my system, but haven't tried
integrating it with openoffice (Attila uses it ok).  Some things you may want to
consider:
1) whether the library include files should go in /usr/include or somewhere else
2) whether to change the default dictionary path from /usr/share/myspell to
/usr/lib/openoffice/share/dict/ooo, or something.

------- Comment #1 From Kevin F. Quinn (RETIRED) 2005-12-04 16:18:49 0000 -------
Created an attachment (id=74073) [edit]
Ebuild for v1.1.2 of hunspell

------- Comment #2 From Andreas Proschofsky 2005-12-04 22:46:59 0000 -------
Very nice, doing system spell dictionaries was a high priority on my TODO-list
anyway, so this would be a great addition from an OpenOffice.org-view. The
current solution is quite bad as we don't have myspell dictionaries in the tree
and people have to install them through the DicOOo wizard, a global installation
is difficult.

If it works reliably - the last time I checked hunspell support in OOo still had
some issues - I'd like to add this without a use flag, I think this is one case
where we just want to have the right "default". What we also need, would be
ebuilds for the different languages.

------- Comment #3 From Andreas Proschofsky 2006-01-13 06:40:33 0000 -------
app-dicts-herd, could you please comment on this one?

------- Comment #4 From Kevin F. Quinn (RETIRED) 2006-01-29 05:02:27 0000 -------
OK; I'll take this one on since app-dicts haven't said anything.

------- Comment #5 From Kevin F. Quinn (RETIRED) 2006-01-29 05:45:49 0000 -------
Created an attachment (id=78420) [edit]
Ebuild patch for openoffice to use system hunspell as spellchecker

For reference at the moment.  Perhaps it might be best to do the
enable-hunspell/with-system-hunspell conditional on a local use flag, at least
until we have the dictionary situation sorted out.

I've committed hunspell to the app-text category.  Note it's only ~x86 at the
moment, ultimately obviously it needs at least the same arches as openoffice.

There are no hunspell/myspell/oo dictionary ebuilds yet, the situation there
will take a while to sort out as it's not as simple as I first thought.

------- Comment #6 From Andreas Proschofsky 2006-02-01 23:09:24 0000 -------
Just tried this out, works beautifully here with OOo. Good work, Kevin. Still,
won't add this before 2.0.2 (unless you convince me to ;) ), would be great to
have the dictionaries in place until then, to really enjoy the good stuff, this
brings to us.

About the problems with the dictionaries: Take a look at how Debian solved
this, maybe you can "borrow" something from there.

------- Comment #7 From Kevin F. Quinn (RETIRED) 2006-03-06 11:56:14 0000 -------
ok; ebuild is in (and since been bumped - just!).

First Last Prev Next    No search results available      Search page      Enter new bug