Commit 6942dc70 authored by K900's avatar K900
Browse files

libreoffice-collabora: 24.04.13 -> 25.04.1

parent db5c6ffb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -353,7 +353,6 @@ stdenv.mkDerivation (finalAttrs: {
    ]
    ++ lib.optionals (variant == "collabora") [
      ./fix-unpack-collabora.patch
      ./skip-broken-sentence-breaking-rules.patch
    ];

  postPatch = ''
@@ -613,7 +612,7 @@ stdenv.mkDerivation (finalAttrs: {
      "--enable-gtk3-kde5"
    ]
    ++ (
      if variant == "fresh" then
      if variant == "fresh" || variant == "collabora" then
        [
          "--with-system-rhino"
          "--with-rhino-jar=${rhino}/share/java/js.jar"
+0 −48
Original line number Diff line number Diff line
This part caused build failures in Collabora.

LibreOffice has just dropped the entire file some time ago.

--- a/i18npool/source/breakiterator/data/sent.txt	1970-01-01 01:00:01.000000000 +0100
--- b/i18npool/source/breakiterator/data/sent.txt	1970-01-01 01:00:01.000000000 +0100
@@ -88,41 +88,3 @@
 [[^$STerm $ATerm $Close $Sp $Sep $Format $Extend $Thai]{bof}] ($Extend | $Format | $Close | $Sp)* [^$Thai];
 [[^$STerm $ATerm $Close $Sp $Sep $Format $Extend]{bof}] ($Extend | $Format | $Close | $Sp)* ([$Sep{eof}] | $CR $LF){100};
 
-## -------------------------------------------------
-
-!!reverse;
-
-$SpEx_R       = ($Extend | $Format)* $Sp;
-$ATermEx_R    = ($Extend | $Format)* $ATerm;
-$STermEx_R    = ($Extend | $Format)* $STerm;
-$CloseEx_R    = ($Extend | $Format)* $Close;
-
-#
-#  Reverse rules.
-#     For now, use the old style inexact reverse rules, which are easier
-#     to write, but less efficient.
-#     TODO:  exact reverse rules.  It appears that exact reverse rules
-#            may require improving support for look-ahead breaks in the
-#            builder.  Needs more investigation.
-#
-
-[{bof}] (.? | $LF $CR) [^$Sep]* [$Sep {eof}] ($SpEx_R* $CloseEx_R* ($STermEx_R | $ATermEx_R))*;
-#.*;
-
-# Explanation for this rule:
-#
-#    It needs to back over
-#        The $Sep at which we probably begin
-#        All of the non $Sep chars leading to the preceding $Sep
-#        The preceding $Sep, which will be the second one that the rule matches.
-#        Any immediately preceding STerm or ATerm sequences.  We need to see these
-#              to get the correct rule status when moving forwards again.
-#        
-# [{bof}]           inhibit rule chaining.  Without this, rule would loop on itself and match
-#                   the entire string.
-#
-# (.? | $LF $CR)    Match one $Sep instance.  Use .? rather than $Sep because position might be
-#                   at the beginning of the string at this point, and we don't want to fail.
-#                   Can only use {eof} once, and it is used later.
-#
-
+150 −41
Original line number Diff line number Diff line
diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 63dc4b92b90d..fc6d83da6448 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -69,8 +69,8 @@ endif
@@ -70,8 +70,8 @@ endif
 
 ifneq ($(DISABLE_GUI),TRUE)
 ifeq ($(OS),LINUX)
@@ -10,17 +12,43 @@
 	CppunitTest_sc_tiledrendering2 \
 ))
 endif
diff --git a/sc/qa/extras/vba-macro-test.cxx b/sc/qa/extras/vba-macro-test.cxx
index 4dc1f0fe93c4..46b506131719 100644
--- a/sc/qa/extras/vba-macro-test.cxx
+++ b/sc/qa/extras/vba-macro-test.cxx
@@ -364,7 +364,7 @@ CPPUNIT_TEST_FIXTURE(VBAMacroTest, testVba)
@@ -355,7 +355,7 @@ CPPUNIT_TEST_FIXTURE(VBAMacroTest, testVba)
 // Failed:  : Test change event for Range.FillRight:
 // Tests passed: 4
 // Tests failed: 4
-#if !defined(_WIN32)
+#if 0 // flaky, see above
         { OUString("Ranges-3.xls"),
           OUString(
               "vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document") },
         { u"Ranges-3.xls"_ustr,
           u"vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document"_ustr },
 #endif
diff --git a/sc/qa/unit/subsequent_export_test2.cxx b/sc/qa/unit/subsequent_export_test2.cxx
index 1396cef69fa5..8ca0e4043f72 100644
--- a/sc/qa/unit/subsequent_export_test2.cxx
+++ b/sc/qa/unit/subsequent_export_test2.cxx
@@ -100,6 +100,8 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringXLSX)
 
 CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX)
 {
+    return; // fails consistently
+
     // this doc is configured with CalcA1 ref syntax
     createScDoc("xlsx/empty.xlsx");
 
@@ -137,6 +139,8 @@ CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX)
 
 CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringUnspecified)
 {
+    return; // fails consistently
+
     createScDoc();
 
     ScDocument* pDoc = getScDoc();
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
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -1507,6 +1507,8 @@ CPPUNIT_TEST_FIXTURE(TestFormula, testFormulaAnnotateTrimOnDoubleRefs)
@@ -29,21 +57,104 @@
 {
+    return; // fails consistently on nixpkgs?
+
     m_pDoc->InsertTab(0, "Formula");
     m_pDoc->InsertTab(0, u"Formula"_ustr);
 
     sc::AutoCalcSwitch aACSwitch(*m_pDoc, true); // turn auto calc on.
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -2948,6 +2948,8 @@ CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, testHighlightNumbering_shd)
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 3892b36b5a85..68d5c21fc896 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -1580,6 +1580,8 @@ CPPUNIT_TEST_FIXTURE(SdTiledRenderingTest, testMultiViewInsertDeletePage)
 
 CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, testPilcrowRedlining)
 CPPUNIT_TEST_FIXTURE(SdTiledRenderingTest, testMultiViewInsertDeletePage2)
 {
+    return; // fails consistently
+
     // Load the document.
     SdXImpressDocument* pXImpressDocument = createDoc("dummy.odp");
     SdTestViewCallback aView1;
diff --git a/sw/qa/extras/layout/layout.cxx b/sw/qa/extras/layout/layout.cxx
index 17055fa287ed..aa27d6969717 100644
--- a/sw/qa/extras/layout/layout.cxx
+++ b/sw/qa/extras/layout/layout.cxx
@@ -1364,6 +1364,8 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter, testRedlineFlysInHeader)
 #if !defined(MACOSX)
 CPPUNIT_TEST_FIXTURE(SwLayoutWriter, TestTdf150606)
 {
+    return; // flaky
+
     // Load a document where the top left tile contains
     // paragraph and line break symbols with redlining.
     SwXTextDocument* pXTextDocument = createDoc("pilcrow-redlining.fodt");
@@ -4100,6 +4104,8 @@ CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, testRedlineTooltip)
     createSwDoc("tdf150606-1-min.odt");
 
     SwWrtShell* pWrtShell = getSwDocShell()->GetWrtShell();
diff --git a/sw/qa/extras/layout/layout4.cxx b/sw/qa/extras/layout/layout4.cxx
index eb9abea5a538..a2d511607a48 100644
--- a/sw/qa/extras/layout/layout4.cxx
+++ b/sw/qa/extras/layout/layout4.cxx
@@ -1518,6 +1518,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf104209VertRTL)
 
 CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408LTR)
 {
+    return; // fails due to missing font: Noto Sans Hebrew
     // Verify that line breaking a first bidi portion correctly underflows in LTR text
     createSwDoc("tdf56408-ltr.fodt");
     auto pXmlDoc = parseLayoutDump();
@@ -1532,6 +1533,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408LTR)
 
 CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408RTL)
 {
+    return; // fails due to missing font: Noto Sans Hebrew
     // Verify that line breaking a first bidi portion correctly underflows in RTL text
     createSwDoc("tdf56408-rtl.fodt");
     auto pXmlDoc = parseLayoutDump();
@@ -1546,6 +1548,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408RTL)
 
 CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408NoUnderflow)
 {
+    return; // fails due to missing font: Noto Sans Hebrew
     // The fix for tdf#56408 introduced a change to line breaking between text with
     // direction changes. This test verifies behavior in the trivial case, when a
     // break opportunity exists at the direction change boundary.
@@ -1562,6 +1565,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408NoUnderflow)
 
 CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf56408AfterFieldCrash)
 {
+    return; // fails due to missing font: Noto Sans Hebrew
     // Verify there is no crash/assertion for underflow after a number field
     createSwDoc("tdf56408-after-field.fodt");
 }
@@ -1619,6 +1623,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf164907_rowHeightAtLeast)
 
 CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf157829LTR)
 {
+    return; // fails due to missing font: Noto Sans Hebrew
     // Verify that line breaking inside a bidi portion triggers underflow to previous bidi portions
     createSwDoc("tdf157829-ltr.fodt");
     auto pXmlDoc = parseLayoutDump();
@@ -1633,6 +1638,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf157829LTR)
 
 CPPUNIT_TEST_FIXTURE(SwLayoutWriter4, TestTdf157829RTL)
 {
+    return; // fails due to missing font: Noto Sans Hebrew
     // Verify that line breaking inside a bidi portion triggers underflow to previous bidi portions
     createSwDoc("tdf157829-rtl.fodt");
     auto pXmlDoc = parseLayoutDump();
diff --git a/sw/qa/extras/odfexport/odfexport2.cxx b/sw/qa/extras/odfexport/odfexport2.cxx
index b2c844e91f81..46356e02c050 100644
--- a/sw/qa/extras/odfexport/odfexport2.cxx
+++ b/sw/qa/extras/odfexport/odfexport2.cxx
@@ -1720,6 +1720,7 @@ CPPUNIT_TEST_FIXTURE(Test, testMidnightRedlineDatetime)
     // - Error: "2001-01-01" does not satisfy the "dateTime" type
     // because "2001-01-01T00:00:00" became "2001-01-01" on roundtrip.
     loadAndReload("midnight_redline.fodt");
+    return; // fails on aarch64
 
     xmlDocUniquePtr pXmlDoc = parseExport(u"content.xml"_ustr);
     assertXPathContent(pXmlDoc,
diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index 1e404a1d733a..33e9866dc828 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -3788,6 +3788,8 @@ CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, testRedlineTooltip)
 // toggling Formatting Marks on/off for one view should have no effect on other views
 CPPUNIT_TEST_FIXTURE(SwTiledRenderingTest, testToggleFormattingMarks)
 {
@@ -52,42 +163,40 @@
     SwXTextDocument* pXTextDocument = createDoc();
     int nView1 = SfxLokHelper::getView();
 
diff --git a/unoxml/qa/unit/rdftest.cxx b/unoxml/qa/unit/rdftest.cxx
index 61c556369d21..c91befbbada2 100644
--- a/unoxml/qa/unit/rdftest.cxx
+++ b/unoxml/qa/unit/rdftest.cxx
@@ -962,6 +962,7 @@ CPPUNIT_TEST_FIXTURE(RDFStreamTest, testTdf123293)
 
 CPPUNIT_TEST_FIXTURE(RDFStreamTest, testDocumentMetadataAccess)
 {
+    return; // fails on aarch64
     loadFromURL(u"private:factory/swriter"_ustr);
 
     uno::Reference<rdf::XDocumentMetadataAccess> xDocumentMetadataAccess(mxComponent,
diff --git a/vcl/qa/cppunit/complextext.cxx b/vcl/qa/cppunit/complextext.cxx
index c8a9e6e7c3cd..c0a2bb33b312 100644
--- a/vcl/qa/cppunit/complextext.cxx
+++ b/vcl/qa/cppunit/complextext.cxx
@@ -529,6 +529,8 @@ CPPUNIT_TEST_FIXTURE(VclComplexTextTest, testMixedCJKLatinScript_glyph_advanceme
@@ -553,6 +553,8 @@ CPPUNIT_TEST_FIXTURE(VclComplexTextTest, testMixedCJKLatinScript_glyph_advanceme
 
 CPPUNIT_TEST_FIXTURE(VclComplexTextTest, testTdf107718)
 {
+    return; // fails to find the font
+    return; // fails in nixpkgs
+
 #if HAVE_MORE_FONTS
 #if !defined _WIN32 // TODO: Fails on jenkins but passes locally
     vcl::Font aFont(u"Source Han Sans"_ustr, u"Regular"_ustr, Size(0, 72));
--- ./sd/qa/unit/tiledrendering/tiledrendering.cxx	2025-03-22 19:42:09.450877126 +0100
+++ ./sd/qa/unit/tiledrendering/tiledrendering.cxx	2025-03-22 19:47:05.663896648 +0100
@@ -2496,6 +2496,7 @@
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
index 4909267f7c74..63a177b0a2a5 100644
--- a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
+++ b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
@@ -6056,6 +6056,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf162750SmallCapsLigature)
 
 CPPUNIT_TEST_FIXTURE(SdTiledRenderingTest, testGetViewRenderState)
 CPPUNIT_TEST_FIXTURE(PdfExportTest2, testTdf164106SplitReorderedClusters)
 {
+    return ; // SD;Dark instead of S;Dark is the correct outcome elsewhere?
     SdXImpressDocument* pXImpressDocument = createDoc("dummy.odp");
     int nFirstViewId = SfxLokHelper::getView();
     ViewCallback aView1;
--- ./sc/qa/unit/subsequent_export_test2.cxx	2025-03-22 19:51:50.959915451 +0100
+++ ./sc/qa/unit/subsequent_export_test2.cxx	2025-03-22 19:51:54.691915697 +0100
@@ -103,6 +103,7 @@
 
 CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringConfigXLSX)
 {
+    return; // Apparently an issue with loading reference config
     // this doc is configured with CalcA1 ref syntax
     createScDoc("xlsx/empty.xlsx");
+    return; // fails due to missing font: Noto Sans
     saveAsPDF(u"tdf164106.fodt");
 
@@ -140,6 +141,7 @@
 
 CPPUNIT_TEST_FIXTURE(ScExportTest2, testRefStringUnspecified)
 {
+    return; // Apparently an issue with loading reference config
     createScDoc();
 
     ScDocument* pDoc = getScDoc();
     auto pPdfDocument = parsePDFExport();
+190 −197

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
{ fetchgit, ... }:
fetchgit {
  url = "https://gerrit.libreoffice.org/help";
  rev = "refs/tags/cp-24.04.13-2";
  hash = "sha256-lyBuj7FI1jwVLLBkB6JJcmQVtm1FKExYWvRUoGqRbJ0=";
  rev = "refs/tags/cp-25.04.1-1";
  hash = "sha256-jKcrkvdxpebCTeILrjA7bKfcsWw8VFjS7eimJI1dgFQ=";
}
Loading