<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>114482</bug_id>
          
          <creation_ts>2005-12-04 16:17 0000</creation_ts>
          <short_desc>Hunspell system ebuild</short_desc>
          <delta_ts>2006-03-06 11:56:14 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://hunspell.sourceforge.net</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kevquinn@gentoo.org</reporter>
          <assigned_to>kevquinn@gentoo.org</assigned_to>
          <cc>app-dicts@gentoo.org</cc>
    
    <cc>h.mth@web.de</cc>
    
    <cc>openoffice@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>kevquinn@gentoo.org</who>
            <bug_when>2005-12-04 16:17:53 0000</bug_when>
            <thetext>hunspell is a much enhanced version of myspell; I&apos;ll attach an ebuild
contributed by Attila Toth which I&apos;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&amp;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&apos;d suggest
adding a &apos;hunspell&apos; USE flag in openoffice to switch it on and add the
dependency on hunspell, but it&apos;s up to you of course.  Ultimately if hunspell
does displace myspell such use-flag stuff may disappear.

I&apos;ve checked that it builds and works ok on my system, but haven&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kevquinn@gentoo.org</who>
            <bug_when>2005-12-04 16:18:49 0000</bug_when>
            <thetext>Created an attachment (id=74073)
Ebuild for v1.1.2 of hunspell
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2005-12-04 22:46:59 0000</bug_when>
            <thetext>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&apos;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&apos;d like to add this without a use flag, I think this is one case
where we just want to have the right &quot;default&quot;. What we also need, would be
ebuilds for the different languages.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2006-01-13 06:40:33 0000</bug_when>
            <thetext>app-dicts-herd, could you please comment on this one?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kevquinn@gentoo.org</who>
            <bug_when>2006-01-29 05:02:27 0000</bug_when>
            <thetext>OK; I&apos;ll take this one on since app-dicts haven&apos;t said anything.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kevquinn@gentoo.org</who>
            <bug_when>2006-01-29 05:45:49 0000</bug_when>
            <thetext>Created an attachment (id=78420)
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&apos;ve committed hunspell to the app-text category.  Note it&apos;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&apos;s not as simple as I first thought.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>suka@gentoo.org</who>
            <bug_when>2006-02-01 23:09:24 0000</bug_when>
            <thetext>Just tried this out, works beautifully here with OOo. Good work, Kevin. Still, won&apos;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 &quot;borrow&quot; something from there.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kevquinn@gentoo.org</who>
            <bug_when>2006-03-06 11:56:14 0000</bug_when>
            <thetext>ok; ebuild is in (and since been bumped - just!).</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>74073</attachid>
            <date>2005-12-04 16:18 0000</date>
            <desc>Ebuild for v1.1.2 of hunspell</desc>
            <filename>hunspell-1.1.2.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogJAoKREVTQ1JJUFRJT049Ikh1bnNwZWxsIHNwZWxsIGNoZWNrZXIgLSBhbiBp
bXByb3ZlZCByZXBsYWNlbWVudCBmb3IgbXlzcGVsbCBpbiBvT08uIgpTUkNfVVJJPSJtaXJyb3I6
Ly9zb3VyY2Vmb3JnZS8ke1BOfS8ke1B9LnRhci5neiIKSE9NRVBBR0U9Imh0dHA6Ly9odW5zcGVs
bC5zb3VyY2Vmb3JnZS5uZXQvIgoKU0xPVD0iMCIKTElDRU5TRT0iR1BMLTIiCklVU0U9Im5jdXJz
ZXMgcmVhZGxpbmUiCktFWVdPUkRTPSJ+eDg2IgoKREVQRU5EPSJ2aXJ0dWFsL2xpYmMKCXJlYWRs
aW5lPyAoIHN5cy1saWJzL3JlYWRsaW5lICkKCW5jdXJzZXM/ICggc3lzLWxpYnMvbmN1cnNlcyAp
CglzeXMtZGV2ZWwvZ2V0dGV4dAoJPj1zeXMtZGV2ZWwvYXV0b2NvbmYtMi41OQoJPj1zeXMtZGV2
ZWwvYXV0b21ha2UtMS45IgoKc3JjX2NvbXBpbGUoKSB7Cgljb25maWc9IiIKCgkuL2NvbmZpZ3Vy
ZSBcCgkJLS1wcmVmaXg9L3VzciBcCgkJJCh1c2Vfd2l0aCByZWFkbGluZSByZWFkbGluZSkgXAoJ
CSQodXNlX3dpdGggbmN1cnNlcyB1aSkgXAoJCSR7Y29uZmlnfSB8fCBkaWUgIi4vY29uZmlndXJl
IGZhaWxlZCIKCgllbWFrZSB8fCBkaWUKfQoKc3JjX2luc3RhbGwoKSB7CgllaW5zdGFsbCB8fCBk
aWUKfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>78420</attachid>
            <date>2006-01-29 05:45 0000</date>
            <desc>Ebuild patch for openoffice to use system hunspell as spellchecker</desc>
            <filename>openoffice-2.0.1.ebuild-hunspell.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IG9wZW5vZmZpY2UtMi4wLjEuZWJ1aWxkCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC92YXIv
Y3Zzcm9vdC9nZW50b28teDg2L2FwcC1vZmZpY2Uvb3Blbm9mZmljZS9vcGVub2ZmaWNlLTIuMC4x
LmVidWlsZCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS4yMgpkaWZmIC11IC1iIC1CIC1yMS4yMiBv
cGVub2ZmaWNlLT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