Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5246674DC for ; Fri, 25 Nov 2011 14:52:56 +0000 (UTC) Received: (qmail 30444 invoked by uid 500); 25 Nov 2011 14:52:52 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 30335 invoked by uid 500); 25 Nov 2011 14:52:52 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 30162 invoked by uid 99); 25 Nov 2011 14:52:52 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2011 14:52:52 +0000 Received: from localhost (HELO localhost) (127.0.0.1) (smtp-auth username arielch, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2011 14:52:52 +0000 Date: Fri, 25 Nov 2011 11:54:38 -0300 From: Ariel Constenla-Haile To: ooo-dev@incubator.apache.org Subject: Re: [CODE]: spellchecker, hunspell, MacOS Message-ID: <20111125145428.GA4976@localhost> References: <4ECF9C81.5070502@googlemail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <4ECF9C81.5070502@googlemail.com> User-Agent: Mutt/1.5.21 (2010-09-15) --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi J=FCrgen, On Fri, Nov 25, 2011 at 02:47:45PM +0100, J=FCrgen Schmidt wrote: > Hi, >=20 > do anybody know if Hunspell is also used and necessary on MacOS? >=20 > I noticed some build problems after the latest update and did a > build without --enable-hunspell. The build breaks in > lingucomponent/.../macspellimpl.cxx it was me who removed the dependency on hunspell there.=20 By reading the sources (I don't have a MacOS, and never will) in trunk/main/lingucomponent/source/spellcheck/macosxspell/ that code has no dependency at all in libhunspell. The dependency on hunspell was spread all over the components there, sure a bug of copy-and-pasting the makefiles. So you should be able to build the MacOSXSpell component without hunspell enabled, and spell checking should work with only this component installed. Otherwise, its a bug (I tested the changes both on Linux and WinXP and the three components can be build and installed independently form each other; the same should work in MacOS). =20 > There was still a dependency to some types defined in Hunspell. I > tried to fix that and was able to build... that's quite strange. Do you have the logs? Was it a clean build? The dependency on hunspell should now be only limited to trunk/main/lingucomponent/source/spellcheck/spell/ that is the only UNO component that interfaces with libhunspell. All the other code in lingusitic and lingucomponent should work out fo the box without hunspell. > But it seems that spellchecking doesn't work,=20 for spell checking to work you need the dictionaries (I have no idea what kind of dictionaries supports MacOS), but without dictionaries installed the UNO component are not even listed in Tools - Options - Linguistic - Writing Aids > and also redlining doesn't work.=20 AFAIK redlining does not depend on spell checking > Before i take a closer look in this problem i would > like to know if it should work without Hunspell in general. AFAIK it should, just look at the sources, macspellimp.hxx and macspellimp.cxx have no reference to hunpsell (the references I removed - look at the log - where there just because of a copy-and-paste error =66rom the hunspell spell checker; the same is valid for the makefile.mk). Regards --=20 Ariel Constenla-Haile La Plata, Argentina --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJOz6wkAAoJEMjP1bm45QNWXMgP/1ZMRMy0GKje3hvKazBqlSBn MAEvZ6dEvs2CECkceJdtUnH6GFBNP73rU8UdyaJxrNOYmBuUfG2BxVP6DMdMA24M CYlCQrkiNukbaJgU/OiYk2B6JN2cRUxRirnUsphRGSCVQwQ0ikteOephx75kmbat nH8Pik8j9ZeGvbhaAXeH2Wfp1Gmnx2Qyc4GFxDX9121+lo2uZb/FKlA3PLEsErEw 1RczjwZ4uku7oAj1dOQlCYdsjhbxHCBI6+qWV+bS/y2YnqgsuHprlJZHMP+IZM2K 93f4hRAK9dm75qXi/hrR3GN13rpsTkl+t7qNZNDoadGxT6K2q7zdttpEe05kHMht TS7IzLsnyI5aqFSF37E+swQTMCyAX1b7tLVPh+SxNQ2/Vqhn0PAOwErc/1uYAdxP Do5V2x0QYee4yM/d0EW+mB2NbBaAPekXr1Np8qzJV14hphzDkkogw/bT1s1ybYlW eCcNQt3hO/rBqfk4DetHCM8adUcxgJ+RWVta71tZmbD0J4/nWs+O80tVoPy8wPfN WKG6QMMuE7ZLxdoe4OQNmFnkDsPvJTSXfhmIY489I3PrnOv0iTBid+2LtqerULyP dIepFExpeCXiYIHXRfvhH7fcubzLEPtHxRXyHVnQwIYbOHNJNlaAXUSwFoRVe+iA yxFYeiMLIGmP8UXbJp2m =qkCt -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--