2014-06-09 11:33:25 +01:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
|
|
|
# This file is part of the LibreOffice project.
|
|
|
|
#
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Module_Module,libreofficekit))
|
|
|
|
|
2015-09-15 15:58:51 +02:00
|
|
|
ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
|
2014-06-13 11:20:15 +01:00
|
|
|
|
2015-11-10 13:20:42 +01:00
|
|
|
$(eval $(call gb_Module_add_check_targets,libreofficekit, \
|
|
|
|
CppunitTest_libreofficekit_checkapi \
|
|
|
|
))
|
|
|
|
|
2017-10-20 22:14:39 +02:00
|
|
|
# tdf#113311 disabled because it can deadlock on shutdown
|
|
|
|
#$(eval $(call gb_Module_add_subsequentcheck_targets,libreofficekit,\
|
2015-03-03 11:13:32 +01:00
|
|
|
CppunitTest_libreofficekit_tiledrendering \
|
|
|
|
))
|
2014-07-11 09:12:27 +02:00
|
|
|
|
2015-06-10 16:18:06 +05:30
|
|
|
ifneq ($(ENABLE_GTK3),)
|
2014-06-13 11:20:15 +01:00
|
|
|
$(eval $(call gb_Module_add_targets,libreofficekit,\
|
2014-06-26 10:13:23 +01:00
|
|
|
Library_libreofficekitgtk \
|
2014-06-13 11:20:15 +01:00
|
|
|
Executable_gtktiledviewer \
|
LOK: tilebench improvements
* Arguments for max number of parts and tiles to render (optional).
+ Automatic estimation of maximum tiles to render based on max parts
for Writer docs, since there is only 1 part, this caps the number
of pages to render, similar to other doc types.
* Fixed rendering of Writer documents over and over (as many times as pages).
+ Writer has a single part, unlike other doc types.
+ No point in rendering the whole document in writer to a single tile,
since that's completely unrealistic and impractical (it takes
forever for large docs and artificially spikes the memory).
* Rendering starts at the current part and not the first.
+ This gives the spreadsheet of interest priority (if saved as visible).
* The tile size is now more realistic as we use the same dimensions
as the Online client does.
* When rendering tiles at scale, we use the same dimensions as the
Online client rather than splitting the width by 4, for realism.
* Rendering of tiles is done rows-first, rather than columns-first,
which is similar to what the Online client does, which is more
cache friendly, therefore more realistic.
* Enabled compiling of tilebench when GTK3 is disabled, which
was erroneous, since tilebench doesn't have any dependency on GTK.
+ Now it's possible to compile with local Cairo/Pixman libs.
Reviewed-on: https://gerrit.libreoffice.org/44936
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 7db98521548de9eab955ee25a5aacaaef42df323)
Change-Id: I6ad2e97f39572778dd7d0c12d14550841c1d6963
Reviewed-on: https://gerrit.libreoffice.org/46984
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-11-19 20:38:43 -05:00
|
|
|
))
|
|
|
|
endif # ($(ENABLE_GTK3),)
|
|
|
|
|
|
|
|
$(eval $(call gb_Module_add_targets,libreofficekit,\
|
gbuild: build static LO / link static executables
This allows to build a complete static LibreOffice on Linux,
except for linked externals. Since LO's static build implies
disabled dynamic loading, one must select one VCL backend to
be compiled in.
See the (large) comment in solenv/gbuild/static.mk trying to
explain, why this implementation was chosen (spoiler: seems
there is no other way) and what is actually implemented.
This will collect all libraries, statics and externals of
executables. If the executable uses components, it will get
linked to all static components. While it works with any
Executable, it just makes sense for soffice.bin, because the
static component map sucks every dependency in, bloating most
other binaries.
In theory on could generate the dependencies based on the list
of used components (see gb_CppunitTest_use_components), then
generate a specific static constructor map, directly include it
in the exe's cxx code and then link the minimal dependencies.
The static LO should build on Linux with:
--enable-customtarget-components
--disable-dynamic-loading
Tested VCL plugin config is:
--disable-gtk3
--disable-gen
--enable-qt5
The partial build support is split into a 2nd patch.
Change-Id: Iafc95752fae9e88095f54a21f1e30a4f080815e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126790
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-05-21 15:41:15 +02:00
|
|
|
$(if $(DISABLE_DYNLOADING),,Executable_tilebench) \
|
2016-01-19 18:34:56 +05:30
|
|
|
Package_selectionhandles \
|
2018-05-04 13:59:53 +02:00
|
|
|
UIConfig_libreofficekit \
|
2014-10-01 22:14:49 +01:00
|
|
|
))
|
|
|
|
|
2022-10-20 12:55:41 +03:00
|
|
|
else ifeq ($(OS),WNT)
|
|
|
|
|
|
|
|
ifneq ($(ENABLE_GTKTILEDVIEWER),)
|
|
|
|
$(eval $(call gb_Module_add_targets,libreofficekit,\
|
|
|
|
Library_libreofficekitgtk \
|
|
|
|
Executable_gtktiledviewer \
|
|
|
|
Package_selectionhandles \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2015-09-15 15:58:51 +02:00
|
|
|
endif
|
2014-06-09 11:33:25 +01:00
|
|
|
|
|
|
|
# vim: set ts=4 sw=4 et:
|