17 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
4 changed files with 127 additions and 17 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:69ed26a00d4aaa7688e62a6e003cbc81928521a45e96605e53365aa499719e39
size 2211268

3
liborcus-0.20.2.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:85fb0af34042108f2b6aa8e7f3994fe972fd79efe3f1cd01dc7a49b0ffc5ca13
size 2265788

View File

@@ -1,3 +1,109 @@
-------------------------------------------------------------------
Mon Sep 22 11:34:57 UTC 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 20:23:47 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Use the %%gcc_version macro to detect whether gcc13 is needed
-------------------------------------------------------------------
Mon Sep 8 11:08:24 UTC 2025 - ecsos <ecsos@opensuse.org>
- Fix build error for Leap.
-------------------------------------------------------------------
Sat Aug 30 22:01:42 UTC 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 20:00:36 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- add liborcus-0.19.2-gcc15-cstdint.patch to fix gcc15 compile time
error
-------------------------------------------------------------------
Tue Aug 6 15:42:21 UTC 2024 - Martin Jambor <mjambor@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package liborcus
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,38 +17,42 @@
%{!?make_build:%global make_build make %{?_smp_mflags}}
%define libname liborcus-0_20-0
%if 0%{?gcc_version} < 13
%define with_gcc 13
%endif
%bcond_without tests
%define libname liborcus-0_18-0
Name: liborcus
Version: 0.19.2
Version: 0.20.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
Source: https://gitlab.com/api/v4/projects/orcus%%2Forcus/packages/generic/source/%{version}/%{name}-%{version}.tar.xz
Patch2: 0003-Allow-running-tests-with-python-3.4.patch
# PATCH-FIX-UPSTREAM
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: coreutils
BuildRequires: gcc%{?with_gcc}
BuildRequires: gcc%{?with_gcc}-c++
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python3-xml
BuildRequires: pkgconfig(libixion-0.18) >= 0.19.0
BuildRequires: pkgconfig(mdds-2.1) >= 2.0.99
BuildRequires: pkgconfig(libixion-0.20) >= 0.20.0
BuildRequires: pkgconfig(mdds-3.0)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} >= 1500
BuildRequires: gcc >= 7
BuildRequires: gcc-c++ >= 7
BuildRequires: libboost_date_time-devel
BuildRequires: libboost_iostreams-devel
BuildRequires: libboost_program_options-devel
%if 0%{?suse_version} <= 1550
BuildRequires: libboost_system-devel
%endif
%else
BuildRequires: boost-devel
BuildRequires: gcc7
BuildRequires: gcc7-c++
%endif
%package -n %{libname}
@@ -94,14 +98,14 @@ Python 3 bindings for %{name}.
# The test-suite of the package expects the precision of FP operations
# to be lower than that of internal representation of 80387. Use
# option -ffloat-store to mitigate that.
%ifarch i386 i486 i586 i686
%ifarch %{ix86}
%global optflags %{optflags} -ffloat-store
%endif
NOCONFIGURE=indeed ./autogen.sh
%if 0%{?suse_version} < 1500
export CC=gcc-7
export CXX=g++-7
%if 0%{?with_gcc}
export CXX=g++-%{with_gcc}
export CC=gcc-%{with_gcc}
%endif
%configure \
--disable-silent-rules \