[libvoikko] Changes to libreoffice-voikko for reliable (un)installation

Sjur Moshagen sjurnm at mac.com
Thu Sep 4 10:09:40 EEST 2014


3. sep. 2014 kl. 17:32 skrev Harri Pitkänen <hatapitk at iki.fi>:

> On 2014-09-02 12:46, Sjur Moshagen wrote:
>> It seems that the 64-bit code is not registering properly for one
>> reason or another, but as soon as LO-voikko is registered by the
>> 32-bit version, the 64-bit version works exactly as it should.
>> 
>> Why the 64-bit LO-voikko doesn’t register, I have no idea.
> 
> You could try to build some of the C++ SDK examples here:
> 
>  http://api.libreoffice.org/examples/examples.html#Cpp_examples

Thanks for the suggestion. I downloaded the complextoolbarcontrols project, and after having installed boost, it built without issues using the LO 4.2 SDK (the first 64bit SDK for Mac).

The generated oxt was 64bit (I checked with the tool ‘file’, which reports the architecture(s) of binaries), and installed without issues. I had to restart LO to make it work, but after the restart there was no problems. The oxt registered itself as it should, which I confirmed by checking the registrymodifications.xcu file.

I also reinstalled the universal binary LO-voikko, and it still did NOT register.

Before both installations I removed all local LibreOffice 4 settings, to ensure I started from a clean sheet.

> If the problem cannot be reproduced with these examples there is something wrong with libreoffice-voikko. Otherwise it is likely a bug in LibreOffice and should be reported to bugs.libreoffice.org

Based on the above, it looks like there is an issue in libreoffice-voikko.

> It is very much possible that nobody has built a C++ extension on 64 bit OS X yet and there is some porting work to do. There were also problems with the first attempts to build for 64 bit Linux:
> 
>  https://issues.apache.org/ooo/show_bug.cgi?id=66162
> 
> Unfortunately the issue contains a reference to Sun internal bug tracker for remaining fixes so it is hard to find out the complete details.

I am no C++ programmer, and I am afraid my efforts have to stop now - I really do not know what to do next, and what to look for. More knowledgeable people will certainly do this much, much better and faster than me (if I at all would be able to do it).

Sjur



More information about the Libvoikko mailing list