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>
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
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>
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>
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>
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
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
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>
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>
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>
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>
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>
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
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>
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>
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>