[libvoikko] Installation and removal of openoffice.org-voikko in OOo 3.3

Harri Pitkänen hatapitk at iki.fi
Fri Jun 11 10:33:35 EEST 2010


OpenOffice.org 3.3 (to be released later this year) will have an new extension 
installation method, bundled extensions. This method differs from shared 
extensions by not requiring the use of unopkg when installing or uninstalling 
the extension. It will be sufficient to copy the unpacked extension to a 
specific location and remove it during uninstallation. The registration steps 
previously performed by unopkg will happen when user of OOo starts the 
application for the first time after the installation or removal of the 
extension. For more information, see

  http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Packaging_Notes

This should be a significant improvement since it will no longer be necessary 
to uninstall the extension with a specific version of OOo. Strictly versioned 
dependencies between openoffice.org-voikko and OOo can be removed. It will no 
longer be necessary to rebuild the extension for all new versions of OOo as 
has been done in Debian and Ubuntu. In some situations the rebuild may still 
be needed and minimal OOo version (>= 3.3) needs to be specified in the 
dependencies.

Some migration code needs to be present in the packaging scripts to facilitate 
the transition from shared extension to bundled extension. If the shared 
extensions is not properly removed it could happen that both will be installed 
simultaneously. Since shared extension overrides bundled extension this would 
lead to old version of openoffice.org-voikko being used even if the native 
distribution package has been upgraded.

I have not tested this feature yet but will do so when OOo 3.3 becomes 
available for Debian.

Harri



More information about the Libvoikko mailing list