notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Current status

The server has been repaired, with a new power supply, for $23. I am waiting for lower COVID rates before visiting the datacenter to return it.
User login/updates are disabled as part of transition to git. Read details in our recent bog post - this is the old server.
Port details
s2 S2 Geometry Library
0.9.0 graphics on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.9.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-09-12 12:07:17
Last Update: 2021-03-03 18:07:25
SVN Revision: 567118
License: APACHE20
Description:
SVNWeb : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (183 items)
Collapse this list.
  1. /usr/local/share/licenses/s2-0.9.0/catalog.mk
  2. /usr/local/share/licenses/s2-0.9.0/LICENSE
  3. /usr/local/share/licenses/s2-0.9.0/APACHE20
  4. include/s2/_fp_contract_off.h
  5. include/s2/base/casts.h
  6. include/s2/base/commandlineflags.h
  7. include/s2/base/integral_types.h
  8. include/s2/base/log_severity.h
  9. include/s2/base/logging.h
  10. include/s2/base/mutex.h
  11. include/s2/base/port.h
  12. include/s2/base/spinlock.h
  13. include/s2/encoded_s2cell_id_vector.h
  14. include/s2/encoded_s2point_vector.h
  15. include/s2/encoded_s2shape_index.h
  16. include/s2/encoded_string_vector.h
  17. include/s2/encoded_uint_vector.h
  18. include/s2/id_set_lexicon.h
  19. include/s2/mutable_s2shape_index.h
  20. include/s2/r1interval.h
  21. include/s2/r2.h
  22. include/s2/r2rect.h
  23. include/s2/s1angle.h
  24. include/s2/s1chord_angle.h
  25. include/s2/s1interval.h
  26. include/s2/s2boolean_operation.h
  27. include/s2/s2builder.h
  28. include/s2/s2builder_graph.h
  29. include/s2/s2builder_layer.h
  30. include/s2/s2builderutil_closed_set_normalizer.h
  31. include/s2/s2builderutil_find_polygon_degeneracies.h
  32. include/s2/s2builderutil_graph_shape.h
  33. include/s2/s2builderutil_lax_polygon_layer.h
  34. include/s2/s2builderutil_s2point_vector_layer.h
  35. include/s2/s2builderutil_s2polygon_layer.h
  36. include/s2/s2builderutil_s2polyline_layer.h
  37. include/s2/s2builderutil_s2polyline_vector_layer.h
  38. include/s2/s2builderutil_snap_functions.h
  39. include/s2/s2builderutil_testing.h
  40. include/s2/s2cap.h
  41. include/s2/s2cell.h
  42. include/s2/s2cell_id.h
  43. include/s2/s2cell_index.h
  44. include/s2/s2cell_union.h
  45. include/s2/s2centroids.h
  46. include/s2/s2closest_cell_query.h
  47. include/s2/s2closest_cell_query_base.h
  48. include/s2/s2closest_edge_query.h
  49. include/s2/s2closest_edge_query_base.h
  50. include/s2/s2closest_point_query.h
  51. include/s2/s2closest_point_query_base.h
  52. include/s2/s2contains_point_query.h
  53. include/s2/s2contains_vertex_query.h
  54. include/s2/s2convex_hull_query.h
  55. include/s2/s2coords.h
  56. include/s2/s2coords_internal.h
  57. include/s2/s2crossing_edge_query.h
  58. include/s2/s2debug.h
  59. include/s2/s2distance_target.h
  60. include/s2/s2earth.h
  61. include/s2/s2edge_clipping.h
  62. include/s2/s2edge_crosser.h
  63. include/s2/s2edge_crossings.h
  64. include/s2/s2edge_distances.h
  65. include/s2/s2edge_tessellator.h
  66. include/s2/s2edge_vector_shape.h
  67. include/s2/s2error.h
  68. include/s2/s2furthest_edge_query.h
  69. include/s2/s2latlng.h
  70. include/s2/s2latlng_rect.h
  71. include/s2/s2latlng_rect_bounder.h
  72. include/s2/s2lax_loop_shape.h
  73. include/s2/s2lax_polygon_shape.h
  74. include/s2/s2lax_polyline_shape.h
  75. include/s2/s2loop.h
  76. include/s2/s2loop_measures.h
  77. include/s2/s2max_distance_targets.h
  78. include/s2/s2measures.h
  79. include/s2/s2metrics.h
  80. include/s2/s2min_distance_targets.h
  81. include/s2/s2padded_cell.h
  82. include/s2/s2point.h
  83. include/s2/s2point_compression.h
  84. include/s2/s2point_index.h
  85. include/s2/s2point_region.h
  86. include/s2/s2point_span.h
  87. include/s2/s2point_vector_shape.h
  88. include/s2/s2pointutil.h
  89. include/s2/s2polygon.h
  90. include/s2/s2polyline.h
  91. include/s2/s2polyline_alignment.h
  92. include/s2/s2polyline_measures.h
  93. include/s2/s2polyline_simplifier.h
  94. include/s2/s2predicates.h
  95. include/s2/s2projections.h
  96. include/s2/s2r2rect.h
  97. include/s2/s2region.h
  98. include/s2/s2region_coverer.h
  99. include/s2/s2region_intersection.h
  100. include/s2/s2region_term_indexer.h
  101. include/s2/s2region_union.h
  102. include/s2/s2shape.h
  103. include/s2/s2shape_index.h
  104. include/s2/s2shape_index_buffered_region.h
  105. include/s2/s2shape_index_region.h
  106. include/s2/s2shape_measures.h
  107. include/s2/s2shapeutil_build_polygon_boundaries.h
  108. include/s2/s2shapeutil_coding.h
  109. include/s2/s2shapeutil_contains_brute_force.h
  110. include/s2/s2shapeutil_count_edges.h
  111. include/s2/s2shapeutil_edge_iterator.h
  112. include/s2/s2shapeutil_get_reference_point.h
  113. include/s2/s2shapeutil_range_iterator.h
  114. include/s2/s2shapeutil_shape_edge.h
  115. include/s2/s2shapeutil_shape_edge_id.h
  116. include/s2/s2shapeutil_testing.h
  117. include/s2/s2shapeutil_visit_crossing_edge_pairs.h
  118. include/s2/s2testing.h
  119. include/s2/s2text_format.h
  120. include/s2/s2wedge_relations.h
  121. include/s2/sequence_lexicon.h
  122. include/s2/strings/ostringstream.h
  123. include/s2/third_party/absl/algorithm/algorithm.h
  124. include/s2/third_party/absl/base/attributes.h
  125. include/s2/third_party/absl/base/casts.h
  126. include/s2/third_party/absl/base/config.h
  127. include/s2/third_party/absl/base/dynamic_annotations.h
  128. include/s2/third_party/absl/base/internal/identity.h
  129. include/s2/third_party/absl/base/internal/inline_variable.h
  130. include/s2/third_party/absl/base/internal/invoke.h
  131. include/s2/third_party/absl/base/internal/throw_delegate.h
  132. include/s2/third_party/absl/base/internal/unaligned_access.h
  133. include/s2/third_party/absl/base/log_severity.h
  134. include/s2/third_party/absl/base/macros.h
  135. include/s2/third_party/absl/base/optimization.h
  136. include/s2/third_party/absl/base/policy_checks.h
  137. include/s2/third_party/absl/base/port.h
  138. include/s2/third_party/absl/base/thread_annotations.h
  139. include/s2/third_party/absl/container/inlined_vector.h
  140. include/s2/third_party/absl/container/internal/compressed_tuple.h
  141. include/s2/third_party/absl/container/internal/container_memory.h
  142. include/s2/third_party/absl/container/internal/layout.h
  143. include/s2/third_party/absl/memory/memory.h
  144. include/s2/third_party/absl/meta/type_traits.h
  145. include/s2/third_party/absl/numeric/int128.h
  146. include/s2/third_party/absl/numeric/int128_have_intrinsic.inc
  147. include/s2/third_party/absl/numeric/int128_no_intrinsic.inc
  148. include/s2/third_party/absl/strings/numbers.h
  149. include/s2/third_party/absl/strings/str_cat.h
  150. include/s2/third_party/absl/strings/string_view.h
  151. include/s2/third_party/absl/types/span.h
  152. include/s2/third_party/absl/utility/utility.h
  153. include/s2/util/bits/bits.h
  154. include/s2/util/coding/coder.h
  155. include/s2/util/coding/varint.h
  156. include/s2/util/endian/endian.h
  157. include/s2/util/gtl/btree.h
  158. include/s2/util/gtl/btree_container.h
  159. include/s2/util/gtl/btree_map.h
  160. include/s2/util/gtl/btree_set.h
  161. include/s2/util/gtl/compact_array.h
  162. include/s2/util/gtl/container_logging.h
  163. include/s2/util/gtl/dense_hash_set.h
  164. include/s2/util/gtl/densehashtable.h
  165. include/s2/util/gtl/hashtable_common.h
  166. include/s2/util/gtl/layout.h
  167. include/s2/util/hash/mix.h
  168. include/s2/util/math/mathutil.h
  169. include/s2/util/math/matrix3x3.h
  170. include/s2/util/math/vector.h
  171. include/s2/util/math/vector3_hash.h
  172. include/s2/util/units/length-units.h
  173. include/s2/util/units/physical-units.h
  174. include/s2/value_lexicon.h
  175. lib/libs2.so
  176. lib/libs2testing.a
  177. share/examples/s2/point_index
  178. share/examples/s2/point_index.cc
  179. share/examples/s2/term_index
  180. share/examples/s2/term_index.cc
  181. @owner
  182. @group
  183. @mode
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • s2>0:graphics/s2
  • For LIB depends:
    • libs2.so:graphics/s2
To install the port: cd /usr/ports/graphics/s2/ && make install clean
To add the package: pkg install s2
PKGNAME: s2
Flavors: there is no flavor information for this port.
NOT_FOR_ARCHS: i386
distinfo:
Packages: (move your mouse over the cells for more information)
s2
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd640.9.00.9.0
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-0.9.0
FreeBSD:12:amd640.9.00.9.0
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.9.0
FreeBSD:13:aarch640.9.00.9.0
FreeBSD:13:amd640.9.00.9.0
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc640.9.00.9.0
FreeBSD:14:aarch640.9.0-
FreeBSD:14:amd640.9.0-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc640.9.0-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake
  2. ninja : devel/ninja
Library dependencies:
  1. libgtest.so : devel/googletest
  2. libgflags.so : devel/gflags
  3. libglog.so : devel/glog
This port is required by:
for Build
  1. graphics/py-s2
for Libraries
  1. graphics/py-s2

Configuration Options

USES:

Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/google/s2geometry/tar.gz/v0.9.0?dummy=/
Collapse this list.
Port Moves
  • port moved here from math/s2geometry on 2021-03-22
    REASON: Remove duplicate port

Number of commits found: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
03 Mar 2021 18:07:25
Original commit files touched by this commit  0.9.0
Revision:567118
sunpoet search for other commits by this committer
Do not build this port on i386
26 Jan 2021 17:21:34
Original commit files touched by this commit  0.9.0
Revision:562737
sunpoet search for other commits by this committer
Clean up Makefile
15 Nov 2020 18:13:37
Original commit files touched by this commit  0.9.0
Revision:555412
sunpoet search for other commits by this committer
Fix build on aarch64

PR:		251057
Submitted by:	mikael
29 Oct 2020 17:28:58
Original commit files touched by this commit  0.9.0
Revision:553629
pkubaj search for other commits by this committer
graphics/s2: fix build on powerpc64

Specifically optimize for POWER7 or later:
/wrkdirs/usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/util/bits/bits.h:509:19:
error: this builtin is only valid on POWER7 or later CPUs
  uint64 result = __builtin_bpermd(0x3f3e3d3c3b3a3938, temp);
13 Sep 2020 19:43:08
Original commit files touched by this commit  0.9.0
Revision:548518
sunpoet search for other commits by this committer
Disable swig/python detection explicitly
12 Sep 2020 12:07:05
Original commit files touched by this commit  0.9.0
Revision:548311
sunpoet search for other commits by this committer
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

Number of commits found: 6

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
Security Policy
Privacy
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
samba411Mar 28
samba412Mar 28
samba413Mar 28
linux-c7-nettleMar 27
nettleMar 27
opensslMar 26
spamassassinMar 24
giteaMar 23
giteaMar 21
dnsmasqMar 18
dnsmasq-develMar 18
gitlab-ceMar 18
minioMar 17
chromiumMar 16
libresslMar 16

12 vulnerabilities affecting 72 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2021-03-28 22:40:29


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 42809
Broken 73
Deprecated 286
Ignore 313
Forbidden 4
Restricted 137
No CDROM 71
Vulnerable 22
Expired 118
Set to expire 262
Interactive 0
new 24 hours 0
new 48 hours0
new 7 days0
new fortnight0
new month49

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2021 Dan Langille. All rights reserved.