- Add patch to fix rounding bug in test on i586:
* libreoffice-hotfix-disablebrokenshapetest.patch OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=388
This commit is contained in:
parent
57b7de2d14
commit
31fbed1388
30
libreoffice-hotfix-disablebrokenshapetest.patch
Normal file
30
libreoffice-hotfix-disablebrokenshapetest.patch
Normal file
@ -0,0 +1,30 @@
|
||||
Index: libreoffice-5.1.1.3/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
|
||||
===================================================================
|
||||
--- libreoffice-5.1.1.3.orig/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
|
||||
+++ libreoffice-5.1.1.3/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
|
||||
@@ -1103,25 +1103,6 @@ DECLARE_OOXMLEXPORT_TEST(testTDF93675, "
|
||||
assertXPath(pXmlDoc, "//w:ind", "start", "1418");
|
||||
}
|
||||
|
||||
-DECLARE_OOXMLEXPORT_TEST(testFlipAndRotateCustomShape, "flip_and_rotate.odt")
|
||||
-{
|
||||
- xmlDocPtr pXmlDoc = parseExport("word/document.xml");
|
||||
- if (!pXmlDoc)
|
||||
- return;
|
||||
- // there should be no flipH and flipV attributes in this case
|
||||
- assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipH");
|
||||
- assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipV");
|
||||
- // check rotation angle
|
||||
- assertXPath(pXmlDoc, "//a:xfrm", "rot", "13500000");
|
||||
- // check the first few coordinates of the polygon
|
||||
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "x", "2351");
|
||||
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "y", "3171");
|
||||
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "x", "1695");
|
||||
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "y", "3171");
|
||||
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "x", "1695");
|
||||
- assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "y", "1701");
|
||||
-}
|
||||
-
|
||||
#endif
|
||||
|
||||
CPPUNIT_PLUGIN_IMPLEMENT();
|
@ -4,6 +4,8 @@ Fri Mar 11 20:41:35 UTC 2016 - tchvatal@suse.com
|
||||
- Add patch to detect boost_filesystem headers:
|
||||
* 0002-boost-filesystem1.patch
|
||||
* 0003-boost-filesystem2.patch
|
||||
- Add patch to fix rounding bug in test on i586:
|
||||
* libreoffice-hotfix-disablebrokenshapetest.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 11 17:17:22 UTC 2016 - tchvatal@suse.com
|
||||
|
@ -179,6 +179,8 @@ Patch12: 0001-mdds-1.0.patch
|
||||
Patch13: 0001-liborcus-0.11.patch
|
||||
Patch14: 0002-boost-filesystem1.patch
|
||||
Patch15: 0003-boost-filesystem2.patch
|
||||
# PATCH-HOTFIX-UPSTREAM: disable test that rounds wrongly on most archs
|
||||
Patch16: libreoffice-hotfix-disablebrokenshapetest.patch
|
||||
# PATCH-FIX-SUSE: disable services unittest that fails
|
||||
Patch10: libreoffice-disable-services-check.patch
|
||||
# try to save space by using hardlinks
|
||||
@ -1050,6 +1052,7 @@ Provides additional %{langname} translations and resources for %{project}. \
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
%if 0%{?suse_version} < 1130
|
||||
%patch10 -p1
|
||||
%endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user