WASM: add distro config, amend readme
Let's move common configury to distro config, so people get necessary changes across updates w/o manual intervention. Change-Id: Ic27db86e7681bcef0632ed6b5fdd2fe8df0fdba3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114629 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
This commit is contained in:
46
README.wasm
46
README.wasm
@@ -74,43 +74,21 @@ autogen.sh is patched to use emconfigure. That basically sets various environmen
|
|||||||
especially EMMAKEN_JUST_CONFIGURE, which will create the correct output file names, checked by
|
especially EMMAKEN_JUST_CONFIGURE, which will create the correct output file names, checked by
|
||||||
configure (a.out).
|
configure (a.out).
|
||||||
|
|
||||||
|
There's a distro config for WASM (work in progress), that gets your
|
||||||
|
defaults right (and currently disables a ton of 3rd party stuff which
|
||||||
|
is not essential).
|
||||||
|
|
||||||
|
Recommended configure setup is thusly:
|
||||||
|
|
||||||
|
# grab defaults
|
||||||
|
--with-distro=LibreOfficeWASM32
|
||||||
|
|
||||||
|
# local config
|
||||||
QT5DIR=/dir/of/git_qt5/qtbase
|
QT5DIR=/dir/of/git_qt5/qtbase
|
||||||
|
|
||||||
--host=wasm64-local-emscripten
|
# if you want to use ccache on both sides of the build
|
||||||
--disable-coinmp
|
--with-build-platform-configure-options=--enable-ccache
|
||||||
--disable-cups
|
|
||||||
--disable-dbus
|
|
||||||
--disable-dconf
|
|
||||||
--disable-dynamic-loading
|
|
||||||
--disable-extension-integration
|
|
||||||
--disable-extensions
|
|
||||||
--disable-extension-update
|
|
||||||
--disable-firebird-sdbc
|
|
||||||
--disable-gio
|
|
||||||
--disable-gstreamer-1-0
|
|
||||||
--disable-ldap
|
|
||||||
--disable-lpsolve
|
|
||||||
--disable-mariadb-sdbc
|
|
||||||
--disable-nss
|
|
||||||
--disable-odk
|
|
||||||
--disable-online-update
|
|
||||||
--disable-opencl
|
|
||||||
--disable-pdfimport
|
|
||||||
--disable-postgresql-sdbc
|
|
||||||
--disable-python
|
|
||||||
--disable-randr
|
|
||||||
--disable-report-builder
|
|
||||||
--disable-scripting
|
|
||||||
--disable-sdremote-bluetooth
|
|
||||||
--enable-ccache
|
--enable-ccache
|
||||||
--without-helppack-integration
|
|
||||||
--without-java
|
|
||||||
--without-junit
|
|
||||||
--without-system-dicts
|
|
||||||
--with-fonts
|
|
||||||
--with-theme=no
|
|
||||||
|
|
||||||
Many will also be encoded in configure.ac at some point, some already is.
|
|
||||||
|
|
||||||
|
|
||||||
== Using Docker to cross-build with emscripten ==
|
== Using Docker to cross-build with emscripten ==
|
||||||
|
31
distro-configs/LibreOfficeWASM32.conf
Normal file
31
distro-configs/LibreOfficeWASM32.conf
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
--host=wasm32-local-emscripten
|
||||||
|
--disable-coinmp
|
||||||
|
--disable-cups
|
||||||
|
--disable-dbus
|
||||||
|
--disable-dconf
|
||||||
|
--disable-dynamic-loading
|
||||||
|
--disable-extension-integration
|
||||||
|
--disable-extensions
|
||||||
|
--disable-extension-update
|
||||||
|
--disable-firebird-sdbc
|
||||||
|
--disable-gio
|
||||||
|
--disable-gstreamer-1-0
|
||||||
|
--disable-ldap
|
||||||
|
--disable-lpsolve
|
||||||
|
--disable-mariadb-sdbc
|
||||||
|
--disable-nss
|
||||||
|
--disable-odk
|
||||||
|
--disable-online-update
|
||||||
|
--disable-opencl
|
||||||
|
--disable-pdfimport
|
||||||
|
--disable-postgresql-sdbc
|
||||||
|
--disable-python
|
||||||
|
--disable-randr
|
||||||
|
--disable-report-builder
|
||||||
|
--disable-scripting
|
||||||
|
--disable-sdremote-bluetooth
|
||||||
|
--without-helppack-integration
|
||||||
|
--without-java
|
||||||
|
--without-junit
|
||||||
|
--without-system-dicts
|
||||||
|
--with-theme=no
|
Reference in New Issue
Block a user