static/README.wasm.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-)
New commits: commit 187d3b6e8fa0f763b3e9a2e185c61697e9dae7d5 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Mon Feb 6 11:57:15 2023 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Mon Feb 6 10:01:21 2023 +0000 Minor typo fixes and some additional information Change-Id: Ic0b76ca37dce37f88df62d80495e111c4d50818e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146572 Tested-by: Tor Lillqvist <t...@collabora.com> Reviewed-by: Tor Lillqvist <t...@collabora.com> diff --git a/static/README.wasm.md b/static/README.wasm.md index ac00e83135de..e5869240f39f 100644 --- a/static/README.wasm.md +++ b/static/README.wasm.md @@ -2,11 +2,11 @@ This module provides support for building LibreOffice as WASM, with the Emscripten toolchain. -You can build LibreOffice core for WASM for two separate purposes: -Either to produce a WASM binary of LibreOffice as such, using Qt5 as -the GUI, or just compiling the LibreOffice code to WASM libraries -without any UI for use in other software that has the UI, like -Collabora Online. +You can build LibreOffice for WASM for two separate purposes: 1) +Either to produce a WASM binary of LibreOffice as such, using Qt5 for +its GUI, or 2) just compiling LibreOffice core ("LibreOffice +Technology") to WASM without any UI for use in other software that +provides the UI, like Collabora Online built as WASM. The first purpose was the original reason for the WASM port and this document was originally written with that in mind. For the second @@ -345,7 +345,8 @@ Follow the instructions in the first part of this document. ### No Qt needed. -You don't need any dependencies other than those that building LO normally downloads and compiled when building core. +You don't need any dependencies other than those that normally are +downloaded and compiled when building LibreOffice. ### Set up LO @@ -361,3 +362,9 @@ For instance, this autogen.input works for me: ### That's all After all, in this case you are building LO core headless for it to be used by other software. + +Note that a soffice.wasm will be built, but that is just because of +how the makefilery has been set up. We do need the soffice.data file +that contains the in-memory file system needed by the LibreOffice +Technology core code during run-time, though. That is at the moment +built as a side-effect when building soffice.wasm.