From nobody Mon Feb 03 15:55:50 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ymrgq15k7z5lslb; Mon, 03 Feb 2025 15:55:51 +0000 (UTC) (envelope-from git@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ymrgq0TSCz3kvb; Mon, 03 Feb 2025 15:55:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738598151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=M5XzU59fKUMhvXOVY6Nr/vj8foMYrXRrwJDunHq4fvE=; b=r6Kyk1XgBoaGm44iwfKnj5RzZnv0sIrc+4JyNq2yAvMNg/H7wxTBDsezf/uFkavkmEgRE2 6p6GA34/F3jYRF9QhHMchZDvsgZaj1j/kX6bQC0a16R79jaGW2+1HqSKrposwmHee4w8lZ pfBSRxWlFrZ0xrfGYzSGJm4W4lr292YmI78eRs7pa6TRXuiVW6iQ2MmjnaX3EnIPPlzZAF VeuoGIqrXjF1KvjifG0vpC8LmGFecbnYLMIwKoMpiGXQzmtHHuSNcGc3WX/zEv9Ur8tfSd gnB6PljuVgqXVho4eB/ZXeoh6bOS10Y0qxNt1GuFXEnl9+jLcJlnLsmU57Ck3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738598151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=M5XzU59fKUMhvXOVY6Nr/vj8foMYrXRrwJDunHq4fvE=; b=C8Zj3p0qerWDfvxgckTezzsM/ToAkTeQmuI76BNlapBNWJUWAbvliM4SRTPzJrjmyJgJIs 6GeBxv3n+UcCC3ornj/ErMJUGsAaE49NFbdvlflKXlwnUjeAbb1hkHPBYeWvy/nAxQhGuA MwV369Ia1Fzm5vCagak/xobTmaQN01aN9vzKKtbKm3Jd/v4yq1KnhS06tE1A42gSm0ZgCc vDJ+NYU49YxK8SUv7xXK5qicvnffM4oo+7GqrkGML8DbmTNiQEFzx1ixpUE6MgqvIHuXhj wQwFa1FTdz+paP+vUmTvYKkXHkTyy1F525BdiWIbKnEpbps44j5sQO8XSVRq3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738598151; a=rsa-sha256; cv=none; b=sZHyRgWun0F0r5mp5EBdTA8LvvC9q6I6qk13sd9Z21ccoaO+jRHpaSv9w2sp6F7teAjDGD 4lfMB0GVzGv2pvZ7kQ77tTgHJYciwd7P8m9gewG/WYeR0PUzDBeX5xTJJTeErpVwmZfO9h ZhFa2Akdb48cTCmU6KHcfQOI3ava9bsb7ULbSDON0wiuQQxnQP7wYlo5IdMgB6o23sAL2f K+UDjvD1QNlC51WX1ap0y8TiCh2Li/kwyruVUP1uyStLBfwuBtuLgUeCcbi8ffUVGfWJOU UwSbt53m13fSvgAbISkeSPM2sQHXfmJeKUeGqds01BbLGdh84Mypa9gbR2Jg6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ymrgp6lZ1zjrF; Mon, 03 Feb 2025 15:55:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 513FtoQT007355; Mon, 3 Feb 2025 15:55:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 513FtoRp007352; Mon, 3 Feb 2025 15:55:50 GMT (envelope-from git) Date: Mon, 3 Feb 2025 15:55:50 GMT Message-Id: <202502031555.513FtoRp007352@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 7eae8191ec40 - main - devel/fruit: Add fruit 3.7.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7eae8191ec409e780016e4b1b1e5bc620636de36 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7eae8191ec409e780016e4b1b1e5bc620636de36 commit 7eae8191ec409e780016e4b1b1e5bc620636de36 Author: Po-Chuan Hsieh AuthorDate: 2025-02-03 15:12:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-02-03 15:50:42 +0000 devel/fruit: Add fruit 3.7.1 Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some C++11 features to detect most injection problems at compile-time. It allows to split the implementation code in "components" (aka modules) that can be assembled to form other components. From a component with no requirements it's then possible to create an injector, that provides an instance of the interfaces exposed by the component. --- devel/Makefile | 1 + devel/fruit/Makefile | 25 ++++++++++++++ devel/fruit/distinfo | 3 ++ devel/fruit/pkg-descr | 7 ++++ devel/fruit/pkg-plist | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 128 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 80931a1e2ec9..7b87d8fc99d5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -733,6 +733,7 @@ SUBDIR += freebsd-git-devtools SUBDIR += freebsd-sysroot SUBDIR += frink + SUBDIR += fruit SUBDIR += fsmtrie SUBDIR += fstrcmp SUBDIR += fstrm diff --git a/devel/fruit/Makefile b/devel/fruit/Makefile new file mode 100644 index 000000000000..38f91dada10b --- /dev/null +++ b/devel/fruit/Makefile @@ -0,0 +1,25 @@ +PORTNAME= fruit +PORTVERSION= 3.7.1 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Dependency injection framework for C++ +WWW= https://github.com/google/fruit/wiki \ + https://github.com/google/fruit + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cmake compiler:c++11-lang + +CMAKE_OFF= FRUIT_ENABLE_COVERAGE \ + FRUIT_TESTS_USE_PRECOMPILED_HEADERS \ + FRUIT_USES_BOOST +CMAKE_ON= BUILD_SHARED_LIBS \ + FRUIT_ADD_WNO_UNKNOWN_WARNING_OPTION + +USE_GITHUB= yes +GH_ACCOUNT= google + +.include diff --git a/devel/fruit/distinfo b/devel/fruit/distinfo new file mode 100644 index 000000000000..4fcb5dcd512a --- /dev/null +++ b/devel/fruit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1738088808 +SHA256 (google-fruit-v3.7.1_GH0.tar.gz) = ed4c6b7ebfbf75e14a74e21eb74ce2703b8485bfc9e660b1c36fb7fe363172d0 +SIZE (google-fruit-v3.7.1_GH0.tar.gz) = 240459 diff --git a/devel/fruit/pkg-descr b/devel/fruit/pkg-descr new file mode 100644 index 000000000000..a6e6758cfbf9 --- /dev/null +++ b/devel/fruit/pkg-descr @@ -0,0 +1,7 @@ +Fruit is a dependency injection framework for C++, loosely inspired by the Guice +framework for Java. It uses C++ metaprogramming together with some C++11 +features to detect most injection problems at compile-time. It allows to split +the implementation code in "components" (aka modules) that can be assembled to +form other components. From a component with no requirements it's then possible +to create an injector, that provides an instance of the interfaces exposed by +the component. diff --git a/devel/fruit/pkg-plist b/devel/fruit/pkg-plist new file mode 100644 index 000000000000..eb79e812a88f --- /dev/null +++ b/devel/fruit/pkg-plist @@ -0,0 +1,92 @@ +include/fruit/component.h +include/fruit/component_function.h +include/fruit/fruit.h +include/fruit/fruit_forward_decls.h +include/fruit/impl/bindings.h +include/fruit/impl/component.defn.h +include/fruit/impl/component_function.defn.h +include/fruit/impl/component_functors.defn.h +include/fruit/impl/component_install_arg_checks.defn.h +include/fruit/impl/component_install_arg_checks.h +include/fruit/impl/component_storage/binding_deps.defn.h +include/fruit/impl/component_storage/binding_deps.h +include/fruit/impl/component_storage/component_storage.defn.h +include/fruit/impl/component_storage/component_storage.h +include/fruit/impl/component_storage/component_storage_entry.defn.h +include/fruit/impl/component_storage/component_storage_entry.h +include/fruit/impl/component_storage/partial_component_storage.defn.h +include/fruit/impl/component_storage/partial_component_storage.h +include/fruit/impl/data_structures/arena_allocator.defn.h +include/fruit/impl/data_structures/arena_allocator.h +include/fruit/impl/data_structures/fixed_size_allocator.defn.h +include/fruit/impl/data_structures/fixed_size_allocator.h +include/fruit/impl/data_structures/fixed_size_vector.defn.h +include/fruit/impl/data_structures/fixed_size_vector.h +include/fruit/impl/data_structures/fixed_size_vector.templates.h +include/fruit/impl/data_structures/memory_pool.defn.h +include/fruit/impl/data_structures/memory_pool.h +include/fruit/impl/data_structures/packed_pointer_and_bool.defn.h +include/fruit/impl/data_structures/packed_pointer_and_bool.h +include/fruit/impl/data_structures/semistatic_graph.defn.h +include/fruit/impl/data_structures/semistatic_graph.h +include/fruit/impl/data_structures/semistatic_graph.templates.h +include/fruit/impl/data_structures/semistatic_map.defn.h +include/fruit/impl/data_structures/semistatic_map.h +include/fruit/impl/data_structures/semistatic_map.templates.h +include/fruit/impl/fruit-config-base.h +include/fruit/impl/fruit-config.h +include/fruit/impl/fruit_assert.h +include/fruit/impl/fruit_internal_forward_decls.h +include/fruit/impl/injection_debug_errors.h +include/fruit/impl/injection_errors.h +include/fruit/impl/injector.defn.h +include/fruit/impl/injector/injector_accessor_for_tests.defn.h +include/fruit/impl/injector/injector_accessor_for_tests.h +include/fruit/impl/injector/injector_storage.defn.h +include/fruit/impl/injector/injector_storage.h +include/fruit/impl/meta/algos.h +include/fruit/impl/meta/basics.h +include/fruit/impl/meta/component.h +include/fruit/impl/meta/errors.h +include/fruit/impl/meta/eval.h +include/fruit/impl/meta/fold.h +include/fruit/impl/meta/graph.h +include/fruit/impl/meta/immutable_map.h +include/fruit/impl/meta/immutable_set.h +include/fruit/impl/meta/list.h +include/fruit/impl/meta/logical_operations.h +include/fruit/impl/meta/map.h +include/fruit/impl/meta/metaprogramming.h +include/fruit/impl/meta/numeric_operations.h +include/fruit/impl/meta/pair.h +include/fruit/impl/meta/proof_tree_comparison.h +include/fruit/impl/meta/proof_trees.h +include/fruit/impl/meta/set.h +include/fruit/impl/meta/signatures.h +include/fruit/impl/meta/triplet.h +include/fruit/impl/meta/vector.h +include/fruit/impl/meta/wrappers.h +include/fruit/impl/meta_operation_wrappers.h +include/fruit/impl/normalized_component.defn.h +include/fruit/impl/normalized_component_storage/binding_normalization.h +include/fruit/impl/normalized_component_storage/binding_normalization.templates.h +include/fruit/impl/normalized_component_storage/normalized_bindings.defn.h +include/fruit/impl/normalized_component_storage/normalized_bindings.h +include/fruit/impl/normalized_component_storage/normalized_component_storage.defn.h +include/fruit/impl/normalized_component_storage/normalized_component_storage.h +include/fruit/impl/normalized_component_storage/normalized_component_storage_holder.h +include/fruit/impl/provider.defn.h +include/fruit/impl/util/call_with_tuple.h +include/fruit/impl/util/demangle_type_name.h +include/fruit/impl/util/hash_codes.defn.h +include/fruit/impl/util/hash_codes.h +include/fruit/impl/util/hash_helpers.defn.h +include/fruit/impl/util/hash_helpers.h +include/fruit/impl/util/lambda_invoker.h +include/fruit/impl/util/type_info.defn.h +include/fruit/impl/util/type_info.h +include/fruit/injector.h +include/fruit/macro.h +include/fruit/normalized_component.h +include/fruit/provider.h +lib/libfruit.so