summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-03-11 23:49:30 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2021-04-07 16:17:18 +0000
commit55bde6bd1f6b38c7b4cd3ed7c7befc29bbf27fae (patch)
treed2cf39e94e3eb364f1a357b47ca5079408607cab
parent32e301d7b00d4f34f44f9a4b149b284b6692d549 (diff)
A few more libraries.
Change-Id: I3aa711321978ce5fbfed8965ce6380703694517f
-rw-r--r--accessibility/meson.build2
-rw-r--r--lingucomponent/meson.build74
-rw-r--r--meson.build4
-rw-r--r--ucb/meson.build53
-rw-r--r--unoxml/meson.build2
5 files changed, 133 insertions, 2 deletions
diff --git a/accessibility/meson.build b/accessibility/meson.build
index 089ffe13e13c..ca1dc58ca5cc 100644
--- a/accessibility/meson.build
+++ b/accessibility/meson.build
@@ -1,4 +1,4 @@
-acc_lib = shared_library('acc',
+acc_lib = shared_library('acclo',
'source/extended/AccessibleBrowseBox.cxx',
'source/extended/AccessibleBrowseBoxBase.cxx',
'source/extended/AccessibleBrowseBoxCheckBoxCell.cxx',
diff --git a/lingucomponent/meson.build b/lingucomponent/meson.build
new file mode 100644
index 000000000000..757446f6195a
--- /dev/null
+++ b/lingucomponent/meson.build
@@ -0,0 +1,74 @@
+ulingu_st = static_library('ulingu',
+ 'source/lingutil/lingutil.cxx',
+ cpp_args: ['-DLIBO_INTERNAL_ONLY',
+ '-DSYSTEM_DICTS',
+ '-DDICT_SYSTEM_DIR="/usr/share/dict"',
+ '-DHYPH_SYSTEM_DIR="/usr/share/hyphen"',
+ '-DTHES_SYSTEM_DIR="/usr/share/FIXME"',
+ ],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [],
+ dependencies: [hunspell_dep],
+ gnu_symbol_visibility: 'hidden',
+)
+
+spell_lib = shared_library('spelllo',
+ 'source/spellcheck/spell/sspellimp.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc, 'source/lingutil'],
+ link_with: [comphelper_lib,
+ cppu_lib,
+ cppuhelper_lib,
+ i18nlangtag_lib,
+ lng_lib,
+ sal_lib,
+ tl_lib,
+ utl_lib,
+ ulingu_st,
+ ],
+ dependencies: [hunspell_dep, icuuc_dep],
+ gnu_symbol_visibility: 'hidden',
+ install: true,
+)
+
+hyphen_lib = shared_library('hyphenlo',
+ 'source/hyphenator/hyphen/hyphenimp.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc, 'source/lingutil'],
+ link_with: [comphelper_lib,
+ cppu_lib,
+ cppuhelper_lib,
+ i18nlangtag_lib,
+ lng_lib,
+ sal_lib,
+ tl_lib,
+ utl_lib,
+ ulingu_st,
+ ],
+ dependencies: [hunspell_dep, icuuc_dep, hyphen_dep],
+ gnu_symbol_visibility: 'hidden',
+ install: true,
+)
+
+
+lnth_lib = shared_library('lnthlo',
+ 'source/thesaurus/libnth/nthesdta.cxx',
+ 'source/thesaurus/libnth/nthesimp.cxx',
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc, 'source/lingutil'],
+ link_with: [comphelper_lib,
+ cppu_lib,
+ cppuhelper_lib,
+ i18nlangtag_lib,
+ lng_lib,
+ sal_lib,
+ tl_lib,
+ utl_lib,
+ ulingu_st,
+ ],
+ dependencies: [hunspell_dep, icuuc_dep, mythes_dep],
+ gnu_symbol_visibility: 'hidden',
+ install: true,
+)
diff --git a/meson.build b/meson.build
index 5c4c1030a823..4378b010c7ec 100644
--- a/meson.build
+++ b/meson.build
@@ -152,6 +152,9 @@ librdf_dep = cpp.find_library('rdf')
curl_dep = dependency('libcurl')
python3_dep = dependency('python3')
odbc_dep = declare_dependency(include_directories: 'external/unixODBC/inc')
+hunspell_dep = dependency('hunspell')
+hyphen_dep = cpp.find_library('hyphen')
+mythes_dep = dependency('mythes')
# The version in Ubuntu eoan is too old.
#mdds_dep = dependency('mdds-1.5')
@@ -253,3 +256,4 @@ subdir('configmgr')
subdir('ucb')
subdir('shell')
subdir('extensions')
+subdir('lingucomponent')
diff --git a/ucb/meson.build b/ucb/meson.build
index 9d1b1eb64f44..ab11956feed2 100644
--- a/ucb/meson.build
+++ b/ucb/meson.build
@@ -71,3 +71,56 @@ ucpexpand1_lib = shared_library('ucpexpand1lo',
install: true,
)
+ucptdoc1_lib = shared_library('ucptdoc1lo',
+ 'source/ucp/tdoc/tdoc_contentcaps.cxx',
+ 'source/ucp/tdoc/tdoc_content.cxx',
+ 'source/ucp/tdoc/tdoc_datasupplier.cxx',
+ 'source/ucp/tdoc/tdoc_docmgr.cxx',
+ 'source/ucp/tdoc/tdoc_documentcontentfactory.cxx',
+ 'source/ucp/tdoc/tdoc_passwordrequest.cxx',
+ 'source/ucp/tdoc/tdoc_provider.cxx',
+ 'source/ucp/tdoc/tdoc_resultset.cxx',
+ 'source/ucp/tdoc/tdoc_services.cxx',
+ 'source/ucp/tdoc/tdoc_stgelems.cxx',
+ 'source/ucp/tdoc/tdoc_storage.cxx',
+ 'source/ucp/tdoc/tdoc_uri.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [comphelper_lib,
+ cppu_lib,
+ cppuhelper_lib,
+ sal_lib,
+ salhelper_lib,
+ ucbhelper_lib,
+ ],
+ dependencies: [],
+ gnu_symbol_visibility: 'hidden',
+ install: true,
+)
+
+ucpgio_lib = shared_library('ucpgio1lo',
+ 'source/ucp/gio/gio_content.cxx',
+ 'source/ucp/gio/gio_datasupplier.cxx',
+ 'source/ucp/gio/gio_inputstream.cxx',
+ 'source/ucp/gio/gio_mount.cxx',
+ 'source/ucp/gio/gio_outputstream.cxx',
+ 'source/ucp/gio/gio_provider.cxx',
+ 'source/ucp/gio/gio_resultset.cxx',
+ 'source/ucp/gio/gio_seekable.cxx',
+ udk_fake_h, off_fake_h,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc],
+ link_with: [comphelper_lib,
+ cppu_lib,
+ cppuhelper_lib,
+ sal_lib,
+ salhelper_lib,
+ ucbhelper_lib,
+ vcl_lib,
+ ],
+ dependencies: [gio_dep],
+ gnu_symbol_visibility: 'hidden',
+ install: true,
+)
+
diff --git a/unoxml/meson.build b/unoxml/meson.build
index 092fda4504b2..6aa178db9b49 100644
--- a/unoxml/meson.build
+++ b/unoxml/meson.build
@@ -48,7 +48,7 @@ unoxml_lib = shared_library('unoxmllo',
install: true,
)
-unordf_lib = shared_library('unordf',
+unordf_lib = shared_library('unordflo',
'source/rdf/CBlankNode.cxx',
'source/rdf/CURI.cxx',
'source/rdf/CLiteral.cxx',