summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-03-11 23:49:30 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-03-11 23:49:30 +0200
commit264ac69b619da23ac9e189f03f80ad5c57357be3 (patch)
treef51cfc988e5d5f0d24690b2ad55566372f36c9ad
parentc6fdc4e2acb29db8d5fd222f90b30bdea183c084 (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 f437dbb42b64..876d8b7c1c36 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',