diff options
Diffstat (limited to 'dev-libs')
17 files changed, 302 insertions, 85 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex ecdd52bc16a7..b96857794400 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest index 8fc61ce81c7d..f19b4fdbafb7 100644 --- a/dev-libs/glib/Manifest +++ b/dev-libs/glib/Manifest @@ -4,6 +4,6 @@ AUX glib-2.74.0-crash-gparamspec.patch 820 BLAKE2B 963e9b3550ca8d7abbb72881ce82f DIST glib-2.72.3.tar.xz 4893484 BLAKE2B 1360c887b07ede3de3a7d31589f3dfc07ada2fe3e7901d3f30048ab9a1379357753ae142c6c107b3fcd6dd61e1401fbe6db22f0e89ea617db2c1073f1900cbe6 SHA512 8834ab7498577c2f659d135b87c27b34e1157be27f6c1fe5af0d64a94654f78cbe6a87e6868966849674c34e88a9d51d2de8d89f78f86aa1e1af3482761f0638 DIST glib-2.74.0.tar.xz 5183072 BLAKE2B b21e5a72e2ce3390cbf13601aa902104f1ac1cfbd75181d30cd340f24b5875753f898b229f99c71d47d499be86cddb0191a0072c0c2decc82956a46c16255905 SHA512 5cdadd2f4568c0c3d45083b4d39699abf651e42e020f7bc880cce3ff33d28943118388d17a0632777e843f48009c1f97d5634fde3cb8c69c7c7f35b278ac8225 EBUILD glib-2.72.3.ebuild 10244 BLAKE2B 3f37fd728f89fabc8bba3a09946a069cf3220d14637089300cac575a1fafc667d9e04a4592552db64db2144c80f9ae697f0597a5110175cdb0fb3c74e95d71e2 SHA512 ad314b8967042ad94110d0c582bb08bdb4df84dbef60f6184223604abdaf311fe1eb056103df0ec19d7fda010b8e90f2054df86ca817f451e0dc6e6b695a530f -EBUILD glib-2.74.0-r1.ebuild 10284 BLAKE2B ff6fcfe6b0b858a180193cb360ef6c5fafd5ca0dbfefa2a0974109494f0613899ec9d0da0cc3501ca1377b1b86b17654fa5358ea0decdbb8e18e9debfeb6ae65 SHA512 9dc2bfc21547271f61fd23e50133c25806f966cc3496f33bb0ce6e10681d8370271aaec66b189f729fd30b6c3c7e4e6783dea91a5b1efb15dbbc55db72d1f1d2 +EBUILD glib-2.74.0-r1.ebuild 10285 BLAKE2B dde057709a510d0f63a534449f8b84c4834a833f27f54db7047887345312f736be2bdf6eac871626cde97960628a52e77d97fe33fc8a9756c63898bc257d23ff SHA512 f8a0532d404cfd6ec7e64392f02772517d65e4ec3f043b2f235b24ced5bf02e5fac53964a6341435c13855594e3bfeede62919248e705df439d83ba3dfb6c38b EBUILD glib-2.74.0.ebuild 10241 BLAKE2B 633ebf99a48d83f308a78957dc44d1933a92ad6256e5ad18d4fa4345f6fd60baee745607446be4375f0540c19a8791a806297164b3d6a784f7835f654368eeef SHA512 3745f84fd8b2ca71d7f12ef366a5a9a877cc5c2286912b51598cd9bb3a71d8f85d6506317e6015757b20c5bd950ecf6174d70f440417615ae6bf19870c69a5e5 MISC metadata.xml 1221 BLAKE2B 517c6f9ee14ccac7192d7c1189773ec6e034bc638a8acd28081a604f8516ee639f43c82ca3233d513dbfd06db714358e396f2c4cd906715bb0950f130974ab9e SHA512 0c4203b3c9d8b91eebe4ee54f34d1aae26e5efa4c791760559b18b58d90b508936ead62ee8df81e6777ad8e0cb0e9c68d504d0f24ecd5903d4e3df89c6cc0bdf diff --git a/dev-libs/glib/glib-2.74.0-r1.ebuild b/dev-libs/glib/glib-2.74.0-r1.ebuild index 9c91688a8c0a..505345d23969 100644 --- a/dev-libs/glib/glib-2.74.0-r1.ebuild +++ b/dev-libs/glib/glib-2.74.0-r1.ebuild @@ -14,7 +14,7 @@ LICENSE="LGPL-2.1+" SLOT="2" IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test utils xattr" RESTRICT="!test? ( test )" -REQUIRED_USE="gtk-doc? ( test )" # Bug #777636 +#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" diff --git a/dev-libs/intel-vc-intrinsics/Manifest b/dev-libs/intel-vc-intrinsics/Manifest index 5833557f3044..e6e08ae93cab 100644 --- a/dev-libs/intel-vc-intrinsics/Manifest +++ b/dev-libs/intel-vc-intrinsics/Manifest @@ -1,7 +1,3 @@ -DIST intel-vc-intrinsics-0.4.2.tar.gz 136366 BLAKE2B 2f8b1a6ad8edb720f322668226224b23cc80c4a64b8ac300ff95a470e97f9af8e3317ddc45be668895e86b13074aab2d1846c2dd634f0466f39c9a77ec436851 SHA512 5312dbd06d4af5a4e18f99da867af4b7292daba92186c9de5208280dfe735b7563b73ac8f77f48f9d2f10f2a0d9654abf39c82cf07d829f568f41b3210af22d4 -DIST intel-vc-intrinsics-0.5.0.tar.gz 136657 BLAKE2B d1e946aa82713eaedb13e692045b9e765c50f226a87f7b909d1be1ffe93217af1fa0cdc80b0db752760b66eae5f7bc6ce29ba643af4a50b1013b9b1a3c00a614 SHA512 9204b4e2e0f860d1daf98872c897d98a00a0baeb069503d052464f47892b0fcb90c51f47c07f8fb3545f42ca688168924e829d84063da1894d72be3dff7a9e35 DIST intel-vc-intrinsics-0.7.1.tar.gz 138162 BLAKE2B 6a3aa8dcec358dd2f19688a57e5efd267eb6fd208f21c0bbda12baae4b73b4a85462e930f06fb34d22fe15103af368e8763031b2ef668a677104c57231740ff4 SHA512 278c67e277c09a2a8f5d6aed77e4c7d7dfd7fc54f9e34b8fae2154641785b66eec298e02bffa84f8cf4d0824e0272f7fb659d0ea19d2a993b5c44bb2e6f5a076 -EBUILD intel-vc-intrinsics-0.4.2-r3.ebuild 796 BLAKE2B 8e38dd60228fe0e6ba004e9505a6c6eb9ee7915e172978499b1db53e54a278ad492151e67f9810ce5bf7c4e4d1ab5c53be15d26f566830d07de9b78ab479a529 SHA512 8e54167cbbb90a05fdf7c68b61f6a801d6e3582bb41154f888d51e9dbf04ec9dfa1f6cb0a07467521e30658eebc986a808e88d43875ab41da9f5437390758ca7 -EBUILD intel-vc-intrinsics-0.5.0-r2.ebuild 796 BLAKE2B 8e38dd60228fe0e6ba004e9505a6c6eb9ee7915e172978499b1db53e54a278ad492151e67f9810ce5bf7c4e4d1ab5c53be15d26f566830d07de9b78ab479a529 SHA512 8e54167cbbb90a05fdf7c68b61f6a801d6e3582bb41154f888d51e9dbf04ec9dfa1f6cb0a07467521e30658eebc986a808e88d43875ab41da9f5437390758ca7 -EBUILD intel-vc-intrinsics-0.7.1.ebuild 796 BLAKE2B 8e38dd60228fe0e6ba004e9505a6c6eb9ee7915e172978499b1db53e54a278ad492151e67f9810ce5bf7c4e4d1ab5c53be15d26f566830d07de9b78ab479a529 SHA512 8e54167cbbb90a05fdf7c68b61f6a801d6e3582bb41154f888d51e9dbf04ec9dfa1f6cb0a07467521e30658eebc986a808e88d43875ab41da9f5437390758ca7 +EBUILD intel-vc-intrinsics-0.7.1-r1.ebuild 796 BLAKE2B 04b151143c229e6a04271dc1f932ccaf53b89fd90d4ff5abd04ee6c6b6247ad91bd85b8e4e3ed0b70a550d8de76d3a3236aa46f3cde4f2722d530634ced14205 SHA512 6ff29638c9192402a2333892daccd65b53d8b3994c1efe60469f78e4286c128bb81e2a5769ab7f85d238029a3953b51ec3088c48af90950a83d8f103420be9a6 MISC metadata.xml 778 BLAKE2B 2e8e4d7f56f18f7e4eaa488cdab5d4578e779e8ac75fe96c3e7d5aeae5fc65291401d8ac54a0e89194c44a2146bca4cf9d321917bfab65a93f2118c688422cf4 SHA512 de2fc4d84a08fb98a41bb3e5f11d31535810e6f796aacaeacf784e1ed0fd7d99c5aa3a5e689fe22bbc7149518ea695979b4e66b6dd2b876e4cc9ad126564618c diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0-r2.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0-r2.ebuild deleted file mode 100644 index 120d3968bcd9..000000000000 --- a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.5.0-r2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_BUILD_TYPE="Release" -LLVM_MAX_SLOT="13" -MY_PN="${PN/intel-/}" -MY_P="${MY_PN}-${PV}" -PYTHON_COMPAT=( python3_{8..11} ) - -inherit cmake llvm python-any-r1 - -DESCRIPTION="A set of new intrinsics on top of core LLVM IR instructions" -HOMEPAGE="https://github.com/intel/vc-intrinsics" -SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-libs/libxml2:2= - sys-devel/llvm:${LLVM_MAX_SLOT} - sys-libs/zlib -" -RDEPEND="${DEPEND}" -BDEPEND="${PYTHON_DEPS}" - -src_configure() { - local mycmakeargs=( - -DLLVM_DIR="$(get_llvm_prefix ${LLVM_MAX_SLOT})" - ) - - cmake_src_configure -} diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.4.2-r3.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.7.1-r1.ebuild index 120d3968bcd9..4309f35c38df 100644 --- a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.4.2-r3.ebuild +++ b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.7.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 CMAKE_BUILD_TYPE="Release" -LLVM_MAX_SLOT="13" +LLVM_MAX_SLOT="14" MY_PN="${PN/intel-/}" MY_P="${MY_PN}-${PV}" PYTHON_COMPAT=( python3_{8..11} ) diff --git a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.7.1.ebuild b/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.7.1.ebuild deleted file mode 100644 index 120d3968bcd9..000000000000 --- a/dev-libs/intel-vc-intrinsics/intel-vc-intrinsics-0.7.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_BUILD_TYPE="Release" -LLVM_MAX_SLOT="13" -MY_PN="${PN/intel-/}" -MY_P="${MY_PN}-${PV}" -PYTHON_COMPAT=( python3_{8..11} ) - -inherit cmake llvm python-any-r1 - -DESCRIPTION="A set of new intrinsics on top of core LLVM IR instructions" -HOMEPAGE="https://github.com/intel/vc-intrinsics" -SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-libs/libxml2:2= - sys-devel/llvm:${LLVM_MAX_SLOT} - sys-libs/zlib -" -RDEPEND="${DEPEND}" -BDEPEND="${PYTHON_DEPS}" - -src_configure() { - local mycmakeargs=( - -DLLVM_DIR="$(get_llvm_prefix ${LLVM_MAX_SLOT})" - ) - - cmake_src_configure -} diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index 3e86c2438ccd..f50ef272ff5a 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1,3 +1,5 @@ DIST level-zero-1.8.5.tar.gz 694514 BLAKE2B ba0a247f07662bca58938600980196a03cc1f5588cbd80b6797a595e6781d7e23ca80d9256530625c1c07317e26cc799b06e4b66433496e5c61da4c45f814958 SHA512 42fde1f57ac86857563573e5367e68640b8e864704d779c3b337fab80d9f9ed85a6f6ca71700e87da92afbc4560eae73a6552a38b8a90f1e8cf039cf5937ae4b +DIST level-zero-1.8.8.tar.gz 695251 BLAKE2B cca0c35bcd9bd168187804eb3600d4ea17276be58a3a7db6da62908d9469e480dde966191e450fc80411f7caf60302bdb6c0cbaf741e7c7b59ad962a85d0d1c5 SHA512 b9b416beebbe96cd75d18d4cf888f539d908007629085f8692cd0898545e564b56671d060bc4961847df57a6c3b3beccbaa6f31539b6f4c201487961236ab83d EBUILD level-zero-1.8.5.ebuild 633 BLAKE2B db2abed915bb21a15585d375da4e5c95551ba19759aaba35d0a00c166dc44ab40ef277750c1f686ab254e561d38b96caa989530db6be975bd7509598315fa083 SHA512 f6f54a8436af8885fc2020785930dc2ce59dd381ae1677f45a472f5fdb9ef80d53d34d17aaa2fddad1539754a86b30711a691a44599f705484101b9495238df1 +EBUILD level-zero-1.8.8.ebuild 634 BLAKE2B ebb868ccae3ecc9d3782fff25bbd5bf23fe8c4f0fcf604ea721c7341111b1571ca76bb32e852ba0315854ca5ca22a9a51f95fcaac2b7a336af17feea922f3015 SHA512 0a4b7b3d5c0bef12696b6a7e08313f315835862602a4886448de7a86260d19ad12280aa7333e6e2336b1870bc2bd9398d97730f015f794abf3b94e1a3db74135 MISC metadata.xml 586 BLAKE2B 44eca05640a9276ea9cbddccc0d199dc8c7297a3fbf5ad6b58693c406961efa2aabf99501faaace47ce6bb97736fe371533e89a5a700949b03db66359222b269 SHA512 da9b222b216ed217842f236eeb1991e31ec4f140d86c0a048e9e401a18018d90d6ad8d4f10edec8b71386687bc9481ebf9154a1190bf6969d4fab04bba20100e diff --git a/dev-libs/level-zero/level-zero-1.8.8.ebuild b/dev-libs/level-zero/level-zero-1.8.8.ebuild new file mode 100644 index 000000000000..fc6029d86bbc --- /dev/null +++ b/dev-libs/level-zero/level-zero-1.8.8.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="oneAPI Level Zero headers, loader and validation layer" +HOMEPAGE="https://github.com/oneapi-src/level-zero" +SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" + +src_prepare() { + cmake_src_prepare + + # According to upstream, release tarballs should contain this file but at least + # some of them do not. Fortunately it is trivial to make one ourselves. + echo "$(ver_cut 3)" > "${S}"/VERSION_PATCH || die +} diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index 08d71af4f3f0..3ee1dc316eeb 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -3,9 +3,11 @@ DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8 DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243 +DIST llvm-project-ebb258d3b0785f6dcc65e1f277d0690891ddc94d.tar.gz 168823463 BLAKE2B 111afe0f6ba6cef28c3d0162c9c650d15239f981949030768780ebe308418346d0ad367e0e58417832ae43e57b27bccaf56415f81e8221c6c5e78d1113f5617b SHA512 80351d7eeac77a15bf5613b289c71d718ecaccd8a6a4ea6736ed8bfc15c8154099c771564f99ea6c8b491f99bf1ca3a45fac977d638f6a03d7f7b42ba522fa20 EBUILD libclc-14.0.6.ebuild 1390 BLAKE2B eb984d3f19f3b147d3974722c11218117240cad75033c12eb6664ef7d492e9ed77fd3c3dfef2fe59bb0c23716072b7ff3b10840b19b213fa96121d5aa7faa335 SHA512 66b74a3cb2ee6c54e6d348d64fe239f2ea72a43f28d1ab0cf22a4757cf87cadde427516d8aa74b4c95a947f38d01571f23e69388a04694527e2be9b0fd1bf94e EBUILD libclc-15.0.2.ebuild 1413 BLAKE2B 837a7970e531e7198059f14a7ab25f416852993c0775b76baf01e334cc6050ba0714cf74ce645b9c8aa6312152b5991b2aef2ae7d1d10d0235ab6724efe35a28 SHA512 047251cbf6e7185be5061d5d1e6db01833a97702b844511bc5a0db76b7323cb5f253f3ac77593c0b989515b7651c3bef2e3def8b017b1233457bd1ae4696dda5 EBUILD libclc-15.0.3.9999.ebuild 1402 BLAKE2B 3c240051e1752ea60d9c040f75a5f95319e97754684c4e98c8bdcc8fe60ec266736d573f71929328f12ce96357ca33376244adf7305d674ec5e21a182b635bb6 SHA512 0986f1338d3048444632759c5276c1bbfc8ed4dc4450a83603985aea7643b26eef86d24550eba3b52be06e851c0ad4d866eee295e84385b26bc3df911c1ad9a6 EBUILD libclc-16.0.0.9999.ebuild 1423 BLAKE2B 340c42c12fee9ca7f7fca73019d304e182f4e67b4ccd01c742f893483246d95fceafb4bdbdb6b3832520803ab3a7c58b6a21ead7ae40e32c7f0a3cbd48cab862 SHA512 448e79b028b81c9a6a601abb16ed1b4e71ae73611820e5c0f4287a924011619fe9af7d06eb0f2458a3c07fec8e30d1298d3ab810d5bd8bd995fe4e3e894b84c5 EBUILD libclc-16.0.0_pre20221006.ebuild 1423 BLAKE2B 340c42c12fee9ca7f7fca73019d304e182f4e67b4ccd01c742f893483246d95fceafb4bdbdb6b3832520803ab3a7c58b6a21ead7ae40e32c7f0a3cbd48cab862 SHA512 448e79b028b81c9a6a601abb16ed1b4e71ae73611820e5c0f4287a924011619fe9af7d06eb0f2458a3c07fec8e30d1298d3ab810d5bd8bd995fe4e3e894b84c5 +EBUILD libclc-16.0.0_pre20221010.ebuild 1423 BLAKE2B 340c42c12fee9ca7f7fca73019d304e182f4e67b4ccd01c742f893483246d95fceafb4bdbdb6b3832520803ab3a7c58b6a21ead7ae40e32c7f0a3cbd48cab862 SHA512 448e79b028b81c9a6a601abb16ed1b4e71ae73611820e5c0f4287a924011619fe9af7d06eb0f2458a3c07fec8e30d1298d3ab810d5bd8bd995fe4e3e894b84c5 MISC metadata.xml 394 BLAKE2B 2c73a04cae5f0956ff187000d761ce8709fa39ab701f9adf2747f87da65fee48f996a56df540d5b95cfdecadef6383001b5e3dd57e1002f7f494d1ba3ecc987c SHA512 17bc874995ebeff9513d60dc850f3d1c5e7a3417f7170ec727edae1d09fb83242955ad24ff3fd24718a8eeadc80602cbe21618d081d50e6dc809a597dca72df1 diff --git a/dev-libs/libclc/libclc-16.0.0_pre20221010.ebuild b/dev-libs/libclc/libclc-16.0.0_pre20221010.ebuild new file mode 100644 index 000000000000..2ec99d83a103 --- /dev/null +++ b/dev-libs/libclc/libclc-16.0.0_pre20221010.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit cmake llvm llvm.org python-any-r1 + +DESCRIPTION="OpenCL C library" +HOMEPAGE="https://libclc.llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )" +SLOT="0" +KEYWORDS="" +IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi" +IUSE="${IUSE_VIDEO_CARDS}" +REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )" + +LLVM_MAX_SLOT=16 +BDEPEND=" + ${PYTHON_DEPS} + || ( + sys-devel/clang:16 + sys-devel/clang:15 + sys-devel/clang:14 + sys-devel/clang:13 + ) +" + +LLVM_COMPONENTS=( libclc ) +llvm.org_set_globals + +llvm_check_deps() { + has_version -b "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + # we do not need llvm_pkg_setup + python-any-r1_pkg_setup +} + +src_configure() { + local libclc_targets=() + + use video_cards_nvidia && libclc_targets+=( + "nvptx--" + "nvptx64--" + "nvptx--nvidiacl" + "nvptx64--nvidiacl" + ) + use video_cards_r600 && libclc_targets+=( + "r600--" + ) + use video_cards_radeonsi && libclc_targets+=( + "amdgcn--" + "amdgcn-mesa-mesa3d" + "amdgcn--amdhsa" + ) + # TODO: spirv + [[ ${#libclc_targets[@]} ]] || die "libclc target missing!" + + libclc_targets=${libclc_targets[*]} + local mycmakeargs=( + -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}" + -DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" + ) + cmake_src_configure +} diff --git a/dev-libs/libical/Manifest b/dev-libs/libical/Manifest index b0f08df75e20..ff7879d8829e 100644 --- a/dev-libs/libical/Manifest +++ b/dev-libs/libical/Manifest @@ -1,7 +1,10 @@ AUX libical-3.0.11-pkgconfig-libdir.patch 612 BLAKE2B 90b53adfb90684dd8c18f91a4de5d87df9cf590e097e414eef7ec92221dddbc5b0ade7b3deccd1aed6c7c61c1d9bb16663d2e1910718ced1f21a55ffeffe7a16 SHA512 bf1af662e65d62778fcc946543d41e4fd592a90bb643a8b584916c4d62ddb100c1746aaf0d4b4698c1b97de19926220f7c3c8dd03014febfdce32015571f77eb +AUX libical-3.0.15-fortify-source-3.patch 1360 BLAKE2B 4155d408caf7bc5922ec112ed3cb64a5d53016235177a7505ec915c2fae0d6fa49d507c59648575abd5eca0b9078691c8eacea32374aa29003190a5c12f42fa8 SHA512 3ac6c47cacfac4beb49e128258d954b47c229e3562d68d7fc72f874ea2d5949f2f4571393ff458eb3344bbf4ad81d0bbaf1889365f54de058d3d13e5f5712423 +AUX libical-3.0.15-revert-bad-fuzz-fix.patch 1321 BLAKE2B e77387606ad1f74bf63d5941b73a586fb9a6bc5bd8dfa0de9b2837c382287b45448b459f0ef265dcb405f7c3ea082e5550147f487a6eaf8162b7edb24377eaa4 SHA512 7f79a56be0cf8faa9d438122ab1d3e0d2ec044ef3fd442337aee28e906da84e57dcad246aa4c3c40d75669dbf706fb6084460787f1dd99de060f4db9ebac5711 AUX libical-3.0.4-tests.patch 747 BLAKE2B 41c72700e8a87c3665144bf12e7ea2c7f74c1786eb21c4550d12ed3dd86fe587ca26471319e8a695983529f789085a1e4ca0fae4ca48cab97b5376ed858deede SHA512 16367f68d15112b37266a794efe4a19f7c971fafe48b13c85095f15657f9d98796067bce91680986615d95740269f8fe1d03deb674ce2bb952b462de1d2ab1c9 DIST libical-3.0.14.tar.gz 887795 BLAKE2B 8c073b77b5e4e6b24e3dfae7ac7a5f88da874bdfa53489cd04afd4d458d2fc963d39c2816691e777003ca9af510ceaf7bab9d7e1021942aa9c3adaad32ca8341 SHA512 36da5516672976c71b049a12af36164d91f9b655f81f1884766558149f25e80c30e64d15da848842f8a629295d708f39ce6fa63a3b0da39b5cbeb91911a4e6d8 DIST libical-3.0.15.tar.gz 920483 BLAKE2B 9d4c1a84440b2363537f678363f9b7d8061e429c5bf7bf9ae2c9ea33e328f238dc4ce0e79c66d33441a89b6c2e18527fdb7d40e80338dda0086b636b165d5ae2 SHA512 14f0eaabdd8fc56d91d2fff8647b3871439cceae3cb7af31eaae30b3cc29f818b6f9d582dd4770b8b3b0c6fe53684258d30c743a5fd5dd337fda64e3adae35ba EBUILD libical-3.0.14-r1.ebuild 2440 BLAKE2B f7d4d3913e10543772f7da02b7e46a554e7de91ff58637b9a967b190cf40b26da5c1496461ddc3f30baaeb92e215112da6d4b98adc13e2f244712d8b746ae62f SHA512 523081cc89e4d9773978b0b065f6a731ceeeae45771afd55014e74dac63394f42b8123068d87a2ad28b3c78eee24200860ab4aadaabd6dd49507ee0fe7e67706 +EBUILD libical-3.0.15-r1.ebuild 2536 BLAKE2B ee7695523a5302bb8fea197cc4cde607f9209165c2adcfda6249a3262bad792c16a3d922fea68bb7ce46bb7b2ec418ed75351f5c0223623dbf8fecfdd17180af SHA512 88e142adb81ff25ded36c820922988e0cc851515da7fd4604818453b20a78908811465affc919d22feb3d42d1d27e86248a645a8651a9b22ec9a6ab129f25840 EBUILD libical-3.0.15.ebuild 2447 BLAKE2B 94f7dd83a66e8471328950566b928477a0beb10931a7471fc1181f83345ba43b7e2020f101ee10586819d638b08315c90fff7b6cd6a73d8cd3fea96eb73a8918 SHA512 88db4b2dbda9d7cf39405a29421a22f3ba6861c9cd8a6aa33fde2cdb590479da9db2344a69e6369be1fd16707c97a9b1be58885cd352956ddec549acf95c828d MISC metadata.xml 426 BLAKE2B bdc616f3bedfa391b56edde0bd0f350b171c1f9afa2a8a9e0166e71ecf1177946aae064bea9f48fb9933d24cb94fd784a299bd97b12ad7236b3483641a5dd763 SHA512 663bef7814dfd66077f1046094879c0ec1eb0165d616e85c08eb0ff9cecd3557afd31e7d8dda8f1e95aca6955d94818f3253c8b763ff135195d41b1b1e871d5c diff --git a/dev-libs/libical/files/libical-3.0.15-fortify-source-3.patch b/dev-libs/libical/files/libical-3.0.15-fortify-source-3.patch new file mode 100644 index 000000000000..830d646b74d0 --- /dev/null +++ b/dev-libs/libical/files/libical-3.0.15-fortify-source-3.patch @@ -0,0 +1,43 @@ +https://github.com/libical/libical/commit/d67034b31cebe0db3ca65342813336b123921a15 +https://github.com/libical/libical/issues/603 +https://bugs.gentoo.org/876625 + +From: Allen Winter <allen.winter@kdab.com> +Date: Fri, 7 Oct 2022 09:43:32 -0400 +Subject: [PATCH] fix problem found with gcc fortify builds + +fixes: #603 +--- a/src/libical/icaltz-util.c ++++ b/src/libical/icaltz-util.c +@@ -732,7 +732,7 @@ icalcomponent *icaltzutil_fetch_timezone(const char *location) + for (i = 0; i < num_trans; i++) { + int by_day = 0; + time_t start; +- enum icalrecurrencetype_weekday dow; ++ enum icalrecurrencetype_weekday dow = ICAL_NO_WEEKDAY; + + prev_idx = idx; + idx = trans_idx[i]; +--- a/src/libicalss/icalbdbset.c ++++ b/src/libicalss/icalbdbset.c +@@ -529,7 +529,7 @@ int icalbdbset_get_key(DBC *dbcp, DBT *key, DBT *data) + int icalbdbset_delete(DB *dbp, DBT *key) + { + DB_TXN *tid; +- int ret; ++ int ret = 0; + int done = 0; + int retry = 0; + +--- a/src/test/regression.c ++++ b/src/test/regression.c +@@ -2322,7 +2322,7 @@ void test_fblist() + char *strp = out_str; + + for (i = 0; foo[i] != -1; i++) { +- snprintf(strp, 79, "%1d", foo[i]); ++ snprintf(strp, 79-i, "%1d", foo[i]); + strp++; + } + str_is("Checking freebusy validity", out_str, "1121110"); + diff --git a/dev-libs/libical/files/libical-3.0.15-revert-bad-fuzz-fix.patch b/dev-libs/libical/files/libical-3.0.15-revert-bad-fuzz-fix.patch new file mode 100644 index 000000000000..e6f4d33ad286 --- /dev/null +++ b/dev-libs/libical/files/libical-3.0.15-revert-bad-fuzz-fix.patch @@ -0,0 +1,36 @@ +https://github.com/libical/libical/commit/eeccee80d0485bdd3951924b294a82e8bc39a5f8 +https://bugs.gentoo.org/876622 + +From: Allen Winter <allen.winter@kdab.com> +Date: Mon, 10 Oct 2022 14:58:29 -0400 +Subject: [PATCH] Revert "src/libical/icalparser.c - fix a fuzz issue for + integer overflow" + +This reverts commit ca3e2ad983771b90da259994b7a6d7de1fd1abdc. +--- a/src/libical/icalparser.c ++++ b/src/libical/icalparser.c +@@ -630,7 +630,6 @@ icalcomponent *icalparser_parse(icalparser *parser, + icalparser_line_gen_func line_gen_func) + { + char *line; +- unsigned int cnt = 0; + icalcomponent *c = 0; + icalcomponent *root = 0; + icalerrorstate es = icalerror_get_error_state(ICAL_MALFORMEDDATA_ERROR); +@@ -641,7 +640,6 @@ icalcomponent *icalparser_parse(icalparser *parser, + icalerror_set_error_state(ICAL_MALFORMEDDATA_ERROR, ICAL_ERROR_NONFATAL); + + do { +- cnt++; + line = icalparser_get_line(parser, line_gen_func); + + if ((c = icalparser_add_line(parser, line)) != 0) { +@@ -681,7 +679,7 @@ icalcomponent *icalparser_parse(icalparser *parser, + icalmemory_free_buffer(line); + cont = 1; + } +- } while (cont && cnt < TMP_BUF_SIZE); ++ } while (cont); + + icalerror_set_error_state(ICAL_MALFORMEDDATA_ERROR, es); + diff --git a/dev-libs/libical/libical-3.0.15-r1.ebuild b/dev-libs/libical/libical-3.0.15-r1.ebuild new file mode 100644 index 000000000000..f3c4f2d2e9b4 --- /dev/null +++ b/dev-libs/libical/libical-3.0.15-r1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +VALA_USE_DEPEND="vapigen" +inherit cmake python-any-r1 vala + +DESCRIPTION="Implementation of basic iCAL protocols" +HOMEPAGE="https://github.com/libical/libical" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="|| ( MPL-2.0 LGPL-2.1 )" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="doc examples +glib +introspection static-libs test vala" + +REQUIRED_USE="introspection? ( glib ) vala? ( introspection )" + +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/icu:= + glib? ( dev-libs/glib:2 ) +" +DEPEND="${COMMON_DEPEND} + glib? ( dev-libs/libxml2:2 ) +" +RDEPEND="${COMMON_DEPEND} + sys-libs/timezone-data +" +BDEPEND=" + dev-lang/perl + virtual/pkgconfig + doc? ( + app-doc/doxygen[dot] + glib? ( dev-util/gtk-doc ) + ) + introspection? ( dev-libs/gobject-introspection ) + test? ( + ${PYTHON_DEPS} + glib? ( $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') ) + ) + vala? ( $(vala_depend) ) +" + +DOCS=( + AUTHORS README.md ReleaseNotes.txt TEST THANKS TODO + doc/{AddingOrModifyingComponents.txt,UsingLibical.md} +) + +PATCHES=( + "${FILESDIR}/${PN}-3.0.4-tests.patch" + "${FILESDIR}/${PN}-3.0.11-pkgconfig-libdir.patch" + "${FILESDIR}/${P}-fortify-source-3.patch" + "${FILESDIR}/${P}-revert-bad-fuzz-fix.patch" +) + +python_check_deps() { + python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + use examples || cmake_comment_add_subdirectory examples + use vala && vala_setup +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_BerkeleyDB=ON + -DICAL_BUILD_DOCS=$(usex doc) + -DICAL_GLIB=$(usex glib) + -DGOBJECT_INTROSPECTION=$(usex introspection) + -DSHARED_ONLY=$(usex !static-libs) + -DLIBICAL_BUILD_TESTING=$(usex test) + -DICAL_GLIB_VAPI=$(usex vala) + ) + if use vala; then + mycmakeargs+=( + -DVALAC="${VALAC}" + -DVAPIGEN="${VAPIGEN}" + ) + fi + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + if use doc; then + cmake_src_compile docs + + HTML_DOCS=( "${BUILD_DIR}"/apidocs/html/. ) + fi +} + +src_test() { + local myctestargs=( + -E "(icalrecurtest|icalrecurtest-r)" # bug 660282 + ) + + cmake_src_test +} + +src_install() { + cmake_src_install + + if use examples; then + rm examples/CMakeLists.txt || die + dodoc -r examples + fi +} diff --git a/dev-libs/liborcus/Manifest b/dev-libs/liborcus/Manifest index d1687bdeb3d5..ae8986a9d4d8 100644 --- a/dev-libs/liborcus/Manifest +++ b/dev-libs/liborcus/Manifest @@ -3,5 +3,5 @@ AUX liborcus-0.17.2-clang.patch 1095 BLAKE2B 8ed1904f8e2d35447ad5275b5dc58f1ba72 AUX liborcus-0.17.2-gcc-13.patch 843 BLAKE2B 80d9c07b9497ee4322f5c0c2faf3c967773e23cad20e8107e274c4e781974c6a658ac5452b3f28ad6e978f8b6459c7dfcc6476ce2ab0a6846adbe646c4218a25 SHA512 caa36e269a88f380bb8848a28e44d92f93ba0b363a27f4ea2db4de4c91b2e11e25a2c0b170c150f25c15ca609fd55511c06f9bebf178aa30e3ddfab6af5f381a DIST liborcus-0.17.2.tar.xz 1839188 BLAKE2B d274e3af71df16866e305403d63d3978613915753412ac9de19d7de7802930c3886d8653d6d48a8d9a971dc0ee284f8f83af8dc07850b5f28fcdab2815b6d9b2 SHA512 8ad8db46c23673260057aff555286d95ebfeff0a027bdeae24f11f8aa12456284f7f4446edddb91936b3011eb1227cfe1618ab3c4d909f8356c8c151f5739d79 EBUILD liborcus-0.17.2.ebuild 1466 BLAKE2B b6d4866d6aec721061c2ba59b0a5a33c6d57a2cd5af4834e921b67b0a8877ba42d9f4dbfee53d42bc41ac5a54050c0d3a0ea503471afb37346798a493b57a660 SHA512 939cd35cd20964be647b67985167dc2bba4b2787fb2503b51c9aa560ac753f9037d522bdd890a4677aff6ebe41d5cc1fe4cb9d34aae30ab13205d90ea20cc15f -EBUILD liborcus-9999.ebuild 1449 BLAKE2B c993233e271bb4cfc885bcae0bdf8422267e949ccf0bc3f411edaa2a0773c1c8e8980387710c87c3d1605a86a60e8011df471cf04574e74c14a59da9cf82f6ae SHA512 89e0d1acb0be5ab01e179f43f9dae77ce1f3a161f7e28adec10961ceda4201eefb5e1ea9c6bb303f31fdc2efecff381f2a081cb192ec43f938b1d169a01d3b02 +EBUILD liborcus-9999.ebuild 1448 BLAKE2B 3f942402db94df2edd19b0b29d22cf1494e1944246b6ff1f0d92d958d653e87266fd0b9a5928a4c280fc6d1d964aea712181a4d8fb0ce0e08625a1064afc4222 SHA512 b79426d7bfe5ee8ccd5bb35df0f26db67c001daca01a7f159e796c1577821dc49a00869f98416ee84a5eff01a90df3439f2d5cd3db33456d4cae8a1833c1d4ad MISC metadata.xml 557 BLAKE2B b8dd01b0df50a1c6dafedc40f4cebbbd7851ee67fd1ac94f4c8107f052db8721ce12b0ae486e42f459e0b5d337525edc0359e9e94b8da1261e3521c11f66ef64 SHA512 2eca4f5fd25121bdb3ecb9470b66c2c5373ab266c53bf7af55b3f46245ad6973f3cd65ff80c6d1c33cb738136cddf22489b61dc1863701225842ca9dfa4e2c9d diff --git a/dev-libs/liborcus/liborcus-9999.ebuild b/dev-libs/liborcus/liborcus-9999.ebuild index 24525403dd48..ccd372165c87 100644 --- a/dev-libs/liborcus/liborcus-9999.ebuild +++ b/dev-libs/liborcus/liborcus-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit autotools python-single-r1 @@ -22,7 +22,7 @@ else fi LICENSE="MIT" -SLOT="0/0.17" # based on SONAME of liborcus.so +SLOT="0/0.18" # based on SONAME of liborcus.so IUSE="python +spreadsheet-model test tools" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |