Package Release Info

liborcus-0.21.0-bp161.1.1

Update Info: Base Release
Available in Package Hub : 16.1

platforms

AArch64
ppc64le
s390x
x86-64

subpackages

liborcus-0_21-0
liborcus-devel
liborcus-tools
python3-liborcus

Change Logs

* Sat Feb 21 2026 Martin Schreiner <martin.schreiner@suse.com>
* Update to 0.21.0.
  * Changes from 0.21.0:
  * When importing an XML document via `orcus_xml`, import_factory's
    `finalize()` method was previously not called which violates the
    interface contract. This version fixes it.
  * Added static method `has_range(std::string_view stream)` to both
    `orcus_xml` and `orcus_json` to detect whether a given XML and JSON
    document has at least one linkable range, respectively.
  * Added a variant of `orcus::detect()` function that takes a document
    content and the format type to check against. This variant only
    checks whether the document is of the specified type, and returns
    the result as a boolean value.
  * The following functions now take a binary stream containing file
    content as `std::string_view` as opposed to the previous
    `const char*` and `size_t` pair:
  * `orcus_ods::detect(std::string_view strm)`
  * `orcus_xlsx::detect(std::string_view strm)`
  * `orcus_gnumeric::detect(std::string_view strm)`
  * `orcus_xls_xml::detect(std::string_view strm)`
  * `orcus_parquet::detect(std::string_view strm)`
  * `orcus_json::detect(std::string_view strm)`
  * `orcus_xml::detect(std::string_view strm)`
* Mon Sep 22 2025 Fridrich Strba <fstrba@suse.com>
- Don't require the libboost_system-devel stub removed in boost 1.89
  on newer systems that don't really need it (bsc#1249610)
* Wed Sep 10 2025 Fridrich Strba <fstrba@suse.com>
- Use the %%gcc_version macro to detect whether gcc13 is needed
* Mon Sep 08 2025 ecsos <ecsos@opensuse.org>
- Fix build error for Leap.
* Sat Aug 30 2025 Martin Schreiner <martin.schreiner@suse.com>
- Remove patches, as they've been merged upstream:
  * liborcus-0.19.2-gcc15-cstdint.patch
- Fix source tarball URL.
- Upgrade to 0.20.2.
- Changes from 0.20.2:
  * The base JSON parser class (orcus::json_parser) now allows primitive string,
    numeric and boolean values to be document root as it should per JSON
    specification.
  * added to the command-line programs proper support for Unicode filepath
    handling on Windows which still uses UTF-16 with code pages.  Relevant
    public API has been updated to add support for Unicode filepaths on Windows.
  * added to the import_sheet interface a variant of set_string() that takes a
    non-indexed string value.  This is used to handle cells with inline strings
    in the xlsx import filter.  However, orcus's own document store backend does
    not yet handle cells with non-indexed strings, so when importing xlsx
    documents containing cells with inline strings, those cells will be ignored
    for now.
  * added to the orcus::format_t enum type json and xml as its members.  With
    that change, you can now instantiate import filter adapters for these two
    new format types to import generic JSON and XML documents.  These two
    adapter filters will auto-detect tabular structures and map them to sheets
    if they exist.
  * orcus::detect() can now detect generic JSON and XML documents.
  * fixed a bug where orcus-xml generated incorrect map file in map-gen mode
    when the source document contained multiple tabular structures.
- Changes from 0.20.1:
  * fixed an assertion failure when importing a document in Excel 2003 XML
    format containing an autofilter with no filtering applied to it.
  * added a set of new interfaces to support importing pivot table definitions
    from xlsx documents.
  * added support for dumping the internal state of pivot caches and pivot table
    definitions as part of the debug state output.
  * added clarification on the return value of import_sheet::get_sheet_size()
    interface method in the documentation.
  * C++ API reference has been restructured to show each symbol in a separate
    page, and have their header information also included.
  * added test cases for testing expected string labels for enum types.
  * fixed orcus-json's map mode which would previously fail when built with
    CMake.
- Changes from 0.20.0:
  * import filters
  * added support for more format types in formatted strings in xlsx, xls-xml
    and gnumeric filters.  The following format types are now supported:
  * superscript
  * subscript
  * strikethrough
  * underline
  * strikethrough format applied to cells are now supported in xlsx and
    xls-xml.
  * importing of underline format applied to cells in gnumeric have been
    revised to fix issues.
  * interface for autofilter import has been revamped to properly import
    autofilter properties from xlsx, xls-xml, gnumeric and ods.
  * import_sheet_properties::set_row_height() now takes a row span as opposed
    to a single row position.
  * fixed a bug in the ods filter to properly separate styles in different
    style families.  Previously, all styles were stored without style-family
    segregation which resulted in collision of styles with the same name.
  * document model
  * format run storage in orcus::spreadsheet::format_run now correctly
    differentiates a format not being applied from a negative format being
    applied.  For instance, the previous storage could not differentiate the
    state of a bold format not being specified from a non-bold state being
    intentionally applied.
  * json
  * added support for custom indent when formatting JSON document.
    orcus::json::document_tree::dump() now takes an additional indent
    parameter to control the amount of indentation in the output.
  * orcus::json::subtree class has been added to allow referencing of subtree
    in an existing document_tree instance.
  * parser has been revised to properly handle escaped unicode characters.
    The parser now propertly converts escaped unicode characters to proper
    UTF-8 characters.
  * tools
  * orcus-json now has a new subtree mode to allow extraction of subtree from
    an existing JSON document.  The root of a subtree is to be specified as a
    subset of JSONPath expression.  Both bracket notation and dot notation are
    supported.  Wildcard selector is also supported.
  * orcus-json now has a lint mode to allow reformatting of a JSON document
    with custom indent length via --indent option.
* Thu Apr 10 2025 Friedrich Haubensak <hsk17@mail.de>
- add liborcus-0.19.2-gcc15-cstdint.patch to fix gcc15 compile time
  error
Version: 0.19.2-bp160.1.14
* Tue Aug 06 2024 Martin Jambor <mjambor@suse.com>
- On 32bit x86 architectures, compile with option -ffloat-store.  This
  mitigates the unfortunate fact that the test-suite of the package
  expects the precision of FP operations to be lower than that of
  internal representation of 80387.
* Thu Feb 29 2024 pgajdos@suse.com
- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN
* Mon Jan 08 2024 Danilo Spinella <danilo.spinella@suse.com>
- Update to orcus 0.19.2:
  * fixed a build issue with gcc 14 due to a missing include for std::find_if
    and std::for_each.
  * fixed a segmentation fault with the orcus-test-xml-mapped test which
    manifested on hppa hardware, as originally reported on
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054376.
  * fixed a crash when loading a document that includes a style record
    referencing an unnamed style record as its parent.  In Excel-generated
    documents, styles only reference named styles as their parents.  But in
    3rd-party generated documents, styles referencing unnamed styles as their
    parents can occur.
  * fixed a crash when the document model returned a null pointer when a
    reference resolver interface was requested.
- Update to orcus 0.19.1:
  * implemented orcus::create_filter() which instantiates a filter object of
    specified type.  The returned object is of type
    orcus::iface::import_filter.
  * moved test cases for format detection to the respective filter test files.
  * fixed a bug where the import filter did not set the formula grammer prior
    to importing.
- Update to orcus 0.19.0:
  * added support for allowing use of std::filesystem,
    std::experimental::filesystem or boost::filesystem per build
    configuration.
  * refactored styles import to use style indices returned by the document
    model implementer rather than using the indices stored in the file.  This
    allows the implementer to aggregate some style records and re-use the same
    index for records that are stored as different records in the original
    file.
  * fixed a bug where column styles were not applied to the correct columns
    when the starting column index was not 0.
  * overhauled the Gnumeric import filter to fix many bugs and support many
    missing features relative to the other filters included in orcus.  Most
    notable mentions are:
  * cell styles
  * rich-text strings
  * named ranges
  * row heights and column widths
  * merged cells
  * added partial support for Apache Parquet import filter.  This is still
    heavily experimental.
- Remove patches:
  * 0001-Possibility-to-build-against-a-host-of-filesystem-im.patch (upstreamed)
  * 0002-Allow-using-older-boost-filesystem.patch
* Fri Aug 11 2023 Fridrich Strba <fstrba@suse.com>
- Removed patches:
  * liborcus-filesystem.patch
  * liborcus-tests.patch
    + reworked in order to send them upstream
- Added patches:
  * 0001-Possibility-to-build-against-a-host-of-filesystem-im.patch
  * 0003-Allow-running-tests-with-python-3.4.patch
  * 0002-Allow-using-older-boost-filesystem.patch
    + split into chunks per topic so that upsteam can decide what
    to do
* Thu Aug 10 2023 Fridrich Strba <fstrba@suse.com>
- Clean up the spec file and require gcc-c++ >= 7, since that is the
  first version that supports C++17
- Run tests on all distributions and architectures
  * Allow disabling them on command line by specifying
    "--without tests"
- Changed patch:
  * no-std-filesystem.patch -> liborcus-filesystem.patch
    + rework the patch to detect std::filesystem,
    std::experimental::filesystem and boost::filesystem (in that
    order, and use them if found)
- Added patch:
  * liborcus-tests.patch
    + fix tests on all platforms
    + do not use C++20 features with the
    boost::filesystem::directory_iterator
    + do not assume that pathlib integrates seamlessly with open
    and do not use f-string formating, both being python 3.6+
    features
* Thu Jun 29 2023 Danilo Spinella <danilo.spinella@suse.com>
- Update to 0.18.1:
  * sax parser:
  * added support for optionally skipping multiple BOM's in the beginning of
    XML stream.  This affects all XML-based file format filters such as
    xls-xml (aka Excel 2003 XML).
  * xml-map:
  * fixed a bug where an XML document consisting of simple single-column
    records were not properly converted to sheet data.
  * xls-xml:
  * fixed a bug where the filter would always pass border color even when it
    was not set.
  * buildsystem:
  * added new configure switches --without-benchmark and --without-doc-example
    to optinally skip building of these two directories.
- Remove patch gcc13-fix.patch
* Fri Mar 10 2023 Martin Liška <mliska@suse.cz>
- Use -fexcess-precision=fast in order to support GCC compiler:
  https://gcc.gnu.org/gcc-13/porting_to.html#excess-precision.
  Fixes: https://gitlab.com/orcus/orcus/-/issues/175
* Mon Mar 06 2023 Martin Liška <mliska@suse.cz>
- Add include fix gcc13-fix.patch for GCC 13 compiler.
* Thu Jan 27 2022 Fridrich Strba <fstrba@suse.com>
- Added patch:
  * no-std-filesystem.patch
    + use boost::filesystem instead of std::filesystem, in order to
    allow building with older compilers
* Wed Jan 26 2022 Danilo Spinella <danilo.spinella@suse.com>
- 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.
Version: 0.16.1-bp153.1.7
* Tue Feb 09 2021 Christophe Giboudeaux <christophe@krop.fr>
- Add upstream changes to fix build with GCC 11 (boo#1181872):
  * GCC11_build_fixes.patch
* Wed Oct 14 2020 Tomá? Chvátal <tchvatal@suse.com>
- Update to 0.16.1:
  * match up with ixion 0.16 release
* Mon Mar 30 2020 Tomá? Chvátal <tchvatal@suse.com>
- Update to 0.15.4:
  * Bugfixes release
Version: 0.15.3-bp152.1.19
* Fri Oct 11 2019 Tomá? Chvátal <tchvatal@suse.com>
- Update to 0.15.3:
  * Minor fixes around fixing various xml related bugs
* Fri Aug 23 2019 Tomá? Chvátal <tchvatal@suse.com>
- Update to 0.15.1:
  * minor bugfixes after the 0.15.0 was released
- Remove merged patches
  * fix-linking.patch
  * 32bit.patch
* Fri Aug 16 2019 Tomá? Chvátal <tchvatal@suse.com>
- Fix building on SLE12
- Add patches to fix 32bit build:
  * fix-linking.patch
  * 32bit.patch
* Thu Aug 15 2019 Jonathan Brielmaier <jbrielmaier@suse.de>
- Update to version 0.15.0:
  * Various performance improvements
  * Multiple parser issues fixed
  * Map and structure mode added to orcus-json
  * Other improvements and fixes
- bump required versions of mdds and libixion
* Thu Mar 07 2019 Adam Majer <adam.majer@suse.de>
- Add missing dependency on libboost_system-devel
* Thu Nov 15 2018 Tomá? Chvátal <tchvatal@suse.com>
- Version update to 0.14.1:
  * addressed a number of coverity issues.
  * Boost 1.67 support
    + Drop patch boost_1_67.patch
  * Various cell handling issues fixed
* Wed May 23 2018 adam.majer@suse.de
- boost_1_67.patch: fix building with Boost 1.67 (bsc#1089811)
* Tue Feb 27 2018 tchvatal@suse.com
- Version updat eto 0.13.4:
  * Various false positive fixes in detection of xml files
* Thu Feb 15 2018 tchvatal@suse.com
- Version update to 0.13.3:
  * Various improvements in 2003 XML imports
- Rename name-python3 to python3-name to match other python modules
* Tue Jan 30 2018 tchvatal@suse.com
- Version update to 0.13.2:
  * Various small fixes
  * Improvements in Excel 2003 XML import iflter
* Fri Jan 05 2018 tchvatal@suse.com
- Fix python-xml dep to properly state python3-xml
* Thu Dec 14 2017 tchvatal@suse.com
- Switch license to MPL-2.0
* Wed Nov 29 2017 tchvatal@suse.com
- Update to 0.13.1:
  * Required by libreoffice 6.0
  * Fixes many crashers
  * Speedup improvements
  * More features for xslx importer
* Wed Feb 01 2017 adam.majer@suse.de
- use individual libboost-*-devel packages instead of boost-devel
* Sat Dec 03 2016 tchvatal@suse.com
- Version update to 0.12.1 as required by lo 5.3
* Wed May 25 2016 tchvatal@suse.com
- Version update to 0.11.2:
  * Fix build with mdds 1.2
  * few small fixes
* Wed May 25 2016 dimstar@opensuse.org
- Changes from version 0.11.1:
  + Fix for OSX build inside LibreOffice.
  + Boost.Filesystem is needed uncoditionally.
* Thu May 12 2016 tchvatal@suse.com
- Fix libixion -> liborcus typo
* Thu May 05 2016 tchvatal@suse.com
- Coflict with liborcus-0_10-0
* Tue Mar 08 2016 fstrba@suse.com
- Change package name to correspond to the soname  of the
  libraries provided.