Compare commits
17 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7d73924d1e | |||
| 183476ec4b | |||
| 7f3f727f28 | |||
| d22ef312b5 | |||
| ec3391e348 | |||
| 9fe8f09a2b | |||
| d3d1892d21 | |||
| 307afefa13 | |||
| 8f64f10558 | |||
| 2680b25088 | |||
| 687e7996db | |||
| 7cd2e3e8e1 | |||
| 17f07150ec | |||
| e4d6b322c6 | |||
| 7812f1e76a | |||
| 0bf40d68b0 | |||
| 3e4df35fc9 |
@@ -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
3
liborcus-0.20.2.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:85fb0af34042108f2b6aa8e7f3994fe972fd79efe3f1cd01dc7a49b0ffc5ca13
|
||||
size 2265788
|
||||
106
liborcus.changes
106
liborcus.changes
@@ -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>
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user