Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package liborcus for openSUSE:Factory checked in at 2022-02-24 18:20:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liborcus (Old) and /work/SRC/openSUSE:Factory/.liborcus.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liborcus" Thu Feb 24 18:20:10 2022 rev:36 rq:956518 version:0.17.2 Changes: -------- --- /work/SRC/openSUSE:Factory/liborcus/liborcus.changes 2021-05-20 19:24:23.218108202 +0200 +++ /work/SRC/openSUSE:Factory/.liborcus.new.1958/liborcus.changes 2022-02-24 18:22:50.210668185 +0100 @@ -1,0 +2,50 @@ +Thu Jan 27 14:34:01 UTC 2022 - Fridrich Strba <[email protected]> + +- Added patch: + * no-std-filesystem.patch + + use boost::filesystem instead of std::filesystem, in order to + allow building with older compilers + +------------------------------------------------------------------- +Wed Jan 26 14:47:32 UTC 2022 - Danilo Spinella <[email protected]> + +- Update to 0.17.2: + * fixed a bug where the state of style:cell-protect="none" was not + explicitly pushed, thereby having had the same effect as not having this + attribute. After the fix, style:cell-protect="none" will explicitly push + the hidden state to false, locked state to false, and the formula-hidden + state to false. +- Update to 0.17.1: + * addressed a number of coverity issues. + * removed a variety of compiler warnings. + * re-generated sax parser tokens from ODF v1.3. + * revised the style import code to only push style attributes that are + actually specified in the XML. + * revised the XML structure validation strategy to ignore any mis-placed + elements and their sub structures rather than aborting the import. + +------------------------------------------------------------------- +Fri Nov 19 10:34:49 UTC 2021 - Danilo Spinella <[email protected]> + +- Update to 0.17.0: + * set the baseline C++ version to 17. + * cleaned up the public API to replace pstring with std::string_view, union + with std::variant, and boost::optional with std::optional. With this + change, the public API no longer has dependency on boost. + * switched to using ixion::model_iterator for horizontal iteration of cells + instead of using mdds::mtv::collection. + * fixed a bug where exporting a spreadsheet document containing adjacent + merged cells regions to html incorrectly exported the merged cell areas. + * cached cell values are now correctly loaded from the xlsx file. + * utf-8 names are now allowed as element and attribute names in the sax parser. + * unquoted utf-8 property values are now allowed in the css parser. + * added yaml output option in orcus-json. + * fixed a bug where mapping of an XML document with namespace aliases + sometimes corrupts the alias values. + * added orcus.FormulaTokenOp enum type in python which describes type formula token + operator types in a more finer grained manner. + * added notes to how to use orcus-xml and orcus-json to map XML and JSON + documents to spreadsheet documents. +- Drop GCC11_build_fixes.patch + +------------------------------------------------------------------- Old: ---- GCC11_build_fixes.patch liborcus-0.16.1.tar.xz New: ---- liborcus-0.17.2.tar.xz no-std-filesystem.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liborcus.spec ++++++ --- /var/tmp/diff_new_pack.JL8CRv/_old 2022-02-24 18:22:50.742668042 +0100 +++ /var/tmp/diff_new_pack.JL8CRv/_new 2022-02-24 18:22:50.746668041 +0100 @@ -1,7 +1,7 @@ # # spec file for package liborcus # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,22 +17,24 @@ %{!?make_build:%global make_build make %{?_smp_mflags}} -%define libname liborcus-0_16-0 +%define libname liborcus-0_17-0 Name: liborcus -Version: 0.16.1 +Version: 0.17.2 Release: 0 Summary: Spreadsheet file processing library License: MPL-2.0 URL: https://gitlab.com/orcus/orcus/ Source: http://kohei.us/files/orcus/src/%{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM -Patch0: GCC11_build_fixes.patch +Patch0: no-std-filesystem.patch +BuildRequires: autoconf +BuildRequires: automake BuildRequires: coreutils BuildRequires: libstdc++-devel +BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python3-xml -BuildRequires: pkgconfig(libixion-0.16) -BuildRequires: pkgconfig(mdds-1.5) +BuildRequires: pkgconfig(libixion-0.17) +BuildRequires: pkgconfig(mdds-2.0) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(zlib) %if 0%{?suse_version} >= 1500 @@ -86,9 +88,12 @@ Python 3 bindings for %{name}. %prep -%autosetup -p1 +%setup -q +%patch0 -p1 %build +libtoolize --force --copy +autoreconf -fi %if 0%{?suse_version} < 1500 export CC=gcc-8 export CXX=g++-8 ++++++ liborcus-0.16.1.tar.xz -> liborcus-0.17.2.tar.xz ++++++ ++++ 54470 lines of diff (skipped) ++++++ no-std-filesystem.patch ++++++ --- liborcus-0.17.2/doc_example/Makefile.am 2022-01-27 15:01:08.928870206 +0100 +++ liborcus-0.17.2/doc_example/Makefile.am 2022-01-27 15:30:25.807283425 +0100 @@ -56,7 +56,7 @@ spreadsheet_doc_1_SOURCES = \ spreadsheet_doc_1.cpp -spreadsheet_doc_1_LDADD = $(SPDOC_LDADD) +spreadsheet_doc_1_LDADD = $(SPDOC_LDADD) $(BOOST_FILESYSTEM_LIBS) spreadsheet_doc_1_num_and_formula_SOURCES = \ spreadsheet_doc_1_num_and_formula.cpp @@ -75,7 +75,7 @@ spreadsheet_doc_2_sheets_no_string_pool_LDADD = \ ../src/parser/liborcus-parser-@[email protected] \ - ../src/liborcus/liborcus-@[email protected] + ../src/liborcus/liborcus-@[email protected] $(BOOST_FILESYSTEM_LIBS) spreadsheet_doc_2_sheets_with_string_pool_SOURCES = \ spreadsheet_doc_2_sheets_with_string_pool.cpp --- liborcus-0.17.2/doc_example/spreadsheet_doc_1.cpp 2022-01-27 15:01:08.928870206 +0100 +++ liborcus-0.17.2/doc_example/spreadsheet_doc_1.cpp 2022-01-27 15:23:29.164819311 +0100 @@ -7,13 +7,13 @@ #include <iostream> #include <cstdlib> -#include <filesystem> +#include <boost/filesystem.hpp> using namespace orcus; int main() { - std::filesystem::path input_dir = std::getenv("INPUTDIR"); + boost::filesystem::path input_dir = std::getenv("INPUTDIR"); // Instantiate a document, and wrap it with a factory. spreadsheet::range_size_t ss{1048576, 16384}; @@ -23,7 +23,7 @@ // Pass the factory to the document loader, and read the content from a file // to populate the document. orcus_ods loader(&factory); - loader.read_file(input_dir / "document.ods"); + loader.read_file((input_dir / "document.ods").string()); // Now that the document is fully populated, access its content. const ixion::model_context& model = doc.get_model_context(); --- liborcus-0.17.2/doc_example/spreadsheet_doc_1_num_and_formula.cpp 2022-01-27 15:01:08.928870206 +0100 +++ liborcus-0.17.2/doc_example/spreadsheet_doc_1_num_and_formula.cpp 2022-01-27 15:23:04.532672399 +0100 @@ -8,13 +8,13 @@ #include <ixion/cell.hpp> #include <iostream> -#include <filesystem> +#include <boost/filesystem.hpp> using namespace orcus; int main() { - std::filesystem::path input_dir = std::getenv("INPUTDIR"); + boost::filesystem::path input_dir = std::getenv("INPUTDIR"); // Instantiate a document, and wrap it with a factory. spreadsheet::range_size_t ss{1048576, 16384}; @@ -24,7 +24,7 @@ // Pass the factory to the document loader, and read the content from a file // to populate the document. orcus_ods loader(&factory); - loader.read_file(input_dir / "document.ods"); + loader.read_file((input_dir / "document.ods").string()); doc.recalc_formula_cells(); // Now that the document is fully populated, access its content. --- liborcus-0.17.2/doc_example/spreadsheet_doc_2.cpp 2022-01-27 15:01:08.928870206 +0100 +++ liborcus-0.17.2/doc_example/spreadsheet_doc_2.cpp 2022-01-27 15:23:16.252742305 +0100 @@ -2,7 +2,7 @@ #include <orcus/spreadsheet/import_interface.hpp> #include <orcus/orcus_ods.hpp> -#include <filesystem> +#include <boost/filesystem.hpp> #include <iostream> namespace ss = orcus::spreadsheet; @@ -33,11 +33,11 @@ int main() { - std::filesystem::path input_dir = std::getenv("INPUTDIR"); + boost::filesystem::path input_dir = std::getenv("INPUTDIR"); my_empty_import_factory factory; orcus::orcus_ods loader(&factory); - loader.read_file(input_dir / "multi-sheets.ods"); + loader.read_file((input_dir / "multi-sheets.ods").string()); return EXIT_SUCCESS; } --- liborcus-0.17.2/doc_example/spreadsheet_doc_2_sheets_no_string_pool.cpp 2022-01-27 15:01:08.928870206 +0100 +++ liborcus-0.17.2/doc_example/spreadsheet_doc_2_sheets_no_string_pool.cpp 2022-01-27 15:24:00.461005950 +0100 @@ -4,7 +4,7 @@ #include <iostream> #include <memory> -#include <filesystem> +#include <boost/filesystem.hpp> //!code-start: cell_value namespace ss = orcus::spreadsheet; @@ -108,11 +108,11 @@ int main() { - std::filesystem::path input_dir = std::getenv("INPUTDIR"); + boost::filesystem::path input_dir = std::getenv("INPUTDIR"); my_import_factory factory; orcus::orcus_ods loader(&factory); - loader.read_file(input_dir / "multi-sheets.ods"); + loader.read_file((input_dir / "multi-sheets.ods").string()); return EXIT_SUCCESS; } --- liborcus-0.17.2/doc_example/spreadsheet_doc_2_sheets_with_formula.cpp 2022-01-27 15:01:08.928870206 +0100 +++ liborcus-0.17.2/doc_example/spreadsheet_doc_2_sheets_with_formula.cpp 2022-01-27 15:22:40.052526392 +0100 @@ -6,7 +6,7 @@ #include <memory> #include <unordered_map> #include <deque> -#include <filesystem> +#include <boost/filesystem.hpp> namespace ss = orcus::spreadsheet; @@ -275,11 +275,11 @@ int main() { - std::filesystem::path input_dir = std::getenv("INPUTDIR"); + boost::filesystem::path input_dir = std::getenv("INPUTDIR"); my_import_factory factory; orcus::orcus_ods loader(&factory); - loader.read_file(input_dir / "multi-sheets.ods"); + loader.read_file((input_dir / "multi-sheets.ods").string()); return EXIT_SUCCESS; } --- liborcus-0.17.2/doc_example/spreadsheet_doc_2_sheets_with_string_pool.cpp 2022-01-27 15:01:08.928870206 +0100 +++ liborcus-0.17.2/doc_example/spreadsheet_doc_2_sheets_with_string_pool.cpp 2022-01-27 15:23:46.476922548 +0100 @@ -6,7 +6,7 @@ #include <memory> #include <unordered_map> #include <deque> -#include <filesystem> +#include <boost/filesystem.hpp> namespace ss = orcus::spreadsheet; @@ -189,11 +189,11 @@ int main() { - std::filesystem::path input_dir = std::getenv("INPUTDIR"); + boost::filesystem::path input_dir = std::getenv("INPUTDIR"); my_import_factory factory; orcus::orcus_ods loader(&factory); - loader.read_file(input_dir / "multi-sheets.ods"); + loader.read_file((input_dir / "multi-sheets.ods").string()); return EXIT_SUCCESS; }
