openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #21441
[Bug 1094296] Re: LibreOffice 4.0 support
That is correct. At present OpenLP does not support LO 4.x on ANY linux platforms.
This is because LO 4.x has been updated to python3 and it is not compatible.
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1094296
Title:
LibreOffice 4.0 support
Status in OpenLP - Worship Presentation Software:
In Progress
Status in OpenLP trunk series:
In Progress
Bug description:
Since libreoffice 4.0 is in beta stage, I think we should start
looking at supporting it in the presentation plugin.
According to the release notes
https://wiki.documentfoundation.org/ReleaseNotes/4.0
these changes could cause openlp to not work with libreoffice 4:
- "The bundled Python was upgraded from Python 2.6 to Python 3.3" - libreoffice 4 integration will probably work only with python 3
- some api changes/removals/deprecations
One solution could be to not use UNO-python but use the ctypes module
from python that is able call directly functions from C/C++ libraries.
I think that with ctypes we could support multiple libreoffice
versions without worrying about UNO and python incompatibilities.
To ease the creation of ctypes bindings for libreoffice we could look
at a tool ctypesgen that could generate pure python bindings from
supplied C/C++ headers.
https://code.google.com/p/ctypesgen/
https://code.google.com/p/ctypesgen/wiki/GettingStarted
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1094296/+subscriptions
References