diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-02 02:07:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-02 02:07:07 +0000 |
commit | d4f65848c7ecabb56e2f93889cbd20078cd347f7 (patch) | |
tree | 180032f5afeb689db6a270d612f3e3364ed8fd2b /dev-libs | |
parent | c635a4b7ddb6105bfc6fef130b188a087726677b (diff) |
gentoo auto-resync : 02:12:2024 - 02:07:07
Diffstat (limited to 'dev-libs')
46 files changed, 566 insertions, 928 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 44c462165bd8..1c56d889245f 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/dbus-glib/Manifest b/dev-libs/dbus-glib/Manifest index 2c046f1c2efc..165d089fdc2e 100644 --- a/dev-libs/dbus-glib/Manifest +++ b/dev-libs/dbus-glib/Manifest @@ -1,6 +1,3 @@ -AUX dbus-glib-0.110-config-glib-genmarshal.conf 3281 BLAKE2B 5724ec3aa555d71b26739a8d4ded9773872fdfacdd6657070fb8ccd2b4164180655ecc7b83ef0c9440b867394c766c9276662d4d278a9d988909fba04b6d744d SHA512 76dafdb81234600b0717e79d1ce8cdc6668aaacbed607f929bc9d299dcad0330ccf62e2bbfe73338526770faaa40f9f5564a108d8830484bde2ab7a78cae6e03 -DIST dbus-glib-0.110.tar.gz 836497 BLAKE2B d936402bbaa5c354b2730cbace273974ec0133db052503fea2780d70b128e50e4fdf54f6ebfeed024eb5602fa3725a40627e27320a4727647299f74b2eb75c85 SHA512 c40ccf7118d4951f0e09082216ccd26f21ee906bdf96d912611d3cd29badd7ef446bea74e19f26c28ebceb9e19bb659d11c643c3e712dac499df12907be88a54 DIST dbus-glib-0.112.tar.gz 715340 BLAKE2B 24e1c222f0116b32c109682816f6c35771647f4c63cab93a6621bd68b71ea4dca62fbf9e6bb360386b8658146dbf34b0d7dc471db7525585412d120340c4c969 SHA512 7c9f393f065dfb3d698f35e6554caf15fe539f5dd52d2b2bb6ed1770e130f5dab8e45379232520301455bae9bb77e25a109faf175153fcd4b9dd11d7de4a546e -EBUILD dbus-glib-0.110.ebuild 2503 BLAKE2B 4307c154fe2f9b76dd69554bee57958bb30bdbbe875c3b829eab28f48f4e9faf4111b8b09e8d0c6b278ddcb406229f18079019eb26ea733c0de531f303a752d5 SHA512 4d1ec40b07f6d7a1787f13206044624e2f5afb2bd3f5820ac6abbe8cadf667f421b68e7406d4f803757404c5090edeae884f7714099070b21f768e1aef59f5d2 -EBUILD dbus-glib-0.112.ebuild 2448 BLAKE2B 62419ad9b4e77c407d190a7bd2cac2d7add3b9024487723d81994e32260931abe61c99b9c4af8f44f71e5710c8ed80d6c893c3650659a2ce39a648b63cf804cc SHA512 3634b915da49815d5113ed4e0c1691ccbd0a1c9008e958d4a5bee6bb6bacb974caa5dd26c35f63e6f662b8588c779e17d42a87be398f632a68da3eed6c49728a +EBUILD dbus-glib-0.112.ebuild 2503 BLAKE2B e8bf56f28bd752859d8d1b6b3c7a9adc67e5ee5119674ad09cb474c8f9d27d1046aa98a8a8c074482de6787b7c9b0bc19e130ff3cf2283958454e12a5c010950 SHA512 36aa22ea609b5a2de6507620bcebc40e764b050f8810e216788331b1117362f29a873e536dda3aeb44adf12e336cb4afd32dbcddd587fa8795b46b666038913f MISC metadata.xml 327 BLAKE2B b8042178da38fd88443c3c73602e58e46003e265c86521284d63401110e217bc2a67629e269290e9bbdda58a15eec5e79a8b424e9435ad77ca7f400946342adf SHA512 5dc80dea95565a990d2d8575171582096e827b82ccdcec8b3adf0f8f5289052e784c97cbe8f087043b228c86d43e2685f0b6942c2699bfa94a8e0df962349de1 diff --git a/dev-libs/dbus-glib/dbus-glib-0.110.ebuild b/dev-libs/dbus-glib/dbus-glib-0.110.ebuild deleted file mode 100644 index 3c833833f1fc..000000000000 --- a/dev-libs/dbus-glib/dbus-glib-0.110.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools bash-completion-r1 multilib-minimal toolchain-funcs - -DESCRIPTION="D-Bus bindings for glib" -HOMEPAGE="https://dbus.freedesktop.org/" -SRC_URI="https://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz" - -LICENSE="|| ( GPL-2 AFL-2.1 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="debug static-libs test" -RESTRICT="!test? ( test )" - -DEPEND=" - >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] - >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] - >=sys-apps/dbus-1.8[${MULTILIB_USEDEP}] -" -RDEPEND="${DEPEND}" -BDEPEND=" - >=dev-libs/expat-2.1.0-r3 - >=dev-libs/glib-2.40:2 - >=sys-apps/dbus-1.8 - >=dev-util/glib-utils-2.40 - >=dev-build/gtk-doc-am-1.14 - virtual/pkgconfig -" # CBUILD dependencies are needed to make a native tool while cross-compiling. - -DOCS=( AUTHORS ChangeLog HACKING NEWS README ) - -PATCHES=( "${FILESDIR}"/${P}-config-glib-genmarshal.conf ) - -set_TBD() { - # out of sources build dir for make check - export TBD="${BUILD_DIR}-tests" -} - -src_prepare() { - default - eautoreconf -} - -multilib_src_configure() { - local myconf=( - --localstatedir="${EPREFIX}"/var - --enable-bash-completion - --disable-gtk-doc - $(use_enable debug asserts) - $(use_enable static-libs static) - ) - - # Configure a CBUILD directory to make a native build tool. - if tc-is-cross-compiler; then - mkdir "${BUILD_DIR}-build" || die - cd "${BUILD_DIR}-build" || die - ECONF_SOURCE="${S}" econf_build - myconf+=( --with-dbus-binding-tool="$PWD/dbus/dbus-binding-tool" ) - cd - || die - fi - - ECONF_SOURCE="${S}" econf "${myconf[@]}" - - ln -s "${S}"/doc/reference/html doc/reference/html || die #460042 - - if use test; then - set_TBD - mkdir "${TBD}" || die - cd "${TBD}" || die - einfo "Running configure in ${TBD}" - ECONF_SOURCE="${S}" econf \ - "${myconf[@]}" \ - $(use_enable test checks) \ - $(use_enable test tests) \ - $(use_enable test asserts) - fi -} - -multilib_src_compile() { - tc-is-cross-compiler && emake -C "${BUILD_DIR}-build" - - emake - - if use test; then - set_TBD - cd "${TBD}" || die - einfo "Running make in ${TBD}" - emake - fi -} - -multilib_src_test() { - set_TBD - cd "${TBD}" || die - emake check -} - -multilib_src_install_all() { - einstalldocs - - newbashcomp "${ED}"/etc/bash_completion.d/dbus-bash-completion.sh dbus-send - rm -rf "${ED}"/etc/bash_completion.d || die - - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/dev-libs/dbus-glib/dbus-glib-0.112.ebuild b/dev-libs/dbus-glib/dbus-glib-0.112.ebuild index 6bb0cf21144e..7faec8fb4b0f 100644 --- a/dev-libs/dbus-glib/dbus-glib-0.112.ebuild +++ b/dev-libs/dbus-glib/dbus-glib-0.112.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools bash-completion-r1 multilib-minimal toolchain-funcs +inherit autotools bash-completion-r1 flag-o-matic multilib-minimal toolchain-funcs DESCRIPTION="D-Bus bindings for glib" HOMEPAGE="https://dbus.freedesktop.org/" @@ -43,6 +43,9 @@ src_prepare() { } multilib_src_configure() { + # bug #943768 + append-cflags -std=gnu17 + local myconf=( --localstatedir="${EPREFIX}"/var --enable-bash-completion diff --git a/dev-libs/dbus-glib/files/dbus-glib-0.110-config-glib-genmarshal.conf b/dev-libs/dbus-glib/files/dbus-glib-0.110-config-glib-genmarshal.conf deleted file mode 100644 index 463638710ad0..000000000000 --- a/dev-libs/dbus-glib/files/dbus-glib-0.110-config-glib-genmarshal.conf +++ /dev/null @@ -1,76 +0,0 @@ -From 39f0ae6152acfb3d8ca086090a02e0aa8742f050 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" <yann.morin.1998@free.fr> -Date: Sun, 2 Dec 2018 16:26:07 +0100 -Subject: [PATCH] buildsys: use variable for glib-genmarshal - -When doing cross-compilation, the path returned by pkg-config for -glib-genmarshal can be incorrect (because it is the runtime path, -not the build-time path). - -Change configure.ac to use pkg-config to get the variable. - -This allows overridig the path at configure time, by using the configure -option GLIB_GENMARSHAL=/path/toglib-genmarshal - -Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> -[smcv: Fix typo in commit message] -Reviewed-by: Simon McVittie <smcv@collabora.com> ---- - configure.ac | 4 ++-- - dbus/Makefile.am | 4 ++-- - dbus/examples/statemachine/Makefile.am | 4 ++-- - 3 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/configure.ac b/configure.ac -index e00bc38..8be3147 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -267,8 +267,8 @@ AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_32], - [Warn on use of APIs deprecated before GLib 2.32]) - PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.40, gobject-2.0 >= 2.40, gio-2.0 >= 2.40]) - --GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` --AC_SUBST(GLIB_GENMARSHAL) -+PKG_CHECK_VAR([GLIB_GENMARSHAL], [glib-2.0], [glib_genmarshal],, -+ [AC_MSG_ERROR([cannot find glib-genmarshal])]) - - dnl GLib flags - AC_SUBST(GLIB_CFLAGS) -diff --git a/dbus/Makefile.am b/dbus/Makefile.am -index 37c6334..2e8cb27 100644 ---- a/dbus/Makefile.am -+++ b/dbus/Makefile.am -@@ -87,10 +87,10 @@ dbus_binding_tool_LDADD= $(builddir)/libdbus-gtool.la $(builddir)/libdbus-glib-1 - ## we just rebuilt these manually and check them into cvs; easier than - ## convincing automake/make to do this properly - regenerate-built-sources: -- @GLIB_GENMARSHAL@ --prefix=_dbus_g_marshal dbus-gmarshal.list --header > dbus-gmarshal.h && \ -+ $(GLIB_GENMARSHAL) --prefix=_dbus_g_marshal dbus-gmarshal.list --header > dbus-gmarshal.h && \ - echo '#include <config.h>' > dbus-gmarshal.c && \ - echo '#include "dbus-gmarshal.h"' >> dbus-gmarshal.c && \ -- @GLIB_GENMARSHAL@ --prefix=_dbus_g_marshal dbus-gmarshal.list --body >> dbus-gmarshal.c -+ $(GLIB_GENMARSHAL) --prefix=_dbus_g_marshal dbus-gmarshal.list --body >> dbus-gmarshal.c - - - completiondir = $(sysconfdir)/bash_completion.d -diff --git a/dbus/examples/statemachine/Makefile.am b/dbus/examples/statemachine/Makefile.am -index 187b044..c8fe029 100644 ---- a/dbus/examples/statemachine/Makefile.am -+++ b/dbus/examples/statemachine/Makefile.am -@@ -35,11 +35,11 @@ statemachine-glue.h: statemachine.xml - - sm-marshal.c: Makefile sm-marshal.list - echo "#include <config.h>" > $@.tmp -- @GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body >> $@.tmp -+ $(GLIB_GENMARSHAL) --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body >> $@.tmp - mv $@.tmp $@ - - sm-marshal.h: Makefile sm-marshal.list -- @GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header > $@.tmp && mv $@.tmp $@ -+ $(GLIB_GENMARSHAL) --prefix=sm_marshal $(srcdir)/sm-marshal.list --header > $@.tmp && mv $@.tmp $@ - - BUILT_SOURCES += sm-marshal.c sm-marshal.h - --- -GitLab - diff --git a/dev-libs/gumbo/Manifest b/dev-libs/gumbo/Manifest index d55b8eaecbad..28da6ca45069 100644 --- a/dev-libs/gumbo/Manifest +++ b/dev-libs/gumbo/Manifest @@ -1,7 +1,5 @@ -DIST gumbo-0.10.1.tar.gz 2119285 BLAKE2B 21a8dd479bcc568842ce85782d4de903c1b79d842dd5381c01fd7b7ee802872484bf8b647edde9c2a4939404a4d042e920633f4d337870cd9f4197a90b158ffd SHA512 bb1fb55cd07076ab6a9f38dc14db50397dbdca9a04ace4895dfba8b8cbc09038a96e26070c09c75fa929ada2e815affe233c1e2ecd8afe2aba6201647cf277d1 -DIST gumbo-0.11.0.tar.gz 2119456 BLAKE2B 9da25c08e94af6f33b7e6e66017da9b7780a5f58aef7eac7d03bdf98c415e13252377dadd4f6fe3b8ddcf7d2aea8d4aff6edac181ea8cf8a4fa152f7c711e107 SHA512 7fdfee66db32dfda70bb1f2069b9bf59f2293fd30e1360d7adcced68e894a42e42e2e5de05204ea4ee30cb8d680fd48b66400a68710fe5f00fb3c84004c85928 DIST gumbo-0.12.1.tar.gz 2115338 BLAKE2B 8c2d119ff622bb07a2d4f0a04b4e3d1db1d3609632f540618dcb47a94f3b0ef4bb72fae8f74e2dbe43b4a2311421eee5b4d371475efda068a04ac5e8f8b9b304 SHA512 df74bf00b20152306b71db5659d4bf35ef6098ad6937925301ee48c96772607d2ab8e49a5b262caa27a72d5f267762c85e1434690e6abbf7e67d63c4713346d7 -EBUILD gumbo-0.10.1.ebuild 956 BLAKE2B bb5ef5a42a182c2fc0ce6321e84ea9cf222a4cf3be5e64d7eb96843db0e48fa56f699b543680304d2176f337bd670a1eda69a308a2eddb4fb9a5949a81c5cfa7 SHA512 0d973afd0de36e33b44a1b3d03caf1e7244dfd581baa4ffbc218352a91801acae6fd1c061e684a526dcfeab75bfbb8618533de1329b2da569b177075bc317781 -EBUILD gumbo-0.11.0.ebuild 906 BLAKE2B 35f77b9c748eced8d7225a258f7c0a73f8aa6fe66e317c181167dcaa1e796f8ffd91bf3d0e75152fea88b9299b41827c088a2f8fc5be7c86bd35310ab452329a SHA512 f5ef6df1d7a2ff79c3cd4da55f26a3bc64614aaeaae0ff1e08233ea12dbeef134bfaf5524283cf201927ae6ba11cf6468829efe9584d937f17c0dbf586b6f3ac +DIST gumbo-0.12.2.tar.gz 2113915 BLAKE2B b2bdcdba3746c2cc1e7bc09b9ee8409b2f03fad0ad42d95aed8fbcef1696d43d571898a1f5323b2aeab4d8a955a6ce89da30a1643edb0fc9b19027002740aa19 SHA512 258d93c0404b7dc35e1088cded02a394b2cbd0d08f3e7d0a3e32d859c2032efcc831687c7bc749e9bddb60d4f910bab741007bed1117d486a0d3fd194e22f4e7 EBUILD gumbo-0.12.1.ebuild 917 BLAKE2B 3868a6fcaddec9f93b87647143e410c0c6f5c98c1a0d66de1e0019d209a0af7373395f1027622014aeb33359ac40117608559f5c07864b6995f68db68f6b6d19 SHA512 eba877dc4b33e01bd232b9b166d763618f281639744c9f094817592637d62462b845c809b5b1ed79b4262808e27d306bd8921c291b4d7dd067bb5776e239b37c -MISC metadata.xml 410 BLAKE2B 75c853b9665a82c30c29f3aa0e9171fe2665ed2f7e4c1a7ccdd04258a07e4ef753ad01066934adccc3434aa52332b7007148c818b568335a2429bd8afc61d974 SHA512 b26adba8415ba084c079fabf29b966886bda8736165fbd9f0db13fe4da80e9be373ea7ed2d59e3b8c2b9a04eb84d8327f432c091c3ee936a82650a7983a7a483 +EBUILD gumbo-0.12.2.ebuild 923 BLAKE2B 9b315bb953a04f7c3aeca124cfbf6858a387d05b9d8a6e5a28f4f5faa43a2877eb8b083bc28910cc31e4b0464cfdf3a35644885a69757232e85314bb3225430b SHA512 fe72b06b3c1aa205f63dbfba48ae2d658ed7a3272ba72fefdf904abdbdb28afadfb74dafbf7cfce36f36012a0a79d16104b34fd0d1a98c0c87e6aec849c3ef40 +MISC metadata.xml 496 BLAKE2B 2d2b8386236aeae2ae0105c159edc09def3c6eacf313e2a36b72cad938a028aa4104643ff9f4ac35afa2a531f11461adeaf7e8c3e8f7e100609c5117aa4beb9c SHA512 2dc0531551fd29f33c9bae8b74c60830ec7fdf4c3fbca4629b25af5381172011e55c7a4fa38a817b8214ffbd8f5107e4c3e21fc8adeccfe55fd2e33fc1bd52e1 diff --git a/dev-libs/gumbo/gumbo-0.10.1.ebuild b/dev-libs/gumbo/gumbo-0.10.1.ebuild deleted file mode 100644 index 1de03817647b..000000000000 --- a/dev-libs/gumbo/gumbo-0.10.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="The HTML5 parsing algorithm implemented as a pure C99 library" -HOMEPAGE="https://github.com/google/gumbo-parser#readme" -SRC_URI="https://github.com/google/gumbo-parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="doc test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-cpp/gtest )" -BDEPEND="doc? ( app-text/doxygen )" - -S="${WORKDIR}/gumbo-parser-${PV}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --disable-static -} - -src_compile() { - default - - if use doc; then - doxygen || die "doxygen failed" - HTML_DOCS=( docs/html/. ) - fi -} - -src_install() { - default - use doc && doman docs/man/man3/* - - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/gumbo/gumbo-0.11.0.ebuild b/dev-libs/gumbo/gumbo-0.12.2.ebuild index 78776bebc0b7..0bef4a333911 100644 --- a/dev-libs/gumbo/gumbo-0.11.0.ebuild +++ b/dev-libs/gumbo/gumbo-0.12.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://codeberg.org/grisha/gumbo-parser/archive/${PV}.tar.gz -> ${P}.t S="${WORKDIR}/gumbo-parser" LICENSE="Apache-2.0" -SLOT="0" +SLOT="0/2" # gumbo SONAME KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/dev-libs/gumbo/metadata.xml b/dev-libs/gumbo/metadata.xml index bf5592871976..febcdedd3cd8 100644 --- a/dev-libs/gumbo/metadata.xml +++ b/dev-libs/gumbo/metadata.xml @@ -9,4 +9,7 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <upstream> + <remote-id type="codeberg">grisha/gumbo-parser</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest index 23c86f98361c..d15b219f18fa 100644 --- a/dev-libs/igraph/Manifest +++ b/dev-libs/igraph/Manifest @@ -1,5 +1,5 @@ DIST igraph-0.10.11.tar.gz 4349830 BLAKE2B 3aae088115148d1f965a52f01c950000097520fb0a150d2ad1fabb96cff434a9b548a6c17a10b9e0ebad3a577c2423ac5260cd28223147d3dc71b0d4fe139a95 SHA512 d6978589f12ed20b87777394b46f47b4ffc045ef693e5b4fc90163b9482361b2bf0ed2bb04aa99bf4a0653f7e4355cd480b0a165213d90ff7188ef6c86147c86 DIST igraph-0.10.12.tar.gz 4373463 BLAKE2B b7fdd7046185bf501c9302721f6606e6affc0d91c16d195c6bd69e0b32f9dca7af701a963fd4a8b8558ac843fe4a5136c7fce2fe5595db469818e514db2325ac SHA512 1a7b055ab2148fdf04187d785895b930ae2a54ae0240ea9656e129a38347b1caeb28dda5a3a7e34282462363150d7afd25acf8cd335577ed441b8a5cecc0dd25 EBUILD igraph-0.10.11.ebuild 1056 BLAKE2B 1b5873fb57be9a76536cb5f17e1c22b5ed71a99a4b23ed7714005e09b8ec86b939c06c763c3b8e81c127f8f11bd7c0fa32fc8d398de1e5849b1241651acfe5cd SHA512 9e3a91f79f2ff58bcfe054e7bbb9234bf91be040b0623b4032cf2c98c8355d4f812e96c4ec4462d2d74c07dfaf053dc89a6f33753d845bb61203744c1d6daa26 -EBUILD igraph-0.10.12.ebuild 1058 BLAKE2B 8d4facf905ef8a6b8fd610f473999e8e5bbc7b799cd0d914f73b74ac11256b8b6f5158df6b5f92ef26162c6d2b1687ab48384d1a379b409f977e818f22005d87 SHA512 cf3e26131922ecbdd9626868cfb5f00cfba6b8125013fcbc437b8854b7bfc0d9c2f5d0d0c77ff372f918233ef60cc7b9d9d63dbd9808caaa1033f667d74e3836 +EBUILD igraph-0.10.12.ebuild 1057 BLAKE2B 49f050584bcc3fbb8b464b885b2de3e3ed70f36e0fb1a8488c2033d9a0caa915cf7c8f3d6770ccda69c6ee71e5f3e714ce7cb8bdd420d1c592d6cafc6d57f61c SHA512 9846f05d1a124fc4ff1db71e902d6fb10286d794e4e03bf3cc57712f6f80fe5c626df9215d5fdcf638edb3b00845820ff60ca7fdd5a4266cb5d0ae29ffe4c7d2 MISC metadata.xml 758 BLAKE2B 90df5f127db20d8d486a195a6c10d1e2159d2ca8ba1706adfec85c5317ef9b831ddf3595ab0f157cb30627db863fdeb72ce05d14bcd07291ec4735fd73a5e6b0 SHA512 3a5a7afe9387658aa41d587588af41b3cfae0c269e7da4badae23180b18c9854964942c292849321bc2c76feadcd4098223642f56736ca7a21a009d673446801 diff --git a/dev-libs/igraph/igraph-0.10.12.ebuild b/dev-libs/igraph/igraph-0.10.12.ebuild index 30a8f524a0b5..4977a638fd8d 100644 --- a/dev-libs/igraph/igraph-0.10.12.ebuild +++ b/dev-libs/igraph/igraph-0.10.12.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0/0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="debug test threads" RESTRICT="!test? ( test )" diff --git a/dev-libs/libedit/Manifest b/dev-libs/libedit/Manifest index 2e372d24c8f9..eb75ea80f275 100644 --- a/dev-libs/libedit/Manifest +++ b/dev-libs/libedit/Manifest @@ -1,3 +1,5 @@ DIST libedit-20221030-3.1.tar.gz 533261 BLAKE2B f4a9784cfc2a30af2778f0e05b6e45ca489555c3009ba050ea19134670ad71fdd099425dee0526dcbb6a1a84f51bd8014ce2540be0535465cb59ab998753833c SHA512 41eb46feaffa909e8790b9a9e304d5246e82ab366721196126a923d68b4d4964d0a433fe238f9d5e0a00aefb5c8cb66132150792929a793785ad091d91016f97 +DIST libedit-20240808-3.1.tar.gz 538611 BLAKE2B c10a53d155a7dfbffdaa177aa41206c4bdca54efe8debd7df8cc3ddeaacf574e3cdd69bce9d30801c533f92907e757a92011fde989ee3a39ec91a73b9f80aa41 SHA512 b11d64947f9484bb2320b0fbcfdc94466993af1dfa0d853853b73c222e95d6c1e78d88d0c305929b95bf7a85009129475c9fef0ac8595b43d75543d85052a4ff EBUILD libedit-20221030.3.1.ebuild 954 BLAKE2B 8f8794da10f28d79ee0e07ca6b5cecff4e97ae09179b9c18ca259d74f448e6f47d32c0bf2e7400ecd316e83ec2d5c313ad391e658265ed42f319b3a079e14a88 SHA512 59dce92d0abc2d6fbf3a96f058f871dd5a042086e136ae9489e088369fd88ee3bbd3c8093afb5d4825a9001b08676a9dad1fb438a0812019dfd028f33c2491f7 +EBUILD libedit-20240808.3.1.ebuild 873 BLAKE2B 5ab033d84661da1ece0bdd1d2aae45a5f4798d7aa10f9c0d8b8ebea1b400fe46b530e58fcb14d651c472e305bfba983ecd67c81f581512a794d545439b7c4aae SHA512 277e4eeee3f52d012986e4c14768fe2a8692517caf14484dcd1876e17e85aa1a8e8f2e346a441f59291628277898fb02d85113addb42eff4437bac70e037b709 MISC metadata.xml 642 BLAKE2B 0d925244c4953d0b9bf7283b7ef088c4b5f0d8763d9160d6df19c0216cda6412c8819ee6a885eb7412695602cdc7a9bac2464ab62fc47208123bfde4f5b2213d SHA512 2c186c25f40e1ff141a2a34f056f8f8476df813ef6a31f0e368d258b6655d579c1cc65a5b44afab27f8299cd0ad6a70856fa1180a09142f77307b0ce173815f0 diff --git a/dev-libs/libedit/libedit-20240808.3.1.ebuild b/dev-libs/libedit/libedit-20240808.3.1.ebuild new file mode 100644 index 000000000000..7f42a009f98e --- /dev/null +++ b/dev-libs/libedit/libedit-20240808.3.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +MY_P=${P/./-} +DESCRIPTION="BSD replacement for libreadline" +HOMEPAGE="https://thrysoee.dk/editline/" +SRC_URI="https://thrysoee.dk/editline/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="static-libs" + +DEPEND=" + >=sys-libs/ncurses-5.9-r3[static-libs?,${MULTILIB_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" + +QA_PKGCONFIG_VERSION=$(ver_cut 2-3) + +multilib_src_configure() { + local myconf=( + $(use_enable static-libs static) + --enable-fast-install + ) + + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libf2c/Manifest b/dev-libs/libf2c/Manifest index 6b8ea3dafec3..1c0517535617 100644 --- a/dev-libs/libf2c/Manifest +++ b/dev-libs/libf2c/Manifest @@ -9,5 +9,5 @@ AUX libf2c-20240130-fix-buildsystem.patch 1837 BLAKE2B fabcb8f7d857277bc2f9d5f06 DIST libf2c-20130927.zip 129082 BLAKE2B 09f818bde8888b569858784c39e93a6a11b3103039f44c3f6a1246b29efb5f8ae6e45f787ed0c2216bea383a79b9554aff30e1fbb00668bbc872b4bc30d87ba8 SHA512 1a12093dec3c250f4775eebd06f1a9144fdb956ea3162202fb67569fdd956ac5591bc563a0726ca65ea10d465efaac1c1d8024d63bc4a4b5c88bf46242607c8a DIST libf2c-20240130.zip 130671 BLAKE2B 3e8b989064e677d9725a703870b14531ea045b8ef167b11218687def75068c2b59997726acf4c3e5c0b20e024754f9207ffc9354b6feeb46414b59d99e7ec896 SHA512 596bd0017e0c4b61191200a0bc788777585049eb939c528625349404cc8d9bbd0957efecd79077c487fdff5fc7e435189574b2c495cafaa6006dd2585b13960a EBUILD libf2c-20130927-r1.ebuild 1205 BLAKE2B cff5e1b623ff71ca2b39e034dba3efd11f01b99dde6f913f8f86d49d7cb223d15b13839eefacd13cd62667b32b35fac54823d685ceb7b9a478a7884de8cd5431 SHA512 cfec1b64ef22c178cd7ea30653314ecde95cee384b6580030d555c861f0215aaf6027ffedf33f547d4d9adc6274b652445f84562e81080384e9d2521feba30a1 -EBUILD libf2c-20240130.ebuild 1157 BLAKE2B 0641b472300fe2db954d62b9d2b5d963c2756b4fc7cf1ef1d553f9b49ab73b4f02ccbe6e978a931685059485aee864389b578160c2ac1d4ef2c30350e971b8bc SHA512 c31380ca0aa75006116d5440c18426fb207f149c60fe408fae85f9a6fd58d58211f5e0807026de832eef3960cfb574912541c3f3344eee9035437fbb24c4b238 +EBUILD libf2c-20240130.ebuild 1155 BLAKE2B f1b0dd0506108a7a17355633ed15c7b27701264d705dda2c243e03e404ead5a584d959ac3b65c726d108de8f1fd9d393dcae46174269ae6bd0986e3d5e17331e SHA512 d4c0b206704d65ced7555cffb01c4fe509480fae9a5e780821c403717ca042c41c55e0ec90fb0d5a74dcc5d192703bcdb1aceeebdd5fcbb39a79074de9c6e7c7 MISC metadata.xml 260 BLAKE2B 14d3d7872b9a3cb341301daf85c6b037c567163317516100d5af08e7ae02970252f210e90118d5df9e0cf6e0b3560add3a7894d379609b864e60dfdda3036423 SHA512 973385fccdcb0ccc36e00a09dc85204cf15081b8b61bc20e02d7d1311cb05af4927f01aac36ec93275158f5b990874ca03ab7d381cf6ee6f5e30bc4926d2f045 diff --git a/dev-libs/libf2c/libf2c-20240130.ebuild b/dev-libs/libf2c/libf2c-20240130.ebuild index 1d9da1eeca59..b38f8e8fa53e 100644 --- a/dev-libs/libf2c/libf2c-20240130.ebuild +++ b/dev-libs/libf2c/libf2c-20240130.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.netlib.org/f2c/${PN}.zip -> ${P}.zip" LICENSE="HPND" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="static-libs" BDEPEND="app-arch/unzip" diff --git a/dev-libs/libfido2/Manifest b/dev-libs/libfido2/Manifest index 0d264c6910dc..506062fca13f 100644 --- a/dev-libs/libfido2/Manifest +++ b/dev-libs/libfido2/Manifest @@ -1,4 +1,6 @@ AUX libfido2-1.12.0-cmakelists.patch 982 BLAKE2B 58787219654244cc0d45e7529835c36a5c08beadd5c062da35a17019eca845445a3f612831557dfa43afe9cce685b6eef78f3717a152460db5ed6bff318931d8 SHA512 ba8cda657d5665e4053c3e2ba41c5404dcbfb8af9f8c16ecb70e8d8017f5a904b057ecbdc044bcd2bc4145731c7c5af9a981d9461b3a5b4e9b6eae3fda238504 DIST libfido2-1.13.0.tar.gz 652777 BLAKE2B 506e0ecf89825e313fbcb0de59ef0b1a3aab483013f959b391448da0600979780ae76807639231ab8a60eead039471bba707073ec4e259b611d67031ac7713f1 SHA512 90f8452cee4c9cc72241478e697c5c692ccff5ab27752f2f296c3623ee297d1f80a85a359b4d0656c67790084c116aac921894e762eb52d3a79056e5014c03e7 +DIST libfido2-1.15.0.tar.gz 672533 BLAKE2B 2ee1abf8ceee805832b247b2ab9a8a9946d0610a6d8e6ac031d8821f08f857c9a85e52f42bc31e5d33aeb6c487cc71fde46ab28b9f220e79899f9f6ced263655 SHA512 97932ca1a9f8d1bb3cb4b4a8d56ef70085d19ad2bd27c67944fa17ed033bfa45d28d7ad3fa318723e79b17ef5a882ac4f999ad8a6b9965c58665d99c4da7b5ee EBUILD libfido2-1.13.0.ebuild 1080 BLAKE2B 6332e190eab25a66ba92a3e50478c4b2b8dd0f4bac8604d59da74e19e1b3a3a660145e284f6b29dd8a38c83dafc3cc187c55224c55e36c117e534528b51017ee SHA512 54818bdbd9038d3a5a135475932ce37516758d0c88c42e517a3aadaa8ae18e2d59a17bc7a279b2e28f368899f43b593288847d505824a40dcb55fa2bd11b3004 -MISC metadata.xml 411 BLAKE2B 3b2e2850f194b8518267bb8125401bf7049f1b63158bdb28e63e63c03f1c50c918164911a7899790f12c2a207eee88970663a57ebdaf26fa601d77da299a0797 SHA512 dd6d40f9827d7dfb35548c201f90571cec364fe89e4b1811b37f34c1435d05c078585ed8254884370fe575a6fb58c4fb271b87007915c38dae8f945735c0b2ed +EBUILD libfido2-1.15.0-r1.ebuild 1229 BLAKE2B ab01e6f42d046e0bd10914d269a0615579db6422754deed3ba1b0848606461f14cfb8973390732336e482c18974a7e17cde9a572f226f1f68d400a3742344fcd SHA512 f1974ac760013a288515dc3f96ad0eb1f8b2b3cf4fcfa5be4a076650ea7b686f99cc456cd85f0ce071b1ee7b26260f2b2270b3c7f73e2124ad4f8c4854c19b58 +MISC metadata.xml 463 BLAKE2B 3553a676f23b4189b952e3057359837f46b9bae7d8cee27d8be043241ac316eec54636a47a813f4f2560352615ac2b386c78ed0bd6cb1b74fe11b018d011753f SHA512 a5f4364e03ae759595494dcc0bbb168b5a410445ff91b41031e7bf3ef073dd609823b5d6b6cde5053c560189d3bc8890c13fa776b054365c4939e391cb9e0ab0 diff --git a/dev-libs/libfido2/libfido2-1.15.0-r1.ebuild b/dev-libs/libfido2/libfido2-1.15.0-r1.ebuild new file mode 100644 index 000000000000..c33060a63e10 --- /dev/null +++ b/dev-libs/libfido2/libfido2-1.15.0-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake udev linux-info + +DESCRIPTION="Provides library functionality for FIDO 2.0" +HOMEPAGE="https://github.com/Yubico/libfido2" +SRC_URI="https://github.com/Yubico/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="hidapi nfc smartcard static-libs" + +DEPEND=" + dev-libs/libcbor:= + dev-libs/openssl:= + sys-libs/zlib:= + virtual/libudev:= + hidapi? ( dev-libs/hidapi ) + smartcard? ( sys-apps/pcsc-lite ) +" +RDEPEND=" + ${DEPEND} + acct-group/plugdev +" +BDEPEND="app-text/mandoc" + +PATCHES=( + "${FILESDIR}"/${PN}-1.12.0-cmakelists.patch +) + +pkg_pretend() { + CONFIG_CHECK=" + ~USB_HID + ~HIDRAW + " + + check_extra_config +} + +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=OFF + -DBUILD_STATIC_LIBS=$(usex static-libs) + -DNFC_LINUX=$(usex nfc) + -DUSE_PCSC=$(usex smartcard) + -DUSE_HIDAPI=$(usex hidapi) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/dev-libs/libfido2/metadata.xml b/dev-libs/libfido2/metadata.xml index df607fde9962..563761814142 100644 --- a/dev-libs/libfido2/metadata.xml +++ b/dev-libs/libfido2/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="nfc">Enable experimental NFC support</flag> + <flag name="hidapi">Enable HID API support</flag> </use> <upstream> <remote-id type="github">Yubico/libfido2</remote-id> diff --git a/dev-libs/libmaa/Manifest b/dev-libs/libmaa/Manifest index 0acc8237547f..793644459964 100644 --- a/dev-libs/libmaa/Manifest +++ b/dev-libs/libmaa/Manifest @@ -3,5 +3,5 @@ AUX libmaa-1.4.7-makefile-respect-flags.patch 721 BLAKE2B fc05763eb4e5ca7ea46d18 DIST libmaa-1.3.2.tar.gz 287198 BLAKE2B 62432f7f21e353c68a0e9b8f843a5a5acafba5c0cc8e745b07596d7dcaaf9adf723342474b95895fbe1cf003d87d856892ea52196808937b4befdc50ce6d0155 SHA512 dde91e8bf1c08515ff4662282d16a03b18a1dfb16eb7b95be980ba398ed1e65d8cd88e58d454e03a03f48a5ecca8bf23b4ebaf475a98630a9178318c12a1b176 DIST libmaa-1.4.7.tar.gz 173728 BLAKE2B 1201fedf56a92b150f04eedebd3aaf11a63e057b2cc67a3c5402c6a76c7aa5e2c40d7298138f9b510f6c94bc3a67835586ad97b53adf04dd837f404e43dea620 SHA512 6aa0ec6de92d9512152116a2698f5e7d3166631832968d2b7942b8564a4d61ef6eaf304d863e682758636e55a0c5d26fde49db028b18c160abb2286683e8478b EBUILD libmaa-1.3.2-r1.ebuild 708 BLAKE2B e0ea06e2c08b3cf51fe9cc8929526642325c3e7f309a7739e5648fcf50e47ba73407f131ad2a104fcc4c654c0576cf1c7d31e68885d58c135efc7cd30c6381e6 SHA512 ae4a6df694bc4238285480d7edb984d9b52307a53970d350c5e348e059840938fd7ba3e890bd5a17c9399ff118d230d244355445d87ad8468b60706dcd6c5f59 -EBUILD libmaa-1.4.7.ebuild 2046 BLAKE2B 0837b7a4c797e20e12a3cdcb24c3b96562d902cd28427d4b722a9f2367dfe710838a71ade609fd8e297839803ef3854ebce11c783b26f54f1b80152c294a87a8 SHA512 a26403e451a287de097dd82e7c777d9bfa5a3b93d1f6019cd0785abf5dc5e24d73cca617214d8c6d7d83ce2318208b2ace55e189340c5f4778f4a032d3258e70 +EBUILD libmaa-1.4.7.ebuild 2043 BLAKE2B bd2140a191c5769fc7930ff5b3d2db8998c6109c2c0081c8b92f7f2d9906497a8f3af9e1d8b847c2bf481bfca9b78378a7c0aaed020f2126fbd4fd7414e7f74e SHA512 c197b0403da3e37b955840fd2402afee0dd532ddcd38fdfba28316db36bf22eb22b07022a9bdd5765f7953e12dbcb55ae14bdba689db24f811a48fc3e3f31a42 MISC metadata.xml 840 BLAKE2B 1b6d7a53d405f83b7065c47069d08bfa5ac8d2c6b5a3db0ee0c8355c8706140240bd92cc62138386fb06a861c2ce880c0eac792aab08b46d8691861954e19972 SHA512 3bdd87f4dc481f96e76615c38a5d92ff100b91de0cab5fc40f818eba8a16fa222e8fff496716394a29ba74d74d8177e661e42efb51fdaf33cc040c01ac2debe8 diff --git a/dev-libs/libmaa/libmaa-1.4.7.ebuild b/dev-libs/libmaa/libmaa-1.4.7.ebuild index 4c0904897b36..788b4b20589a 100644 --- a/dev-libs/libmaa/libmaa-1.4.7.ebuild +++ b/dev-libs/libmaa/libmaa-1.4.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/dict/${P}.tar.gz" LICENSE="MIT" SLOT="0/4" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv sparc ~x86" BDEPEND="dev-util/mk-configure" diff --git a/dev-libs/libsass/Manifest b/dev-libs/libsass/Manifest index 3733b236b1fb..04a9de64c6c4 100644 --- a/dev-libs/libsass/Manifest +++ b/dev-libs/libsass/Manifest @@ -1,6 +1,6 @@ DIST libsass-3.6.5.tar.gz 342426 BLAKE2B 8c6bb37da3f832dd462408a7ef4f80384e468295fc420b3d915899e65fb89a9d0b4c1cf0653b7288fedbf6a66daa2943c2911ad2c310f77a06deb84bec1d3abf SHA512 98cc7e12fdf74cd9e92d8d4a62b821956d3ad186fcee9a8d77b677a621342aa161b73d9adad4c1849678a3bac890443120cc8febe1b7429aab374321d635b8f7 DIST libsass-3.6.6.tar.gz 342625 BLAKE2B c26dc47d129c8cc3a40e0b537504f9d046fff5ce9dab57f20f25484610bb614d51b78e7ffcce96b2a61b14c33807700cf8fb9d7cbe39340fd9c898f9f34171c9 SHA512 659828c854af391c10a16954425fbeeb5fa036189dea45555cd8046338f7469eb7f8d84134030ce644921514b8f397ef6070b56dfb116ea7ce94328d64576518 EBUILD libsass-3.6.5-r1.ebuild 878 BLAKE2B 46087bfd8a86e6a35756f0466ae5bb646e53b84f409eb95ad481081b6c12fae1e8650281c2c5b42c31ee7973e211586413cb0eb56c6c016e801394e6985fc629 SHA512 b62cadaa8e5d7c2c93d02dd4c3658ebeac7377928245a1b06cd8dba0fea7a472fac8014533c02bce818ae31f0bb4214815330898a15991ccd7f297ae8fdba15d -EBUILD libsass-3.6.6.ebuild 884 BLAKE2B a7f86c65e9714a1b5a6b86be99759d12619752c3b7487e319a18fee1104487466bdb369b580fc82cc5916715db28ec59ad9e328b3d112cbf97a64f5b0d5211d8 SHA512 e84e33ef8f18c3f3a7dbc498f9d977dca2f7f07ea57cfa99fb63555a65b5cea06827a01ea2a63f7b361e85b8297e614ab2624f72310f287e860a79138f339020 +EBUILD libsass-3.6.6.ebuild 880 BLAKE2B 34256d55189b457a72009dfc0305b990dc955622479d436c3f5f6629294e1b137a12656cd3aac6416138465089bea3ab879d911111501b5a5f5182e45ae2cc86 SHA512 211bd3c00c7a56fc271fd37b830c82c34bddbfc7f1cc175af064ff0cfb314e73067b972e2884f860a4523640e959d1fa559d1d3e4956fa5d43bc1eb9a774b085 EBUILD libsass-9999.ebuild 884 BLAKE2B a7f86c65e9714a1b5a6b86be99759d12619752c3b7487e319a18fee1104487466bdb369b580fc82cc5916715db28ec59ad9e328b3d112cbf97a64f5b0d5211d8 SHA512 e84e33ef8f18c3f3a7dbc498f9d977dca2f7f07ea57cfa99fb63555a65b5cea06827a01ea2a63f7b361e85b8297e614ab2624f72310f287e860a79138f339020 MISC metadata.xml 634 BLAKE2B c292a4a56d6b5c44ed53583b6c0e94c528c451a20ee4339d5e276d7a871e01d3aa0f40e86fa348065973d88ebe4000ea2f7eb54dadf818db01ff91dbddf42afe SHA512 cfe1ea4e1769cd2d30e0984261ff908b0085a51c1bbe5914dae1bfd5511afe4cc1951af37392a5fe2880a980f99b030b1086d11dcd103950c6a53989205ffee7 diff --git a/dev-libs/libsass/libsass-3.6.6.ebuild b/dev-libs/libsass/libsass-3.6.6.ebuild index f872ffcbf544..0855ced91b7e 100644 --- a/dev-libs/libsass/libsass-3.6.6.ebuild +++ b/dev-libs/libsass/libsass-3.6.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ if [[ ${PV} = *9999 ]]; then inherit git-r3 else SRC_URI="https://github.com/sass/libsass/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" + KEYWORDS="~amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux" fi DESCRIPTION="A C/C++ implementation of a Sass CSS compiler" diff --git a/dev-libs/libsecp256k1/Manifest b/dev-libs/libsecp256k1/Manifest index f50b066b4758..987134b29b0e 100644 --- a/dev-libs/libsecp256k1/Manifest +++ b/dev-libs/libsecp256k1/Manifest @@ -1,23 +1,6 @@ -AUX 0.3.0-fix-cross-compile.patch 4416 BLAKE2B e68d46d85af6d0bf56f5423219ad5412230de6808bd79e154316e8918df056353f336063e07810c7b40cfe41edd099986e3591e9caa918e01a99a1406a48bee4 SHA512 2865dd0d751b629258bc7283d9a7cca6f07ff304f29e0e020b87ffbcce85225ef2e72914b668ef2c4317ed8c11e093c5f2efa1604fa37f495a3f370404f9eff5 AUX 0.4.0-fix-cross-compile.patch 4361 BLAKE2B a42a42404477cb69ffef4f6d2fb92efb1f7c09153c65dcbf467a9c756ef1e0e4df8bfbc06068aaff9e1e494d1d280a6f3f836c655c23b5d4fe4162add2bf4596 SHA512 28ae55f9b0ca02173bbb159b5232b4531fa6149d7888e5ff860f4a0e85e4c64e9544a8007452382e6615d1c922dc6d42cdaebebe0b82a2cad93b0c3ccb279839 -DIST libsecp256k1-0.3.0.tar.gz 2475682 BLAKE2B a531a87da63abc67a55e756852cde41cdc56d388963871beb23233623721f583ade4ce6b273ffa1c319a3875541e18c549512034d7b6a9eb926e8e916513d14d SHA512 77251b37990b0e73442aa1ec1ff51c5c7e293755ace9abc92ce6c3d21c7ed7f3b1666b939b4410bf1f637e3a69b16a7d33069caf071327f05177420a10f15eda -DIST libsecp256k1-0.3.1.tar.gz 2560292 BLAKE2B 70ff57e222dd47d0e63a40653d4e7b4e727f6bcb5abf005f15c94cf70e7d11843281d7406d2640b06a0f6a2c2f79cc66ea544cca761d1587973d57006ca39daf SHA512 58ec679625ef4663c94c7198ee953283106c1e027623c3de341277fa757265b822ad3c0e98019f9e425f0e9e414b03e6b62853a1581611813cce753e81845d0f -DIST libsecp256k1-0.3.2.tar.gz 2566680 BLAKE2B bf0a5ac1edbc115247148912822a2cefe798651f6c6a480422eee90eba96ebbfba772d561e321ac2bf7a0f8261f8ccd9f3af0e66e196f1e861aa550ee1303f27 SHA512 18104b72dd5d1f5e776d72c31c36247e450736437b453b59cf6ec86f84fedeafcf231e266c1ddad727befd9864c65a779000d01e6cef4b9a6485850afebc8a81 -DIST libsecp256k1-0.4.0.tar.gz 2607093 BLAKE2B abbd68580e5e35478d74cad13e0e55a175d2000a0a071dc0812655a47ee262572c1e6944d2d5c8f3dd2b798a72e90be7b64d76f7be25e85ba2471e03254a8fb0 SHA512 84cc115a74d39bc4173012f321ae13195ae92bb96f1dcdcb01fe8392fd5b2437addfa63a1654d07f70e67f0ea6e27978134196442b9ae25bc6f9159ee9ef6527 -DIST libsecp256k1-0.4.1.tar.gz 2614189 BLAKE2B 50de3e2699afa6b80aa64b9c593a6eff98d779706fde3cbb9b54ae0b596c584538abfc9f6d03cdcfd92e6df46db287049a83609e4f5dbb197fd067202f728810 SHA512 68d057d6820ca77006a16d6997c1e8240480b2d6e8d6a4d68188c699c476b71a46850dd3bc217e53a2ebd518b4db37d669058d2104d89cb2a356ba54892ad447 -DIST libsecp256k1-0.5.0.tar.gz 1960832 BLAKE2B 118e3bb1d8e0a4493debae3b1feb68ff5a93348bbed32486779416cc2359dd65d8cfaa7bb47afca8b4ddb214b7ce05c9997896fd256ad73df35ec51a8966fe69 SHA512 b8511b0d8b581d371ee48f2c8a5a72930e7a0686a860200e56e83e2f58a63f2d781af75829d922e98f6648d361e20efde29abcf52c086b77647457c6c3586e78 DIST libsecp256k1-0.5.1.tar.gz 1962518 BLAKE2B edff454529755c5de4f7a5192235b7e461426cc05da83ba1be03a3f9f4327397ae96b11bbf4250cd09165a1a6bd5383b928d4374713c47ef930de0af11cfc772 SHA512 5cba94794ac9c0e9a72111958562690bfb79b1ccd3071e0aaa22c4c6a4fe4007b87e402c00bbab1bdc93f31490d4b528d7ac368870ac05de12ee76db8313e510 DIST libsecp256k1-0.6.0.tar.gz 1996783 BLAKE2B 6c8ec26bd3d10f463ac4aeed4aa092718a8101012d9ae0b8931166a4bec717f9d5bdc2c8ef21395f6ce2285828871deefa1e47299654d19634c9398d7447acea SHA512 bccaa15295b0633e1fe5a4a4d7a80be812e40c8ed815be4f0d3f3348a5e185633c599cd50b7461a3584f89aea94f6d5321772876c5146553e2732df8b72becc2 -DIST libsecp256k1-v0.1_pre20190401.tgz 166663 BLAKE2B 68c9fc3fda6af56452f32edeae5dcb5a92f68bc3fb39a397c532951c6392347df14ea0347bbe05cab43158512e0d9f5ea87bd8f69bece1b04440860ebb8065ee SHA512 8c4945e93cb5ff241482ba4426b25162a7ae3b26860edc10c91d06b1c396887202ad971f4d38e035828352531b87fc29087a12b675e43da44f23c9ea3b6c0cc8 -DIST libsecp256k1-v0.1_pre20201028.tgz 200051 BLAKE2B 90d636049b411e02703feb2661006900a55f952f60e76e2b7147a5afe8e391a06a80d6ae1489b1e7f2382176c7ea831526465a85bca09156dc6d37b417fcb33b SHA512 54a0fa21b64dd6836e4227de51f3539afe06e0e2f352683397d6adb5dd0508af443d2e25f91e90e1ae366b261965fe7d438292314705baee799cf37421644958 -EBUILD libsecp256k1-0.1_pre20190401.ebuild 1569 BLAKE2B 8bdcfc642c81e89452bda4b16974d6d5fdac999d89a3d33c5ce255c71fa0ec715fb74f4c69c61301397618561c0513978150ef8105a173924e050133257625e8 SHA512 fab97dd27464d172584eff44ec94d59a077bdf8dd5a4b02052a214dafe2abc85d3f966d5c3fc8c57e75ca2407e8da2a9d27f96b9037674c2cb0774f6ee17d73b -EBUILD libsecp256k1-0.1_pre20201028-r1.ebuild 1764 BLAKE2B 40d7ca57489930a4b47a392d9c845dee45dd45e6d2de72567d71cc1e0ab3995943fb8f8562ed58bc2cc0cda90b79e650a7c669ef328e2ccbb2b5ecc41ce15d97 SHA512 8099ea2fa5e5808397c24c7697aeee96918db094c10caf643f8dfbf8ab0231d7ac9f6cb5fc02f7ffe00261f6b1f42204084fbb9a04eefc18b8ab4b2602aaf2e0 -EBUILD libsecp256k1-0.3.0.ebuild 1709 BLAKE2B d2350984d007d4350fedefcb45b48db8e1458f821db8f2d7b7e1d9e3c1a21804e2709dab864d0c571b7a0950509c2daa8ea0a4450bbd441ba5503007ce05908c SHA512 e749b236b153706b0ee07dd2c961ec3a536edccb8cde4f60e676b6e91496b610caf18ff82a49e7e49847af6321ab71d7f0d3ea595edc9d1dbb9401ec0b0b231e -EBUILD libsecp256k1-0.3.1.ebuild 1709 BLAKE2B d2350984d007d4350fedefcb45b48db8e1458f821db8f2d7b7e1d9e3c1a21804e2709dab864d0c571b7a0950509c2daa8ea0a4450bbd441ba5503007ce05908c SHA512 e749b236b153706b0ee07dd2c961ec3a536edccb8cde4f60e676b6e91496b610caf18ff82a49e7e49847af6321ab71d7f0d3ea595edc9d1dbb9401ec0b0b231e -EBUILD libsecp256k1-0.3.2.ebuild 1709 BLAKE2B 990018262a9278fb65cb17d8e0698c1fcb7eae39646bdb7e6c447c664c8e9bd3eeaec2e8c884bb2b93f9353d330d455adc378798e83e59d6891982dcfe86f3d7 SHA512 1cf4e799ec4fd3be6a9293f92006983df8c1fd5bdaa42e7644596fedf0ebf5a1c043d1480cb8e5aea597646e269abafee022a116329a34c37f9b97554722a818 -EBUILD libsecp256k1-0.4.0.ebuild 1750 BLAKE2B ec4efa0023d607c3268ac7f74ec8788569b7eb5d77b5b599c87e8796db48c255e884bcf6f6a209a54cc073fba3501767b1a739852819d09153c98e00d197950e SHA512 b8d5590ac42eb0ecacb4ac13f707fc9ec14fb26f81aa5c1c33e9cbab17cbef30132ae06f2ce09353f1b723fed24ce832ee404e7c82d4fb83a56744c691e91882 -EBUILD libsecp256k1-0.4.1.ebuild 1637 BLAKE2B 2d0b7a5dacc80beedfa4aaeba865dc49468b355d5b5f2a9f420568406eccbfde6e323a512558c8b929ddf6dfeba7ff420b1d62de5821640cbbd28c1bdc2d840e SHA512 887f0331136d6a945b7f8a2d19de404c56b942872743eff9d2f0e68ee9201c7b720eb09cb48b211f02cbadeaa6d0d6e73480c5dc0f389f60e2ec7a1a5641a541 -EBUILD libsecp256k1-0.5.0.ebuild 1630 BLAKE2B 21966672a481637b1462164d07818fe64705789c17e09cb66982c57a0501e6c5dd421691e4dd0388e1750028db3aea8731908a1cbf7e0fc96cf609b92fec1116 SHA512 c200ed8cb3afe91f048956a51813d4570a085e8116389b1d1537f013934d80912f6b9d979e7589bea8e6f29442f0be0c7271632273e8b171c9438e6efb1eae67 -EBUILD libsecp256k1-0.5.1.ebuild 1624 BLAKE2B ece360549b88f87c9324dfe82dca67566dbf54a5ae945ec953e57c64b6bcf4283825fa54fd86362e2e5151253c0cd03a6c1a0edbc5f6c347213f64914e551c73 SHA512 edbf49f97d0f6693f6ca204408446d91ab8288288f294360eb21579858588f031f2ac31b28df2d5e78864810d03b421f7f0cdefcbefed0861401ee8ca280941b -EBUILD libsecp256k1-0.6.0.ebuild 1821 BLAKE2B 7e1514c6c16c60937a606879d0e2335969ccd06112a277db162038e7eda410deef7eca54fd6c873d6236710cbb6fbfdc019448e9ee241f7b3296ea11e48f14d7 SHA512 5dd2483bddf9cefed03571f73e968e611b5d992dc243094dd642ea52796df0fd2a6b2bfda7d4a10ce9427db30aeff1f5f49a075eb133e5c26bed1945be8352fa -MISC metadata.xml 1369 BLAKE2B 935dca61c06efd8f9353ac2360e126d1437609bacd2ccb6a7313548674d07992b3c89503e2a227a68cad5ab67a7fa959c45c000099083a6e6d1f63174385208f SHA512 c06a92153e3570db4c65aa2c47850848cce2be05d6c6155ca77d757ff4d3c7b277a76732fc5ca22c8904cd5641e6eaaa5e5b524f66dc2cb1ba9ac2d064f6653a +EBUILD libsecp256k1-0.5.1.ebuild 1779 BLAKE2B eb6f72bdc047ee4130bb6be33a1abfc3561236f23ae1152199253ee15f380bc14c5a891fe99df9396708f48b81cb5c39d5acf15c5ba032a18c1b76ae8dde8816 SHA512 003a75b03e23056c037aab4ac26fe45f67291427e85b234f1d626bcf74681b1ae8ec431b64db32203cb28d8d2ec2702ac1a370057b3c7c55ca11f0358dc80612 +EBUILD libsecp256k1-0.6.0.ebuild 1976 BLAKE2B 73ac4f8526048a269e233e318cb112330c89f8e0005560595ce0cb20ad1e77bc34b1e8f7758b03dc15f5f01a1233a13b9aa2b6ef7c0d15b847b2b55980340a39 SHA512 42fe9e5719e483027d66e7ced4ef92d806ecd3d5f9b946177725c365f7aa9ada2dc960b581a90668b5cb52f7f04422bb6a133a2953eb5d452de400f64a076c6d +MISC metadata.xml 1243 BLAKE2B df52851a4c0c3ac5d14e609abb8b43fea01a56436e4824171713262e1cfb5828d7e91e060eb48196ddd72fce90bdfb823f51772c399172963721de1561f4a5a7 SHA512 3a4ba1d15a7b1e9b126f2ac7d5e6453c8836f3203acd4d76bb13cdec60e1de1e39ac6e90e1ee380f051c1740fd6be48d3a1a8780cc248cb06f46186395bbf754 diff --git a/dev-libs/libsecp256k1/files/0.3.0-fix-cross-compile.patch b/dev-libs/libsecp256k1/files/0.3.0-fix-cross-compile.patch deleted file mode 100644 index 1aec78d36589..000000000000 --- a/dev-libs/libsecp256k1/files/0.3.0-fix-cross-compile.patch +++ /dev/null @@ -1,99 +0,0 @@ -https://github.com/bitcoin-core/secp256k1/pull/1159 - -From dc87b08eea757aae95b1efc25fe543e91510df0a Mon Sep 17 00:00:00 2001 -From: Matt Whitlock <bitcoin@mattwhitlock.name> -Date: Sun, 20 Nov 2022 01:46:07 -0500 -Subject: [PATCH] Makefile: build precomp generators using build-system - toolchain - -When cross-compiling libsecp256k1, if the `precomputed_ecmult*.c` source -files need to be regenerated, then the generators need to be built for -the *build* system, not for the *host* system. Autoconf supports this -fairly cleanly via the `AX_PROG_CC_FOR_BUILD` macro (from Autoconf -Archive), but Automake requires some hackery. When building the -generators, we override the `CC` variable to its build-system -counterpart, `CC_FOR_BUILD`, and we specify Automake per-program -overrides for `CFLAGS`, `CPPFLAGS`, and `LDFLAGS`, setting their values -respectively from the `CFLAGS_FOR_BUILD`, `CPPFLAGS_FOR_BUILD`, and -`LDFLAGS_FOR_BUILD` variables, whose values in turn are populated by the -aforementioned Autoconf macro and may be overridden on the `make` -command line. Since Automake lacks support for overriding `EXEEXT` on a -per-program basis, we define a recipe that builds the generator binaries -with names suffixed with `$(EXEEXT)` and then renames them suffixed with -`$(BUILD_EXEEXT)`. ---- - Makefile.am | 35 +++++++++++++++++++++++++++-------- - configure.ac | 1 + - 2 files changed, 28 insertions(+), 8 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index e3fdf4da..5e859c91 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -186,15 +186,34 @@ endif - endif - - ### Precomputed tables --EXTRA_PROGRAMS = precompute_ecmult precompute_ecmult_gen --CLEANFILES = $(EXTRA_PROGRAMS) -+PROGRAMS_FOR_BUILD = precompute_ecmult precompute_ecmult_gen -+$(addsuffix $(BUILD_EXEEXT),$(PROGRAMS_FOR_BUILD)) : override CC = $(CC_FOR_BUILD) -+# Automake has no support for PROGRAMS suffixed with BUILD_EXEEXT -+# instead of EXEEXT, so if those extensions differ, then we define a -+# recipe that builds the latter and renames it to the former. Since -+# Cygwin toolchains always append '.exe' to the output file name given -+# by '-o', we ignore rename failures since the toolchain will have -+# already created the right output file. (Note: The leading spaces -+# before ifneq and endif here are a hack so Automake won't try to -+# interpret them as an Automake conditional.) -+ ifneq ($(BUILD_EXEEXT),$(EXEEXT)) -+%$(BUILD_EXEEXT) : %$(EXEEXT) -+ mv -- '$<' '$@' || : -+ endif -+ -+EXTRA_PROGRAMS = $(PROGRAMS_FOR_BUILD) -+CLEANFILES = $(addsuffix $(BUILD_EXEEXT),$(PROGRAMS_FOR_BUILD)) - - precompute_ecmult_SOURCES = src/precompute_ecmult.c --precompute_ecmult_CPPFLAGS = $(SECP_CONFIG_DEFINES) -+precompute_ecmult_CFLAGS = $(CFLAGS_FOR_BUILD) -+precompute_ecmult_CPPFLAGS = $(CPPFLAGS_FOR_BUILD) $(SECP_CONFIG_DEFINES) -+precompute_ecmult_LDFLAGS = $(LDFLAGS_FOR_BUILD) - precompute_ecmult_LDADD = $(COMMON_LIB) - - precompute_ecmult_gen_SOURCES = src/precompute_ecmult_gen.c --precompute_ecmult_gen_CPPFLAGS = $(SECP_CONFIG_DEFINES) -+precompute_ecmult_gen_CFLAGS = $(CFLAGS_FOR_BUILD) -+precompute_ecmult_gen_CPPFLAGS = $(CPPFLAGS_FOR_BUILD) $(SECP_CONFIG_DEFINES) -+precompute_ecmult_gen_LDFLAGS = $(LDFLAGS_FOR_BUILD) - precompute_ecmult_gen_LDADD = $(COMMON_LIB) - - # See Automake manual, Section "Errors with distclean". -@@ -204,11 +223,11 @@ precompute_ecmult_gen_LDADD = $(COMMON_LIB) - # This means that rebuilds of the prebuilt files always need to be - # forced by deleting them, e.g., by invoking `make clean-precomp`. - src/precomputed_ecmult.c: -- $(MAKE) $(AM_MAKEFLAGS) precompute_ecmult$(EXEEXT) -- ./precompute_ecmult$(EXEEXT) -+ $(MAKE) $(AM_MAKEFLAGS) precompute_ecmult$(BUILD_EXEEXT) -+ ./precompute_ecmult$(BUILD_EXEEXT) - src/precomputed_ecmult_gen.c: -- $(MAKE) $(AM_MAKEFLAGS) precompute_ecmult_gen$(EXEEXT) -- ./precompute_ecmult_gen$(EXEEXT) -+ $(MAKE) $(AM_MAKEFLAGS) precompute_ecmult_gen$(BUILD_EXEEXT) -+ ./precompute_ecmult_gen$(BUILD_EXEEXT) - - PRECOMP = src/precomputed_ecmult_gen.c src/precomputed_ecmult.c - precomp: $(PRECOMP) -diff --git a/configure.ac b/configure.ac -index a46a0a7b..3b88d0d0 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -32,6 +32,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) - AC_PROG_CC - AM_PROG_AS - AM_PROG_AR -+AX_PROG_CC_FOR_BUILD - - # Clear some cache variables as a workaround for a bug that appears due to a bad - # interaction between AM_PROG_AR and LT_INIT when combining MSVC's archiver lib.exe. diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20190401.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20190401.ebuild deleted file mode 100644 index f9c8c9d6cffd..000000000000 --- a/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20190401.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -MyPN=secp256k1 -DESCRIPTION="Optimized C library for EC operations on curve secp256k1" -HOMEPAGE="https://github.com/bitcoin-core/secp256k1" -COMMITHASH="b19c000063be11018b4d1a6b0a85871ab9d0bdcf" -SRC_URI="https://github.com/bitcoin-core/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${PN}-v${PV}.tgz" -S="${WORKDIR}/${MyPN}-${COMMITHASH}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="asm ecdh endomorphism experimental gmp java +recovery test test-openssl" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - asm? ( || ( amd64 arm ) arm? ( experimental ) ) - ecdh? ( experimental ) - java? ( ecdh ) - test-openssl? ( test ) -" -RDEPEND=" - gmp? ( dev-libs/gmp:0= ) -" -DEPEND="${RDEPEND} - java? ( virtual/jdk ) - test-openssl? ( dev-libs/openssl:0 ) -" -BDEPEND=" - java? ( virtual/jdk ) - virtual/pkgconfig -" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local asm_opt - if use asm; then - if use arm; then - asm_opt=arm - else - asm_opt=auto - fi - else - asm_opt=no - fi - econf \ - --disable-benchmark \ - $(use_enable experimental) \ - $(use_enable java jni) \ - $(use_enable test tests) \ - $(use_enable test-openssl openssl-tests) \ - $(use_enable ecdh module-ecdh) \ - $(use_enable endomorphism) \ - --with-asm=$asm_opt \ - --with-bignum=$(usex gmp gmp no) \ - $(use_enable recovery module-recovery) \ - --disable-static -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20201028-r1.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20201028-r1.ebuild deleted file mode 100644 index 5d25d6fc5453..000000000000 --- a/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20201028-r1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -MyPN=secp256k1 -DESCRIPTION="Optimized C library for EC operations on curve secp256k1" -HOMEPAGE="https://github.com/bitcoin-core/secp256k1" -COMMITHASH="3967d96bf184519eb98b766af665b4d4b072563e" -SRC_URI="https://github.com/bitcoin-core/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${PN}-v${PV}.tgz" -S="${WORKDIR}/${MyPN}-${COMMITHASH}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="asm ecdh +experimental +extrakeys gmp lowmem +recovery +schnorr test test-openssl valgrind" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - asm? ( || ( amd64 arm ) arm? ( experimental ) ) - extrakeys? ( experimental ) - schnorr? ( experimental extrakeys ) - test-openssl? ( test ) -" -RDEPEND=" - gmp? ( dev-libs/gmp:0= ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - test-openssl? ( dev-libs/openssl:0 ) - valgrind? ( dev-debug/valgrind ) -" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local asm_opt - if use asm; then - if use arm; then - asm_opt=arm - else - asm_opt=auto - fi - else - asm_opt=no - fi - econf \ - --disable-benchmark \ - $(use_enable experimental) \ - $(use_enable test tests) \ - $(use_enable test exhaustive-tests) \ - $(use_enable test-openssl openssl-tests) \ - $(use_enable ecdh module-ecdh) \ - $(use_enable extrakeys module-extrakeys) \ - --with-asm=${asm_opt} \ - --with-bignum=$(usex gmp gmp no) \ - $(use_enable recovery module-recovery) \ - $(use_enable schnorr module-schnorrsig) \ - $(usex lowmem '--with-ecmult-window=4 --with-ecmult-gen-precision=2' '') \ - $(use_with valgrind) \ - --disable-static -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.3.0.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.3.0.ebuild deleted file mode 100644 index 9dacf0b84fde..000000000000 --- a/dev-libs/libsecp256k1/libsecp256k1-0.3.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -MyPN=secp256k1 -DESCRIPTION="Optimized C library for EC operations on curve secp256k1" -HOMEPAGE="https://github.com/bitcoin-core/secp256k1" -SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MyPN}-${PV}" - -LICENSE="MIT" -SLOT="0/2" # subslot is "$((_LIB_VERSION_CURRENT-_LIB_VERSION_AGE))" from configure.ac -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="asm +ecdh experimental +extrakeys lowmem +recovery +schnorr test valgrind" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - asm? ( || ( amd64 arm ) arm? ( experimental ) ) - schnorr? ( extrakeys ) -" -BDEPEND=" - dev-build/autoconf-archive - virtual/pkgconfig - valgrind? ( dev-debug/valgrind ) -" - -PATCHES=( - "${FILESDIR}/0.3.0-fix-cross-compile.patch" -) - -src_prepare() { - default - eautoreconf - - # Generate during build - rm -f src/precomputed_ecmult.c src/precomputed_ecmult_gen.c || die -} - -src_configure() { - local myeconfargs=( - --disable-benchmark - $(use_enable experimental) - $(use_enable test tests) - $(use_enable test exhaustive-tests) - $(use_enable {,module-}ecdh) - $(use_enable {,module-}extrakeys) - $(use_enable {,module-}recovery) - $(use_enable schnorr module-schnorrsig) - $(usev lowmem '--with-ecmult-window=4 --with-ecmult-gen-precision=2') - $(use_with valgrind) - ) - if use asm; then - if use arm; then - myeconfargs+=( --with-asm=arm ) - else - myeconfargs+=( --with-asm=auto ) - fi - else - myeconfargs+=( --with-asm=no ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.3.1.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.3.1.ebuild deleted file mode 100644 index 9dacf0b84fde..000000000000 --- a/dev-libs/libsecp256k1/libsecp256k1-0.3.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -MyPN=secp256k1 -DESCRIPTION="Optimized C library for EC operations on curve secp256k1" -HOMEPAGE="https://github.com/bitcoin-core/secp256k1" -SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MyPN}-${PV}" - -LICENSE="MIT" -SLOT="0/2" # subslot is "$((_LIB_VERSION_CURRENT-_LIB_VERSION_AGE))" from configure.ac -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="asm +ecdh experimental +extrakeys lowmem +recovery +schnorr test valgrind" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - asm? ( || ( amd64 arm ) arm? ( experimental ) ) - schnorr? ( extrakeys ) -" -BDEPEND=" - dev-build/autoconf-archive - virtual/pkgconfig - valgrind? ( dev-debug/valgrind ) -" - -PATCHES=( - "${FILESDIR}/0.3.0-fix-cross-compile.patch" -) - -src_prepare() { - default - eautoreconf - - # Generate during build - rm -f src/precomputed_ecmult.c src/precomputed_ecmult_gen.c || die -} - -src_configure() { - local myeconfargs=( - --disable-benchmark - $(use_enable experimental) - $(use_enable test tests) - $(use_enable test exhaustive-tests) - $(use_enable {,module-}ecdh) - $(use_enable {,module-}extrakeys) - $(use_enable {,module-}recovery) - $(use_enable schnorr module-schnorrsig) - $(usev lowmem '--with-ecmult-window=4 --with-ecmult-gen-precision=2') - $(use_with valgrind) - ) - if use asm; then - if use arm; then - myeconfargs+=( --with-asm=arm ) - else - myeconfargs+=( --with-asm=auto ) - fi - else - myeconfargs+=( --with-asm=no ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.3.2.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.3.2.ebuild deleted file mode 100644 index a1de3bf23f5c..000000000000 --- a/dev-libs/libsecp256k1/libsecp256k1-0.3.2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -MyPN=secp256k1 -DESCRIPTION="Optimized C library for EC operations on curve secp256k1" -HOMEPAGE="https://github.com/bitcoin-core/secp256k1" -SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MyPN}-${PV}" - -LICENSE="MIT" -SLOT="0/2" # subslot is "$((_LIB_VERSION_CURRENT-_LIB_VERSION_AGE))" from configure.ac -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="asm +ecdh experimental +extrakeys lowmem +recovery +schnorr test valgrind" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - asm? ( || ( amd64 arm ) arm? ( experimental ) ) - schnorr? ( extrakeys ) -" -BDEPEND=" - dev-build/autoconf-archive - virtual/pkgconfig - valgrind? ( dev-debug/valgrind ) -" - -PATCHES=( - "${FILESDIR}/0.3.0-fix-cross-compile.patch" -) - -src_prepare() { - default - eautoreconf - - # Generate during build - rm -f src/precomputed_ecmult.c src/precomputed_ecmult_gen.c || die -} - -src_configure() { - local myeconfargs=( - --disable-benchmark - $(use_enable experimental) - $(use_enable test tests) - $(use_enable test exhaustive-tests) - $(use_enable {,module-}ecdh) - $(use_enable {,module-}extrakeys) - $(use_enable {,module-}recovery) - $(use_enable schnorr module-schnorrsig) - $(usev lowmem '--with-ecmult-window=4 --with-ecmult-gen-precision=2') - $(use_with valgrind) - ) - if use asm; then - if use arm; then - myeconfargs+=( --with-asm=arm32 ) - else - myeconfargs+=( --with-asm=auto ) - fi - else - myeconfargs+=( --with-asm=no ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.4.0.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.4.0.ebuild deleted file mode 100644 index af00152f3730..000000000000 --- a/dev-libs/libsecp256k1/libsecp256k1-0.4.0.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -MyPN=secp256k1 -DESCRIPTION="Optimized C library for EC operations on curve secp256k1" -HOMEPAGE="https://github.com/bitcoin-core/secp256k1" -SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MyPN}-${PV}" - -LICENSE="MIT" -SLOT="0/2" # subslot is "$((_LIB_VERSION_CURRENT-_LIB_VERSION_AGE))" from configure.ac -KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="asm +ecdh +ellswift experimental +extrakeys lowmem +recovery +schnorr test valgrind" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - asm? ( || ( amd64 arm ) arm? ( experimental ) ) - schnorr? ( extrakeys ) -" -BDEPEND=" - dev-build/autoconf-archive - virtual/pkgconfig - valgrind? ( dev-debug/valgrind ) -" - -PATCHES=( - "${FILESDIR}/0.4.0-fix-cross-compile.patch" -) - -src_prepare() { - default - eautoreconf - - # Generate during build - rm -f src/precomputed_ecmult.c src/precomputed_ecmult_gen.c || die -} - -src_configure() { - local myeconfargs=( - --disable-benchmark - $(use_enable experimental) - $(use_enable test tests) - $(use_enable test exhaustive-tests) - $(use_enable {,module-}ecdh) - $(use_enable {,module-}ellswift) - $(use_enable {,module-}extrakeys) - $(use_enable {,module-}recovery) - $(use_enable schnorr module-schnorrsig) - $(usev lowmem '--with-ecmult-window=4 --with-ecmult-gen-precision=2') - $(use_with valgrind) - ) - if use asm; then - if use arm; then - myeconfargs+=( --with-asm=arm32 ) - else - myeconfargs+=( --with-asm=auto ) - fi - else - myeconfargs+=( --with-asm=no ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild deleted file mode 100644 index 09b8366b8764..000000000000 --- a/dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -MyPN=secp256k1 -DESCRIPTION="Optimized C library for EC operations on curve secp256k1" -HOMEPAGE="https://github.com/bitcoin-core/secp256k1" -SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MyPN}-${PV}" - -LICENSE="MIT" -SLOT="0/2" # subslot is "$((_LIB_VERSION_CURRENT-_LIB_VERSION_AGE))" from configure.ac -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="asm +ecdh +ellswift experimental +extrakeys lowmem +recovery +schnorr test valgrind" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - asm? ( || ( amd64 arm ) arm? ( experimental ) ) - schnorr? ( extrakeys ) -" -BDEPEND=" - dev-build/autoconf-archive - virtual/pkgconfig - valgrind? ( dev-debug/valgrind ) -" - -PATCHES=( - "${FILESDIR}/0.4.0-fix-cross-compile.patch" -) - -src_prepare() { - default - eautoreconf - - # Generate during build - rm -f src/precomputed_ecmult.c src/precomputed_ecmult_gen.c || die -} - -src_configure() { - local myeconfargs=( - --disable-benchmark - $(use_enable experimental) - $(use_enable test tests) - $(use_enable test exhaustive-tests) - $(use_enable {,module-}ecdh) - $(use_enable {,module-}ellswift) - $(use_enable {,module-}extrakeys) - $(use_enable {,module-}recovery) - $(use_enable schnorr module-schnorrsig) - $(use_with asm asm "$(usex arm arm32 auto)") - $(usev lowmem '--with-ecmult-window=4 --with-ecmult-gen-precision=2') - $(use_with valgrind) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.5.0.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.5.0.ebuild deleted file mode 100644 index 57b2d865e1ba..000000000000 --- a/dev-libs/libsecp256k1/libsecp256k1-0.5.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -MyPN=secp256k1 -DESCRIPTION="Optimized C library for EC operations on curve secp256k1" -HOMEPAGE="https://github.com/bitcoin-core/secp256k1" -SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MyPN}-${PV}" - -LICENSE="MIT" -SLOT="0/2" # subslot is "$((_LIB_VERSION_CURRENT-_LIB_VERSION_AGE))" from configure.ac -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="asm +ecdh +ellswift experimental +extrakeys lowmem +recovery +schnorr test valgrind" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - asm? ( || ( amd64 arm ) arm? ( experimental ) ) - schnorr? ( extrakeys ) -" -BDEPEND=" - dev-build/autoconf-archive - virtual/pkgconfig - valgrind? ( dev-debug/valgrind ) -" - -PATCHES=( - "${FILESDIR}/0.4.0-fix-cross-compile.patch" -) - -src_prepare() { - default - eautoreconf - - # Generate during build - rm -f src/precomputed_ecmult.c src/precomputed_ecmult_gen.c || die -} - -src_configure() { - local myeconfargs=( - --disable-benchmark - $(use_enable experimental) - $(use_enable test tests) - $(use_enable test exhaustive-tests) - $(use_enable {,module-}ecdh) - $(use_enable {,module-}ellswift) - $(use_enable {,module-}extrakeys) - $(use_enable {,module-}recovery) - $(use_enable schnorr module-schnorrsig) - $(use_with asm asm "$(usex arm arm32 auto)") - $(usev lowmem '--with-ecmult-window=4 --with-ecmult-gen-kb=2') - $(use_with valgrind) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.5.1.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.5.1.ebuild index c28846fde624..146e0e7adeac 100644 --- a/dev-libs/libsecp256k1/libsecp256k1-0.5.1.ebuild +++ b/dev-libs/libsecp256k1/libsecp256k1-0.5.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools toolchain-funcs MyPN=secp256k1 DESCRIPTION="Optimized C library for EC operations on curve secp256k1" @@ -40,6 +40,10 @@ src_prepare() { } src_configure() { + # https://bugs.gentoo.org/729888 + tc-export_build_env BUILD_CC BUILD_CPP + export CC_FOR_BUILD="${BUILD_CC}" CPP_FOR_BUILD="${BUILD_CPP}" + local myeconfargs=( --disable-benchmark $(use_enable experimental) diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild index 0b1785939856..246a6bac38ed 100644 --- a/dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild +++ b/dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools toolchain-funcs MyPN=secp256k1 DESCRIPTION="Optimized C library for EC operations on curve secp256k1" @@ -46,6 +46,10 @@ src_prepare() { } src_configure() { + # https://bugs.gentoo.org/729888 + tc-export_build_env BUILD_CC BUILD_CPP + export CC_FOR_BUILD="${BUILD_CC}" CPP_FOR_BUILD="${BUILD_CPP}" + local myeconfargs=( --disable-benchmark $(use_enable experimental) diff --git a/dev-libs/libsecp256k1/metadata.xml b/dev-libs/libsecp256k1/metadata.xml index 734060bad981..08a4e16cdf19 100644 --- a/dev-libs/libsecp256k1/metadata.xml +++ b/dev-libs/libsecp256k1/metadata.xml @@ -16,14 +16,12 @@ <use> <flag name="ecdh">Enable ECDH shared secret computation</flag> <flag name="ellswift">Enable ElligatorSwift encoding for public keys</flag> - <flag name="endomorphism">Enable endomorphism</flag> <flag name="experimental">Allow experimental USE flags</flag> <flag name="extrakeys">Enable extrakeys module</flag> <flag name="lowmem">Reduce runtime memory usage at the expense of performance (ecmult window size 4, gen precision 2)</flag> <flag name="musig">Enable MuSig2 module</flag> <flag name="recovery">Enable ECDSA pubkey recovery module</flag> <flag name="schnorr">Enable Schnorr signature module</flag> - <flag name="test-openssl">Enable OpenSSL comparison tests</flag> </use> <upstream> <remote-id type="github">bitcoin-core/secp256k1</remote-id> diff --git a/dev-libs/rocm-comgr/Manifest b/dev-libs/rocm-comgr/Manifest index adc5e272711a..937dc39abc28 100644 --- a/dev-libs/rocm-comgr/Manifest +++ b/dev-libs/rocm-comgr/Manifest @@ -31,8 +31,10 @@ AUX rocm-comgr-6.1.0-dont-add-nogpulib.patch 1020 BLAKE2B e99408ab32428b7a320d10 AUX rocm-comgr-6.1.0-enforce-oop-compiler.patch 996 BLAKE2B c4c0bfe9bf55f2f4e8661f01ed1b2ec03f4c07691facad063cc03bda2599fcc94648549a829694b7e5f6d4b82d42f7c92e1ce8cea9e934f37b62f7beda4dd48f SHA512 97f850115b8cdd2c5a2091ca26cc40b9e13cfa86a7980f7730c55932b6db254580f86f267ce7a2b3af739210db55faa29e06e57bdbc11eaa9cfa08d3e4929ea9 AUX rocm-comgr-6.1.0-fix-comgr-default-flags.patch 1967 BLAKE2B c71628e83827738d2458a69a27fb44fbcba44ca6633e9a6856406627b0b4451b996876cc8e86c46382f40006efe472488d2b81ed3571d48e18505eb4fe9b673a SHA512 c85715e427a10f92eb91d6cdb7bd4b455371694b1a87429978e82b9f5127e37710558795541a616395e29735ac57325f3c094ba8c40badb6612aea6865ac4ffa AUX rocm-comgr-6.1.0-llvm-18-compat.patch 2990 BLAKE2B cf3c2ca3933ad714de6d98404a9d97bcca98ba7536228ad7e1396c0e4a8cc6b88b7bba12857e599f96d9fde3d37033a9a9c7c123c230d4af3b5d942206af0941 SHA512 f36e2d6b16f78e93a8291f914d122dfd917aeb0d09e1545f44cb16ab0f064710d450b4e7aa24b6b2ee374c29821d464f878efcc1660e00456118c839e89b31a0 +AUX rocm-comgr-6.2.2-missing-isa.patch 1104 BLAKE2B eecabceb743e0a2bd31de5e55c0d743daa6bea3ecc862b9e9961e4a29f8b09e1ba8268be90e2c295634c17cacf9fef143b4801a5a8a61443dbf27d83b55576a3 SHA512 c5f08ee930d9198a1788483d6df37e8a27aeb8bdc21444e2994e515e2e214f1d294f5ff595a67af4b95304f005f81fd3f7c1fcd1c54d40746b8abc95efe723cd DIST llvm-project-rocm-6.1.1.tar.gz 196027084 BLAKE2B 3ef0b6e3c47c66fd80289373e6ff8aaff44751f9b380addfae73a18dc388093c0535f230b0cc7528724bc43f6992e2ae6decd3d0d3c700893ca95a6166b7b8dc SHA512 e320d4eeaa6f61ed1cdbf653d67fe887d3ce9dc0d6743b4713502e1cb5318ab8afbe1ee71f8cba07635c54ce532df6683de40ade0e5be4a52e50ce25a9b70818 DIST llvm-project-rocm-6.1.2.tar.gz 195992927 BLAKE2B d821f29f2f1f7c1ff414c63a710281f16d2a394b21f3365d01b86710cc09ed27e514b49fb744bf6a36b38815afa56cc26d44f0238f38479a0c2db9bf9989f389 SHA512 5f7e5dbe5976141de35e96e603624bd9d5a2c08b0690ba9fcd81d1b32f540f94bb9f4b74539e2838fd60ae1312dbe5e0b429ba80a03871782cdf3bd834940ce0 +DIST llvm-project-rocm-6.2.4.tar.gz 206742705 BLAKE2B e4d40c900b56a3d31003295c517fcb8fdc5cb0954f298d541d545c6d142746eecfa70a44bfdcb9044d70284f15af612c27dbd55d51e94e638e03bf21c1d3bc06 SHA512 5c5784c318c607168c9d2227ce1150e92fdc6aa457a9e64d62745a70f6fce92c4d4b1202422940f1ccc37a4bccf1efb220d8be39ec2ffdba7591d17e54ec8a5f DIST rocm-comgr-5.1.3.tar.gz 117155 BLAKE2B 40e415c4c7ae3e709dd50981299291f0fc1133f35310b4c86a86847d3bce5fd7685a3f4480f8f156873ca922921c1d4e1cb620fd33bd5cdc87f155af839f2bbe SHA512 5927250f5e03c32b7f270a1dbfe5221d349dfe32aba34143040da53d4e7eb83faa3073a43edabcff13e1fc977bc17088404523f2ab2ea95e207d2c00beb4249b DIST rocm-comgr-5.3.3.tar.gz 120414 BLAKE2B 29b9d466d74ef94165a2b9bea35eac4616f6b2fc529cdac3c830ee7dc08f219cb9e5d4f081658881c76633f12eaebb74d1a2ea30a76652231b8ee516f9988db1 SHA512 ba7b1ef214e3624168e438ed7fd94291a07508fe89d178c0b158bf22e0998d5a8e4d8f0a7f08f05ac108ef65f725db5764fd66353a85bc25000e572a4fdcb61f DIST rocm-comgr-5.4.3.tar.gz 120461 BLAKE2B c4eb79dd5a72a2b18e16841fc8cb9a3a33efb0c7b04a7585df9672d682bba6fa826ab8b37dba5febca3b8c5ee5aca30d8546e1fa69e77671e5c750e2a8c1f12f SHA512 1a25af99a0166d70ca6dc5df5a667068eaf583dccd74bbb18a2a5de3c1b769e0c1eb9a0c539e0cd88bc50bbbe53214a1d1b23fbdfd6fc5b6507c44da259815c4 @@ -45,4 +47,5 @@ EBUILD rocm-comgr-5.5.1.ebuild 2022 BLAKE2B 7bc047bb17510907af10ce3763ccc6bd52d1 EBUILD rocm-comgr-5.7.1.ebuild 2027 BLAKE2B 681d9335d5117a6db725a36f9d56b41c5987db306baacccfb7f31dcf3166ab6fba4c469c78f754a90385b53a827ca41100fa8428b5b6ab41e84e03b178f33f9f SHA512 49f0471a685b324bcef68ac534e76d4d44ec60abadc6ebfc293afb5bb457235a949c5213f2f0d21dfe25d33e5f366bb219a83c10a80dc99e50627af79be65406 EBUILD rocm-comgr-6.1.1.ebuild 2403 BLAKE2B 1fa1bbbd80818a96d66418a1e5c575daa77055b4dd39f82579c6e902bbbff8e61158683ea1e449c2e831f0f367fcfcc6ff81c732221470c3f4915daf0717d70e SHA512 f28526ae247fb2161a2e6732817d49c5577fdda3ade0cc5498f3b17ed2c50666c4f7f7a342bdd595c01e4ba7c80d725fb32ee69d2ae63d6d48f0bf32f7be1fb9 EBUILD rocm-comgr-6.1.2.ebuild 2403 BLAKE2B 1fa1bbbd80818a96d66418a1e5c575daa77055b4dd39f82579c6e902bbbff8e61158683ea1e449c2e831f0f367fcfcc6ff81c732221470c3f4915daf0717d70e SHA512 f28526ae247fb2161a2e6732817d49c5577fdda3ade0cc5498f3b17ed2c50666c4f7f7a342bdd595c01e4ba7c80d725fb32ee69d2ae63d6d48f0bf32f7be1fb9 +EBUILD rocm-comgr-6.2.4.ebuild 2339 BLAKE2B edbd6cb6b533330922b0d684157313b6eccea462bd3c2f57138148a0e2ad88d27953fa8f5f238e94d9acbc3b4e6d802191cb0a245aa9397a689530936a178ba0 SHA512 befea6ff90bb272c30d5685514fb3250b5c93ef4b560b13ad23830730b92f0dab73464e8c464c08450147796d47d885e57383cf32caae5808cd4990a31522201 MISC metadata.xml 638 BLAKE2B d2396daa1a9e505ff3fc3b7a2465f4ca5c933ac8609c08732513c30ebb715f244681075b8b415b75a0d0c330144cb6fab483e6b4231b1144c3bf3bc5091693f3 SHA512 da41a365f6d75e8feabed3a54ca117a8406cabec215137751280ab5985ab86e178a14183e804af220b49b83d4084489c1ec1dd1d543aaa585d910b6636b866c4 diff --git a/dev-libs/rocm-comgr/files/rocm-comgr-6.2.2-missing-isa.patch b/dev-libs/rocm-comgr/files/rocm-comgr-6.2.2-missing-isa.patch new file mode 100644 index 000000000000..ea8e3ee1eabf --- /dev/null +++ b/dev-libs/rocm-comgr/files/rocm-comgr-6.2.2-missing-isa.patch @@ -0,0 +1,9 @@ +--- a/src/comgr-isa-metadata.def 2024-10-14 13:40:22.023251450 -0000 ++++ b/src/comgr-isa-metadata.def 2024-10-14 13:40:31.949824212 -0000 +@@ -89,7 +89,6 @@ + HANDLE_ISA("amdgcn-amd-amdhsa-", "gfx1103", false, false, EF_AMDGPU_MACH_AMDGCN_GFX1103, true, 65536, 32, 4, 40, 1024, 106, 800, 106, 16, 1024, 256) + HANDLE_ISA("amdgcn-amd-amdhsa-", "gfx1150", false, false, EF_AMDGPU_MACH_AMDGCN_GFX1150, true, 65536, 32, 4, 40, 1024, 106, 800, 106, 16, 1024, 256) + HANDLE_ISA("amdgcn-amd-amdhsa-", "gfx1151", false, false, EF_AMDGPU_MACH_AMDGCN_GFX1151, true, 65536, 32, 4, 40, 1024, 106, 800, 106, 24, 1536, 256) +-HANDLE_ISA("amdgcn-amd-amdhsa-", "gfx1152", false, false, EF_AMDGPU_MACH_AMDGCN_GFX1152, true, 65536, 32, 4, 40, 1024, 106, 800, 106, 16, 1024, 256) + HANDLE_ISA("amdgcn-amd-amdhsa-", "gfx1200", false, false, EF_AMDGPU_MACH_AMDGCN_GFX1200, true, 65536, 32, 4, 40, 1024, 106, 800, 106, 24, 1536, 256) + HANDLE_ISA("amdgcn-amd-amdhsa-", "gfx1201", false, false, EF_AMDGPU_MACH_AMDGCN_GFX1201, true, 65536, 32, 4, 40, 1024, 106, 800, 106, 24, 1536, 256) diff --git a/dev-libs/rocm-comgr/rocm-comgr-6.2.4.ebuild b/dev-libs/rocm-comgr/rocm-comgr-6.2.4.ebuild new file mode 100644 index 000000000000..9ce716803fc1 --- /dev/null +++ b/dev-libs/rocm-comgr/rocm-comgr-6.2.4.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 18 ) + +inherit cmake llvm-r1 prefix + +MY_P=llvm-project-rocm-${PV} +components=( "amd/comgr" ) + +DESCRIPTION="Radeon Open Compute Code Object Manager" +HOMEPAGE="https://github.com/ROCm/ROCm-CompilerSupport" +SRC_URI="https://github.com/ROCm/llvm-project/archive/rocm-${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}/${components[0]}" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/${PN}-5.1.3-rocm-path.patch" + "${FILESDIR}/0001-Find-CLANG_RESOURCE_DIR-using-clang-print-resource-d.patch" + "${FILESDIR}/${PN}-6.0.0-extend-isa-compatibility-check.patch" + "${FILESDIR}/${PN}-6.1.0-enforce-oop-compiler.patch" + "${FILESDIR}/${PN}-6.1.0-fix-comgr-default-flags.patch" + "${FILESDIR}/${PN}-6.1.0-dont-add-nogpulib.patch" + "${FILESDIR}/${PN}-6.2.2-missing-isa.patch" +) + +RDEPEND=">=dev-libs/rocm-device-libs-${PV} + sys-devel/clang-runtime:= + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT}= + sys-devel/lld:${LLVM_SLOT}= + ') + dev-util/hipcc:${SLOT} +" +DEPEND="${RDEPEND}" + +CMAKE_BUILD_TYPE=Release + +src_unpack() { + if [[ ${PV} == *9999 ]] ; then + git-r3_fetch + git-r3_checkout '' . '' "${components[@]}" + else + archive="${MY_P}.tar.gz" + ebegin "Unpacking from ${archive}" + tar -x -z -o \ + -f "${DISTDIR}/${archive}" \ + "${components[@]/#/${MY_P}/}" || die + eend ${?} + fi +} + +src_prepare() { + sed '/sys::path::append(HIPPath/s,"hip","",' -i src/comgr-env.cpp || die + sed "/return LLVMPath;/s,LLVMPath,llvm::SmallString<128>(\"$(get_llvm_prefix)\")," -i src/comgr-env.cpp || die + eapply $(prefixify_ro "${FILESDIR}"/${PN}-5.0-rocm_path.patch) + + cmake_src_prepare + + # Replace @CLANG_RESOURCE_DIR@ in patches + local CLANG_RESOURCE_DIR="$("$(get_llvm_prefix)"/bin/clang -print-resource-dir)" + sed "s,@CLANG_RESOURCE_DIR@,\"${CLANG_RESOURCE_DIR}\"," -i src/comgr-compiler.cpp || die +} + +src_configure() { + local mycmakeargs=( + -DLLVM_DIR="$(get_llvm_prefix)" + -DCMAKE_STRIP="" # disable stripping defined at lib/comgr/CMakeLists.txt:58 + -DBUILD_TESTING=$(usex test ON OFF) + ) + cmake_src_configure +} + +src_test() { + local CMAKE_SKIP_TESTS=( + comgr_nested_kernel_test # See https://github.com/ROCm/llvm-project/issues/35 + ) + cmake_src_test +} diff --git a/dev-libs/rocm-device-libs/Manifest b/dev-libs/rocm-device-libs/Manifest index 14bc6bdc081a..6b30d23cb5f7 100644 --- a/dev-libs/rocm-device-libs/Manifest +++ b/dev-libs/rocm-device-libs/Manifest @@ -10,6 +10,7 @@ AUX rocm-device-libs-6.1.0-fix-test-failures2.patch 1492 BLAKE2B a75aa720c157311 AUX rocm-device-libs-6.1.2-fix-build.patch 4182 BLAKE2B 2fded91e25a4b0eb55c021047d7cee4d13f6f1a00da9e596bed45ad1292f1b30ffce2f08d34eb6d693a13bb5499b9e3e49e83dd7c71525ec054881965c6b1fd7 SHA512 e2d8bdaf4fde64a470d3b87134a81a1348806b757e5a0362faee4ffde34e442e52c47f233f01b1cc4129beb17c8a4378579faa3383a4d3d681b51eb719c3f38e DIST llvm-project-rocm-6.1.1.tar.gz 196027084 BLAKE2B 3ef0b6e3c47c66fd80289373e6ff8aaff44751f9b380addfae73a18dc388093c0535f230b0cc7528724bc43f6992e2ae6decd3d0d3c700893ca95a6166b7b8dc SHA512 e320d4eeaa6f61ed1cdbf653d67fe887d3ce9dc0d6743b4713502e1cb5318ab8afbe1ee71f8cba07635c54ce532df6683de40ade0e5be4a52e50ce25a9b70818 DIST llvm-project-rocm-6.1.2.tar.gz 195992927 BLAKE2B d821f29f2f1f7c1ff414c63a710281f16d2a394b21f3365d01b86710cc09ed27e514b49fb744bf6a36b38815afa56cc26d44f0238f38479a0c2db9bf9989f389 SHA512 5f7e5dbe5976141de35e96e603624bd9d5a2c08b0690ba9fcd81d1b32f540f94bb9f4b74539e2838fd60ae1312dbe5e0b429ba80a03871782cdf3bd834940ce0 +DIST llvm-project-rocm-6.2.4.tar.gz 206742705 BLAKE2B e4d40c900b56a3d31003295c517fcb8fdc5cb0954f298d541d545c6d142746eecfa70a44bfdcb9044d70284f15af612c27dbd55d51e94e638e03bf21c1d3bc06 SHA512 5c5784c318c607168c9d2227ce1150e92fdc6aa457a9e64d62745a70f6fce92c4d4b1202422940f1ccc37a4bccf1efb220d8be39ec2ffdba7591d17e54ec8a5f DIST rocm-device-libs-5.1.3.tar.gz 242862 BLAKE2B 68d66de897f461e9f876de5fe2214803d4c00665651dea6af0952f0ce579c6704a5ec41b08971fa613ade309a0a85cb611b56b592dc2a25e247183e634ea3378 SHA512 cc3dfb8d4b4841ba777355c537175259d0019159ff462358320674b85082cccd99f6462f60fee66228ddfb88fade043445c1bac62504aa1462ba61b7e2751de7 DIST rocm-device-libs-5.3.3.tar.gz 245690 BLAKE2B 475c0d818b8b0f090a8daeca2910cd4002e4cdf505d020327f46eb5f864a26937a6a3dfe4ff7b188ebda0f936b1c396f2163bb27b9e2a62c5976e60fa60856ac SHA512 8f6f2fc1534e348e02ba30a25cfc6017f8eab768968b5d0344a5ea7d65c4f0a874072f9e53919c74545814330602ef7c190753c7ff019137230e02f58a5d3a5d DIST rocm-device-libs-5.4.3.tar.gz 246095 BLAKE2B eb749346c96d465a5f22831968ccbd71f02749e6aa0d9c2becc0f378641ca0f65c1a131bfd3ed226f838b4208091fcc920b1e31b427adbd69a42881898668e6a SHA512 67b904363a3cff6c15bbd032cbc72cb5cd5f82acaa68c74391dbcf415266e8f35486a496b69b69e1fc0721e0e4e21fb6a6b9c180a46cb59cdcf53916be846ca4 @@ -22,4 +23,5 @@ EBUILD rocm-device-libs-5.5.1.ebuild 1206 BLAKE2B 4e40b4f468a1f3f2bba04aff69de95 EBUILD rocm-device-libs-5.7.1.ebuild 1455 BLAKE2B 3185873cbed4c601d4d3b6b9142376a0af8c3d89718bf8e7a06215cfd9c25cefd956607f557cf721a3f9b68289b91212889d23888bffda7daf8d0c29b596c258 SHA512 f7db2da2818b9eaa4930dfac02e660e98a2b7dc5e326e1fde78acc98d5723a436052a628cf20254e5295a334980c9d350047503cb262ee4c9820d5ef889d170c EBUILD rocm-device-libs-6.1.1.ebuild 2378 BLAKE2B 1ec008b5d27effdde270dc25d431f5e936f0bed0864c53849fa63cb4e93539add93dfd54c80b1e9b86bc7ded956fcd098d5f2d917a475a639d6fb553f64be3b8 SHA512 e1d62c5f81476a8d45ca0a76a3b50a8ac6a7168f76cd6b7f88bb1bada1a80bcf0fdc6394709d7008a8c0700bae49e50a22e0490a705d15e7a88ab518600470b9 EBUILD rocm-device-libs-6.1.2.ebuild 2421 BLAKE2B 595ff2f925a699804bf5f5e84ed11e9ea0536f34c274809627f3b66fc78a69071ba92c0984618bfad3744260e6ac5a2da7f28a6692a11a48c6ba1750aee5d59e SHA512 0cbdfb787bd5705b69f802af3bda7a12cbd3d546126542528e22113612d1064360de74eedb2d0096afc0034dc116e43978d8ce5e69c82427807d4a57f31cfc4c +EBUILD rocm-device-libs-6.2.4.ebuild 2217 BLAKE2B 76b70ebaff0cc155415ab0663df57c8e2d62eea94521b04b321ae3f780e0b0e773accafae04130a46df556ac862c61a88daa8aee4189f7f4a5e063345246b1da SHA512 22fd6566d1c8a52d5cb58a8bf84edc343d347276cf8e4a70f0e904a39a913cc8894c48f69c47fe51a62fff3bb3202bfb35bd4b259f9a26607c50acdc3fd81def MISC metadata.xml 486 BLAKE2B 39c4a21b96ad471942a38d1c46b2600e3544729a87cd01c79606d495c595f271d5c04621ec581d2322686aca56de5d7c4b2b0d6125fc8db15b1236b2c093c8c9 SHA512 1a7d6570a687bb55877c6a5d9cbd7dc30a72ec0613b84e33be0982ff46b8d80d89e502e50364afdcc1022d7620fc10317a411b27c255caeafa2b45a85a43fd8c diff --git a/dev-libs/rocm-device-libs/rocm-device-libs-6.2.4.ebuild b/dev-libs/rocm-device-libs/rocm-device-libs-6.2.4.ebuild new file mode 100644 index 000000000000..3c1cf10b077b --- /dev/null +++ b/dev-libs/rocm-device-libs/rocm-device-libs-6.2.4.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 18 ) +inherit cmake flag-o-matic llvm-r1 + +MY_P=llvm-project-rocm-${PV} +components=( "amd/device-libs" ) + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/ROCm/llvm-project" + inherit git-r3 + S="${WORKDIR}/${P}/${components[0]}" +else + SRC_URI="https://github.com/ROCm/llvm-project/archive/rocm-${PV}.tar.gz -> ${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}/${components[0]}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute Device Libraries" +HOMEPAGE="https://github.com/ROCm/ROCm-Device-Libs" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-build/rocm-cmake + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + sys-devel/lld:${LLVM_SLOT} + ') +" + +CMAKE_BUILD_TYPE=Release + +PATCHES=( + "${FILESDIR}/${PN}-6.1.0-fix-llvm-link.patch" + "${FILESDIR}/${PN}-6.1.2-fix-build.patch" +) + +src_unpack() { + if [[ ${PV} == *9999 ]] ; then + git-r3_fetch + git-r3_checkout '' . '' "${components[@]}" + else + archive="${MY_P}.tar.gz" + ebegin "Unpacking from ${archive}" + tar -x -z -o \ + -f "${DISTDIR}/${archive}" \ + "${components[@]/#/${MY_P}/}" || die + eend ${?} + fi +} + +src_prepare() { + sed -e "s:amdgcn/bitcode:lib/amdgcn/bitcode:" -i "${S}/cmake/OCL.cmake" || die + sed -e "s:amdgcn/bitcode:lib/amdgcn/bitcode:" -i "${S}/cmake/Packages.cmake" || die + cmake_src_prepare +} + +src_configure() { + # Do not trust CMake with autoselecting Clang, as it autoselects the latest one + # producing too modern LLVM bitcode and causing linker errors in other packages. + # Clean up unsupported flags for the switched compiler, see #936099 + local -x CC="$(get_llvm_prefix)/bin/clang" + local -x CXX="$(get_llvm_prefix)/bin/clang++" + strip-unsupported-flags + + local mycmakeargs=( + -DLLVM_DIR="$(get_llvm_prefix)" + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + local CLANG_EXE="$(get_llvm_prefix)/bin/clang" + # install symlink, so that clang won't ask for "--rocm-device-lib-path" flag anymore + local bitcodedir="$("${CLANG_EXE}" -print-resource-dir)/$(get_libdir)/amdgcn/bitcode" + dosym -r "/usr/lib/amdgcn/bitcode" "${bitcodedir#${EPREFIX}}" +} diff --git a/dev-libs/rocm-opencl-runtime/Manifest b/dev-libs/rocm-opencl-runtime/Manifest index e05cff529f7a..543f2882d61a 100644 --- a/dev-libs/rocm-opencl-runtime/Manifest +++ b/dev-libs/rocm-opencl-runtime/Manifest @@ -12,6 +12,7 @@ DIST rocclr-5.5.1.tar.gz 634330 BLAKE2B e6383a6b6b09f274a944d66effd345e38a191ec7 DIST rocm-clr-5.7.1.tar.gz 2008647 BLAKE2B 3db0760d6f83504e60caf88a2dd5e0bc02c7db9d6f263ad0eb2cfc79aa0f88a3699c412844a0158a796d9d02e79660287e791edad787d814eefffea4fd2298b4 SHA512 d79323481d82fc02c12a32cdcc0d14437d512af023e7737db0387b7eecb27fe6e4ae7c71d6adce57932a04bb24c880440d9dc10aeb5af11a4f2ca64d44330965 DIST rocm-clr-6.1.1.tar.gz 2031034 BLAKE2B b0485bb015d31986f4988d1db0c029c826856e50b5bb1b58fac2097c14b3966668f1b8d41ec198889e27ac860497a8b3c081ec31d52390d5c9ff5db092bf7cce SHA512 86925e8b9a9e77b06a57daefbc7279887b4ef7c6a79c3717bc2f2d3bf29926281c60063fd17e21c65d7def520d9f579bf88f69051d053a38750ba968f69ca3fc DIST rocm-clr-6.1.2.tar.gz 2031283 BLAKE2B d51d32a77794ea97f1a3817786c9fd6b482106b665eea6e2c9b4c11e4dce19a3486386eb5ba111554c2d82c30e2a93add7502eed5768caf3fb709fb5fbb2e71b SHA512 e97224451864efe0084c4117f54893c9624a6a9f365a0b4abad08fd9635f008dea742dc589429fbb714e1b8177d06362c0f5a741f6c4a050d0fd4d48da72d54b +DIST rocm-clr-6.2.4.tar.gz 2078004 BLAKE2B 28fdd2a81a5b831e157d781d6d869c02a288d9b8dc47a8a1d0a9f3b7ed99393c06f9b2bbc8d7dc2b2173a1b8c57fa1328b0fd6a7f24e759ace77e8c1ae777442 SHA512 74a198595929003248a3684fb5d83c20a8769eef237fcc07371f4385380f347917d6beaca15527334d06ea19bc446a03fca7251e5b2782f05547a36ccd1dfa49 DIST rocm-opencl-runtime-5.1.3.tar.gz 1004765 BLAKE2B 64d9b42026d2be1d0e4aa666785699f6b4ec0584a927904a94bf830883050943503f8bdd7c97438a2fb11c71686a330d526f633959916c5c6c8da2e037841e79 SHA512 b83c3ae0bfad80f867bacce36710a8964f6dd7e64bf50da3ec6ce842217d6de63299d9ceaab9dc25a22252484520a85d02859809463dad5dda9b1f00a86863e0 DIST rocm-opencl-runtime-5.3.3.tar.gz 1007773 BLAKE2B a3f600a68183337f92b152a123241cb7025889cca2ef6814d9d5b5a2146a78703b171d20bcb432bc7a2cdd1f24ad349408c17816b25a66702e9f0f5345af9082 SHA512 391f0f244b7f02972df8cada821e69ee8d81d96b9cff3c14f1d0838da583d8fb136ec4bd5ee820f6dd261968e9eef5e9a5b10b7bb76b1b64625c399d79bcb03f DIST rocm-opencl-runtime-5.4.3.tar.gz 1005268 BLAKE2B f9398e4c2b0f045f1b5d8df9f31b7f2bef6a9201885aa6ee5fc5d71632cfde26a078d9a5ea38c3da12d3c187faf04c7bdcf1a8ecb9927cdba56b1efdfcdc44ee SHA512 f65d4622ce8721a6b91ab5b5b306d142ba507d3e631ac3ab0b76c5bc6d8d18455e02debd954c82e7eb609f232b509f1ec1a013dc2fad467c2c2ad31fdf15755d @@ -24,4 +25,5 @@ EBUILD rocm-opencl-runtime-5.7.1-r1.ebuild 3119 BLAKE2B 672082b1bea0f6cd45f8c371 EBUILD rocm-opencl-runtime-6.1.1.ebuild 2695 BLAKE2B 2e2241518863f36222e755d61f8e5c25510c5a5250458fce110d5830898a36ae3e97a20fce61382d7ebf39346dee705b673dd0c1e4390e3ee44f7c23eff4d1b7 SHA512 edfb87e56c042000e41480771186a8e536e35a58cb2e57ef71f3d118501dcc85eb1025eba6a6af0b25d9c896329aa832d56f9b1037031c4279e5f21367dfa81b EBUILD rocm-opencl-runtime-6.1.2-r1.ebuild 2767 BLAKE2B f1fc8c310f299d6d3b42d0d64ea46cbab36cccabf9d332e8a40efbb790367416be0010a4d4e2d69748205765b9d118f2f6a9082880ecb286c58af5fcbaa23e5b SHA512 9e1646e606bc4f50c5bdaef68890b7ea0b2caeea563ec9a8947035d9a65e3121417bf60d13d38c23c95b197dd526651cb2b2739b96c5cd868d7f8314d09606e7 EBUILD rocm-opencl-runtime-6.1.2.ebuild 2695 BLAKE2B 2e2241518863f36222e755d61f8e5c25510c5a5250458fce110d5830898a36ae3e97a20fce61382d7ebf39346dee705b673dd0c1e4390e3ee44f7c23eff4d1b7 SHA512 edfb87e56c042000e41480771186a8e536e35a58cb2e57ef71f3d118501dcc85eb1025eba6a6af0b25d9c896329aa832d56f9b1037031c4279e5f21367dfa81b +EBUILD rocm-opencl-runtime-6.2.4.ebuild 2695 BLAKE2B 2e2241518863f36222e755d61f8e5c25510c5a5250458fce110d5830898a36ae3e97a20fce61382d7ebf39346dee705b673dd0c1e4390e3ee44f7c23eff4d1b7 SHA512 edfb87e56c042000e41480771186a8e536e35a58cb2e57ef71f3d118501dcc85eb1025eba6a6af0b25d9c896329aa832d56f9b1037031c4279e5f21367dfa81b MISC metadata.xml 525 BLAKE2B 9af34c6be2bb5ff304e4d01810b810eb8a0639d1972325fad3b81c93aa4d060cbebddc9c06da702dd80f9aa98549720cf2bc674d5b11ef6f99ed30efe50d2110 SHA512 c50670dde49ec0d9d3acca19d37842ecf567429f455e1b37c5181e5d4361d829eff0980ba35096ef42c0789f8904d52425faf4a2aabf641142722957b626378d diff --git a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-6.2.4.ebuild b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-6.2.4.ebuild new file mode 100644 index 000000000000..465e3a2ddc66 --- /dev/null +++ b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-6.2.4.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ROCM_SKIP_GLOBALS=1 +inherit cmake edo flag-o-matic rocm + +DESCRIPTION="Radeon Open Compute OpenCL Compatible Runtime" +HOMEPAGE="https://github.com/ROCm-Developer-Tools/clr" + +SRC_URI="https://github.com/ROCm-Developer-Tools/clr/archive/refs/tags/rocm-${PV}.tar.gz -> rocm-clr-${PV}.tar.gz" +S="${WORKDIR}/clr-rocm-${PV}/" + +LICENSE="Apache-2.0 MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="debug test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-libs/rocr-runtime-6.0 + >=dev-libs/rocm-comgr-6.0 + >=dev-libs/rocm-device-libs-6.0 + >=virtual/opencl-3 + media-libs/mesa[-opencl]" +DEPEND="${RDEPEND}" +BDEPEND=">=dev-build/rocm-cmake-5.3 + media-libs/glew + test? ( >=x11-apps/mesa-progs-8.5.0[X] ) +" + +src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/856088 + # https://github.com/ROCm/clr/issues/64 + # + # Do not trust it for LTO either + append-flags -fno-strict-aliasing + filter-lto + + # Fix ld.lld linker error: https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/issues/155 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + + # Reported upstream: https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/issues/120 + append-cflags -fcommon + + local mycmakeargs=( + -Wno-dev + -DROCM_PATH="${EPREFIX}/usr" + -DBUILD_TESTS=$(usex test ON OFF) + -DEMU_ENV=ON + -DBUILD_ICD=ON + -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF + -DCLR_BUILD_OCL=on + ) + cmake_src_configure +} + +src_install() { + insinto /etc/OpenCL/vendors + doins opencl/config/amdocl64.icd + + cd "${BUILD_DIR}"/opencl || die + insinto /usr/lib64 + doins amdocl/libamdocl64.so + doins tools/cltrace/libcltrace.so +} + +src_test() { + check_amdgpu + cd "${BUILD_DIR}"/tests/ocltst || die + export OCL_ICD_FILENAMES="${BUILD_DIR}"/amdocl/libamdocl64.so + local instruction1="Please start an X server using amdgpu driver (not Xvfb!)," + local instruction2="and export OCLGL_DISPLAY=\${DISPLAY} OCLGL_XAUTHORITY=\${XAUTHORITY} before reruning the test." + if [[ -n ${OCLGL_DISPLAY+x} ]]; then + export DISPLAY=${OCLGL_DISPLAY} + export XAUTHORITY=${OCLGL_XAUTHORITY} + ebegin "Running oclgl test under DISPLAY ${OCLGL_DISPLAY}" + if ! glxinfo | grep "OpenGL vendor string: AMD"; then + ewarn "${instruction1}" + ewarn "${instruction2}" + die "This display does not have AMD OpenGL vendor!" + fi + ./ocltst -m $(realpath liboclgl.so) -A ogl.exclude + eend $? || die "oclgl test failed" + else + ewarn "${instruction1}" + ewarn "${instruction2}" + die "\${OCLGL_DISPLAY} not set." + fi + edob ./ocltst -m $(realpath liboclruntime.so) -A oclruntime.exclude + edob ./ocltst -m $(realpath liboclperf.so) -A oclperf.exclude +} diff --git a/dev-libs/rocr-runtime/Manifest b/dev-libs/rocr-runtime/Manifest index 5a17bad53ac5..2e72474ae273 100644 --- a/dev-libs/rocr-runtime/Manifest +++ b/dev-libs/rocr-runtime/Manifest @@ -11,6 +11,7 @@ DIST rocr-runtime-5.5.1.tar.gz 816175 BLAKE2B e588d98cbd0d9a753b950ba676d6cddeed DIST rocr-runtime-5.7.1.tar.gz 832009 BLAKE2B 67e4a64ee03b1f6edc43923c7ac44113ab58f78b032dc0a01952b2dd5b2ca37404044811effb9c8d83002ac4ea344a5d95ac62f3c66012bff2884ef55285cdb5 SHA512 a6547a104303032244d17b662a3eda48039732c215debb6178c0af8842c01c60f80989793420c101bd554e58332d215205da0c228dfc25538c56499f47dc6832 DIST rocr-runtime-6.1.1.tar.gz 903611 BLAKE2B 175e7267bfd9d70fb805135e765004cf2b43b2d66354f0cef857d417c8dac4ce7638ec1b90a1088324aa5f90ed8354c66b56846115368d68d622a215350d84dd SHA512 5e6e28dee29ef9df9d617f56038b2e52022738d5510833cd8e1738defe1049d0a957db4d9f63bbf55d8efca3a4ea349b95919dd1b6b35b9814ebba575a67af57 DIST rocr-runtime-6.1.2.tar.gz 903633 BLAKE2B 058492c6c37bb80e8cdb29752f3f1404ac88108dcfd5137042e4fdaff521db01d64bd14bdcbed9e53b8984f8bbb22b126f1a798bd064c393b5bcf76c1d3311ca SHA512 2893aff72a5fbf03bfde67ab64fcf00f4e10b5e5b11ff4617e94ae0c019a24a9b80601d8629d4e119e6a4957dc0aaf03d645111063979af60090fe3b232a477e +DIST rocr-runtime-6.2.4.tar.gz 959982 BLAKE2B a4cc3960c7e559c7c1837e009c998784832c861ca59c0cbf9388c8ae081670b4e45c4e5b032dbd17a4c2efe8708a1330c9ff66c814196e29df5c7a6735a6d3e9 SHA512 cdd84ddf2120f494eec282b78d0858970e0603ea096213f25731af5a97f652d058ff93122bb3a0813c45cb87f625af6f33c2c108d8fb5db63d62674b13e40c71 EBUILD rocr-runtime-5.1.3-r1.ebuild 1522 BLAKE2B 2c1cada684235b8df5607ed5b231893ee8dea67c17b9c09d621a1da5c0f6109c025c7269aefedfcb645c978d8e875747b515e009f2c1a11942baa25ac5477fa5 SHA512 975e107ce7a8f3ce69bbc1e62758b8bed1fb985e83ec3513d0487b39062f11cc2cdcd3303e19ed8bce079b3eea24d05ac6dc7bc9761e304ecd8d5eca1a4d5149 EBUILD rocr-runtime-5.3.3-r1.ebuild 1338 BLAKE2B ea4f2e9ec203d60464f9e54333f65f966cb3e60a9b075d94b68d28d6dec85935d6af65021ce33091f56d474d677509b34e90fa8f8eae0b7e6f590eb9c8155f87 SHA512 33317cb38c39421d1974c38b70c9b58c89dd602f4ed7a80585e2df08cad93cca7b9911bfd7207eabf995a52ebb9b647ee0c9d9f423eb8da4b09e5dd02c754039 EBUILD rocr-runtime-5.4.3-r1.ebuild 1549 BLAKE2B 331d55c9204f77774d8bee7ea056367273ba3e3867b0ff8b0eb305dd2915d217c92d4d0183dca2df1848df15bd629542a9b893ffecee045ce8222dc141d7b962 SHA512 778832bcce9185113430aa17254245f193f1689c786f3cd0268104ea09b0b743722524750292f9c61ada4813e816039bddb92971598f02d361748bd5a270030f @@ -18,4 +19,5 @@ EBUILD rocr-runtime-5.5.1.ebuild 1338 BLAKE2B a65351876e310dd37f23b266836da76736 EBUILD rocr-runtime-5.7.1-r3.ebuild 1599 BLAKE2B 888ada488412b30170e5c00bf923ffd8bf6645819a323018bd7774b812ec4cee8b594fd9fdd8ff5b0e71cfd7c90ce9fa8e59fd5ab509c5115f1a0dc7cf5caa63 SHA512 5264f4a2759114e385d02199c47eb0c6d394f49cd51360a2ce5e9c69b98a22846771936f2b776acf50d9ece8c2464e75d8c2bed8587a172471427040caed7bf1 EBUILD rocr-runtime-6.1.1.ebuild 1533 BLAKE2B 9ac67c36b8972c18566f3f891dd65f82627742597e8413d10c050a6a7516c99868a96a51138a039493f358db38d62c974661ec07b9e9acd45ce0e50b37f21eb3 SHA512 d35642542d43cb8f626ef318fde7b915f7cc60e43250fb96dd3b07557496f14e066586539a53ff4c9ec1bb85215b0ad4ae9f6eb5eead1f7ed384daddb0a17a92 EBUILD rocr-runtime-6.1.2.ebuild 1533 BLAKE2B 9ac67c36b8972c18566f3f891dd65f82627742597e8413d10c050a6a7516c99868a96a51138a039493f358db38d62c974661ec07b9e9acd45ce0e50b37f21eb3 SHA512 d35642542d43cb8f626ef318fde7b915f7cc60e43250fb96dd3b07557496f14e066586539a53ff4c9ec1bb85215b0ad4ae9f6eb5eead1f7ed384daddb0a17a92 +EBUILD rocr-runtime-6.2.4.ebuild 1455 BLAKE2B 1999dc36b9c84c911ad3e6d94f570f356cd722d98222aa02d9334fc21f9b8b488371c6c5d104a681e36b10dcf7f57206c87cbc56f071ae4cdb38275df1915f71 SHA512 af95fac88ac3ce20ad186917fb85a4a258cdeccaf9527a8b19296bb566f5ac4ab112b2d2e4e2d339f71142c88a2b27ada57cdd4b28c265f2a4ade8cb0d434570 MISC metadata.xml 623 BLAKE2B bc808d06e4dd8c715a0abde57dba1fa02d563bed034e9cd4a8f50d78ed478ec1545aa0b42f6521ffa5c1ea57d456984c51af0cab39055201c4c04a4b46acc100 SHA512 d83b1e22d012536236067ac241b4b94f479e0adcd14a9e5647571f0550352e8d348965103183d51576e11414bb85714ded4222bfbb2a6464841b45e7644e8c2b diff --git a/dev-libs/rocr-runtime/rocr-runtime-6.2.4.ebuild b/dev-libs/rocr-runtime/rocr-runtime-6.2.4.ebuild new file mode 100644 index 000000000000..61f349f8dd86 --- /dev/null +++ b/dev-libs/rocr-runtime/rocr-runtime-6.2.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 18 ) + +inherit cmake flag-o-matic llvm-r1 + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/ROCm/ROCR-Runtime/" + inherit git-r3 + S="${WORKDIR}/${P}/src" +else + SRC_URI="https://github.com/ROCm/ROCR-Runtime/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/ROCR-Runtime-rocm-${PV}/src" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute Runtime" +HOMEPAGE="https://github.com/ROCm/ROCR-Runtime" +PATCHES=( + "${FILESDIR}/${PN}-4.3.0_no-aqlprofiler.patch" + "${FILESDIR}/${PN}-5.7.1-extend-isa-compatibility-check.patch" +) + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +IUSE="debug" + +COMMON_DEPEND="dev-libs/elfutils + x11-libs/libdrm" +DEPEND="${COMMON_DEPEND} + >=dev-libs/roct-thunk-interface-${PV} + >=dev-libs/rocm-device-libs-${PV} + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT}= + sys-devel/lld:${LLVM_SLOT}= + ') +" +RDEPEND="${DEPEND}" +BDEPEND="app-editors/vim-core" + # vim-core is needed for "xxd" + +src_prepare() { + # Gentoo installs "*.bc" to "/usr/lib" instead of a "[path]/bitcode" directory ... + sed -e "s:-O2:--rocm-path=${EPREFIX}/usr/lib/ -O2:" -i image/blit_src/CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/856091 + # https://github.com/ROCm/ROCR-Runtime/issues/182 + filter-lto + + use debug || append-cxxflags "-DNDEBUG" + cmake_src_configure +} diff --git a/dev-libs/roct-thunk-interface/Manifest b/dev-libs/roct-thunk-interface/Manifest index 7b04a66a34e8..f59824d41e07 100644 --- a/dev-libs/roct-thunk-interface/Manifest +++ b/dev-libs/roct-thunk-interface/Manifest @@ -11,6 +11,7 @@ DIST roct-thunk-interface-5.5.1.tar.gz 649617 BLAKE2B 54ecae486e5d8b99363947a93b DIST roct-thunk-interface-5.7.1.tar.gz 665529 BLAKE2B 407601d45976ad66e85999c53bcaa62fefa2ea823e1d3296a9aabe8b6a9c915776344de4499fcf6f9ee80193201308b27b387a7225aca5d2cc7e294143eefacd SHA512 c0dc449c8b713ac543f6cd6c876ea0f160dcb1a5c4a52a2b1364fcae0039e9fe195e4223a2644d7d3a7fbc2a48166e798d15b9088e2097b65974e2ba5e48bdcf DIST roct-thunk-interface-6.1.1.tar.gz 666377 BLAKE2B b30d733fb769f7169e97b8a28eaa61c84205aec06b55d662d24f159a3c84190f3252f090413769e56eb621abc789fae521cb7b26d7cdac952ff1e4e120707bc9 SHA512 2c579606d2ced9f8b5e32841db745819771b7d6ce0cef90b818e3710470e30c7715540125d99ed5ea13c4e672d5af6d8ad2dd5975ef76cab7ba993d86cf74eb4 DIST roct-thunk-interface-6.1.2.tar.gz 666380 BLAKE2B ffff2405bbb95a6908670a23cf6090147a5669f8ab0c999047203731c99c511738a33ac8d3fc0f0e5432e3744e948ec3fe658d6a578ecc63606c8a5662025b0a SHA512 083b1a865608016f78c094a27ece3858072e72d80e1322e7cef22261222a0f868d3b72ebfcd80a11e4719e90d3d3fc7b0c683aed77714f54f520bb126b13ab7c +DIST roct-thunk-interface-6.2.4.tar.gz 674228 BLAKE2B d1e13cd4d772a2118c6af973893be077b205a197a7fbfc2c6b8ca616d079bfbd1edab788fe170980c3d746afee409dca00f267f6c5c481a7eb1320faafbf4145 SHA512 2df159af277be9834ff7fc60094fdeefdae029099e9208426d0efc817e8b88d74c40a75b36a774ab06d638ce37aef68483d2c7b8d77be96a4f76a160e1cd1bf7 EBUILD roct-thunk-interface-5.1.3.ebuild 1107 BLAKE2B c8d1aad9be55420235043628caa570cfa5f9164c6a3d20c7d90a6cac385ad2c886c44a89f2d9181742f9c284067b0d0b078fb2ea04e44ac9f1a145505f4b9971 SHA512 08bce5619f4e5e163b23928c0088e7f022d0f9f95bfba4b4e237a74ade30a327bf3cf954590f9d788ab7a16dd4f90ff53bd3e87011866af1d68a200bbeeceb7f EBUILD roct-thunk-interface-5.3.3.ebuild 1107 BLAKE2B c8d1aad9be55420235043628caa570cfa5f9164c6a3d20c7d90a6cac385ad2c886c44a89f2d9181742f9c284067b0d0b078fb2ea04e44ac9f1a145505f4b9971 SHA512 08bce5619f4e5e163b23928c0088e7f022d0f9f95bfba4b4e237a74ade30a327bf3cf954590f9d788ab7a16dd4f90ff53bd3e87011866af1d68a200bbeeceb7f EBUILD roct-thunk-interface-5.4.3.ebuild 1107 BLAKE2B c5523fd9ba5475faf5b8bb4ea35a100f4049a8b008c3dec048e03b8e14b394f28b8b5515f7b93c94774c75304e2df7ef745e9538eae5309c6faa569748d32551 SHA512 dfc0e032b61667c9171900f36bc7f18df0e67635e8988d91a8041c298053d9c977adf123af2326e7986bbe00f45ea3ec3e3630ff0993279cfd7becbb5492fc36 @@ -18,4 +19,5 @@ EBUILD roct-thunk-interface-5.5.1.ebuild 1055 BLAKE2B a2341ff457f5ee2754ee8cb63a EBUILD roct-thunk-interface-5.7.1-r1.ebuild 1149 BLAKE2B 31bacc1a1123eac6afe14c9dacf150cf64c8ac85b46e7f4ad386b9e3d8b06b6a2264210f021123218c42c74c87a849f34327baeb648ffd5269276f31302a7151 SHA512 f58abcb15dcbf13d0ef5c148430e2de70345831ad693fa2c2fca2e586e5625a8252c6a57f9ec0d2a75c4f92ba7267acffd985cbc91d8ba157a3e13a952fecf76 EBUILD roct-thunk-interface-6.1.1.ebuild 1865 BLAKE2B dea59c6a6f34bded83edffaebdbea338857050ec782c87a29e0bcab40a20782f383f029b782776ab4f8e11c8e56e6d41a62ef88485be281cc442239d7af2abef SHA512 bc61c903a352b5ea1a5f453fe0aa37361e028af2b277bce9a300a52dbd34aa3dd26ae9a9286acf4e569a4175ebdccaf98cf215a20ae9a039e1343a7cf81d8a84 EBUILD roct-thunk-interface-6.1.2.ebuild 1865 BLAKE2B dea59c6a6f34bded83edffaebdbea338857050ec782c87a29e0bcab40a20782f383f029b782776ab4f8e11c8e56e6d41a62ef88485be281cc442239d7af2abef SHA512 bc61c903a352b5ea1a5f453fe0aa37361e028af2b277bce9a300a52dbd34aa3dd26ae9a9286acf4e569a4175ebdccaf98cf215a20ae9a039e1343a7cf81d8a84 +EBUILD roct-thunk-interface-6.2.4.ebuild 1633 BLAKE2B 26b8b10788dc4457d0746e60649e60fa57a3a73409dc304e35744c064e495aa6b1aed09d7e97ff05217c44dd42f5769faf0c89bd08221f58043882eabc4a7ce1 SHA512 06629e39e3a287a0c8c2c7bdfe53a0fbc499c8a23b4a6dea0cc7b39480b46e2d48b932ac32521ae1d95b154d305b90e6065bce6666bb55d4053b64c005144360 MISC metadata.xml 661 BLAKE2B c019c853506c550339b18a7f1ab57fd5f2876309823bab923ef07f7f997d820c2664ae5c0c1d2e29c2ccdf613f96cdaf85d92a3734aeb105c392847aed73c76b SHA512 194cdad18f2be9fb4d895ff75b4ce9c6a59443caad443061ea70a8cc4778ec13ca35273c8018ac1d00c7ecd146302ee4bf856ad653a174a1ad281d235b6e12e9 diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-6.2.4.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-6.2.4.ebuild new file mode 100644 index 000000000000..6877c2515868 --- /dev/null +++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-6.2.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ROCM_SKIP_GLOBALS=1 +inherit cmake linux-info rocm + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/ROCm/ROCT-Thunk-Interface/" + inherit git-r3 +else + SRC_URI="https://github.com/ROCm/ROCT-Thunk-Interface/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/ROCT-Thunk-Interface-rocm-${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute Thunk Interface" +HOMEPAGE="https://github.com/ROCm/ROCT-Thunk-Interface" +CONFIG_CHECK="~HSA_AMD ~HMM_MIRROR ~ZONE_DEVICE ~DRM_AMDGPU ~DRM_AMDGPU_USERPTR" +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" + +RDEPEND="sys-process/numactl + x11-libs/libdrm[video_cards_amdgpu]" +DEPEND="${RDEPEND} + test? ( sys-devel/llvm + dev-cpp/gtest )" + +IUSE="test" +RESTRICT="!test? ( test )" + +CMAKE_BUILD_TYPE=Release + +test_wrapper() { + local S="$1" + shift 1 + local CMAKE_USE_DIR="${S}" + local BUILD_DIR="${S}_build" + cd "${S}" || die + $@ +} + +src_prepare() { + sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCPACK_PACKAGING_INSTALL_PREFIX="${EPREFIX}/usr" + ) + cmake_src_configure + + if use test; then + export LIBHSAKMT_PATH="${BUILD_DIR}" + test_wrapper "${S}/tests/kfdtest" cmake_src_configure + fi +} + +src_compile() { + cmake_src_compile + if use test; then + LIBRARY_PATH="${BUILD_DIR}" test_wrapper "${S}/tests/kfdtest" cmake_src_compile + fi +} + +src_test() { + check_amdgpu + TESTDIR="${S}/tests/kfdtest_build/" + cd "${TESTDIR}" || die + PATH="${PATH}:${TESTDIR}" ./run_kfdtest.sh +} |