510 Commits
Author SHA1 Message Date
Tomaž Vajngerl bfc9cfdecf Remove the lp_solve solver, which CoinMP makes redundant
The Lpsolve solver and the CoinMP solver are both used for the same
thing: a linear model, with optional integer variables by branch
and bound. CoinMP (CLP plus CBC) is the more capable and better
maintained of the two, so the lp_solve one adds a second bundled
dependency and a parallel copy of the solver code for no capability
the other lacks.

Remove the LpsolveSolver component, the bundled lp_solve external
(and its colamd dependency, which only lp_solve used), and all the
build, configure, packaging and license references to them.

A document may still name com.sun.star.comp.Calc.LpsolveSolver as
its engine. SolverSettings now reads that name as the CoinMP
solver, which solves the same model, so such documents keep
working.

The Calc solver test that exercised the engine now uses CoinMP. Its
knapsack model has a single optimal total value of 6987, which fills
the weight capacity of 1000 exactly and which CoinMP finds. The
lp_solve run had returned a suboptimal 6981, so the test now expects
the true optimum.

The build setup changes only take effect after re-running autogen.

Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: Ia14d8c491779873da6b0157aa524056275adf8f5
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3810
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit e77738a7ca7d44fd9d1f852e26d46e3a6d60467b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208038
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-14 12:49:42 +02:00
Michael Weghorn 2d2a39e989 Drop obsolete Collabora distro configs
The Collabora products are no longer using this repository,
so drop the now obsolete corresponding distro-configs as well.

Change-Id: I6ea306ac8ea9d650ac183622b9fd1c1ecb3577a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207956
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins
2026-07-10 19:45:28 +02:00
Xisco Fauli 7aa439a963 Drop --with-docrepair-fonts
it was relevant to Collabora Office only

it reverts
commit 958cabd2e9
Author: Andras Timar <andras.timar@collabora.com>
Date:   Sat Jun 29 23:18:25 2024 +0200

    Bundle fonts of Google's DocRepair Project

and

commit cd8ad433f0
Author: Caolán McNamara <caolan.mcnamara@collabora.com>
Date:   Fri Aug 23 22:13:34 2024 +0100

    tdf#161941 add --with-docrepair-fonts option

Change-Id: I7b30bdf1676dfa9ccf70610f5f8e594136ca2b0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207534
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-02 14:37:00 +02:00
Hossein 65f1b7351d tdf#169711 Enable headless mode on macOS builds
As now headless mode is possible on macOS, let's enable it in the distro
configs, so that final builds make use of this option.

Change-Id: I5c46775c597bced62a84b3f018d14305f3caa634
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200535
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2026-04-30 13:12:52 +02:00
Neil Roberts 7b2006f800 Download and build QuickJS as a static library
Builds QuickJS 0.14.0 as a static library. It is guarded by the configure
option --enable-quickjs/--disable-quickjs which is disabled by default
but enabled for Jenkins builds.

Downloaded from https://github.com/quickjs-ng/quickjs/releases/download/v0.14.0/quickjs-amalgam.zip

Change-Id: I8a62f27fef85c5d45feefb1e479a4dc24cc857a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203217
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
Tested-by: Jenkins
2026-04-30 10:35:48 +02:00
Michael Weghorn 057f491458 tdf#170932 Allow building win vcl plugin alongside --enable-headless
commit 430f603c6a
    Author: Tor Lillqvist <tml@collabora.com>
    Date:   Tue Feb 25 19:52:15 2025 +0200

        Make --enable-headless possible also on Windows, for CODA-W

        [...]

        In the --enable-headless case, freetype, fontconfig and cairo are
        built. For now, cairo is built as a Library (DLL), but fontconfig and
        freetype as StaticLibrary. Possibly should change these to DLLs,
        too. (See preceding commits.) Do not build the vclplug_win.

had introduced support for --enable-headless on
Windows.

As described in the commit message, using the
--enable-headless autogen switch would result in vclplug_win
(i.e. the VCL plugin that provides the UI on Windows)
automatically getting disabled unconditionally.

As described in tdf#170932, this e.g. prevents using
headless mode for document conversion while still
allowing to start LO with a UI with the same build.

Separate the two features:
No longer disable vclplug_win automatically anymore when
--enable-headless is used.
Instead, introduce a new separate --disable-win
autogen switch to explicitly disable the win vcl plugin
(similar to other existing autogen params like
--disable-gtk3 to disable the gtk3 VCL plugin on Linux).

Add that new --disable-win switch to the
CODAWindows distro config, to achieve the original
goal of both enabling headless and disabling vclplug_win
for that build configuration.

Change-Id: I54bc34981327244aa1c8b0aa5b6277ffd1fb4531
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202043
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2026-03-19 12:45:03 +01:00
Andras Timar 729f3de155 CODA-W: more tweaks to build config
Change-Id: I1900d19d95e27a9a47ad2c17715ffba5b4eadd99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194614
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Thorsten Behrens <thorsten.behrens@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197547
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Jenkins
2026-01-20 08:37:24 +01:00
Andras Timar 925382ec03 CODA-W: update default build config
Change-Id: Ie4942ecd90c92b2651c9cbf144a6c2c3cec7f104
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194607
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197546
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2026-01-20 08:36:48 +01:00
Andras Timar 02e61e30c5 --disable-extensions disables hunspell dictionaries, let's remove it!
Change-Id: I43bd5d0568ff61968ba91b96c0f6f720b97cea8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194605
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197545
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Jenkins
2026-01-20 08:36:25 +01:00
Tor Lillqvist 8e6eef100e No Noto font in configury here
Change-Id: Ib99a8eb7f621f94ca7ef168eef3c2fdb28c61054
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197499
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Jenkins
2026-01-17 20:58:01 +01:00
Andras Timar e1e035e0e5 CODA-W: disable CLI; this app is not for .NET automation
Change-Id: I0a2c8df9aac7afc8ec0aa1f6d6b92acd65b05851
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194600
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197212
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Jenkins
2026-01-14 09:12:53 +01:00
Xisco Fauli c064cf1169 turn off export validation on Windows/Mac bots
The build time doubled in both platforms since the validation
started to validate docx files by default

Change-Id: Id71c603d7116d9523b8a29f29acdf0961916648e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197198
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2026-01-14 07:43:02 +01:00
Andras Timar 17823bd799 CODA: Sensible font bundling settings for desktop
Change-Id: Ic2dc242b653f248516dcdd550ab528c904e3d061
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194599
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197211
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2026-01-13 23:06:13 +01:00
Andras Timar d7a8ef41ef CODA: Disable build of Skia on Windows and macOS
It should be implied with LOKit config (--disable-gui), for some
reason --diable-gui was not added to these configs. It needs
investigation why. We can still disable Skia, it's unused.

Change-Id: If8700d859593d2c7db4f6dcc6c612a70433cd2c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194598
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197210
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2026-01-13 23:06:00 +01:00
Andras Timar 64b0f06951 add --enable-headless to CPMacOS-LOKit.conf
Change-Id: I83dc086c354c35684b00c7354a6d72ea3290c484
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197209
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2026-01-13 23:05:46 +01:00
Jan Holesovsky a232377644 It seems better to configure for sandbox
LOKit will need to run in the sandbox in the end, and this avoids a
crash in coolwsd, so let's configure with this right away.

Change-Id: Iac58b20192274fea749befd8bb77592852edb64c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197208
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2026-01-13 23:05:33 +01:00
Jan Holesovsky 7b1068c39e Initial distro-config for LOKit on macOS
Change-Id: If251f2fbc33e74b28b2f8fc3d14813f3fba2f431
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196866
Tested-by: Tor Lillqvist <tml@iki.fi>
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2026-01-08 17:57:15 +01:00
Tor Lillqvist cb335d48c7 Add initial attempt at CODA for Windows configuration
Notes for the master branch:

* "CODA" was (is) the internal codename for what now is known as (the
  new) Collabora Office. It stands for "Collabora Online as a Desktop
  Application".

* This indeed was just the initial attempt, the file will be modified
  in later commits.

Change-Id: I6c0d97998b5e57b6738086f8460bb9d0c1491d08
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194555
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196627
Tested-by: Jenkins
2026-01-07 05:48:59 +01:00
Stephan Bergmann fdf541b6db Give PythonTest_pyuno_pytests_embindtest test coverage on some CI builds
...namely the Gerrit
<https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/> and the daily
<https://ci.libreoffice.org/job/lo_ubsan/>.
(PythonTest_pyuno_pytests_embindtest got recently introduced in
3320b5fe2e "Add exhaustive testing of PyUNO type
mapping based on embindtest" and is conditional on --enable-embindtest-uno.)

Change-Id: I4f8af757bf1b605c0d0cfec29da94a6ecf63f1f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195830
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-12-18 12:55:31 +01:00
Xisco Fauli 8968394022 related tdf#169841: drop community-flavor switch
Added in
commit 2d69acfde5
Author: Heiko Tietze <tietze.heiko@gmail.com>
Date:   Fri Jan 8 15:10:42 2021 +0100

    Resolves tdf#139343 and tdf#139335 - Community/Enterprise flavor

it only adds "LibreOffice Community" to the version string
in the about dialog, which is not really useful at this point,
since final releases don't use it either

Change-Id: Ifdd7a91cdd18a016c104aea871fb7dc9c42fa97a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195106
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2025-12-10 13:39:40 +01:00
Stephan Bergmann c089e38b88 Adpat flatpak to recent external additions
Change-Id: I1ce749b532da597b2af24277c4a01aee23f26c7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194159
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-11-18 15:36:11 +01:00
Christian Lohmaier 11966e9821 add --enable-werror to Jenkin's wsl config
configure.ac has some checks whether LODE_HOME is set and enables
--enable-werror by default if it is not set.
For the wsl-as-helper style builds there is no LODE_HOME anymore
and hence the switch wasn't used. Add it explicitly to restore the
intended behavior.

Change-Id: Id79a655f359cb6bbf56cc02f96c634c40a837079
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193212
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2025-10-30 17:14:48 +01:00
Xisco Fauli f8c9822384 Revert "Temporarily disable --enable-mergelibs=more in daily builds"
This reverts commit b188d71d49.

Reason for revert: daily build are now built with --with-visual-studio=2022

Change-Id: I49fbd807cac05cd6c13b68a3c594695306e628f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192933
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-10-24 14:10:26 +02:00
Christian Lohmaier f499050960 switch Jenkins tinderbox configs to wsl-as-helper style
the recend pdfium update bumped the Visual Studio requirement to 2022
and the old hosts are stuck with VS 2019

Change-Id: Icf1bfef855cd87084c4c5a4f880df87ad07055b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192325
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2025-10-13 21:44:17 +02:00
Christian Lohmaier 692a04a1a7 windows baseline: bump to VS 2022/add new Jenkins distro-config
new baseline on Jenkins is using wsl-as-helper style build and Visual
Studio 2022. CI will use Winodws Server 2025, release builds will use
Windows 11 Pro.

biggest change for CI (apart from using VS2022) is the switch to doing
64bit builds instead of 32bit ones

Also update README.md accordingly.

Removal of cygwin support is not planned at the moment/in the near
future (but is also no longer actively covered by CI)
Support for Visual Studio 2019 will be dropped once code makes use of
features only covered by Vsual Studio 2022 or newer

Change-Id: I52b80433f985b081a57a24d7ccbf4c3c6d432935
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192159
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2025-10-13 14:02:05 +02:00
Christian Lohmaier 09208d0e6e prep Linux baseline bump to Almalinux 9
That allows to enable the gtk4, qt5 and qt6 vclplugins

Change-Id: I6d5d73e2553d29bfcc11f114196d00917e15117f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188474
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2025-10-10 13:58:33 +02:00
Caolán McNamara ab0cec1146 add oss-fuzz pdf2fodg fuzzer
Change-Id: I5cb7653339c6280ee7b8f208ce92a771cb1dcc17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192134
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-10-10 13:32:14 +02:00
Xisco Fauli b188d71d49 Temporarily disable --enable-mergelibs=more in daily builds
See discussion in https://gerrit.libreoffice.org/c/core/+/190177

Change-Id: I8bb60590b971d9921b4f7c67bd4775a277f4917a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190212
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-08-26 12:29:56 +02:00
Stephan Bergmann 2e87ee28fc Flatpak build needs --without-system-colamd now
...after e4dc378991 "implement
--with-system-colamd (for internal lpsolve)"

Change-Id: Ied16c6e9c9e80ea2c0f0df471fe03980f5cdcd4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189383
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-08-11 21:54:52 +02:00
Caolán McNamara 41f9c03a72 don't use gold for oss-fuzz
if a symbol is missing it just crashes without a message as to what
is missing which is a pain to then reproduce manually

Change-Id: I48ccca620208bafbcf1c3e1fb6fa1cb493ca585c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186920
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-06-24 22:33:32 +02:00
Stephan Bergmann 4d5203851b Flatpak build needs external/libeot now
...after be12bc0284 "make libeot enabled by
default on Linux and macOS"

Change-Id: I08f405a47bf452e5e96ac3c60990c5e73a6846b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185212
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2025-05-12 17:00:31 +02:00
Caolán McNamara a7b6b20beb don't use with-system-zstd (yet)
Change-Id: Ib18f121eb69c8c7be0c938a54510a5c6f8a339f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184894
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-05-02 14:59:24 +02:00
Akshay Kumar Dubey b410749d30 tdf#137308 - Add zstd build support and decompression classes
Integrate build system support for the Zstandard (zstd) library and
implement the corresponding C++ decompression stream classes, enabling
future use of zstd-compressed streams in ZIP packages.

Build System (Part 2a):
- Add `--with-system-zstd=[yes|no|auto]` configure option.
- Implement system library checks (`zstd.h`, `libzstd`) in configure.ac.
- Define rules (`external/zstd/*`) for downloading and building the
  internal zstd static library (decompression components only).
- Set up necessary CFLAGS/LIBS via configure.ac and config_host.mk.in.
- Configure linking via RepositoryExternal.mk (`gb_LinkTarget__use_zstd`).
- Update auxiliary files (download.lst, distro-configs, etc.).

C++ Implementation (Part 2b):
- Implement `InflateZstd` (in `include/package`) and `InflaterBytesZstd`
  (in `package/inc`) inheriting from `Inflater`/`InflaterBytes`.
- Use the zstd streaming API (`ZSTD_decompressStream`) following the
  existing single-call pattern established by the zlib implementation.
- Manage context (`ZSTD_DCtx`) and input buffer (`ZSTD_inBuffer`) state.
- Handle errors, stream completion (`ret == 0`), and input truncation.
- Add new classes to `package/Library_package2.mk` build.

This completes the infrastructure for zstd decompression support.
The next step (Part 2c) involves adding logic to select the
appropriate Inflater based on the ZIP entry's compression method ID.

Change-Id: Ia673f3f19b6a751ba5225394fcf8c3f145c4ae63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184243
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-05-01 12:18:19 +02:00
Patrick Luby ea0489fe2d Fix build breakage in harfbuzz when building with LODE on macOS
By default, configure does not search for the pkgconf command in
$LODE_HOME/opt/bin and, as a result, PKG_CONFIG is not set in
config_host.mk.

Change-Id: Ia0512c0506dec268594c3156d6c5133fe3baaeab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184283
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
2025-04-20 17:39:38 +02:00
Skyler Grey 60f9660382 feat(iOS): enable AVMedia
Previously, AVMedia was disabled entirely for iOS. As we intend to
support AVMedia in Collabora Office Mobile for iOS, this is rather
inconvenient. In reality, we can support some of the AVMedia stuff -
albeit using webkit to play videos rather than gstreamer.

Change-Id: I1c5b791f7f37185c2b92ba5e6d41f934ac215411
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184333
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2025-04-17 19:38:55 +02:00
Christian Lohmaier d107b16848 autodetect pkgconf-2.4.3.exe on windows/not everyone uses distro-config
without using the distro-config that sets PKG_CONFIG, configure won't
pick the windows version of pkgconf and the harfbuzz build then fails
beause the graphite and icu .pc files cannot be found.

Add an autodetection similar to the one for MESON as a convenience for
building on windows. With that it is enough to have it in PATH or
installed into $LODE_HOME/opt/bin
Can always be overridden by explicitly adding PKG_CONFIG=/path/to/file
into autogen.input

Change-Id: Ia8ea0dffd34e7a97fb28c99ac3f6b561c5dab193
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184221
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2025-04-15 17:37:46 +02:00
Christian Lohmaier 6fda947ee3 fix macOS tinderbox builds (pkgconf)
macOS has the custom m4 macros bypassing pkgconfig, so it needs to be
set explicitly.

Change-Id: Id44a8934d2bb000eaa582a9c31fafa49f328cfda
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184228
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2025-04-15 16:52:10 +02:00
Christian Lohmaier 2b15d4e7c0 fix windows tinderbox builds (not finding pkgconf)
updating those was forgotten in ae24fc8c63
(migrate harfbuzz to meson)

Change-Id: Ib6bb3b667b4b33c03774276d05416a9eec7d4077
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184200
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2025-04-15 12:44:40 +02:00
Christian Lohmaier ae24fc8c63 harfbuzz: migrate to meson
Change-Id: I33aa7ca814409b39b9adb7da1d168c5ebb11b14d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183345
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
Tested-by: Jenkins
2025-04-14 18:35:42 +02:00
Christian Lohmaier b8e51e8a26 bump android ndk to 27.2.12479018 on CI
Change-Id: I087e3e1aa8f7136bc020769a4d30c5e5ce9dbe3b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181851
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-02-20 16:29:05 +01:00
Andras Timar a76a0ca930 Remove obsolete Numbertext 0.9.5 extension
There is no point to bundle it, because
1) it is an old version
2) since LibreOffice 7.5 there are built-in number formats in
   Calc with the same functionality (using libnumbertext FWIW)

Change-Id: I8cfb24f7e6f045bd51fea620aca6a61269dba77a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180996
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2025-02-01 16:47:45 +01:00
Stephan Bergmann fc1e12bb2d distro-configs/LibreOfficeFlatpak.conf lacks --without-system-java-websocket
...after 3de3f660af "add a
--with-system-java-websocket"

Change-Id: If96dafacbc33746934a2d388b11436c797290559
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177275
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-25 18:24:40 +01:00
Caolán McNamara 3de3f660af add a --with-system-java-websocket
there was a system Java-WebSocket in Fedora 35, f.e. but unaware
if this is actively packaged standalone in contemporary distros,
but useful for the coverity build case.

Change-Id: Id6393dbfb1c449b75391752a8bb5e5ea4481a084
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173725
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-20 17:43:42 +02:00
Caolán McNamara cd8ad433f0 tdf#161941 add --with-docrepair-fonts option
to enabling bundling or not bundling the docrepair fonts of
https://github.com/docrepair-fonts

(which provide replacments for: Agency FB, Baskerville Old Face,
Berlin Sans FB, Cooper Black, Lucida Calligraphy, Lucida Grande,
Lucida Handwriting)

Change-Id: I4ea442fa54d21f213ccbdccba9aea1b9c0675c90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172337
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-08-25 21:45:06 +02:00
Stephan Bergmann b740afe2fe Add --with-package-format=emscripten to distro-configs/LibreOfficeWASM32.conf
Change-Id: Ic5f07aa77b7c073264326dcbac56e6d2593bdc96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171281
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-08-01 08:52:18 +02:00
Caolán McNamara b53ea34333 ofz#70572 build failure
Change-Id: Id52104ee937306fc628d99c6f9dc6083fb054ffc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170814
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-21 15:30:22 +02:00
Stephan Bergmann 6b80e0554e Adapt flatpak build to upstream changes
<https://github.com/flathub/org.libreoffice.LibreOffice/commit/4bed50e14d9d106093b027bc8bb780023fb42b55>
"gvfs: Update gvfs-1.54.1.tar.xz to 1.54.2 (#295)"

<https://github.com/flathub/org.libreoffice.LibreOffice/commit/88a0d0718a9ddcd75a0842b5173e6d6ecd4d3bde>
"--enable-ext-nlpsolver (#297)"

Change-Id: Ie39c22c2611a31a8e2a82ae200b7a3836393dff3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170177
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-07-09 11:08:43 +02:00
Stephan Bergmann 1383303f28 Flatpak build needs an explicit --without-system-rhino now
...after
<https://git.libreoffice.org/core/+/479a39cbf0f4564abe93066d7a3f6b2e82de0e76%5E!/>
"clean up after removal of patched rhino" made it default to --with-system-jars
(which in turn defaults to --with-system-libs)

Change-Id: Ie2656c4af8d7fc5175cec317eadbf120132cfdf3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168490
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-06-06 11:52:34 +02:00
Caolán McNamara 2e50b3850b add --enable-hardening-flags to enable compiler hardening flags
distros typically have their own set via C[XX]FLAGS, so make
this an optional argument

some notes on the options:

-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2
https://www.redhat.com/en/blog/enhance-application-security-fortifysource
(I see Fedora has recently bumped to to 3 since Jan 2024
https://fedoraproject.org/wiki/Changes/Add_FORTIFY_SOURCE%3D3_to_distribution_build_flags
but here use 2 for now instead)

-Wp,-D_GLIBCXX_ASSERTIONS
https://fedoraproject.org/wiki/Changes/HardeningFlags28

-fstack-protector-strong
(We already apply this by default)

-fstack-clash-protection
https://fedoraproject.org/wiki/Changes/HardeningFlags28

-fcf-protection
https://fedoraproject.org/wiki/Changes/HardeningFlags28
https://cgit.freedesktop.org/libreoffice/core/commit/?id=af55dc3891f7950d392175004b2090cb0e54828e

and record the compiler flags in debuginfo
-grecord-gcc-switches

Change-Id: Ib05387bad8324b188bd4ed0ee327d6a7cf83973b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163312
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 33483058f6e27f39633114721f7329c90571101d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166289
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-19 21:01:53 +02:00
Stephan Bergmann 8559e6b5a5 Adapt flatpak build to upstream changes
<https://github.com/flathub/org.libreoffice.LibreOffice/commit/29463ebd29eb10ba7891c87bd699047e5e13deb7>
"Merge pull request #288 from
EliasTheGrandMasterOfMistakes/EliasTheGrandMasterOfMistakes-patch-2: Update JDK,
GVFS and ANT"

Change-Id: I021ddb9ca6b1fbec6cfe22784a9d023db2fa737c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165920
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-04-10 12:05:32 +02:00