From 3123e8f154b1f81f871fe14b86ae7d7d86d4dd77 Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sat, 20 Jul 2024 15:36:11 +0900 Subject: [PATCH 01/12] app-i18n/ibus-typing-booster: amd64/x86 stable Signed-off-by: Akinori Hattori --- app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.9.ebuild b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.9.ebuild index 97351b6920ac0..479696719c1b0 100644 --- a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.9.ebuild +++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.9.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/mike-fabian/${PN}/releases/download/${PV}/${P}.tar.g LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" RESTRICT="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" From 1a510d4483785a23237de288704f57e2f6b15cb2 Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sat, 20 Jul 2024 15:36:58 +0900 Subject: [PATCH 02/12] app-i18n/ibus-typing-booster: drop old Signed-off-by: Akinori Hattori --- app-i18n/ibus-typing-booster/Manifest | 1 - .../ibus-typing-booster-2.25.8.ebuild | 54 ------------------- 2 files changed, 55 deletions(-) delete mode 100644 app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.8.ebuild diff --git a/app-i18n/ibus-typing-booster/Manifest b/app-i18n/ibus-typing-booster/Manifest index 84fd9808e7309..835ee99eb75a3 100644 --- a/app-i18n/ibus-typing-booster/Manifest +++ b/app-i18n/ibus-typing-booster/Manifest @@ -1,3 +1,2 @@ DIST ibus-typing-booster-2.25.11.tar.gz 13239747 BLAKE2B 13273ee1bc7b86ff60b79a9303da59b1e7f01675e1bf7919ead5c79ea04068db2aee67ff41610f24112a346f3be079108f6aa1a2e40fcb7cfdb6378aea949326 SHA512 97137a0ad68b96c7a4bbd560f916e1f42f4ee191f867967a35ac52031d48940d1942d4bdcad7d08a0430f8cdc32232c82042460b8fe819c313fc96c72df73db6 -DIST ibus-typing-booster-2.25.8.tar.gz 13241387 BLAKE2B 0c5b253f5b7b0b75decce318ccea3c10ca0676fcf2a060e55a0d195dbf591d1fd1aeb319f07e449e1bac2cd22a35e98cce30f6bd55b92edebae6a613d102fb38 SHA512 22581e6e400a93797c2a9b4ff27afe56ab7754624bc229425a34eebb72de8f96b327f360a4d2d0e3f2e80a49005397b555986c09df5463cbbbc011f361e1e336 DIST ibus-typing-booster-2.25.9.tar.gz 13241247 BLAKE2B 3ecd96e95f22022ce52ad2b1821faaeec45f6b5f50b4c6e1df67ee4f1908539090ac0668aa73180bb5a665ad60a8bd8c37a72aa776420ab28bdc59ece003fa21 SHA512 3427336e15199eb851178393c3568bc8b8dcbae35da0cb9d9ec14740db108d66483e7209d39449e370a55aa11ce1f8d179d6e0a5b1b00b3b17b85af77813eea1 diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.8.ebuild b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.8.ebuild deleted file mode 100644 index 0cb560b41e304..0000000000000 --- a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.8.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" -PYTHON_COMPAT=( python3_{9..12} ) -PYTHON_REQ_USE="sqlite(+)" - -inherit gnome2-utils python-single-r1 xdg - -DESCRIPTION="Completion input method for IBus" -HOMEPAGE="https://mike-fabian.github.io/ibus-typing-booster" -SRC_URI="https://github.com/mike-fabian/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" -RESTRICT="test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS} - dev-libs/m17n-lib - $(python_gen_cond_dep ' - app-i18n/ibus[python(+),${PYTHON_USEDEP}] - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/pyenchant[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - ')" -RDEPEND="${DEPEND} - >=dev-db/m17n-db-1.7" -BDEPEND="sys-devel/gettext - virtual/pkgconfig" - -src_prepare() { - default - - sed -i "s|/usr\(/bin/sh\)|\1|" {engine,setup}/*.in -} - -pkg_preinst() { - xdg_pkg_preinst - gnome2_schemas_savelist -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} From 1c4d7d5b089a6264e1a5ab9cc9eb4d24f22916ad Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sat, 20 Jul 2024 15:38:18 +0900 Subject: [PATCH 03/12] app-i18n/ibus-typing-booster: new upstream release Signed-off-by: Akinori Hattori --- app-i18n/ibus-typing-booster/Manifest | 1 + .../ibus-typing-booster-2.25.13.ebuild | 54 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.13.ebuild diff --git a/app-i18n/ibus-typing-booster/Manifest b/app-i18n/ibus-typing-booster/Manifest index 835ee99eb75a3..b9ae037c19bf3 100644 --- a/app-i18n/ibus-typing-booster/Manifest +++ b/app-i18n/ibus-typing-booster/Manifest @@ -1,2 +1,3 @@ DIST ibus-typing-booster-2.25.11.tar.gz 13239747 BLAKE2B 13273ee1bc7b86ff60b79a9303da59b1e7f01675e1bf7919ead5c79ea04068db2aee67ff41610f24112a346f3be079108f6aa1a2e40fcb7cfdb6378aea949326 SHA512 97137a0ad68b96c7a4bbd560f916e1f42f4ee191f867967a35ac52031d48940d1942d4bdcad7d08a0430f8cdc32232c82042460b8fe819c313fc96c72df73db6 +DIST ibus-typing-booster-2.25.13.tar.gz 13254481 BLAKE2B 34739007b1bc4a78c731816d6c2659276b93d0ecaf8d28e3c0e81169543b9234314a0b7279de8568f44c0fc87f20e857ead6e41e3799227eac8dc81ab601dd46 SHA512 634a554b6921594cd0f90618fbed15597362b1442e6c1dfb6b2aab8a80010243108b2d7411fde9e87577e60394172f6051ef36330d178eb28a030b58bb343240 DIST ibus-typing-booster-2.25.9.tar.gz 13241247 BLAKE2B 3ecd96e95f22022ce52ad2b1821faaeec45f6b5f50b4c6e1df67ee4f1908539090ac0668aa73180bb5a665ad60a8bd8c37a72aa776420ab28bdc59ece003fa21 SHA512 3427336e15199eb851178393c3568bc8b8dcbae35da0cb9d9ec14740db108d66483e7209d39449e370a55aa11ce1f8d179d6e0a5b1b00b3b17b85af77813eea1 diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.13.ebuild b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.13.ebuild new file mode 100644 index 0000000000000..97351b6920ac0 --- /dev/null +++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.25.13.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="sqlite(+)" + +inherit gnome2-utils python-single-r1 xdg + +DESCRIPTION="Completion input method for IBus" +HOMEPAGE="https://mike-fabian.github.io/ibus-typing-booster" +SRC_URI="https://github.com/mike-fabian/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + dev-libs/m17n-lib + $(python_gen_cond_dep ' + app-i18n/ibus[python(+),${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pyenchant[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + ')" +RDEPEND="${DEPEND} + >=dev-db/m17n-db-1.7" +BDEPEND="sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + default + + sed -i "s|/usr\(/bin/sh\)|\1|" {engine,setup}/*.in +} + +pkg_preinst() { + xdg_pkg_preinst + gnome2_schemas_savelist +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} From 4bb76de28fc8ee93bad04df71e84be21d02d1d04 Mon Sep 17 00:00:00 2001 From: gentoo-setan Date: Tue, 25 Jun 2024 20:55:58 +0200 Subject: [PATCH 04/12] net-p2p/nicotine+: drop 3.2.8 Signed-off-by: gentoo-setan Signed-off-by: Joonas Niilola --- net-p2p/nicotine+/Manifest | 1 - net-p2p/nicotine+/nicotine+-3.2.8.ebuild | 30 ------------------------ 2 files changed, 31 deletions(-) delete mode 100644 net-p2p/nicotine+/nicotine+-3.2.8.ebuild diff --git a/net-p2p/nicotine+/Manifest b/net-p2p/nicotine+/Manifest index a36e2fd2c7351..a625dbdec804d 100644 --- a/net-p2p/nicotine+/Manifest +++ b/net-p2p/nicotine+/Manifest @@ -1,3 +1,2 @@ -DIST nicotine+-3.2.8.tar.gz 2984416 BLAKE2B 8ca996e67a296535a158d1929579c4f479630bf4b666b53e91939fd61dcac90de657bfccd30521da9cc4468f3beecf1be433790ca711c67d0cf6d1e0a901be90 SHA512 92298b97ce34d713b0a4626602757a9215b57a0c3ac00c2845ff66597f0a361243f47c8abf3e8548f9f8c1829e56eb036e202242340bf268bf008b6ad6d016a5 DIST nicotine+-3.2.9.tar.gz 2985424 BLAKE2B 1768d9f13ee15593661997ac0ad49c6c2d3aead685f83b86ae0ca05615f5fda04ea3abd3137a595d8457ef9643c4fd77adb47a76417b90d6c876bf55c56c4b31 SHA512 bc828bf8e6b194b23df8c7cce900704b918b71669ff9e0cf17b2c954838e265cc074dcb54e0abbcf563b19f10cf3199cc1980771b57e0af613ef2eed2ee4a3a8 DIST nicotine+-3.3.4.tar.gz 3838006 BLAKE2B 09660558a1f07a4393cf272ef532c5fb15f1653008e73ec796c8bd16a177bdcb03c55fb3743d8d8e573ce9db2ac42d7fa0d92544a433007179ce00733c5a2381 SHA512 5dab8a1fe718cfd6b0a3e4645e025f42ccc4c86031f65741a3cbfb67e8abfb82cefeb7fc93f5037b9d5f5972ac034cc3ef5a2bac7ae9744533edc894e6e93ef4 diff --git a/net-p2p/nicotine+/nicotine+-3.2.8.ebuild b/net-p2p/nicotine+/nicotine+-3.2.8.ebuild deleted file mode 100644 index 7218a610b7931..0000000000000 --- a/net-p2p/nicotine+/nicotine+-3.2.8.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 xdg - -DESCRIPTION="A fork of nicotine, a Soulseek client in Python" -HOMEPAGE="https://github.com/Nicotine-Plus/nicotine-plus" -SRC_URI="https://github.com/Nicotine-Plus/nicotine-plus/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/nicotine-plus-${PV}" - -LICENSE="GPL-3 LGPL-3" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -RDEPEND="${PYTHON_DEPS} - dev-python/pygobject:3[${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] -" -DEPEND="${RDEPEND}" - -EPYTEST_IGNORE=( - "test/integration/test_startup.py" -) - -distutils_enable_tests pytest From 2f1afb322df431cf74bb0e37101f44f50f730b90 Mon Sep 17 00:00:00 2001 From: gentoo-setan Date: Tue, 25 Jun 2024 21:02:53 +0200 Subject: [PATCH 05/12] net-p2p/nicotine+ add changelog and log to metadata, remove lang tag Signed-off-by: gentoo-setan Closes: https://github.com/gentoo/gentoo/pull/37299 Signed-off-by: Joonas Niilola --- net-p2p/nicotine+/metadata.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net-p2p/nicotine+/metadata.xml b/net-p2p/nicotine+/metadata.xml index 883b9cfb161ee..5d22e1b1b4eb9 100644 --- a/net-p2p/nicotine+/metadata.xml +++ b/net-p2p/nicotine+/metadata.xml @@ -9,7 +9,7 @@ proxy-maint@gentoo.org Proxy Maintainers - + Nicotine+ is a FOSS client for the proprietary Soulseek file sharing network that is used mainly for sharing music. It acts as the improved version of the official client SoulseekQt. @@ -17,8 +17,10 @@ It is written in Python and has a GTK-based GUI. - Nicotine-Plus/nicotine-plus https://github.com/nicotine-plus/nicotine-plus/issues + https://github.com/nicotine-plus/nicotine-plus/releases + https://github.com/nicotine-plus/nicotine-plus/tree/master/doc + nicotine-plus/nicotine-plus From 60d7d211df3396af15e578f01a79474d7b5e76df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20R=C3=B6sner?= Date: Mon, 24 Jun 2024 17:44:23 +0200 Subject: [PATCH 06/12] dev-lang/mujs: add 1.3.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream changes: https://github.com/ccxvii/mujs/compare/1.3.4...1.3.5 Signed-off-by: Philipp Rösner Signed-off-by: Joonas Niilola --- dev-lang/mujs/Manifest | 1 + dev-lang/mujs/mujs-1.3.5.ebuild | 63 +++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 dev-lang/mujs/mujs-1.3.5.ebuild diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest index 86b6a2c9dd1aa..658e0eb41b679 100644 --- a/dev-lang/mujs/Manifest +++ b/dev-lang/mujs/Manifest @@ -1,2 +1,3 @@ DIST mujs-1.3.3.tar.gz 128097 BLAKE2B 9b880dc462af8945e647994f9a42cf121461c6b295538db6cef818919a7c2418ebe1df7d36f69214279ad2414d0ce7149a541a3533e766274624b9c44b733db9 SHA512 74288484185473a813c55e08dcc2fefba46f87651d3a1fcea6ac843bb09a4150e13e0d46b348a34380a0defdeaa388cc93b6f7f569a7886091a34b4951b9461b DIST mujs-1.3.4.tar.gz 128202 BLAKE2B d07942cce02dc71937ad0207887bcefce67916e19d01f134d68d3673bcc0649eb616a1fadc5a21ddbf372629f12e7c04be4652a31ba604359607e9e7233a8923 SHA512 0806684be5e6dc3cb7305355ab7c7babbfd3fd5bbd22515659a88a82c25f3f4b6af14f7ca07bacd154823b19110b749bba68311c9f317dd684e0fd5628ece573 +DIST mujs-1.3.5.tar.gz 128938 BLAKE2B f262a99abe572548b456fabf5820c810885b86e1034d37c3375e9f4f44ddbd536acddf3cc56f086460fc0128ebf339b9e4f810069569243b86fc4af94f03ccb6 SHA512 9ebe0d2926d2621110cb67e701c1cdd87883703d58c49dc08e366b20c93dbdbc2f56e59b710999373bd8aaaee75b2d35adb1dad6929795684a8fff6483d9df25 diff --git a/dev-lang/mujs/mujs-1.3.5.ebuild b/dev-lang/mujs/mujs-1.3.5.ebuild new file mode 100644 index 0000000000000..d60978857d661 --- /dev/null +++ b/dev-lang/mujs/mujs-1.3.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic multilib toolchain-funcs + +DESCRIPTION="An embeddable JavaScript interpreter written in C" +HOMEPAGE="https://mujs.com/ https://github.com/ccxvii/mujs" +SRC_URI="https://mujs.com/downloads/${P}.tar.gz" + +LICENSE="ISC" +# The subslot matches the SONAME +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" + +RDEPEND="sys-libs/readline:=" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.3-flags.patch +) + +src_prepare() { + default + + tc-export AR CC + + append-cflags -fPIC + + # The library's ABI (and API) might change in new releases + # Diff 'usr/include/mujs.h' across releases to validate + if [[ ${CHOST} == *-darwin* ]] ; then + append-cflags -Wl,-install_name,"${EPREFIX}"/usr/$(get_libdir)/lib${PN}.${PV}.dylib + else + append-cflags -Wl,-soname=lib${PN}.so.${PV} + fi +} + +src_compile() { + # We need to use ${PV} for the pkgconfig file, see: #784461 + emake \ + VERSION=${PV} \ + XCFLAGS="${CFLAGS}" \ + XLDFLAGS="${LDFLAGS}" \ + prefix=/usr \ + release +} + +src_install() { + emake \ + DESTDIR="${ED}" \ + VERSION=${PV} \ + libdir="/usr/$(get_libdir)" \ + prefix=/usr \ + install-shared + + mv -v "${ED}"/usr/$(get_libdir)/lib${PN}$(get_libname) \ + "${ED}"/usr/$(get_libdir)/lib${PN}$(get_libname ${PV}) \ + || die "Failed adding version suffix to mujs shared library" + dosym lib${PN}$(get_libname ${PV}) /usr/$(get_libdir)/lib${PN}$(get_libname) + dosym lib${PN}$(get_libname ${PV}) /usr/$(get_libdir)/lib${PN}$(get_libname ${PV:0:1}) +} From ea2532258adfc476e6c82494511da7ab9e6991e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20R=C3=B6sner?= Date: Mon, 24 Jun 2024 17:46:04 +0200 Subject: [PATCH 07/12] dev-lang/mujs: drop 1.3.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Philipp Rösner Closes: https://github.com/gentoo/gentoo/pull/37276 Signed-off-by: Joonas Niilola --- dev-lang/mujs/Manifest | 1 - dev-lang/mujs/mujs-1.3.3.ebuild | 61 --------------------------------- 2 files changed, 62 deletions(-) delete mode 100644 dev-lang/mujs/mujs-1.3.3.ebuild diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest index 658e0eb41b679..ff21b5c45da0d 100644 --- a/dev-lang/mujs/Manifest +++ b/dev-lang/mujs/Manifest @@ -1,3 +1,2 @@ -DIST mujs-1.3.3.tar.gz 128097 BLAKE2B 9b880dc462af8945e647994f9a42cf121461c6b295538db6cef818919a7c2418ebe1df7d36f69214279ad2414d0ce7149a541a3533e766274624b9c44b733db9 SHA512 74288484185473a813c55e08dcc2fefba46f87651d3a1fcea6ac843bb09a4150e13e0d46b348a34380a0defdeaa388cc93b6f7f569a7886091a34b4951b9461b DIST mujs-1.3.4.tar.gz 128202 BLAKE2B d07942cce02dc71937ad0207887bcefce67916e19d01f134d68d3673bcc0649eb616a1fadc5a21ddbf372629f12e7c04be4652a31ba604359607e9e7233a8923 SHA512 0806684be5e6dc3cb7305355ab7c7babbfd3fd5bbd22515659a88a82c25f3f4b6af14f7ca07bacd154823b19110b749bba68311c9f317dd684e0fd5628ece573 DIST mujs-1.3.5.tar.gz 128938 BLAKE2B f262a99abe572548b456fabf5820c810885b86e1034d37c3375e9f4f44ddbd536acddf3cc56f086460fc0128ebf339b9e4f810069569243b86fc4af94f03ccb6 SHA512 9ebe0d2926d2621110cb67e701c1cdd87883703d58c49dc08e366b20c93dbdbc2f56e59b710999373bd8aaaee75b2d35adb1dad6929795684a8fff6483d9df25 diff --git a/dev-lang/mujs/mujs-1.3.3.ebuild b/dev-lang/mujs/mujs-1.3.3.ebuild deleted file mode 100644 index 3f02a773e3e36..0000000000000 --- a/dev-lang/mujs/mujs-1.3.3.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic multilib toolchain-funcs - -DESCRIPTION="An embeddable JavaScript interpreter written in C" -HOMEPAGE="https://mujs.com/ https://github.com/ccxvii/mujs" -SRC_URI="https://mujs.com/downloads/${P}.tar.gz" - -LICENSE="ISC" -# The subslot matches the SONAME -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" - -RDEPEND="sys-libs/readline:=" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-flags.patch -) - -src_prepare() { - default - - tc-export AR CC - - append-cflags -fPIC - - # The library's ABI (and API) might change in new releases - # Diff 'usr/include/mujs.h' across releases to validate - if [[ ${CHOST} == *-darwin* ]] ; then - append-cflags -Wl,-install_name,"${EPREFIX}"/usr/$(get_libdir)/lib${PN}.${PV}.dylib - else - append-cflags -Wl,-soname=lib${PN}.so.${PV} - fi -} - -src_compile() { - # We need to use ${PV} for the pkgconfig file, see: #784461 - emake \ - VERSION=${PV} \ - XCFLAGS="${CFLAGS}" \ - XLDFLAGS="${LDFLAGS}" \ - prefix=/usr \ - release -} - -src_install() { - emake \ - DESTDIR="${ED}" \ - VERSION=${PV} \ - libdir="/usr/$(get_libdir)" \ - prefix=/usr \ - install-shared - - mv -v "${ED}"/usr/$(get_libdir)/lib${PN}$(get_libname) "${ED}"/usr/$(get_libdir)/lib${PN}$(get_libname ${PV}) || die "Failed adding version suffix to mujs shared library" - dosym lib${PN}$(get_libname ${PV}) /usr/$(get_libdir)/lib${PN}$(get_libname) - dosym lib${PN}$(get_libname ${PV}) /usr/$(get_libdir)/lib${PN}$(get_libname ${PV:0:1}) -} From d953c7514231d39335733c921649429a429a6288 Mon Sep 17 00:00:00 2001 From: NHOrus Date: Tue, 25 Jun 2024 12:47:24 +0400 Subject: [PATCH 08/12] dev-util/rocm-smi: Port to C99, Python 3.12 Ported upstream bug, tested that it works well with Python 3.12 both for versions 3.4.2 and 5.7.1, well enough (my APU is only partially supported and doesn't return much of interesting data) Revbumped just in case. Closes: https://bugs.gentoo.org/929551 Closes: https://bugs.gentoo.org/918709 Signed-off-by: NHOrus Signed-off-by: Joonas Niilola --- .../rocm-smi-5.4.2-fix-readonly-object.patch | 14 +++++ dev-util/rocm-smi/rocm-smi-5.4.2-r1.ebuild | 58 ++++++++++++++++++ dev-util/rocm-smi/rocm-smi-5.7.1-r3.ebuild | 61 +++++++++++++++++++ 3 files changed, 133 insertions(+) create mode 100644 dev-util/rocm-smi/files/rocm-smi-5.4.2-fix-readonly-object.patch create mode 100644 dev-util/rocm-smi/rocm-smi-5.4.2-r1.ebuild create mode 100644 dev-util/rocm-smi/rocm-smi-5.7.1-r3.ebuild diff --git a/dev-util/rocm-smi/files/rocm-smi-5.4.2-fix-readonly-object.patch b/dev-util/rocm-smi/files/rocm-smi-5.4.2-fix-readonly-object.patch new file mode 100644 index 0000000000000..914fd2f6b4260 --- /dev/null +++ b/dev-util/rocm-smi/files/rocm-smi-5.4.2-fix-readonly-object.patch @@ -0,0 +1,14 @@ +bug https://bugs.gentoo.org/918709 +patch from https://github.com/ROCm/rocm_smi_lib/issues/170#issuecomment-2130745220 +upstreamed in https://github.com/ROCm/rocm_smi_lib/commit/7fdc6e56c40ed6f02c888dcb1492944a9373ba74 +--- a/include/rocm_smi/rocm_smi_utils.h 2024-05-25 00:02:19.127412816 -0400 ++++ b/include/rocm_smi/rocm_smi_utils.h 2024-05-25 00:03:25.359416227 -0400 +@@ -149,7 +149,7 @@ + __forceinline ~ScopeGuard() { + if (!dismiss_) release_(); + } +- __forceinline ScopeGuard& operator=(const ScopeGuard& rhs) { ++ __forceinline ScopeGuard& operator=(ScopeGuard& rhs) { + dismiss_ = rhs.dismiss_; + release_ = rhs.release_; + rhs.dismiss_ = true; diff --git a/dev-util/rocm-smi/rocm-smi-5.4.2-r1.ebuild b/dev-util/rocm-smi/rocm-smi-5.4.2-r1.ebuild new file mode 100644 index 0000000000000..e77f370cd6787 --- /dev/null +++ b/dev-util/rocm-smi/rocm-smi-5.4.2-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) + +inherit cmake python-r1 + +DESCRIPTION="ROCm System Management Interface Library" +HOMEPAGE="https://github.com/RadeonOpenCompute/rocm_smi_lib" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib" + EGIT_BRANCH="master" +else + SRC_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib/archive/rocm-${PV}.tar.gz -> rocm-smi-${PV}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/rocm_smi_lib-rocm-${PV}" +fi + +LICENSE="MIT NCSA-AMD" +SLOT="0/$(ver_cut 1-2)" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="" +RDEPEND="${PYTHON_DEPS}" +BDEPEND="" + +PATCHES=( + "${FILESDIR}"/${PN}-5.0.2-gcc12-memcpy.patch + "${FILESDIR}"/${PN}-5.4.2-detect-builtin-amdgpu.patch + "${FILESDIR}"/${PN}-5.4.2-fix-readonly-object.patch +) + +src_prepare() { + sed -e "/LICENSE.txt/d" -i CMakeLists.txt || die + sed -e "/^path_librocm = /c\path_librocm = '${EPREFIX}/usr/lib64/librocm_smi64.so'" \ + -i python_smi_tools/rsmiBindings.py || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=ON + -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + python_foreach_impl python_newscript python_smi_tools/rocm_smi.py rocm-smi + python_foreach_impl python_domodule python_smi_tools/rsmiBindings.py +} diff --git a/dev-util/rocm-smi/rocm-smi-5.7.1-r3.ebuild b/dev-util/rocm-smi/rocm-smi-5.7.1-r3.ebuild new file mode 100644 index 0000000000000..9d1d975d0e843 --- /dev/null +++ b/dev-util/rocm-smi/rocm-smi-5.7.1-r3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake python-r1 + +DESCRIPTION="ROCm System Management Interface Library" +HOMEPAGE="https://github.com/RadeonOpenCompute/rocm_smi_lib" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib" + EGIT_BRANCH="master" +else + SRC_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib/archive/rocm-${PV}.tar.gz -> rocm-smi-${PV}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/rocm_smi_lib-rocm-${PV}" +fi + +LICENSE="MIT NCSA-AMD" +SLOT="0/$(ver_cut 1-2)" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" + +S="${WORKDIR}/rocm_smi_lib-rocm-${PV}" + +PATCHES=( + "${FILESDIR}"/${PN}-5.7.1-set-soversion.patch + "${FILESDIR}"/${PN}-5.7.1-no-strip.patch + "${FILESDIR}"/${PN}-5.7.1-remove-example.patch + "${FILESDIR}"/${PN}-5.4.2-detect-builtin-amdgpu.patch + "${FILESDIR}"/${PN}-5.4.2-fix-readonly-object.patch +) + +src_prepare() { + cmake_src_prepare + + sed "s/\${PKG_VERSION_STR}/${PV}/" -i CMakeLists.txt || die + sed -e "s/@VERSION_MAJOR@/$(ver_cut 1)/ ; s/@VERSION_MINOR@/$(ver_cut 2)/" \ + -i oam/CMakeLists.txt -i rocm_smi/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + python_foreach_impl python_newscript python_smi_tools/rocm_smi.py rocm-smi + python_foreach_impl python_domodule python_smi_tools/rsmiBindings.py + + mv "${ED}"/usr/share/doc/rocm_smi "${ED}"/usr/share/doc/${PF} || die +} From 697769136ef3a93a24d98c3f179c74e9c6e48ef5 Mon Sep 17 00:00:00 2001 From: NHOrus Date: Tue, 25 Jun 2024 12:52:46 +0400 Subject: [PATCH 09/12] dev-util/rocm-smi: drop 5.1.3-r1, 5.4.2 Signed-off-by: NHOrus Signed-off-by: Joonas Niilola --- dev-util/rocm-smi/Manifest | 1 - dev-util/rocm-smi/rocm-smi-5.1.3-r1.ebuild | 62 ---------------------- dev-util/rocm-smi/rocm-smi-5.4.2.ebuild | 57 -------------------- 3 files changed, 120 deletions(-) delete mode 100644 dev-util/rocm-smi/rocm-smi-5.1.3-r1.ebuild delete mode 100644 dev-util/rocm-smi/rocm-smi-5.4.2.ebuild diff --git a/dev-util/rocm-smi/Manifest b/dev-util/rocm-smi/Manifest index 13768c7c3df60..e559d20e58764 100644 --- a/dev-util/rocm-smi/Manifest +++ b/dev-util/rocm-smi/Manifest @@ -1,4 +1,3 @@ -DIST rocm-smi-5.1.3.tar.gz 1701386 BLAKE2B c5e779f5c33fec0b1b39b09c758dfadd3c24e28f15381593f2959e5c2fb9f49af3a7ca1f9ab7d6bf34c5af4fbe3f0c0ae20c6c049cbf9421a9184735bb4a64a2 SHA512 7bf7af2b42a035c298c2f9009b6123671af41f9ca1a50607cfa362f39dbd82ff88f8c13ece6c4edab585edadd9072ed096a400dd3850851e1beef3633a8eb14e DIST rocm-smi-5.4.2.tar.gz 1553259 BLAKE2B 0560e115028caafb1d5dd8892cfa677431b792714ecd8c75f31451fa7685d1c7070cbd687c894d7eefd112de5e2df9aa7895aa57821db207dffc4e8890898638 SHA512 0fd651593df0ebbcb2c2327d030d2674efacdb6e883daa5a8adf733db2bde3e5d16dc304856221f4bb07a3cd834944ffcc7ebd689624f7ba24ffd6c262ba74b8 DIST rocm-smi-5.7.1.tar.gz 801646 BLAKE2B b4799bbdaeb7203c16117cd30511d589a2b96e15801bb9f1382fe7a4d87d43e1d4b458d6923b6ebd602fdccba74bd65bcb98766dbd83c48fc3e02219be8c1022 SHA512 ad364278f137228a39108c93d482635137ea2724a5a39debb5b32329493ebf5c706dcf3863e2e24b6f0b6286f3877942277f5ae447446f155518972b957f7d9d DIST rocm-smi-6.1.1.tar.gz 872628 BLAKE2B 35830fd0eb36688b3803bed2059f29ba4d8613112ae4cfff2e0a3b1d7afef9f0d77ec16771e2205ba351df0aa678c3b0d2436940b76d10d020f1a30d14d760e9 SHA512 3e31ff0d94e7f0ea650c985973b27107e3f7293b92857fbf2fe196b61632c530e95c3228ad7550d44f8ee9f5f1abfd17e5c2b19164759728fb6d4b0995455fa7 diff --git a/dev-util/rocm-smi/rocm-smi-5.1.3-r1.ebuild b/dev-util/rocm-smi/rocm-smi-5.1.3-r1.ebuild deleted file mode 100644 index 71783873843ad..0000000000000 --- a/dev-util/rocm-smi/rocm-smi-5.1.3-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake python-r1 - -DESCRIPTION="ROCm System Management Interface Library" -HOMEPAGE="https://github.com/RadeonOpenCompute/rocm_smi_lib" - -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib" - EGIT_BRANCH="master" -else - SRC_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib/archive/rocm-${PV}.tar.gz -> rocm-smi-${PV}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/rocm_smi_lib-rocm-${PV}" -fi - -LICENSE="MIT NCSA-AMD" -SLOT="0/$(ver_cut 1-2)" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="" -RDEPEND="${PYTHON_DEPS}" -BDEPEND="" - -PATCHES=( - "${FILESDIR}"/${PN}-5.0.2-gcc12-memcpy.patch - "${FILESDIR}"/${PN}-5.1.3-detect-builtin-amdgpu.patch -) - -src_prepare() { - sed -e "/DESTINATION/s,\${OAM_NAME}/lib,$(get_libdir)," \ - -e "/DESTINATION/s,oam/include/oam,include/oam," -i oam/CMakeLists.txt || die - sed -e "/link DESTINATION/,+1d" \ - -e "/DESTINATION/s,\${ROCM_SMI}/lib,$(get_libdir)," \ - -e "/bindings_link/,+3d" \ - -e "/rsmiBindings.py/,+1d" \ - -e "/DESTINATION/s,rocm_smi/include/rocm_smi,include/rocm_smi," -i rocm_smi/CMakeLists.txt || die - sed -e "/LICENSE.txt/d" -e "s,\${ROCM_SMI}/lib/cmake,$(get_libdir)/cmake,g" -i CMakeLists.txt || die - sed -e "/^path_librocm = /c\path_librocm = '${EPREFIX}/usr/lib64/librocm_smi64.so'" -i python_smi_tools/rsmiBindings.py || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=ON - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - python_foreach_impl python_newscript python_smi_tools/rocm_smi.py rocm-smi - python_foreach_impl python_domodule python_smi_tools/rsmiBindings.py -} diff --git a/dev-util/rocm-smi/rocm-smi-5.4.2.ebuild b/dev-util/rocm-smi/rocm-smi-5.4.2.ebuild deleted file mode 100644 index bc4f8b8023715..0000000000000 --- a/dev-util/rocm-smi/rocm-smi-5.4.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake python-r1 - -DESCRIPTION="ROCm System Management Interface Library" -HOMEPAGE="https://github.com/RadeonOpenCompute/rocm_smi_lib" - -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib" - EGIT_BRANCH="master" -else - SRC_URI="https://github.com/RadeonOpenCompute/rocm_smi_lib/archive/rocm-${PV}.tar.gz -> rocm-smi-${PV}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/rocm_smi_lib-rocm-${PV}" -fi - -LICENSE="MIT NCSA-AMD" -SLOT="0/$(ver_cut 1-2)" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="" -RDEPEND="${PYTHON_DEPS}" -BDEPEND="" - -PATCHES=( - "${FILESDIR}"/${PN}-5.0.2-gcc12-memcpy.patch - "${FILESDIR}"/${PN}-5.4.2-detect-builtin-amdgpu.patch -) - -src_prepare() { - sed -e "/LICENSE.txt/d" -i CMakeLists.txt || die - sed -e "/^path_librocm = /c\path_librocm = '${EPREFIX}/usr/lib64/librocm_smi64.so'" \ - -i python_smi_tools/rsmiBindings.py || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=ON - -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - python_foreach_impl python_newscript python_smi_tools/rocm_smi.py rocm-smi - python_foreach_impl python_domodule python_smi_tools/rsmiBindings.py -} From 7fe00708844e1eb3e21a415ba3aaff48abc716c9 Mon Sep 17 00:00:00 2001 From: NHOrus Date: Tue, 25 Jun 2024 15:16:22 +0400 Subject: [PATCH 10/12] dev-libs/rccl: drop 5.1.3 This package is only revdep of dropped rocm-smi, and it's obsolete with new-er version in the tree and this one having way too many bugs that no one will ever fix Closes: https://bugs.gentoo.org/915856 Closes: https://bugs.gentoo.org/914274 Closes: https://bugs.gentoo.org/903965 Closes: https://bugs.gentoo.org/893472 Closes: https://bugs.gentoo.org/872311 Closes: https://bugs.gentoo.org/766848 Signed-off-by: NHOrus Closes: https://github.com/gentoo/gentoo/pull/37289 Signed-off-by: Joonas Niilola --- dev-libs/rccl/Manifest | 1 - .../rccl-5.0.2-change_install_location.patch | 31 ----------- .../files/rccl-5.1.3-remove-chrpath.patch | 32 ------------ dev-libs/rccl/rccl-5.1.3.ebuild | 51 ------------------- 4 files changed, 115 deletions(-) delete mode 100644 dev-libs/rccl/files/rccl-5.0.2-change_install_location.patch delete mode 100644 dev-libs/rccl/files/rccl-5.1.3-remove-chrpath.patch delete mode 100644 dev-libs/rccl/rccl-5.1.3.ebuild diff --git a/dev-libs/rccl/Manifest b/dev-libs/rccl/Manifest index 3150ae9e3339f..8ce9b421344b8 100644 --- a/dev-libs/rccl/Manifest +++ b/dev-libs/rccl/Manifest @@ -1,3 +1,2 @@ -DIST rccl-5.1.3.tar.gz 908274 BLAKE2B 46bff7b6e3d60d5884ccd7e19c54b2f47f90a337a8fdc6dca1a3cfee147e3652e1f912642cc134d4a82bf8daabd9f1391edff139d0517ab1078bd3d9650481d7 SHA512 20deb27c7ef3e6b6b73409950ac0d51286b4634f7002ce36a9a02cdd1d5b1f2db51f6decf773af83364c94f58cc96837da25299f5f5494fc15d8559a1b3c7fcc DIST rccl-5.7.1.tar.gz 1425561 BLAKE2B 852c111ad806d5c99f48b3c65c8cf37315c68b969f9544bfa14c1faf1d5557edcc57cdc21705ced6ded4a0288d42b1076e65fb67b3f89b4fa78cfba9d317b23e SHA512 5913b8ff67fa787714713b7d5b571374898be740d56c77db9f04fe7a3e6ca74023fa930a3494d8a6f984ac9e68ee318343835e110049d08700fe773376618af4 DIST rccl-6.1.1.tar.gz 1679144 BLAKE2B 371d64691dc74f875c49e14df8f3f2d8b9c607376e6c5a889bd2bdb50607e88715d6d75ffed4ba3184a5b9b241cb37b8501e927a5f495632212909e410102490 SHA512 6c6376dd822182bcf28f573c0f3b5c7e52f94f4b670ee7c88519232f51b443d52cd37cbe6c41b5b6e9cb0b93c1124246a989f6e6a2ae74935134135585118002 diff --git a/dev-libs/rccl/files/rccl-5.0.2-change_install_location.patch b/dev-libs/rccl/files/rccl-5.0.2-change_install_location.patch deleted file mode 100644 index 11e3fea312de0..0000000000000 --- a/dev-libs/rccl/files/rccl-5.0.2-change_install_location.patch +++ /dev/null @@ -1,31 +0,0 @@ -Index: rccl-rocm-5.0.2/CMakeLists.txt -=================================================================== ---- rccl-rocm-5.0.2.orig/CMakeLists.txt -+++ rccl-rocm-5.0.2/CMakeLists.txt -@@ -268,16 +268,12 @@ target_link_libraries(rccl INTERFACE hip - rocm_set_soversion(rccl "1.0") - - rocm_install_targets(TARGETS -- rccl -- PREFIX - rccl) - rocm_install(FILES ${PROJECT_BINARY_DIR}/rccl.h -- DESTINATION rccl/${CMAKE_INSTALL_INCLUDEDIR}) -+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - - rocm_export_targets(NAMESPACE - roc:: -- PREFIX -- rccl - TARGETS - rccl - DEPENDS -@@ -329,8 +325,6 @@ rocm_create_package( - "RCCL Maintainer " - LDCONFIG) - --rocm_install_symlink_subdir(rccl) -- - if(BUILD_TESTS) - add_subdirectory(test) - endif() diff --git a/dev-libs/rccl/files/rccl-5.1.3-remove-chrpath.patch b/dev-libs/rccl/files/rccl-5.1.3-remove-chrpath.patch deleted file mode 100644 index 26bad572c7d8d..0000000000000 --- a/dev-libs/rccl/files/rccl-5.1.3-remove-chrpath.patch +++ /dev/null @@ -1,32 +0,0 @@ -Manually chrpath not needed in CMakeLists since CMAKE_SKIP_RPATH=On -So chrpath dependency is not needed -=================================================================== ---- rccl-rocm-5.1.3.orig/test/CMakeLists.txt -+++ rccl-rocm-5.1.3/test/CMakeLists.txt -@@ -5,11 +5,6 @@ if(BUILD_TESTS) - - message("Going to build unit tests (Installed in /test/UnitTests)") - -- find_program(CHRPATH chrpath) -- if(NOT CHRPATH) -- message(FATAL_ERROR "chrpath is required for UnitTests. Please install (e.g. sudo apt-get install chrpath)") -- endif() -- - include_directories(${GTEST_INCLUDE_DIRS}) - - if(BUILD_ALLREDUCE_ONLY) -@@ -88,14 +83,6 @@ if(BUILD_TESTS) - # HIPCC adds /opt/rocm/lib as RPATH, even though the install process is supposed to - # remove RPATH. It also occurs before any user-specified rpath, which effectively overrides the user rpath. - # As a work-around, set the correct RPATH for the unit test executable as a post-install step -- if (CMAKE_INSTALL_PREFIX MATCHES "${ROCM_PATH}") -- # install_prefix/CMAKE_INSTALL_PREFIX was not explicitly specified, so look in build/release -- add_custom_command( TARGET UnitTests POST_BUILD COMMAND chrpath ARGS -r ${CMAKE_BINARY_DIR}:${ROCM_PATH}/lib ${CMAKE_BINARY_DIR}/test/UnitTests) -- add_custom_command( TARGET UnitTestsMultiProcess POST_BUILD COMMAND chrpath ARGS -r ${CMAKE_BINARY_DIR}:${ROCM_PATH}/lib ${CMAKE_BINARY_DIR}/test/UnitTestsMultiProcess) -- else() -- add_custom_command( TARGET UnitTests POST_BUILD COMMAND chrpath ARGS -r ${CMAKE_INSTALL_PREFIX}/lib:${ROCM_PATH}/lib ${CMAKE_INSTALL_PREFIX}/test/UnitTests) -- add_custom_command( TARGET UnitTestsMultiProcess POST_BUILD COMMAND chrpath ARGS -r ${CMAKE_INSTALL_PREFIX}/lib:${ROCM_PATH}/lib ${CMAKE_INSTALL_PREFIX}/test/UnitTestsMultiProcess) -- endif() - else() - message("Not building unit tests") - endif() diff --git a/dev-libs/rccl/rccl-5.1.3.ebuild b/dev-libs/rccl/rccl-5.1.3.ebuild deleted file mode 100644 index 92092f7946cf5..0000000000000 --- a/dev-libs/rccl/rccl-5.1.3.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo rocm - -DESCRIPTION="ROCm Communication Collectives Library (RCCL)" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rccl" -SRC_URI="https://github.com/ROCmSoftwarePlatform/rccl/archive/rocm-${PV}.tar.gz -> rccl-${PV}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" -IUSE="test" - -RDEPEND="dev-util/hip -dev-util/rocm-smi:${SLOT}" -DEPEND="${RDEPEND}" -BDEPEND=">=dev-build/cmake-3.22 - >=dev-build/rocm-cmake-5.0.2-r1 - test? ( dev-cpp/gtest )" - -RESTRICT="!test? ( test )" -S="${WORKDIR}/rccl-rocm-${PV}" - -PATCHES=( - "${FILESDIR}/${PN}-5.0.2-change_install_location.patch" - "${FILESDIR}/${PN}-5.1.3-remove-chrpath.patch" -) - -src_configure() { - addpredict /dev/kfd - addpredict /dev/dri/ - - local mycmakeargs=( - -DSKIP_RPATH=On - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_TESTS=$(usex test ON OFF) - -Wno-dev - ) - - CXX=hipcc cmake_src_configure -} - -src_test() { - check_amdgpu - LD_LIBRARY_PATH="${BUILD_DIR}" edob test/UnitTests -} From 6c4d4c78d2965670dc4b3f4c3b174c96b929a968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20M=C3=B3zes?= Date: Wed, 26 Jun 2024 17:18:54 +0000 Subject: [PATCH 11/12] www-apache/modsecurity-crs: add 4.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomáš Mózes Signed-off-by: Joonas Niilola --- www-apache/modsecurity-crs/Manifest | 1 + .../modsecurity-crs-4.4.0.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 www-apache/modsecurity-crs/modsecurity-crs-4.4.0.ebuild diff --git a/www-apache/modsecurity-crs/Manifest b/www-apache/modsecurity-crs/Manifest index 9235054778d56..bf38e67426cc4 100644 --- a/www-apache/modsecurity-crs/Manifest +++ b/www-apache/modsecurity-crs/Manifest @@ -1,3 +1,4 @@ DIST modsecurity-crs-3.3.5.tar.gz 299458 BLAKE2B b8617de77cf5168c7b95fab46eae45e2101b4ec7a537d8d471b9b1b27a856b1d370a9de43ee262c07dc9371b3ff79cd86b7328b171fde003da9110897206e91e SHA512 001f9afe25f479dd988aaec1a4a2c0197b2d27e00d2cd10b70892e4889b399259cd0655f42a96965ae655855abdb7f9d8295c225ae17bf1e47361b70232633e5 DIST modsecurity-crs-4.0.0.tar.gz 504720 BLAKE2B e6da0268ae9209179d1f6cefba34e097b614dd4659a4b4df2ef3e6a0b32be7be9d825beaf6d8ca1fbef0dd27217b4707090844e59eaa817111be4a6f8333e205 SHA512 c25bfd6de772815977783e78d7afd388d60bbba151762a38c7050fd5ecde6a48baa0a850028a24d42855ae4a788404ad1ee0f7a4ad2d94d53a46e261a00f7224 DIST modsecurity-crs-4.2.0.tar.gz 511240 BLAKE2B f33d1a2bfac809e08ce5480af68b2380b19ea33f4d1409dd79d2117e451631df5b73ba2ccbc6eae2757df3b092c9439bfe79b49658d76fda1a1237f204317080 SHA512 041556b2071385c10a4b4a29ad4f926ee86f819f8b9c95f849e76b3d2724d5fc29c21a69f9eba6fd62e7f5709a109a95feca67a19d8c8d1f0410ee2987ac7a6b +DIST modsecurity-crs-4.4.0.tar.gz 510998 BLAKE2B 770a392836fbe29b69d0aa0b487bd7798cc618d1a5923d169a04bcac52b3add6dee8d5777e97e9b3afb3776bc442fb004e02c0c27becb07df62f2fa289d70be9 SHA512 a196a922c5456a2f025f43f8c0b5e3905eed8b3586c54d7b7771c386e5226d8dc6fce2b0bc05d69b389b07d5935bf8abbfb0a524e8ef856a433e9e4aed4b448d diff --git a/www-apache/modsecurity-crs/modsecurity-crs-4.4.0.ebuild b/www-apache/modsecurity-crs/modsecurity-crs-4.4.0.ebuild new file mode 100644 index 0000000000000..1a0a134d30464 --- /dev/null +++ b/www-apache/modsecurity-crs/modsecurity-crs-4.4.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +MY_PV=${PV/_/-} + +DESCRIPTION="OWASP ModSecurity Core Rule Set" +HOMEPAGE="https://coreruleset.org/" +SRC_URI="https://github.com/coreruleset/coreruleset/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/coreruleset-${MY_PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+apache2" + +RDEPEND="apache2? ( >=www-apache/mod_security-2.9.6 )" + +DOCS=( CHANGES.md CONTRIBUTORS.md crs-setup.conf.example KNOWN_BUGS.md README.md ) + +src_install() { + insinto "/usr/share/${PN}" + doins -r plugins rules + + einstalldocs + + if use apache2; then + # I don't think it's worth pulling in apache-module.eclass just for + # this path... + insinto /etc/apache2/modules.d + doins "${FILESDIR}/80_mod_security-crs.conf" + fi +} + +pkg_postinst() { + if use apache2; then + einfo "The CRS configuration file has been installed to:" + einfo " ${ROOT}/etc/apache2/modules.d/80_mod_security-crs.conf" + fi + + optfeature "apache-less installations, e.g. nginx" dev-libs/modsecurity +} From 20c47783942c42dd292072c0d4342837b0bfae3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20M=C3=B3zes?= Date: Wed, 26 Jun 2024 17:22:14 +0000 Subject: [PATCH 12/12] www-apache/modsecurity-crs: drop 4.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomáš Mózes Closes: https://github.com/gentoo/gentoo/pull/37051 Signed-off-by: Joonas Niilola --- www-apache/modsecurity-crs/Manifest | 1 - .../modsecurity-crs-4.2.0.ebuild | 45 ------------------- 2 files changed, 46 deletions(-) delete mode 100644 www-apache/modsecurity-crs/modsecurity-crs-4.2.0.ebuild diff --git a/www-apache/modsecurity-crs/Manifest b/www-apache/modsecurity-crs/Manifest index bf38e67426cc4..f5e40040a6317 100644 --- a/www-apache/modsecurity-crs/Manifest +++ b/www-apache/modsecurity-crs/Manifest @@ -1,4 +1,3 @@ DIST modsecurity-crs-3.3.5.tar.gz 299458 BLAKE2B b8617de77cf5168c7b95fab46eae45e2101b4ec7a537d8d471b9b1b27a856b1d370a9de43ee262c07dc9371b3ff79cd86b7328b171fde003da9110897206e91e SHA512 001f9afe25f479dd988aaec1a4a2c0197b2d27e00d2cd10b70892e4889b399259cd0655f42a96965ae655855abdb7f9d8295c225ae17bf1e47361b70232633e5 DIST modsecurity-crs-4.0.0.tar.gz 504720 BLAKE2B e6da0268ae9209179d1f6cefba34e097b614dd4659a4b4df2ef3e6a0b32be7be9d825beaf6d8ca1fbef0dd27217b4707090844e59eaa817111be4a6f8333e205 SHA512 c25bfd6de772815977783e78d7afd388d60bbba151762a38c7050fd5ecde6a48baa0a850028a24d42855ae4a788404ad1ee0f7a4ad2d94d53a46e261a00f7224 -DIST modsecurity-crs-4.2.0.tar.gz 511240 BLAKE2B f33d1a2bfac809e08ce5480af68b2380b19ea33f4d1409dd79d2117e451631df5b73ba2ccbc6eae2757df3b092c9439bfe79b49658d76fda1a1237f204317080 SHA512 041556b2071385c10a4b4a29ad4f926ee86f819f8b9c95f849e76b3d2724d5fc29c21a69f9eba6fd62e7f5709a109a95feca67a19d8c8d1f0410ee2987ac7a6b DIST modsecurity-crs-4.4.0.tar.gz 510998 BLAKE2B 770a392836fbe29b69d0aa0b487bd7798cc618d1a5923d169a04bcac52b3add6dee8d5777e97e9b3afb3776bc442fb004e02c0c27becb07df62f2fa289d70be9 SHA512 a196a922c5456a2f025f43f8c0b5e3905eed8b3586c54d7b7771c386e5226d8dc6fce2b0bc05d69b389b07d5935bf8abbfb0a524e8ef856a433e9e4aed4b448d diff --git a/www-apache/modsecurity-crs/modsecurity-crs-4.2.0.ebuild b/www-apache/modsecurity-crs/modsecurity-crs-4.2.0.ebuild deleted file mode 100644 index 1a0a134d30464..0000000000000 --- a/www-apache/modsecurity-crs/modsecurity-crs-4.2.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit optfeature - -MY_PV=${PV/_/-} - -DESCRIPTION="OWASP ModSecurity Core Rule Set" -HOMEPAGE="https://coreruleset.org/" -SRC_URI="https://github.com/coreruleset/coreruleset/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/coreruleset-${MY_PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+apache2" - -RDEPEND="apache2? ( >=www-apache/mod_security-2.9.6 )" - -DOCS=( CHANGES.md CONTRIBUTORS.md crs-setup.conf.example KNOWN_BUGS.md README.md ) - -src_install() { - insinto "/usr/share/${PN}" - doins -r plugins rules - - einstalldocs - - if use apache2; then - # I don't think it's worth pulling in apache-module.eclass just for - # this path... - insinto /etc/apache2/modules.d - doins "${FILESDIR}/80_mod_security-crs.conf" - fi -} - -pkg_postinst() { - if use apache2; then - einfo "The CRS configuration file has been installed to:" - einfo " ${ROOT}/etc/apache2/modules.d/80_mod_security-crs.conf" - fi - - optfeature "apache-less installations, e.g. nginx" dev-libs/modsecurity -}