git: 997ebca26889 - main - graphics/s2: Update to 0.12.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 19 Feb 2025 11:57:58 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=997ebca268896d7731d3af0b25a1593567910f8e

commit 997ebca268896d7731d3af0b25a1593567910f8e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-19 11:53:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-19 11:53:57 +0000

    graphics/s2: Update to 0.12.0
    
    Changes:        https://github.com/google/s2geometry/releases
---
 graphics/s2/Makefile  |  7 ++++---
 graphics/s2/distinfo  |  6 +++---
 graphics/s2/pkg-plist | 19 +++++++++++++++++--
 3 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/graphics/s2/Makefile b/graphics/s2/Makefile
index 762feb8ad7d8..a66545eeb9c5 100644
--- a/graphics/s2/Makefile
+++ b/graphics/s2/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	s2
-PORTVERSION=	0.11.1
+PORTVERSION=	0.12.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	4
 CATEGORIES=	graphics
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -20,7 +19,9 @@ LIB_DEPENDS=	libabsl_base.so:devel/abseil
 USES=		cmake compiler:c++17-lang localbase ssl
 
 CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=17
-CMAKE_OFF=	BUILD_TESTS S2_USE_SYSTEM_INCLUDES WITH_PYTHON
+CMAKE_OFF=	BUILD_TESTS \
+		S2_USE_SYSTEM_INCLUDES \
+		WITH_PYTHON
 CMAKE_ON=	BUILD_SHARED_LIBS
 USE_LDCONFIG=	yes
 
diff --git a/graphics/s2/distinfo b/graphics/s2/distinfo
index 47966dbe5f20..4434f099c4c6 100644
--- a/graphics/s2/distinfo
+++ b/graphics/s2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708448986
-SHA256 (google-s2geometry-v0.11.1_GH0.tar.gz) = bdbeb8ebdb88fa934257caf81bb44b55711617a3ab4fdec2c3cfd6cc31b61734
-SIZE (google-s2geometry-v0.11.1_GH0.tar.gz) = 1180820
+TIMESTAMP = 1739930146
+SHA256 (google-s2geometry-v0.12.0_GH0.tar.gz) = c09ec751c3043965a0d441e046a73c456c995e6063439a72290f661c1054d611
+SIZE (google-s2geometry-v0.12.0_GH0.tar.gz) = 1279719
diff --git a/graphics/s2/pkg-plist b/graphics/s2/pkg-plist
index 05ce02b516ed..5bf1874c6bf0 100644
--- a/graphics/s2/pkg-plist
+++ b/graphics/s2/pkg-plist
@@ -2,17 +2,22 @@ include/s2/_fp_contract_off.h
 include/s2/base/casts.h
 include/s2/base/commandlineflags.h
 include/s2/base/commandlineflags_declare.h
-include/s2/base/integral_types.h
 include/s2/base/log_severity.h
-include/s2/base/logging.h
+include/s2/base/malloc_extension.h
 include/s2/base/port.h
 include/s2/base/spinlock.h
+include/s2/base/types.h
 include/s2/encoded_s2cell_id_vector.h
 include/s2/encoded_s2point_vector.h
 include/s2/encoded_s2shape_index.h
 include/s2/encoded_string_vector.h
 include/s2/encoded_uint_vector.h
+include/s2/gmock_matchers.h
 include/s2/id_set_lexicon.h
+include/s2/internal/s2disjoint_set.h
+include/s2/internal/s2incident_edge_tracker.h
+include/s2/internal/s2index_cell_data.h
+include/s2/internal/s2meta.h
 include/s2/mutable_s2shape_index.h
 include/s2/r1interval.h
 include/s2/r2.h
@@ -46,6 +51,7 @@ include/s2/s2cell_iterator_join.h
 include/s2/s2cell_range_iterator.h
 include/s2/s2cell_union.h
 include/s2/s2centroids.h
+include/s2/s2chain_interpolation_query.h
 include/s2/s2closest_cell_query.h
 include/s2/s2closest_cell_query_base.h
 include/s2/s2closest_edge_query.h
@@ -60,6 +66,8 @@ include/s2/s2coords.h
 include/s2/s2coords_internal.h
 include/s2/s2crossing_edge_query.h
 include/s2/s2debug.h
+include/s2/s2density_tree.h
+include/s2/s2density_tree_internal.h
 include/s2/s2distance_target.h
 include/s2/s2earth.h
 include/s2/s2edge_clipping.h
@@ -70,6 +78,7 @@ include/s2/s2edge_distances.h
 include/s2/s2edge_tessellator.h
 include/s2/s2edge_vector_shape.h
 include/s2/s2error.h
+include/s2/s2fractal.h
 include/s2/s2furthest_edge_query.h
 include/s2/s2hausdorff_distance_query.h
 include/s2/s2latlng.h
@@ -102,9 +111,11 @@ include/s2/s2predicates.h
 include/s2/s2predicates_internal.h
 include/s2/s2projections.h
 include/s2/s2r2rect.h
+include/s2/s2random.h
 include/s2/s2region.h
 include/s2/s2region_coverer.h
 include/s2/s2region_intersection.h
+include/s2/s2region_sharder.h
 include/s2/s2region_term_indexer.h
 include/s2/s2region_union.h
 include/s2/s2shape.h
@@ -118,7 +129,9 @@ include/s2/s2shapeutil_coding.h
 include/s2/s2shapeutil_contains_brute_force.h
 include/s2/s2shapeutil_conversion.h
 include/s2/s2shapeutil_count_edges.h
+include/s2/s2shapeutil_count_vertices.h
 include/s2/s2shapeutil_edge_iterator.h
+include/s2/s2shapeutil_edge_wrap.h
 include/s2/s2shapeutil_get_reference_point.h
 include/s2/s2shapeutil_shape_edge.h
 include/s2/s2shapeutil_shape_edge_id.h
@@ -126,6 +139,7 @@ include/s2/s2shapeutil_testing.h
 include/s2/s2shapeutil_visit_crossing_edge_pairs.h
 include/s2/s2testing.h
 include/s2/s2text_format.h
+include/s2/s2validation_query.h
 include/s2/s2wedge_relations.h
 include/s2/s2winding_operation.h
 include/s2/s2wrapped_shape.h
@@ -156,5 +170,6 @@ lib/libs2.so.%%PORTVERSION%%
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/point_index.cc
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/term_index.cc
 %%DATADIR%%/s2Config.cmake
+%%DATADIR%%/s2ConfigVersion.cmake
 %%DATADIR%%/s2Targets-%%CMAKE_BUILD_TYPE%%.cmake
 %%DATADIR%%/s2Targets.cmake