diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 69610 -> 69614 bytes | |||
-rw-r--r-- | dev-util/bitcoin-tx/Manifest | 15 | ||||
-rw-r--r-- | dev-util/bitcoin-tx/bitcoin-tx-0.21.0-r2.ebuild | 105 | ||||
-rw-r--r-- | dev-util/bitcoin-tx/bitcoin-tx-22.0-r2.ebuild | 113 | ||||
-rw-r--r-- | dev-util/bitcoin-tx/bitcoin-tx-24.0.1-r1.ebuild | 83 | ||||
-rw-r--r-- | dev-util/bitcoin-tx/bitcoin-tx-25.1.ebuild | 2 | ||||
-rw-r--r-- | dev-util/bitcoin-tx/files/22.0-fix_build_without_leveldb.patch | 23 | ||||
-rw-r--r-- | dev-util/bitcoin-tx/files/24.0.1-gcc13.patch | 39 | ||||
-rw-r--r-- | dev-util/bitcoin-tx/files/24.0.1-syslibs.patch | 281 | ||||
-rw-r--r-- | dev-util/bitcoin-tx/metadata.xml | 3 | ||||
-rw-r--r-- | dev-util/rocm_bandwidth_test/Manifest | 2 | ||||
-rw-r--r-- | dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.7.1.ebuild | 32 | ||||
-rw-r--r-- | dev-util/visualvm/Manifest | 4 | ||||
-rw-r--r-- | dev-util/visualvm/visualvm-2.1.6.ebuild | 1 | ||||
-rw-r--r-- | dev-util/visualvm/visualvm-2.1.7.ebuild | 1 |
15 files changed, 41 insertions, 663 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex a98b9cc0804f..91b71e7c754f 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/bitcoin-tx/Manifest b/dev-util/bitcoin-tx/Manifest index 70a7f7050ceb..55e4fd26264b 100644 --- a/dev-util/bitcoin-tx/Manifest +++ b/dev-util/bitcoin-tx/Manifest @@ -1,13 +1,2 @@ -AUX 22.0-fix_build_without_leveldb.patch 683 BLAKE2B 471da86970257cc9082c57504e4a571af9ca70a869aeefd2c59ceaf25680cca75c209cb14658bcb3323c372619cf008ba0a019e89bbd0785886aaf47bf8a48f3 SHA512 1c5aa6a181b404d2b6ae5f820f074c5f27845102900457d88857a2a4bfcb21830ff970cc3cde91623a6b6e18a339f9823170312d91e126649e0d0f4ce71d0200 -AUX 24.0.1-gcc13.patch 989 BLAKE2B f1af15f550a0d43fb0a80f585bcc507a505e2351062c347cd334276d87b4cae48235ca643291b6473e89aaabdac920927f2d654589ca029141a833882e041bfc SHA512 07cfc8cea84f716d0844010b8f09a3dc700e8b89c9ea98da133a34a8820841cec20c426f53a3dacde4d406a2f34409018bce879b34c0def30770025834b60929 -AUX 24.0.1-syslibs.patch 9037 BLAKE2B fa634a8f18d1f1c32d1c3cb18bdfcafc89838a7f5b3a075a40ad3354d1253f1d637351d2661475eb86110db470a7b29c9cfb6266a7f61623c0865939c9e74453 SHA512 fcf8114174e69c5385058b190fa2c0b0ef105869d5d6a40a3cc6bb8e8ef1518cb8bc1fb7cc3a7ec28f361d91f66e4253420c2b50a0004a2dc0978910254cae3d -DIST bitcoin-0.21.0.knots20210130.patches.tar.xz 505040 BLAKE2B c8999de4158b8781bba6ad014ae14859f1e0bab3080c59a18910cf7447eb56da4b17a0e1843fdd3669d22636df9e4ddcc4526e4293bfd86dc884983a29a5f76c SHA512 7ee27da3d26be0e93ecddff7bb21ef1746bcdb07f9a2b0ea48065367b4c44391e974e04a21e511c05fca8f55971ab8e3c3ac01a3775cc52a537d9e10966d9871 -DIST bitcoin-22.0.knots20211108.patches.tar.xz 1318256 BLAKE2B d6e56bc0ca1d706e99e7f42d8f335f016335b6bf3637c733d993696872f0a4c655cc58fc0394dfdf9916e13f0d7fbdcebf25fbdc9a165227e3c59133033644c0 SHA512 daab5860b7c7e137b6bf350cdc153e6e19172e49935640d1f6fe1f1be1e4df805b1db7fd30b0f95a560106956adab70cc6282fe933ae9de153cb971dd280f83d -DIST bitcoin-24.0.1.tar.gz 11412628 BLAKE2B 2a8c83aecd12d8d40305d78ede1f389884ee62cfe4af39a9b416b8887a595f3393d599ebe9ddeb576bba5896923feb7ee45ba32d7d4cb0ce9e6d0ef39ecf83c7 SHA512 de1ddb543429f70b0b55a46500e0bc4807cca1b1655a28f8ab186d6f6e620f8cf82420bbdf412976ffed9bc6d742926b19933429c734edaf7430a4f8c37e1685 -DIST bitcoin-v0.21.0.tar.gz 7533957 BLAKE2B 01247cbb9fca2381a8c08ab1c88c479c640963caef22e4207aab46b05813dbf2a5286ac9e98132fb34db0e9ac6c18c79e45a89de166f5c6d480d8ac6e14ecca2 SHA512 c58187996932b0151432a65885b7e8a7b216fb1ab0576fb7d4b5e9620d957594b05e181153e2e0e50bcd5ce764861ec11019ffbb1095d3e704f441e61ac6a04f -DIST bitcoin-v22.0.tar.gz 7977783 BLAKE2B ba212037bc8efcfbbbf6340c48ed886c4a5aa93e4a34097eafea39734a6f4e25fa6b174f894655f63c504380d8761657771795bfcc641018bf1f1661deef9321 SHA512 1b4b17360e97f390ae678adb7a239c359d3a1288799710683e26f09fc53341b6fca3211465fa3e4fdee37324d85ec1a31ffd1a3714e969df13441f755fa4b7ad -EBUILD bitcoin-tx-0.21.0-r2.ebuild 2477 BLAKE2B 29c4ac0ef985767c0c3d22013777ceb5edb29a53f4436ea0141da679c5dd6eea82dd019d7ad73891e0ebde862f60bfe291d337a2da2111724b28edc07b13b295 SHA512 6a501c4705757736422ebffb264c8cdf09b6e17c2327e113c85ba330067ffdebd990725dda191cbce7dcb80840567ef4e7c095f55a5a5e4033e3c65f51e63cca -EBUILD bitcoin-tx-22.0-r2.ebuild 2741 BLAKE2B 56742837a3b542f1760d0f6122ace4762aeb85ff44dc8d321afce019d7e705aefd73d1c9c3a44a3410339192a2f99653d925673ce1a62fff1b1dae3fa302466f SHA512 bcb0f588aa503aca0ffe1ff6072703a859180cde9748bf15e4a8975ffd55a3fe4484995e07213f2d322790aea51785e3b9321511d21133aec7c26b1b4fc2489f -EBUILD bitcoin-tx-24.0.1-r1.ebuild 1637 BLAKE2B b72b107f9814d4d5be527e94068c490c143df5f343aed66f981b8847b2beacce24908ae8c2201e1f336a21efe242539ab36f82cfa78074843869c8cce2b32543 SHA512 e7ec21e145117c6c0b2836f9df134474627f8589b54af70279c93ef2227dbce06c1d3e4a7c04305ea3396edbca3b754f04a10cb2c55c210fa2677dd6159e601a -EBUILD bitcoin-tx-25.1.ebuild 349 BLAKE2B dc3f1ab18af1e61a7104ce680648835d0030ebfc32f38621085faeccf69aa776d3b4ae0ad9f0b4f07a350e11a7cc724c4b65c044b29093083c5dde38e90034df SHA512 75072bcb7ce659d52ccb4d67a5bead816921be63a14c36445844b56693f133328a4f3dc406053d13bee4162370c032a45a3c7cad1f4631e5d19cb2e83c0bcd6c -MISC metadata.xml 651 BLAKE2B 33a308d2af3a2418cfed88e8a50b1a7f160c3f9ccb7d65acef717cad7bbad0dd8fe0577a6fbe606a354f6458074ed3471ac7672737c8892ac5c67f41ef47ed2f SHA512 303af395b2ef63071c84925ccd94a79f441fa2d32efb78b218c2846be6ae8777949823d205f8073c48ff73746adbec8cf05f76ec90a7f26601cd427335f1fff7 +EBUILD bitcoin-tx-25.1.ebuild 347 BLAKE2B c1ac9bed84d535c738d2565a9a5d25b0930c112b898480ad0bbea48c678097cb64f3bd8994af07c7b9683e99605c90e25daa23062aceeb5fcc7eaf76e172a0ea SHA512 cea7206ec0295c54fc5102df3f6def43bfc7958596f3374e359a6a059d0559f02071ff91ef8d7dd0cbe982abbf21e95a83d30c3b92ec7514936a6e1fa9508f9b +MISC metadata.xml 545 BLAKE2B 1edf1e74fcee6b62d4814c592f1024243f0f0dcfed513748997423e0235c46814ce28a6bb2bf4ecd669699dc552785b27b75cff2f23e2e344601814477baa780 SHA512 e836dcf394ce09821e47025f118286c1f92aed62167133bf8e7ffcf99c8d369584ae941097f7ff2f01c18d1b79e9a38b25558f16774b60320d4b1d41a969b907 diff --git a/dev-util/bitcoin-tx/bitcoin-tx-0.21.0-r2.ebuild b/dev-util/bitcoin-tx/bitcoin-tx-0.21.0-r2.ebuild deleted file mode 100644 index 865fc9b4f6ab..000000000000 --- a/dev-util/bitcoin-tx/bitcoin-tx-0.21.0-r2.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools bash-completion-r1 - -BITCOINCORE_COMMITHASH="95ea54ba089610019a74c1176a2c7c0dba144b1c" -KNOTS_PV="${PV}.knots20210130" -KNOTS_P="bitcoin-${KNOTS_PV}" - -DESCRIPTION="Command-line Bitcoin transaction tool" -HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/" -SRC_URI=" - https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> bitcoin-v${PV}.tar.gz - https://bitcoinknots.org/files/$(ver_cut 1-2).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="knots" - -DEPEND=" - dev-libs/boost:= - >dev-libs/libsecp256k1-0.1_pre20200911:0/0[recovery,schnorr] - !>=dev-libs/libsecp256k1-0.1_pre20210628 - >=dev-libs/univalue-1.0.4:= -" -RDEPEND="${DEPEND}" -BDEPEND=" - >=sys-devel/autoconf-2.69 - >=sys-devel/automake-1.13 -" - -DOCS=( - doc/bips.md - doc/release-notes.md -) - -S="${WORKDIR}/bitcoin-${BITCOINCORE_COMMITHASH}" - -pkg_pretend() { - if use knots; then - elog "You are building ${PN} from Bitcoin Knots." - elog "For more information, see:" - elog "https://bitcoinknots.org/files/0.21.x/${KNOTS_PV}/${KNOTS_P}.desc.html" - else - elog "You are building ${PN} from Bitcoin Core." - elog "For more information, see:" - elog "https://bitcoincore.org/en/2021/01/14/release-${PV}/" - fi -} - -src_prepare() { - local knots_patchdir="${WORKDIR}/${KNOTS_P}.patches/" - - eapply "${knots_patchdir}/${KNOTS_P}.syslibs.patch" - - if use knots; then - eapply "${knots_patchdir}/${KNOTS_P}.f.patch" - eapply "${knots_patchdir}/${KNOTS_P}.branding.patch" - eapply "${knots_patchdir}/${KNOTS_P}.ts.patch" - fi - - eapply_user - - echo '#!/bin/true' >share/genbuild.sh || die - mkdir -p src/obj || die - echo "#define BUILD_SUFFIX gentoo${PVR#${PV}}" >src/obj/build.h || die - - eautoreconf - rm -r src/leveldb src/secp256k1 || die -} - -src_configure() { - local my_econf=( - --disable-asm - --without-qtdbus - --without-qrencode - --without-miniupnpc - --disable-tests - --disable-wallet - --disable-zmq - --enable-util-tx - --disable-util-cli - --disable-util-wallet - --disable-bench - --without-libs - --without-daemon - --without-gui - --disable-fuzz - --disable-ccache - --disable-static - --with-system-libsecp256k1 - --with-system-univalue - ) - econf "${my_econf[@]}" -} - -src_install() { - default - - newbashcomp contrib/${PN}.bash-completion ${PN} -} diff --git a/dev-util/bitcoin-tx/bitcoin-tx-22.0-r2.ebuild b/dev-util/bitcoin-tx/bitcoin-tx-22.0-r2.ebuild deleted file mode 100644 index cbf1068adebf..000000000000 --- a/dev-util/bitcoin-tx/bitcoin-tx-22.0-r2.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools bash-completion-r1 flag-o-matic - -BITCOINCORE_COMMITHASH="a0988140b71485ad12c3c3a4a9573f7c21b1eff8" -KNOTS_PV="${PV}.knots20211108" -KNOTS_P="bitcoin-${KNOTS_PV}" - -DESCRIPTION="Command-line Bitcoin transaction tool" -HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/" -SRC_URI=" - https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> bitcoin-v${PV}.tar.gz - https://bitcoinknots.org/files/$(ver_cut 1).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="knots" - -RDEPEND=" - dev-libs/boost:= - >dev-libs/libsecp256k1-0.1_pre20200911:0/0[recovery,schnorr] - !>=dev-libs/libsecp256k1-0.1_pre20210628 - >=dev-libs/univalue-1.0.4:= -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=sys-devel/automake-1.13 - || ( >=sys-devel/gcc-7[cxx] >=sys-devel/clang-5 ) -" - -DOCS=( - doc/bips.md - doc/release-notes.md -) - -S="${WORKDIR}/bitcoin-${BITCOINCORE_COMMITHASH}" - -pkg_pretend() { - if use knots; then - elog "You are building ${PN} from Bitcoin Knots." - elog "For more information, see:" - elog "https://bitcoinknots.org/files/22.x/${KNOTS_PV}/${KNOTS_P}.desc.html" - else - elog "You are building ${PN} from Bitcoin Core." - elog "For more information, see:" - elog "https://bitcoincore.org/en/2021/09/13/release-${PV}/" - fi - - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if ! test-flag-CXX -std=c++17 ; then - die "Building ${CATEGORY}/${P} requires at least GCC 7 or Clang 5" - fi - fi -} - -src_prepare() { - local knots_patchdir="${WORKDIR}/${KNOTS_P}.patches/" - - eapply "${knots_patchdir}/${KNOTS_P}_p1-syslibs.patch" - eapply "${FILESDIR}/${PV}-fix_build_without_leveldb.patch" - - if use knots; then - eapply "${knots_patchdir}/${KNOTS_P}_p2-fixes.patch" - eapply "${knots_patchdir}/${KNOTS_P}_p3-features.patch" - eapply "${knots_patchdir}/${KNOTS_P}_p4-branding.patch" - eapply "${knots_patchdir}/${KNOTS_P}_p5-ts.patch" - fi - - default - - eautoreconf - rm -r src/leveldb src/secp256k1 || die -} - -src_configure() { - local my_econf=( - --disable-asm - --without-qtdbus - --disable-ebpf - --without-natpmp - --without-qrencode - --without-miniupnpc - --disable-tests - --disable-wallet - --disable-zmq - --enable-util-tx - --disable-util-util - --disable-util-cli - --disable-util-wallet - --disable-bench - --without-libs - --without-daemon - --without-gui - --disable-fuzz - --disable-fuzz-binary - --disable-ccache - --disable-static - --with-system-libsecp256k1 - --with-system-univalue - ) - econf "${my_econf[@]}" -} - -src_install() { - default - - newbashcomp contrib/${PN}.bash-completion ${PN} -} diff --git a/dev-util/bitcoin-tx/bitcoin-tx-24.0.1-r1.ebuild b/dev-util/bitcoin-tx/bitcoin-tx-24.0.1-r1.ebuild deleted file mode 100644 index fd1d577bd081..000000000000 --- a/dev-util/bitcoin-tx/bitcoin-tx-24.0.1-r1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools bash-completion-r1 - -DESCRIPTION="Command-line Bitcoin transaction tool" -HOMEPAGE="https://bitcoincore.org/" -SRC_URI=" - https://bitcoincore.org/bin/bitcoin-core-${PV}/${P/-tx}.tar.gz -" -S="${WORKDIR}"/${P/-tx} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" - -# TODO: Can we drop virtual/bitcoin-leveldb from some bitcoin-*? -# (only bitcoin-qt, bitcoind should need it?) -RDEPEND=" - >=dev-libs/boost-1.64.0:= - >=dev-libs/libsecp256k1-0.2:=[recovery,schnorr] - virtual/bitcoin-leveldb -" -DEPEND="${RDEPEND}" - -DOCS=( - doc/bips.md - doc/release-notes.md -) - -PATCHES=( - "${FILESDIR}"/24.0.1-syslibs.patch - "${FILESDIR}"/24.0.1-gcc13.patch -) - -pkg_pretend() { - elog "You are building ${PN} from Bitcoin Core." - elog "For more information, see:" - elog "https://bitcoincore.org/en/releases/${PV}/" -} - -src_prepare() { - default - - eautoreconf - rm -r src/leveldb src/secp256k1 || die -} - -src_configure() { - local myeconfargs=( - --disable-asm - --without-qtdbus - --disable-ebpf - --without-natpmp - --without-qrencode - --without-miniupnpc - --disable-tests - --disable-wallet - --disable-zmq - --enable-util-tx - --disable-util-util - --disable-util-cli - --disable-util-wallet - --disable-bench - --without-libs - --without-daemon - --without-gui - --disable-fuzz - --disable-fuzz-binary - --disable-ccache - --with-system-libsecp256k1 - --with-system-univalue - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - - newbashcomp contrib/${PN}.bash-completion ${PN} -} diff --git a/dev-util/bitcoin-tx/bitcoin-tx-25.1.ebuild b/dev-util/bitcoin-tx/bitcoin-tx-25.1.ebuild index 7593d8a0097f..2b266a5f9f35 100644 --- a/dev-util/bitcoin-tx/bitcoin-tx-25.1.ebuild +++ b/dev-util/bitcoin-tx/bitcoin-tx-25.1.ebuild @@ -8,6 +8,6 @@ HOMEPAGE="https://bitcoincore.org/" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" RDEPEND="~net-p2p/bitcoin-core-${PV}" diff --git a/dev-util/bitcoin-tx/files/22.0-fix_build_without_leveldb.patch b/dev-util/bitcoin-tx/files/22.0-fix_build_without_leveldb.patch deleted file mode 100644 index e9dec14b9d43..000000000000 --- a/dev-util/bitcoin-tx/files/22.0-fix_build_without_leveldb.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/src/init/common.cpp b/src/init/common.cpp -index b5b74cda78b..d01e0e73b4a 100644 ---- a/src/init/common.cpp -+++ b/src/init/common.cpp -@@ -9,7 +9,6 @@ - #include <clientversion.h> - #include <compat/sanity.h> - #include <crypto/sha256.h> --#include <dbwrapper.h> - #include <key.h> - #include <logging.h> - #include <node/ui_interface.h> -@@ -41,10 +40,6 @@ void UnsetGlobals() - - bool SanityChecks() - { -- if (!dbwrapper_SanityCheck()) { -- return InitError(Untranslated("Database sanity check failure. Aborting.")); -- } -- - if (!ECC_InitSanityCheck()) { - return InitError(Untranslated("Elliptic curve cryptography sanity check failure. Aborting.")); - } diff --git a/dev-util/bitcoin-tx/files/24.0.1-gcc13.patch b/dev-util/bitcoin-tx/files/24.0.1-gcc13.patch deleted file mode 100644 index 39cf81b14953..000000000000 --- a/dev-util/bitcoin-tx/files/24.0.1-gcc13.patch +++ /dev/null @@ -1,39 +0,0 @@ -https://bugs.gentoo.org/903781 -https://bugs.gentoo.org/900246 -https://bugs.gentoo.org/895814 -https://bugs.gentoo.org/894734 -https://github.com/bitcoin/bitcoin/commit/fadeb6b103cb441e0e91ef506ef29febabb10715 - -From fadeb6b103cb441e0e91ef506ef29febabb10715 Mon Sep 17 00:00:00 2001 -From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> -Date: Thu, 19 Jan 2023 19:35:43 +0100 -Subject: [PATCH] Add missing includes to fix gcc-13 compile error - ---- a/src/support/lockedpool.cpp -+++ b/src/support/lockedpool.cpp -@@ -19,6 +19,9 @@ - #endif - - #include <algorithm> -+#include <limits> -+#include <stdexcept> -+#include <utility> - #ifdef ARENA_DEBUG - #include <iomanip> - #include <iostream> ---- a/src/support/lockedpool.h -+++ b/src/support/lockedpool.h -@@ -5,11 +5,11 @@ - #ifndef BITCOIN_SUPPORT_LOCKEDPOOL_H - #define BITCOIN_SUPPORT_LOCKEDPOOL_H - --#include <stdint.h> -+#include <cstddef> - #include <list> - #include <map> --#include <mutex> - #include <memory> -+#include <mutex> - #include <unordered_map> - - /** diff --git a/dev-util/bitcoin-tx/files/24.0.1-syslibs.patch b/dev-util/bitcoin-tx/files/24.0.1-syslibs.patch deleted file mode 100644 index 00404a2ff021..000000000000 --- a/dev-util/bitcoin-tx/files/24.0.1-syslibs.patch +++ /dev/null @@ -1,281 +0,0 @@ -Originally based on 22.0-fix_build_without_leveldb.patch. - -- Allow system libsecp256k1 -- Allow system leveldb -- Abort if runtime leveldb != compiled-against leveldb -- Handle berkdb support being disabled better ---- a/configure.ac -+++ b/configure.ac -@@ -1362,6 +1362,23 @@ if test "$enable_fuzz_binary" = "yes"; then - CHECK_RUNTIME_LIB - fi - -+dnl Check for libsecp256k1, only if explicitly requested -+AC_ARG_WITH([system-libsecp256k1], -+ [AS_HELP_STRING([--with-system-libsecp256k1], -+ [Build with system libsecp256k1 (default is no; DANGEROUS; NOT SUPPORTED)])], -+ [system_libsecp256k1=$withval], -+ [system_libsecp256k1=no] -+) -+if test x$system_libsecp256k1 != xno; then -+ PKG_CHECK_MODULES([libsecp256k1],[libsecp256k1],,[true]) -+else -+ libsecp256k1_CFLAGS='-I$(srcdir)/secp256k1/include' -+ libsecp256k1_LIBS='secp256k1/libsecp256k1.la' -+fi -+AM_CONDITIONAL([EMBEDDED_LIBSECP256K1],[test x$system_libsecp256k1 = xno]) -+AC_SUBST(libsecp256k1_CFLAGS) -+AC_SUBST(libsecp256k1_LIBS) -+ - if test "$enable_wallet" != "no"; then - dnl Check for libdb_cxx only if wallet enabled - if test "$use_bdb" != "no"; then -@@ -1413,11 +1430,76 @@ if test "$use_usdt" != "no"; then - fi - AM_CONDITIONAL([ENABLE_USDT_TRACEPOINTS], [test "$use_usdt" = "yes"]) - -+build_leveldb=yes - if test "$build_bitcoin_cli$build_bitcoin_tx$build_bitcoin_util$build_bitcoind$bitcoin_enable_qt$use_bench$use_tests" = "nonononononono"; then - use_upnp=no - use_natpmp=no - use_zmq=no -+ build_leveldb=no -+fi -+ -+if test x$build_leveldb = xno; then -+ system_leveldb=no -+fi -+dnl Check for leveldb, only if explicitly requested -+if test x$system_leveldb != xno; then -+ build_leveldb=no -+ LEVELDB_CPPFLAGS= -+ AC_CHECK_LIB([leveldb],[main],[ -+ LIBLEVELDB=-lleveldb -+ ],[ -+ AC_MSG_ERROR([leveldb library not found; using --with-system-leveldb is not supported anyway]) -+ ]) -+ AC_CHECK_HEADER([leveldb/filter_policy.h],[],[ -+ AC_MSG_ERROR([LevelDB headers not found; using --with-system-leveldb is not supported anyway]) -+ ]) -+ AC_CHECK_HEADER([leveldb/helpers/memenv.h],[ -+ AC_MSG_CHECKING([for memenv.h path]) -+ BITCOIN_SUBDIR_TO_INCLUDE([LEVELDB_CPPFLAGS],[leveldb/helpers/],[memenv]) -+ ],[ -+ AC_CHECK_HEADER([memenv.h],[],[ -+ AC_MSG_ERROR([LevelDB headers not found; using --with-system-leveldb is not supported anyway]) -+ ]) -+ ]) -+ -+ AC_MSG_CHECKING([library containing leveldb::NewMemEnv]) -+ TEMP_LIBS="$LIBS" -+ TEMP_CPPFLAGS="$CPPFLAGS" -+ CPPFLAGS="$CPPFLAGS $LEVELDB_CPPFLAGS" -+ for searchlib in "" "-lmemenv" ERR; do -+ if test "x$searchlib" = "xERR"; then -+ AC_MSG_RESULT([no]) -+ AC_MSG_ERROR([LevelDB's memenv helper not found; using --with-system-leveldb is not supported anyway]) -+ fi -+ searchlib="$searchlib $LIBLEVELDB" -+ LIBS="$searchlib $TEMP_LIBS" -+ AC_LINK_IFELSE([AC_LANG_SOURCE([ -+ #include <leveldb/env.h> -+ #include <leveldb/helpers/memenv.h> -+ -+ int main() { -+ leveldb::Env *myenv = leveldb::NewMemEnv(leveldb::Env::Default()); -+ delete myenv; -+ } -+ ])],[ -+ AC_MSG_RESULT([$searchlib]) -+ LIBMEMENV="$searchlib" -+ break -+ ]) -+ done -+ LIBS="$TEMP_LIBS" -+ CPPFLAGS="$TEMP_CPPFLAGS" - fi -+AM_CONDITIONAL([EMBEDDED_LEVELDB],[test x$build_leveldb = xyes]) -+AC_SUBST(LEVELDB_CPPFLAGS) -+AC_SUBST(LIBLEVELDB) -+AC_SUBST(LIBMEMENV) -+AC_ARG_WITH([system-leveldb], -+ [AS_HELP_STRING([--with-system-leveldb], -+ [Build with system LevelDB (default is no; DANGEROUS; NOT SUPPORTED)])], -+ [system_leveldb=$withval], -+ [system_leveldb=no] -+) - - dnl Check for libminiupnpc (optional) - if test "$use_upnp" != "no"; then ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -23,7 +23,7 @@ noinst_PROGRAMS = - TESTS = - BENCHMARKS = - --BITCOIN_INCLUDES=-I$(builddir) -I$(srcdir)/$(MINISKETCH_INCLUDE_DIR_INT) -I$(srcdir)/secp256k1/include -I$(srcdir)/$(UNIVALUE_INCLUDE_DIR_INT) $(LEVELDB_CPPFLAGS) -+BITCOIN_INCLUDES=-I$(builddir) -I$(srcdir)/$(MINISKETCH_INCLUDE_DIR_INT) $(libsecp256k1_CFLAGS) -I$(srcdir)/$(UNIVALUE_INCLUDE_DIR_INT) $(BOOST_CPPFLAGS) $(LEVELDB_CPPFLAGS) - - LIBBITCOIN_NODE=libbitcoin_node.a - LIBBITCOIN_COMMON=libbitcoin_common.a -@@ -32,7 +32,11 @@ LIBBITCOIN_CLI=libbitcoin_cli.a - LIBBITCOIN_UTIL=libbitcoin_util.a - LIBBITCOIN_CRYPTO_BASE=crypto/libbitcoin_crypto_base.la - LIBBITCOINQT=qt/libbitcoinqt.a -+if EMBEDDED_LIBSECP256K1 - LIBSECP256K1=secp256k1/libsecp256k1.la -+else -+LIBSECP256K1=$(libsecp256k1_LIBS) -+endif - - if ENABLE_ZMQ - LIBBITCOIN_ZMQ=libbitcoin_zmq.a -@@ -67,8 +71,10 @@ LIBBITCOIN_CRYPTO += $(LIBBITCOIN_CRYPTO_ARM_SHANI) - endif - noinst_LTLIBRARIES += $(LIBBITCOIN_CRYPTO) - -+if EMBEDDED_LIBSECP256K1 - $(LIBSECP256K1): $(wildcard secp256k1/src/*.h) $(wildcard secp256k1/src/*.c) $(wildcard secp256k1/include/*) - $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) -+endif - - # Make is not made aware of per-object dependencies to avoid limiting building parallelization - # But to build the less dependent modules first, we manually select their order here: -@@ -1080,7 +1086,9 @@ endif - include Makefile.minisketch.include - - include Makefile.crc32c.include -+if EMBEDDED_LEVELDB - include Makefile.leveldb.include -+endif - - include Makefile.test_util.include - include Makefile.test_fuzz.include ---- a/src/Makefile.test.include -+++ b/src/Makefile.test.include -@@ -377,8 +377,9 @@ if ENABLE_BENCH - $(BENCH_BINARY) --sanity-check > /dev/null - endif - endif -+if EMBEDDED_LIBSECP256K1 - $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C secp256k1 check -- -+endif - if ENABLE_TESTS - UNIVALUE_TESTS = univalue/test/object univalue/test/unitester - noinst_PROGRAMS += $(UNIVALUE_TESTS) ---- a/src/dbwrapper.cpp -+++ b/src/dbwrapper.cpp -@@ -7,26 +7,45 @@ - #include <fs.h> - #include <logging.h> - #include <random.h> -+#include <node/interface_ui.h> - #include <tinyformat.h> - #include <util/strencodings.h> - #include <util/system.h> -+#include <util/translation.h> - - #include <algorithm> - #include <cassert> - #include <cstdarg> - #include <cstdint> - #include <cstdio> -+#include <leveldb/c.h> - #include <leveldb/cache.h> - #include <leveldb/db.h> - #include <leveldb/env.h> - #include <leveldb/filter_policy.h> --#include <leveldb/helpers/memenv/memenv.h> -+#include <leveldb/helpers/memenv.h> - #include <leveldb/iterator.h> - #include <leveldb/options.h> - #include <leveldb/status.h> - #include <memory> - #include <optional> - -+bool dbwrapper_SanityCheck() -+{ -+ unsigned long header_version = (leveldb::kMajorVersion << 16) | leveldb::kMinorVersion; -+ unsigned long library_version = (leveldb_major_version() << 16) | leveldb_minor_version(); -+ -+ if (header_version != library_version) { -+ InitError(Untranslated(strprintf("Compiled with LevelDB %d.%d, but linked with LevelDB %d.%d (incompatible).", -+ leveldb::kMajorVersion, leveldb::kMinorVersion, -+ leveldb_major_version(), leveldb_minor_version() -+ ))); -+ return false; -+ } -+ -+ return true; -+} -+ - class CBitcoinLevelDBLogger : public leveldb::Logger { - public: - // This code is adapted from posix_logger.h, which is why it is using vsprintf. ---- a/src/dbwrapper.h -+++ b/src/dbwrapper.h -@@ -31,6 +31,8 @@ class Env; - static const size_t DBWRAPPER_PREALLOC_KEY_SIZE = 64; - static const size_t DBWRAPPER_PREALLOC_VALUE_SIZE = 1024; - -+bool dbwrapper_SanityCheck(); -+ - class dbwrapper_error : public std::runtime_error - { - public: ---- a/src/kernel/checks.cpp -+++ b/src/kernel/checks.cpp -@@ -3,9 +3,10 @@ - // file COPYING or http://www.opensource.org/licenses/mit-license.php. - - #include <kernel/checks.h> -- -+#include <dbwrapper.h> - #include <key.h> - #include <random.h> -+#include <node/interface_ui.h> - #include <util/time.h> - #include <util/translation.h> - -@@ -15,6 +16,10 @@ namespace kernel { - - std::optional<bilingual_str> SanityChecks(const Context&) - { -+ if (!dbwrapper_SanityCheck()) { -+ return Untranslated("Database sanity check failure. Aborting."); -+ } -+ - if (!ECC_InitSanityCheck()) { - return Untranslated("Elliptic curve cryptography sanity check failure. Aborting."); - } ---- a/src/qt/createwalletdialog.cpp -+++ b/src/qt/createwalletdialog.cpp -@@ -12,6 +12,7 @@ - - #include <qt/guiutil.h> - -+#include <QMessageBox> - #include <QPushButton> - - CreateWalletDialog::CreateWalletDialog(QWidget* parent) : -@@ -94,9 +95,16 @@ CreateWalletDialog::CreateWalletDialog(QWidget* parent) : - ui->external_signer_checkbox->setChecked(false); - #endif - --#ifndef USE_BDB -- ui->descriptor_checkbox->setEnabled(false); -- ui->descriptor_checkbox->setChecked(true); -+#ifdef USE_BDB -+ connect(ui->buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept); -+#else -+ connect(ui->buttonBox, &QDialogButtonBox::accepted, [this]() { -+ if (!this->isDescriptorWalletChecked()) { -+ QMessageBox::critical(this, tr("Cannot create wallet"), tr("This build was compiled without BDB support, so only experimental descriptor wallets are supported.")); -+ return; -+ } -+ this->accept(); -+ }); - #endif - - #ifndef ENABLE_EXTERNAL_SIGNER diff --git a/dev-util/bitcoin-tx/metadata.xml b/dev-util/bitcoin-tx/metadata.xml index 90d16ca8cd0d..9eab793a582a 100644 --- a/dev-util/bitcoin-tx/metadata.xml +++ b/dev-util/bitcoin-tx/metadata.xml @@ -9,9 +9,6 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> - <use> - <flag name="knots">Build enhanced Bitcoin Knots version, rather than Bitcoin Core</flag> - </use> <upstream> <remote-id type="github">bitcoin/bitcoin</remote-id> <remote-id type="github">bitcoinknots/bitcoin</remote-id> diff --git a/dev-util/rocm_bandwidth_test/Manifest b/dev-util/rocm_bandwidth_test/Manifest index 9cc817698f93..155c0636108c 100644 --- a/dev-util/rocm_bandwidth_test/Manifest +++ b/dev-util/rocm_bandwidth_test/Manifest @@ -1,5 +1,7 @@ DIST rocm_bandwidth_test-5.3.3.tar.gz 38681 BLAKE2B 02a09ae869b507ad117e40e2daadd6e2acb2a365b12e5f601a4c8d6e55d3fb51de32feef9122bd532700b46843310ed83088842728a814f55695a3572e83d1d1 SHA512 155480284cdd1b0e42c62ab49f536ef12f2b9cbfcf0e8d076938cf0cf86872b536506a81e283b656ef1896d7d6e691e06145b2021593542755dd7460d08002c9 DIST rocm_bandwidth_test-5.4.3.tar.gz 38761 BLAKE2B ab3c8fd15039081f7b42e1c5c82e06f2cf3f5c70c0868bf0c195507dd97669f199ecdaa895d292d225bce7aa069d14836923ff9ffd43d13749ca312ed07d3402 SHA512 676ba7aa26fd5eb2858ff61c8cf49ea3c5d51e87f5fa3bd6389c7c53e02561281d2d4a751369ccc66270f1d04b5ec9e55048ba23e758f0be8ef8e2abfd2026c2 +DIST rocm_bandwidth_test-5.7.1.tar.gz 38769 BLAKE2B 5880c4bb50d4daf87581424c2fb208363d2d34f848d3ced163b3809e5dff4e56996abf3edc6f8c8ca75f55d95b92604de6ee0c333930d32c7c52c8bcdb6562e6 SHA512 7da08b7a9bbde34e3b2b799e47e490d34dc69225b9d5efe103fd23f3a417fc7a48dcc813d2669ee4506f6699c4576c549f982a4a76a92d83447d6fab709f5042 EBUILD rocm_bandwidth_test-5.3.3.ebuild 573 BLAKE2B d8d76c19f1abe33baa48533c9fbd32fa3981a49b3530b7ea54770230349df7513f09a4d8cbdfbec9d4339861c769414778ea674e7faa4031609f9b0018eb8062 SHA512 e1726587640d81630af6aa4f701203c78bb5a2ba3cb72d75037d63aa2cba53b9835173a97340b2a56ff56fbab9d9cf0327684605a514d88039a506831be08d69 EBUILD rocm_bandwidth_test-5.4.3.ebuild 578 BLAKE2B d18f0234d952bcceec1899410342bbad75a1c3be787a08c39476b031ffd9cecf5ae79d0af612bacf00150a3eccbcfb669289f707540004defe5f7a70d5b44d9a SHA512 06d02fd10e1e1dcc504540e49afb9a7c8c821902fd69234f46485c174b273f00e2808f945609b0f155fb155e031c10d91beb545b1e4e9c810b1c0481d01d399f +EBUILD rocm_bandwidth_test-5.7.1.ebuild 763 BLAKE2B fb3b6dcb3d2dd8975a74c0c47d569c51e137363d3cc7aef169de1ee1513ccdfe2d8b7f43ca8ded505e54e66a11cc792254f721f99c0fc90102bf8b2d7c10d84f SHA512 c5b1a0639ed6b3f1a95305d129fab4e9a8de08882b60b40f78576dd92641e026c32e32b219207e96fcbf8b9b26dc454e31d3d85dbbe9fc1e1471a3efc361ad13 MISC metadata.xml 338 BLAKE2B 5cb4452f4f4b4d4af05fdf3a487d18d970b300fd36466bac36fcdea5b77a7c71efafcf6edfdc5e041bb484f0eb7bac694689db1663ece9260cb8c10d799949ef SHA512 dab4e8519c431bfa40fb174851106f51d79ded92e9fd40a9478689fce70c9c8bab75ea595e099faf3d1ec990071c50e2a0793c1697850b745c14d0b5b59d03bf diff --git a/dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.7.1.ebuild b/dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.7.1.ebuild new file mode 100644 index 000000000000..72bd53abb467 --- /dev/null +++ b/dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.7.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Bandwidth test for ROCm" +HOMEPAGE="https://github.com/RadeonOpenCompute/rocm_bandwidth_test" +SRC_URI="https://github.com/RadeonOpenCompute/${PN}/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="NCSA-AMD" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" + +DEPEND="dev-libs/rocr-runtime:=" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}/${PN}-rocm-${PV}" + +src_prepare() { + # the autodetection logic here is very very confused. This makes it not fail. + sed -i -e 's/if(${hsa-runtime64_FOUND})/if(false)/' CMakeLists.txt + cmake_src_prepare +} + +src_install() { + cmake_src_install + + rm -rfv "${ED}"/usr/share/doc/rocm-bandwidth-test +} diff --git a/dev-util/visualvm/Manifest b/dev-util/visualvm/Manifest index d7baf3a6f359..670639ec05d3 100644 --- a/dev-util/visualvm/Manifest +++ b/dev-util/visualvm/Manifest @@ -6,6 +6,6 @@ DIST nb140_platform_20220908.zip 25886909 BLAKE2B 28cf8180eddd81fcfee513faf19e4a DIST nb140_platform_20230511.zip 25886135 BLAKE2B 1b40f39dcb3d89cc91d2e90b5df87d393344606fb97f073630a7d160ab5ed35ba31966c4960ff3c657a75375b518f1667e2fca597626192e8cdc1dabfec1a63d SHA512 9781af27d4492dc84d65b9bc8bbda0ad42c22e32c29e14c6a55c4d94650d20798ee7a7fccf83150c88e7c428b8626c1767b21a1af230bc035496e65512d36442 DIST visualvm-2.1.6.tar.gz 11610216 BLAKE2B 60e87e1219cd1f39bd8d86ec35d07f4298f8378f3c16354570c8f3422cf7e4a3ed42d0a88d8d33290d226a8d92ec9eea3cf85713281c826aafb7610b1e0b42ca SHA512 3257b1890aab185aa28e226679bc78858f154022d49c8a4dd2ee2a5ec04afc4a5ac9633248f1aa1abcb8a457f5e612f223f4a03fdd54e6b8beb329c79dd0574c DIST visualvm-2.1.7.tar.gz 11617370 BLAKE2B 3a6bdffbbfa63de2290551a285c78f28239367163b71ffa8d8b9660cc149463c2aa85fdad028f35c25da640e8d2374aee56a8a572bdc90116e14bdad95b24e58 SHA512 3164021ecb4f65a0d263f76f9644e0563c97903bc1cb046bd5c9a99ee3b6fc6a0adeb048b65ff7f7599cd13c8744aa927622f3c28cb1db815af22bc99272d22c -EBUILD visualvm-2.1.6.ebuild 4721 BLAKE2B ee94c9db901f6e429373d196dfbdec6dd2af060a30af02e6a8331f4073eff18567ca0f17df2fcc44fe0339a68f2fcd01dc2b5ef200117bc1de16817811aaee18 SHA512 e32b9fae1a17669d38c7f75c24ad324b93bb47fa1c05781271ea62364a0c5b5d5a285f2d61e83eb35643938740a4e8a529c2703ff746e3a0a3126e7f17ff0e8e -EBUILD visualvm-2.1.7.ebuild 4711 BLAKE2B 3777bf1555b5520b6f77394888959c14c123f9f4a0eb00bf49f99008f7a58222bd768d1d6aa45a92a9947586074082b5f97a501351ac4b39b776807e7715e214 SHA512 a0b63f2f343e6f015488c7b15f7b345d98bbdcf59aaf9e727bce2ae5050214af1c13b78d603a602638933c7b2359b1c648aa706240bb32f30e0a2c004741a71e +EBUILD visualvm-2.1.6.ebuild 4744 BLAKE2B 3577ca3868caa773a0e1bb0b7f332fce7c4f4f43228652e72ed269dac36963ed26de6a8a12eecdc1d583ea54dfe256febf15f4e4a1ddba724c855081d7bd9e6a SHA512 115c539d003b70e31c9d48eedc59ffdb3590e1dd60d29b67f0e6c61ccabbd6f4939531a800b846dd3ad9df2c21f2960ec07e77982450881ade481a21f45589f1 +EBUILD visualvm-2.1.7.ebuild 4734 BLAKE2B bf24797fb7be046ed661f2f0a9431d1a59141192f6ac06640a588c70bd92bf8ef9cd359446fdc1ea5c49770fe16c785d959846d2dab6af88b57db958b9a8168d SHA512 dda7804ba48951f115ce13f3a5beb7a07b4313d55f63479efd3d23d56a55958efa0778f2e369e4d11e9a495862424010916a1f06b734d7d2fc25086bb08de74f MISC metadata.xml 317 BLAKE2B e5f32379a40e3c2180df4f3ac4e7ea03a7dbfe69b1cb6537c1693262cc06e6334959abfb68f888c588fa933f60e85f137355bb57ff769107dfe805595d1a3ad1 SHA512 605d7206793c3d865547b69f9715305d46d433d18096b886b362d2d86adf4eda894c23af1819b6af95423fbe2a37781d1d100a9df9f15a01942f66c73dc2fa2c diff --git a/dev-util/visualvm/visualvm-2.1.6.ebuild b/dev-util/visualvm/visualvm-2.1.6.ebuild index 084537d66f3d..e20de7774c73 100644 --- a/dev-util/visualvm/visualvm-2.1.6.ebuild +++ b/dev-util/visualvm/visualvm-2.1.6.ebuild @@ -38,6 +38,7 @@ RDEPEND=" ${COMMON_DEPEND} dev-java/asm:9 dev-java/hamcrest-core:1.3 + dev-java/jcommander:0 dev-java/jna:4 dev-java/junit:4 dev-java/junit:5 diff --git a/dev-util/visualvm/visualvm-2.1.7.ebuild b/dev-util/visualvm/visualvm-2.1.7.ebuild index 0f9395ca0cb7..68089aec4f35 100644 --- a/dev-util/visualvm/visualvm-2.1.7.ebuild +++ b/dev-util/visualvm/visualvm-2.1.7.ebuild @@ -38,6 +38,7 @@ RDEPEND=" ${COMMON_DEPEND} dev-java/asm:9 dev-java/hamcrest-core:1.3 + dev-java/jcommander:0 dev-java/jna:4 dev-java/junit:4 dev-java/junit:5 |