git: 16870dab1e6a - main - databases/tiledb: Update to 2.4.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 05:49:24 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16870dab1e6a19573334948f4ae2b9dcffbfb124

commit 16870dab1e6a19573334948f4ae2b9dcffbfb124
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-13 05:35:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-13 05:35:54 +0000

    databases/tiledb: Update to 2.4.0
    
    Changes:        https://github.com/TileDB-Inc/TileDB/releases
---
 databases/tiledb/Makefile                           | 12 ++++++------
 databases/tiledb/distinfo                           |  6 +++---
 databases/tiledb/files/patch-tiledb-common-logger.h | 10 +++++-----
 databases/tiledb/pkg-plist                          |  5 +++++
 4 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/databases/tiledb/Makefile b/databases/tiledb/Makefile
index 1b156f3edb2b..2c479ea892a5 100644
--- a/databases/tiledb/Makefile
+++ b/databases/tiledb/Makefile
@@ -1,8 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	tiledb
-PORTVERSION=	2.2.9
-PORTREVISION=	1
+PORTVERSION=	2.4.0
 CATEGORIES=	databases
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -12,19 +11,20 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${RUN_DEPENDS}
-LIB_DEPENDS=	libfmt.so:devel/libfmt \
+LIB_DEPENDS=	libcapnp.so:devel/capnproto080 \
+		libfmt.so:devel/libfmt \
 		liblz4.so:archivers/liblz4 \
 		libzstd.so:archivers/zstd
 RUN_DEPENDS=	catch>=0:devel/catch \
 		clipp>=0:devel/clipp \
 		spdlog>=1.4:devel/spdlog
 
-USES=		cmake compiler:c++11-lang localbase:ldflags ssl
+USES=		cmake compiler:c++17-lang localbase:ldflags pkgconfig ssl
 
 CFLAGS+=	-DSPDLOG_FMT_EXTERNAL=1
 CMAKE_ARGS=	-DCATCH_INCLUDE_DIR=${LOCALBASE}/include/catch2
-CMAKE_OFF=	TILEDB_CMAKE_IDE TILEDB_FORCE_ALL_DEPS TILEDB_HDFS TILEDB_S3 TILEDB_SUPERBUILD TILEDB_TBB TILEDB_TBB_SHARED TILEDB_TESTS_AWS_S3_CONFIG TILEDB_VERBOSE TILEDB_WERROR
-CMAKE_ON=	TILEDB_CPP_API TILEDB_STATIC TILEDB_STATS TILEDB_TESTS TILEDB_TOOLS
+CMAKE_OFF=	TILEDB_ALLOW_REGEX_CHAR_PATH TILEDB_ARROW_TESTS TILEDB_AZURE TILEDB_CMAKE_IDE TILEDB_FORCE_ALL_DEPS TILEDB_GCS TILEDB_HDFS TILEDB_MEMFS TILEDB_S3 TILEDB_SKIP_S3AWSSDK_DIR_LENGTH_CHECK TILEDB_SUPERBUILD TILEDB_TESTS_AWS_S3_CONFIG TILEDB_TESTS_ENABLE_REST TILEDB_VERBOSE TILEDB_WERROR
+CMAKE_ON=	TILEDB_CCACHE TILEDB_CPP_API TILEDB_LOG_OUTPUT_ON_FAILURE TILEDB_SERIALIZATION TILEDB_STATIC TILEDB_STATS TILEDB_TESTS TILEDB_TOOLS
 LDFLAGS+=	-lfmt
 
 GH_ACCOUNT=	TileDB-Inc
diff --git a/databases/tiledb/distinfo b/databases/tiledb/distinfo
index 7d9ccedabe60..202473a07e6e 100644
--- a/databases/tiledb/distinfo
+++ b/databases/tiledb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620928561
-SHA256 (TileDB-Inc-TileDB-2.2.9_GH0.tar.gz) = e5460824e32b5ce19800b183ac748624de30cab6a8de3c1c580789c7d4fd10a5
-SIZE (TileDB-Inc-TileDB-2.2.9_GH0.tar.gz) = 1865183
+TIMESTAMP = 1632773616
+SHA256 (TileDB-Inc-TileDB-2.4.0_GH0.tar.gz) = 0121ac3fea117dd33c963ac2a3848f6e350af9533b19fedac9661b51bfebc913
+SIZE (TileDB-Inc-TileDB-2.4.0_GH0.tar.gz) = 2075836
diff --git a/databases/tiledb/files/patch-tiledb-common-logger.h b/databases/tiledb/files/patch-tiledb-common-logger.h
index 8e18c0e2f4c8..ef53d68bcbd1 100644
--- a/databases/tiledb/files/patch-tiledb-common-logger.h
+++ b/databases/tiledb/files/patch-tiledb-common-logger.h
@@ -1,10 +1,10 @@
---- tiledb/common/logger.h.orig	2021-01-07 18:31:04 UTC
+--- tiledb/common/logger.h.orig	2021-09-08 12:12:06 UTC
 +++ tiledb/common/logger.h
-@@ -37,6 +37,7 @@
+@@ -52,6 +52,7 @@
+ #define TILEDB_LOGGER_H
  
- #include <spdlog/fmt/ostr.h>
  #include <spdlog/spdlog.h>
 +#include <spdlog/sinks/stdout_color_sinks.h>
+ #include <sstream>
  
- #include "tiledb/common/status.h"
- 
+ #include "tiledb/common/heap_memory.h"
diff --git a/databases/tiledb/pkg-plist b/databases/tiledb/pkg-plist
index 843907113f51..37f377afc1c0 100644
--- a/databases/tiledb/pkg-plist
+++ b/databases/tiledb/pkg-plist
@@ -1,5 +1,6 @@
 include/tiledb/array.h
 include/tiledb/array_schema.h
+include/tiledb/array_schema_evolution.h
 include/tiledb/arrow_io_impl.h
 include/tiledb/arrowio
 include/tiledb/attribute.h
@@ -17,12 +18,16 @@ include/tiledb/group.h
 include/tiledb/object.h
 include/tiledb/object_iter.h
 include/tiledb/query.h
+include/tiledb/query_condition.h
 include/tiledb/schema_base.h
 include/tiledb/stats.h
 include/tiledb/tiledb
 include/tiledb/tiledb.h
 include/tiledb/tiledb_enum.h
+include/tiledb/tiledb_experimental
+include/tiledb/tiledb_experimental.h
 include/tiledb/tiledb_export.h
+include/tiledb/tiledb_serialization.h
 include/tiledb/tiledb_version.h
 include/tiledb/type.h
 include/tiledb/utils.h