From owner-svn-ports-all@freebsd.org Thu Mar 18 20:03:01 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51EE95AB230; Thu, 18 Mar 2021 20:03:01 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F1dHT1vy8z4h3v; Thu, 18 Mar 2021 20:03:01 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 340D327873; Thu, 18 Mar 2021 20:03:01 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12IK318G079626; Thu, 18 Mar 2021 20:03:01 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12IK30EW079619; Thu, 18 Mar 2021 20:03:00 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202103182003.12IK30EW079619@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 18 Mar 2021 20:03:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568759 - in head/math: . s2geometry s2geometry/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . s2geometry s2geometry/files X-SVN-Commit-Revision: 568759 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2021 20:03:01 -0000 Author: yuri Date: Thu Mar 18 20:02:59 2021 New Revision: 568759 URL: https://svnweb.freebsd.org/changeset/ports/568759 Log: New port: math/s2geometry: Geometry library for manipulating geometric shapes Added: head/math/s2geometry/ head/math/s2geometry/Makefile (contents, props changed) head/math/s2geometry/distinfo (contents, props changed) head/math/s2geometry/files/ head/math/s2geometry/files/patch-CMakeLists.txt (contents, props changed) head/math/s2geometry/pkg-descr (contents, props changed) head/math/s2geometry/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Thu Mar 18 20:01:10 2021 (r568758) +++ head/math/Makefile Thu Mar 18 20:02:59 2021 (r568759) @@ -923,6 +923,7 @@ SUBDIR += rubygem-prime SUBDIR += rubygem-rb-gsl SUBDIR += rumur + SUBDIR += s2geometry SUBDIR += saga SUBDIR += sage SUBDIR += sc Added: head/math/s2geometry/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/s2geometry/Makefile Thu Mar 18 20:02:59 2021 (r568759) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= s2geometry +DISTVERSIONPREFIX= v +DISTVERSION= 0.9.0-27 +DISTVERSIONSUFFIX= -g0c4c460 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Geometry library for manipulating geometric shapes + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake compiler:c++11-lang ssl +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= google + +CMAKE_OFF= BUILD_EXAMPLES + +.include Added: head/math/s2geometry/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/s2geometry/distinfo Thu Mar 18 20:02:59 2021 (r568759) @@ -0,0 +1,3 @@ +TIMESTAMP = 1616096455 +SHA256 (google-s2geometry-v0.9.0-27-g0c4c460_GH0.tar.gz) = 99e2a8d3564668e623a60c79c71409f95275d09598b75659cafc432d2f0ddfd4 +SIZE (google-s2geometry-v0.9.0-27-g0c4c460_GH0.tar.gz) = 1128790 Added: head/math/s2geometry/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/s2geometry/files/patch-CMakeLists.txt Thu Mar 18 20:02:59 2021 (r568759) @@ -0,0 +1,48 @@ +- Tests are fused with code: https://github.com/google/s2geometry/issues/179 +- Python binding is unconditional: https://github.com/google/s2geometry/issues/180 + +--- CMakeLists.txt.orig 2021-03-16 08:18:05 UTC ++++ CMakeLists.txt +@@ -65,7 +65,8 @@ find_package(Threads REQUIRED) + find_package(SWIG) + # Use Python3_ROOT_DIR to help find python3, if the correct location is not + # being found by default. +-find_package(Python3 COMPONENTS Interpreter Development) ++#find_package(Python3 COMPONENTS Interpreter Development) ++set(Python3_FOUND FALSE) + + if (WIN32) + # Use unsigned characters +@@ -200,10 +201,10 @@ add_library(s2 + src/s2/util/math/exactfloat/exactfloat.cc + src/s2/util/math/mathutil.cc + src/s2/util/units/length-units.cc) +-add_library(s2testing STATIC +- src/s2/s2builderutil_testing.cc +- src/s2/s2shapeutil_testing.cc +- src/s2/s2testing.cc) ++#add_library(s2testing STATIC ++# src/s2/s2builderutil_testing.cc ++# src/s2/s2shapeutil_testing.cc ++# src/s2/s2testing.cc) + target_link_libraries( + s2 + ${GFLAGS_LIBRARIES} ${GLOG_LIBRARIES} ${OPENSSL_LIBRARIES} +@@ -414,7 +415,7 @@ install(FILES src/s2/util/math/mathutil.h + install(FILES src/s2/util/units/length-units.h + src/s2/util/units/physical-units.h + DESTINATION include/s2/util/units) +-install(TARGETS s2 s2testing DESTINATION lib) ++install(TARGETS s2 DESTINATION lib) + + message("GTEST_ROOT: ${GTEST_ROOT}") + if (GTEST_ROOT) +@@ -529,7 +530,7 @@ if (GTEST_ROOT) + add_executable(${test} ${test_cc}) + target_link_libraries( + ${test} +- s2testing s2 gtest_main) ++ s2 gtest_main) + add_test(${test} ${test}) + endforeach() + endif() Added: head/math/s2geometry/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/s2geometry/pkg-descr Thu Mar 18 20:02:59 2021 (r568759) @@ -0,0 +1,6 @@ +s2geometry is a package for manipulating geometric shapes. Unlike many geometry +libraries, S2 is primarily designed to work with spherical geometry, i.e., +shapes drawn on a sphere rather than on a planar 2D map. This makes it +especially suitable for working with geographic data. + +WWW: https://github.com/google/s2geometry Added: head/math/s2geometry/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/s2geometry/pkg-plist Thu Mar 18 20:02:59 2021 (r568759) @@ -0,0 +1,174 @@ +include/s2/_fp_contract_off.h +include/s2/base/casts.h +include/s2/base/commandlineflags.h +include/s2/base/integral_types.h +include/s2/base/log_severity.h +include/s2/base/logging.h +include/s2/base/mutex.h +include/s2/base/port.h +include/s2/base/spinlock.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/id_set_lexicon.h +include/s2/mutable_s2shape_index.h +include/s2/r1interval.h +include/s2/r2.h +include/s2/r2rect.h +include/s2/s1angle.h +include/s2/s1chord_angle.h +include/s2/s1interval.h +include/s2/s2boolean_operation.h +include/s2/s2builder.h +include/s2/s2builder_graph.h +include/s2/s2builder_layer.h +include/s2/s2builderutil_closed_set_normalizer.h +include/s2/s2builderutil_find_polygon_degeneracies.h +include/s2/s2builderutil_graph_shape.h +include/s2/s2builderutil_lax_polygon_layer.h +include/s2/s2builderutil_s2point_vector_layer.h +include/s2/s2builderutil_s2polygon_layer.h +include/s2/s2builderutil_s2polyline_layer.h +include/s2/s2builderutil_s2polyline_vector_layer.h +include/s2/s2builderutil_snap_functions.h +include/s2/s2builderutil_testing.h +include/s2/s2cap.h +include/s2/s2cell.h +include/s2/s2cell_id.h +include/s2/s2cell_index.h +include/s2/s2cell_union.h +include/s2/s2centroids.h +include/s2/s2closest_cell_query.h +include/s2/s2closest_cell_query_base.h +include/s2/s2closest_edge_query.h +include/s2/s2closest_edge_query_base.h +include/s2/s2closest_point_query.h +include/s2/s2closest_point_query_base.h +include/s2/s2contains_point_query.h +include/s2/s2contains_vertex_query.h +include/s2/s2convex_hull_query.h +include/s2/s2coords.h +include/s2/s2coords_internal.h +include/s2/s2crossing_edge_query.h +include/s2/s2debug.h +include/s2/s2distance_target.h +include/s2/s2earth.h +include/s2/s2edge_clipping.h +include/s2/s2edge_crosser.h +include/s2/s2edge_crossings.h +include/s2/s2edge_distances.h +include/s2/s2edge_tessellator.h +include/s2/s2edge_vector_shape.h +include/s2/s2error.h +include/s2/s2furthest_edge_query.h +include/s2/s2latlng.h +include/s2/s2latlng_rect.h +include/s2/s2latlng_rect_bounder.h +include/s2/s2lax_loop_shape.h +include/s2/s2lax_polygon_shape.h +include/s2/s2lax_polyline_shape.h +include/s2/s2loop.h +include/s2/s2loop_measures.h +include/s2/s2max_distance_targets.h +include/s2/s2measures.h +include/s2/s2metrics.h +include/s2/s2min_distance_targets.h +include/s2/s2padded_cell.h +include/s2/s2point.h +include/s2/s2point_compression.h +include/s2/s2point_index.h +include/s2/s2point_region.h +include/s2/s2point_span.h +include/s2/s2point_vector_shape.h +include/s2/s2pointutil.h +include/s2/s2polygon.h +include/s2/s2polyline.h +include/s2/s2polyline_alignment.h +include/s2/s2polyline_measures.h +include/s2/s2polyline_simplifier.h +include/s2/s2predicates.h +include/s2/s2projections.h +include/s2/s2r2rect.h +include/s2/s2region.h +include/s2/s2region_coverer.h +include/s2/s2region_intersection.h +include/s2/s2region_term_indexer.h +include/s2/s2region_union.h +include/s2/s2shape.h +include/s2/s2shape_index.h +include/s2/s2shape_index_buffered_region.h +include/s2/s2shape_index_region.h +include/s2/s2shape_measures.h +include/s2/s2shapeutil_build_polygon_boundaries.h +include/s2/s2shapeutil_coding.h +include/s2/s2shapeutil_contains_brute_force.h +include/s2/s2shapeutil_count_edges.h +include/s2/s2shapeutil_edge_iterator.h +include/s2/s2shapeutil_get_reference_point.h +include/s2/s2shapeutil_range_iterator.h +include/s2/s2shapeutil_shape_edge.h +include/s2/s2shapeutil_shape_edge_id.h +include/s2/s2shapeutil_testing.h +include/s2/s2shapeutil_visit_crossing_edge_pairs.h +include/s2/s2testing.h +include/s2/s2text_format.h +include/s2/s2wedge_relations.h +include/s2/sequence_lexicon.h +include/s2/strings/ostringstream.h +include/s2/third_party/absl/algorithm/algorithm.h +include/s2/third_party/absl/base/attributes.h +include/s2/third_party/absl/base/casts.h +include/s2/third_party/absl/base/config.h +include/s2/third_party/absl/base/dynamic_annotations.h +include/s2/third_party/absl/base/internal/identity.h +include/s2/third_party/absl/base/internal/inline_variable.h +include/s2/third_party/absl/base/internal/invoke.h +include/s2/third_party/absl/base/internal/throw_delegate.h +include/s2/third_party/absl/base/internal/unaligned_access.h +include/s2/third_party/absl/base/log_severity.h +include/s2/third_party/absl/base/macros.h +include/s2/third_party/absl/base/optimization.h +include/s2/third_party/absl/base/policy_checks.h +include/s2/third_party/absl/base/port.h +include/s2/third_party/absl/base/thread_annotations.h +include/s2/third_party/absl/container/inlined_vector.h +include/s2/third_party/absl/container/internal/compressed_tuple.h +include/s2/third_party/absl/container/internal/container_memory.h +include/s2/third_party/absl/container/internal/layout.h +include/s2/third_party/absl/memory/memory.h +include/s2/third_party/absl/meta/type_traits.h +include/s2/third_party/absl/numeric/int128.h +include/s2/third_party/absl/numeric/int128_have_intrinsic.inc +include/s2/third_party/absl/numeric/int128_no_intrinsic.inc +include/s2/third_party/absl/strings/numbers.h +include/s2/third_party/absl/strings/str_cat.h +include/s2/third_party/absl/strings/string_view.h +include/s2/third_party/absl/types/span.h +include/s2/third_party/absl/utility/utility.h +include/s2/util/bits/bits.h +include/s2/util/coding/coder.h +include/s2/util/coding/varint.h +include/s2/util/endian/endian.h +include/s2/util/gtl/btree.h +include/s2/util/gtl/btree_container.h +include/s2/util/gtl/btree_map.h +include/s2/util/gtl/btree_set.h +include/s2/util/gtl/compact_array.h +include/s2/util/gtl/container_logging.h +include/s2/util/gtl/dense_hash_set.h +include/s2/util/gtl/densehashtable.h +include/s2/util/gtl/hashtable_common.h +include/s2/util/gtl/layout.h +include/s2/util/hash/mix.h +include/s2/util/math/mathutil.h +include/s2/util/math/matrix3x3.h +include/s2/util/math/vector.h +include/s2/util/math/vector3_hash.h +include/s2/util/units/length-units.h +include/s2/util/units/physical-units.h +include/s2/value_lexicon.h +lib/libs2.so +lib/libs2.so.0 +lib/libs2.so.0.10.0