Mkoma Office — open-source software
Mkoma Office opens, shows and edits Word, Excel and PowerPoint files on your phone with LibreOffice, the free office suite made by The Document Foundation and the LibreOffice contributors. LibreOffice is licensed under the Mozilla Public License 2.0 (MPL 2.0). This page is where you can get its source and the source of the changes Mkoma made to it, as that licence asks. The app lists the licences of all the open-source software it uses under Me → About Mkoma Office.
LibreOffice
Mkoma's office engine is built from LibreOffice 26.8: branch libreoffice-26-8, commit d159c90a27d63f88cce68dd902f7e81bb3ea7db3.
- Its source: git.libreoffice.org/core, or the source archives at libreoffice.org.
- Its licence: MPL 2.0. LibreOffice includes libraries under other open-source licences; the full list, with each licence, is in the app and in LibreOffice's licence file.
Mkoma's changes to LibreOffice
These files are covered by the MPL 2.0, like the LibreOffice files they change.
- 0001-lokandroid-paintPartTile.patch: adds
paintPartTileto LibreOffice's Android binding (desktop/source/lib/lokandroid.cxx), so the engine reports which areas of a document to draw again after an edit. - 0002-android-lto-clang.patch: a build fix (
configure.ac) so link-time optimisation works with the Android NDK's compiler, which makes the engine smaller. - 0003-android-lto-keep-jni.patch: a build fix (
android/Bootstrap/Makefile.shared) that keeps the engine's Java entry points when it is linked with link-time optimisation. - LibreOfficeKit.java and Document.java: LibreOffice's Java bindings to LibreOfficeKit, changed so the engine starts in a separate process, loads its libraries through Google Play's Feature Delivery (they can be downloaded when first needed) and its SQLite library under another name, and offers
paintPartTile. What changed. - Office.java and DirectBufferAllocator.java: the other two binding files, unchanged, for completeness.
How the engine is built
- build-android.sh: builds LibreOffice for Android with its own Android configuration, applying the patches above.
- trim-options.txt: the configure options for the smaller engine (parts of LibreOffice Mkoma does not use are left out).
- unpack_engine.py: takes the built engine's libraries and resources out of LibreOffice's Android build, and renames its SQLite library so it does not clash with Mkoma's own.
If a link here does not work, or you would like the source sent to you, write to support@xplosion.studio and we will send it.