summaryrefslogtreecommitdiffstats
path: root/distro-configs
Commit message (Collapse)AuthorAgeFilesLines
* Better workaround for ASan use-after-poisonStephan Bergmann2021-12-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...than ae36ee4f3aa544e53e2edad93d6d79160b27bc9d "Work around use-after-poison" for > ==1922539==ERROR: AddressSanitizer: use-after-poison on address > 0x61d00190fab0 at pc 0x00000026aaa9 bp 0x7f422ee84b80 sp > 0x7f422ee84348 WRITE of size 192 at 0x61d00190fab0 thread T44 #0 in > memset at > ~/github.com/llvm/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:800:3 > (instdir/program/soffice.bin +0x26aaa8) #1 at <null> > (/lib64/libnsspem.so +0x15f3d) #2 at <null> (/lib64/libnsspem.so > +0x16185) #3 at <null> (/lib64/libnsspem.so +0x8a9b) #4 at <null> > (/lib64/libnsspem.so +0xe13b) #5 in secmod_ModuleInit at > workdir/UnpackedTarball/nss/nss/lib/pk11wrap/pk11load.c:244:11 > (instdir/program/libnss3.so +0x4ad372) #6 in secmod_LoadPKCS11Module > at workdir/UnpackedTarball/nss/nss/lib/pk11wrap/pk11load.c:544:10 > (instdir/program/libnss3.so +0x4b1fca) #7 in SECMOD_LoadModule at > workdir/UnpackedTarball/nss/nss/lib/pk11wrap/pk11pars.c:1946:10 > (instdir/program/libnss3.so +0x50de92) #8 in SECMOD_LoadUserModule > at workdir/UnpackedTarball/nss/nss/lib/pk11wrap/pk11pars.c:2042:28 > (instdir/program/libnss3.so +0x50e9a9) #9 in nss_load_module at > workdir/UnpackedTarball/curl/lib/vtls/nss.c:1310:12 > (instdir/program/libcurl.so.4 +0x4fdd25) #10 in nss_setup_connect at > workdir/UnpackedTarball/curl/lib/vtls/nss.c:1894:12 > (instdir/program/libcurl.so.4 +0x4eeffb) #11 in nss_connect_common > at workdir/UnpackedTarball/curl/lib/vtls/nss.c:2235:14 > (instdir/program/libcurl.so.4 +0x4ee237) #12 in > nss_connect_nonblocking at > workdir/UnpackedTarball/curl/lib/vtls/nss.c:2291:10 > (instdir/program/libcurl.so.4 +0x4ebe4a) #13 in > Curl_ssl_connect_nonblocking at > workdir/UnpackedTarball/curl/lib/vtls/vtls.c:361:12 > (instdir/program/libcurl.so.4 +0x514039) #14 in https_connecting at > workdir/UnpackedTarball/curl/lib/http.c:1591:12 > (instdir/program/libcurl.so.4 +0x2f29ce) #15 in Curl_http_connect at > workdir/UnpackedTarball/curl/lib/http.c:1517:14 > (instdir/program/libcurl.so.4 +0x2f23d5) #16 in protocol_connect at > workdir/UnpackedTarball/curl/lib/multi.c:1696:16 > (instdir/program/libcurl.so.4 +0x3b8620) #17 in multi_runsingle at > workdir/UnpackedTarball/curl/lib/multi.c:1997:16 > (instdir/program/libcurl.so.4 +0x3a2232) #18 in curl_multi_perform > at workdir/UnpackedTarball/curl/lib/multi.c:2568:14 > (instdir/program/libcurl.so.4 +0x39dc5c) #19 in > http_dav_ucp::CurlProcessor::ProcessRequestImpl(http_dav_ucp::CurlSession&, > http_dav_ucp::CurlUri const&, curl_slist*, > com::sun::star::uno::Reference<com::sun::star::io::XOutputStream> > const*, com::sun::star::uno::Sequence<signed char> const*, > std::pair<std::__debug::vector<rtl::OUString, > std::allocator<rtl::OUString> > const&, http_dav_ucp::DAVResource&> > const*, (anonymous namespace)::ResponseHeaders&) at > ucb/source/ucp/webdav-curl/CurlSession.cxx:880:14 > (instdir/program/../program/libucpdav1.so +0x5aad30) 0x61d00190fab0 > is located 48 bytes inside of 2048-byte region > [0x61d00190fa80,0x61d001910280) allocated by thread T44 here: #0 in > malloc at > ~/github.com/llvm/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:69:3 > (instdir/program/soffice.bin +0x2d3c7e) #1 in PR_Malloc at > workdir/UnpackedTarball/nss/nspr/out/pr/src/malloc/../../../../pr/src/malloc/prmem.c:448:55 > (instdir/program/libnspr4.so +0x123629) #2 in PL_ArenaAllocate at > workdir/UnpackedTarball/nss/nspr/out/lib/ds/../../../lib/ds/plarena.c:134:27 > (instdir/program/libplds4.so +0x9a32) #3 at <null> > (/lib64/libnsspem.so +0x15f77) during UITest_sw_options: That --with-system-nss workaround for <https://ci.libreoffice.org/job/lo_ubsan/> had caused CppunitTest_desktop_lib to start to fail there, presumably "caused by --with-system-nss on the CentOS7 baseline", see the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2021-December/088136.html> "Re: [global-libreoffice-ci] UBSAN Linux Build - Build # 2217 - Still Failing!" And while I had initially not been able to reproduce the use-after-poison during UITest_sw_options with my local ASan+UBSan build (on Fedora 35), I now found out that that was just because my machine happened to not have an nsspem library installed in the system (the nss-pem RPM on Fedora). With that system library installed, my local build failed UITest_sw_options in the same way as the Jenkins tinderbox. Which lead me to the idea of avoiding the whole mess by avoiding that CUrl loads the (apparently optional) nsspem library in ASan builds altogether. (Another approach might have been to disable the __asan_poison_memory_region functionality in workdir/UnpackedTarball/nss/nspr/lib/ds/plarena.h, but the chosen approach nicely makes us less dependent on accidental differences in build-time execution environments, at least for ASan builds.) Change-Id: I8fd2ff255771622f26ad666ca78a6d9ded0af2d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126451 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* use --with-system-lockfile for coverity buildCaolán McNamara2021-12-041-0/+1
| | | | | | | | | we don't care about that tool Change-Id: Ifc0910a77177e504a35fcf35efad92d6ede63507 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126365 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* ofz#41602 fix more build failureCaolán McNamara2021-12-031-0/+1
| | | | | | | | | | | | | | since... commit f9e79a91f15e10ededad0f103c4ffe0ca38fcb31 Date: Tue May 18 01:11:41 2021 +0200 Fix --disable-avmedia for DESKTOP build Change-Id: I31404c1a4c2ba71fb47388d87b59ecbee87ff603 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126324 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* ofz#41602 Build-FailureCaolán McNamara2021-12-031-0/+1
| | | | | | | | | | can't use the internal Executable_lockfile because it needs itself to link Change-Id: I51e3a910bedc038bb6776cd67d16ea706fbc071f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126285 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Work around use-after-poisonStephan Bergmann2021-11-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > ==21930==ERROR: AddressSanitizer: use-after-poison on address 0x61d001aa0eb0 at pc 0x0000004398b4 bp 0x2ada81952e60 sp 0x2ada81952610 > WRITE of size 192 at 0x61d001aa0eb0 thread T42 (utl::Moderator) > #0 0x4398b3 in __interceptor_memset.part.43 /home/tdf/lode/packages/llvm-llvmorg-9.0.1.src/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:773 > #1 0x2ada82e404ae (/lib64/libnsspem.so+0x154ae) > #2 0x2ada82e405bf (/lib64/libnsspem.so+0x155bf) > #3 0x2ada82e331b7 (/lib64/libnsspem.so+0x81b7) > #4 0x2ada82e386c1 (/lib64/libnsspem.so+0xd6c1) > #5 0x2ad58dccdafc in secmod_ModuleInit /workdir/UnpackedTarball/nss/nss/lib/pk11wrap/pk11load.c:244:11 > #6 0x2ad58dcd3027 in secmod_LoadPKCS11Module /workdir/UnpackedTarball/nss/nss/lib/pk11wrap/pk11load.c:544:10 > #7 0x2ad58dd37e20 in SECMOD_LoadModule /workdir/UnpackedTarball/nss/nss/lib/pk11wrap/pk11pars.c:1946:10 > #8 0x2ad58dd389b9 in SECMOD_LoadUserModule /workdir/UnpackedTarball/nss/nss/lib/pk11wrap/pk11pars.c:2042:28 > #9 0x2ad54cea71b1 in nss_load_module /workdir/UnpackedTarball/curl/lib/vtls/nss.c:1310:12 > #10 0x2ad54ce969ae in nss_setup_connect /workdir/UnpackedTarball/curl/lib/vtls/nss.c:1894:12 > #11 0x2ad54ce95a5a in nss_connect_common /workdir/UnpackedTarball/curl/lib/vtls/nss.c:2235:14 > #12 0x2ad54ce9320a in nss_connect_nonblocking /workdir/UnpackedTarball/curl/lib/vtls/nss.c:2291:10 > #13 0x2ad54cebfa5a in Curl_ssl_connect_nonblocking /workdir/UnpackedTarball/curl/lib/vtls/vtls.c:361:12 > #14 0x2ad54cc6929e in https_connecting /workdir/UnpackedTarball/curl/lib/http.c:1591:12 > #15 0x2ad54cc68c74 in Curl_http_connect /workdir/UnpackedTarball/curl/lib/http.c:1517:14 > #16 0x2ad54cd42aac in protocol_connect /workdir/UnpackedTarball/curl/lib/multi.c:1696:16 > #17 0x2ad54cd2a3dc in multi_runsingle /workdir/UnpackedTarball/curl/lib/multi.c:1997:16 > #18 0x2ad54cd25704 in curl_multi_perform /workdir/UnpackedTarball/curl/lib/multi.c:2568:14 > #19 0x2ada803a8d54 in http_dav_ucp::CurlProcessor::ProcessRequestImpl(http_dav_ucp::CurlSession&, http_dav_ucp::CurlUri const&, curl_slist*, com::sun::star::uno::Reference<com::sun::star::io::XOutputStream> const*, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const*, std::pair<std::__debug::vector<rtl::OUString, std::allocator<rtl::OUString> > const&, http_dav_ucp::DAVResource&> const*, (anonymous namespace)::ResponseHeaders&) /ucb/source/ucp/webdav-curl/CurlSession.cxx:918:14 during UITest_sw_options (<https://ci.libreoffice.org/job/lo_ubsan/2210/>) after bdef11f5337ecc87556a92693f6b7b5e200eb29e "configure: default to --with-webdav=curl", apparently caused by a mixture of external/nss built with ASan and system /lib64/libnsspem.so not build with ASan. (And this commit may become obsolete with <https://gerrit.libreoffice.org/c/core/+/120388> "configure: default to --with-system-nss on Linux".) (The last time that use-after-poison in /lib64/libnsspem.so hit <https://ci.libreoffice.org/job/lo_ubsan/>, I could work around it with db6c7a486395304f38e9ea52951f576f34749cbc "Use UCB instead of cURL to download https files".) Change-Id: Ic5ed4e60a577a65c71084e97b3fb3afd03266bb8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125912 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Adapt distro-configs/LibreOfficeFlatpak.confStephan Bergmann2021-11-261-0/+1
| | | | | | | | | | ...to 214fa233338c09156c67f85818b6a2ea6b3235bd "add with-system-abseil/with-system-openjpeg for pdfium" Change-Id: I5956b2710e3c3aa02285224e9d5799ef2da91270 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125885 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* --without-system-cuckoo missing in distro-configs/LibreOfficeFlatpak.confStephan Bergmann2021-11-261-0/+1
| | | | | | | | | | ...for 3749d9af3745c0eaff7239e379578e4e2af89e9d "tdf#130795 use concurrent hashmap in SharedStringPool" Change-Id: I1f8d224cc412ff3e8ad819b018aea6cc1829faca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125884 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* make Jenkins dev builds use --enable-dbgutil, not just debugLuboš Luňák2021-11-183-3/+3
| | | | | | | | | | | | | It's the "more debug" option that each developer ideally should use unless binary compatibility is wanted. Jenkins builds done with these settings are reportedly not published, so this is just tinderbox builds, and there's it's better to verify the extra dbgutil stuff too. Change-Id: Ia2f86ff9394e155b247a6e5e1583d0681399b99b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125381 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* --enable-lto for distro-configs/* that already use --enable-mergelibsLuboš Luňák2021-10-145-0/+5
| | | | | | | | | | LTO should now work properly at least on these platforms, and it's a couple percent better performance at the cost of build time. Change-Id: I0b6103161616b730fa32a7dd3b244219dda030fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123585 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* add dbffuzzerCaolán McNamara2021-09-251-1/+1
| | | | | | | | | which requires dropping ---disable-database-connectivity Change-Id: I5b3a2027916a3cf844cefd90629c3fe918ead31e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122591 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* a system cuckoo isn't availableCaolán McNamara2021-09-091-0/+1
| | | | | | | | | build without it and see what warnings there might be Change-Id: I54b4d0c784631d26f634c63157563203bc37f1b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121864 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Flatpak: Upgrade to 21.08 runtime, disable SkiaStephan Bergmann2021-09-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For whatever reason, building Skia against the 21.08 SDK would fail with > /run/build/libreoffice/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp: In function ‘void {anonymous}::colrv1_draw_paint(SkCanvas*, const FT_Color*, FT_Face, FT_COLR_Paint)’: > /run/build/libreoffice/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:668:14: error: ‘FT_COLR_PAINTFORMAT_TRANSFORMED’ was not declared in this scope; did you mean ‘FT_COLR_PAINTFORMAT_TRANSFORM’? > 668 | case FT_COLR_PAINTFORMAT_TRANSFORMED: { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | FT_COLR_PAINTFORMAT_TRANSFORM > /run/build/libreoffice/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:669:60: error: ‘union FT_COLR_Paint_::<unnamed>’ has no member named ‘transformed’; did you mean ‘transform’? > 669 | SkMatrix transform = ToSkMatrix(colrv1_paint.u.transformed.affine); > | ^~~~~~~~~~~ > | transform > /run/build/libreoffice/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp: In function ‘bool {anonymous}::colrv1_traverse_paint(SkCanvas*, const FT_Color*, FT_Face, FT_OpaquePaint)’: > /run/build/libreoffice/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:763:14: error: ‘FT_COLR_PAINTFORMAT_TRANSFORMED’ was not declared in this scope; did you mean ‘FT_COLR_PAINTFORMAT_TRANSFORM’? > 763 | case FT_COLR_PAINTFORMAT_TRANSFORMED: > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | FT_COLR_PAINTFORMAT_TRANSFORM > /run/build/libreoffice/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:768:74: error: ‘union FT_COLR_Paint_::<unnamed>’ has no member named ‘transformed’; did you mean ‘transform’? > 768 | colrv1_traverse_paint(canvas, palette, face, paint.u.transformed.paint); > | ^~~~~~~~~~~ > | transform > make[1]: *** [/run/build/libreoffice/solenv/gbuild/LinkTarget.mk:347: /run/build/libreoffice/workdir/GenCxxObject/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.o] Error 1 But including Skia in the Linux flatpak isn't too useful anyway (and just happened to be on by default): First, it is disabled by default on Linux, cf. UseSkia in officecfg/registry/data/org/openoffice/Office/Common.xcu. And second, on Linux it can only be enabled for SAL_USE_VCLPLUGIN=gen, but not for the gtk3 plugin that the flatpak normally uses, cf. OfaViewTabPage::UpdateSkiaStatus in cui/source/options/optgdlg.cxx. Change-Id: Ifdc9c23676280caf19db0e9f09df15aaa21eef5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121705 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* turn on symbols for jenkins windows buildsNoel Grandin2021-09-021-1/+0
| | | | | | | | | so we get good stacktraces when something goes wrong Change-Id: I1e0832b3ab0bdbbf1a76533c37fbb0a8060a0166 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121266 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* There is no --disable-neon configure option any moreTor Lillqvist2021-08-261-1/+0
| | | | Change-Id: I8a3845ae0b811a43830c7bb166cc2092b7e163b1
* ofz: prep for allowing oss-fuzz msanCaolán McNamara2021-08-221-9/+0
| | | | | | | | | | | dependencies need to be built with the msan flags so undo the --with-system .a usage now that trying to squeeze into the 12 hour build window isn't critical because the afl 6-8 hour build+check is disabled Change-Id: I3729d37e0f028c5efe62ce5d66ea6fe636d3d0c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120788 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* ofz: use system curl .a and system glm headersCaolán McNamara2021-08-161-2/+2
| | | | | | | Change-Id: Idf4aa5f8d76afb3f0842830c2c874a10241ecc3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120528 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* ofz: build with system libexttextcatCaolán McNamara2021-08-141-0/+1
| | | | | | | Change-Id: I1dd2c49bfc5577a8502eb42721f3ef9b08f8fdb0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120485 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* ofz: use system .a curl, fontconfig, freetypeCaolán McNamara2021-08-131-0/+1
| | | | | | | Change-Id: I2d0fcf28aa8d2fe937f850a2a54125073a6913d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120423 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* use --with-idlc-cpp=cpp instead of --with-system-ucppCaolán McNamara2021-08-122-2/+2
| | | | | | | | | for these special targets now where we want to avoid building ucpp Change-Id: I9ffa6f4148e8b5cafd7d34df4f2e18ec6f6c75c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120413 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* ofz: use system .a libs when they aren't c++ onesCaolán McNamara2021-08-121-0/+6
| | | | | | | Change-Id: I12e44bf2dbeebc0d18e48a22831099c3dad7b12d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120402 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* oss-fuzz: can use system ucppCaolán McNamara2021-08-101-0/+1
| | | | | | | Change-Id: Ie78fa4442ec2d9b33e85d378f2df16f9f1696dd7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120227 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* disable scripting for fuzzingCaolán McNamara2021-08-071-0/+1
| | | | | | | Change-Id: I67c1c00fa716242336bbad1dd3df079e277ea776 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120126 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* explicitly disable ldap for fuzzingCaolán McNamara2021-08-071-0/+1
| | | | | | | | | though its already implicitly disabled Change-Id: Ia896ee187cae9e7bae6569559f5ceb824c8c86ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120167 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* disable a few more things when fuzzingCaolán McNamara2021-08-061-12/+17
| | | | | | | Change-Id: Ia2180b532c6c6cf2d6a735f3a8607c200ca786f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120124 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* oss-fuzz: disable some more features we don't needCaolán McNamara2021-08-061-2/+5
| | | | | | | | | trying to squeek this build under the unknown upstream TIMEOUT Change-Id: I77e65f2124ae09ff11209c2631437f3b77013290 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120114 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Try without --disable-database-connectivity when building for iOSTor Lillqvist2021-07-272-2/+0
| | | | | | | | This at least makes the configure script succeed again for iOS. See ffc6d564b91692cd9d99a0eb3b1ceaf54f7db89e. Change-Id: Iad7a1561bea09ea0315bb0079af55aad63befc23
* use --disable-xmlhelp for fuzzingCaolán McNamara2021-06-261-0/+1
| | | | | | | Change-Id: Ieb6abbf05cdd3577c1653fc0078ee2db6e840a28 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117925 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Enable PdfIum for android buildmerttumer2021-06-045-0/+5
| | | | | | | | | | Change-Id: I58d09db362f0de991eab3920683530e1ec43e2bc Signed-off-by: merttumer <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115373 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116296 Tested-by: Jenkins
* configure: Refactor platform defaultsJan-Marek Glogowski2021-06-014-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main idea was to move complexity from source (and Makefiles) into configure.ac, because otherwise these must replicate the "same" branching, often resulting in diversions. Better to keep the logic in one place (configure.ac) and set additional variables to be used directly by source code and Makefiles. Notably this introduce the "using_*" platform flags, which should be considered constants. There is USING_X11, which actually tells, if the build uses the platform's X11 (and I opted for the removal of HAVE_FEATURE_X11). I also consider variables constant, after they have been exported by AC_SUBST, which should never be conditional, or some AC_DEFINE set them for a config header. A large block of defaults depends on $using_x11, so we set them to the same value, but just if the platform doesn't set it. The other important flag is $using_freetype_fontconfig, if the platform uses freetype and fontconfig. The headless plugin uses cairo for its drawing operations and freetype+fontconfig for text, so $test_cairo = $using_freetype_fontconfig. This is independent from a the cairo canvas! The OpenGL X11 code now depends on USING_X11, but it doesn't yet reflect the filter in Library_vcl.mk protecting glx. I don't know how correct this glx filter is, seeing that the source code just checked for "UNX - some non-X11 targets". Change-Id: Id1ba1a967a5d8d10ee217458be879ed00459f7e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116440 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
* fix coverity build failure due to --with-privacy-policy-url=...Caolán McNamara2021-05-291-0/+1
| | | | | | | Change-Id: Ic94cd5fd7aa472c58ff3e95e2b1759d4219ede21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116389 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* fix callgrind job by providing dummy privacy-urlChristian Lohmaier2021-05-261-0/+1
| | | | Change-Id: I786c14c19f1ac74e424be869771440c55be08877
* fix also the Win64 tinderboxesChristian Lohmaier2021-05-262-1/+2
| | | | | | they were using manual configuration instead of the distro-configs Change-Id: I82a690986e24e704c66297c9bc4c3d3d1e70b636
* fix jenkins tinderboxes config after 15ab55c092e0b474827abe104b73c5bfab6ef28cChristian Lohmaier2021-05-264-1/+4
| | | | Change-Id: I108536fbcd557ed899e1b6fda2316c9d89249681
* add privacy URL to crashreport dialog & updatecheck tab in optionsChristian Lohmaier2021-05-262-0/+2
| | | | | | | Change-Id: I35cda87c35876469bf581be223bc608e29f07b09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116105 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
* Adapt Flatpak build to switch from qrcodegen to zxingStephan Bergmann2021-05-191-1/+1
| | | | | | | Change-Id: Ifcaa703d18a5bae03d389ca2fd69924c4c6ec0e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115773 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* make --disable-odk the defaultNoel Grandin2021-05-1826-1/+28
| | | | | | | | | | | | | Because developers (especially new ones) don't need this, or the extra dependencies it tends to trigger Update distro and jenkins configs so that the ones that were building ODK before, are still building it after this. Change-Id: I5dc71e70dc457b7921a146008d7d2317b199caab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115647 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* WASM: add distro config, amend readmeThorsten Behrens2021-05-051-0/+31
| | | | | | | | | | Let's move common configury to distro config, so people get necessary changes across updates w/o manual intervention. Change-Id: Ic27db86e7681bcef0632ed6b5fdd2fe8df0fdba3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114629 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
* Get rid of apache-commons-loggingStephan Bergmann2021-04-111-1/+0
| | | | | | | | | | | | | | ...using Java 1.4 java.util.logging.Logger instead also for the last remaining uses in reportbuilder. (The mention in swext/mediawiki/src/THIRDPARTYLICENSEREADME.html was presumably a leftover from 4b6ceed4a4a9b152905a8b1712ffb9bd61373c16 "swext: Wiki Publisher does not use those apache-commons libraries".) Change-Id: Ia0bc598fe5844ced11cae497548ec7d09453a99d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113939 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Updated README.md files to represent current code / use Markdown formatHossein2021-04-071-10/+10
| | | | | | | | | | | | | | | | | | Previously, all of the README files have been renamed to README.md and now, the contents of these files were changed to use Markdown format. Other than format inconsistency, some README.md files lacked information about modules, or were out of date. By using LibreOffice / OpenOffice wiki and other documentation websites, these files were updated. Now every README.md file has a title, and some description. The top-level README.md file is changed to add links to the modules. The result of processing the Markdown format README.md files can be seen at: https://docs.libreoffice.org/ Change-Id: Ic3b0c3c064a2498d6a435253b041df010cd7797a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113424 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* drop ---disable-scripting again for fuzzingCaolán McNamara2021-03-301-1/+0
| | | | | | | Change-Id: I80aa5b856d8800f9499fcaf66244ca095e275d5e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113378 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Update the iOS simulator conf file to match the device oneTor Lillqvist2021-03-301-2/+2
| | | | | | | (But note that it is unclear whether building for the iOS simulator actually works any longer, and I am not really interested in trying.) Change-Id: Ifb4fecdbd20162728bfcb0750264c0a627e66279
* disable scripting for oss-fuzz tooCaolán McNamara2021-03-291-0/+1
| | | | | | | Change-Id: Ia7689f008517165d0bedb583c1452ac535553234 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113325 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Using .md extension/Markdown syntax for modules READMEHossein2021-03-241-0/+0
| | | | | | | | | | | | Renaming all README files for all top level modules to README.md, applying no content change at this stage to be able to track history of the files. These files should be edited to use correct Markdown syntax later. Change-Id: I542fa3f3d32072156f16eaad2211a397cc212665 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112977 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
* qrcodegen was replaced by zxingCaolán McNamara2021-03-231-1/+1
| | | | | | | Change-Id: Ide907ba33bb7a67a7bef32d688137e5429707df5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112951 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Do build Pdfium for iOS, tooTor Lillqvist2021-03-161-1/+1
| | | | | | | | | | | | | | | | For it to compile, the inclusion of <Carbon/Carbon.h> had to be replaced with <CoreGraphics/CoreGraphics.h>. That doesn't harm the macOS build either. This fixes the crash in https://github.com/CollaboraOnline/online/issues/1710 . I am not entirely sure yet whether the actual PDF import functionality now then works in the iOS app, though. Change-Id: Ie25e7c58632c0fdddb569d58217f23b26d1e5937 Signed-off-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112571 Tested-by: Jenkins
* Remove vlc part since experimental since 5 yearsJulien Nabet2020-12-251-1/+0
| | | | | | | | | | | | | | | However considering git history about vlc part (see https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=vlc) it seems there's no real patch since 2013 + it's been explicitely indicated as experimental since 2015 See http://document-foundation-mail-archive.969070.n3.nabble.com/About-vcl-status-in-avmedia-keep-or-removed-unmaintained-code-since-7-years-tt4293282.html Of course if someone wants to keep on the work on it, it's always possible to revert the patch. Change-Id: Ia1602ea61b7ffa577148a80f974ebdcb71495fbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108283 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Add a LibreOfficeWinArm64.confJan-Marek Glogowski2020-10-041-0/+13
| | | | | | | | | | | | | | This is just tested with a cross-build including Java: --with-distro-config=LibreOfficeWinArm64 \ --with-build-platform-configure-options="\ --with-jdk-home=C:/PROGRA~1/Java/JDK-14~1.1" \ --with-jdk-home=/cygdrive/c/lode/jdk-16-ea+25-windows-aarch64 Change-Id: I762049d34e6a00fec0960395f94d6537047f6061 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103643 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* add distro-configs for jenkins android buildsChristian Lohmaier2020-10-015-0/+14
| | | | | | | Change-Id: I7923c16670d53bb52dac771776093d4b06fd05b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103725 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
* add an explicit --disable-qrcodegen configure optionCaolán McNamara2020-09-211-0/+1
| | | | | | | Change-Id: If8e965fa955aecdb9e7011bdddc690de9cad0c4d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103120 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* use new 32bit configure flags for jenkins windows-screenshot builderChristian Lohmaier2020-09-141-0/+1
| | | | Change-Id: I02a5e3a018263184017dc397330781e9b60639c8