Commit Graph
4159 Commits
Author SHA1 Message Date
Xisco Fauli 866bd10639 mdds: drop obsolete check. Minimum GCC version is 13
Since
commit 16dd61ab4d
Author: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Date:   Sat Mar 21 08:40:09 2026 +0200

    Bump minimum GCC version to 13

Change-Id: I5ff7d526a2afd5c0b1d71d267ed90116d2441e8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210556
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-09 09:31:13 +02:00
Miklos Vajna 0f835a191a pdfium: replace the system-icu patch with the upstreamed version
It does the same and it'll be easier to update pdfium the next time this
way.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ib375ed15cc3cc9ff1e22b5bb420840b2f7331712
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/10840
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 5727288148cdb64ee028ba6d5f2328ceeb63a206)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210463
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-09-03 19:44:30 +02:00
Miklos Vajna 4eb008acce pdfium: update to 7988
- fix build against our bundled ICU
- update external/pdfium/extractpatterns.patch to work after the
  upstream commit fc790866bf26d977b2ea3a0c3938bb52895309ea (Consolidate
  CFX_RenderDevice and remove CPDF_WindowsRenderDevice, 2026-06-29), which
  folded CFX_DefaultRenderDevice into CFX_RenderDevice.
- update CppunitTest_vcl_pdfexport2: mostly likely needed after the
  upstream commit 2f7a54a926a1b8e51aff9ac2aca5cccb29920aae (Partially
  fix RTL character and line reading order in CPDF_TextPage, 2026-07-24)
- CppunitTest_vcl_pdfexport: same

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I25612e6696a24588b9bf045e666047e6c2955d7c
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/8557
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit a7149002917e82ef07250d2e964537118294993a)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210417
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-03 15:51:52 +02:00
Miklos Vajna 051606aef7 pdfium: update to 7897
- Update Library_pdfium to match upstream build system changes
- Update our precompiled headers

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ic5572c0e365ff797984da76d5e2d90ce16080ccb
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/4833
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit e318366e9cc4627d91b276bba301a1b3795c3e47)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210416
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-09-02 16:49:09 +02:00
Christian Lohmaier 4db2de9b54 fix nss build on macOS aarch64 - missing LITTLE_ENDIAN setting
the update to nss 3.128 put the -DHAVE_PLATFORM_GHASH define behind a
check for the variable LITTLE_ENDIAN, but the makefile based system only
had a check for that added to the coreconf/Linux.mk file instead of e.g.
the UNIX.mk one that would also be included in the macOS makefile
(Darwin.mk)
So as a workaround specify it on the commandline - our configure already
tests for it, so we don't need a dedicated compile check or patch to the
nss bits.

Not having the define results in having duplicate methods in both gcm.o
as well as ghash-aarch64.o and the macOS linker fails:

duplicate symbol '_gcm_HashInit_hw' in:
    /Users/cloph/build/workdir/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/gcm.o
    /Users/cloph/build/workdir/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/ghash-aarch64.o
duplicate symbol '_platform_ghash_support' in:
    /Users/cloph/build/workdir/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/gcm.o
    /Users/cloph/build/workdir/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/ghash-aarch64.o
duplicate symbol '_gcm_HashZeroX_hw' in:
    /Users/cloph/build/workdir/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/gcm.o
    /Users/cloph/build/workdir/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/ghash-aarch64.o
duplicate symbol '_gcm_HashWrite_hw' in:
    /Users/cloph/build/workdir/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/gcm.o
    /Users/cloph/build/workdir/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/ghash-aarch64.o
duplicate symbol '_gcm_HashMult_hw' in:
    /Users/cloph/build/workdir/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/gcm.o
    /Users/cloph/build/workdir/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/ghash-aarch64.o
ld: 5 duplicate symbols
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Change-Id: Ic662115581aef7c2083f73079b2cff99b941ecd5
2026-09-01 14:21:59 +02:00
Caolán McNamara dd8bc7fd52 skip the python KillPython step so two windows builds don't race over it
KillPython runs an inline CodeTaskFactory task that compiles a temporary
dll and loads it. Two parallel builds on one machine race over that dll,
and one build fails to find it:

  pyproject.props(176,5): error MSB4175: The task factory "CodeTaskFactory"
  could not be loaded from the assembly "...\Microsoft.Build.Tasks.Core.dll".
  Could not find file '...\tmp\rmlsuizu\rmlsuizu.dll'.

KillPython only kills a stray python.exe that holds the output file open
across an incremental rebuild. A clean build has none to kill, so pass
/p:KillPython=false to override pythoncore.vcxproj and skip the target.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ic6cc3d51d4409bce6cc95137626debcab67dbc53
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/10183
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit a287185f62eaa49f03ab0b3b2e5d956221ef9997)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210291
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-01 10:44:39 +02:00
Xisco Fauli 76d4d1ffc3 nss: upgrade to 3.128
Downloaded from https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_128_RTM/src/nss-3.128-with-nspr-4.39.tar.gz

Change-Id: I3a929f9cb2bc9659dffc3dd87fbd915853aa89da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210238
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-08-29 13:48:27 +02:00
Xisco Fauli 32142d35a0 libjxl: sort alphabetically
Change-Id: Ibc84e16e3b7184de32ddb1149eb4e1c00f5f3d36
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210017
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-08-26 21:05:28 +02:00
Caolán McNamara dfc2a54bce ofz: fix harfbuzz msan build
since:

commit 6a3e455381
Date:   Sat Aug 1 02:25:22 2026 +0300

    harfbuzz: pass -fvisibility=hidden as a meson option

==3201==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x555d9cd44009 in operator() /src/libreoffice/vcl/source/gdi/CommonSalLayout.cxx:663:38
    #1 0x555d9cd44009 in GenericSalLayout::LayoutText(vcl::text::ImplLayoutArgs&, SalLayoutGlyphsImpl const*) vcl/source/gdi/CommonSalLayout.cxx:684:25
    #2 0x555d9c96a880 in OutputDevice::ImplLayout(rtl::OUString const&, int, int, Point const&, long, std::__1::span<double const, 18446744073709551615ul>, std::__1::span<unsigned char const, 18446744073709551615ul>, SalLayoutFlags, vcl::text::TextLayoutCache const*, SalLayoutGlyphs const*, std::__1::optional<int>, std::__1::optional<int>, std::__1::optional<int>) const vcl/source/outdev/text.cxx:1269:36

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I43dd3901f78b33b85e9f8e224f287a145f4510fa
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/9753
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit 8184a699b28e83f8209f73f66e0c7c2a43f2b2d9)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209830
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-08-25 08:52:25 +02:00
Jesus Solis 26eea7a59b external: add libjxl
libjxl is a library for encoding and decoding JPEG XL images

Downloaded from https://github.com/libjxl/libjxl/archive/refs/tags/v0.11.2.tar.gz

Change-Id: Ibb498f96b3576be603ee9a1c3c494d2ac99c403a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207085
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-08-22 13:33:00 +02:00
Jesus Solis ac3e19d271 external: add brotli
brotli is a lossless compression algorithm using the "stream" format

Downloaded from https://github.com/google/brotli/archive/refs/tags/v1.2.0.tar.gz

Change-Id: Ia5dd6b6e321be4284342068250ae7a6118e192e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208008
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-08-21 15:13:53 +02:00
Jesus Solis 20716b38c8 external: add highway
highway is a C++ library that provides portable SIMD/vector intrinsics

Downloaded from https://github.com/google/highway/releases/download/1.4.0/highway-1.4.0.tar.gz

Change-Id: I0e8f0b9a649680e318a0ed7f127ace74310c87bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207706
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-08-21 15:13:36 +02:00
Caolán McNamara df8df5fb71 don't build the nss command line tools
only the nss shared libraries are used, the tools under nss/cmd like
certutil and pk12util are never installed or run

make the build a little faster

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I8b906983f55bc21f3161d9f029fca1afaab02c8b
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/9500
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit 302f1dd5e6a8d21576ca20803814da14ba0d8193)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209447
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-08-21 13:17:20 +02:00
Xisco Fauli 0d6ee40682 skia: upgrade to m149
Change-Id: I6082106dcef551be2b2a73a81e269d8453c6f034
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209357
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-08-20 00:33:05 +02:00
Xisco Fauli 139f436078 boost: upgrade to 1_92_0
<https://dev-www.libreoffice.org/src/boost_1_92_0.tar.xz> has been generated (on
Debian 13) with

> $ wget https://archives.boost.io/release/1.92.0/source/boost_1_92_0.tar.bz2
> $ printf '5c1d40cb8e19adbf740a4ec2da35b3e58f3f5804b1dce44deb53df72193cbc6c boost_1_92_0.tar.bz2' | sha256sum -c # cf. <https://www.boost.org/users/history/version_1_92_0.html>
> boost_1_92_0.tar.bz2: OK
> $ external/boost/repack_tarball.sh boost_1_92_0.tar.bz2
> Unpacking boost_1_92_0.tar.bz2 ...
> Removing unnecessary files ...
> Creating boost_1_92_0.tar.xz ...
> Cleaning up ...
> 6010caf17a5742227b54f0c3f5a045d09e8abb981faf7770d445cd705dc26214  boost_1_92_0.tar.xz
> Done.

0001-Allow-fallthrough-of-Android-to-128-bit-float.patch.1 has been
fixed upstream

Change-Id: Ibedd4ca05d2d11f1d9e5176170a44f72d83fa013
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209274
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-08-18 17:24:48 +02:00
Julien Nabet 2c26864ebf Remove unused patch following fontconfig upgrade
Change-Id: Ic6f37ffe11d743b45745d3aa49b01d32ef82c1c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209236
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-18 11:40:33 +02:00
Xisco Fauli ee9332dbbe python3: upgrade to 3.13.15
Downloaded from https://www.python.org/ftp/python/3.13.15/Python-3.13.15.tar.xz

Change-Id: I9304d53c9ecafbafb43dacf15decc37547b8072c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209155
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-08-17 12:06:47 +02:00
Julien Nabet 7e03ddd4eb tdf#148749: FILEOPEN Lotus 123 entity encoding
As indicated in the upstream patch (already pushed):
Deal with some LMBCS group control

LMBCS is Lotus Multi-Byte Character Set
Group control in LMBCS begin with 0x0F and the control character is the second byte
See https://github.com/unicode-org/icu/blob/main/icu4c/source/common/ucnv_lmb.cpp

Change-Id: Ia11edb37a760ec676caa1fe06290e2031459b1c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209113
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-08-14 07:44:47 +02:00
Julien Nabet 2553d132a7 Reuse upstream patch from Fontconfig
Change-Id: Ia51a87d711f250ce7a0f59a9bb05056082869108
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208802
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-08-01 10:19:14 +02:00
Khaled Hosny 6a3e455381 harfbuzz: pass -fvisibility=hidden as a meson option
Instead of patching meson files.

Change-Id: Id90dbcd2c198c98e976bb3bff090a9f1bd75fcb1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208906
Tested-by: Jenkins
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
2026-08-01 03:31:41 +02:00
Khaled Hosny 91e486382b harfbuzz: upgrade to 14.3.0
Downloaded from https://github.com/harfbuzz/harfbuzz/releases/download/14.3.0/harfbuzz-14.3.0.tar.xz

Drop Werror-unused-template.patch, upstream ignores -Wunused-template
now.

Change-Id: I784f1f8e9368efcb967b909814c0fe02734b8445
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208905
Tested-by: Jenkins
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
2026-08-01 02:59:43 +02:00
Khaled Hosny be4a7b0793 tdf#171869: Embed fonts with glyf outlines as composite fonts too
Their subsets were embedded as simple TrueType fonts. Simple TrueType
fonts select glyphs through the cmap table of the subset font, and we
had to give the subset font a fake cmap table that mapped codes to glyph
ID sequentially. This was a gross hack.

Embedding them as CIDFontType2 instead lets the CMap and the CIDToGIDMap
do the mapping, as they now already for fonts with a CFF table. The cmap
table is not needed as all now.

PDFium grows the top of the glyph bounding box by a 64th for composite
fonts but not for simple ones, which makes many tests to now fail. We
now patch that out to keep both kinds of embedding measuring glyphs the
same.

Change-Id: I4d136b0e5d2c63afd56e25a81aec16364e570cca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208839
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
Tested-by: Jenkins
2026-07-31 07:07:11 +02:00
Stephan Bergmann 427f2f79e9 external/boost: Silence new Clang 24 trunk -Werror,-Wunused-template
as seen e.g. at

> In file included from engine/cppuhelper/source/defaultbootstrap.cxx:27:
> In file included from engine/cppuhelper/source/servicemanager.hxx:35:
> In file included from engine/external/boost/include/boost/container/small_vector.hpp:31:
> In file included from engine/workdir/UnpackedTarball/boost/boost/container/small_vector.hpp:27:
> In file included from engine/workdir/UnpackedTarball/boost/boost/container/vector.hpp:61:
> In file included from engine/workdir/UnpackedTarball/boost/boost/move/algo/adaptive_merge.hpp:16:
> engine/workdir/UnpackedTarball/boost/boost/move/algo/detail/adaptive_sort_merge.hpp:261:17: error: unused function template 'needed_keys_count' [-Werror,-Wunused-template]
>   261 | static SizeType needed_keys_count(SizeType n_block_a, SizeType n_block_b)
>       |                 ^~~~~~~~~~~~~~~~~

and

> In file included from engine/vcl/source/outdev/eps.cxx:22:
> In file included from engine/include/vcl/metaact.hxx:45:
> In file included from engine/workdir/UnpackedTarball/boost/boost/container/vector.hpp:61:
> In file included from engine/workdir/UnpackedTarball/boost/boost/move/algo/adaptive_merge.hpp:16:
> engine/workdir/UnpackedTarball/boost/boost/move/algo/detail/adaptive_sort_merge.hpp:261:17: error: unused function template 'needed_keys_count' [-Werror,-Wunused-template]
>   261 | static SizeType needed_keys_count(SizeType n_block_a, SizeType n_block_b)
>       |                 ^~~~~~~~~~~~~~~~~

Signed-off-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Change-Id: I1c81650c82df717317846769ea3ac016d9a14652
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7281
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit fd3a8cc0417525806d45522fc6752c6678b2d433)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208736
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-28 23:24:12 +02:00
Miklos Vajna 4bbeb86e97 boost: fix -Werror=overloaded-virtual=
Seen with GCC-15. See
<https://gerrit.libreoffice.org/c/core/+/201714/11#message-b41756267426a3a0d9373f6378e56c77d4beb8fa>.

Change-Id: Idcfc454a0a396a32e3d03793241aa74fbfb389a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201888
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208735
Tested-by: Jenkins
2026-07-28 23:23:59 +02:00
Mike Kaganski 645df7d9b7 tdf#101630: Make local HTTP server cross-platform, using boost/beast
Allows proper Google Drive authentication e.g. on Linux.

Change-Id: I16efa58ba90b98e71b13a0081dcdcc9d660db0b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201714
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201820
2026-07-28 23:23:28 +02:00
Stephan Bergmann dff972be18 Clang 23 trunk supports -std=c++2d now
...since
<https://github.com/llvm/llvm-project/commit/1381ef49fc5cc8c5bd76aa9b86fdf2507312d78d>
"[Clang] Add flags and lang option for C++2d (#203992)"

Signed-off-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Change-Id: I51ba2a7265663ced6a7dc2e9c9420b8c7b8a851f
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7334
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit d239d80aef979e2371c33c49061b153d9f4c72d3)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208734
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-28 14:39:53 +02:00
Stephan Bergmann 4bfd2fe88c external/skia: Support --with-latest-c++ with GCC 17 trunk and Clang 24 trunk
...in the same vein as a015d0798cf846d10b712ac80451ba9678ff61d8 "Add support for
C++29 to --with-latest-c++" and d239d80aef979e2371c33c49061b153d9f4c72d3 "Clang
23 trunk supports -std=c++2d now"

Signed-off-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Change-Id: I26add201dab5f4329379e45cbc2965cec0ee7f3f
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7400
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 811e5fe3b3738c1d1aca48e8d6c3955d78c76e9d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208733
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-07-28 14:39:24 +02:00
Khaled Hosny a1b5f5cedd vcl: Remove the dead fd-hack
Drop the exterals patches as VCL internals don’t support this anymore,
and drop the LOK addfont change as it wouldn’t work now. I don’t know if
LOK addfont has any use now, but I left it.

Change-Id: I2798679d0bb59bb6c2c6e0eae329287f36662223
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208546
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
Tested-by: Jenkins
2026-07-24 18:12:39 +02:00
Julien Nabet 4467ad763d Revert "Fix unknown type name locale_t on mac ARM64 TB (take 2)"
This reverts commit b76fe8a06f.

It didn't help macOS ARM TB

Change-Id: I9db0fc059da8576b362c2b939f8d47e63ac4b676
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208539
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-24 09:56:08 +02:00
Khaled Hosny c88d615db8 vcl: Consolidate the Linux font code under vcl/unx/generic/font
The FreeType/fontconfig font backend was spread over three directories
mostly for historical reasons. Lets clean this up and consolidate it
under one directory.

helper.cxx holds the psp path helpers, so it goes to print/ next to the
rest of the printing code.

Change-Id: I67d20e3e4bdf71d978a79e672bb31d3dd1460595
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208522
Tested-by: Jenkins
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
2026-07-24 02:58:02 +02:00
Caolán McNamara 6aeaee0253 upgrade to libe-book-0.1.4.tar.xz
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I3d79eae84d6ba44e4378a511b8c0cc28ff0ae116
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7295
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit dcdfbf4dbca7a5bc99bb665c5fe0dd50fda3e24e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208286
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-22 13:46:01 +02:00
Caolán McNamara 6d7d8d1d62 upgrade to libmwaw-0.3.23.tar.xz
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I92a5d2522d9c2da5b3bb8abdf1724abb80cd76e0
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7293
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit af7dad60b8d0293b6505f9128e01c8fb9a662c06)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208290
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-07-21 11:43:02 +02:00
Stephan Bergmann 0a654a90d2 external/harfbuzz: Silence new Clang 24 trunk -Werror,-Wunused-template
> In file included from ../src/hb-number.cc:26:
> In file included from ../src/hb.hh:560:
> ../src/hb-meta.hh:131:3: error: unused function template 'operator()' [-Werror,-Wunused-template]
>   131 |   operator () (T&& v) const HB_AUTO_RETURN (std::forward<T> (v))
>       |   ^~~~~~~~

etc.

Signed-off-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Change-Id: I69284c010e4970db55ecb6e1507186648b8b5271
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7282
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit 6b03159992ce09f1b63a799ca99476c048758054)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208278
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-21 00:09:33 +02:00
Julien Nabet b76fe8a06f Fix unknown type name locale_t on mac ARM64 TB (take 2)
In file included from fcarch.c:24:
./fcint.h:678:9: error: unknown type name 'locale_t'
typedef locale_t FcLocale;
        ^
./fcint.h:680:19: error: use of undeclared identifier 'LC_CTYPE_MASK'
    FC_LC_CTYPE = LC_CTYPE_MASK,
                  ^
./fcint.h:681:21: error: use of undeclared identifier 'LC_NUMERIC_MASK'
    FC_LC_NUMERIC = LC_NUMERIC_MASK,
                    ^
./fcint.h:682:18: error: use of undeclared identifier 'LC_TIME_MASK'
    FC_LC_TIME = LC_TIME_MASK,
                 ^
./fcint.h:683:21: error: use of undeclared identifier 'LC_COLLATE_MASK'
    FC_LC_COLLATE = LC_COLLATE_MASK,
                    ^
./fcint.h:684:22: error: use of undeclared identifier 'LC_MONETARY_MASK'
    FC_LC_MONETARY = LC_MONETARY_MASK,
                     ^
./fcint.h:685:22: error: use of undeclared identifier 'LC_MESSAGES_MASK'
    FC_LC_MESSAGES = LC_MESSAGES_MASK,
                     ^
./fcint.h:689:19: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_PAPER = LC_ALL_MASK,
                  ^
./fcint.h:694:18: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_NAME = LC_ALL_MASK,
                 ^
./fcint.h:699:21: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_ADDRESS = LC_ALL_MASK,
                    ^
./fcint.h:704:23: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_TELEPHONE = LC_ALL_MASK,
                      ^
./fcint.h:709:25: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_MEASUREMENT = LC_ALL_MASK,
                        ^
./fcint.h:714:28: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_IDENTIFICATION = LC_ALL_MASK,
                           ^
./fcint.h:716:17: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_ALL = LC_ALL_MASK,
                ^
14 errors generated.

I copied pasted the ifdef from src/fcstr.c

Change-Id: I82eb9382ab317af91da7ddd1432a974829458b93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208262
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-19 21:31:49 +02:00
Julien Nabet 0ebcec3593 Revert "Fix unknown type name 'locale_t' on mac ARM64 TB"
This reverts commit ad3deca43f.

Reason for revert: I had wrongly "ifeq ($(OS),MACOSX)" instead of "ifneq ($(OS),MACOSX)"

Change-Id: If839b5dfe55349d9b0fee0b07cea3c3d5e9292ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208261
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-19 20:13:01 +02:00
Julien Nabet ad3deca43f Fix unknown type name 'locale_t' on mac ARM64 TB
In file included from fcarch.c:24:
./fcint.h:678:9: error: unknown type name 'locale_t'
typedef locale_t FcLocale;
        ^
./fcint.h:680:19: error: use of undeclared identifier 'LC_CTYPE_MASK'
    FC_LC_CTYPE = LC_CTYPE_MASK,
                  ^
./fcint.h:681:21: error: use of undeclared identifier 'LC_NUMERIC_MASK'
    FC_LC_NUMERIC = LC_NUMERIC_MASK,
                    ^
./fcint.h:682:18: error: use of undeclared identifier 'LC_TIME_MASK'
    FC_LC_TIME = LC_TIME_MASK,
                 ^
./fcint.h:683:21: error: use of undeclared identifier 'LC_COLLATE_MASK'
    FC_LC_COLLATE = LC_COLLATE_MASK,
                    ^
./fcint.h:684:22: error: use of undeclared identifier 'LC_MONETARY_MASK'
    FC_LC_MONETARY = LC_MONETARY_MASK,
                     ^
./fcint.h:685:22: error: use of undeclared identifier 'LC_MESSAGES_MASK'
    FC_LC_MESSAGES = LC_MESSAGES_MASK,
                     ^
./fcint.h:689:19: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_PAPER = LC_ALL_MASK,
                  ^
./fcint.h:694:18: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_NAME = LC_ALL_MASK,
                 ^
./fcint.h:699:21: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_ADDRESS = LC_ALL_MASK,
                    ^
./fcint.h:704:23: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_TELEPHONE = LC_ALL_MASK,
                      ^
./fcint.h:709:25: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_MEASUREMENT = LC_ALL_MASK,
                        ^
./fcint.h:714:28: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_IDENTIFICATION = LC_ALL_MASK,
                           ^
./fcint.h:716:17: error: use of undeclared identifier 'LC_ALL_MASK'
    FC_LC_ALL = LC_ALL_MASK,
                ^
14 errors generated.

I copied pasted the ifdef from src/fcstr.c

Change-Id: Ied864b90a735716e39f2eb5f4e8f594fd909f9ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208258
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-19 18:46:23 +02:00
Julien Nabet edc78d10a9 Fix deprecation in fontconfig (Linux only)
The patch fails for Windows so I put it specifically for Linux.

Done with the advice from Chatgpt (GPT-5.5)

With Python 3.14.6 from Debian testing (updated 2026-07-18) and no python in autogen.input
Traceback (most recent call last):
  File "/home/julien/lo/libreoffice/workdir/UnpackedTarball/fontconfig/fc-const/./fc-const.py", line 181, in <module>
    main()
    ~~~~^^
  File "/home/julien/lo/libreoffice/workdir/UnpackedTarball/fontconfig/fc-const/./fc-const.py", line 158, in main
    type=argparse.FileType('w'),
         ~~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3.14/argparse.py", line 1368, in __init__
    warnings.warn(
    ~~~~~~~~~~~~~^
        "FileType is deprecated. Simply open files after parsing arguments.",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        category=PendingDeprecationWarning,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        stacklevel=2
        ^^^^^^^^^^^^
    )
    ^
PendingDeprecationWarning: FileType is deprecated. Simply open files after parsing arguments.

Traceback (most recent call last):
  File "/home/julien/lo/libreoffice/workdir/UnpackedTarball/fontconfig/fc-genericfamily/./fc-genericfamily.py", line 189, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/julien/lo/libreoffice/workdir/UnpackedTarball/fontconfig/fc-genericfamily/./fc-genericfamily.py", line 156, in main
    type=argparse.FileType("w", encoding="utf-8"),
         ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/argparse.py", line 1368, in __init__
    warnings.warn(
    ~~~~~~~~~~~~~^
        "FileType is deprecated. Simply open files after parsing arguments.",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        category=PendingDeprecationWarning,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        stacklevel=2
        ^^^^^^^^^^^^
    )
    ^

Change-Id: I5a9e319562642c94b81076a33433a29ace32f400
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208245
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-07-19 11:04:43 +02:00
Christian Lohmaier 0b3bd1d79f export SOURCE_DATE_EPOCH for openssl and python3
a handful of other libs like curl, the mariadb-, ldap-, postgresqel
connector and python depend on it and are in turn not reproducible if
openssl differs
Python has code generators that result in differences unless the var is set

Change-Id: I6fe61a41802442821092182b418c4cd073fa18bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207290
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2026-07-14 15:15:11 +02:00
Christian Lohmaier 23a4062410 use SOURCE_DATE_EPOCH for ant based projects
unfortunately ant as deployed on the baseline has a bug and expects
SOURCE_DATE_EPOCH to be in milliseconds, and if set in an environment
variable would also override the ant.tstamp.now property even when
explicitly provided at the commandline, so to avoid bogus timestamps
unset it if it was exported in the environment (default build doesn't
export it, but the user may export it to override or provide a value
e.g. when not building from source.

for ant.tstamp.now to work for setting the tstamp value, ant 1.10.2 or
later is required

Change-Id: I2dd53cb99281f46d58a8db35baf71627ed5422f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207246
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2026-07-14 15:14:56 +02:00
Christian Lohmaier 65297c52ac use SOURCE_DATE_EPOCH for jars created by gbuild
the date option requires OpenJDK 17.0.3 or Oracle JDK 17.0.6 or newer
(see https://bugs.openjdk.org/browse/JDK-8276766 )

furthermore using long switches don't work with the shorthand notation
of the options, so use dedicated/separate -c -f & other options

Change-Id: I37e458f0e250be24a035cd72abf9a201ced0c46f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207245
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2026-07-14 15:14:49 +02:00
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
Caolán McNamara 736210ff4c firebird: don't attach a database that is not in the normal backup state
A database we extract from a .odb is always in the normal backup state,
so refuse one that is not, we're not interested in the difference file
mode case.

firebird upstream attempt as:
https://github.com/FirebirdSQL/firebird/pull/9089

And do it manually for the system-firebird case.

Change-Id: Iff9ebbb075379ca47a7f7f5886b693ac23860566
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/6702
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit e7ea381e87cadaf31bf1ad2213a23f17a6284d1c)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208040
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-14 10:29:25 +02:00
Caolán McNamara 427178ee5c upgrade to libstaroffice-0.0.8.tar.xz
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: If15e225516d3435bb3274e1772345759a1d2430d
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/6691
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit de87637a86d4d97f4346ce125cf766343c6da152)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208019
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-13 17:24:31 +02:00
Xisco Fauli 58feaf1941 fontconfig: upgrade to 2.18.2
call 'make fc-genericfamily' to generate fcgenericfamily.h

Downloaded from https://gitlab.freedesktop.org/api/v4/projects/890/packages/generic/fontconfig/2.18.2/fontconfig-2.18.2.tar.xz

Change-Id: I5afad5e5d876f0fb9c2dbab8ba7fda20ac15505a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207903
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-10 14:14:20 +02:00
Xisco Fauli 141ada3727 zxing-cpp: upgrade to 3.1.0
The removed patches have been fixed upstream

Downloaded from https://github.com/zxing-cpp/zxing-cpp/releases/download/v3.1.0/zxing-cpp-3.1.0.tar.gz

Change-Id: I8ae75d7f3f2aadb9b5ec48dc2c19f77dc02ac701
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207775
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-07-08 23:46:12 +02:00
Xisco Fauli 239f0ec982 libtiff: drop obsolete patch
it has been fixed upstream

Change-Id: I7a23ae5271653db026c479a7f3771ca06e2f4425
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207669
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-07-07 12:12:22 +02:00
Caolán McNamara f4bbd5bb5f upgrade to latest librevenge
drop merged-upstream patches

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I93ae57ad8fefda3650be53d184c7c16e267054b7
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/6167
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit c70d101f0fe49b2499060ba0686d8b74cb452977)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207685
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-07-06 20:58:04 +02:00
Xisco Fauli 0a081d94c8 expat: simplify a bit
Change-Id: I7f09a1e5cfd2cc3c534c26b931aef64472af58b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207662
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-06 20:57:50 +02:00
Julien Nabet 28711b69f5 tdf#119539: try to improve cover image info in epub for epub readers
Patch libepubgen so cover image has "cover" in its name and not "image"
+ add meta info

Adapt qa tests.

Change-Id: I0177113b113050252aac5bc2e1b5efc0a3ed2613
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207575
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-07-06 12:06:14 +02:00
Xisco Fauli fb7b3065be libtiff: upgrade to 4.7.2
0001-TIFFReadRGBAImage-prevent-integer-overflow-and-later.patch
has been fixed upstream

Downloaded from https://download.osgeo.org/libtiff/tiff-4.7.2.tar.xz

Change-Id: I4478bb99ad7935815649054868ecf90b306dc1b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207612
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-07-04 18:23:24 +02:00