Commit graph

3184 commits

Author SHA1 Message Date
Mike Kaganski
ec0a49ecc7 Windows 7-8.1 support was removed, prevent install on these old systems
There is no simple "Windows is 10 or newer" check in MSI, with the
Microsoft policy of "you don't need to know real Windows version".
See also https://developercommunity.visualstudio.com/t/detect-a-windows-version-from-msi/412198

The values that MSI sees (e.g. on my Win11) are:

Property(C): VersionNT = 603
Property(C): VersionNT64 = 603
Property(C): WindowsBuild = 9600

So those can't be used for the check. I use the WINMAJORVER that is
read from registry (Software\Microsoft\Windows NT\CurrentVersion).

There is no more need to check and install UCRT; it was dropped.

Change-Id: Ic02d6aeb965e9684bafd4357f969980f77000e73
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178049
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-12-07 20:06:46 +01:00
Christian Lohmaier
8fb31e7697 bump product version to 25.8.0.0.alpha0+
Change-Id: I8b5394fb5119e124240a567e99497337ff897686
2024-12-04 15:07:36 +01:00
Xisco Fauli
c196546d24 python: upgrade to 3.10.16
Downloaded from https://www.python.org/ftp/python/3.10.16/Python-3.10.16.tar.xz

Change-Id: I677c1dec6ac1d06596d7ff88269b6cac70d848c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177757
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-12-04 00:14:02 +01:00
Christian Lohmaier
c3ed6e5a2c windows: use jom instead of nmake to build openssl if available
jom (https://wiki.qt.io/Jom) is a parallel version of nmake that
especially helps with building openssl since everything is compiled
individually/the compiler cannot use parallelism either.
Also in a LibreOffice build there's not much else that can be done in
parallel/other stuff requires openssl to be built to continue.

Change-Id: Ib16b0f947991a1d3255aeae7dc5d9bdee0b157a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177743
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2024-12-03 18:07:38 +01:00
Christian Lohmaier
6e93419f46 wsl-as-helper: look for perl modules in the perl that's actually used
i.e. strawberry-perl-portable for the installsets and openssl

The only module that needs to be installed (and only when building
installation sets) is Font::TTF::Font - but only on the windows side,
not in the wsl-container.

in the wsl-as-helper case there are three different versions of perl
involved:

  * one inside wsl, since autogen.sh is a perl script
  * one provided by git-bash - used for the majority of the build
    whenever a recipe uses perl
  * and strawberry-perl-portable for building openssl (since that is
    picky and needs one that handles the windows-paths a certain way)
    and for building the installation sets (because of similar
    assumptions in path mangling)

Change-Id: I8374749f21c7862f2e9e77d760077e836a6e9166
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177560
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-12-03 10:51:41 +01:00
Sakura286
d17a495c5c tdf#152943: Add configure option to disable NaN payload related tests
Because some architecture(such as riscv64) does not support NaN
  payload (NaN propagation), skipping the related tests might be a
  good choice for builders who has already known the risk of lacking
  NaN payload support.

  Currently the tests that could be skipped via --disable-nan-tests are:

  - rtl_math: test_payloadNaN
  - sc_ucalc_formula2: testExternalRefFunctions
  - sc_ucalc_formula2: testFuncGCD
  - sc_ucalc_formula2: testFuncLCM
  - sc_ucalc_nanpayload: testNanPayload

Change-Id: Ia8834595a8b469d8c542809b3e580a3f6316ef20
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174801
Reviewed-by: René Engelhard <rene@debian.org>
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: René Engelhard <rene@debian.org>
2024-11-27 20:06:40 +01:00
Michael Weghorn
d2587b5646 gtk3: Drop gtk+-unix-print-3.0 from configure.ac
Unused since

    commit ed07ec7606
    Date:   Sun Dec 20 16:49:12 2020 +0000

        drop never completed GtkSalPrinter

Change-Id: Iacbf84449175863e5a6ad09f6946b3bd3b503a9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177237
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-11-25 13:44:59 +01:00
Christian Lohmaier
bbad335816 bump product version to 25.2.0.0.alpha1+
Change-Id: If5be3912a516f279ada6f6b5d82b927701a0ac16
2024-11-22 21:06:27 +01:00
Stephan Bergmann
0b7faed281 Latest VS 2022 Preview is 17.13.0 Preview 1.0 now
...while latest proper VS 2022 is 17.12.1

Change-Id: I93ebd2756e665f5f33ba71934ab625709c3758db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176893
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-21 10:49:49 +01:00
Stephan Bergmann
f510ce620f Add experimental support for Emscripten JSPI
...which I've seen fundamentally working when building with recent emsdk against
recent Qt6 trunk (and including <https://github.com/qt/qtbase/pull/108> "Update
the check for WebAssembly JSPI support") and running on recent Chrome (with JSPI
enabled under <chrome://flags/>)

Change-Id: I98c11c5ee7e95b135ddc33c95c95752055ecd4c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176031
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-11-04 20:47:05 +01:00
Stephan Bergmann
9416bafc23 Adapt to generation of .worker.js files gone from 3.1.68
...and just unused dummies since 3.1.58, so don't install them for >= 3.1.58,
even if the dummies would still be available for < 3.1.68

Change-Id: Ida55be2fa3b75982bfd764b7b2676e63c092fe79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175822
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-10-30 13:51:40 +01:00
Đoàn Trần Công Danh
92f9529719 configure.ac: Drop bashism
- ${var/pattern/replacement} and here-string are bashism.

- here string (<<<<) is bashism too, depsited it's intended for Windows
  build only (which uses Bash inside msys), however the code block is
  still parsed on other platforms (without bash a /bin/sh) before
  evaluated. Let's remove that too.

Change-Id: I3ba59d97b9e9a6b29496b3401c29c4fbf99f46d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170969
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-10-17 11:40:37 +02:00
Stephan Bergmann
33aa490cd6 Make --disable-emscripten-proxy-to-pthread configurable
...as is convenient for some experiments

Change-Id: I74aedb38ecc0f7b5a0d913799f649dce77dc7bba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174753
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-10-10 14:39:24 +02:00
Michael Weghorn
01479df14c configure: Clean up kf5/kf6 version checks
* Drop redundant "minor version >= 0" check
* For kf6, require version >= 6.0, i.e. drop support
  for older pre-release development versions

Change-Id: Idffbc8eef513887727f6b256cb47a770294435bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174587
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-10-07 14:00:14 +02:00
Đoàn Trần Công Danh
aac0f6081a configure.ac: support cross-compiling with KDE 6
Those KDE version check can be moved into compile-time.
This change will also reduce the time to check when native compiling,
too, since we don't need to run the just-built binaries.

Change-Id: I0d60ade17b1ab5aaf4f729e39aba1345f088e6b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174512
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-10-07 11:21:57 +02:00
Stephan Bergmann
fea3c9d69c Confine a hack to known-broken --enable-pch
The hack was introduced in 7db1150b2c "fix macos
build with clang 16".  (And for our --enable-pch for Clang being known-broken,
also see ffc1ab15ae "Work around some Clang PCH
consteval issue by disabling HAVE_CPP_CONSTEVAL".)

Change-Id: I5dcd7f96ba39bf4d0748940778699cb7d368f449
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173891
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-25 15:13:11 +02:00
Stephan Bergmann
3b4ecb07a6 Invent --with-extra-cc/cxx-flags
Change-Id: I22ce959f1fe74b8eb1fa0d0fbffe8b257e7f3110
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173731
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-09-20 21:25:03 +02: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
Stephan Bergmann
f231ca7a43 GCC_HOME no longer needs to be SUBST'ed
...since 411e8c24a2 "vscode: make it work better
when srcdir=buildir and add mac lldb config" removed its use in
.vscode/vs-code-template.code-workspace.in

Change-Id: I7454f5d4443eedbb8ca143eb3e140cd0a0d708f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173694
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-09-20 13:28:09 +02:00
Stephan Bergmann
80d4e666dd Do not hardcode --with-locales=en for Emscripten build
...which had been done in 7a9e4c4ba8 "WASM add
strip flags to configure.ac", but without giving a rationale.  For
--enable-assert-always-abort builds, it could have caused the

>                     assert(pUpperMonthText[0] == "JANUAR");

in ImpSvNumberInputScan::GetMonth (svl/source/numbers/zforfind.cxx) to fire when
running in a German-locale browser, because the rule to generate the
DISABLE_DYNLOADING-specific localedata_static.hxx in
i18npool/Library_i18npool.mk then only included English-locale fallback
locale data, so pUpperMonthText[0] was always the English "JANUARY", regardless
of locale used.

With with_locales left uninitialized here, the generated localedata_static.hxx
now includes the full set of locale data.  Which comes with a small increase in
size, though:  For one non-debug build scenario, sofice.data stayed at ca. 68M
but soffice.wasm grew from ca. 138M to ca. 143M.

Change-Id: I46dae3f5c795ae30fc44d3ac4cb8dd162cd72966
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173619
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-09-18 22:10:50 +02:00
Stephan Bergmann
45ffeed667 Fix missing quotation
...that appears to be broken ever since 9892af3cbf85e9793f21683aa16c84354d866ad5
"Modernize wasm debug symbol generation" and to have gone largely unnoticed, but
now happened to cause

> ./configure: line 14652: -gpubnames: command not found
> checking whether ccache emcc supports ... configure: error: no

in an odd Emscripten build of mine where I accidentally used a broken emcc (so
that autogen.sh started to draw bogus conclusions and get into otherwise
untested code branches)

Change-Id: Idff3a52d61464f00f2c811b207c5a214672b5b42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173480
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-09-17 21:01:18 +02:00
Xisco Fauli
994834e072 ICU: upgrade to 75.1
Downloaded from https://github.com/unicode-org/icu/releases/tag/release-75-1

Change-Id: I882c57bf5ab613dc71f7ae1c31305596e1ca791f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168750
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-09-12 12:09:09 +02:00
Xisco Fauli
7220412c78 python: upgrade to 3.10.15
Downloaded from https://www.python.org/ftp/python/3.10.15/Python-3.10.15.tar.xz

Change-Id: I269ff9fa4565b5fdda6ba29bf6ac93bcf8daaa03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172995
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-09-07 16:33:18 +02:00
Taichi Haradaguchi
677750f3f3 Latest VS 2022 Preview is 17.12.0 now
Release Notes:
https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes
https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes-preview

Change-Id: I5eb752972cb812d41f53d5c0daa10c2dac435e8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171867
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-09-04 01:07:29 +02:00
Hossein
7c2d17141c Fix dotnet build issues on WSL Linux build
In wsl, Windows path is also added to the WSL shell path. Therefore,
dotnet.exe from Windows is also found, if it is searched for, causing
build issues.

To avoid the build problem, and in general, to avoid using Windows
builds from outside the WSL container, search for dotnet.exe is only
done on Windows builds.

Change-Id: I2c8c412f08008b24faf50d00dc166ad7a3c09b23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172175
Tested-by: Hossein <hossein@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-08-30 17:49:49 +02:00
Michael Weghorn
c5cad121e5 Add a CUPS config header
In line with what's done for most optional,
build-time configurable features, use a config
header `config_cups.h` that has a `ENABLE_CUPS` define,
include that header in the relevant source file and use

    #if ENABLE_CUPS

for code depending on CUPS being enabled instead of defining
a macro and using

    #ifdef ENABLE_CUPS

This also aligns this with the `ENABLE_CPDB` macro used
in the same source file.

Change-Id: I71a5205fd63f9fc18470afcaf808c489ff833319
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172397
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-08-27 07:30:03 +02:00
Thorsten Behrens
42f677c5f6 related tdf#68274: switch on MAR-based auto-updater by default
On platforms built with --enable-online-update-mar, make the automatic
online update the default now.

Change-Id: I4d8355023f185b89aa25701bcc02a15986d3d969
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172335
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-08-26 16:11:45 +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
2d9f8f45be Emscripten: Experimental -sPROXY_POSIX_SOCKETS support
...see
<https://emscripten.org/docs/porting/networking.html#full-posix-sockets-over-websocket-proxy-server>.

This requires
<4aff1f28b8>
"-sPROXY_POSIX_SOCKETS: Add websocket_proxy_poll".  When configured with
--disable-socketpair (which appears to have no negative consequences),
external/curl appears to only call poll(2) with socket-related file descriptors,
so we can use websocket_proxy_poll instead.

The URL on which the websocket_to_posix_proxy process listens must be specified
as Module.uno_websocket_to_posix_socket_url.

Change-Id: I4ad23098b5bbc0646fa50859c0aeb9870d1cc92a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172243
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-08-22 14:24:35 +02:00
Stephan Bergmann
962c76d85b Allow building against emsdk that uses Emscripten trunk
(see
<https://github.com/emscripten-core/emsdk/?tab=readme-ov-file#how-do-i-track-the-latest-emscripten-development-with-the-sdk>),
which has emscripten/main/ instead of upstream/emscripten/

Change-Id: I10dfc7e30cddf8a798cb70104126b45757fcba63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172219
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-08-21 22:49:59 +02:00
Stephan Bergmann
e180d2a8fd Emscripten: Enable the WebDAV UCP
*  Which also requires external/curl.  But implicitly use --without-gssapi,
checking for it in configure.ac would fail with

> configure: error: could not find function 'gss_init_sec_context' required for GSSAPI

And building ExternalProject_curl needs to see the -pthread from
gb_EMSCRIPTEN_CPPFLAGS, otherwise linking Executable_soffice_bin would fail with

> wasm-ld: error: --shared-memory is disallowed by libcurl_la-easy.o because it was not compiled with 'atomics' or 'bulk-memory' features.

*  By default, GetCABundleFile in include/systools/opensslinit.hxx will fail
now.  (But to make https work, applications could bring along their own such
file in the Emscripten FS, in one of the places where GetCABundleFile checks for
it.)  So, for Emscripten only, make failure of GetCABundleFile non-fatal in
InitCurl_easy.

*  Some code in sw was erroneously hidden behind !ENABLE_WASM_STRIP_EXTRA (off
by default for Emscripten), but is needed with HAVE_FEATURE_CURL.

*  See <https://emscripten.org/docs/porting/networking.html> for how to actually
use networking in an Emscripten application.

Change-Id: I2bbe9f3fd0e20143e18eb1e8104568b1c7a304de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172167
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-08-21 11:20:54 +02:00
Stephan Bergmann
b88b5f53a2 More useful to have an EMSCRIPTEN_EXTRA_SOFFICE_PRE_JS
...than an EMSCRIPTEN_EXTRA_SOFFICE_POST_JS.  That way, we can e.g. set up
Module.arguments there.

Change-Id: I4990ab6daac2f74326ab2ee9508828f1b79bceb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172154
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-08-20 23:16:49 +02:00
Michael Weghorn
42e517ca2f qt/kf: Drop obsolete -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT
`QT_CLEAN_NAMESPACE` and `QT_THREAD_SUPPORT` seem to
have long been dropped from Qt (are only seen in Qt 3 changelogs
in current qtbase git dev history) and the most likely explanation
why they were still defined for the Qt based VCL plugins seems
to be that they were just copied over from the KDE 3 support
that was dropped in

    commit 72699595aa
    Date:   Wed Sep 2 14:37:23 2015 +0200

        remove KDE3 support, --enable-kde and --enable-kdeab

Drop the obsolete defines for qt5, qt6, kf5 and kf6.

Change-Id: I052e5e082455150c04e57d3be2e23b6245ad940d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172062
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-08-20 11:58:11 +02:00
RMZeroFour
eca8414763 .NET Bindings: Move built .NET libraries into instdir
This commit adds Package targets for the net_basetypes, net_uretypes
and net_oootypes libraries to install them into instdir/program/dotnet.
Also adds a LIBO_SHARE_DOTNET_FOLDER variable mirroring the
LIBO_SHARE_JAVA_FOLDER variable.

Change-Id: I28cdb2dac799bd72d11c3e550bba1a946db8b49c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170098
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-08-03 11:28:46 +02:00
RMZeroFour
5f4083ffa9 .NET Bindings: Upgrade --enable-dotnet to --with-dotnet
This commit changes the existing --enable-dotnet switch into
--with-dotnet, allowing users to pass in a different dotnet
executable than the one on their PATH, similar to --with-java.
This is used to determine the variables DOTNET and DOTNET_ROOT.

Change-Id: Ia4f02dfdbd33d7629a800a076f758b26bb186d9f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169656
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-08-03 10:31:11 +02:00
Stephan Bergmann
7d5c62537c Add --with-package-format=emscripten
...to have $(WORKDIR)/installation/LibreOffice/emscripten populated with just
the relevant files from $(INSTDIR).  (This doesn't reuse the complicated
CustomTarget_instsetoo_native/install used for other PKGFORMATs; as a special
case, it uses a much simpler CustomTarget_instsetoo_native/emscripten-install.)

Change-Id: I9c7509aadbc0e6e49ec95bf51c748c2ff9f778b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171066
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-07-26 13:02:11 +02:00
Stephan Bergmann
6ea2464edb Bump minimum emsdk to known-good 3.1.46
...as 3.1.3 has compilation issues with our code now, see
<https://git.libreoffice.org/lode/+/197e973f8ce3ba8495f9c0c7baa5695335b39e13%5E%21>
"update emsdk to known-good 3.1.46 to avoid clang segfault"

Change-Id: Id500cdde2f776eaaedcc1bcbd43c5b3c727eef2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171017
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-07-26 11:21:39 +02:00
Caolán McNamara
3e99775689 ofz#70572 build failure
Change-Id: Ib313e1c6ace119e1480587e2bd519a5841e51a4b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170941
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-24 16:06:42 +02:00
Michael Stahl
46e21942bf configure,curl: enable GSSAPI on Linux/MacOS/etc.
This will link libgssapi_krb5.so.2 which is in krb5-libs (ABI CL1 in
RHEL8, ABI CL2 in RHEL9).

Change-Id: I2dbaa64e70f4502c5a47c6c85123c94b9ad41277
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170758
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-07-19 21:36:53 +02:00
Andrea Gelmini
a72988bfdb Fix typo
Change-Id: I16e88e1ecb0174605871031a614285911e6fff58
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170689
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
2024-07-18 19:17:15 +02:00
Christian Lohmaier
ad383c896a use the new linker on macOS (introduced in XCode 15)
the classic linker will be removed in upcoming versions of XCode and is
deprecated
XCode 15.0 has a bug that would cause runtime crashes on macOS 11, but
that bug has been fixed with XCode 15.1 and all users of XCode 15.0
could update to 15.1 or 15.2 (15.3 or later requires newer version of
macOS) - so remove the workaround of using the old linker and instead
require a fixed version of Xcode (or a different minimum deployment
target)

Change-Id: If516ac85539da83f54b1792450cf43ea55d0d808
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170640
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
2024-07-18 13:50:26 +02:00
Patrick Luby
0d1b6f9ffb Enable building with Xcode 16.0 beta 3 on macOS 15.0 public beta
Change-Id: Ia6d7fc9d8ec4e047d63a5ceb973ada997f3bf2a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170595
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
2024-07-17 04:37:14 +02:00
Noel Grandin
ac431b399f make MSVC /analyze a configure option
My debug build is slow enough already, no need to make it worse.

People who want it, can turn it on explicitly.

Change-Id: I8677534d8f0142699baa6b95a249ae5f70c5cc3c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170269
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-10 19:04:00 +02:00
Taichi haradaguchi
c75c21eef6 Upgrade raptor to 2.0.16
- Fixes CVE-2017-18926 and CVE-2020-25713.
- drop 0001-Calcualte-max-nspace-declarations-correctly-for-XML-.patch.1:
  merged upstream
- drop 0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch.1:
  merged upstream
- drop libtool.patch: merged upstream
- drop most of raptor-freebsd.patch.1: merged upstream
- drop most of raptor-msvc.patch.1: merged upsttream
- drop most of ubsan.patch: merged upstream
- drop Wint-conversion.patch: merged upstream

depend on package icu_ure to have libicuuc delivered and add corresponding
directory to rpath-link to make sure the right copy is picked up
use $(strip ...) in LDFLAGS to avoid having to escape , with $(COMMA)

Change-Id: Ic05269ade5dae3761d98432ee504a51434a4c753
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161704
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2024-07-09 14:02:54 +02:00
Xisco Fauli
a1295cb177 python: upgrade to 3.10.14 (master only)
Downloaded from https://www.python.org/ftp/python/3.10.14/Python-3.10.14.tar.xz

* external/python3/macos-11.patch.0 should be long
obsolete by now

Change-Id: I454851f7684e699519370bdbbcd9bb9a2cccd077
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170051
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-05 23:15:07 +02:00
Moritz Duge
c792fe496e --with-doxygen is only relevant with --enable-odk since b0228e4d3
Change-Id: I24eeb3a28658ba631dc8f7389b6e2933111657f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169568
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-07-03 13:29:46 +02:00
Michael Weghorn
5bf58785ba gtk4: Require GTK >= 4.10
For the gtk4 VCL plugin, require GTK version >= 4.10
and drop code for older versions.

This simplifies maintenance, in particular since
requiring 4.10 ensures that the basic GtkAccessible API
is available.

GTK 4.10 was released on 2023-03-04 [1], so it
will be almost 2 years by the time that LO 25.2
will be released.

Given that the gtk4 VCL plugin is still experimental,
providing support for older GTK 4 releases shouldn't
have to be a concern.

[1] https://gitlab.gnome.org/GNOME/gtk/-/blob/4.10.0/NEWS?ref_type=tags

Change-Id: I6f361b533391225d0e74c174e0479b767b9d827a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169324
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-06-30 22:40:39 +02:00
Andrea Gelmini
102cbf4626 Fix "lets" -> "let's"
Change-Id: I01968fc18b093dbbc27213f01c3da38ae151c62c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169748
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
2024-06-29 17:22:12 +02:00
RMZeroFour
4031659233 .NET Bindings: Switch for old windows CLI bindings
This commit adds an --enable-cli/--disable-cli switch to autoconf to
control generation of the old CLI bindings (Windows only). It is
enabled by default, to not be a breaking change to users just yet.
Over time, when the old bindings are deprecated in favor of the new
.NET bindings, it could be set to disabled by default.

Change-Id: Ib60b372459cb0c735275ed17d004d037279357eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168751
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-06-22 00:11:16 +02:00
Christian Lohmaier
e56a8300d3 use gb_StaticLibrary_WORKDIR and gb_Library_DLLDIR more consistently
same for gb_Executable_BINDIR[_FOR_BUILD] and fold
gb_Library_WORKDIR_FOR_BUILD into gb_Library_DLLDIR_FOR_BUILD (the
latter also has a workdir variant)

Change-Id: If7e4cf9aab46728182c89344546065bc33b452b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169201
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-06-19 20:00:39 +02:00