upload libwps 0.4.8
Change-Id: Ib285c227cd935987311be40df3745316943a54e0 Reviewed-on: https://gerrit.libreoffice.org/45331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
This commit is contained in:
parent
b8ea39bc24
commit
8d0e8d5d29
11 changed files with 45 additions and 38 deletions
|
@ -7696,7 +7696,7 @@ libo_CHECK_SYSTEM_MODULE([libwpd],[WPD],[libwpd-0.10],["-I${WORKDIR}/UnpackedTar
|
|||
libo_CHECK_SYSTEM_MODULE([libwpg],[WPG],[libwpg-0.3])
|
||||
|
||||
libo_CHECK_SYSTEM_MODULE([libwps],[WPS],[libwps-0.4])
|
||||
libo_PKG_VERSION([WPS], [libwps-0.4], [0.4.7])
|
||||
libo_PKG_VERSION([WPS], [libwps-0.4], [0.4.8])
|
||||
|
||||
libo_CHECK_SYSTEM_MODULE([libvisio],[VISIO],[libvisio-0.1])
|
||||
|
||||
|
|
|
@ -230,8 +230,8 @@ export WPD_TARBALL := libwpd-0.10.$(WPD_VERSION_MICRO).tar.xz
|
|||
export WPG_SHA256SUM := 57faf1ab97d63d57383ac5d7875e992a3d190436732f4083310c0471e72f8c33
|
||||
export WPG_VERSION_MICRO := 2
|
||||
export WPG_TARBALL := libwpg-0.3.$(WPG_VERSION_MICRO).tar.xz
|
||||
export WPS_SHA256SUM := 2f2cab630bceace24f9dbb7d187cd6cd1f4c9f8a7b682c5f7e49c1e2cb58b217
|
||||
export WPS_VERSION_MICRO := 7
|
||||
export WPS_SHA256SUM := e478e825ef33f6a434a19ff902c5469c9da7acc866ea0d8ab610a8b2aa94177e
|
||||
export WPS_VERSION_MICRO := 8
|
||||
export WPS_TARBALL := libwps-0.4.$(WPS_VERSION_MICRO).tar.xz
|
||||
export XSLTML_SHA256SUM := 75823776fb51a9c526af904f1503a7afaaab900fba83eda64f8a41073724c870
|
||||
export XSLTML_TARBALL := a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
|
||||
|
|
24
external/libwps/0001-drop-unneeded-include.patch.1
vendored
Normal file
24
external/libwps/0001-drop-unneeded-include.patch.1
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
From cec7e4b57b0e10139d5a5dcede9027b0ea85e07d Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Mon, 27 Nov 2017 19:32:53 +0100
|
||||
Subject: [PATCH] drop unneeded include
|
||||
|
||||
---
|
||||
src/lib/QuattroSpreadsheet.cpp | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/src/lib/QuattroSpreadsheet.cpp b/src/lib/QuattroSpreadsheet.cpp
|
||||
index 8d7e1c0..bc35bdf 100644
|
||||
--- a/src/lib/QuattroSpreadsheet.cpp
|
||||
+++ b/src/lib/QuattroSpreadsheet.cpp
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <strings.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
--
|
||||
2.14.3
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
From 01d2ef67b9076fd82ecc6937bdbb306b489fd29e Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Mon, 17 Jul 2017 14:34:12 +0200
|
||||
Subject: [PATCH] try to fix build with older clang
|
||||
|
||||
---
|
||||
src/lib/libwps_internal.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/lib/libwps_internal.h b/src/lib/libwps_internal.h
|
||||
index 8e91806..8a5fccc 100644
|
||||
--- a/src/lib/libwps_internal.h
|
||||
+++ b/src/lib/libwps_internal.h
|
||||
@@ -85,8 +85,8 @@ struct WPS_shared_ptr_noop_deleter
|
||||
|
||||
/** fall through attributes */
|
||||
#define WPS_FALLTHROUGH
|
||||
-#if defined(__clang__)
|
||||
-# if defined(__has_cpp_attribute) && __has_cpp_attribute(clang::fallthrough)
|
||||
+#if defined(__clang__) && defined(__has_cpp_attribute)
|
||||
+# if __has_cpp_attribute(clang::fallthrough)
|
||||
# undef WPS_FALLTHROUGH
|
||||
# define WPS_FALLTHROUGH [[clang::fallthrough]]
|
||||
# endif
|
||||
--
|
||||
2.13.0
|
||||
|
9
external/libwps/Library_wps.mk
vendored
9
external/libwps/Library_wps.mk
vendored
|
@ -34,15 +34,22 @@ $(eval $(call gb_Library_set_generated_cxx_suffix,wps,cpp))
|
|||
$(eval $(call gb_Library_add_generated_exception_objects,wps,\
|
||||
UnpackedTarball/libwps/src/lib/DosWord \
|
||||
UnpackedTarball/libwps/src/lib/Lotus \
|
||||
UnpackedTarball/libwps/src/lib/LotusChart \
|
||||
UnpackedTarball/libwps/src/lib/LotusGraph \
|
||||
UnpackedTarball/libwps/src/lib/LotusSpreadsheet \
|
||||
UnpackedTarball/libwps/src/lib/LotusStyleManager \
|
||||
UnpackedTarball/libwps/src/lib/MSWrite \
|
||||
UnpackedTarball/libwps/src/lib/Quattro \
|
||||
UnpackedTarball/libwps/src/lib/QuattroDos \
|
||||
UnpackedTarball/libwps/src/lib/QuattroDosChart \
|
||||
UnpackedTarball/libwps/src/lib/QuattroDosSpreadsheet \
|
||||
UnpackedTarball/libwps/src/lib/QuattroGraph \
|
||||
UnpackedTarball/libwps/src/lib/QuattroSpreadsheet \
|
||||
UnpackedTarball/libwps/src/lib/WKS4 \
|
||||
UnpackedTarball/libwps/src/lib/WKS4Chart \
|
||||
UnpackedTarball/libwps/src/lib/WKS4Format \
|
||||
UnpackedTarball/libwps/src/lib/WKS4Spreadsheet \
|
||||
UnpackedTarball/libwps/src/lib/WKSChart \
|
||||
UnpackedTarball/libwps/src/lib/WKSContentListener \
|
||||
UnpackedTarball/libwps/src/lib/WKSParser \
|
||||
UnpackedTarball/libwps/src/lib/WKSSubDocument \
|
||||
|
@ -65,7 +72,9 @@ $(eval $(call gb_Library_add_generated_exception_objects,wps,\
|
|||
UnpackedTarball/libwps/src/lib/WPSHeader \
|
||||
UnpackedTarball/libwps/src/lib/WPSList \
|
||||
UnpackedTarball/libwps/src/lib/WPSOLE1Parser \
|
||||
UnpackedTarball/libwps/src/lib/WPSOLEObject \
|
||||
UnpackedTarball/libwps/src/lib/WPSOLEParser \
|
||||
UnpackedTarball/libwps/src/lib/WPSOLEStream \
|
||||
UnpackedTarball/libwps/src/lib/WPSPageSpan \
|
||||
UnpackedTarball/libwps/src/lib/WPSParagraph \
|
||||
UnpackedTarball/libwps/src/lib/WPSParser \
|
||||
|
|
4
external/libwps/UnpackedTarball_libwps.mk
vendored
4
external/libwps/UnpackedTarball_libwps.mk
vendored
|
@ -35,8 +35,8 @@ $(eval $(call gb_UnpackedTarball_add_patches,libwps, \
|
|||
endif
|
||||
endif
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,libwps, \
|
||||
external/libwps/0001-try-to-fix-build-with-older-clang.patch.1 \
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,libwps,\
|
||||
external/libwps/0001-drop-unneeded-include.patch.1 \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
-libwps_@WPS_MAJOR_VERSION@_@WPS_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic -no-undefined
|
||||
+libwps_@WPS_MAJOR_VERSION@_@WPS_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic -no-undefined -release lo
|
||||
libwps_@WPS_MAJOR_VERSION@_@WPS_MINOR_VERSION@_la_SOURCES = \
|
||||
libwps_internal.cpp \
|
||||
libwps_tools_win.h \
|
||||
libwps_internal.cpp \
|
||||
libwps_tools_win.h \
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<node oor:name="calc_WPS_QPro_Document" oor:op="replace" >
|
||||
<prop oor:name="DetectService"><value>com.sun.star.comp.Calc.MSWorksCalcImportFilter</value></prop>
|
||||
<prop oor:name="URLPattern"/>
|
||||
<prop oor:name="Extensions"><value>wq1 wq2</value></prop>
|
||||
<prop oor:name="Extensions"><value>wb1 wb2 wq1 wq2</value></prop>
|
||||
<prop oor:name="MediaType"></prop>
|
||||
<prop oor:name="Preferred"><value>true</value></prop>
|
||||
<prop oor:name="PreferredFilter"><value>WPS_QPro_Calc</value></prop>
|
||||
|
|
|
@ -280,10 +280,10 @@
|
|||
"dest-filename": "external/tarballs/libwpg-0.3.2.tar.xz"
|
||||
},
|
||||
{
|
||||
"url": "https://dev-www.libreoffice.org/src/libwps-0.4.7.tar.xz",
|
||||
"sha256": "2f2cab630bceace24f9dbb7d187cd6cd1f4c9f8a7b682c5f7e49c1e2cb58b217",
|
||||
"url": "https://dev-www.libreoffice.org/src/libwps-0.4.8.tar.xz",
|
||||
"sha256": "e478e825ef33f6a434a19ff902c5469c9da7acc866ea0d8ab610a8b2aa94177e",
|
||||
"type": "file",
|
||||
"dest-filename": "external/tarballs/libwps-0.4.7.tar.xz"
|
||||
"dest-filename": "external/tarballs/libwps-0.4.8.tar.xz"
|
||||
},
|
||||
{
|
||||
"url": "https://dev-www.libreoffice.org/src/libzmf-0.0.2.tar.xz",
|
||||
|
|
|
@ -39,6 +39,7 @@ void WpftCalcFilterTest::test()
|
|||
{
|
||||
{"Lotus123_3.123", REQUIRE_WPS_VERSION(0, 4, 5)},
|
||||
{"Lotus123_98.123", REQUIRE_WPS_VERSION(0, 4, 6)},
|
||||
{"QuattroPro.wb1", REQUIRE_WPS_VERSION(0, 4, 8)},
|
||||
};
|
||||
|
||||
doTest("com.sun.star.comp.Calc.MWAWCalcImportFilter", "/writerperfect/qa/unit/data/calc/libmwaw/");
|
||||
|
|
BIN
writerperfect/qa/unit/data/calc/libwps/pass/QuattroPro.wb1
Executable file
BIN
writerperfect/qa/unit/data/calc/libwps/pass/QuattroPro.wb1
Executable file
Binary file not shown.
After Width: | Height: | Size: 170 KiB |
Loading…
Reference in a new issue