summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-12-31 13:35:11 +0200
committerTor Lillqvist <tml@collabora.com>2020-05-18 08:42:49 +0200
commite2c63248e76639180889b3a439b757ff8cc96c02 (patch)
treedc7e57e6e9a31aedf0dcff5c56da5d8a9325532e
parent6abd526731eb90bf1cb56260c3617729041dd578 (diff)
tdf#129375: Avoid crash when inserting bibliography entry on iOS
I don't really know how the bibliography functionality works and how it is connected to database stuff. Until now the Library_bib for instance was excluded for iOS because it was seen to be part of the "DBCONNECTIVITY" feature. Change that now. Also, build the dba and dbahsql libraries also in the non-DBCONNECTIVITY case. This at least avoids the crash and avoids new warnings about missing constructors or factories. Change-Id: I8a8c62a895fcd43e7fa725a4707ac5ad428a64b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86043 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94213 Tested-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--Repository.mk8
-rw-r--r--RepositoryModule_host.mk2
-rw-r--r--dbaccess/Module_dbaccess.mk15
-rw-r--r--extensions/Module_extensions.mk5
-rw-r--r--postprocess/Rdb_services.mk7
-rwxr-xr-xsolenv/bin/native-code.py5
6 files changed, 27 insertions, 15 deletions
diff --git a/Repository.mk b/Repository.mk
index 730666719528..b8ce4e1cf136 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -340,11 +340,11 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
configmgr \
ctl \
cui \
+ dba \
+ dbahsql \
$(call gb_Helper_optional,DBCONNECTIVITY, \
- dba \
dbase \
- dbaxml \
- dbahsql) \
+ dbaxml) \
dbtools \
deploymentmisc \
$(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
@@ -1114,7 +1114,7 @@ $(eval $(call gb_Helper_register_mos,\
chart \
cnr \
cui \
- $(call gb_Helper_optional,DBCONNECTIVITY,dba) \
+ dba \
dkt \
editeng \
flt \
diff --git a/RepositoryModule_host.mk b/RepositoryModule_host.mk
index 80992dfed7e2..a8a8bf3002ed 100644
--- a/RepositoryModule_host.mk
+++ b/RepositoryModule_host.mk
@@ -51,7 +51,7 @@ $(eval $(call gb_Module_add_moduledirs,libreoffice,\
cppuhelper \
cpputools \
cui \
- $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
+ dbaccess \
desktop \
$(call gb_Helper_optional,DICTIONARIES,dictionaries) \
dtrans \
diff --git a/dbaccess/Module_dbaccess.mk b/dbaccess/Module_dbaccess.mk
index 99073bb80a70..50d601e853ae 100644
--- a/dbaccess/Module_dbaccess.mk
+++ b/dbaccess/Module_dbaccess.mk
@@ -9,15 +9,22 @@
$(eval $(call gb_Module_Module,dbaccess))
+$(eval $(call gb_Module_add_targets,dbaccess,\
+ Library_dba \
+ Library_dbahsql \
+))
+
+$(eval $(call gb_Module_add_l10n_targets,dbaccess,\
+ AllLangMoTarget_dba \
+))
+
ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
$(eval $(call gb_Module_add_targets,dbaccess,\
$(if $(filter WNT,$(OS)),Executable_odbcconfig) \
- Library_dba \
Library_dbaxml \
Library_dbu \
Library_sdbt \
- Library_dbahsql \
UIConfig_dbaccess \
UIConfig_dbapp \
UIConfig_dbbrowser \
@@ -27,10 +34,6 @@ $(eval $(call gb_Module_add_targets,dbaccess,\
UIConfig_dbtdata \
))
-$(eval $(call gb_Module_add_l10n_targets,dbaccess,\
- AllLangMoTarget_dba \
-))
-
ifneq ($(OS),iOS)
ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
$(eval $(call gb_Module_add_check_targets,dbaccess,\
diff --git a/extensions/Module_extensions.mk b/extensions/Module_extensions.mk
index 43dd929ac121..9612620e3a72 100644
--- a/extensions/Module_extensions.mk
+++ b/extensions/Module_extensions.mk
@@ -33,9 +33,12 @@ $(eval $(call gb_Module_add_targets,extensions,\
))
endif
-ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
$(eval $(call gb_Module_add_targets,extensions,\
Library_bib \
+))
+
+ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
+$(eval $(call gb_Module_add_targets,extensions,\
Library_dbp \
Library_pcr \
UIConfig_sbibliography \
diff --git a/postprocess/Rdb_services.mk b/postprocess/Rdb_services.mk
index f8c5047de79f..c5f5fe31a63b 100644
--- a/postprocess/Rdb_services.mk
+++ b/postprocess/Rdb_services.mk
@@ -229,10 +229,14 @@ $(eval $(call gb_Rdb_add_components,services,\
) \
))
+$(eval $(call gb_Rdb_add_components,services,\
+ extensions/source/bibliography/bib \
+ dbaccess/util/dba \
+))
+
ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
$(eval $(call gb_Rdb_add_components,services,\
- extensions/source/bibliography/bib \
extensions/source/dbpilots/dbp \
extensions/source/propctrlr/pcr \
connectivity/source/cpool/dbpool2 \
@@ -263,7 +267,6 @@ $(eval $(call gb_Rdb_add_components,services,\
connectivity/source/manager/sdbc2 \
connectivity/source/drivers/writer/writer \
dbaccess/source/filter/xml/dbaxml \
- dbaccess/util/dba \
dbaccess/util/dbu \
dbaccess/util/sdbt \
forms/util/frm \
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py
index 84916ce7e207..20b0e0d8c29b 100755
--- a/solenv/bin/native-code.py
+++ b/solenv/bin/native-code.py
@@ -66,6 +66,8 @@ core_factory_list = [
("libcuilo.a", "cui_component_getFactory"),
("libproxyfaclo.a", "proxyfac_component_getFactory"),
("libguesslanglo.a", "guesslang_component_getFactory"),
+ ("libbiblo.a", "bib_component_getFactory"),
+ ("libdbalo.a", "dba_component_getFactory"),
]
core_constructor_list = [
@@ -134,7 +136,7 @@ core_constructor_list = [
"com_sun_star_comp_SequenceOutputStreamService",
"com_sun_star_comp_util_OfficeInstallationDirectories",
# dbaccess/util/dba.component
- ("com_sun_star_comp_dba_ORowSet_get_implementation", "#if HAVE_FEATURE_DBCONNECTIVITY"),
+ "com_sun_star_comp_dba_ORowSet_get_implementation",
# forms/util/frm.component
("com_sun_star_comp_forms_FormOperations_get_implementation", "#if HAVE_FEATURE_DBCONNECTIVITY"),
("com_sun_star_comp_forms_ODatabaseForm_get_implementation", "#if HAVE_FEATURE_DBCONNECTIVITY"),
@@ -277,6 +279,7 @@ core_constructor_list = [
"stardiv_Toolkit_VCLXToolkit_get_implementation",
# uui/util/uui.component
"com_sun_star_comp_uui_UUIInteractionHandler_get_implementation",
+ "com_sun_star_comp_uui_UUIInteractionRequestStringResolver_get_implementation",
# xmloff/util/xo.component
"XMLMetaExportComponent_get_implementation",
"XMLMetaImportComponent_get_implementation",