summaryrefslogtreecommitdiff
path: root/external
AgeCommit message (Collapse)Author
2023-08-15set libtiff ac_cv_lib_jpeg_jpeg12_read_scanlines cache val to falseCaolán McNamara
to avoid: ... checking for jpeg12_read_scanlines in -ljpeg... yes ... JPEG 8/12 bit dual mode: yes (libjpeg turbo >= 2.2 dual mode) ... tif_jpeg.c:143:25: error: unknown type name ‘J12SAMPARRAY’ 143 | #define TIFF_JSAMPARRAY J12SAMPARRAY where the system jpeg is linked against during configure but the build is against the internal jpeg and the system one happens to support jpeg12_read_scanlines Change-Id: I895d77c59a5bef1af0b1a85d44da1a54e502f8e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155670 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-08-15Update pdfium to 5941Miklos Vajna
- Remove part of ubsan.patch, upstream switched to FXSYS_memcpy() in those two functions, which does the same length check as our patch did. - Part of build.patch.1 doesn't apply anymore, remove the FXFT_Free() part and just assume that the new FT_Done_MM_Var() introduced in freetype-2.9 is something we can use unconditionally (at least the almalinux 8 has freetype-2.9.1). Change-Id: I77efc9921e76957edbcb68e8f3861ab5194b31e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155678 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-08-09openldap: upgrade to release 2.6.6Taichi Haradaguchi
* remove Wint-conversion.patch and configure-c99.patch, which were fixed upstream. Change-Id: Ia93b0190e60ab3420fe79c5446f22a1573b1ea6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155441 Tested-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-08-07Revert "tdf#116412: include bz2 in internal python"Taichi Haradaguchi
This reverts commit 5e3510dbb62229cfb01da371d39ecc27b0d44880. Reason for revert: occured build error at https://ci.libreoffice.org/view/tb%20platform%20status/job/lo_daily_tb_win_arm64/966/ Change-Id: I9f9087964f7a85c03bca6be4eff5717d6d274c89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155391 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-08-06Revert "external/python3: fix Windows build"Taichi Haradaguchi
This reverts commit 219bef04b7084eef49e1001312e186f390f4f735. Reason for revert: occured build error at https://ci.libreoffice.org/view/tb%20platform%20status/job/lo_daily_tb_win_arm64/972/ Change-Id: I26bb1a790ffddd7cb2f102f09cfb46b9327bb94b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155309 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-08-06external/python3: fix Windows buildTaichi Haradaguchi
...after commit 5e3510dbb62229cfb01da371d39ecc27b0d44880 (tdf#116412: include bz2 in internal python) add _bz2*.pyd modules. Change-Id: Icae5971fd766af738287d34f7abc4187a7a1fcca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155367 Tested-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-08-04external/hunspell: Work around missing C++20 std::bit_castStephan Bergmann
...as witnessed with <https://ci.libreoffice.org/job/gerrit_android_x86/31690/> on top of patch set 4 of <https://gerrit.libreoffice.org/c/core/+/155121/4> "Bump baseline to C++20", > In file included from /home/tdf/lode/jenkins/workspace/android_x86/lingucomponent/source/spellcheck/spell/sspellimp.cxx:35: > In file included from /home/tdf/lode/jenkins/workspace/android_x86/workdir/UnpackedTarball/hunspell/src/hunspell/hunspell.hxx:74: > /home/tdf/lode/jenkins/workspace/android_x86/workdir/UnpackedTarball/hunspell/src/hunspell/w_char.hxx:62:17: error: no member named 'bit_cast' in namespace 'std' > return std::bit_cast<unsigned short>(*this); > ~~~~~^ Change-Id: Ic4a799a0918ff6bcc4dd414d5ae59e02181074bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155346 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-08-02external/skia: Avoid -std:c++20 with known-broken VS-provided clang-clStephan Bergmann
...as witnessed with patch set 1 of <https://gerrit.libreoffice.org/c/core/+/155121/1> "Bump baseline to C++20", > In file included from C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/skia/src/base/SkBezierCurves.cpp:8: > In file included from C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/skia\src/base/SkBezierCurves.h:10: > C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/skia\include/private/base/SkSpan_impl.h(122,1): error: C++ requires a type specifier for all declarations > SkSpan(Container&&) -> > ^ > C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/skia/src/base/SkBezierCurves.cpp(185,12): error: use of class template 'SkSpan' requires template arguments > return SkSpan{intersectionStorage, intersectionCount}; > ^ > C:/cygwin/home/tdf/lode/jenkins/workspace/gerrit_windows/workdir/UnpackedTarball/skia\include/private/base/SkSpan_impl.h(64,7): note: template is declared here > class SkSpan { > ^ etc. (<https://ci.libreoffice.org/job/gerrit_windows/160027/>) Change-Id: I6166f1cb49ac1540ec1c4d3bc3331c8b228efa27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155228 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-07-31silence use-after-free warning in mdds for gcc12 in optimized buildChristian Lohmaier
Change-Id: I15385718dd705128e9e02541f33e46069dec5251 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154890 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-07-30tdf#116412: include bz2 in internal pythonTaichi Haradaguchi
Change-Id: Ie257446692227ae689fad2e61a42405a68e4f665 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139580 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-07-23cid#1538304 Big parameter passed by valueCaolán McNamara
and cid#1538309 Big parameter passed by value Change-Id: I6c3f86c3c57f561b71809d0193ab663d2f92a4b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154794 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-07-17external/clucene: More uses of obsolete std::binary_functionStephan Bergmann
...as seen at least when building against VS 2022 Preview 17.7.0 Preview 3.0 and --with-latest-c++, > workdir\UnpackedTarball\clucene\src\core\CLucene/util/_Arrays.h(128): error C2039: 'binary_function': is not a member of 'std' > C:\PROGRA~1\MICROS~3\2022\Preview\VC\Tools\MSVC\1437~1.328\Include\vector(26): note: see declaration of 'std' > workdir\UnpackedTarball\clucene\src\core\CLucene/util/_Arrays.h(153): note: see reference to class template instantiation 'lucene::util::CLListEquals<_kt,_comparator,class1,class2>' being compiled etc. Change-Id: Icea14fe0c0ad85501367ac6c81a3b8aada595383 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154551 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-07-15Related tdf#155125: add MacPorts to GPG's fallback search on macOSPatrick Luby
Change-Id: I52a5031b531dc542b2eea72191a1c240f78820bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154474 Tested-by: Jenkins Reviewed-by: Patrick Luby <plubius@neooffice.org>
2023-07-14fix "incomplete type" type in skia buildNoel Grandin
seen by ohallot on a Kubuntu system (gcc version 12.2.0 kubuntu 23.4) /usr/include/c++/12/bits/unique_ptr.h:396:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = SkImageGenerator; _Dp = std::default_delete<SkImageGenerator>]’ /mnt/bigfast/git/lom/workdir/UnpackedTarball/skia/src/ports/SkImageGenerator_none.cpp:14:12: required from here /usr/include/c++/12/bits/unique_ptr.h:93:23: error: invalid application of ‘sizeof’ to incomplete type ‘SkImageGenerator’ 93 | static_assert(sizeof(_Tp)>0, | ^~~~~~~~~~~ Change-Id: I172bfd1aa063de2c283c7205637de58c47dc73fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154386 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-07-12fix missing typeinfo for SkImage_Base in ubsan buildNoel Grandin
Change-Id: Ic17d45a93f521920fb45fbc5e88819b65638b4a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154351 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-07-12Upgrade Harfbuzz to 8.0.0Taichi Haradaguchi
Change-Id: I04d81509c50f0335d201b5286460989f526b58f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154233 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-07-11external/skia: Fix use of incomplete typeStephan Bergmann
...as reported at least with --with-latest-c++ against recent LLVM 17 libc++, > In file included from workdir/UnpackedTarball/skia/src/gpu/ganesh/image/GrImageUtils.cpp:8: > In file included from workdir/UnpackedTarball/skia/src/gpu/ganesh/image/GrImageUtils.h:12: > In file included from workdir/UnpackedTarball/skia/include/core/SkSamplingOptions.h:13: > In file included from ~/llvm/inst/bin/../include/c++/v1/algorithm:1778: > In file included from ~/llvm/inst/bin/../include/c++/v1/__algorithm/inplace_merge.h:28: > ~/llvm/inst/bin/../include/c++/v1/__memory/unique_ptr.h:66:19: error: invalid application of 'sizeof' to an incomplete type 'GrFragmentProcessor' > 66 | static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type"); > | ^~~~~~~~~~~ > ~/llvm/inst/bin/../include/c++/v1/__memory/unique_ptr.h:300:7: note: in instantiation of member function 'std::default_delete<GrFragmentProcessor>::operator()' requested here > 300 | __ptr_.second()(__tmp); > | ^ > ~/llvm/inst/bin/../include/c++/v1/__memory/unique_ptr.h:266:75: note: in instantiation of member function 'std::unique_ptr<GrFragmentProcessor>::reset' requested here > 266 | _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX23 ~unique_ptr() { reset(); } > | ^ > workdir/UnpackedTarball/skia/src/gpu/ganesh/image/GrImageUtils.h:106:12: note: in instantiation of member function 'std::unique_ptr<GrFragmentProcessor>::~unique_ptr' requested here > 106 | return AsFragmentProcessor(ctx, img.get(), opt, tm, m, subset, domain); > | ^ > workdir/UnpackedTarball/skia/src/gpu/ganesh/SkGr.h:32:7: note: forward declaration of 'GrFragmentProcessor' > 32 | class GrFragmentProcessor; > | ^ Change-Id: I181f7416c80fd97c505359f275dd61f69ee27ef8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154291 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-07-11LibTomMath: upgrade to release 1.2.0Taichi Haradaguchi
* external/libtommath/clang-cl.patch: removed "typedef unsigned __int128 mp_word" from tommmath.h * external/libtommath/libtommath-msvc.patch: fixed upstream Change-Id: I38fe730ff0e9649c6a0ad8d64b723a27e3434012 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153871 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-07-11zxing-cpp: upgrade to release 2.1.0Taichi Haradaguchi
- remove external/zxing/invalid_argument.patch.1 and external/zxing/no_sanitize_ignored.patch.0, no longer needed in 2.1.0. - If "Utf.h" can be included, use ZXing::FromUtf8() instaed of ZXing::TextUtfEncoding::FromUtf8(). This makes external/zxing/undeprecate-warning.patch.0 unnecessary. Change-Id: I06acebb623aa8b60c5d2e5f7f265998571d75a89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154221 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-07-10update skia to m116Noel Grandin
(from m111) SK_SUPPORT_GPU is now SK_GANESH GR_OP_ALLOCATE_USE_NEW was removed in skia m111 commit dd8f8ed3848cbe2032edc7ec08ef648a23e28ad9 Author: Mike Klein <mtklein@google.com> Date: Thu Apr 22 12:17:33 2021 -0500 clean up defines that do nothing the fast-png-write patch was removed. The underlying helper function we need was removed in commit 0ec4c84abd0b578a5c792b04b56653cbc325530e Author: Kevin Lubick <kjlubick@google.com> Date: Thu Apr 20 14:46:28 2023 -0400 Remove SkImageEncoder and SkImage::encodeToData So I updated our dump() function in SkiaHelper.cxx to use the new Skia API. The constexpr-template patch seems to be superceded by skia changes. SkOpts: :hash_fn has been replaced with SkChecksum::Hash32 commit 657ed9cf2379a950b925cb2aba7c85d6e1dd36ed Author: Brian Osman <brianosman@google.com> Date: Tue May 23 12:40:12 2023 +0000 Reland "Replace SkOpts::hash/hash_fn with SkChecksum::Hash32" The SkDebugf function needs to be exported from the library since it leaks out to calling code via some of the headers. Change-Id: I80ace8f25e660fa7889d22ef90676f47264d866c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154223 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-07-08tdf137553: Fix advance width for text using Graphite fontsKhaled Hosny
This is a HarfBuzz bug and it was reported upstream. Change-Id: Ibf945d30f57c7fb847b63c40f5a7b2903958ab89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154213 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-07-06cairo RGBA needs to take account of custom RGB24_888 formatCaolán McNamara
Change-Id: I929d20f134c4fb7dedfd2c581263c303cae87eea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154080 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-07-05don't use SSE in skia on "INTEL" (except on Windows...)Rene Engelhard
as i386/i686 in Debian is non-MMX, non-SSE, cf. https://wiki.debian.org/ArchitectureSpecificsMemo#i386-1 Regression from 9c9a711ac5d8f32ac318d0e4ecab7b3a26bc2150 which claims to have set the define instead of skia_sk_cpu_sse_level_0_by_default.patch.1 but actually sets it to SSE2... Change-Id: I4157a580470732fd7bbc5cf1b2384b76182340cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153984 Tested-by: René Engelhard <rene@debian.org> Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-07-05cid#1532449 Big parameter passed by valueCaolán McNamara
Change-Id: Iad69437b2349bda6729395a4e2bd876a1a6c968e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153563 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-07-04Fix Linux --without-system-libxml buildStephan Bergmann
...after 362dfc50a28a918ec73609a00d2851eb3058375d "libxslt: upgrade to release 1.1.38" Change-Id: Id0ebf5676f79c43bb4fab3a33a2a19e303881aef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153942 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-07-04libatomic_ops: upgrade release to 7.8.0Taichi Haradaguchi
use new configure option (--disable-gpl) added in 7.8.0 to skip building libatomic_ops_gpl. Change-Id: If4b3b1994399099906b306fb2ea22fa47a87300b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153886 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-07-03libxslt: upgrade to release 1.1.38Taichi Haradaguchi
Change-Id: I0534d7e02c9486b3d58f56e1a26fe6846b4a20b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153874 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-07-01Upgrade Harfbuzz to 7.3.0Taichi Haradaguchi
Release Notes: https://github.com/harfbuzz/harfbuzz/releases/tag/7.2.0 (v7.2.0) https://github.com/harfbuzz/harfbuzz/releases/tag/7.3.0 (v7.3.0) Change-Id: I4f57b7e829f2356b5e2b442ff00df555121c0e66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153729 Tested-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-07-01upgrade libwebp to 1.3.1Taichi Haradaguchi
Fixes CVE-2023-1999. Change-Id: I3d0f5f718242977156729521d14efb1a8d71aee4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153819 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-06-30postgresql: upgrade to release 13.11Taichi Haradaguchi
CVE-2023-2454 and CVE-2023-2455 don't affect LibreOffice. Release Notes: https://www.postgresql.org/docs/release/13.11/ Change-Id: I1de521b6aa9af1e6d84ea794b0f4f5d62de377f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153728 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-06-30Fix typos in external/libtommath/READMETaichi Haradaguchi
The LibTom Projects website is not "http://www.libtom.org/" but "https://www.libtom.net/" Change-Id: I2334242aef7ed82de94e8814a8102d2ef970745a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153781 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-06-27Fix gpgme build on WindowsMike Kaganski
Commit 97c67afac1ec9351d0a64011a7ddfb7dfa876484 (Update gpgme to 1.20.0, 2023-06-23) defined ssize_t in external/gpgmepp/w32-build-fixes.patch.1. It was done to address the use of ssize_t in src/debug.h, appeared in https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=patch;h=7d1159c1e99bb1bae0ab698c85105dcdcb95b7ea This led to build errors like C:\cygwin\home\tdf\lode\jenkins\workspace\lo_tb_master_win64_dbg\workdir\UnpackedTarball\gpgmepp\src\debug.h(26): error C2371: 'ssize_t': redefinition; different basic types C:\cygwin\home\tdf\lode\jenkins\workspace\lo_tb_master_win64_dbg\workdir\UnpackedTarball\libassuan\src\assuan.h(47): note: see declaration of 'ssize_t' To fix it locally, just revert the problematic patch, until fixed upstream. Change-Id: Ib89496cc08b0ce6d24d5c9e9c7e615c6909d071b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153671 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-06-27Update ICU to 73.2Taichi Haradaguchi
Remove external/icu/ubsan.patch.1 that was applied upstream. See https://icu.unicode.org/download/73 Change-Id: Ic2bc450b093f1c0ddb09ebe915a9c3e70d7e0964 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153574 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2023-06-27add an --enable-cairo-rgba to set the order of pixels for internal cairoCaolán McNamara
Change-Id: Ieab2ef59f63a7722bffea3273d2eeefadef47b56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153628 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-06-26Update gpgme to 1.20.0Taichi Haradaguchi
* remove external/gpgmepp/0001-cpp-Fix-building-with-C-11.patch.1 and external/gpgmepp/gcc9.patch that were applied upstream. * remove unneccesary external/gpgmepp/macos-include.patch. * remove a bit of external/gpgmepp/w32-build-fixes.patch.1 that was applied upstream. Change-Id: I9982a3a47e62a5e06e3c04ddc3ee3f247eefa8ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153544 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-06-24Update libassuan to 2.5.6Taichi Haradaguchi
Change-Id: Iea5af01231e67c24d34287929a54f5ec86af47ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153545 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-06-21No need to fiddle with ICU UChar typedef anymoreKhaled Hosny
The affected external dependencies should be building with c++11 by now already. Change-Id: I0d1f8aed6ed28f510f456a368b724c3c4eeb3240 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153389 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-06-21openldap: upgrade to release 2.6.4Taichi Haradaguchi
Because NSS support has been removed in release 2.5, switch TLS/SSL module used by OpenLDAP to OpenSSL. Add -pthread flag to openldap_LDFLAGS when building on Linux. This avoids errors that occur in libcrypto.a (libcrypto-lib-threads_pthread.o). Change-Id: I4779ce40233d144d930f20e85db7b4ba08f91ea1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143646 Tested-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-06-21poppler: upgrade to release 23.06.0Taichi Haradaguchi
Add external/poppler/disable-nss-and-gpgmepp.patch.1 to get rid of some code that requires NSS or GPGMEPP. Update external/poppler/inc/pch/precompiled_poppler.hxx. Change-Id: I5e61371776c64962452022516446b5079c3840e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153097 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-06-18add --with-system-frozenRene Engelhard
Change-Id: Ia09254cab5696fa0a3530fcafa5b48acca631ff2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153208 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-06-17Add frozen library support - for compile-time dict, set supportTomaž Vajngerl
Change-Id: I8fa02569ba02048cc3ef02b349aafba1c0cbebb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153173 Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-06-15libjpeg-turbo is used for import but also export jpeg filterJulien Nabet
Change-Id: I257db8f1c59ff16d70751fe875594faa8e07e902 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153002 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-06-14backport CVE-2023-1999 libwebp fixCaolán McNamara
Change-Id: Idce341a78e44af9940d287d2a08b02d2ee9a6dae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153040 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-06-14external/coinmap: Address ODR violationsStephan Bergmann
...since 2193650b3373ee1889961cfb72d1fe97f73e2c23 "external/coinmp: Update to CoinMP 1.8.4", as reported by <https://ci.libreoffice.org/job/lo_ubsan/2805/>, > ==25531==ERROR: AddressSanitizer: odr-violation (0x7f3df9756e40): > [1] size=4 'CbcOrClpEnvironmentIndex' /home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/UnpackedTarball/coinmp/Clp/src/CbcOrClpParam.cpp:1236:5 > [2] size=4 'CbcOrClpEnvironmentIndex' CbcOrClpParam.cpp:1236:5 > These globals were registered at these points: > [1]: > #0 0x43e508 in __asan_register_globals.part.13 /home/tdf/lode/packages/llvm-llvmorg-12.0.1.src/compiler-rt/lib/asan/asan_globals.cpp:360 > #1 0x7f3df9252a6b in asan.module_ctor (/instdir/program/libCbcSolver.so.3+0x21fa6b) > LLVMSymbolizer: error reading file: No such file or directory > #2 0x7ffda20d8279 ([stack]+0x32279) > > [2]: > #0 0x43e508 in __asan_register_globals.part.13 /home/tdf/lode/packages/llvm-llvmorg-12.0.1.src/compiler-rt/lib/asan/asan_globals.cpp:360 > #1 0x7f3df4973a4b in asan.module_ctor (/instdir/program/libClpSolver.so.1+0x127a4b) > #2 0x7ffda20d8279 ([stack]+0x32279) and similarly for CbcOrClpRead_mode and CbcOrClpReadCommand. There's code using those three extern variables in both libCbcSolver.so.3 and libClpSolver.so.1, and some of it is duplicated (in workdir/UnpackedTarball/coinmp/Clp/src/CbcOrClpParam.cpp, which is also included from workdir/UnpackedTarball/coinmp/Cbc/src/CbcCbcParam.cpp). Those libraries do not appear to make any use of symbol visibility hiding, and it is completely unclear to me how all that code is actually meant to work. But it also smells like all that code is only used within standalone programs (see main in workdir/UnpackedTarball/coinmp/Cbc/src/CoinSolve.cpp and workdir/UnpackedTarball/coinmp/Clp/src/ClpMain.cpp). So lets try to get away with properly sharing those three extern variables across those two libraries. Except on Windows, where linking the one library wouldn't find the extern variables from the other library (and I'm not sure whether that's a general issue on Windows, or is due to how 2193650b3373ee1889961cfb72d1fe97f73e2c23 modified external/coinmp/windows.build.patch.1). (This also appears to be fixed on recent upstream; <https://github.com/coin-or/Cbc> no longer mentions any of those three extern variables. Maybe a new tarball will eventually appear at <http://www.coin-or.org/download/source/CoinMP/> that includes a proper fix of these ODR violations.) Change-Id: I953c7dc31f8e35315c59dc2bedd3fdf780579638 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153001 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-06-13external/curl: fix URL in README.Taichi Haradaguchi
The current URL of the curl project's website is https://curl.se/. Change-Id: Ibbbd2b0c8b6616bd1f59af06f2a41f62674d3bab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152939 Tested-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-06-13openssl: upgrade to release 3.0.9Taichi Haradaguchi
Fixes CVE-2023-1255, CVE-2023-2650 and 3 more CVEs that probably don't affect LibreOffice. Change-Id: Ic615b008298471267121a0f4deb227ddb3a0409e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152851 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-06-12curl: upgrade to release 8.1.2Taichi Haradaguchi
Fixes CVE-2023-28321, CVE-2023-28322, and 2 more CVEs that probably don't affect LibreOffice Change-Id: If8720ba3647216063bffc8678aa64dad9a317128 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152809 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-06-09external/coinmp: Update to CoinMP 1.8.4Stephan Bergmann
...originally started mostly to simplify a then-upcoming change to address std::bind2nd gone from libc++ for C++17 (which turned out to already be partially addressed in this new CoinMP revision). But that has since been addressed with b97e8b9d13ef0f57f7cf0badbefcb038a8bbd137 "external/coinmp: Adapt to std::bind2nd gone from C++17" on top of the old CoinMP 1.7.6, because updating to 1.8.4 turned out to run into issues on Windows, see the email thread starting at <https://lists.freedesktop.org/archives/libreoffice/2022-September/089383.html> "Maintaining building external/coinmp on Windows". * <https://dev-www.libreoffice.org/src/CoinMP-1.8.4.tgz> is a copy of <https://www.coin-or.org/download/source/CoinMP/CoinMP-1.8.4.tgz>. * Various of our patches are meanwhile addressed upstream, partially or in whole. * The upstream configure scripts deteriorated and caused one of my Linux build's CC=/absolute/path/to/some/clang to be mistaken for MSVC which caused them to force LD=link, which in turn caused them to only build archives and not the shared libraries that we expect. external/coinmp/clang-with-path.patch addresses that. * There's apparently a new ClpSolver library now that also needs to be installed. Otherwise at least CppunitTest_sccomp_swarmsolvertest failed due to > warn:sal.osl:1950612:1950612:sal/osl/unx/module.cxx:152: dlopen(instdir/program/libsolverlo.so, 257): libClpSolver.so.1: cannot open shared object file: No such file or directory * Plus modifications to external/coinmp/windows.build.patch.1 thankfully done by Taichi Haradaguchi <20001722@ymail.ne.jp> to make this actually compile on Windows (cf. the mailing list thread starting at <https://lists.freedesktop.org/archives/libreoffice/2022-September/089383.html> "Maintaining building external/coinmp on Windows") Change-Id: I498c9513fa0d96d8ae2b9ba4c09dd792340db730 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140057 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-06-09Update libxmlsec to 1.3.1Miklos Vajna
This time try to do it in a way that doesn't re-introduce tdf#155034, i.e. patch out code that would use NSS symbols which are in the RHEL7 baseline, but are not in Ubuntu 18.04. This is all code like RSA OAEP or AES GCM which is relatively new, so not really required for our signature needs. It also helps that this release has a lowered baseline for NSS. Change-Id: I5a8df6d98462e8173a5508e014bd2d515da2dc9d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152747 Tested-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-06-07python3: upgrade to release 3.8.17Michael Stahl
Fixes CVE-2023-24329 and a few more obscure security issues. Change-Id: I4b073ce02c0377e2791e4593d20f2b756de0c8cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152696 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>