464f69b8bb
Zemberek is a java spellchecker extension. With it installed the collecting of spellchecker information on first activation of spellchecking is insanely slow as the cache of spellcheckers is thrown away on each iteration through each language known to LibreOffice. So... move the config updating stuff from editeng down to the linguistic layer. Let the linguistic layer keep its spellchecker cache and listen to the extension manager to know if an extension which might be a spellchecker one has been modified and only throw away the cache on that event or if (existing implementation) the config data for linguistics changes. The polling of changed linguistic data in SvxLinguConfigUpdate::IsNeedUpdateAll can be removed and leave it up to LngSvcMgr to load everything in its ctor and keep itself up to date with its config and extension listeners. Change-Id: I9c93d998928e2e7f5128c36771b3e450a8057cd6
85 lines
2.4 KiB
Makefile
85 lines
2.4 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#*************************************************************************
|
|
#
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
#
|
|
# Copyright 2000, 2011 Oracle and/or its affiliates.
|
|
#
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
#
|
|
# This file is part of OpenOffice.org.
|
|
#
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
# only, as published by the Free Software Foundation.
|
|
#
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Lesser General Public License version 3 for more details
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
# <http://www.openoffice.org/license.html>
|
|
# for a copy of the LGPLv3 License.
|
|
#
|
|
#*************************************************************************
|
|
|
|
$(eval $(call gb_Library_Library,lng))
|
|
|
|
$(eval $(call gb_Library_use_package,lng,linguistic_inc))
|
|
|
|
$(eval $(call gb_Library_set_componentfile,lng,linguistic/source/lng))
|
|
|
|
$(eval $(call gb_Library_set_include,lng,\
|
|
$$(INCLUDE) \
|
|
-I$(SRCDIR)/linguistic/inc \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_sdk_api,lng))
|
|
|
|
$(eval $(call gb_Library_add_defs,lng,\
|
|
-DLNG_DLLIMPLEMENTATION \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_libraries,lng,\
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
i18nisolang1 \
|
|
sal \
|
|
svl \
|
|
tl \
|
|
ucbhelper \
|
|
utl \
|
|
vcl \
|
|
xo \
|
|
$(gb_STDLIBS) \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_external,lng,icuuc))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,lng,\
|
|
linguistic/source/convdic \
|
|
linguistic/source/convdiclist \
|
|
linguistic/source/convdicxml \
|
|
linguistic/source/dicimp \
|
|
linguistic/source/dlistimp \
|
|
linguistic/source/gciterator \
|
|
linguistic/source/hhconvdic \
|
|
linguistic/source/hyphdsp \
|
|
linguistic/source/hyphdta \
|
|
linguistic/source/iprcache \
|
|
linguistic/source/lngopt \
|
|
linguistic/source/lngprophelp \
|
|
linguistic/source/lngreg \
|
|
linguistic/source/lngsvcmgr \
|
|
linguistic/source/misc \
|
|
linguistic/source/misc2 \
|
|
linguistic/source/spelldsp \
|
|
linguistic/source/spelldta \
|
|
linguistic/source/thesdsp \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|