Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatbuffers - new package version 24.3.25 #19902

Open
wants to merge 1 commit into
base: oi/hipster
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions components/library/flatbuffers/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2024 Friedrich Kink
#

BUILD_STYLE= cmake
include ../../../make-rules/shared-macros.mk

COMPONENT_NAME= flatbuffers
COMPONENT_VERSION= 24.3.25
COMPONENT_SUMMARY= FlatBuffers: Memory Efficient Serialization Library
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE= v$(COMPONENT_VERSION).tar.gz
COMPONENT_ARCHIVE_HASH= sha256:4157c5cacdb59737c5d627e47ac26b140e9ee28b1102f812b36068aab728c1ed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please give the archive a proper name. With only a version number we cannot identify it easily and name clashes have to be expected in the future.

COMPONENT_ARCHIVE_URL= https://github.com/google/$(COMPONENT_NAME)/archive/refs/tags/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL= https://flatbuffers.dev/
COMPONENT_FMRI= library/$(COMPONENT_NAME)
COMPONENT_CLASSIFICATION=System/Libraries
COMPONENT_LICENSE= Apache-2.0
COMPONENT_LICENSE_FILE= LICENSE

TEST_TARGET= $(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk

CMAKE_OPTIONS += -DFLATBUFFERS_BUILD_FLATHASH=ON
CMAKE_OPTIONS += -DFLATBUFFERS_BUILD_SHAREDLIB=ON

# Auto-generated dependencies
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
72 changes: 72 additions & 0 deletions components/library/flatbuffers/flatbuffers.p5m
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2024 Friedrich Kink
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

file path=usr/bin/flatc
file path=usr/include/flatbuffers/allocator.h
file path=usr/include/flatbuffers/array.h
file path=usr/include/flatbuffers/base.h
file path=usr/include/flatbuffers/buffer.h
file path=usr/include/flatbuffers/buffer_ref.h
file path=usr/include/flatbuffers/code_generator.h
file path=usr/include/flatbuffers/code_generators.h
file path=usr/include/flatbuffers/default_allocator.h
file path=usr/include/flatbuffers/detached_buffer.h
file path=usr/include/flatbuffers/file_manager.h
file path=usr/include/flatbuffers/flatbuffer_builder.h
file path=usr/include/flatbuffers/flatbuffers.h
file path=usr/include/flatbuffers/flatc.h
file path=usr/include/flatbuffers/flex_flat_util.h
file path=usr/include/flatbuffers/flexbuffers.h
file path=usr/include/flatbuffers/grpc.h
file path=usr/include/flatbuffers/hash.h
file path=usr/include/flatbuffers/idl.h
file path=usr/include/flatbuffers/minireflect.h
file path=usr/include/flatbuffers/pch/flatc_pch.h
file path=usr/include/flatbuffers/pch/pch.h
file path=usr/include/flatbuffers/reflection.h
file path=usr/include/flatbuffers/reflection_generated.h
file path=usr/include/flatbuffers/registry.h
file path=usr/include/flatbuffers/stl_emulation.h
file path=usr/include/flatbuffers/string.h
file path=usr/include/flatbuffers/struct.h
file path=usr/include/flatbuffers/table.h
file path=usr/include/flatbuffers/util.h
file path=usr/include/flatbuffers/vector.h
file path=usr/include/flatbuffers/vector_downward.h
file path=usr/include/flatbuffers/verifier.h
file path=usr/lib/$(MACH64)/cmake/flatbuffers/BuildFlatBuffers.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatBuffersSharedTargets-noconfig.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatBuffersSharedTargets.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatBuffersTargets-noconfig.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatBuffersTargets.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatcTargets-noconfig.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatcTargets.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/flatbuffers-config-version.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/flatbuffers-config.cmake
file path=usr/lib/$(MACH64)/libflatbuffers.a
link path=usr/lib/$(MACH64)/libflatbuffers.so \
target=libflatbuffers.so.$(HUMAN_VERSION)
file path=usr/lib/$(MACH64)/libflatbuffers.so.$(HUMAN_VERSION)
file path=usr/lib/$(MACH64)/pkgconfig/flatbuffers.pc
72 changes: 72 additions & 0 deletions components/library/flatbuffers/manifests/sample-manifest.p5m
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2024 <contributor>
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

file path=usr/bin/flatc
file path=usr/include/flatbuffers/allocator.h
file path=usr/include/flatbuffers/array.h
file path=usr/include/flatbuffers/base.h
file path=usr/include/flatbuffers/buffer.h
file path=usr/include/flatbuffers/buffer_ref.h
file path=usr/include/flatbuffers/code_generator.h
file path=usr/include/flatbuffers/code_generators.h
file path=usr/include/flatbuffers/default_allocator.h
file path=usr/include/flatbuffers/detached_buffer.h
file path=usr/include/flatbuffers/file_manager.h
file path=usr/include/flatbuffers/flatbuffer_builder.h
file path=usr/include/flatbuffers/flatbuffers.h
file path=usr/include/flatbuffers/flatc.h
file path=usr/include/flatbuffers/flex_flat_util.h
file path=usr/include/flatbuffers/flexbuffers.h
file path=usr/include/flatbuffers/grpc.h
file path=usr/include/flatbuffers/hash.h
file path=usr/include/flatbuffers/idl.h
file path=usr/include/flatbuffers/minireflect.h
file path=usr/include/flatbuffers/pch/flatc_pch.h
file path=usr/include/flatbuffers/pch/pch.h
file path=usr/include/flatbuffers/reflection.h
file path=usr/include/flatbuffers/reflection_generated.h
file path=usr/include/flatbuffers/registry.h
file path=usr/include/flatbuffers/stl_emulation.h
file path=usr/include/flatbuffers/string.h
file path=usr/include/flatbuffers/struct.h
file path=usr/include/flatbuffers/table.h
file path=usr/include/flatbuffers/util.h
file path=usr/include/flatbuffers/vector.h
file path=usr/include/flatbuffers/vector_downward.h
file path=usr/include/flatbuffers/verifier.h
file path=usr/lib/$(MACH64)/cmake/flatbuffers/BuildFlatBuffers.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatBuffersSharedTargets-noconfig.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatBuffersSharedTargets.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatBuffersTargets-noconfig.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatBuffersTargets.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatcTargets-noconfig.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/FlatcTargets.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/flatbuffers-config-version.cmake
file path=usr/lib/$(MACH64)/cmake/flatbuffers/flatbuffers-config.cmake
file path=usr/lib/$(MACH64)/libflatbuffers.a
link path=usr/lib/$(MACH64)/libflatbuffers.so \
target=libflatbuffers.so.$(HUMAN_VERSION)
file path=usr/lib/$(MACH64)/libflatbuffers.so.$(HUMAN_VERSION)
file path=usr/lib/$(MACH64)/pkgconfig/flatbuffers.pc
12 changes: 12 additions & 0 deletions components/library/flatbuffers/pkg5
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dependencies": [
"system/library",
"system/library/g++-13-runtime",
"system/library/gcc-13-runtime",
"system/library/math"
],
"fmris": [
"library/flatbuffers"
],
"name": "flatbuffers"
}