130 Commits

Author SHA256 Message Date
7d73924d1e Accepting request 1307045 from LibreOffice:Factory
add bug number

OBS-URL: https://build.opensuse.org/request/show/1307045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=49
2025-09-25 16:44:20 +00:00
183476ec4b add bug number
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=129
2025-09-25 06:59:34 +00:00
7f3f727f28 Accepting request 1306497 from LibreOffice:Factory
fix build with boost 1.89+

OBS-URL: https://build.opensuse.org/request/show/1306497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=48
2025-09-23 14:06:06 +00:00
d22ef312b5 2
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=127
2025-09-22 11:40:58 +00:00
ec3391e348 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=126 2025-09-22 11:39:55 +00:00
9fe8f09a2b OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=125 2025-09-22 11:36:13 +00:00
d3d1892d21 Accepting request 1303730 from LibreOffice:Factory
Fix build error for Leap

OBS-URL: https://build.opensuse.org/request/show/1303730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=47
2025-09-11 12:38:21 +00:00
307afefa13 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=123 2025-09-10 21:41:06 +00:00
8f64f10558 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=122 2025-09-10 21:17:48 +00:00
2680b25088 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=121 2025-09-10 20:40:05 +00:00
687e7996db OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=120 2025-09-10 20:34:48 +00:00
7cd2e3e8e1 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=119 2025-09-10 20:24:02 +00:00
17f07150ec - Fix build error for Leap.
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=118
2025-09-10 20:12:01 +00:00
e4d6b322c6 Accepting request 1302129 from LibreOffice:Factory
- 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.

OBS-URL: https://build.opensuse.org/request/show/1302129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=46
2025-09-03 19:06:01 +00:00
7812f1e76a - 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.

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=116
2025-08-30 22:07:01 +00:00
0bf40d68b0 Accepting request 1274307 from LibreOffice:Factory
OBS-URL: https://build.opensuse.org/request/show/1274307
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=45
2025-05-06 14:38:38 +00:00
3e4df35fc9 add liborcus-0.19.2-gcc15-cstdint.patch to fix gcc15 compile time error
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=114
2025-05-05 04:50:04 +00:00
5a97691954 Accepting request 1191984 from LibreOffice:Factory
OBS-URL: https://build.opensuse.org/request/show/1191984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=44
2024-08-08 08:56:58 +00:00
f059213326 - 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.

The specific issue this works around popped up on i586 with GCC 14 but
is an inherent issue of the test suite of the package.

If the request is OK, please forward it to Factory soon too so that we
can switch the default compiler.  Thanks!

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=112
2024-08-06 20:12:58 +00:00
438b94737a Accepting request 1153576 from LibreOffice:Factory
OBS-URL: https://build.opensuse.org/request/show/1153576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=43
2024-03-02 22:23:10 +00:00
e7e4e20aeb Accepting request 1153561 from home:pgajdos:l
- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1153561
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=110
2024-02-29 19:04:26 +00:00
a9e785f350 Accepting request 1152885 from LibreOffice:Factory
OBS-URL: https://build.opensuse.org/request/show/1152885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=42
2024-02-28 18:44:41 +00:00
Danilo Spinella
4da6427681 Accepting request 1152882 from LibreOffice:24.2
- 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

OBS-URL: https://build.opensuse.org/request/show/1152882
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=108
2024-02-28 10:10:17 +00:00
ecb0f7c289 Accepting request 1103506 from LibreOffice:Factory
Rework to work with -no-undefined with different linkers and compilers and different filesystem

OBS-URL: https://build.opensuse.org/request/show/1103506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=41
2023-08-12 13:06:01 +00:00
6e12841b8d OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=106 2023-08-11 14:32:39 +00:00
68b9479b5b Accepting request 1103405 from LibreOffice:Factory
Clean up, fix tests on all platforms, allow building with different filesystem implementations

OBS-URL: https://build.opensuse.org/request/show/1103405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=40
2023-08-11 13:55:21 +00:00
2c598bb387 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=104 2023-08-10 22:03:02 +00:00
f38c419c7b OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=103 2023-08-10 21:49:35 +00:00
cfdfd587f2 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=102 2023-08-10 21:44:46 +00:00
d4889ebdec OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=101 2023-08-10 21:44:15 +00:00
d1aba2f14c OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=100 2023-08-10 21:33:40 +00:00
494ae88e26 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=99 2023-08-10 19:49:11 +00:00
fd6df3679b OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=98 2023-08-10 16:45:13 +00:00
1224bd2339 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=97 2023-08-10 16:29:49 +00:00
82bf74fa9d OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=96 2023-08-10 16:09:18 +00:00
a2cca95814 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=95 2023-08-10 16:08:32 +00:00
cf9a6af393 Accepting request 1101253 from LibreOffice:Factory
0.18.1

OBS-URL: https://build.opensuse.org/request/show/1101253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=39
2023-08-08 13:53:50 +00:00
Danilo Spinella
c6b4c01fe4 Accepting request 1098654 from LibreOffice:Factory
revert to 91

OBS-URL: https://build.opensuse.org/request/show/1098654
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=93
2023-07-14 10:22:30 +00:00
Danilo Spinella
03e8380892 Accepting request 1096621 from LibreOffice:Factory
revert to 89

OBS-URL: https://build.opensuse.org/request/show/1096621
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=92
2023-07-03 15:36:10 +00:00
Danilo Spinella
2225e749cb Accepting request 1096006 from home:dspinella:branches:LibreOffice:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/1096006
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=91
2023-06-29 15:31:27 +00:00
ae4545ba07 Accepting request 1071014 from LibreOffice:Factory
OBS-URL: https://build.opensuse.org/request/show/1071014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=38
2023-03-13 11:40:02 +00:00
a563bd2080 Accepting request 1070729 from home:marxin:branches:LibreOffice:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/1070729
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=89
2023-03-12 17:18:49 +00:00
7eb0cdae15 Accepting request 1069835 from LibreOffice:Factory
OBS-URL: https://build.opensuse.org/request/show/1069835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=37
2023-03-08 13:51:20 +00:00
4adf2c1b3b Accepting request 1069726 from home:marxin:branches:LibreOffice:Factory
- Add include fix gcc13-fix.patch for GCC 13 compiler.

OBS-URL: https://build.opensuse.org/request/show/1069726
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=87
2023-03-07 07:14:13 +00:00
d2a75c9c14 Accepting request 956518 from LibreOffice:Factory
- Added patch:
  * no-std-filesystem.patch
    + use boost::filesystem instead of std::filesystem, in order to
      allow building with older compilers

- 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.

- 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.

OBS-URL: https://build.opensuse.org/request/show/956518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=36
2022-02-24 17:20:10 +00:00
0ad3a2a3ad Accepting request 949465 from home:fstrba
fix build on older systems

OBS-URL: https://build.opensuse.org/request/show/949465
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=86
2022-01-27 14:35:48 +00:00
Danilo Spinella
fe8247ba2a Accepting request 949289 from home:dspinella:branches:LibreOffice:Factory
- 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.

OBS-URL: https://build.opensuse.org/request/show/949289
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=85
2022-01-26 14:52:14 +00:00
Danilo Spinella
e5cae05bf7 Accepting request 932479 from home:dspinella:branches:LibreOffice:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/932479
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=84
2021-11-19 10:46:12 +00:00
a7cc7a3534 Accepting request 894389 from LibreOffice:Factory
OBS-URL: https://build.opensuse.org/request/show/894389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liborcus?expand=0&rev=35
2021-05-20 17:23:53 +00:00
f5e6a40979 Accepting request 894367 from home:fstrba
Fix sle12 build

OBS-URL: https://build.opensuse.org/request/show/894367
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/liborcus?expand=0&rev=82
2021-05-19 15:09:11 +00:00