git: 5ce478480eb8 - main - archivers/draco: New port: Library for compressing and decompressing 3D meshes and point clouds

Yuri Victorovich yuri at FreeBSD.org
Wed Aug 18 08:54:53 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5ce478480eb8ee78a70e7d2271df7cbcbdc3f3cf

commit 5ce478480eb8ee78a70e7d2271df7cbcbdc3f3cf
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-08-18 08:54:21 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-08-18 08:54:50 +0000

    archivers/draco: New port: Library for compressing and decompressing 3D meshes and point clouds
---
 archivers/Makefile        |   1 +
 archivers/draco/Makefile  |  22 +++++
 archivers/draco/distinfo  |   3 +
 archivers/draco/pkg-descr |   5 ++
 archivers/draco/pkg-plist | 200 ++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 231 insertions(+)

diff --git a/archivers/Makefile b/archivers/Makefile
index fca4d8a860c5..c30a768ced27 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -20,6 +20,7 @@
     SUBDIR += deco
     SUBDIR += deutex
     SUBDIR += dpkg
+    SUBDIR += draco
     SUBDIR += dzip
     SUBDIR += engrampa
     SUBDIR += erlang-snappy
diff --git a/archivers/draco/Makefile b/archivers/draco/Makefile
new file mode 100644
index 000000000000..08cff051bb9a
--- /dev/null
+++ b/archivers/draco/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	draco
+DISTVERSION=	1.4.1-28
+DISTVERSIONSUFFIX=	-g9bf5d2e
+CATEGORIES=	archivers
+PKGNAMESUFFIX=	-3d-compression
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Library for compressing and decompressing 3D meshes and point clouds
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake:testing compiler:c++11-lang
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	google
+
+CMAKE_ON=		BUILD_SHARED_LIBS
+CMAKE_TESTING_ON=	DRACO_TESTS # tests don't compile: https://github.com/google/draco/issues/731
+
+.include <bsd.port.mk>
diff --git a/archivers/draco/distinfo b/archivers/draco/distinfo
new file mode 100644
index 000000000000..14ec73d4b1e3
--- /dev/null
+++ b/archivers/draco/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629275918
+SHA256 (google-draco-1.4.1-28-g9bf5d2e_GH0.tar.gz) = 9ff98ec3e9a4d40ac97549c30e398260b8f61c37b25900831cdc7dbeb86b2f71
+SIZE (google-draco-1.4.1-28-g9bf5d2e_GH0.tar.gz) = 34367116
diff --git a/archivers/draco/pkg-descr b/archivers/draco/pkg-descr
new file mode 100644
index 000000000000..e3d216d0500c
--- /dev/null
+++ b/archivers/draco/pkg-descr
@@ -0,0 +1,5 @@
+Draco is an open-source library for compressing and decompressing 3D geometric
+meshes and point clouds. It is intended to improve the storage and transmission
+of 3D graphics.
+
+WWW: https://google.github.io/draco/
diff --git a/archivers/draco/pkg-plist b/archivers/draco/pkg-plist
new file mode 100644
index 000000000000..81133c466480
--- /dev/null
+++ b/archivers/draco/pkg-plist
@@ -0,0 +1,200 @@
+bin/draco_decoder
+bin/draco_decoder-1.4.1
+bin/draco_encoder
+bin/draco_encoder-1.4.1
+include/draco/animation/keyframe_animation.h
+include/draco/animation/keyframe_animation_decoder.h
+include/draco/animation/keyframe_animation_encoder.h
+include/draco/attributes/attribute_octahedron_transform.h
+include/draco/attributes/attribute_quantization_transform.h
+include/draco/attributes/attribute_transform.h
+include/draco/attributes/attribute_transform_data.h
+include/draco/attributes/attribute_transform_type.h
+include/draco/attributes/geometry_attribute.h
+include/draco/attributes/geometry_indices.h
+include/draco/attributes/point_attribute.h
+include/draco/compression/attributes/attributes_decoder.h
+include/draco/compression/attributes/attributes_encoder.h
+include/draco/compression/attributes/kd_tree_attributes_decoder.h
+include/draco/compression/attributes/kd_tree_attributes_encoder.h
+include/draco/compression/attributes/kd_tree_attributes_shared.h
+include/draco/compression/attributes/linear_sequencer.h
+include/draco/compression/attributes/mesh_attribute_indices_encoding_data.h
+include/draco/compression/attributes/normal_compression_utils.h
+include/draco/compression/attributes/point_d_vector.h
+include/draco/compression/attributes/points_sequencer.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_constrained_multi_parallelogram_decoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_constrained_multi_parallelogram_encoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_constrained_multi_parallelogram_shared.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_data.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_decoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_encoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_geometric_normal_decoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_geometric_normal_encoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_geometric_normal_predictor_area.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_geometric_normal_predictor_base.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_multi_parallelogram_decoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_multi_parallelogram_encoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_parallelogram_encoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_parallelogram_shared.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_decoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_encoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_portable_decoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_portable_encoder.h
+include/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_portable_predictor.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_decoder.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_decoder_factory.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_decoder_interface.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_decoding_transform.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_delta_decoder.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_delta_encoder.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_encoder.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_encoder_factory.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_encoder_interface.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_encoding_transform.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_factory.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_interface.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_canonicalized_decoding_transform.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_canonicalized_encoding_transform.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_canonicalized_transform_base.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_decoding_transform.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_encoding_transform.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_transform_base.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_wrap_decoding_transform.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_wrap_encoding_transform.h
+include/draco/compression/attributes/prediction_schemes/prediction_scheme_wrap_transform_base.h
+include/draco/compression/attributes/sequential_attribute_decoder.h
+include/draco/compression/attributes/sequential_attribute_decoders_controller.h
+include/draco/compression/attributes/sequential_attribute_encoder.h
+include/draco/compression/attributes/sequential_attribute_encoders_controller.h
+include/draco/compression/attributes/sequential_integer_attribute_decoder.h
+include/draco/compression/attributes/sequential_integer_attribute_encoder.h
+include/draco/compression/attributes/sequential_normal_attribute_decoder.h
+include/draco/compression/attributes/sequential_normal_attribute_encoder.h
+include/draco/compression/attributes/sequential_quantization_attribute_decoder.h
+include/draco/compression/attributes/sequential_quantization_attribute_encoder.h
+include/draco/compression/bit_coders/adaptive_rans_bit_coding_shared.h
+include/draco/compression/bit_coders/adaptive_rans_bit_decoder.h
+include/draco/compression/bit_coders/adaptive_rans_bit_encoder.h
+include/draco/compression/bit_coders/direct_bit_decoder.h
+include/draco/compression/bit_coders/direct_bit_encoder.h
+include/draco/compression/bit_coders/folded_integer_bit_decoder.h
+include/draco/compression/bit_coders/folded_integer_bit_encoder.h
+include/draco/compression/bit_coders/rans_bit_decoder.h
+include/draco/compression/bit_coders/rans_bit_encoder.h
+include/draco/compression/bit_coders/symbol_bit_decoder.h
+include/draco/compression/bit_coders/symbol_bit_encoder.h
+include/draco/compression/config/compression_shared.h
+include/draco/compression/config/decoder_options.h
+include/draco/compression/config/draco_options.h
+include/draco/compression/config/encoder_options.h
+include/draco/compression/config/encoding_features.h
+include/draco/compression/decode.h
+include/draco/compression/encode.h
+include/draco/compression/encode_base.h
+include/draco/compression/entropy/ans.h
+include/draco/compression/entropy/rans_symbol_coding.h
+include/draco/compression/entropy/rans_symbol_decoder.h
+include/draco/compression/entropy/rans_symbol_encoder.h
+include/draco/compression/entropy/shannon_entropy.h
+include/draco/compression/entropy/symbol_decoding.h
+include/draco/compression/entropy/symbol_encoding.h
+include/draco/compression/expert_encode.h
+include/draco/compression/mesh/mesh_decoder.h
+include/draco/compression/mesh/mesh_edgebreaker_decoder.h
+include/draco/compression/mesh/mesh_edgebreaker_decoder_impl.h
+include/draco/compression/mesh/mesh_edgebreaker_decoder_impl_interface.h
+include/draco/compression/mesh/mesh_edgebreaker_encoder.h
+include/draco/compression/mesh/mesh_edgebreaker_encoder_impl.h
+include/draco/compression/mesh/mesh_edgebreaker_encoder_impl_interface.h
+include/draco/compression/mesh/mesh_edgebreaker_shared.h
+include/draco/compression/mesh/mesh_edgebreaker_traversal_decoder.h
+include/draco/compression/mesh/mesh_edgebreaker_traversal_encoder.h
+include/draco/compression/mesh/mesh_edgebreaker_traversal_predictive_decoder.h
+include/draco/compression/mesh/mesh_edgebreaker_traversal_predictive_encoder.h
+include/draco/compression/mesh/mesh_edgebreaker_traversal_valence_decoder.h
+include/draco/compression/mesh/mesh_edgebreaker_traversal_valence_encoder.h
+include/draco/compression/mesh/mesh_encoder.h
+include/draco/compression/mesh/mesh_sequential_decoder.h
+include/draco/compression/mesh/mesh_sequential_encoder.h
+include/draco/compression/mesh/traverser/depth_first_traverser.h
+include/draco/compression/mesh/traverser/max_prediction_degree_traverser.h
+include/draco/compression/mesh/traverser/mesh_attribute_indices_encoding_observer.h
+include/draco/compression/mesh/traverser/mesh_traversal_sequencer.h
+include/draco/compression/mesh/traverser/traverser_base.h
+include/draco/compression/point_cloud/algorithms/dynamic_integer_points_kd_tree_decoder.h
+include/draco/compression/point_cloud/algorithms/dynamic_integer_points_kd_tree_encoder.h
+include/draco/compression/point_cloud/algorithms/float_points_tree_decoder.h
+include/draco/compression/point_cloud/algorithms/float_points_tree_encoder.h
+include/draco/compression/point_cloud/algorithms/point_cloud_compression_method.h
+include/draco/compression/point_cloud/algorithms/point_cloud_types.h
+include/draco/compression/point_cloud/algorithms/quantize_points_3.h
+include/draco/compression/point_cloud/algorithms/queuing_policy.h
+include/draco/compression/point_cloud/point_cloud_decoder.h
+include/draco/compression/point_cloud/point_cloud_encoder.h
+include/draco/compression/point_cloud/point_cloud_kd_tree_decoder.h
+include/draco/compression/point_cloud/point_cloud_kd_tree_encoder.h
+include/draco/compression/point_cloud/point_cloud_sequential_decoder.h
+include/draco/compression/point_cloud/point_cloud_sequential_encoder.h
+include/draco/core/bit_utils.h
+include/draco/core/bounding_box.h
+include/draco/core/cycle_timer.h
+include/draco/core/data_buffer.h
+include/draco/core/decoder_buffer.h
+include/draco/core/divide.h
+include/draco/core/draco_index_type.h
+include/draco/core/draco_index_type_vector.h
+include/draco/core/draco_types.h
+include/draco/core/draco_version.h
+include/draco/core/encoder_buffer.h
+include/draco/core/hash_utils.h
+include/draco/core/macros.h
+include/draco/core/math_utils.h
+include/draco/core/options.h
+include/draco/core/quantization_utils.h
+include/draco/core/status.h
+include/draco/core/status_or.h
+include/draco/core/varint_decoding.h
+include/draco/core/varint_encoding.h
+include/draco/core/vector_d.h
+include/draco/draco_features.h
+include/draco/io/file_reader_factory.h
+include/draco/io/file_reader_interface.h
+include/draco/io/file_utils.h
+include/draco/io/file_writer_factory.h
+include/draco/io/file_writer_interface.h
+include/draco/io/file_writer_utils.h
+include/draco/io/mesh_io.h
+include/draco/io/obj_decoder.h
+include/draco/io/obj_encoder.h
+include/draco/io/parser_utils.h
+include/draco/io/ply_decoder.h
+include/draco/io/ply_encoder.h
+include/draco/io/ply_property_reader.h
+include/draco/io/ply_property_writer.h
+include/draco/io/ply_reader.h
+include/draco/io/point_cloud_io.h
+include/draco/io/stdio_file_reader.h
+include/draco/io/stdio_file_writer.h
+include/draco/mesh/corner_table.h
+include/draco/mesh/corner_table_iterators.h
+include/draco/mesh/mesh.h
+include/draco/mesh/mesh_are_equivalent.h
+include/draco/mesh/mesh_attribute_corner_table.h
+include/draco/mesh/mesh_cleanup.h
+include/draco/mesh/mesh_misc_functions.h
+include/draco/mesh/mesh_stripifier.h
+include/draco/mesh/triangle_soup_mesh_builder.h
+include/draco/mesh/valence_cache.h
+include/draco/metadata/geometry_metadata.h
+include/draco/metadata/metadata.h
+include/draco/metadata/metadata_decoder.h
+include/draco/metadata/metadata_encoder.h
+include/draco/point_cloud/point_cloud.h
+include/draco/point_cloud/point_cloud_builder.h
+lib/libdraco.a
+lib/libdraco.so
+lib/libdraco.so.1
+lib/libdraco.so.1.4.1
+libdata/pkgconfig/draco.pc
+share/cmake/draco-config.cmake


More information about the dev-commits-ports-main mailing list