openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #21440
[Bug 1094296] Re: LibreOffice 4.0 support
OpenLP 2.0.1 doesn't find LO 4.1.0.4 on Ubuntu 13.04
--
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