diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-12-06 10:46:43 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-12-06 10:47:06 +0100 |
commit | ee576a3bb296bf50f5444a6e7e99a956852eb7db (patch) | |
tree | e3dcd86c1cd43429c219b1b4bc58f50b8bad7458 /dev-libs | |
parent | dev-java/gson: improved test patch in 2.10.2_pre20231128 (diff) | |
download | gentoo-ee576a3bb296bf50f5444a6e7e99a956852eb7db.tar.gz gentoo-ee576a3bb296bf50f5444a6e7e99a956852eb7db.tar.bz2 gentoo-ee576a3bb296bf50f5444a6e7e99a956852eb7db.zip |
dev-libs/dynolog: new package, add 0.3.1_p20230126
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/dynolog/Manifest | 35 | ||||
-rw-r--r-- | dev-libs/dynolog/dynolog-0.3.1_p20230126.ebuild | 105 | ||||
-rw-r--r-- | dev-libs/dynolog/files/dynolog-0.3.1_p20230126-gcc13.patch | 20 | ||||
-rw-r--r-- | dev-libs/dynolog/files/dynolog-0.3.1_p20230126-noWerror.patch | 11 | ||||
-rw-r--r-- | dev-libs/dynolog/files/dynolog-0.3.1_p20230126-unbundling.patch | 82 | ||||
-rw-r--r-- | dev-libs/dynolog/metadata.xml | 11 |
6 files changed, 264 insertions, 0 deletions
diff --git a/dev-libs/dynolog/Manifest b/dev-libs/dynolog/Manifest new file mode 100644 index 000000000000..72dc2c7eca05 --- /dev/null +++ b/dev-libs/dynolog/Manifest @@ -0,0 +1,35 @@ +DIST anyhow-1.0.75.crate 43901 BLAKE2B 6353557d7ec2cbfdd001c039fad62c95fea9e02b113149f726fd14bb36b31e637e8609dd5ee20a900e9c11bb783d9958d664b31ba7c467382fa7f51d477ad3aa SHA512 190d6be8ede0af9808210db53e4dc31ce69b126a26b0357220c4705a11e83cab2c2c09c59964a35794f3c434f717eaa6bb669e9e8f16012535c14246b17e8d40 +DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9 +DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f +DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 +DIST clap-3.2.25.crate 219403 BLAKE2B 75a8ee36c52e64cf0ac7ed5604d8a575c41c756a588bd418e6c1edccfb358350cdd831b4176f01b987fe7fa5901ca2bccee6b0f68ccba7dbe40baf85a5f3bdb4 SHA512 557c8932175d7ecd077b32b68904924e52dd46d04fd04ba36b3a9dfd7ab1dbe8c2128fecfd75d0388b21fca4aee55a941794181cc2910a4d4eb3c54e9c7e73ea +DIST clap_derive-3.2.25.crate 28212 BLAKE2B 8782f6425ed46197c5e5293e2f06fd82b2d17ea3e89206580ef3c6853bed2e8c99ef2528a30276a8287215d7f5505a992dd43c59f26b2915757c8e2f20510843 SHA512 c98098bfedb8b681d72eaedb946d9867fd068d9be31137fe1fb5d821cd68afec48e7d2963adb2099aa760c702d5b75fb0ed45fc62b83d7f26edc8cecc03ea5d3 +DIST clap_lex-0.2.4.crate 9652 BLAKE2B 5120b508dedf52507068c0c369a45ddfbe0369e5c05b65bc5a78c422b2a4bf488f9ef1e0bed4e335450f2c08b80148eb5f7efed678039b5a94b5bd666385939f SHA512 6c05e5fd850befd45be9005af7252385f2304aa28a107413bbe329d97aea835f7acfd0bd169c99f69f466ab93d6e1c35d73a4e48343457a06fe2d6be5bedde0f +DIST dynolog-0.3.1_p20230126.tar.gz 18445927 BLAKE2B 6885bfde54d07a6783a7007f3ee1615b25fb79da0a32e68e11c93165807125e09614f01c6559787383b50e9bd0c11893071f6464de378517bfd7239dca54ab81 SHA512 38edb2fab5c4e6b64ee3fda557cdf610d383a3054db7a47ac4844d45104641098c81a27a82f20a0d2b60da2799902df5be8ac2967155ca72e3e1e1df75e30821 +DIST hashbrown-0.12.3.crate 102968 BLAKE2B 492072f27eaec45abd2c5d7405c614c0c6a8221425e901bb6174bfa1688ee524408a618650126d6c683b7285b9bf0a21dcdbff7347e4d8f97bf7111defa1b7e5 SHA512 b3700fcd659a21a6b9b3777c18b37a83bf25542b4e8f2b963779a122f5d22e1742c064cfc03e649583e7dd5c6e90ca8407f8c51a0e8755f6a108682853022f76 +DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 +DIST hermit-abi-0.1.19.crate 9979 BLAKE2B 801e8052b85341cca388ada9db4b06bb1bd7b64474185b2ad06c0256b9e597639bd3dd4ba0053ea010f922e53969a4ab47b90d451fd9b94c8f2324055d151ea1 SHA512 1c877fcd562b15d2de9c151fd6c5f3ea4bf48abcb799e6139a180ffad5d64b632f0000d5707bbd92ff23a0e5f349157b9e0f5be8b50f03680b0fa47315dbb78a +DIST indexmap-1.9.3.crate 54653 BLAKE2B 7bc1768589e74020dc15d3dd064009edaaef39b7aeb682d0ca8e49944e3f020b9c04d64feb102e88b22feb40863479dfaf4722d6a77b5d19e7ca553f4bf64c1b SHA512 2aa8069eb07a814c8fa3e11296c9f032ef60963520d7786ad20cca5cb7e73b8f76d97722a994d65295bb713020aadce5008cd3df5e99d8bd968ef1979f910a37 +DIST itoa-1.0.9.crate 10492 BLAKE2B 0d5acef9ae72d3f4b5a387d231952e6025def69da81d38269b4882bc534be7acadc073e526fd8bebdca898a98b2c741735c541e0b6a35ed0f8f8799b906b65b1 SHA512 95f7906edb7d6a2690389167f8c4d01bc37827205bca87d527f2eb33722419ed2f2e8afaa559cc5a0a7e7fac76515c9c44c71c42b536aa34b0e2858c40946b6d +DIST libc-0.2.150.crate 719359 BLAKE2B d08e17fb29992c76337bb5862cbc1cdaf7b9d7749cd65021f145fcf49fa7954d6251c8c2f3c9a796b46283c3bc014bccfd259ea52824459841911ad847fd7f5a SHA512 7ae8fe6a1db38ac6d951c0b4880d25a02f064f5e61d6057c20f7208dec8395d58efd085e41857bcf5f4da2b014d2952dc4ddaf18ac4acd3a23675bb659e70385 +DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 +DIST os_str_bytes-6.6.1.crate 27643 BLAKE2B 8440a196a3d3d9c3a584562b6c2a1033f5606998e8851f8ccaeababe58022a42e65510e12ebdbcc7b24d0fcdcf111d68bf00d89b8665ad5cee49180db853789d SHA512 977c0fe9891c021914153d6a081c3789018fcd1830224f5c6768d0c75ac8ac4919638bb0a41949710fd5e699b162d9290a5379cc6251535a127e212f5b86932d +DIST proc-macro-error-1.0.4.crate 25293 BLAKE2B ef918c5efaf2545ab38787c8d0c07315af00431139e4dff66346bf798e3a429f91d12a79776c150412fdda0b158a72badd5e1044ac4d6917f8482d4b5a7110b7 SHA512 8a47bc9d3e24e9561d1e384d8f5a633284c2cf9b5e6733c5f9d1dbfe1870ccc8e2152482852e50b551cecb68e009148585b910ffb0508a7b4875598eaf8657db +DIST proc-macro-error-attr-1.0.4.crate 7971 BLAKE2B 98e2925881c2be186e22c2c439697e91d43f807eb61a5d13e3b0b4321ed50a74f3d699942c04b89b6fea0f156bb5d19ebcf22f9cd4b98a7e6917c437600ed823 SHA512 2606afa9ec78d7dad4500c98d3a5ecbd02c6b53ab829c742bed7f57b322a95238ab4e01cf268746815f1424fd9b02eddfa30e72f98c66106f57765f3d3116495 +DIST proc-macro2-1.0.70.crate 44343 BLAKE2B fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c SHA512 ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f +DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c +DIST ryu-1.0.15.crate 46906 BLAKE2B 6d6949e43aaa27fba0ec6002fa11ba859af8d867f87c90d88413267186abbf6302b817985bca3d577ab3fab2e319e11756f144473a16330dfd8fc7b604cdc4b3 SHA512 4655b5647f919082a9b84b889539ae7fb23a1201057cf280efe79c58cb5f040864efb7812cda5021bf6d34838a15d173ac8bdb0fb9fa2dba85173d3efa5a826b +DIST serde-1.0.193.crate 76863 BLAKE2B 163097e85b5542451896d7381607aa297e3b0342a2641887a01689b13122c6c1ca566fcb7f32f51bb0ecc861aed014f1467edfe21338223d5361555f870425a3 SHA512 82259ca302f42116ecffca3c88bc1212785ce5430f9d29390a9041d4e5943c13b13de119fde644a583960102c4b6e850a16f962d36dc76ac69fc2297ed65a506 +DIST serde_derive-1.0.193.crate 55692 BLAKE2B eeb2a2fbcd0daf5fee1bd6a4f584fed330db58cbd786073311d6a94308c63dfc6b7c2dfbc4b8980064ed66509f0127525b79d99aa96ca0134226fe21715999bb SHA512 05efb144aeee293a0e7dc7540106eb8c4920b2d8dfc25771d73afa8ffcba330104643430a6e396ea2adabbed4ccb23591251479b75449b9c8322799f91d38c41 +DIST serde_json-1.0.108.crate 146476 BLAKE2B 9c0ceae5566a4e0ce7a6264939862f9dd920bb47d18acebb179798b036c376d97a4e9b0717092903ab90cfbf6fb73d37518e3cc25f3217af010296f5644de396 SHA512 7d8d1b74515388d99983ffbc5696cba022305cf4c797d3ff5d2959fc8fc8f4ce01cc4c9e7ccae7097b06b5acf5307027f6b7315df1fd8f58e681cc5968e79fb6 +DIST strsim-0.10.0.crate 11355 BLAKE2B bcb25ad0a7284e24e4f17ebe0ccb621bdc4118e499b50b094d98aa7e8fcc0b96716c9953c3516ce7ea78309d41d424892ded595259696a5bbffdcb07802b5c2f SHA512 78b318532addfcf5c1ccc1e14539e258aab9d3cd893cc45d82342549bde838c177d90f13c560671f8f32929af47d0b467db35e6876bd7697d8b3f9e055aeeac1 +DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d +DIST syn-2.0.39.crate 244129 BLAKE2B 2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01 SHA512 96cc347cfdb0f9ca0b6c7289279a1cad8fc401625783742292564f7ceca8237ced8d9a3f62069696f6132ed06092dff2baaf4be09ef53b21260d93785b0e27c3 +DIST termcolor-1.4.0.crate 18765 BLAKE2B d7286fcc84843296e2edf074e316ee8fcceb018c08deda7f1048e38108bf1a7c5f6b90dd3150078c413322eda08a1c58300b4adb963d9f51f307ecd08b5b7e10 SHA512 36c8550fe85cb90c4fdd1a6e3f60b42b6c71f65b6128da97d5ad6aac8350d907410899ad4a47bb4dc72ea6d00bc69e5a1ccc80ee9b0e80a1a27912e233f3e416 +DIST textwrap-0.16.0.crate 53722 BLAKE2B 44140aa2dfd5076005749449a56e920418e71e34cb92f1d697eb3f3e7f6fe87b0a3861c8a4050a4a62e03187b6cadc4495e4200bee52ee183541431c73e47209 SHA512 97ae8acece5663e1a6b08b827179e96d5ad0ee67d635888cc3d83454b52cf48fce97eb0eba374ba4747834099c74f43d66d9fec868e84be45369a42c1aaec2c3 +DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 +DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8 +DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 +DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 +DIST winapi-util-0.1.6.crate 12234 BLAKE2B b8db8ec9d7ada5532a22a2d070320174c32ece1f48890e9b028708e194fe72a04287b11910dc2ddc7f9c9674a9d8d39449b3e100725e1f59e59e3047a7e3650b SHA512 b1c949f9bcd34c1949a9d3a7bde6ce62fcf3d2cb66df60af41fe67a9d1acb24e571cdd5ac721be9f1ee4b3af5ef5149b5724ad6e02b558e124ef2a4412d12db9 +DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 diff --git a/dev-libs/dynolog/dynolog-0.3.1_p20230126.ebuild b/dev-libs/dynolog/dynolog-0.3.1_p20230126.ebuild new file mode 100644 index 000000000000..166ef2ab8823 --- /dev/null +++ b/dev-libs/dynolog/dynolog-0.3.1_p20230126.ebuild @@ -0,0 +1,105 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Partially auto-Generated by cargo-ebuild 0.5.4-r1 + +EAPI=8 + +CRATES=" + anyhow@1.0.75 + atty@0.2.14 + autocfg@1.1.0 + bitflags@1.3.2 + clap@3.2.25 + clap_derive@3.2.25 + clap_lex@0.2.4 + hashbrown@0.12.3 + heck@0.4.1 + hermit-abi@0.1.19 + indexmap@1.9.3 + itoa@1.0.9 + libc@0.2.150 + once_cell@1.18.0 + os_str_bytes@6.6.1 + proc-macro-error@1.0.4 + proc-macro-error-attr@1.0.4 + proc-macro2@1.0.70 + quote@1.0.33 + ryu@1.0.15 + serde@1.0.193 + serde_derive@1.0.193 + serde_json@1.0.108 + strsim@0.10.0 + syn@1.0.109 + syn@2.0.39 + termcolor@1.4.0 + textwrap@0.16.0 + unicode-ident@1.0.12 + version_check@0.9.4 + winapi@0.3.9 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.6 + winapi-x86_64-pc-windows-gnu@0.4.0 +" + +inherit cargo cmake + +DESCRIPTION="Performance monitoring daemon for heterogeneous CPU-GPU systems" +HOMEPAGE="https://github.com/facebookincubator/dynolog" +SRC_URI="https://dev.gentoo.org/~tupone/distfiles/${P}.tar.gz + ${CARGO_CRATE_URIS}" + +LICENSE="BSD Apache-2.0 Boost-1.0 MIT Unicode-DFS-2016 Unlicense" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="dev-cpp/gflags + dev-cpp/gtest + dev-cpp/glog + net-misc/curl" +RDEPEND="${DEPEND}" +BDEPEND="" + +PATCHES=( + "${FILESDIR}"/${P}-gcc13.patch + "${FILESDIR}"/${P}-unbundling.patch + "${FILESDIR}"/${P}-noWerror.patch +) + +src_prepare() { + cmake_src_prepare + cmake_comment_add_subdirectory third_party/gflags + cmake_comment_add_subdirectory third_party/glog +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=OFF + -DCPR_FORCE_USE_SYSTEM_CURL=ON + -DBUILD_TESTS=$(usex test) + ) + cmake_src_configure + cd cli + cargo_src_configure +} + +src_compile() { + cmake_src_compile + cd cli + cargo_src_compile +} + +src_install() { + cmake_src_install + mkdir -p headers/dynolog/src/ipcfabric + cp dynolog/src/ipcfabric/FabricManager.h \ + headers/dynolog/src/ipcfabric || die + doheader -r dynolog + cd ../cli + cd cli + cargo_src_install + + dobin "${BUILD_DIR}"/${PN}/src/${PN} +} diff --git a/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-gcc13.patch b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-gcc13.patch new file mode 100644 index 000000000000..b24dfe3ea202 --- /dev/null +++ b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-gcc13.patch @@ -0,0 +1,20 @@ +--- a/dynolog/src/metric_frame/ExtraTypes.h 2023-12-04 22:40:38.277556488 +0100 ++++ b/dynolog/src/metric_frame/ExtraTypes.h 2023-12-04 22:40:59.044223825 +0100 +@@ -6,6 +6,7 @@ + #pragma once + + #include <ostream> ++#include <cstdint> + + namespace facebook::dynolog { + +--- a/hbt/src/perf_event/CpuEventsGroup.h 2023-12-04 22:56:20.774267789 +0100 ++++ b/hbt/src/perf_event/CpuEventsGroup.h 2023-12-04 22:56:38.454271601 +0100 +@@ -10,6 +10,7 @@ + + #include <cstring> + #include <sstream> ++#include <utility> + + #include <inttypes.h> + #include <stdlib.h> diff --git a/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-noWerror.patch b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-noWerror.patch new file mode 100644 index 000000000000..3d334ce96d5f --- /dev/null +++ b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-noWerror.patch @@ -0,0 +1,11 @@ +--- a/third_party/cpr/CMakeLists.txt 2023-12-06 09:59:09.062148849 +0100 ++++ b/third_party/cpr/CMakeLists.txt 2023-12-06 09:59:27.615514631 +0100 +@@ -73,7 +73,7 @@ + + if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") + else() +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Werror") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic") + endif() + + # SSL diff --git a/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-unbundling.patch b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-unbundling.patch new file mode 100644 index 000000000000..dc85badfca81 --- /dev/null +++ b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-unbundling.patch @@ -0,0 +1,82 @@ +--- a/CMakeLists.txt 2023-12-06 07:46:09.148777964 +0100 ++++ b/CMakeLists.txt 2023-12-06 07:46:17.995438966 +0100 +@@ -31,7 +31,6 @@ + + if(BUILD_TESTS) + enable_testing() +- add_subdirectory("third_party/googletest" "third_party/googletest") + endif() + + include_directories(".") +@@ -49,6 +49,7 @@ + set(BUILD_TESTING OFF CACHE BOOL "") + set(WITH_GFLAGS OFF CACHE BOOL "") + add_subdirectory(third_party/glog) ++find_package(glog) + target_link_libraries(dynolog_lib PUBLIC glog::glog) + + set(GFLAGS_BUILD_TESTING OFF CACHE BOOL "") +@@ -54,7 +53,7 @@ + + set(GFLAGS_BUILD_TESTING OFF CACHE BOOL "") + add_subdirectory(third_party/gflags) +-target_link_libraries(dynolog_lib PUBLIC gflags::gflags) ++target_link_libraries(dynolog_lib PUBLIC gflags) + + # https://github.com/nlohmann/json#cmake + set(JSON_BuildTests OFF CACHE INTERNAL "") +--- a/dynolog/src/rpc/CMakeLists.txt 2023-12-06 07:40:29.268997358 +0100 ++++ b/dynolog/src/rpc/CMakeLists.txt 2023-12-06 07:40:45.038986775 +0100 +@@ -12,7 +12,8 @@ + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/.. + ) + target_link_libraries(dynolog_rpc_lib PRIVATE dynolog_lib) +-target_link_libraries(dynolog_rpc_lib PUBLIC gflags::gflags) ++target_link_libraries(dynolog_rpc_lib PUBLIC gflags) ++find_package(glog) + target_link_libraries(dynolog_rpc_lib PUBLIC glog::glog) + target_link_libraries(dynolog_rpc_lib PUBLIC nlohmann_json::nlohmann_json) + target_link_libraries(dynolog_rpc_lib PUBLIC fmt::fmt) +--- a/dynolog/src/gpumon/CMakeLists.txt 2023-12-06 07:41:18.658964157 +0100 ++++ b/dynolog/src/gpumon/CMakeLists.txt 2023-12-06 07:41:30.005623376 +0100 +@@ -16,7 +16,8 @@ + ) + target_include_directories(dynolog_dcgm_lib PUBLIC + ${PROJECT_SOURCE_DIR}/third_party/pfs/include) +-target_link_libraries(dynolog_dcgm_lib PUBLIC gflags::gflags) ++target_link_libraries(dynolog_dcgm_lib PUBLIC gflags) ++find_package(glog) + target_link_libraries(dynolog_dcgm_lib PUBLIC glog::glog) + target_link_libraries(dynolog_dcgm_lib PUBLIC nlohmann_json::nlohmann_json) + target_link_libraries(dynolog_dcgm_lib PUBLIC pfs) +--- a/dynolog/src/tracing/CMakeLists.txt 2023-12-06 08:42:39.313607692 +0100 ++++ b/dynolog/src/tracing/CMakeLists.txt 2023-12-06 08:42:59.377010468 +0100 +@@ -11,5 +11,6 @@ + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/.. + ) + ++find_package(glog) + target_link_libraries(dynolog_ipcmonitor_lib PUBLIC glog::glog) + target_link_libraries(dynolog_ipcmonitor_lib PUBLIC dynolog_ipcfabric_lib) +--- a/dynolog/tests/rpc/CMakeLists.txt 2023-12-06 07:41:52.818942108 +0100 ++++ b/dynolog/tests/rpc/CMakeLists.txt 2023-12-06 07:42:04.415601339 +0100 +@@ -2,7 +2,8 @@ + + add_executable(json_client SimpleJsonClientTestCLI.cpp SimpleJsonClientTest.h) + +-target_link_libraries(json_client PUBLIC gflags::gflags) ++target_link_libraries(json_client PUBLIC gflags) ++find_package(glog) + target_link_libraries(json_client PUBLIC glog::glog) + + dynolog_add_test(SimpleJsonClientTest +--- a/dynolog/tests/tracing/CMakeLists.txt 2023-12-06 08:44:45.267376972 +0100 ++++ b/dynolog/tests/tracing/CMakeLists.txt 2023-12-06 08:45:01.977434795 +0100 +@@ -2,6 +2,7 @@ + + dynolog_add_test(IPCMonitorTest IPCMonitorTest.cpp) + ++find_package(glog) + target_link_libraries(IPCMonitorTest PRIVATE glog::glog) + target_link_libraries(IPCMonitorTest PRIVATE dynolog_ipcmonitor_lib) + target_link_libraries(IPCMonitorTest PRIVATE dynolog_lib) diff --git a/dev-libs/dynolog/metadata.xml b/dev-libs/dynolog/metadata.xml new file mode 100644 index 000000000000..1afdcf76a673 --- /dev/null +++ b/dev-libs/dynolog/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Alfredo Tupone</name> + </maintainer> + <upstream> + <remote-id type="github">facebookincubator/dynolog</remote-id> + </upstream> +</pkgmetadata> |