From 236e75597883501f8700d9ba1a5c8276f578a17f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 May 2024 00:06:25 +0100 Subject: gentoo auto-resync : 22:05:2024 - 00:06:25 --- dev-libs/dynolog/Manifest | 2 +- dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild | 116 -------------------- dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild | 119 +++++++++++++++++++++ 3 files changed, 120 insertions(+), 117 deletions(-) delete mode 100644 dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild create mode 100644 dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild (limited to 'dev-libs/dynolog') diff --git a/dev-libs/dynolog/Manifest b/dev-libs/dynolog/Manifest index 43211ac0c29e..d8fe34927055 100644 --- a/dev-libs/dynolog/Manifest +++ b/dev-libs/dynolog/Manifest @@ -38,5 +38,5 @@ DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9d 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 -EBUILD dynolog-0.3.1_p20230126-r1.ebuild 2277 BLAKE2B 09ff4744a7c7205f107681174c9333e1cd3ac0813db9b9f0f346a5b917792eff88d4062a2423dc3091b169064acd285307b89fe3bec5a2e6eac14371cc6be09e SHA512 ba401d5cc238f54233300c7c43a61f118ff7de550c3d59e8a223a4ad75c13a52abf6549216584a4728209a83f4e3531d40e74c08690904a1a2a22124db5f4143 +EBUILD dynolog-0.3.1_p20230126-r2.ebuild 2408 BLAKE2B 584fb37b754726d98df698dfff3ebea1888cf350a4adb2dae5ae70b72ccd7c643ac381108e7ae739ced5d2cb0139329291e2e9afc2569678ee52061aa0463305 SHA512 a4f32f21883e854c7d569b450934cf74ec9cef3a9e1c383c929f95a7bdf7c37b60eeda8c69997f5ec3362f86acb355bfb74d20b5caee1d69cccf11c33f6e398f MISC metadata.xml 338 BLAKE2B 0822b3b3d714781580cb971977d83cbfecc581ff88b42dd1cb964d7365b2f738c9a41c1f4cc3f3dd8240baa23c7d339dcd6b1a9169a97bd79aa92e5e838f892d SHA512 5895f072dc775f8d871f19d987869c015b5a2412af0636a7d9caf1c10817a67c9126eb9f56d86e22be1c75fc165ac6c348010e32cfdbaec32eec73f827af7be2 diff --git a/dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild b/dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild deleted file mode 100644 index cd1da77cf928..000000000000 --- a/dev-libs/dynolog/dynolog-0.3.1_p20230126-r1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 2023-2024 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}" - -# Partially rust build -QA_FLAGS_IGNORED=/usr/bin/dyno - -PATCHES=( - "${FILESDIR}"/${P}-gcc13.patch - "${FILESDIR}"/${P}-unbundling.patch - "${FILESDIR}"/${P}-noWerror.patch - "${FILESDIR}"/${P}-riscv.patch - "${FILESDIR}"/${P}-musl.patch -) - -CMAKE_SKIP_TESTS=( "Defs.CpuSet" ) - -src_prepare() { - sed -i \ - -e "s:__u64:ino_t:g" \ - hbt/src/common/System.h \ - || die - cmake_src_prepare - cmake_comment_add_subdirectory third_party/gflags - cmake_comment_add_subdirectory third_party/glog - rm -r third_party/googletest || die -} - -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/dynolog-0.3.1_p20230126-r2.ebuild b/dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild new file mode 100644 index 000000000000..806fe0946869 --- /dev/null +++ b/dev-libs/dynolog/dynolog-0.3.1_p20230126-r2.ebuild @@ -0,0 +1,119 @@ +# Copyright 2023-2024 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 + dev-libs/pfs + net-misc/curl" +RDEPEND="${DEPEND}" + +# Partially rust build +QA_FLAGS_IGNORED=/usr/bin/dyno + +PATCHES=( + "${FILESDIR}"/${P}-gcc13.patch + "${FILESDIR}"/${P}-unbundling.patch + "${FILESDIR}"/${P}-noWerror.patch + "${FILESDIR}"/${P}-riscv.patch + "${FILESDIR}"/${P}-musl.patch +) + +CMAKE_SKIP_TESTS=( "Defs.CpuSet" "KernelCollecterTest.NetworkStatsTest" ) + +src_prepare() { + sed -i \ + -e "s:__u64:ino_t:g" \ + hbt/src/common/System.h \ + || die + cmake_src_prepare + cmake_comment_add_subdirectory third_party/gflags + cmake_comment_add_subdirectory third_party/glog + cmake_comment_add_subdirectory third_party/pfs + rm -r third_party/googletest || die + rm -r third_party/pfs || die +} + +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} +} -- cgit v1.2.3