Repository.mk | 4 ++-- configure.ac | 8 ++++++-- lingucomponent/Library_MacOSXSpell.mk | 1 - lingucomponent/Module_lingucomponent.mk | 4 ++-- postprocess/Rdb_services.mk | 6 ++++-- solenv/bin/native-code.py | 4 ++-- 6 files changed, 16 insertions(+), 11 deletions(-)
New commits: commit 6573d76fecf5da54641909d07bddc0b6496a85bb Author: Tor Lillqvist <[email protected]> AuthorDate: Fri Jan 3 13:55:24 2020 +0200 Commit: Tor Lillqvist <[email protected]> CommitDate: Mon May 18 08:43:25 2020 +0200 Use only the 'MacOSXSpell' component on iOS, not the 'spell' one Using only the system spell checker (through MacOSXSpell) is what we have been doing anyway. Do not build the hunspell or mythes externals for iOS. Do not build the lnth or spell components for iOS. Change-Id: I2e2abc268d7719e540072e5daff3f7960e04ed27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86172 Reviewed-by: Tor Lillqvist <[email protected]> Tested-by: Tor Lillqvist <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94215 diff --git a/Repository.mk b/Repository.mk index b8ce4e1cf136..77e34bdfedde 100644 --- a/Repository.mk +++ b/Repository.mk @@ -385,7 +385,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \ localebe1 \ log \ lng \ - lnth \ + $(if $(filter-out iOS,$(OS)),lnth) \ $(if $(filter $(OS),MACOSX),macbe1) \ $(if $(MERGELIBS),merged) \ migrationoo2 \ @@ -419,7 +419,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \ simplecanvas \ slideshow \ sot \ - spell \ + $(if $(filter-out iOS,$(OS)),spell) \ $(if $(DISABLE_GUI),,spl) \ storagefd \ $(call gb_Helper_optional,SCRIPTING,stringresource) \ diff --git a/configure.ac b/configure.ac index 39172bfb2ddc..29e7a815dd25 100644 --- a/configure.ac +++ b/configure.ac @@ -10044,7 +10044,9 @@ dnl =================================================================== dnl Check for system hunspell dnl =================================================================== AC_MSG_CHECKING([which libhunspell to use]) -if test "$with_system_hunspell" = "yes"; then +if test "$_os" = iOS; then + AC_MSG_RESULT([none]) +elif test "$with_system_hunspell" = "yes"; then AC_MSG_RESULT([external]) SYSTEM_HUNSPELL=TRUE AC_LANG_PUSH([C++]) @@ -10143,7 +10145,9 @@ dnl =================================================================== dnl Checking for mythes dnl =================================================================== AC_MSG_CHECKING([which mythes to use]) -if test "$with_system_mythes" = "yes"; then +if test "$_os" = iOS; then + AC_MSG_RESULT([none]) +elif test "$with_system_mythes" = "yes"; then AC_MSG_RESULT([external]) SYSTEM_MYTHES=TRUE AC_LANG_PUSH([C++]) diff --git a/lingucomponent/Library_MacOSXSpell.mk b/lingucomponent/Library_MacOSXSpell.mk index f244673a1c4c..d49ee47a73bd 100644 --- a/lingucomponent/Library_MacOSXSpell.mk +++ b/lingucomponent/Library_MacOSXSpell.mk @@ -38,7 +38,6 @@ $(eval $(call gb_Library_use_system_darwin_frameworks,MacOSXSpell,\ $(eval $(call gb_Library_use_externals,MacOSXSpell,\ boost_headers \ - hunspell \ )) $(eval $(call gb_Library_add_objcxxobjects,MacOSXSpell,\ diff --git a/lingucomponent/Module_lingucomponent.mk b/lingucomponent/Module_lingucomponent.mk index 2bde5d5391e5..9dabeb155673 100644 --- a/lingucomponent/Module_lingucomponent.mk +++ b/lingucomponent/Module_lingucomponent.mk @@ -13,9 +13,9 @@ $(eval $(call gb_Module_Module,lingucomponent)) $(eval $(call gb_Module_add_targets,lingucomponent,\ Library_guesslang \ Library_hyphen \ - Library_lnth \ + $(if $(filter-out iOS,$(OS)),Library_lnth) \ $(if $(filter iOS MACOSX,$(OS)),Library_MacOSXSpell) \ - Library_spell \ + $(if $(filter-out iOS,$(OS)),Library_spell) \ StaticLibrary_ulingu \ Library_numbertext \ )) diff --git a/postprocess/Rdb_services.mk b/postprocess/Rdb_services.mk index c5f5fe31a63b..f9914bf5090b 100644 --- a/postprocess/Rdb_services.mk +++ b/postprocess/Rdb_services.mk @@ -50,8 +50,10 @@ $(eval $(call gb_Rdb_add_components,services,\ i18npool/util/i18npool \ lingucomponent/source/hyphenator/hyphen/hyphen \ lingucomponent/source/languageguessing/guesslang \ - lingucomponent/source/spellcheck/spell/spell \ - lingucomponent/source/thesaurus/libnth/lnth \ + $(if $(filter-out iOS,$(OS)), \ + lingucomponent/source/spellcheck/spell/spell \ + lingucomponent/source/thesaurus/libnth/lnth \ + ) \ lingucomponent/source/numbertext/numbertext \ linguistic/source/lng \ $(if $(ENABLE_LWP), \ diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py index 20b0e0d8c29b..db9e7d8e9e30 100755 --- a/solenv/bin/native-code.py +++ b/solenv/bin/native-code.py @@ -33,7 +33,7 @@ core_factory_list = [ ("libi18nsearchlo.a", "i18nsearch_component_getFactory"), ("libinvocadaptlo.a", "invocadapt_component_getFactory"), ("liblnglo.a", "lng_component_getFactory"), - ("liblnthlo.a", "lnth_component_getFactory"), + ("liblnthlo.a", "lnth_component_getFactory", "#ifndef IOS"), ("liblocalebe1lo.a", "localebe1_component_getFactory"), ("libpackage2.a", "package2_component_getFactory"), ("libsmlo.a", "sm_component_getFactory"), @@ -57,7 +57,7 @@ core_factory_list = [ ("libxmlscriptlo.a", "xmlscript_component_getFactory"), ("libmcnttype.a", "mcnttype_component_getFactory"), ("libvcllo.a", "vcl_component_getFactory"), - ("libspelllo.a", "spell_component_getFactory"), + ("libspelllo.a", "spell_component_getFactory", "#ifndef IOS"), ("libpdffilterlo.a", "pdffilter_component_getFactory"), ("libsvgiolo.a", "svgio_component_getFactory"), ("libsvtlo.a", "svt_component_getFactory"), _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
