New branch 'private/jmux/wasm_for_master_catchall' available with the following commits: commit 437b50ba8881b9cc945ac970492e5c7d7cc618a6 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Thu May 27 12:15:53 2021 +0200
catchall Change-Id: If8dcf7646ee57669fec3ab0c222d09782a79ca2c commit 3e7fefa0cd5ccdb4aa862744d0cdea103633b0fd Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Tue May 25 15:25:30 2021 +0200 configure: drop --disable-neon Use --with-webdav instead, which supports neon, serf or no and is available since commit dcae0509135c2067635ae3cf84b05dc9fb3d2d02 ("Build webdav based on serf if neon is disabled.") from 2014. Change-Id: I4b329b9c1d28e88961e86272a5554bfa4481f01e commit d8f29baad6abd6f6b5c82458a6577beeba31f4dc Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Tue May 25 14:57:29 2021 +0200 m4: Add test flag to libo_CHECK_SYSTEM_MODULE Automatically adds an ENABLE_* AC_SUBST and test for a disabled test via test_*, like ENABLE_EPUBGEN and test_libepubgen. Change-Id: Ifaf27d4d1193f41de6291ab70d973fe151f36b2e commit 3526905a6245dfc6d2d5103eded6e20d1ed3e2a6 Author: Armin Le Grand (Allotropia) <armin.le.gr...@me.com> Date: Fri Apr 30 17:26:41 2021 +0200 wasm strip: squashed patches from Armin + fixes In addition to the squashed patches, this patch * drops the global compiler defines in favour of a config header file, for better ccache usage * revers almost all header changes in favour for empty function calls (just keeüs the premultiply table drop) * some additional changes for unused function calls * adapts more component files, so building the services.db and the component_mao.cxx from the build still works Currently crashs with anything different then soffice --writer. Closing the document also crashes. fac2aeca4010 Wasm optional premultiply table replace ec9e2c81b4ec Wasm remove hunspell/hyphen optionally 302a6f6f777a Wasm LanguageGuess optional removal 55404a55984c Wasm oprtional autorecovery remove additions 640d53e1e7c1 Wasm optional EPUB removal 4a09f57c132c Wasm strip: remove UcpHelp eeebc1383df7 Wasm optional accessibility removal b95eaa630273 Additions/corrections to dbaccess wasm removal d8c11d72aa5a Wasm: Removed dbaccess optional f7d462b61c08 WASM Removal of clucene a1c508fc1c41 Stripped canvas/cppcanvas and related ebfb45f46319 Use more expressive ENABLE_WASM_STRIP markers a3519b1a41c8 Disable wpftcalc for wasm reduction fa86c5bc36f7 Chart wasm optional removal 90d9a8dee35a BackingWindow (RecentDocsView) optional removal 68e5f972b1a6 Deeper TipOfTheDay optional removal 4ed18d09ce07 Optional removal of more startup-modules ab8d809b6ab7 Remove RecoveryCore f82517838840 Remove RecoveryUI, correct spl stuff f38dca150d58 SplashScreen and Startup Not included: 10963e79ac7d Wasm optional reduce created locales Change-Id: Ib9c0f9452815910c0a2aceaf142ba1ad4a9cb0d7 commit 6ba6b382251cfdce6a503dc25d453eaac957bff2 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Mon May 24 23:42:53 2021 +0200 wasm sript: drop none-Writer modules Strips GUI and components of Basic, Calc, Draw, Math an Impress. Change-Id: I4495a148ad698e8deb38d22ae6e7c58df3270d79 commit 7070f9c98e2d90b4557027e117a0fd63e9aeb748 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Fri May 21 15:40:06 2021 +0200 wasm strip: add flags to configure.ac Doesn't include VCLplug flags and it should work with gtk3 too. But normally you want to use: --disable-gtk3 --enable-qt5 Change-Id: Ifea5e5b1e63633ff1fa709cdeb49afdb43fa0e8b commit 67294308ac05b0ec4a8f0ff29f1bb560164d413d Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Fri May 21 15:41:15 2021 +0200 gbuild: link static executables See the (large) comment in solenv/gbuild/static.mk trying to explain, why this implementation was chosen (spoiler: seems there is no other way) and what is actually implemented. Yes, I also think it's borderline maintainable (like gbuild in general; complexity clashing with make "restrictions"). I which I had put that much time into a Meson build, or just had expanded the bin/lo-all-static-libs "concept"... Change-Id: Iafc95752fae9e88095f54a21f1e30a4f080815e2 commit 3479d3122e37c565f7b56815d4b5bf0bc920d951 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Tue Dec 29 11:42:30 2020 +0100 gbuild: introduce plugin + loader concepts This introduces two concepts: a plugin and its loader (library) LO currrently has dependency cycles for some libraries. There is scui, which depends on sc, while sc dlopen's scui. There are the various vclplug_*, i18npool plugins, filters/gie, acc, etc. Usually these plugins link to their loader library, because they use its symbols. But as a result there is no sensible way to express the runtime dependency of loaders on the plugins. In GNU libtool plugins are called modules and they are implemented in an IMHO more sensible way by allowing missing symbols at link time. This way you can have a dependency from the loader library to its plugins, as the plugins don't depend on the loader, but you lose the link time detection of missing symbols. While this is in theory possible in LO too, LO currently has plugins, like acc (accessibility), loaded by tk (toolkit), which depends on svt (svtools), which itself depends on tk, so dropping the tk dependency for acc on its own doesn't help :-( And while the dependency of the plugins on their loader is fine for the shared / DYNLOADING build, for the "static" builds you must (somehow) link the plugins into the executables. I also codeified a few rules into the build system along with it: * just plugins are allowed to depend / link other plugins * plugins aren't allowed to be linked into the merge lib * plugin loaders are "limited" to libraries At the high level, this is implemented via new gbuild calls: * gb_Library_set_plugin_for,lib,loader: declare a library to be a plugin of a loader library and add a dependeny from the plugin library to the loader library * gb_Library_set_plugin_for_nodep,lib,loader: ^^^^ without adding the library dependeny * gb_Helper_register_plugins_for_install: "plugin" replacement for gb_Helper_register_libraries_for_install to implement some additional checks in the build system In the end this patch just adds a bit syntactic sugar and nothing changes for any build. Change-Id: I7b01d9c384cbc5838bd2cc93aff18e4868939d6e commit 02caadfcdb381e6147c4ba4ac15109a96da063dd Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Wed May 19 07:55:40 2021 +0200 gbuild: create full services.rdb from build Currently the build handles global build dependencies redundant in a few places: * in Repository*mk + modules - the "real" build dependencies * the full services.rdb generation * the static UNO constructor map generation As a result, the component files don't reflect the build components and the RDB services generation redefines the build dependencies. So this drops the latter two by generating the list of components and it's constructors from the build itself. As one of the main consequences, component files must now be split, so they reflect the real components in the libraries. This also adds a little convenience helper to add multiple component files: gb_Library_set_componentfiles Change-Id: I1b38a6f2c1e5221f18d7e5e756c30263b555d962 commit d10095a865531e4915103459cc643e70a5b5439d Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Sat May 22 02:41:58 2021 +0200 gbuild: implement gb_Library_get_target_for_build I was wondering why removing instdir stuff forced a rebuild of the cross toolset. Turned out some cross-toolset bits were wrongly depending on host build stuff. It even had FIXME... As a consequence, gb_CPPU_ENV was replaced by config_host.mk flags to provide an CPPU_ENV_FOR_BUILD and also uses the correct OS_FOR_BUILD. Change-Id: I50e8e8dca50ab1ad3164948a585a792a52e4a39a commit f92855b1d0464451b761e59580bb78c883d8485e Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Wed May 19 12:16:42 2021 +0200 Fix --disable-scripting for DESKTOP build Change-Id: I89938a17307a363f5de808200914940503312829 commit 0002015ae65cc5d6d6b29fe6a1a92bd03794b868 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Tue May 18 01:11:41 2021 +0200 Fix --disable-avmedia for DESKTOP build Probably additional bits can be removed, but this now passes. Change-Id: I366bec43cfd6fb02e914c85c711b3b19586d534d commit 27b2c63fdda689f992199ef21ceb62b5fce35ec8 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Mon May 17 17:03:00 2021 +0200 Reorganize all DBCONNECTIVITY modules Some DB modules didn't check for DBCONNECTIVITY, so this moves all of them into a common DBCONNECTIVITY block. Change-Id: I1cce3a1017f94d88c416a8a20606d295b52c7955 commit 456f945c0c58b0afe5c6ba5251901a1e0fc4e4df Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Mon May 17 16:39:25 2021 +0200 Distinguish between --disable-gui and --without-x For the static WASM build, we need to build with GUI but without X11, as this just includes a static Qt backend. We already have USING_X11, which indicates that the platform can use X11 as a backend, so we can match --without-x to USING_X11=no, independent from the --disable-gui setting. Fitting all this into vcl/Library_vcl.mk becomes a bit tricky. In the end I opted to handle the headless code selection with an extra macro, or'ing all users. Change-Id: Ia2ddba3400b4306b609a1f64823cca75061e0593 commit c18e454edb753f440d43dfaae68e6d7a6c15efc3 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Mon May 17 16:21:01 2021 +0200 Make sure Python is in build for the cross-toolset Change-Id: I4c25f572cb942759990eaacb7ca261c78831ed40 commit d9714a2fb3ff5f2dbc3c6f2675b5e71fbba2f138 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Fri May 14 15:26:39 2021 +0200 gbuild: serialize dynamic link for static builds This uses a the lockfile tool / liblockfile 1.17. Since it polls the file, I adjusted the poll timeout to 5s max, because I found the 60s wait much too long. Maybe even 1s would be ok... Since it's just a build tool, I simply copied the source, instead of creating an external project. Since it's just used for cross builds, even an external project wouldn't be a problem. Change-Id: I16bc4579a273dcf1aac811ae4723ca325a0b9eba commit bc2f2dbd83e0ebb3f51c15670cc0450f8b3e0b2a Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Wed May 19 06:52:55 2021 +0200 xmlsec: handle missing EqualDistinguishedNames I didn't try to do a GPG only build, but the standard non-NSS build fails now because of missing a EqualDistinguishedNames, which is non-trivial to implement. This is the consequence of commit 1d3da3486d827dd5e7a3bf1c7a533f5aa9860e42 "xmlsecurity: add EqualDistinguishedNames()" and commit 5af5ea893bcb8a8eb472ac11133da10e5a604e66 "xmlsecurity: improve handling of multiple certificates per X509Data". One could also use OpenSSL i2d_X509_NAME and X509_NAME_cmp to program this function, but it looks like it requires some ANS.1 input to begin with (maybe i2s_ASN1_* can be used). Change-Id: I0600f76a5cb4379db428f67cb136b8567dfcc51e commit 2ea7deeda13d8d81342933ba596d1199851367a0 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Mon May 24 14:12:18 2021 +0200 configure: Improve help handling To summerize my understanding of the help build: LO can build three kinds of help: XML (local), HTML (local) and HTML-online. Both local help variants can be included in help- packs, which might be bundeled with the installer or provided as separate packages. The HTML-online help is the external help provided by help.libreoffice.org, which can provide an additional, xapian-omega based, search mechanism. The XML help is build with additional index and compiled using internal tools. The xmlhelp module is used to display the XML help. Both HTML-based help variants are shown in a browser. Interestingly the HelpIndexer and HelpLinker are also used by gbuild to build the help inside bundeled extensions, but both are not part of the SDK. What this patch includes is: * Adds --disable-xmlhelp for removing the xmlhelp support from the build. Disable for iOS, Android and Emscripten. This was partly included in HAVE_FEATURE_DESKTOP before. * Rename WITH_HELP define to WITH_HELPPACKS, which reflects the actual usage AFAIK. * Depend --with-omindex on --with-help=online and don't override the --with-help setting. Error out on conflicting options. * Depend --with-helppack-integration on a build help variants, which actually result in help packs. Kind of reverts commit 2c38ea6d16b910294220cefaf8ae6a0683e6405a ("Building without --with-help is not supposed to disable help functionality"). Change-Id: Ie4cb73905b3ed94e991d9f1bd75cfbd6de9da385 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits