Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2020 12:07:05 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548311 - in head/graphics: . s2
Message-ID:  <202009121207.08CC75K5098968@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Sep 12 12:07:05 2020
New Revision: 548311
URL: https://svnweb.freebsd.org/changeset/ports/548311

Log:
  Add s2 0.9.0
  
  S2 Geometry Library 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://s2geometry.io/
  WWW: https://github.com/google/s2geometry

Added:
  head/graphics/s2/
  head/graphics/s2/Makefile   (contents, props changed)
  head/graphics/s2/distinfo   (contents, props changed)
  head/graphics/s2/pkg-descr   (contents, props changed)
  head/graphics/s2/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sat Sep 12 12:06:59 2020	(r548310)
+++ head/graphics/Makefile	Sat Sep 12 12:07:05 2020	(r548311)
@@ -964,6 +964,7 @@
     SUBDIR += rubygem-scruffy
     SUBDIR += rx
     SUBDIR += s10sh
+    SUBDIR += s2
     SUBDIR += s2tc
     SUBDIR += sage
     SUBDIR += sam2p

Added: head/graphics/s2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/s2/Makefile	Sat Sep 12 12:07:05 2020	(r548311)
@@ -0,0 +1,42 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	s2
+PORTVERSION=	0.9.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	graphics
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	S2 Geometry Library
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libgtest.so:devel/googletest
+
+USES=		cmake compiler:c++11-lang localbase ssl
+
+CMAKE_ON=	BUILD_SHARED_LIBS
+
+GH_ACCOUNT=	google
+GH_PROJECT=	s2geometry
+USE_GITHUB=	yes
+
+OPTIONS_DEFINE=	EXAMPLES GFLAGS GLOG
+OPTIONS_DEFAULT=GFLAGS GLOG
+#OPTIONS_SUB=	yes
+GFLAGS_DESC=	Use gflags to change command line flags
+GLOG_DESC=	Use glog for logging
+
+EXAMPLES_CMAKE_BOOL=	BUILD_EXAMPLES
+GFLAGS_CMAKE_BOOL=	WITH_GFLAGS
+GFLAGS_LIB_DEPENDS=	libgflags.so:devel/gflags
+GLOG_CMAKE_BOOL=	WITH_GLOG
+GLOG_LIB_DEPENDS=	libglog.so:devel/glog
+
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/examples/point_index ${INSTALL_WRKSRC}/examples/term_index ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/examples/point_index.cc ${WRKSRC}/doc/examples/term_index.cc ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>

Added: head/graphics/s2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/s2/distinfo	Sat Sep 12 12:07:05 2020	(r548311)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1599729119
+SHA256 (google-s2geometry-v0.9.0_GH0.tar.gz) = 54c09b653f68929e8929bffa60ea568e26f3b4a51e1b1734f5c3c037f1d89062
+SIZE (google-s2geometry-v0.9.0_GH0.tar.gz) = 1124554

Added: head/graphics/s2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/s2/pkg-descr	Sat Sep 12 12:07:05 2020	(r548311)
@@ -0,0 +1,7 @@
+S2 Geometry Library 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://s2geometry.io/
+WWW: https://github.com/google/s2geometry

Added: head/graphics/s2/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/s2/pkg-plist	Sat Sep 12 12:07:05 2020	(r548311)
@@ -0,0 +1,177 @@
+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/libs2testing.a
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/point_index
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/point_index.cc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/term_index
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/term_index.cc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009121207.08CC75K5098968>