diff options
Diffstat (limited to 'dev-util')
21 files changed, 755 insertions, 134 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 4f0c249a760f..2cf15e2fdf82 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/android-udev-rules/Manifest b/dev-util/android-udev-rules/Manifest index f0ace46c866b..0c2ee82e9be0 100644 --- a/dev-util/android-udev-rules/Manifest +++ b/dev-util/android-udev-rules/Manifest @@ -4,6 +4,6 @@ DIST android-udev-rules-20241019.tar.gz 25029 BLAKE2B 3e556bfd121a1f413281beec32 DIST android-udev-rules-20241109.tar.gz 25066 BLAKE2B f4e6aae124d84752cb22365a1362a1865fee98bab45e2726e0c1c586f71aa17fe9e68277b8b38d65bcc1fa5b6a468ce03f6cdb318c5f9b414328cef7a21f4f43 SHA512 93df449cb5fe4f2058f385e9de40559da9ae0cde0cf18aed3c5690c7393027c60b0e6d31a4963449271888b3780fbdfdfcf609a23732194411d90ace744ac556 EBUILD android-udev-rules-20240625.ebuild 766 BLAKE2B 528a426105ae536d5b3b40740c33bf9841f3adb9da37c3889f935c9c6776cbd141c1760ccf0b7b3d0c764dd18b157e2048ecb9bf4d08849f897e4b01b39a38a3 SHA512 cfa90ae659bfbfdc9ae18dbfa1ca6fba43f89ce4c1a9b492b77603306ec8dca6cef3e05666954bc044c68e28f40b27a808fac22b929475d98a5b9b55f070cb50 EBUILD android-udev-rules-20240829.ebuild 766 BLAKE2B 528a426105ae536d5b3b40740c33bf9841f3adb9da37c3889f935c9c6776cbd141c1760ccf0b7b3d0c764dd18b157e2048ecb9bf4d08849f897e4b01b39a38a3 SHA512 cfa90ae659bfbfdc9ae18dbfa1ca6fba43f89ce4c1a9b492b77603306ec8dca6cef3e05666954bc044c68e28f40b27a808fac22b929475d98a5b9b55f070cb50 -EBUILD android-udev-rules-20241019.ebuild 769 BLAKE2B 0b07aa117be352ca786d93e9206b07e49257804e2f667402297f29cae654fd5c8434fcef2a512324db2a612649d7783ebc563eda4e53f405ce03cf5a646105d3 SHA512 69f3103464df10a403d04799c7bd24bcc37a40130814edd531849d0a359e3cd0243a0e63fbd6270d99591b8532008feee3727b4b5f2b2a737a52eb5a79d2e889 +EBUILD android-udev-rules-20241019.ebuild 766 BLAKE2B 528a426105ae536d5b3b40740c33bf9841f3adb9da37c3889f935c9c6776cbd141c1760ccf0b7b3d0c764dd18b157e2048ecb9bf4d08849f897e4b01b39a38a3 SHA512 cfa90ae659bfbfdc9ae18dbfa1ca6fba43f89ce4c1a9b492b77603306ec8dca6cef3e05666954bc044c68e28f40b27a808fac22b929475d98a5b9b55f070cb50 EBUILD android-udev-rules-20241109.ebuild 769 BLAKE2B 0b07aa117be352ca786d93e9206b07e49257804e2f667402297f29cae654fd5c8434fcef2a512324db2a612649d7783ebc563eda4e53f405ce03cf5a646105d3 SHA512 69f3103464df10a403d04799c7bd24bcc37a40130814edd531849d0a359e3cd0243a0e63fbd6270d99591b8532008feee3727b4b5f2b2a737a52eb5a79d2e889 MISC metadata.xml 513 BLAKE2B 6c3d6dc38ce42493d7d8a6705b506fd30f47705a51b07530f89fb31b55f3ee304c6af720c068c54090837df5f82043320af9fe165c92afefc5678c16765208e7 SHA512 dc0379358009a9e2548571034a3dbca2f1a446877452c81ef9ed6f07c7f6633af77693c505e3336e9ac87746f4f2e395c29deba9d119a0c41a91a322d180e19d diff --git a/dev-util/android-udev-rules/android-udev-rules-20241019.ebuild b/dev-util/android-udev-rules/android-udev-rules-20241019.ebuild index b566bb91970c..1bfb0238bf5f 100644 --- a/dev-util/android-udev-rules/android-udev-rules-20241019.ebuild +++ b/dev-util/android-udev-rules/android-udev-rules-20241019.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/M0Rf30/android-udev-rules/archive/refs/tags/${PV}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 x86" # No tests RESTRICT="test" diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest index 89566859aa97..484ee7e359ea 100644 --- a/dev-util/conan/Manifest +++ b/dev-util/conan/Manifest @@ -1,7 +1,9 @@ +DIST conan-2.10.1.gh.tar.gz 1172069 BLAKE2B c239866be7e30defbd787c93fa36d0b629f6f5338975a66d1c824d4038dfb529c97b35e02b74c2c753ce5466f1288e4f4b5ce63cfc5b47ab76e770cecd09fea3 SHA512 223da4ff12d899b39f4c62a4f51b65036acdb6fd8bbf061bdcf790210a38030060cc4a70f009b390fce27fd1f57666286a020cc73c23792aedcd0620bc6ee066 DIST conan-2.5.0.gh.tar.gz 1105167 BLAKE2B 2a4a3aba324b3aee968dde721e3659470912ce82eada0c9ffc37c4ff0b4c4b78b2927e3e9cde1f52b1104a3f3e8e32b3d7450643a83c14958c035051a63386a1 SHA512 685cafd0d1ba179d84b7e0e37d0ca5ce95e320e025132e62f3a128a68b085eabeff47bbc0b129d5b8cee17f2955014cb4073b7e648d9f9ccf56c1ee377625e18 DIST conan-2.6.0.gh.tar.gz 1108424 BLAKE2B d9883900e4c09c2332bc6c3a186c2e010cde237d2b20249317ffaee3bfb182620acac7ab40303fd00810d6420a9676155d09693c89fe5c8a8917144ed654bcac SHA512 7deb8498d992fdebacd8ce8bc77e63089c9389200f010f0e099c73beb22c524c2d288ae643cdddc0cb3ec8494c1f7365fa834ec159c015063cc6fa936e6eb312 DIST conan-2.7.1.gh.tar.gz 1125150 BLAKE2B 2ca8279187fd190f391c7c0aa0dea8f449e95b6e05d367b8e0e3bb0b771957fc293f1b07cc25c1b1534bb309cb4bb07f86f26d6a138532abe852102b2df2e68b SHA512 d1ea9393067aeb4492fb588bd5d7084dfa82e2ae3a649a6492041bb479556f6748aa7b1b67dad0b5a671406ce7ff99db402b465b39e165b75240615675cf6a1d DIST conan-2.9.3.gh.tar.gz 1154838 BLAKE2B 3993b3e94e8c4f23a685d0592b0d07fe050e402bbf714f900e6c5fb37d12db5e853088b0c557033251e22a3bf233781a16aca3314002750b526b3cefdc9310db SHA512 4a59a8f7966679ccb3096b2c01100e5e2cdee2a8b46a2a3211cbb9f226ac55a7deaf23ba32f4bb41af2582a0c1de7edbc783689da0003f686f6785fc9adcb62d +EBUILD conan-2.10.1.ebuild 1415 BLAKE2B cec213d876208a35c675b26e175af00ab2c1bc799049bdea5595fe0a3661894e0b3e16a747e78c97897bbd6b2b12c11c0e4c8d72bafb36c79673d4650ea2062b SHA512 52aa9c405d2e62ae409ea2e824c58e3f767d1f8db2640386608c51b2035c52cc9dddda2e65fdda021dc46c934c53abacfb2503f18aa1bd21fb8f17584e381871 EBUILD conan-2.5.0.ebuild 1415 BLAKE2B 9c77fd4fc547e10b9522dc2699df869ad6f7a35f8bcc523984539ae0a736873193905696d7fd63d556444f675adeeef2f1a2d13bfa59af8137f834740fa4926f SHA512 abf30cb90fb2948065cbff1f20274d5b0b529e484b22d22ea9753cc3d9c4e77eff12861711dc68dcd0caf89fdb3e9b0826374bdf709dc83a33e3e176f42b728f EBUILD conan-2.6.0.ebuild 1415 BLAKE2B 9c77fd4fc547e10b9522dc2699df869ad6f7a35f8bcc523984539ae0a736873193905696d7fd63d556444f675adeeef2f1a2d13bfa59af8137f834740fa4926f SHA512 abf30cb90fb2948065cbff1f20274d5b0b529e484b22d22ea9753cc3d9c4e77eff12861711dc68dcd0caf89fdb3e9b0826374bdf709dc83a33e3e176f42b728f EBUILD conan-2.7.1.ebuild 1414 BLAKE2B 1e507e0513bdc8dfff63b976a10aa7fcfd282db7b666b805f989fcdf7d62f9bbac142c80fcb6ce96932425401b18aec6b78631a4aae413d0e5a3655b3a2c47ed SHA512 511e910c46251cb77d7a1de848d6298b7de119e3a4820967deb396147b96ef69499762b540e8d594ee4d3f7763b3b17ddb239c8a1b9d3b8cc9147446f6d65a32 diff --git a/dev-util/conan/conan-2.10.1.ebuild b/dev-util/conan/conan-2.10.1.ebuild new file mode 100644 index 000000000000..4171d2e20314 --- /dev/null +++ b/dev-util/conan/conan-2.10.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Distributed C/C++ package manager" +HOMEPAGE="https://conan.io/" +SRC_URI="https://github.com/conan-io/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/bottle-0.12.8[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] + >=dev-python/distro-1.4.0[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.15.0[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0[${PYTHON_USEDEP}] + >=dev-python/patch-ng-1.18.0[${PYTHON_USEDEP}] + >=dev-python/pluginbase-0.5[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.4[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.25[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.6[${PYTHON_USEDEP}] +" + +# Try to fix it if you're brave enough +# Conan requires noumerous external toolchain dependencies with restricted +# versions and cannot be managable outside of a pure CI environment. +RESTRICT="test" + +src_prepare() { + default + # Fix strict dependencies + sed -i \ + -e 's:,[[:space:]]\?<=\?[[:space:]]\?[[:digit:]|.]*::g' \ + -e 's:==:>=:g' \ + conans/requirements{,_server}.txt || die +} diff --git a/dev-util/kdevelop-php/Manifest b/dev-util/kdevelop-php/Manifest index 66dae30a8e79..b95c41ec48d7 100644 --- a/dev-util/kdevelop-php/Manifest +++ b/dev-util/kdevelop-php/Manifest @@ -1,3 +1,5 @@ DIST kdev-php-24.08.3.tar.xz 1093972 BLAKE2B 54b4e3a3f5fa83989f5692a0a2c2ad10b5d7b16e30be8c2754d1c0a17df9eef4909aa59fd1519d3b6a3eff29f0b1bba32d542618db32a95c353e2cf9482da3e6 SHA512 ef9f115c07a4c0021d797740888dfc0ad2889d87a45bcc44bcbbb55ac4de6960a2f997e67c64f57d225b0e721e643920d0043e7ac710337e83a5fa8e17106e61 +DIST kdev-php-24.12.0.tar.xz 1094416 BLAKE2B df3f1ce1b848974fda15ab323bf060e21d21d6272a61db6fc549aa65f665d8a4860f3bab0ffc2c7ac3462b0d1ce9cdc8e934e636890f3f9eb3599498550ded55 SHA512 5e6c770a5bc386fb16754bbd1d90da48a016640806fd8b548258200e03911e13eb5a95c8549b091242eedb3d72d85dcf24fcabe882837927f45bc994dea6e912 EBUILD kdevelop-php-24.08.3.ebuild 1208 BLAKE2B 2cb782edc2551ccc26355baec8afec60cbbd32907fd4cd3af2ff6ea44a33268ce38bd533d692f78104cb94d4b827e6b7eb1718f722c078d9e6e61f63485919ca SHA512 e97a7506f281a454c677f69d5c51c9675954307d7e1b091198ac72f1c0bcb635b785cfb0bfba588677247e2138180816d14e75da7d81efbed305534f4ba59123 +EBUILD kdevelop-php-24.12.0.ebuild 1210 BLAKE2B 8e8f56ad3c7fe9f5fb2f8d3d050b511e7c9b93e6554694eb630e99f5123651a81c652854550f5a8d19ce25975a26b1b14727aa23cc9a35acd725807890113c6a SHA512 f76fdcf16dd439cded286440ba68bc577e4bc00139da703fad64fc015de2cd2c151d69b8176fe68def9b07c70afee65fc697966129462274646aeaeb4a91d277 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/dev-util/kdevelop-php/kdevelop-php-24.12.0.ebuild b/dev-util/kdevelop-php/kdevelop-php-24.12.0.ebuild new file mode 100644 index 000000000000..dd445596a575 --- /dev/null +++ b/dev-util/kdevelop-php/kdevelop-php-24.12.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_HANDBOOK_DIR="docs" +ECM_TEST="true" +KDE_ORG_CATEGORY="kdevelop" +KDE_ORG_NAME="kdev-php" +KFMIN=6.5.0 +QTMIN=6.7.2 +inherit ecm gear.kde.org + +DESCRIPTION="PHP plugin for KDevelop" +HOMEPAGE="https://kdevelop.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="6" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +# remaining tests fail for some, bug 668530 +RESTRICT="test" + +DEPEND=" + >=dev-qt/qt5compat-${QTMIN}:6 + >=dev-qt/qtbase-${QTMIN}:6[gui,widgets] + dev-util/kdevelop:6= + >=dev-util/kdevelop-pg-qt-2.3.0:0 + >=kde-frameworks/kcmutils-${KFMIN}:6 + >=kde-frameworks/kcolorscheme-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/ktexteditor-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 + >=kde-frameworks/threadweaver-${KFMIN}:6 +" +RDEPEND="${DEPEND}" +BDEPEND="test? ( dev-util/kdevelop:6[test] )" + +src_test() { + # tests hang, bug 667922 + local myctestargs=( + -E "(completionbenchmark|duchain_multiplefiles)" + ) + ecm_src_test +} diff --git a/dev-util/kdevelop-python/Manifest b/dev-util/kdevelop-python/Manifest index 51c0016f90bd..f51b25b32246 100644 --- a/dev-util/kdevelop-python/Manifest +++ b/dev-util/kdevelop-python/Manifest @@ -1,3 +1,5 @@ DIST kdev-python-24.08.3.tar.xz 1101720 BLAKE2B 13e21a9b43b2a4fbd12224910fc33a26b6f6c4c32a9049a53d4726bcfca8d4f463fef92a802fd6249410c050000c0be9a228750fc7cea31370a9399e7323acc7 SHA512 a5459b00a1e2f2a86c87ecad2a12abb23e070838f7f802c1106371182feb1b2f2deca1a9864c3aafb3edf9dfd3c9f6b9120e552d46bb60c09c81c524fb590eed +DIST kdev-python-24.12.0.tar.xz 1102952 BLAKE2B 2a545383e0983dbcd48b706c4a6dd141587429879bd4dedefcf95398f56807ea73f55c6d63beb30900ddb0f5525b597bde3dda43ed3b2ddd7abba5da42ca020b SHA512 2a632637accd3e08524766574544d5f2fbd178e86819fea8a6665ef8ab6ad1116c1167bd52cf9db933e9a7ec41878da858846691c2edf28e1131b16acf8bdf34 EBUILD kdevelop-python-24.08.3.ebuild 1119 BLAKE2B 455b6ab786d6de972d1a02f6faf855c2a80c9d87e7daa7947612627da8bd78e50b83c852016a20eefeabec415d60ca8988f80ab9cbae112c2b1f5096543c9588 SHA512 3fffed4e354b3041a1a7035d6826b5b439343b77ec9f94c0052276744bd2a69af0966668049c685c0f20f1066a2654af2eeee39856790293abfbdca3ca37279c +EBUILD kdevelop-python-24.12.0.ebuild 1121 BLAKE2B 32d78b3f30d254044e9a872bd7d5e2df6447c7dea6e753ab3ba4408b8f10929d00720ff6e56f199ad62541835b1843f3a48328b6f79cf8d23284bd4153a69214 SHA512 98998005c2769be95801142683ad702a9bbe91edcb378004b3b2223fd271c1b34d424667f254719db99a5f7703b2b23e0914e2cfa8a2bb79b7ea9b5e4f2aa745 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/dev-util/kdevelop-python/kdevelop-python-24.12.0.ebuild b/dev-util/kdevelop-python/kdevelop-python-24.12.0.ebuild new file mode 100644 index 000000000000..e283a3d10c12 --- /dev/null +++ b/dev-util/kdevelop-python/kdevelop-python-24.12.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KDE_ORG_CATEGORY="kdevelop" +KDE_ORG_NAME="kdev-python" +PYTHON_COMPAT=( python3_{10..12} ) +KFMIN=6.5.0 +QTMIN=6.7.2 +inherit ecm gear.kde.org python-single-r1 + +DESCRIPTION="Python plugin for KDevelop" +HOMEPAGE="https://kdevelop.org/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="6" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="test" + +DEPEND="${PYTHON_DEPS} + >=dev-qt/qt5compat-${QTMIN}:6 + >=dev-qt/qtbase-${QTMIN}:6[gui,widgets] + dev-util/kdevelop:6= + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kparts-${KFMIN}:6 + >=kde-frameworks/kservice-${KFMIN}:6 + >=kde-frameworks/ktexteditor-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 + >=kde-frameworks/threadweaver-${KFMIN}:6 +" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/pycodestyle[${PYTHON_USEDEP}] + ') +" + +pkg_setup() { + python-single-r1_pkg_setup + ecm_pkg_setup +} diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 8d05da285901..09ddfe00f7e2 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,3 +1,5 @@ DIST kdevelop-24.08.3.tar.xz 8819060 BLAKE2B e15dc7ac0808c04e2d7752b6ceb984286be5ba43a183acafd68d60a53308d02cbf3e9b281bb2029754e41f107237c811395a8b9e27cb5b8b13141536cf3207ae SHA512 1a1ffc4186efec19e7dfca403c6b327bfda0ed96793186a44aaf52e0f8eab2e070dc4452c632f112f0a296f4182bd8d1ab38dbdd5fbd2a1c982ec694a10eae2a +DIST kdevelop-24.12.0.tar.xz 8833432 BLAKE2B 04c7601aa87ed2203db7f9710b3af9278632693f12d7065bb238dcae7ce994d83a73226e894dd3fa9898c65a237f09412177ed6f3ea2a863a8505d0877a3770d SHA512 c4b12eb6c53564874306760d3bcbd80d4d3a2577360c3d0a6efd8a81a7f432a5b57e9f526b7a1396ebc41c50a021362c5c65004181e2717e3a5269dcbfe4ad5c EBUILD kdevelop-24.08.3.ebuild 3700 BLAKE2B 538018aa5502928d015bdd80d757d81fb80f4bd46104bb9fea76036512fe1e3890de3193af7ab8cbd0821693b6602e9c1c8c59995e3c62b91d367878dd3445be SHA512 bbc7b8fd68985bcf62b2de47c6da8d2fb31ec276f79862248f76df7f750184c8ae70c0a14c75112ccbc9e521c10425d770da2c992b324bfc4039bf5e10f8ebfa +EBUILD kdevelop-24.12.0.ebuild 3702 BLAKE2B 2e94c79105593c47122f5629315177e8906ccc1c9692992a875ea4be7466de351322ed063a68529e248d9a36c7e951395058943fe681bc0fb247a6fb725f3c86 SHA512 5f26fe2d1915eb34d5bcf6c44cf42c083121d9adcc0f04fe926280be61d9f45f5fd85d1fc0336b46a593f7303a105ded3cd4de87c2d4107e449a5deac8a830c6 MISC metadata.xml 671 BLAKE2B a67a7998eea115188a188dc7e225226f6b8ce68168ed1d43bf452cc7fd26f343d6d7c61367df45ddb5fea674c0aa3c5028287e16e791311bfb0d89488eed8935 SHA512 9ad5e98671886e809fe69e8ca9bedf05e417535798bd855a19b8a69ba510324862d5fd0d236c7827c4d4952305468709abf7a9d7ed1fe36e2b9bee6a4663179a diff --git a/dev-util/kdevelop/kdevelop-24.12.0.ebuild b/dev-util/kdevelop/kdevelop-24.12.0.ebuild new file mode 100644 index 000000000000..09adc8a5f99e --- /dev/null +++ b/dev-util/kdevelop/kdevelop-24.12.0.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KDE_ORG_CATEGORY="kdevelop" +KFMIN=6.5.0 +LLVM_COMPAT=( 15 16 17 18 ) +QTMIN=6.7.2 +inherit ecm gear.kde.org llvm-r1 optfeature + +DESCRIPTION="Integrated Development Environment, supporting KF6/Qt, C/C++ and much more" +HOMEPAGE="https://kdevelop.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="6/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm64" +IUSE="gdbui plasma +qmake +share subversion" + +# see bug 366471 +RESTRICT="test" + +# UPSTREAM: not ported yet, check plugins/CMakeLists.txt +# IUSE="hex" +# hex? ( app-editors/okteta:6 ) +COMMON_DEPEND=" + >=dev-qt/qt5compat-${QTMIN}:6 + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml] + >=dev-qt/qtdeclarative-${QTMIN}:6[widgets] + >=dev-qt/qttools-${QTMIN}:6[assistant] + >=dev-qt/qtwebengine-${QTMIN}:6[widgets] + >=dev-util/astyle-3.1:= + kde-apps/libkomparediff2:6 + >=kde-frameworks/karchive-${KFMIN}:6 + >=kde-frameworks/kbookmarks-${KFMIN}:6 + >=kde-frameworks/kcmutils-${KFMIN}:6 + >=kde-frameworks/kcodecs-${KFMIN}:6 + >=kde-frameworks/kcompletion-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/kguiaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kiconthemes-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kitemmodels-${KFMIN}:6 + >=kde-frameworks/kitemviews-${KFMIN}:6 + >=kde-frameworks/kjobwidgets-${KFMIN}:6 + >=kde-frameworks/knewstuff-${KFMIN}:6 + >=kde-frameworks/knotifications-${KFMIN}:6 + >=kde-frameworks/knotifyconfig-${KFMIN}:6 + >=kde-frameworks/kparts-${KFMIN}:6 + >=kde-frameworks/kservice-${KFMIN}:6 + >=kde-frameworks/ktexteditor-${KFMIN}:6 + >=kde-frameworks/ktexttemplate-${KFMIN}:6 + >=kde-frameworks/ktextwidgets-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kwindowsystem-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 + >=kde-frameworks/sonnet-${KFMIN}:6 + >=kde-frameworks/threadweaver-${KFMIN}:6 + $(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}') + gdbui? ( kde-plasma/libksysguard:6= ) + plasma? ( + >=kde-frameworks/krunner-${KFMIN}:6 + kde-plasma/libplasma:6 + ) + qmake? ( >=dev-util/kdevelop-pg-qt-2.3.0:0 ) + share? ( >=kde-frameworks/purpose-${KFMIN}:6 ) + subversion? ( + dev-libs/apr:1 + dev-libs/apr-util:1 + dev-vcs/subversion + ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + >=dev-qt/qtbase-${QTMIN}:6[concurrent] +" +RDEPEND="${COMMON_DEPEND} + dev-build/ninja + >=dev-debug/gdb-7.0[python] + >=dev-qt/qttools-${QTMIN}:6[qdbus] + kde-apps/kapptemplate:* + kde-apps/kio-extras:6 +" + +pkg_setup() { + ecm_pkg_setup + llvm-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DLLVM_ROOT="$(get_llvm_prefix)" + $(cmake_use_find_package gdbui KSysGuard) + -DBUILD_executeplasmoid=$(usex plasma) + $(cmake_use_find_package plasma Plasma) + $(cmake_use_find_package qmake KDevelop-PG-Qt) + $(cmake_use_find_package share KF6Purpose) + $(cmake_use_find_package subversion SubversionLibrary) + ) +# $(cmake_use_find_package hex OktetaKastenControllers) + + ecm_src_configure +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "konsole view" "kde-apps/konsole:6" + optfeature "static C++ Qt code analysis" dev-util/clazy + optfeature "static C/C++ code analysis" dev-util/cppcheck + optfeature "heap memory profiling" "dev-util/heaptrack[gui]" + optfeature "meson project manager plugin" dev-build/meson + optfeature "formatting configurations via customscript plugin" dev-util/indent + optfeature "formatting configurations via customscript plugin" dev-util/uncrustify + fi + ecm_pkg_postinst +} diff --git a/dev-util/kio-perldoc/Manifest b/dev-util/kio-perldoc/Manifest index 6dc90526757d..61919865571c 100644 --- a/dev-util/kio-perldoc/Manifest +++ b/dev-util/kio-perldoc/Manifest @@ -1,3 +1,5 @@ DIST kdesdk-kio-24.08.3.tar.xz 41764 BLAKE2B 2b42795d14dca876fd16590afff3ab93c868956b8f670ab3c4c4a652c5f0322bcbb4b515adac332a52d32cc5456762117ef94a1dd63e43c03b7432a61739eea3 SHA512 9851ca4a2b14c7f82c4b40e432b146b56d672bac8c5fef7047b8874fd511fc70388731f946c7b5250f0117eba8e09f9d9a5b878b7bc0aea8697ae7b4f53f9c8a +DIST kdesdk-kio-24.12.0.tar.xz 41768 BLAKE2B 058ef097b5a608b1eb77585aec93cb8fbcf305fa25559b5098d4563b5a122698dc447f9373573c5f4e2837be072b79f40f6202fb7152d9649e66476444ed4998 SHA512 8052b1bbeb2f588696479468f31c9a547dbd95490dc74acb73758db98b80b761db1da7b9b9379b9374e2e3373bedc08a54f59765bbf69744f0d883bd1d8d1c67 EBUILD kio-perldoc-24.08.3.ebuild 490 BLAKE2B 3b4f01f28b5b3e062f18f722d0534e5c8e3f626d3a1a164288200271366868520e48ec246723239606aeb425f1e614eabe7c16d0e1228e7d89fe75e408aee5d6 SHA512 cb9945efddc173d239de4ab854500cf2fd6e55e1dd850e19c56dde642e4c3961071081fd6266f292f9d271a6527cfbfa564c26d2d06838fbda8e36419583207c +EBUILD kio-perldoc-24.12.0.ebuild 492 BLAKE2B 653b17338c7ccb9e7c3bc15d10aa84f05faa2fff6a0f369cac81ea8d09af130d8396c07e5b2de31fb5b65cc06a76e762ffa0d608d3152dfa060c6a260f6e05c4 SHA512 b7db936b6e81d514f3366bdda20c52c7ac770d46648eae37837a726d10c22cded03e43f768b492e197f83f79b3db1ec790b56342256f1df2ff0c2a0668922038 MISC metadata.xml 376 BLAKE2B 973773b9cb2a2e9d2a7e187056409bbbe4a1f88bf97b791fe4b096beb1c638bbfef558abb19920383471641454784549ada0fe5aba4fcfb6ce762156711457c6 SHA512 e29785bf513fab36b159f7bdca1a339dc3e004e067b1e98ae5997f865494ac70ef4e27a74387cc65a486decd42f91926fe478143b6ac9906753a69f0b546617a diff --git a/dev-util/kio-perldoc/kio-perldoc-24.12.0.ebuild b/dev-util/kio-perldoc/kio-perldoc-24.12.0.ebuild new file mode 100644 index 000000000000..a50ec345e017 --- /dev/null +++ b/dev-util/kio-perldoc/kio-perldoc-24.12.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KDE_ORG_NAME="kdesdk-kio" +KFMIN=6.5.0 +inherit ecm gear.kde.org + +DESCRIPTION="KIO worker interface to browse Perl documentation" + +LICENSE="GPL-2+ || ( Artistic GPL-1+ )" +SLOT="6" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="" + +DEPEND=" + dev-lang/perl + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 +" +RDEPEND="${DEPEND}" diff --git a/dev-util/massif-visualizer/Manifest b/dev-util/massif-visualizer/Manifest index e0c88194386e..1428a661d77d 100644 --- a/dev-util/massif-visualizer/Manifest +++ b/dev-util/massif-visualizer/Manifest @@ -1,3 +1,5 @@ DIST massif-visualizer-24.08.3.tar.xz 279480 BLAKE2B 7ce98cc243f78f41b5df36d50d0493682e4931f7f433da44f363978dbeec8ed2d9b6e5ec51403a31b88201911274b4a4c3073d48a97060ea5092901d7ada9ed0 SHA512 42c27437ed12f9d3f21f5a3dd65e049bb417151f55f552135d3bc5083522ed35c793923f6edcd62f337887fd63194f253f27e46c3d40199d41f59d87e567a25f +DIST massif-visualizer-24.12.0.tar.xz 279588 BLAKE2B 0327d8c2bc155b3ff9e9b53067a4d64195e7a832d17198d504043ebb7e35ed12b26e93aceeb326712070629206f59e26a788776f144ee7227dc28ccfab5ce2e9 SHA512 3e09c07ead7c5df973b5549fb4fc5b70aacc10e02a1dc22cbfaef6b5bbfeec1f9f245f6d06b190eee5b8c2dd7965f0e3821eb1a18bc03becda0089be5bc4d9be EBUILD massif-visualizer-24.08.3.ebuild 1073 BLAKE2B 9c209395025d767db2e26a0df2e1dd668001c05f9f3ce08a51ded245383a26e96a1e284729cb272f27eefd52d1fee79628eac2e49004d40c9a8a08565fb0ebdd SHA512 a237276f8d51ed27e9328dfcbed5f9be66d2712e77a29c9130870e98a5e52a5d2e0f4dbc6db6ad56b5169e38e3fd03ef9246cc10e4928610e1bf9456be649f32 +EBUILD massif-visualizer-24.12.0.ebuild 1075 BLAKE2B c140b6abbd917417b7e5a4b470aac15f1b88ae96c5f372fe429e113ce24520047fc4f60100503cde76c853f91f30cccc71ab408e0f3fef49e8fe10ebd868a29a SHA512 871e797bc21f2d1b3b7ac10365ef50d0dcbd34d4d27c6a2ea9310b2fe6bde0b32476f72cd18b36f094de7c3f9b7b17d75bfb46cbc2b0a3e26675a5bf69b8a46a MISC metadata.xml 439 BLAKE2B 84769f8b1a94b2661706e00447a047ff287c06347f4f5571d8deba82147bc9fc35d67774c45abd3b40ed3a11ea6a7f8ebe0e535ceb824b98abda6b3d417578a8 SHA512 9c5869ac9741956f11163181eec4483ead5578e5de85c4ea6f1850423c2b94be7cfaaee6ee4634bffb2f9f2cdd9e29fc19bddb2b3113c876365b6fb7ba4ec630 diff --git a/dev-util/massif-visualizer/massif-visualizer-24.12.0.ebuild b/dev-util/massif-visualizer/massif-visualizer-24.12.0.ebuild new file mode 100644 index 000000000000..a7e325591ca3 --- /dev/null +++ b/dev-util/massif-visualizer/massif-visualizer-24.12.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KFMIN=6.5.0 +QTMIN=6.7.2 +inherit ecm gear.kde.org + +DESCRIPTION="Tool visualising massif data" +HOMEPAGE="https://apps.kde.org/massif_visualizer/" + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+callgraph" + +DEPEND=" + dev-libs/kdiagram:6 + >=dev-qt/qt5compat-${QTMIN}:6 + >=dev-qt/qtbase-${QTMIN}:6[gui,widgets] + >=dev-qt/qtsvg-${QTMIN}:6 + >=kde-frameworks/karchive-${KFMIN}:6 + >=kde-frameworks/kcompletion-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kparts-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 + callgraph? ( >=media-gfx/kgraphviewer-2.5.0:0 ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package callgraph KGraphViewerPart) + ) + ecm_src_configure +} diff --git a/dev-util/rt-tests/Manifest b/dev-util/rt-tests/Manifest index 9fe289aba667..2e09d6d07ef6 100644 --- a/dev-util/rt-tests/Manifest +++ b/dev-util/rt-tests/Manifest @@ -1,4 +1,7 @@ AUX rt-tests-2.7-musl.patch 10247 BLAKE2B fe5fde87f14efa50c90e593d4c8c858912131e25c0af90b2e90ba1d08ec50ec82d5114a1ea17c0f07b1ba4135689ff1862209dd79d9b021a2a8d5e58eca9ab3c SHA512 3aeafa3e6d2882960638cd57183983c0880f46c8116493bf76764b04a6087d88777438c1ff78d20217f879f3386fc4fac9b29a5ebb68f7d0e695ae3b324cedd7 +AUX rt-tests-2.8-musl.patch 10249 BLAKE2B 1843d51dd4cc422b53f49f9d99418a719414f5298c2b26a552dea4a269400a5a63b0d439f306b6135b6a534c2c4833221c766721089e9946d59ef348b1250626 SHA512 d6eeae9975d833b7686abc54b4e77ad874a23aa7aceb6b9dc6eba2b9149fb6bf4f03b929e7dbf1d66d7010fd5e2208fad90d6e638d722c550634b8871b52d089 DIST rt-tests-2.7.tar.xz 106864 BLAKE2B 89af0a92465ca29eb19adb6bb521be377dedb4153fc98bdcce48e1bad71803ed4aad2088227cfc679ce2441d09932acae437911535daec266b7ac2247fbad8d8 SHA512 6f2e523a6ff683473a222dc3b38abd34a06610c78b488d9d103643e410089d03820c76a4f40afaa4694d29f36e1aef6ced584cae9bad72921e3d633e36a5cda3 +DIST rt-tests-2.8.tar.xz 108480 BLAKE2B 852143d6d8017f08cecf847e5feb8d59390373828826d75f5d22259208fc0c3e3966615039cfc9a832648377044ffd10cced481796d68426c70bb824b558c1f4 SHA512 e3fa03258cd1fe22a65c6af9ac17398dba79fbb5a92f6aacbbb06bfb677982abc421d699d2889850505e83d78b0605cced7dbfb176e023cc34bdd25ec819a3a5 EBUILD rt-tests-2.7.ebuild 916 BLAKE2B bb7156a6af5a00eec881410acf6fa23d86c68947ca8e82450662771e623139171c3ca9440bf4ac1891131588c9ee7c5bc996af6d00c3995943d812187a810d58 SHA512 8f38767eb8a0d60fcc7392646010933b562682826cd549cafe56788585c2a85ec499a820296cc468aaeb9b045b36097c7bff110f339364ea737e9ba5b46ef7be +EBUILD rt-tests-2.8.ebuild 916 BLAKE2B bb7156a6af5a00eec881410acf6fa23d86c68947ca8e82450662771e623139171c3ca9440bf4ac1891131588c9ee7c5bc996af6d00c3995943d812187a810d58 SHA512 8f38767eb8a0d60fcc7392646010933b562682826cd549cafe56788585c2a85ec499a820296cc468aaeb9b045b36097c7bff110f339364ea737e9ba5b46ef7be MISC metadata.xml 837 BLAKE2B b0d50d18a087e0e3adde1eeeeec4f9e3cf69d921d893c5f26f9205979d53cb3fb67c66da49a19646f00463456337edfa6482a129ba6f53bdefcc083b6420a4c8 SHA512 943f07d2ac45ada4c0e961f43543c7f8f5a1e96ae6a69e8e4f99ca47f7e43a8ca2525a299f9451b0877349542955e6428e6029dfae8e30e67ca970b883eb04d7 diff --git a/dev-util/rt-tests/files/rt-tests-2.8-musl.patch b/dev-util/rt-tests/files/rt-tests-2.8-musl.patch new file mode 100644 index 000000000000..c98111331a31 --- /dev/null +++ b/dev-util/rt-tests/files/rt-tests-2.8-musl.patch @@ -0,0 +1,366 @@ +From 0b7a1e0d3463aa8aa4b7dcad0ec154e658d68036 Mon Sep 17 00:00:00 2001 +From: Kurt Kanzenbach <kurt@kmk-computers.de> +Date: Wed, 1 Apr 2020 20:15:24 +0200 +Subject: [PATCH] all: Fix musl build + +There are a few problems: + + * pi stress: pthread_attr_setaffinity_np() is not supported + * cyclictest: SIGEV_THREAD_ID is not supported + * hackbench: Fix include, add missing casts + * all: Fix sched_* calls + +With these changes applied, the rt-tests seem to run fine. + +Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de> +--- + Makefile | 5 -- + src/backfire/sendme.c | 1 + src/cyclictest/cyclictest.c | 68 ++++------------------------------ + src/hackbench/hackbench.c | 12 +++--- + src/include/musl.h | 28 ++++++++++++++ + src/lib/rt-utils.c | 1 + src/pi_tests/tst-mutexpi10.c | 2 + + src/pmqtest/pmqtest.c | 1 + src/ptsematest/ptsematest.c | 1 + src/rt-migrate-test/rt-migrate-test.c | 1 + src/sched_deadline/cyclicdeadline.c | 1 + 11 files changed, 51 insertions(+), 70 deletions(-) + create mode 100644 src/include/musl.h + +--- a/Makefile ++++ b/Makefile +@@ -10,7 +10,6 @@ OBJDIR = bld + sources = cyclictest.c \ + hackbench.c \ + pip_stress.c \ +- pi_stress.c \ + pmqtest.c \ + ptsematest.c \ + rt-migrate-test.c \ +@@ -58,7 +57,6 @@ ifeq (${PYLIB},) + endif + + MANPAGES = src/cyclictest/cyclictest.8 \ +- src/pi_tests/pi_stress.8 \ + src/ptsematest/ptsematest.8 \ + src/rt-migrate-test/rt-migrate-test.8 \ + src/sigwaittest/sigwaittest.8 \ +@@ -146,9 +144,6 @@ deadline_test: $(OBJDIR)/deadline_test.o + signaltest: $(OBJDIR)/signaltest.o $(OBJDIR)/librttest.a $(OBJDIR)/librttestnuma.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) $(RTTESTNUMA) + +-pi_stress: $(OBJDIR)/pi_stress.o $(OBJDIR)/librttest.a +- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) +- + hwlatdetect: src/hwlatdetect/hwlatdetect.py + chmod +x src/hwlatdetect/hwlatdetect.py + ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect +--- a/src/backfire/sendme.c ++++ b/src/backfire/sendme.c +@@ -16,6 +16,7 @@ + #include <string.h> + #include <time.h> + #include <errno.h> ++#include "musl.h" + #include "rt-utils.h" + #include "rt-get_cpu.h" + +--- a/src/cyclictest/cyclictest.c ++++ b/src/cyclictest/cyclictest.c +@@ -33,6 +33,7 @@ + #include <sys/utsname.h> + #include <sys/mman.h> + #include <sys/syscall.h> ++#include "musl.h" + #include "rt_numa.h" + + #include "rt-utils.h" +@@ -634,12 +635,8 @@ static void *timerthread(void *param) + { + struct thread_param *par = param; + struct sched_param schedp; +- struct sigevent sigev; + sigset_t sigset; +- timer_t timer; + struct timespec now, next, interval, stop = { 0 }; +- struct itimerval itimer; +- struct itimerspec tspec; + struct thread_stat *stat = par->stats; + int stopped = 0; + cpu_set_t mask; +@@ -668,14 +665,6 @@ static void *timerthread(void *param) + sigaddset(&sigset, par->signal); + sigprocmask(SIG_BLOCK, &sigset, NULL); + +- if (par->mode == MODE_CYCLIC) { +- sigev.sigev_notify = SIGEV_THREAD_ID | SIGEV_SIGNAL; +- sigev.sigev_signo = par->signal; +- sigev.sigev_notify_thread_id = stat->tid; +- timer_create(par->clock, &sigev, &timer); +- tspec.it_interval = interval; +- } +- + memset(&schedp, 0, sizeof(schedp)); + schedp.sched_priority = par->prio; + if (setscheduler(0, par->policy, &schedp)) +@@ -729,20 +718,6 @@ static void *timerthread(void *param) + stop = now; + stop.tv_sec += duration; + } +- if (par->mode == MODE_CYCLIC) { +- if (par->timermode == TIMER_ABSTIME) +- tspec.it_value = next; +- else +- tspec.it_value = interval; +- timer_settime(timer, par->timermode, &tspec, NULL); +- } +- +- if (par->mode == MODE_SYS_ITIMER) { +- itimer.it_interval.tv_sec = interval.tv_sec; +- itimer.it_interval.tv_usec = interval.tv_nsec / 1000; +- itimer.it_value = itimer.it_interval; +- setitimer(ITIMER_REAL, &itimer, NULL); +- } + + stat->threadstarted++; + +@@ -750,16 +725,10 @@ static void *timerthread(void *param) + + uint64_t diff; + unsigned long diff_smi = 0; +- int sigs, ret; ++ int ret; + + /* Wait for next period */ + switch (par->mode) { +- case MODE_CYCLIC: +- case MODE_SYS_ITIMER: +- if (sigwait(&sigset, &sigs) < 0) +- goto out; +- break; +- + case MODE_CLOCK_NANOSLEEP: + if (par->timermode == TIMER_ABSTIME) { + ret = clock_nanosleep(par->clock, TIMER_ABSTIME, +@@ -873,11 +842,6 @@ static void *timerthread(void *param) + + next.tv_sec += interval.tv_sec; + next.tv_nsec += interval.tv_nsec; +- if (par->mode == MODE_CYCLIC) { +- int overrun_count = timer_getoverrun(timer); +- next.tv_sec += overrun_count * interval.tv_sec; +- next.tv_nsec += overrun_count * interval.tv_nsec; +- } + tsnorm(&next); + + while (tsgreater(&now, &next)) { +@@ -902,17 +866,6 @@ out: + pthread_mutex_unlock(&refresh_on_max_lock); + } + +- if (par->mode == MODE_CYCLIC) +- timer_delete(timer); +- +- if (par->mode == MODE_SYS_ITIMER) { +- itimer.it_value.tv_sec = 0; +- itimer.it_value.tv_usec = 0; +- itimer.it_interval.tv_sec = 0; +- itimer.it_interval.tv_usec = 0; +- setitimer(ITIMER_REAL, &itimer, NULL); +- } +- + /* close msr file */ + if (smi) + close(par->msr_fd); +@@ -1315,7 +1268,8 @@ static void process_options(int argc, ch + case OPT_VERBOSE: verbose = 1; break; + case 'x': + case OPT_POSIX_TIMERS: +- use_nanosleep = MODE_CYCLIC; break; ++ fatal("--posix_timers is not available on your libc\n"); ++ break; + case '?': + case OPT_HELP: + display_help(0); break; +@@ -1351,13 +1305,6 @@ static void process_options(int argc, ch + } + } + +- if ((use_system == MODE_SYS_OFFSET) && (use_nanosleep == MODE_CYCLIC)) { +- warn("The system option requires clock_nanosleep\n"); +- warn("and is not compatible with posix_timers\n"); +- warn("Using clock_nanosleep\n"); +- use_nanosleep = MODE_CLOCK_NANOSLEEP; +- } +- + /* if smp wasn't requested, test for numa automatically */ + if (!smp) { + numa = numa_initialize(); +@@ -2071,7 +2018,6 @@ int main(int argc, char **argv) + + } + +- + mode = use_nanosleep + use_system; + + sigemptyset(&sigset); +@@ -2126,6 +2072,7 @@ int main(int argc, char **argv) + void *currstk; + size_t stksize; + int node_cpu = cpu; ++ int err; + + if (node_cpu == -1) + node_cpu = cpu_for_thread_ua(i, max_cpus); +@@ -2134,11 +2081,12 @@ int main(int argc, char **argv) + node = rt_numa_numa_node_of_cpu(node_cpu); + + /* get the stack size set for this thread */ +- if (pthread_attr_getstack(&attr, &currstk, &stksize)) ++ err = pthread_attr_getstack(&attr, &currstk, &stksize); ++ if (err != EINVAL) + fatal("failed to get stack size for thread %d\n", i); + + /* if the stack size is zero, set a default */ +- if (stksize == 0) ++ if (err == EINVAL || stksize == 0) + stksize = PTHREAD_STACK_MIN * 2; + + /* allocate memory for a stack on appropriate node */ +--- a/src/hackbench/hackbench.c ++++ b/src/hackbench/hackbench.c +@@ -25,7 +25,7 @@ + #include <sys/socket.h> + #include <sys/wait.h> + #include <sys/time.h> +-#include <sys/poll.h> ++#include <poll.h> + #include <netinet/in.h> + #include <arpa/inet.h> + #include <limits.h> +@@ -34,6 +34,8 @@ + #include <setjmp.h> + #include <sched.h> + ++#include "musl.h" ++ + static unsigned int datasize = 100; + static unsigned int loops = 100; + static unsigned int num_groups = 10; +@@ -128,9 +130,9 @@ static int inet_socketpair(int fds[2]) + sin.sin_port = 0; + sin.sin_addr.s_addr = inet_addr("127.0.0.1"); + +- if (bind(s1, &sin, len) < 0) ++ if (bind(s1, (struct sockaddr *)&sin, len) < 0) + barf("bind"); +- if (getsockname(s1, &sin, &len) < 0) ++ if (getsockname(s1, (struct sockaddr *)&sin, &len) < 0) + barf("getsockname"); + if (listen(s1, 10) < 0) + barf("listen"); +@@ -138,9 +140,9 @@ static int inet_socketpair(int fds[2]) + barf("ioctl"); + if (ioctl(s1, FIONBIO, &ul) < 0) + barf("ioctl"); +- if (connect(s2, &sin, len) < 0) ++ if (connect(s2, (struct sockaddr *)&sin, len) < 0) + barf("connect"); +- if ((fds[0] = accept(s1, &sin, &len)) < 0) ++ if ((fds[0] = accept(s1, (struct sockaddr *)&sin, &len)) < 0) + barf("accept"); + ul = 0; + if (ioctl(s2, FIONBIO, &ul) < 0) +--- /dev/null ++++ b/src/include/musl.h +@@ -0,0 +1,28 @@ ++/* ++ * Copyright (C) 2020 Kurt Kanzenbach <kurt@kmk-computers.de> ++ * Time-stamp: <2020-04-04 10:54:01 kurt> ++ */ ++ ++#ifndef _MUSL_H_ ++#define _MUSL_H_ ++ ++#include <unistd.h> ++#include <sys/syscall.h> ++ ++/* ++ * Musl someshow defines sched_* to ENOSYS which is not correct ... ++ * See commit 1e21e78bf7a5 ("add support for thread scheduling (POSIX TPS option)") ++ * ++ * Workaround: define them to syscall(...) ++ */ ++ ++#define sched_getparam(pid, param) \ ++ syscall(SYS_sched_getparam, pid, param) ++#define sched_setparam(pid, param) \ ++ syscall(SYS_sched_setparam, pid, param) ++#define sched_getscheduler(pid) \ ++ syscall(SYS_sched_getscheduler, pid) ++#define sched_setscheduler(pid, policy, param) \ ++ syscall(SYS_sched_setscheduler, pid, policy, param) ++ ++#endif /* _MUSL_H_ */ +--- a/src/lib/rt-utils.c ++++ b/src/lib/rt-utils.c +@@ -24,6 +24,7 @@ + #include <time.h> + #include <sys/time.h> + ++#include "musl.h" + #include "rt-utils.h" + #include "rt-sched.h" + #include "rt-error.h" +--- a/src/pi_tests/tst-mutexpi10.c ++++ b/src/pi_tests/tst-mutexpi10.c +@@ -35,6 +35,8 @@ + #include <string.h> + #include <signal.h> + ++#include "musl.h" ++ + /* test timeout */ + #define TIMEOUT 2 + +--- a/src/pmqtest/pmqtest.c ++++ b/src/pmqtest/pmqtest.c +@@ -24,6 +24,7 @@ + #include <pthread.h> + #include <inttypes.h> + ++#include "musl.h" + #include "rt-utils.h" + #include "rt-get_cpu.h" + #include "rt-error.h" +--- a/src/ptsematest/ptsematest.c ++++ b/src/ptsematest/ptsematest.c +@@ -22,6 +22,7 @@ + #include <pthread.h> + #include <inttypes.h> + ++#include "musl.h" + #include "rt-utils.h" + #include "rt-get_cpu.h" + #include "rt-error.h" +--- a/src/rt-migrate-test/rt-migrate-test.c ++++ b/src/rt-migrate-test/rt-migrate-test.c +@@ -27,6 +27,7 @@ + + #include <linux/unistd.h> + ++#include "musl.h" + #include "rt-utils.h" + + int nr_tasks; +--- a/src/sched_deadline/cyclicdeadline.c ++++ b/src/sched_deadline/cyclicdeadline.c +@@ -30,6 +30,7 @@ + #include <linux/unistd.h> + #include <linux/magic.h> + ++#include "musl.h" + #include "rt-utils.h" + #include "rt-sched.h" + #include "rt-error.h" diff --git a/dev-util/rt-tests/rt-tests-2.8.ebuild b/dev-util/rt-tests/rt-tests-2.8.ebuild new file mode 100644 index 000000000000..d11236401857 --- /dev/null +++ b/dev-util/rt-tests/rt-tests-2.8.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit python-single-r1 toolchain-funcs + +DESCRIPTION="A collection of latency testing tools for the linux(-rt) kernel" +HOMEPAGE="https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/" +SRC_URI=" + https://kernel.org/pub/linux/utils/rt-tests/${P}.tar.xz + https://kernel.org/pub/linux/utils/rt-tests/older/${P}.tar.xz" + +LICENSE="GPL-2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + sys-process/numactl" +RDEPEND="${DEPEND}" + +src_prepare() { + default + use elibc_musl && eapply "${FILESDIR}/${P}-musl.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" AR="$(tc-getAR)" +} + +src_install() { + emake CC="$(tc-getCC)" prefix=/usr DESTDIR="${ED}" install + python_fix_shebang "${ED}" + python_optimize +} diff --git a/dev-util/spirv-llvm-translator/Manifest b/dev-util/spirv-llvm-translator/Manifest index 165d28308845..a188f8cb48b8 100644 --- a/dev-util/spirv-llvm-translator/Manifest +++ b/dev-util/spirv-llvm-translator/Manifest @@ -3,19 +3,15 @@ AUX spirv-llvm-translator-17.0.0-do-not-rely-on-version-of-compiler-being-VER.0. AUX spirv-llvm-translator-17.0.0-intel-capability.patch 9322 BLAKE2B aa847ba0376fd78cd105b6dce4d785cb060f08a04da0ca52a12f689bbbb49b3eaec579669458e70c2b7f75b446752492e07cdc62c39e57e465532ce3f55b0cb4 SHA512 912ed2ffccb033c5bd7790e7d8e2f63437388375c17d8191a1fc4409daba9e2bd9e00ca3232ff4451f58fc430e040d7837f700f844c0a6fb14bfdccd61829a4a DIST spirv-llvm-translator-15.0.4.tar.gz 1598316 BLAKE2B f97a959b0dfb7c3ab6d24c72300b1ebbd70d98544c3f5e5b403aa412f5d599e9f846c6c9a4fce3c09a2a776cbb0349bb5b0112fe76fa1c6b0f7a12e139214dac SHA512 a19e3d20b632bcc623f6238e517b7a73ee99abdecc118fdda99972d22de2f74e7dbb880a726e2cd86ffd941fabaa8572f4130e409886691824eaa0e973d90a1b DIST spirv-llvm-translator-16.0.4.tar.gz 1589087 BLAKE2B 51cebc05fbc8ffc4d765b15a7dd5cc5b774002d4fed9e30acaf19e703f83bcecfaf7dbe7243dc5ed541e72613cf1800dd2f0f3b0f374b0619027f8171ac24b1b SHA512 02c3a4f443506a6a6015a1db7a57cf08242745d94cea27693929deb43bad6de18cf7152397454d295224818506b843fa7e537649d500e8f4b04fef9ec2333a4b -DIST spirv-llvm-translator-17.0.0.tar.gz 1601166 BLAKE2B c3e7a78fa55cd13ba61c024e2d3d82c47ac9dbf8c11bcbcf4ddc34a6838fb948885a263fd9af2d0f404b31f4c6e9226c9582e0f65b3220770e1af07cf85f4dac SHA512 ee54e597c678755cb48d677f81184d66616c7be934b570e04f0106e64c15f1cab124177b757f08a7713fa7fce981c74d61304d4554e6d198e6c14c53abf1e81c DIST spirv-llvm-translator-17.0.4.tar.gz 1631063 BLAKE2B c55c5160355b797d52f8368c2d780dc89b6f92108bf22a8de7232327b4cd1c12531766bbe061b5c23926a4a8fa55394fba23e573346cfb8a12261b3c8aeec67c SHA512 454426b3146348c5128e1e6663068f34a2babca5a90864d6cff7fe3bf997ad64cf916759ebd294b3b4c20d89b1f0914e2943554761968425f92ebb48f85d0d28 DIST spirv-llvm-translator-18.1.4.tar.gz 1701536 BLAKE2B f9326299bd239721752c2b8dacb7ad5b053e189aae2374848c581e3a6110789c4e4078c1efb69bf8fdd01b30df445821130e92c1285b9cb791dbd290f796d183 SHA512 f0f7e9c3e6544707bb20cbda523f6081be42f5acb513d99b326ed0753f8d285bfb301934fa7ea78fc60bcb5672306f0ffb8a7937cc731c2bb08b72f4b7f5ef61 -DIST spirv-llvm-translator-18.1.6.tar.gz 1714419 BLAKE2B 0c9e1732ff5809d3f1c9aa91ec92a988accd2b207bb48c46f4fbfd95bc146df5a1c50065b0a050eba000e5cc1dd9a2b9098432cf423a3cb1687e39adffb24edb SHA512 30d85fcd767cdae8b29f65dff50f2449e3421477634edcec67e88e92eeb77ec724c46eed4e90274d8697955c79fc26650c268839ed4612aee096b2d4707af728 DIST spirv-llvm-translator-18.1.7.tar.gz 1715822 BLAKE2B f08303689294f1e9adc9f869bae50f052b52f3b811b7ba43c08f0bf883e66ddbaeab046c8716820af67c1da57e722d4ced160288ec6e51c2e44a818077dd24f0 SHA512 fe78b95022dccf3b63abd4872001f43b3cd64ccba8910dea4c2bc6ee77236adb920cdb614b662d1b85090e2ae4c1bc8083074d225cce11166f258170a8540b63 DIST spirv-llvm-translator-19.1.1.tar.gz 1762107 BLAKE2B 60b248253185e241f5f5786b3d73194b24a2022047764ad95c0a14fc897ef89d40551f7b9b517ee5a3404adfcf2b2d25808e419a5f9863219feec9e1f5ce8cc5 SHA512 fb97ba38bfaefa1dbd181a1ab710dd94780db73aa3de2bbf60ff2eb62b9ab387962468ab71cbf910fb842fd217dcf2961148452c4a57d84013aa61b2458ae1c1 DIST spirv-llvm-translator-19.1.2.tar.gz 1767303 BLAKE2B c96b0640082c83a20258932824919479dece2973de2eeb17066ffeaa372083699322787a451465d754b419a7a7ad0d2eeb9c9372ba4695be4d333d65861500ae SHA512 91d768324f835ed891be51a7de1f752100b2d4df7f138137979cc928b23394a0d9c5ad4dbb06a203f7bc101483a667cba84b8eacc7d66e011426dda169cc14fd EBUILD spirv-llvm-translator-15.0.4-r1.ebuild 1293 BLAKE2B 64a5b0e0ff4ef6f553b6f16ee73eba38970b1e5dbe5d114b2141dbaf0fe9794feb1e30c1110061cc70b367355722bf84aa35ba05f41f88e3d56f45c78db48c7e SHA512 6f1b458918dccaad866b91b1d8a4cbfd5a1de64ec6e9ce251e25e1ec1e3f471df85370e3ecefe68961966b5c4b0233623fe5f6827d473014b993ceeb727c21a4 EBUILD spirv-llvm-translator-16.0.4-r1.ebuild 1410 BLAKE2B db9257e65e87099d33a60558bbdf1557cf629366c2af2e2cecb10fe83885321881d6df6d6ef681f9968e21add67c354a2199d5768b2d699a90161f2504003e20 SHA512 1269fe0f60f55cc01d589523005a5726d296742bcfcfb260d8183404ec77ee2c7aa7c19d738db16102f172343c8cd7aa237457b02f392f308736bcb3bdd198e6 -EBUILD spirv-llvm-translator-17.0.0-r2.ebuild 1512 BLAKE2B ec48bf38b58b33684f1b45891454b088e14786b343ebd3c5165781ae24bd6cae9f40d2134f9a15eee5b13ad75d3d0e9e7458e46ce8c5aa37b29a6a326250fc2e SHA512 11ba87224df24bd681b4b36fee7ab8178593a58fe4a565d94ccc335b16444535054641290a2b25e0383daf2812c5159d54350609cf51fa78a92063fc0f8a8b79 EBUILD spirv-llvm-translator-17.0.4-r1.ebuild 1363 BLAKE2B c34a7f7b8aab6d5797e3bd5144da1bb69516c9024d376b242c554927c08fa3185d871c330a54378578fec2daef520258054b8d2ea41d7455bf70ad8d117258a5 SHA512 6703333d818ad50742679e40a7deb508951e419b4f99cd5241f2401feda0a593eb8c8ead951b205334fa45be10241c1074b4c54be1a5d94290dc6199d649a771 EBUILD spirv-llvm-translator-18.1.4.ebuild 1443 BLAKE2B a2034d194932551f6f92f0df9fb5baab68df91552f271e4222e169011e60c2a9a826c954a4cd50533c78bab84922d96f52b31fee2acd8289ec7c19ad89e25c93 SHA512 ee3db3b644276ddbee5919f1856cdcd6d0fa96850a7b226ebe0d8e74d5ad4f1d3f5e1daa485a1c272f39dcc2b7173a9a42f9c9c3f8ee9d331f7dbce1fa7eae73 -EBUILD spirv-llvm-translator-18.1.6.ebuild 1446 BLAKE2B ca34b579e99cc665c34b9663441cf6babc2bb6ebab0fd86124ea09bd8e35ae006381cfd9737e9b900bfe4066f3df8abfdb2b8ca9418c23135d7a42b91d1accc3 SHA512 1c17cdde11a7e825eb4e001e4fe0a269afb2373dedb905d99dd1fa066d3c36345964fcb5b7af8a739010145d780ca5ba800ca8521c3abb5085f97d927b38b859 EBUILD spirv-llvm-translator-18.1.7.ebuild 1446 BLAKE2B ca34b579e99cc665c34b9663441cf6babc2bb6ebab0fd86124ea09bd8e35ae006381cfd9737e9b900bfe4066f3df8abfdb2b8ca9418c23135d7a42b91d1accc3 SHA512 1c17cdde11a7e825eb4e001e4fe0a269afb2373dedb905d99dd1fa066d3c36345964fcb5b7af8a739010145d780ca5ba800ca8521c3abb5085f97d927b38b859 EBUILD spirv-llvm-translator-19.1.1.ebuild 1443 BLAKE2B d4d5a27179a82ce1631e5f8d8b38b27243d3e48993ca8db6daac78f6adef11dcf5dc523f4856a0e1a237b2a35edfb6aae57c5d2d5a4cc8794cc26444d4c3b8a2 SHA512 5c589ccf3e85ca5507169a8eb6437dacb4ba356df50f4ed05e29ebabc85bceb4036fd7b588e496e0c0bde8df1e35be0dc0d9487ce77a0af8423dc7b351124131 EBUILD spirv-llvm-translator-19.1.2.ebuild 1446 BLAKE2B e11e0524e4c76950f42959c371bb1a138ec65629f16c3d2ac0dea2274e7e343ba730bf356dfd6022ca54a6e277e01a013f623b67de58c51f305f4a8b4929b866 SHA512 84ab45459d4a65244c175dd96b93e4564d5584006cc57ad7e3cb8a7cb9695ddb7b1d8d981953ec774e647fded42e6d2610bbfe415a30fa2ef75d247cf1f5a283 diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.0-r2.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.0-r2.ebuild deleted file mode 100644 index 86d8cdee4ed9..000000000000 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.0-r2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_MAX_SLOT="17" -MY_PN="SPIRV-LLVM-Translator" -MY_P="${MY_PN}-${PV}" - -inherit cmake flag-o-matic llvm multiprocessing - -DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" -HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" -SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="UoI-NCSA" -SLOT="$(ver_cut 1)" -KEYWORDS="amd64 arm64 ~riscv x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/spirv-tools - llvm-core/llvm:${SLOT}= -" -DEPEND="${RDEPEND} - >=dev-util/spirv-headers-1.3.275 -" -BDEPEND=" - virtual/pkgconfig - test? ( - dev-python/lit - llvm-core/clang:${SLOT} - ) -" - -PATCHES=( - "${FILESDIR}"/${P}-intel-capability.patch - "${FILESDIR}"/${P}-do-not-rely-on-version-of-compiler-being-VER.0.0-219.patch -) - -src_prepare() { - append-flags -fPIC - cmake_src_prepare - - # https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/2555 - sed -i -e 's/%triple/x86_64-unknown-linux-gnu/' test/DebugInfo/X86/*.ll || die -} - -src_configure() { - local mycmakeargs=( - -DCCACHE_ALLOWED="OFF" - -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" - -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv" - -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") - -Wno-dev - ) - - cmake_src_configure -} - -src_test() { - lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die -} diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.6.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.6.ebuild deleted file mode 100644 index 0755f06ce2bd..000000000000 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.6.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 - -LLVM_COMPAT=( 18 ) -MY_PN="SPIRV-LLVM-Translator" -MY_P="${MY_PN}-${PV}" - -inherit cmake-multilib flag-o-matic llvm-r1 multiprocessing - -DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" -HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" -SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="UoI-NCSA" -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-util/spirv-tools[${MULTILIB_USEDEP}] - llvm-core/llvm:${SLOT}=[${MULTILIB_USEDEP}] -" -DEPEND="${RDEPEND} - >=dev-util/spirv-headers-1.3.280 -" -BDEPEND=" - virtual/pkgconfig - test? ( - dev-python/lit - llvm-core/clang:${SLOT} - ) -" - -PATCHES=( -) - -src_prepare() { - append-flags -fPIC - cmake_src_prepare - - # https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/2555 - sed -i -e 's/%triple/x86_64-unknown-linux-gnu/' test/DebugInfo/X86/*.ll || die -} - -multilib_src_configure() { - local mycmakeargs=( - -DCCACHE_ALLOWED="OFF" - -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)" - -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv" - -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") - -Wno-dev - ) - - cmake_src_configure -} - -multilib_src_test() { - lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die -} |