Re: No Hunspell add-on for the Mac M1

Leif H Silli <[email protected]> Wed, 01 Dec 2021 11:56:02 +0100
Newsgroups gmane.editors.xxe.general
Organization Lenk.no/Silli
Message-ID <[email protected]>
2021-12-01 11:13, Hussein Shafie:
> On 12/1/21 10:49, Leif H Silli wrote:
>> 
>> If Hunspell supposedly cannot not run on the macOS/ARM platform, then 
>> how come I am successfully using the Hunspell add-on together with XXE 
>> 9.5.1 - on macOS/ARM computer? Are you too rigid when you do not allow 
>> us to install Hunspell on the macOS/ARM platform?
> 
> I don't see how 'hunspell--Mac OS X-x86_64.jar' and 'jna--Mac OS
> X.jar' containing code compiled for an Intel processor could work on
> an ARM processor.
> 
> May be you have installed Rosetta 2 and that this code translator does
> its magic behind the scene.

Aha. I am not so updated about computer stuff that I used to be ... Yes, 
indeed, I also run another application which - it turns out - is an 
Intel only app. Hence, even if I cannot recall it, I have at some point 
said yes to install Rosetta 2 - or else that other application would not 
have worked. And this has to be why the Intel Hunspell addon works as 
well.

> We do not want to force our Mac/M1 users to install Rosetta 2 on their
> Macs. Therefore, for now[1], the "Hunspell spell checker" add-on will
> stay officially unavailable on Mac/M1. Sorry.

> [1] See "Add support for arm-based Mac OS",
> https://github.com/dren-dk/HunspellJNA/issues/20

Rather than waiting for ARM support in Hunspell, I would suggest that 
the Hunspell addon should be offered to all XXE 10 users, but with a 
warning that, on macOS/ARM, the add-on relies on Rosetta 2 to be 
present. That way, you would not not force Rosetta 2 on anyone.

>> I will definitely give the XMLmind Spell Checker a new chance. But 
>> please don't remove Hunspell from the macOS/ARM platform unless 
>> absolutely necessary ...!
> 
> The "Hunspell spell checker" add-on may still be easily downloaded and
> installed using the links and instructions found in this page:
> 
> http://www.xmlmind.com/xmleditor/addons.shtml#spellCheckerPlugin
> 
> (A version compatible with XXE v10 should be released tomorrow.)

So, am I right to believe that, as long as we perform a manual (or: 
local) installation, then it will remain possible for XXE 10 users on 
the macOS/ARM platform to install the Hunspell addon in XXE v10? If so, 
that would be a relief.

>>> Moreover, we made changes to the XXE add-on manager to make it take
>>> the macOS/ARM platform into account.
>>> 
>>> Unless we made a bug, the "Hunspell Spell Checker" will not be found
>>> in the list of available add-ons when you'll use "Options|Install
>>> Add-ons" on a Mac having an M1 processor.
>> 
>> I can confirm that Hunspell Spell Checker did not come up as an 
>> available add-on.
>> 
> 
> Thank you for this confirmation.

But, now that you mentioned that Hunspell for XXE v10 has not been 
released yet, I am not certain that my confirmation was worth anything 
...

The XXE version number of the published Hunspell addon, is "9.5.1". 
According to what I previously have learned, this means that that 
particular version does not show up as available for XXE v10, regardless 
of platform. If the XXE version number had included a "+" after the 
number, namely "9.5.1+", then it would have been available to v10 users 
as well. Hense my confirmation was simply a, so to speak, false positive 
or at least: a false result. We must wait for the Hunspell v10 release 
to check.
-- 
leif halvard silli

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support