pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/orcus
Module Name: pkgsrc
Committed By: mef
Date: Wed Jan 28 22:00:21 UTC 2026
Modified Files:
pkgsrc/converters/orcus: Makefile
Log Message:
(converters/orcus) Updated to 0.21.0, with asking at least gcc12
(previous commit was missing following log, sorry)
* 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)
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/converters/orcus/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/converters/orcus/Makefile
diff -u pkgsrc/converters/orcus/Makefile:1.54 pkgsrc/converters/orcus/Makefile:1.55
--- pkgsrc/converters/orcus/Makefile:1.54 Wed Jan 28 21:54:07 2026
+++ pkgsrc/converters/orcus/Makefile Wed Jan 28 22:00:21 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2026/01/28 21:54:07 mef Exp $
+# $NetBSD: Makefile,v 1.55 2026/01/28 22:00:21 mef Exp $
DISTNAME= liborcus-0.21.0
PKGNAME= ${DISTNAME:S/liborcus/orcus/}
@@ -16,6 +16,7 @@ USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
+# with gcc 7.5, we have following line:
# stream.cpp:191:44: required from here
# /usr/include/g++/bits/unique_ptr.h:821:30: error: no matching function for call to 'orcus::file_content::impl::impl(std::basic_string_view<char16_t>&)'
# { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
Home |
Main Index |
Thread Index |
Old Index