summaryrefslogtreecommitdiff
path: root/libreofficekit/Module_libreofficekit.mk
AgeCommit message (Collapse)AuthorFilesLines
2022-10-26Enable gtktiledviewer on WindowsMike Kaganski1-0/+10
A new configure argument is introduced: --with-gtk3-build=<absolute path to GTK3 build> When provided, libreofficekit_selectionhandles package, libreofficekitgtk library and gtktiledviewer executable would be built on Windows using the GTK3 libraries in the passed directory, that must contain lib/pkgconfig subdirectory with correct pkg-config data. Change-Id: I6504af6eec0fc73cceb26a1ce923337abe14b5c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141624 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-01-12gbuild: build static LO / link static executablesJan-Marek Glogowski1-1/+1
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>
2018-05-24libreofficekit: Run gla11y on gtv.uiSamuel Thibault1-0/+1
Change-Id: I1bb2be7d3636b70018276eb3d6b23ba7ace6e62a Reviewed-on: https://gerrit.libreoffice.org/53926 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-12-23LOK: tilebench improvementsAshod Nakashian1-1/+4
* 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-10-20tdf#113311 disable CppunitTest_libreofficekit_tiledrendering for nowMichael Stahl1-1/+2
Change-Id: I0f6e284d232388019bfa33f07a4afc864e0040a9
2016-01-19lokdocview: Package and install selection handlesPranav Kant1-0/+1
Now since, LOKDocView has started to get clients, we need to ship all of its dependencies with the widget. Reviewed on: https://gerrit.libreoffice.org/21605 Change-Id: I874eb416587a80b7760c5f00183d6004dfca4cce
2015-11-10Add a check for non-LIBO_INTERNAL_ONLY, C++03-compatible LibreOfficeKit.hxxStephan Bergmann1-0/+4
Change-Id: I56336b8163de48e424526f5f426c2ad350292627
2015-10-20Add DLOPEN_LIBS to configure for some cases where -ldl is neededRichard PALO1-2/+2
use std::sqrt in vcldemo.cxx Change-Id: I24d8ba15ee267d0cad3b063df9b7cfd8d284f4ee Reviewed-on: https://gerrit.libreoffice.org/18591 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-06-16Superfluous block; lets merge into onePranav Kant1-3/+0
Change-Id: I2f49394c53deece8e86a7f290250c4f52918c5d8
2015-06-15lokdocview, gtktiledviewer: Port to gtk3Pranav Kant1-2/+2
Change-Id: I57f2d7b9383790e5c34fc517a905dd537519598f
2015-03-10Fix CppunitTest_libreofficekit_tiledrendering dependenciesStephan Bergmann1-1/+1
Remove the unnecessary ones, but make sure that e.g. the sofficeapp library is built (which was not covered by depending on services.rdb). Change-Id: I1adfa4aaaf60787c944d71cc289cdafba8351c1b
2015-03-09CppunitTest_libreofficekit_tiledrendering: fix up and enable this againMiklos Vajna1-3/+3
The main problem was that UserInstallation did not point to the usual workdir/unittest/, so initialization failed early, not finding the soffice.cfg directory under workdir/CppunitTest/libreofficekit_tiledrendering.test.user/. Disable one testcase that still fails, though. Change-Id: I3fdae5ead47dd2a805a0ed8d3cb407938f868e3b
2014-12-04Revert "Implement lokconf_init."Tomaž Vajngerl1-4/+0
This reverts commit 5acadbfb0c79fe51f8025b065b46b0ccd25c804d. Conflicts: libreofficekit/qa/lokconf_init/lokconf_init.cxx Change-Id: I88221f660bcf15cbc29e90bfc3016b367570f9af
2014-12-04Implement lokconf_init.Andrzej Hunt1-0/+4
This is a simple executable which can be used to ensure there is a pe-pared configuration for unit-tests to avoid the usually required re-start on the first run. Change-Id: I49b706e8daa93bc34db508a24615b63b9babddba
2014-10-18tilebench depend on linreooficekitgtk so need ENABLE_GTK tooNorbert Thiebaud1-1/+1
Change-Id: I04b787493115de0190615f42248cc82968907e38
2014-10-02LOK: Add a tiled rendering testbench.Michael Meeks1-0/+4
Change-Id: I631c0506f427d974c3dd4c75484aa25603100895
2014-07-29Kill the libreofficekit static library / shim.c.Andrzej Hunt1-4/+0
It looks like the cleanest method of getting lok_init into a LibreOfficeKitInit.h header (in a c89 compatible way) is to have it as a static function. (inline is only available in C99 or later -- this is actually available on Linux which is the only place that we can actually use lok_init anyways currently, however given we have to keep c89 for the C code (for MSVC) compatibility, selectively enabling c99 would likely be more messy.) Change-Id: I0493e7a68ed5397479220bb6ba8c3db870b6dd32
2014-07-18Disable libreofficekit_tiledrendering test for now.Andrzej Hunt1-3/+3
LOK Document loading seems to be quite unreliable for various reasons.
2014-07-16Revert "libreofficekit does not work with libmerged"Jan Holesovsky1-2/+0
Instead, we need to make sure it works with libmerged too :-) This reverts commit 4e9d8ca44a246653894559f10bf88effba366b10.
2014-07-15libreofficekit does not work with libmergedMatúš Kukan1-0/+2
Change-Id: I3ca4cf51f6d3999a0f701f108a7c5c21329eb1c7
2014-07-12Add LOK tiled rendering divided-tile unit test.Andrzej Hunt1-0/+4
I.e. we render the same area as one larger tile, and then as 4 sub-tiles (which, when put together, should be identical to the larger tile). However currently only the top-left sub-tile actually matches the larger tile, so we have to disable the test for the remaining sub-tiles. Change-Id: If1130022b43898e20fefff3e9f592102da3e413a
2014-06-27libreofficekitgtk requires ENABLE_GTK.Andrzej Hunt1-1/+1
Change-Id: I2ba47edc457e310548c8a62747a6a152ee5e1314
2014-06-25Move gtktiledviewer into libreofficekit.Andrzej Hunt1-1/+9
desktop is no longer the right place for it now that libreofficekit has its own directory. Change-Id: I207f1d642e7e35c460ff85bb57aa142cb98023c8
2014-06-25Implement LibreOfficeKit gtk+ viewer widget.Andrzej Hunt1-0/+1
Very basic, but works. Change-Id: I0c521e833b53e13065e0be48e6fa767e44b29787
2014-06-13rename in Module makefile tooMatúš Kukan1-1/+1
Change-Id: Ie3a19a5c3de0021b89eefbacb91c88e38396b8cb
2014-06-11Move liblibreoffice into LibreOfficeKit.Andrzej Hunt1-0/+18
Change-Id: Ib2754a77be470faaa6f9b27644a1d8dd082ed2b8