4179 Commits
Author SHA1 Message Date
Xisco Fauli c64f9804ac expat: upgrade to 2.9.0
With this new version, the build started to fail with
error: ‘XML_Size XML_GetCurrentColumnNumber(XML_Parser)’ is deprecated: please use XML_GetCurrentColumnNumber64 instead [-Werror=deprecated-declarations]
so we need to check the expat version in case the system expat
is older than 2.9

Also add 0001-fix-XML_GE-is-not-defined-evaluates-to-0-Werror-unde.patch
to fix
error: "XML_GE" is not defined, evaluates to 0 [-Werror=undef]
1087 | # if XML_GE == 1
| ^~~~~~
cc1plus: all warnings being treated as errors

Change-Id: If4f1d652941b7766ed94b65a6eaa018f37c89387
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211867
Tested-by: Jenkins
Tested-by: René Engelhard <rene@debian.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-06 22:29:58 +02:00
Caolán McNamara 1440fb4cb8 hsqldb: read textdb.allow_full_path only as a Java system property
as hsqldb 2.x does since 2.1.0

Change-Id: I17101ccd6e8af3adee46644b197d94498b4f32fb
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/13829
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 866cad0af60543757ea2ef5a2c484dc79f20d3d5)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211814
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-05 21:18:58 +02:00
Caolán McNamara e3b0830db3 hsqldb: check an existing lock file rather than taking it over
backport of upstream HSQLDB svn r3155, from the 1.8.1 release

Change-Id: Ide9ff01e0ea589a6676835baf32a8ae09c5234fd
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/13737
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 1d872726606d7cac22934b80e508cbfd8866b870)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211813
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-05 20:32:17 +02:00
Xisco Fauli c80b6acef5 python3: upgrade to 3.13.16
Downloaded from https://www.python.org/ftp/python/3.13.16/Python-3.13.16.tar.xz

Change-Id: Ic86fd03f87d26a96f7eb4e350b3766ce0992cdbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211649
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-10-01 15:43:29 +02:00
Christian Lohmaier 401d9a5d4a fix openldap with Xcode 16: declaration directly after case not accepted
if wrapping the case insto a block, Xcode 16 is happy.
Solves building on macOS 14 that is stuck with Xcode 16 (at least
when not trying to sideload anything newer)

Without the block it fails with "error: expected expression" on the
variable declaration lines.

Change-Id: I0888fc5d2d6088f6071a72cde0c26532779cedad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211633
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2026-10-01 14:34:13 +02:00
Dan Williams dabd91337a fontconfig: include xlocale.h for locale_t on old macOS
Sonoma (macOS 14) builds with Xcode 15.2 can't find locale_t when
building fontconfig. Later OS versions and Xcode builds don't seem
to have that problem.

In file included from fcarch.c:24:
./fcint.h:682:9: error: unknown type name 'locale_t'
typedef locale_t FcLocale;
        ^

Fontconfig added "#include <xlocale.h>" recently in c24472116 to
fix the issue, but also switched to the Meson build system which
is the only mechanism by which HAVE_XLOCALE_H gets defined. Given
that LibreOffice uses fontconfig's old configure-based system and
it's a bunch of work to switch to meson here, we're not going to
bump fontconfig just for this. For now just assume all Apple
platforms have xlocale.h, which they do.

Change-Id: Ida9ef328dbd79e0c54b3d37355c344d7ca8d1b4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211630
Tested-by: Jenkins
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
2026-09-30 23:41:32 +02:00
Miklos Vajna fe590de0fe pdfium: update to 8073
Patches:
- external/pdfium/extractpatterns-fill.patch.1 is now upstream
- external/pdfium/extractpatterns-stroke.patch.1 as well
- external/pdfium/fix-windows-build.patch.1 as well
- external/pdfium/system-icu.patch.1 as well
- external/pdfium/system-dragonbox.diff is a new dependency, patch the
  code to use our bundled dragonbox
- update external/pdfium/system-abseil.diff to apply again

Adapted tests:
- CppunitTest_vcl_pdfexport goes back to its previous expected values
  after pdfium.git commit 17cf94b52e01507108da6460ebca6b48995a698e
  (Revert "Fix mixed-direction line extraction", 2026-09-17)
- CppunitTest_vcl_pdfexport2 as well

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I09bf5fc9f54b697eed2e144c3f57c3b72f3bbc37
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/13508
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit 0272de3a9b98d0c3ef4479e0dc12abe8cc040447)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211551
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-09-30 08:42:24 +02:00
Thorsten Behrens a7540204a4 fix: pdfium build --with-system-abseil
Change-Id: I078b9cd9043c53c838acd071c3db903c24528238
Signed-off-by: Thorsten Behrens <thorsten.behrens@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/10031
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 7c8e13e13ab43680a4394216cd5a1c514593a115)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211550
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-29 22:23:11 +02:00
Xisco Fauli aaa4c2e899 hunspell: upgrade to 1.7.4
fix_morphological_analysis_for_compound_words.patch has been
fixed upstream

Downloaded from https://github.com/hunspell/hunspell/releases/download/v1.7.4/hunspell-1.7.4.tar.gz

Change-Id: I1e7aa61437cb301d50913737f0ba0ce7fe612e2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211503
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-28 11:08:15 +02:00
Xisco Fauli db7dd67ddb nss: upgrade to 3.130
Downloaded from https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_130_RTM/src/nss-3.130-with-nspr-4.39.tar.gz

Change-Id: Ic56c69ce1ae92b65ab1ec8e7cab4a2fb1f10ad94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211452
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-09-25 19:36:01 +02:00
Miklos Vajna d91da67575 pdfium: replace extractpatterns.patch with the upstreamed version
Similar to commit a7850ccd6656d1718fd0d89709550664e997c759 (pdfium:
replace the fix-windows-build patch with the upstreamed version,
2026-09-11).

The upstreamed version doesn't need a pdf page parameter, so clean up
some (now) unused pPage and (pre-existing) nPageObjectIndex parameters
as well.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ieef207bf39124fdf4a8bff14ab1532f1836087ec
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/13355
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit ba15a8ac8921a3a82fbc193f781610d7c5a18c38)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211417
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-24 13:59:52 +02:00
Caolán McNamara a0ffcdfe62 ofz#516227797 Integer-overflow
the fixed-point subtractions reached from _cairo_spline_decompose_into
can overflow, so do the arithmetic in wider types

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I6c7d1fa569bfb958ac45ab10748b45acc3ba742d
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/12355
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit a1af5f124e9179f74c85feab1b05e7c8f0d73ceb)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211407
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-24 11:01:06 +02:00
László Németh e668dc84eb tdf#173389 cui offapi sw xmloff: add custom compound-based hyphenation
Add new paragraph justification option "Split compound words" for
custom compound-based "smart" hyphenation. Add compound-based "smart"
hyphenation support for Danish, Dutch, Esperanto, Estonian, German,
Norwegian, Swedish (and potentially, Icelandic, Finnish and
Latvian) languages by fixing Hunspell morphological analysis and the
associated lingucomponent code. (Previously compound-based "smart"
hyphenation was enabled only for Hungarian.)

With the new option it's possible to keep MSO/MS-DOCX interoperability,
also introducing a better hyphenation algorithm for several languages.

Details:

    * Add check box to Alignment in paragraph formatting dialog window;

    * Store properties in paragraph model:

      css::style::ParagraphProperties::ParaIsCompoundBased

    * Implement it by checking the new option in the previously
      added commit f9f694f5d9f39c5801bc5fec45867252c293bbcb;

    * Add ODF import/export (loext:compound-based);

    * Add ODF unit tests by the new tdf173389_smart_hyphenation_nl.odt
      and tdf173389_smart_hyphenation_hu.odt. Now use the previous
      tdf119908_smart_hyphenation_hu for disabled compound-based "smart"
      hyphenation, also the new tdf119908_smart_hyphenation_nl.odt.
      Note: the Dutch test document results better compound-based
      hyphenation in two positions.

    * Add Hunspell patch to fix Danish, Dutch, Esperanto, Estonian,
      German, Norwegian, Swedish (and future Icelandic, Latvian,
      Finnish) morphological analysis for compound word constituents;

    * hyphenimp.cxx hyphenate(): fix tokenization for consecutive
      pa: elements, like resulted in the fixed Hunspell dictionaries.

Follow-up to commit f9f694f5d9
"tdf#173389 sw: add compound-based “smart” hyphenation for readability".

Change-Id: I4414bd588646ecf6dc86b77642833ac9c7820a98
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211341
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2026-09-23 14:38:07 +02:00
Xisco Fauli bbcc094c5b Firebird: upgrade to 3.0.14
configure-c99.patch has been fixed upstream

Downloaded from https://github.com/FirebirdSQL/firebird/releases/download/v3.0.14/Firebird-3.0.14.33856-0.tar.bz2

Change-Id: I38a6da0bfaf154b3bf0a2d31823a330f832b9159
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203948
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-20 13:00:09 +02:00
Caolán McNamara f4de60d1b7 skip nspr's test programs on windows and macOS too
nss has had its own NSS_DISABLE_NSPR_TESTS switch since 2024,
https://bugzilla.mozilla.org/show_bug.cgi?id=1904404, so pass that
instead of patching the line out for iOS and Android and skip
the test programs universally.

On windows that skips 161 of nspr's 253 compiled objects and 159 linked test
executables.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I743c3827e33a927961156ee2b3b0f24e5c625b36
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/12846
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 5d38d32be65951c2f4cc59df68e2a96c0bac4b61)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211108
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-18 16:16:09 +02:00
Xisco Fauli ef1c7a1cb5 tdf#171533: drop obsolete bundled Scheherazade font
I had to replace "scheherazade" with "Noto Naskh Arabic", which
is a similar font, in vcl/source/font/PhysicalFontCollection.cxx
in order to avoid the following assert in gerrit_linux_clang_dbgutil
(not reproduced locally):

[_RUN_____] testBtlrCellChinese::TestBody
WPSDocument::isFileFormatSupported()
warn:sal.file:2772196:2772196:sal/osl/unx/file_misc.cxx:397: Invalid directory URL
warn:basic:2772196:2772196:basic/source/uno/namecont.cxx:949: Cannot access extensions!
warn:sal.file:2772196:2772196:sal/osl/unx/file_misc.cxx:397: Invalid directory URL
warn:basic:2772196:2772196:basic/source/uno/namecont.cxx:949: Cannot access extensions!
cppunittester: /home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/vcl/source/gdi/impglyphitem.cxx:318: void checkGlyphsEqual(const SalLayoutGlyphs &, const SalLayoutGlyphs &): Assertion `l1 == l2' failed.

Change-Id: I26cd80cee639cf0e17d7e71c3abdc49bf984de9c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202933
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-18 14:05:39 +02:00
Caolán McNamara d4077c560b use the configured build flags for the zxcvbn-c dictionary generator
every other external gets them, so this one was compiled without
optimisation and it gets used at build time so the lack of optimization
becomes noticable during e.g. our ios build

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ibff6ceaa48ed755747520d0ea90168973b49bbce
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/12179
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit 8669880f56f6afe92cdc209e3748ea28c27d79e5)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211019
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-17 09:02:23 +02:00
Caolán McNamara e8e4c0a88f libxml2: build with cmake's ninja generator on Windows
A: ninja can make use of ccache out of the box
B: ninja participates in the toplevel make job server

The target architecture now comes from the compiler configure selected
instead of the generator's -A.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I86951768ae42a6684b80298ff149af6c8d8d7fb7
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/10654
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit 29fc77fea92e28dc007781d7f728b67f5b55c58b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210984
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-09-17 09:02:04 +02:00
Xisco Fauli 1e441608e5 nss: upgrade to 3.129
Downloaded from https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_129_RTM/src/nss-3.129-with-nspr-4.39.tar.gz

This commit also reverts
commit 4db2de9b54
Author: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Date:   Tue Sep 1 14:12:40 2026 +0200

    fix nss build on macOS aarch64 - missing LITTLE_ENDIAN setting

which has been fixed upstream

Change-Id: I1d1bfd8e0283c6b745d4347be0fb0141ee50890e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210944
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-14 16:07:38 +02:00
Miklos Vajna eddeaaf22b pdfium: replace the fix-windows-build patch with the upstreamed version
Similar to commit 5727288148cdb64ee028ba6d5f2328ceeb63a206 (pdfium:
replace the system-icu patch with the upstreamed version, 2026-09-02).

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I3c126bfd9bf8233e4da27c8f4bffb8e2ada5bab2
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/12193
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit a7850ccd6656d1718fd0d89709550664e997c759)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210924
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-09-14 13:54:10 +02:00
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