Loading pkgs/applications/office/libreoffice/default.nix +84 −16 Original line number Diff line number Diff line Loading @@ -222,6 +222,70 @@ let ]; }; mdds_2_1 = mdds.overrideAttrs { version = "2.1.1"; src = fetchFromGitLab { owner = "mdds"; repo = "mdds"; rev = "2.1.1"; hash = "sha256-a412LpgDiYM8TMToaUrTlHtblYS1HehzrDOwvIAAxiA="; }; }; # required for libreoffice-collabora version 25.04.9-4 libixion_0_19 = libixion.overrideAttrs { version = "0.19.0"; src = fetchFromGitLab { owner = "ixion"; repo = "ixion"; rev = "0.19.0"; hash = "sha256-BrexWRaxrLTWuoU62kqws3tlSqVOHecSV5MXc4ZezFs="; }; buildInputs = [ boost188 mdds_2_1 python3 ]; patches = [ # fix build with gcc 15, Add a missing <cstdint> include (fetchpatch2 { url = "https://gitlab.com/ixion/ixion/-/merge_requests/70.patch"; hash = "sha256-FzU/aejcMktrDQql5pzobiq6BJXryIXQXZTBWCkyqtU="; }) ]; }; # required for libreoffice-collabora version 25.04.9-4 liborcus_0_19 = liborcus.overrideAttrs { version = "0.19.2"; src = fetchFromGitLab { owner = "orcus"; repo = "orcus"; rev = "0.19.2"; hash = "sha256-+9C52H99c/kL5DEIoXV+WcLnTftRbicRLQN/FdIXBw8="; }; buildInputs = [ boost188 libixion_0_19 mdds_2_1 python3 zlib ]; patches = [ # fix build with gcc 15, Add missing <cstdint> includes (fetchpatch2 { url = "https://gitlab.com/orcus/orcus/-/merge_requests/200.patch"; hash = "sha256-CZVw1+ri6UO56Bg/Y27W6G8JkGU6xDInd7fABr6i+7g="; }) ]; }; # required for libreoffice-still version 25.8.5.2 liborcus_0_20 = liborcus.overrideAttrs { version = "0.20.1"; Loading Loading @@ -333,27 +397,25 @@ stdenv.mkDerivation (finalAttrs: { # Don't detect Qt paths from qmake, so our patched-in onese are used ./dont-detect-qt-paths-from-qmake.patch ] ++ lib.optionals (variant != "collabora") [ # Revert part of https://github.com/LibreOffice/core/commit/6f60670877208612b5ea320b3677480ef6508abb that broke zlib linking ./readd-explicit-zlib-link.patch ] ++ lib.optionals (variant == "collabora") [ # Backport patch to fix build with Poppler 25.05 # Backport patch to fix build with Poppler 25.09 (fetchpatch2 { url = "https://github.com/LibreOffice/core/commit/0ee2636304ac049f21415c67e92040f7d6c14d35.patch"; url = "https://github.com/LibreOffice/core/commit/7848e02819c007026952a3fdc9da0961333dc079.patch"; includes = [ "sdext/*" ]; hash = "sha256-8yipl5ln1yCNfVM8SuWowsw1Iy/SXIwbdT1ZfNw4cJA="; hash = "sha256-Nw6GFmkFy13w/ktCxw5s7SHL34auP1BQ9JvQnQ65aVU="; }) # Currently included in the condition above # Uncomment if Collabora is again the only version needing it # Remove if Collabora is updated far enough not to need it anymore ## Fix build with Poppler 25.10 #(fetchpatch2 { # url = "https://gitlab.archlinux.org/archlinux/packaging/packages/libreoffice-still/-/raw/f5241554e4a0f6fd95ac4e5cc398a30243407e6a/fix_build_with_poppler_25.10.patch"; # hash = "sha256-lbPOkc1HeT5Qsp6XfVyVJtmvSL68qTrmbd3q9lvKSu8="; #}) ] ++ lib.optionals (variant == "collabora") [ # Fix build with Poppler 25.10 (fetchpatch2 { url = "https://gitlab.archlinux.org/archlinux/packaging/packages/libreoffice-still/-/raw/f5241554e4a0f6fd95ac4e5cc398a30243407e6a/fix_build_with_poppler_25.10.patch"; hash = "sha256-lbPOkc1HeT5Qsp6XfVyVJtmvSL68qTrmbd3q9lvKSu8="; }) ./fix-unpack-collabora.patch ]; Loading Loading @@ -510,10 +572,16 @@ stdenv.mkDerivation (finalAttrs: { ++ optionals withJava [ jre' ] ++ optionals (lib.versionOlder version "26.2.1.2") [ ++ optionals (variant == "collabora") [ fast-float liborcus_0_19 mdds_2_1 md4c ] ++ optionals (variant == "still") [ liborcus_0_20 ] ++ optionals (lib.versionAtLeast version "26.2.1.2") [ ++ optionals (variant == "fresh") [ fast-float liborcus md4c Loading pkgs/applications/office/libreoffice/skip-broken-tests-collabora.patch +112 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,42 @@ index 1396cef69fa5..8ca0e4043f72 100644 createScDoc(); ScDocument* pDoc = getScDoc(); diff --git i/sc/qa/unit/subsequent_filters_test3.cxx w/sc/qa/unit/subsequent_filters_test3.cxx index fb5343932ac7..b48c3e9c08c7 100644 --- i/sc/qa/unit/subsequent_filters_test3.cxx +++ w/sc/qa/unit/subsequent_filters_test3.cxx @@ -888,6 +888,7 @@ CPPUNIT_TEST_FIXTURE(ScFiltersTest3, testAutoheight2Rows) CPPUNIT_TEST_FIXTURE(ScFiltersTest3, testXLSDefColWidth) { + return; // flaky layout test; depends on the system font versions? // XLS has only 256 columns; but on import, we need to set default width to all above that limit createScDoc("xls/chartx.xls"); ScDocument* pDoc = getScDoc(); diff --git i/sc/qa/unit/subsequent_filters_test4.cxx w/sc/qa/unit/subsequent_filters_test4.cxx index b1b170de2a0b..fa4b16445717 100644 --- i/sc/qa/unit/subsequent_filters_test4.cxx +++ w/sc/qa/unit/subsequent_filters_test4.cxx @@ -297,6 +297,7 @@ CPPUNIT_TEST_FIXTURE(ScFiltersTest4, testChartImportODS) #if HAVE_MORE_FONTS CPPUNIT_TEST_FIXTURE(ScFiltersTest4, testChartImportXLS) { + return; // fails consistently createScDoc("xls/chartx.xls"); ScDocument* pDoc = getScDoc(); diff --git i/sd/qa/filter/eppt/eppt.cxx w/sd/qa/filter/eppt/eppt.cxx index 460a6c10db1f..d455d0973449 100644 --- i/sd/qa/filter/eppt/eppt.cxx +++ w/sd/qa/filter/eppt/eppt.cxx @@ -113,6 +113,7 @@ CPPUNIT_TEST_FIXTURE(Test, testThemeExport) CPPUNIT_TEST_FIXTURE(Test, testLoopingFromAnimation) { + return; // Failed to connect PipeWire event context (errno: 112) // Given a media shape that has an animation that specifies looping for the video: loadFromFile(u"video-loop.pptx"); diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index 40d2c6f174de..9f540581133e 100644 --- a/sc/qa/unit/ucalc_formula.cxx Loading Loading @@ -200,3 +236,79 @@ index 4909267f7c74..63a177b0a2a5 100644 saveAsPDF(u"tdf164106.fodt"); auto pPdfDocument = parsePDFExport(); diff --git i/sd/qa/unit/export-tests-ooxml2.cxx w/sd/qa/unit/export-tests-ooxml2.cxx index 9678eabb27ee..05deb6f234b7 100644 --- i/sd/qa/unit/export-tests-ooxml2.cxx +++ w/sd/qa/unit/export-tests-ooxml2.cxx @@ -1290,6 +1290,7 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testRotateFlip) CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testTdf106867) { + return; // Failed to connect PipeWire event context (errno: 112) createSdImpressDoc("pptx/tdf106867.pptx"); save(TestFilter::PPTX); @@ -1915,6 +1916,7 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testTdf59323_slideFooters) CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testTdf53970) { + return; // error: XDG_RUNTIME_DIR is invalid or not set in the environment. // Embedded media file { createSdImpressDoc("odp/tdf53970.odp"); diff --git i/slideshow/qa/engine/engine.cxx w/slideshow/qa/engine/engine.cxx index 6644ddae0d4c..fb4a70b1e700 100644 --- i/slideshow/qa/engine/engine.cxx +++ w/slideshow/qa/engine/engine.cxx @@ -54,6 +54,7 @@ GetFirstCommandNodeOfPage(const uno::Reference<drawing::XDrawPage>& xPage) CPPUNIT_TEST_FIXTURE(Test, testLoopingFromAnimation) { + return; // Failed to connect PipeWire event context (errno: 112) // Given a document with a looping video, the looping is defined as part of its auto-play // animation (and not on the media shape): loadFromFile(u"video-loop.pptx"); --- i/xmloff/qa/unit/draw.cxx +++ w/xmloff/qa/unit/draw.cxx @@ -164,6 +164,7 @@ CPPUNIT_TEST_FIXTURE(XmloffDrawTest, testThemeExport) CPPUNIT_TEST_FIXTURE(XmloffDrawTest, testVideoSnapshot) { + return; // Failed to connect PipeWire event context (errno: 112) // Execute ODP import: loadFromFile(u"video-snapshot.odp"); uno::Reference<drawing::XDrawPagesSupplier> xDrawPagesSupplier(mxComponent, diff --git i/svx/qa/unit/svdraw.cxx w/svx/qa/unit/svdraw.cxx index b3b8ce14e227..eae079a6a717 100644 --- i/svx/qa/unit/svdraw.cxx +++ w/svx/qa/unit/svdraw.cxx @@ -571,6 +571,7 @@ CPPUNIT_TEST_FIXTURE(SvdrawTest, testMaterialSpecular) CPPUNIT_TEST_FIXTURE(SvdrawTest, testVideoSnapshot) { + return; // Failed to connect PipeWire event context (errno: 112) // Given a slide with a media shape, containing a 4 sec video, red-green-blue-black being the 4 // seconds: loadFromFile(u"video-snapshot.pptx"); diff --git i/sd/qa/unit/SVGExportTests.cxx w/sd/qa/unit/SVGExportTests.cxx index 5f73bad89f3b..d1ff4ccf7f5f 100644 --- i/sd/qa/unit/SVGExportTests.cxx +++ w/sd/qa/unit/SVGExportTests.cxx @@ -149,6 +149,7 @@ public: void testSVGExportEmbeddedVideo() { + return; // Failed to connect PipeWire event context (errno: 112) loadFromFile(u"slide-video-thumbnail.odp"); save(TestFilter::SVG_IMPRESS); --- i/vcl/qa/cppunit/pdfexport/pdfexport.cxx +++ w/vcl/qa/cppunit/pdfexport/pdfexport.cxx @@ -392,6 +392,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest, testTdf107868) /// Tests that embedded video from Impress is not exported as a linked one. CPPUNIT_TEST_FIXTURE(PdfExportTest, testTdf105093) { + return; // Failed to connect PipeWire event context (errno: 112) vcl::filter::PDFDocument aDocument; load(u"tdf105093.odp", aDocument); pkgs/applications/office/libreoffice/skip-broken-tests-fresh.patch +44 −0 Original line number Diff line number Diff line Loading @@ -370,3 +370,47 @@ index 7766c3aa3e76..bb00df6ba673 100644 vcl::filter::PDFDocument aDocument; load(u"tdf105093.odp", aDocument); diff --git i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx index b9c560f422b5..e415b1fcc807 100644 --- i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx +++ w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx @@ -6320,6 +6320,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTextBoxRuby) CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf166044ContFootnoteOnlyOnePgNum) { + return; // fails due to missing font: Noto Sans Lao saveAsPDF(u"tdf166044-cont-footnote-one-pgnum.fodt"); auto pPdfDocument = parsePDFExport(); diff --git a/svgio/qa/cppunit/data/tdf160386.svg b/svgio/qa/cppunit/data/tdf160386.svg index 1644b0d15514..cf429508bcd4 100644 --- a/svgio/qa/cppunit/data/tdf160386.svg +++ b/svgio/qa/cppunit/data/tdf160386.svg @@ -8,7 +8,6 @@ <text systemLanguage="en">Hello!</text> <text systemLanguage="es">Hola!</text> <text systemLanguage="fr">Bonjour!</text> - <text systemLanguage="ja">こんにちは</text> <text systemLanguage="ru">Привет!</text> <text>☺</text> </switch> diff --git i/sc/qa/unit/subsequent_export_test2.cxx w/sc/qa/unit/subsequent_export_test2.cxx index 956838656b28..70b38e4d59ba 100644 --- i/sc/qa/unit/subsequent_export_test2.cxx +++ w/sc/qa/unit/subsequent_export_test2.cxx @@ -100,6 +100,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) { + return; // this doc is configured with CalcA1 ref syntax createScDoc("xlsx/empty.xlsx"); @@ -137,6 +138,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringUnspecified) { + return; createScDoc(); ScDocument* pDoc = getScDoc(); pkgs/applications/office/libreoffice/skip-broken-tests-still.patch +44 −0 Original line number Diff line number Diff line Loading @@ -207,3 +207,47 @@ uno::Reference<sheet::XSpreadsheetDocument> xDoc(mxComponent, uno::UNO_QUERY_THROW); uno::Reference<container::XIndexAccess> xIndex(xDoc->getSheets(), uno::UNO_QUERY_THROW); uno::Reference<sheet::XSpreadsheet> xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); diff --git i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx index b9c560f422b5..e415b1fcc807 100644 --- i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx +++ w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx @@ -6320,6 +6320,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTextBoxRuby) CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf166044ContFootnoteOnlyOnePgNum) { + return; // fails due to missing font: Noto Sans Lao saveAsPDF(u"tdf166044-cont-footnote-one-pgnum.fodt"); auto pPdfDocument = parsePDFExport(); diff --git a/svgio/qa/cppunit/data/tdf160386.svg b/svgio/qa/cppunit/data/tdf160386.svg index 1644b0d15514..cf429508bcd4 100644 --- a/svgio/qa/cppunit/data/tdf160386.svg +++ b/svgio/qa/cppunit/data/tdf160386.svg @@ -8,7 +8,6 @@ <text systemLanguage="en">Hello!</text> <text systemLanguage="es">Hola!</text> <text systemLanguage="fr">Bonjour!</text> - <text systemLanguage="ja">こんにちは</text> <text systemLanguage="ru">Привет!</text> <text>☺</text> </switch> diff --git i/sc/qa/unit/subsequent_export_test2.cxx w/sc/qa/unit/subsequent_export_test2.cxx index 956838656b28..70b38e4d59ba 100644 --- i/sc/qa/unit/subsequent_export_test2.cxx +++ w/sc/qa/unit/subsequent_export_test2.cxx @@ -100,6 +100,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) { + return; // this doc is configured with CalcA1 ref syntax createScDoc("xlsx/empty.xlsx"); @@ -137,6 +138,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringUnspecified) { + return; createScDoc(); ScDocument* pDoc = getScDoc(); pkgs/applications/office/libreoffice/skip-broken-tests.patch +0 −44 Original line number Diff line number Diff line Loading @@ -20,18 +20,6 @@ index 231aea8d0f3c..214a23c82562 100644 LibLibreOffice_Impl aOffice; LibLODocument_Impl* pDocument = loadDoc("search.ods"); pDocument->pClass->initializeForRendering(pDocument, nullptr); diff --git a/svgio/qa/cppunit/data/tdf160386.svg b/svgio/qa/cppunit/data/tdf160386.svg index 1644b0d15514..cf429508bcd4 100644 --- a/svgio/qa/cppunit/data/tdf160386.svg +++ b/svgio/qa/cppunit/data/tdf160386.svg @@ -8,7 +8,6 @@ <text systemLanguage="en">Hello!</text> <text systemLanguage="es">Hola!</text> <text systemLanguage="fr">Bonjour!</text> - <text systemLanguage="ja">こんにちは</text> <text systemLanguage="ru">Привет!</text> <text>☺</text> </switch> diff --git a/sw/qa/core/accessibilitycheck/AccessibilityCheckTest.cxx b/sw/qa/core/accessibilitycheck/AccessibilityCheckTest.cxx index d8093e57a4e8..c95a742a68d3 100644 --- a/sw/qa/core/accessibilitycheck/AccessibilityCheckTest.cxx Loading Loading @@ -243,35 +231,3 @@ index ef0da39f5..43caa9002 100644 //TODO: sc/qa/unit/data/functions/array/dubious/fods/linest.fods produces widely different // values when built with -ffp-contract enabled (-ffp-contract=on default on Clang 14, // -ffp-contract=fast default when building with optimizations on GCC) on at least aarch64 diff --git i/sc/qa/unit/subsequent_export_test2.cxx w/sc/qa/unit/subsequent_export_test2.cxx index 956838656b28..70b38e4d59ba 100644 --- i/sc/qa/unit/subsequent_export_test2.cxx +++ w/sc/qa/unit/subsequent_export_test2.cxx @@ -100,6 +100,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) { + return; // this doc is configured with CalcA1 ref syntax createScDoc("xlsx/empty.xlsx"); @@ -137,6 +138,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringUnspecified) { + return; createScDoc(); ScDocument* pDoc = getScDoc(); diff --git i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx index b9c560f422b5..e415b1fcc807 100644 --- i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx +++ w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx @@ -6320,6 +6320,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTextBoxRuby) CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf166044ContFootnoteOnlyOnePgNum) { + return; // fails due to missing font: Noto Sans Lao saveAsPDF(u"tdf166044-cont-footnote-one-pgnum.fodt"); auto pPdfDocument = parsePDFExport(); Loading
pkgs/applications/office/libreoffice/default.nix +84 −16 Original line number Diff line number Diff line Loading @@ -222,6 +222,70 @@ let ]; }; mdds_2_1 = mdds.overrideAttrs { version = "2.1.1"; src = fetchFromGitLab { owner = "mdds"; repo = "mdds"; rev = "2.1.1"; hash = "sha256-a412LpgDiYM8TMToaUrTlHtblYS1HehzrDOwvIAAxiA="; }; }; # required for libreoffice-collabora version 25.04.9-4 libixion_0_19 = libixion.overrideAttrs { version = "0.19.0"; src = fetchFromGitLab { owner = "ixion"; repo = "ixion"; rev = "0.19.0"; hash = "sha256-BrexWRaxrLTWuoU62kqws3tlSqVOHecSV5MXc4ZezFs="; }; buildInputs = [ boost188 mdds_2_1 python3 ]; patches = [ # fix build with gcc 15, Add a missing <cstdint> include (fetchpatch2 { url = "https://gitlab.com/ixion/ixion/-/merge_requests/70.patch"; hash = "sha256-FzU/aejcMktrDQql5pzobiq6BJXryIXQXZTBWCkyqtU="; }) ]; }; # required for libreoffice-collabora version 25.04.9-4 liborcus_0_19 = liborcus.overrideAttrs { version = "0.19.2"; src = fetchFromGitLab { owner = "orcus"; repo = "orcus"; rev = "0.19.2"; hash = "sha256-+9C52H99c/kL5DEIoXV+WcLnTftRbicRLQN/FdIXBw8="; }; buildInputs = [ boost188 libixion_0_19 mdds_2_1 python3 zlib ]; patches = [ # fix build with gcc 15, Add missing <cstdint> includes (fetchpatch2 { url = "https://gitlab.com/orcus/orcus/-/merge_requests/200.patch"; hash = "sha256-CZVw1+ri6UO56Bg/Y27W6G8JkGU6xDInd7fABr6i+7g="; }) ]; }; # required for libreoffice-still version 25.8.5.2 liborcus_0_20 = liborcus.overrideAttrs { version = "0.20.1"; Loading Loading @@ -333,27 +397,25 @@ stdenv.mkDerivation (finalAttrs: { # Don't detect Qt paths from qmake, so our patched-in onese are used ./dont-detect-qt-paths-from-qmake.patch ] ++ lib.optionals (variant != "collabora") [ # Revert part of https://github.com/LibreOffice/core/commit/6f60670877208612b5ea320b3677480ef6508abb that broke zlib linking ./readd-explicit-zlib-link.patch ] ++ lib.optionals (variant == "collabora") [ # Backport patch to fix build with Poppler 25.05 # Backport patch to fix build with Poppler 25.09 (fetchpatch2 { url = "https://github.com/LibreOffice/core/commit/0ee2636304ac049f21415c67e92040f7d6c14d35.patch"; url = "https://github.com/LibreOffice/core/commit/7848e02819c007026952a3fdc9da0961333dc079.patch"; includes = [ "sdext/*" ]; hash = "sha256-8yipl5ln1yCNfVM8SuWowsw1Iy/SXIwbdT1ZfNw4cJA="; hash = "sha256-Nw6GFmkFy13w/ktCxw5s7SHL34auP1BQ9JvQnQ65aVU="; }) # Currently included in the condition above # Uncomment if Collabora is again the only version needing it # Remove if Collabora is updated far enough not to need it anymore ## Fix build with Poppler 25.10 #(fetchpatch2 { # url = "https://gitlab.archlinux.org/archlinux/packaging/packages/libreoffice-still/-/raw/f5241554e4a0f6fd95ac4e5cc398a30243407e6a/fix_build_with_poppler_25.10.patch"; # hash = "sha256-lbPOkc1HeT5Qsp6XfVyVJtmvSL68qTrmbd3q9lvKSu8="; #}) ] ++ lib.optionals (variant == "collabora") [ # Fix build with Poppler 25.10 (fetchpatch2 { url = "https://gitlab.archlinux.org/archlinux/packaging/packages/libreoffice-still/-/raw/f5241554e4a0f6fd95ac4e5cc398a30243407e6a/fix_build_with_poppler_25.10.patch"; hash = "sha256-lbPOkc1HeT5Qsp6XfVyVJtmvSL68qTrmbd3q9lvKSu8="; }) ./fix-unpack-collabora.patch ]; Loading Loading @@ -510,10 +572,16 @@ stdenv.mkDerivation (finalAttrs: { ++ optionals withJava [ jre' ] ++ optionals (lib.versionOlder version "26.2.1.2") [ ++ optionals (variant == "collabora") [ fast-float liborcus_0_19 mdds_2_1 md4c ] ++ optionals (variant == "still") [ liborcus_0_20 ] ++ optionals (lib.versionAtLeast version "26.2.1.2") [ ++ optionals (variant == "fresh") [ fast-float liborcus md4c Loading
pkgs/applications/office/libreoffice/skip-broken-tests-collabora.patch +112 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,42 @@ index 1396cef69fa5..8ca0e4043f72 100644 createScDoc(); ScDocument* pDoc = getScDoc(); diff --git i/sc/qa/unit/subsequent_filters_test3.cxx w/sc/qa/unit/subsequent_filters_test3.cxx index fb5343932ac7..b48c3e9c08c7 100644 --- i/sc/qa/unit/subsequent_filters_test3.cxx +++ w/sc/qa/unit/subsequent_filters_test3.cxx @@ -888,6 +888,7 @@ CPPUNIT_TEST_FIXTURE(ScFiltersTest3, testAutoheight2Rows) CPPUNIT_TEST_FIXTURE(ScFiltersTest3, testXLSDefColWidth) { + return; // flaky layout test; depends on the system font versions? // XLS has only 256 columns; but on import, we need to set default width to all above that limit createScDoc("xls/chartx.xls"); ScDocument* pDoc = getScDoc(); diff --git i/sc/qa/unit/subsequent_filters_test4.cxx w/sc/qa/unit/subsequent_filters_test4.cxx index b1b170de2a0b..fa4b16445717 100644 --- i/sc/qa/unit/subsequent_filters_test4.cxx +++ w/sc/qa/unit/subsequent_filters_test4.cxx @@ -297,6 +297,7 @@ CPPUNIT_TEST_FIXTURE(ScFiltersTest4, testChartImportODS) #if HAVE_MORE_FONTS CPPUNIT_TEST_FIXTURE(ScFiltersTest4, testChartImportXLS) { + return; // fails consistently createScDoc("xls/chartx.xls"); ScDocument* pDoc = getScDoc(); diff --git i/sd/qa/filter/eppt/eppt.cxx w/sd/qa/filter/eppt/eppt.cxx index 460a6c10db1f..d455d0973449 100644 --- i/sd/qa/filter/eppt/eppt.cxx +++ w/sd/qa/filter/eppt/eppt.cxx @@ -113,6 +113,7 @@ CPPUNIT_TEST_FIXTURE(Test, testThemeExport) CPPUNIT_TEST_FIXTURE(Test, testLoopingFromAnimation) { + return; // Failed to connect PipeWire event context (errno: 112) // Given a media shape that has an animation that specifies looping for the video: loadFromFile(u"video-loop.pptx"); diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index 40d2c6f174de..9f540581133e 100644 --- a/sc/qa/unit/ucalc_formula.cxx Loading Loading @@ -200,3 +236,79 @@ index 4909267f7c74..63a177b0a2a5 100644 saveAsPDF(u"tdf164106.fodt"); auto pPdfDocument = parsePDFExport(); diff --git i/sd/qa/unit/export-tests-ooxml2.cxx w/sd/qa/unit/export-tests-ooxml2.cxx index 9678eabb27ee..05deb6f234b7 100644 --- i/sd/qa/unit/export-tests-ooxml2.cxx +++ w/sd/qa/unit/export-tests-ooxml2.cxx @@ -1290,6 +1290,7 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testRotateFlip) CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testTdf106867) { + return; // Failed to connect PipeWire event context (errno: 112) createSdImpressDoc("pptx/tdf106867.pptx"); save(TestFilter::PPTX); @@ -1915,6 +1916,7 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testTdf59323_slideFooters) CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testTdf53970) { + return; // error: XDG_RUNTIME_DIR is invalid or not set in the environment. // Embedded media file { createSdImpressDoc("odp/tdf53970.odp"); diff --git i/slideshow/qa/engine/engine.cxx w/slideshow/qa/engine/engine.cxx index 6644ddae0d4c..fb4a70b1e700 100644 --- i/slideshow/qa/engine/engine.cxx +++ w/slideshow/qa/engine/engine.cxx @@ -54,6 +54,7 @@ GetFirstCommandNodeOfPage(const uno::Reference<drawing::XDrawPage>& xPage) CPPUNIT_TEST_FIXTURE(Test, testLoopingFromAnimation) { + return; // Failed to connect PipeWire event context (errno: 112) // Given a document with a looping video, the looping is defined as part of its auto-play // animation (and not on the media shape): loadFromFile(u"video-loop.pptx"); --- i/xmloff/qa/unit/draw.cxx +++ w/xmloff/qa/unit/draw.cxx @@ -164,6 +164,7 @@ CPPUNIT_TEST_FIXTURE(XmloffDrawTest, testThemeExport) CPPUNIT_TEST_FIXTURE(XmloffDrawTest, testVideoSnapshot) { + return; // Failed to connect PipeWire event context (errno: 112) // Execute ODP import: loadFromFile(u"video-snapshot.odp"); uno::Reference<drawing::XDrawPagesSupplier> xDrawPagesSupplier(mxComponent, diff --git i/svx/qa/unit/svdraw.cxx w/svx/qa/unit/svdraw.cxx index b3b8ce14e227..eae079a6a717 100644 --- i/svx/qa/unit/svdraw.cxx +++ w/svx/qa/unit/svdraw.cxx @@ -571,6 +571,7 @@ CPPUNIT_TEST_FIXTURE(SvdrawTest, testMaterialSpecular) CPPUNIT_TEST_FIXTURE(SvdrawTest, testVideoSnapshot) { + return; // Failed to connect PipeWire event context (errno: 112) // Given a slide with a media shape, containing a 4 sec video, red-green-blue-black being the 4 // seconds: loadFromFile(u"video-snapshot.pptx"); diff --git i/sd/qa/unit/SVGExportTests.cxx w/sd/qa/unit/SVGExportTests.cxx index 5f73bad89f3b..d1ff4ccf7f5f 100644 --- i/sd/qa/unit/SVGExportTests.cxx +++ w/sd/qa/unit/SVGExportTests.cxx @@ -149,6 +149,7 @@ public: void testSVGExportEmbeddedVideo() { + return; // Failed to connect PipeWire event context (errno: 112) loadFromFile(u"slide-video-thumbnail.odp"); save(TestFilter::SVG_IMPRESS); --- i/vcl/qa/cppunit/pdfexport/pdfexport.cxx +++ w/vcl/qa/cppunit/pdfexport/pdfexport.cxx @@ -392,6 +392,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest, testTdf107868) /// Tests that embedded video from Impress is not exported as a linked one. CPPUNIT_TEST_FIXTURE(PdfExportTest, testTdf105093) { + return; // Failed to connect PipeWire event context (errno: 112) vcl::filter::PDFDocument aDocument; load(u"tdf105093.odp", aDocument);
pkgs/applications/office/libreoffice/skip-broken-tests-fresh.patch +44 −0 Original line number Diff line number Diff line Loading @@ -370,3 +370,47 @@ index 7766c3aa3e76..bb00df6ba673 100644 vcl::filter::PDFDocument aDocument; load(u"tdf105093.odp", aDocument); diff --git i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx index b9c560f422b5..e415b1fcc807 100644 --- i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx +++ w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx @@ -6320,6 +6320,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTextBoxRuby) CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf166044ContFootnoteOnlyOnePgNum) { + return; // fails due to missing font: Noto Sans Lao saveAsPDF(u"tdf166044-cont-footnote-one-pgnum.fodt"); auto pPdfDocument = parsePDFExport(); diff --git a/svgio/qa/cppunit/data/tdf160386.svg b/svgio/qa/cppunit/data/tdf160386.svg index 1644b0d15514..cf429508bcd4 100644 --- a/svgio/qa/cppunit/data/tdf160386.svg +++ b/svgio/qa/cppunit/data/tdf160386.svg @@ -8,7 +8,6 @@ <text systemLanguage="en">Hello!</text> <text systemLanguage="es">Hola!</text> <text systemLanguage="fr">Bonjour!</text> - <text systemLanguage="ja">こんにちは</text> <text systemLanguage="ru">Привет!</text> <text>☺</text> </switch> diff --git i/sc/qa/unit/subsequent_export_test2.cxx w/sc/qa/unit/subsequent_export_test2.cxx index 956838656b28..70b38e4d59ba 100644 --- i/sc/qa/unit/subsequent_export_test2.cxx +++ w/sc/qa/unit/subsequent_export_test2.cxx @@ -100,6 +100,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) { + return; // this doc is configured with CalcA1 ref syntax createScDoc("xlsx/empty.xlsx"); @@ -137,6 +138,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringUnspecified) { + return; createScDoc(); ScDocument* pDoc = getScDoc();
pkgs/applications/office/libreoffice/skip-broken-tests-still.patch +44 −0 Original line number Diff line number Diff line Loading @@ -207,3 +207,47 @@ uno::Reference<sheet::XSpreadsheetDocument> xDoc(mxComponent, uno::UNO_QUERY_THROW); uno::Reference<container::XIndexAccess> xIndex(xDoc->getSheets(), uno::UNO_QUERY_THROW); uno::Reference<sheet::XSpreadsheet> xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); diff --git i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx index b9c560f422b5..e415b1fcc807 100644 --- i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx +++ w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx @@ -6320,6 +6320,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTextBoxRuby) CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf166044ContFootnoteOnlyOnePgNum) { + return; // fails due to missing font: Noto Sans Lao saveAsPDF(u"tdf166044-cont-footnote-one-pgnum.fodt"); auto pPdfDocument = parsePDFExport(); diff --git a/svgio/qa/cppunit/data/tdf160386.svg b/svgio/qa/cppunit/data/tdf160386.svg index 1644b0d15514..cf429508bcd4 100644 --- a/svgio/qa/cppunit/data/tdf160386.svg +++ b/svgio/qa/cppunit/data/tdf160386.svg @@ -8,7 +8,6 @@ <text systemLanguage="en">Hello!</text> <text systemLanguage="es">Hola!</text> <text systemLanguage="fr">Bonjour!</text> - <text systemLanguage="ja">こんにちは</text> <text systemLanguage="ru">Привет!</text> <text>☺</text> </switch> diff --git i/sc/qa/unit/subsequent_export_test2.cxx w/sc/qa/unit/subsequent_export_test2.cxx index 956838656b28..70b38e4d59ba 100644 --- i/sc/qa/unit/subsequent_export_test2.cxx +++ w/sc/qa/unit/subsequent_export_test2.cxx @@ -100,6 +100,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) { + return; // this doc is configured with CalcA1 ref syntax createScDoc("xlsx/empty.xlsx"); @@ -137,6 +138,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringUnspecified) { + return; createScDoc(); ScDocument* pDoc = getScDoc();
pkgs/applications/office/libreoffice/skip-broken-tests.patch +0 −44 Original line number Diff line number Diff line Loading @@ -20,18 +20,6 @@ index 231aea8d0f3c..214a23c82562 100644 LibLibreOffice_Impl aOffice; LibLODocument_Impl* pDocument = loadDoc("search.ods"); pDocument->pClass->initializeForRendering(pDocument, nullptr); diff --git a/svgio/qa/cppunit/data/tdf160386.svg b/svgio/qa/cppunit/data/tdf160386.svg index 1644b0d15514..cf429508bcd4 100644 --- a/svgio/qa/cppunit/data/tdf160386.svg +++ b/svgio/qa/cppunit/data/tdf160386.svg @@ -8,7 +8,6 @@ <text systemLanguage="en">Hello!</text> <text systemLanguage="es">Hola!</text> <text systemLanguage="fr">Bonjour!</text> - <text systemLanguage="ja">こんにちは</text> <text systemLanguage="ru">Привет!</text> <text>☺</text> </switch> diff --git a/sw/qa/core/accessibilitycheck/AccessibilityCheckTest.cxx b/sw/qa/core/accessibilitycheck/AccessibilityCheckTest.cxx index d8093e57a4e8..c95a742a68d3 100644 --- a/sw/qa/core/accessibilitycheck/AccessibilityCheckTest.cxx Loading Loading @@ -243,35 +231,3 @@ index ef0da39f5..43caa9002 100644 //TODO: sc/qa/unit/data/functions/array/dubious/fods/linest.fods produces widely different // values when built with -ffp-contract enabled (-ffp-contract=on default on Clang 14, // -ffp-contract=fast default when building with optimizations on GCC) on at least aarch64 diff --git i/sc/qa/unit/subsequent_export_test2.cxx w/sc/qa/unit/subsequent_export_test2.cxx index 956838656b28..70b38e4d59ba 100644 --- i/sc/qa/unit/subsequent_export_test2.cxx +++ w/sc/qa/unit/subsequent_export_test2.cxx @@ -100,6 +100,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) { + return; // this doc is configured with CalcA1 ref syntax createScDoc("xlsx/empty.xlsx"); @@ -137,6 +138,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX) CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringUnspecified) { + return; createScDoc(); ScDocument* pDoc = getScDoc(); diff --git i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx index b9c560f422b5..e415b1fcc807 100644 --- i/vcl/qa/cppunit/pdfexport/pdfexport2.cxx +++ w/vcl/qa/cppunit/pdfexport/pdfexport2.cxx @@ -6320,6 +6320,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTextBoxRuby) CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf166044ContFootnoteOnlyOnePgNum) { + return; // fails due to missing font: Noto Sans Lao saveAsPDF(u"tdf166044-cont-footnote-one-pgnum.fodt"); auto pPdfDocument = parsePDFExport();