From 7166f3a0a0b7886d340010458d0b130013cb9989 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Aug 2024 12:00:19 +0100 Subject: gentoo auto-resync : 28:08:2024 - 12:00:19 --- dev-libs/Manifest.gz | Bin 101340 -> 101515 bytes dev-libs/ayatana-ido/Manifest | 2 +- dev-libs/ayatana-ido/ayatana-ido-0.10.2.ebuild | 2 +- dev-libs/capstone/Manifest | 7 +- dev-libs/capstone/capstone-5.0.1.ebuild | 2 +- dev-libs/capstone/capstone-5.0.3.ebuild | 100 +++++++++++++++++++++ dev-libs/capstone/capstone-9999.ebuild | 4 +- dev-libs/capstone/files/capstone-5.0.2-tests.patch | 17 ++++ dev-libs/ell/Manifest | 2 + dev-libs/ell/ell-0.68.ebuild | 59 ++++++++++++ dev-libs/libayatana-appindicator/Manifest | 2 +- .../libayatana-appindicator-0.5.93.ebuild | 2 +- dev-libs/libayatana-indicator/Manifest | 2 +- .../libayatana-indicator-0.9.4.ebuild | 2 +- dev-libs/libclc/Manifest | 7 -- dev-libs/libclc/libclc-19.1.0_rc2.ebuild | 61 ------------- dev-libs/libclc/libclc-20.0.0_pre20240808.ebuild | 61 ------------- dev-libs/libclc/libclc-20.0.0_pre20240815.ebuild | 61 ------------- dev-libs/libfmt/Manifest | 2 +- dev-libs/libfmt/libfmt-9.1.0-r2.ebuild | 2 +- dev-libs/libgpiod/Manifest | 1 - dev-libs/libgpiod/files/libgpiod-2.1-libtool.patch | 66 -------------- dev-libs/libkdumpfile/Manifest | 6 ++ .../files/libkdumpfile-0.5.4-32-bit-tests.patch | 73 +++++++++++++++ .../files/libkdumpfile-0.5.4-c99.patch | 48 ++++++++++ ...dumpfile-0.5.4-disabled-compression-tests.patch | 68 ++++++++++++++ dev-libs/libkdumpfile/libkdumpfile-0.5.4.ebuild | 71 +++++++++++++++ dev-libs/libkdumpfile/metadata.xml | 11 +++ dev-libs/tree-sitter-go/Manifest | 2 + .../tree-sitter-go/tree-sitter-go-0.23.0.ebuild | 13 +++ dev-libs/tree-sitter-html/Manifest | 2 + .../tree-sitter-html-0.20.4.ebuild | 15 ++++ dev-libs/tree-sitter-javascript/Manifest | 2 + .../tree-sitter-javascript-0.21.4.ebuild | 15 ++++ dev-libs/tree-sitter-python/Manifest | 2 + .../tree-sitter-python-0.23.0.ebuild | 15 ++++ dev-libs/tree-sitter-regex/Manifest | 2 + .../tree-sitter-regex-0.21.0.ebuild | 13 +++ dev-libs/tree-sitter/Manifest | 2 + dev-libs/tree-sitter/tree-sitter-0.23.0.ebuild | 50 +++++++++++ 40 files changed, 604 insertions(+), 270 deletions(-) create mode 100644 dev-libs/capstone/capstone-5.0.3.ebuild create mode 100644 dev-libs/capstone/files/capstone-5.0.2-tests.patch create mode 100644 dev-libs/ell/ell-0.68.ebuild delete mode 100644 dev-libs/libclc/libclc-19.1.0_rc2.ebuild delete mode 100644 dev-libs/libclc/libclc-20.0.0_pre20240808.ebuild delete mode 100644 dev-libs/libclc/libclc-20.0.0_pre20240815.ebuild delete mode 100644 dev-libs/libgpiod/files/libgpiod-2.1-libtool.patch create mode 100644 dev-libs/libkdumpfile/Manifest create mode 100644 dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-32-bit-tests.patch create mode 100644 dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-c99.patch create mode 100644 dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-disabled-compression-tests.patch create mode 100644 dev-libs/libkdumpfile/libkdumpfile-0.5.4.ebuild create mode 100644 dev-libs/libkdumpfile/metadata.xml create mode 100644 dev-libs/tree-sitter-go/tree-sitter-go-0.23.0.ebuild create mode 100644 dev-libs/tree-sitter-html/tree-sitter-html-0.20.4.ebuild create mode 100644 dev-libs/tree-sitter-javascript/tree-sitter-javascript-0.21.4.ebuild create mode 100644 dev-libs/tree-sitter-python/tree-sitter-python-0.23.0.ebuild create mode 100644 dev-libs/tree-sitter-regex/tree-sitter-regex-0.21.0.ebuild create mode 100644 dev-libs/tree-sitter/tree-sitter-0.23.0.ebuild (limited to 'dev-libs') diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz index b5a2fc31e575..71bca1ab806b 100644 Binary files a/dev-libs/Manifest.gz and b/dev-libs/Manifest.gz differ diff --git a/dev-libs/ayatana-ido/Manifest b/dev-libs/ayatana-ido/Manifest index bd6f579881f7..e8205602ebf1 100644 --- a/dev-libs/ayatana-ido/Manifest +++ b/dev-libs/ayatana-ido/Manifest @@ -1,7 +1,7 @@ DIST ayatana-ido-0.10.2.tar.gz 137434 BLAKE2B dee5d048c05ea7eced96896abd0bdad804b6d2f9f7b03b01b8839a433bec7bb7da64c57f2ce2128e4d6044d3608b73ba6ed984f464a436ba6f8ac4cc8a949025 SHA512 c4d143a93331984758755b3c8b2c5dc92a07bccf8994ebaa24688ceec52b32049677144045817686210594df961e49eee90ff0ede5905153950eb2a9d20605c5 DIST ayatana-ido-0.10.4.tar.gz 137966 BLAKE2B 02b7de508de1e5463895fe7bed002e1cdb2b9c6a5142f240cfa7cd7dfa6b4f404f3fdb5f063352be3338ddac2e890eea2cec67b4a1cf0811b9d915231f23d2d2 SHA512 a36b67cb505b9340a8193e281c72831b56d6a620054e99e1032145ec0d8d26fe4768402b36ee4d7e115dbbd6fb393cc15c3d71c15d040f5eb22d3d2114f80536 DIST ayatana-ido-0.9.3.tar.gz 122912 BLAKE2B 80c07c6f90b7e2b6d68c2629990918f091abdc85616cbf472dbcc1bbea87dabb9649d8da4d676f1acbc65c34e5a5b53143449759a0d65661352898199c1ea592 SHA512 61c9fe35be9dceabba3d61add0fa51cf0447572dbedf48f710b79cf9c4fed2a049f6d2c0069ae8499aa41f008e736e257da47c6b07fd4e20778689c9ab6853d4 -EBUILD ayatana-ido-0.10.2.ebuild 927 BLAKE2B 18ae8e6ca67cdff43abed0e35b316466500ddfae0421ba2d4060b17b7dd1f05c268aa0c67d105036b00702cd9120db76600d8e551c0c9b416d086a3a8959937e SHA512 1da5e397188dea9bc3da178703d6a71142ff0df55b7b720cbb7482da7176c7a9ac754b50d416e661fa1d2df6217b7934c277bbc10b19553c9321a7193ceb4dc0 +EBUILD ayatana-ido-0.10.2.ebuild 923 BLAKE2B b2071effe1db9a4a27c37553f0199c0efcb38d1d0d3ce4323c4e43ea56770e76c6d6156c9eb8d9048f5227994ea0bc975416c7f93f857362354a3a38fc3ea1fc SHA512 f13bbb87a18ae52aa8e400a8c72a0ad21fd0d06d786aafaa3ec5cbfe92c235747cb862ea62c664e64ca78f87a1c99dda9bad4cb0bff58ccc1a703b63a48b53f4 EBUILD ayatana-ido-0.10.4.ebuild 927 BLAKE2B 8da488e06ce38e09808683417ec380883a61f572edc0d672ee5b701c8373872b26ee05b6c4784a2d62f541419615396ea96236a597552a0b81a699c567130026 SHA512 2583730447d929155db036967abaa6b9755ecf5767f6ae6efc4aa673b753b7421367be1045f6d13864f5d603978d578ac278fa662f60d4ed8a4dc0a17b96205b EBUILD ayatana-ido-0.9.3.ebuild 921 BLAKE2B dec6e9b1899612e50c3737c91c49e11b31cac2c4596552900f226985af8cb8884227dc927b12dc5689cb85c467885d8a7224e40d9df199b3525cb5878cfc1b32 SHA512 7e5aa5908e1993f9a75dc3b0fb66aa95e9e6249592a5fbec9fea6c74a74f68b3cb21936d7f410cc6e63501632488935d532a47c552b663fa7ac1177e20ee182d MISC metadata.xml 311 BLAKE2B 28fa9db014e9362128d165b27c8f26056169acdc0fe2b438c9d3d47d473a4d05116cf65e061d5a881052b081df278678fa8c8d70d7b16765cd7b4881e6c8a2ea SHA512 504ed1007b71b9964cd9a0718270cf2147069eaa1eac3e13f2837d10486d893fddfad3458835d582c37c9987f8542702782db4f853d51cf3cddcdac96d5fb635 diff --git a/dev-libs/ayatana-ido/ayatana-ido-0.10.2.ebuild b/dev-libs/ayatana-ido/ayatana-ido-0.10.2.ebuild index 9ba002fe8538..b0ff811aa2bf 100644 --- a/dev-libs/ayatana-ido/ayatana-ido-0.10.2.ebuild +++ b/dev-libs/ayatana-ido/ayatana-ido-0.10.2.ebuild @@ -15,7 +15,7 @@ SLOT="0" IUSE="test" RESTRICT="!test? ( test )" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86" RDEPEND=" >=dev-libs/glib-2.58:2 diff --git a/dev-libs/capstone/Manifest b/dev-libs/capstone/Manifest index 20103e307b04..97e2fc5f6875 100644 --- a/dev-libs/capstone/Manifest +++ b/dev-libs/capstone/Manifest @@ -1,5 +1,8 @@ +AUX capstone-5.0.2-tests.patch 625 BLAKE2B 0e5b839d2beef6f9f971a5dbb08071e8398d3d406908a1570d193668637d349675ae80fd7d36e3fb26a802c5029896e2130fc553714159be1576d946d3ad02a3 SHA512 bdd42ff8764303b20acdd8a0d34e6f00d3f06aca6afa2aa3c48246934897aa5ab3a4bfee7a543c04594142075da00197ceec54de14bfdd22a45d9d672a8d5e27 AUX capstone-9999-werror.patch 791 BLAKE2B f8456764a5af797eb0c5ad9460a44c7621e96d0a673450ed7c529b9ba73d90ebd3221aefaee95f210e65c900471aebdc82e6224f9b0ed24d4b855e28b4042ece SHA512 708908bd93f6fad559075414ccd6449fa285afe18d92c377fffaddf475755249fda9cd66e5504379976f350beaf934e5cdd37e8697ff00cc24532372caed15f9 DIST capstone-5.0.1.tar.gz 7654195 BLAKE2B 83f6681d4c9c748df00daf59f7b33637ab72eee661261c22acae40a6db2def70bb6b5339d731244fdbae6f1e1b0b5b22bb6f60c1390a1bebceb97b3f810aedb0 SHA512 350aba77ce2d96b5c25764913591ba80e4497177ae0a8b2c820c6755ee8310848fbfc54e7ccac27fafc2dbc6778118ad92c53d1b5cb601d4fa146dec7d7e11e5 -EBUILD capstone-5.0.1.ebuild 1806 BLAKE2B 5209783a4f8c6a15d74fc4d2e5a4f94b34da343fd9a7c91dcb20d029bb8229f1029a6e6996c376b7c61697963af7a5e6e72ec02232a29672a1b47424249bc34c SHA512 88d37e7f2351856ebd90c94e7a4b10d61f10963d0ff8559dc8c9d0cd56208e8f14e4d9f1e69652f410d86689524c12f3ed0c757062e0fc8c8e2472232df1ce6b -EBUILD capstone-9999.ebuild 2043 BLAKE2B 1f3402a4ec5367ee7a345a67bbf904dbe90caee87c9a877f52ac736844ee182c9af81c0d4eb80c94f3f17cb45a43bb92988d662a34ea313a57f0159d6fc14f64 SHA512 b74f47af67c46a46bc2aae10bc64049e7875f81205cdf8f5b4d3a962fefd8823d76841e25df2ff93be3001448db3606385a59daf1efa97179767fc4d34504e3c +DIST capstone-5.0.3.tar.gz 7650875 BLAKE2B 3750964a95cbaba685dfb5cf511f12d18f2c157fb622a15c4615734987b8a49ffacf021457f36302606ccf9055e45a7fc56af000b8f09df467922896b431537c SHA512 2fd3194dd37065e6091d208c7670b12c0ca6872931eef794bd6b2dd624601c843e8ee6c5714eae0372e394e91a9bc1e4de7dfea6b1087542dd461226569101de +EBUILD capstone-5.0.1.ebuild 1806 BLAKE2B 8a3acac99fc3ef1675a9ade8eba6c6500ad8170ee2ca33705cd7b7121a8570f9a431367d3a5f22074c7ea59849f009625ea83db88e359d0590445f69b544d449 SHA512 88b195ce9e437ac5b4941f8bfd4260dca875823adc6b9c17a4680272013d0a88611c49b5f3cb641bebda4091819aed5d8cf508987fc97fbfcda52ad4ebd1a528 +EBUILD capstone-5.0.3.ebuild 1861 BLAKE2B 1217e3c28e490fe791ec85f54f180a27f86054f4d365637c474aac8ccd3c27cbdde9541c85d84a8b27242cc62bc542502e6f5e4ffd78038bfbf69d9e755d5533 SHA512 642648297dc7c83a1fd8b9287f47cac98cf3d896141ba2a625994b9b35cd5650a88b8967222dd6eb0feb0eceaf640c5c9064876694559c1e98190185a3b67342 +EBUILD capstone-9999.ebuild 2050 BLAKE2B 33a900e65d33839aaf226499676938e39eb0976ac78f7d5e9d3ef7ebfdc9c9a51e69bb12b5ab11172d49cab61c7f4e0d2bf1885d499d224ad8b8f4bd56f15243 SHA512 70920575466f4aa4fca8b0df7a1630dc33a5f8fdeca9386ac25185ccfbe9b674e36ad15c8f7e03d8d61f959d38803264b3bd15a6c03474875edf647ab4e41ad9 MISC metadata.xml 484 BLAKE2B 32c39bf06443ce4ca18191a4c9626cf517d5bd4f837c179e6186a68a0053217bf41d61d2c4d46c9792b1974879d22b36e4a02fa461a1b085acf5c4406bde4891 SHA512 f06dcd3133982f72cf21c5bb3d9a34207d7083233b5e70856f6a1dab60ef361cf1432659af30ea6b90fcb38cfdaec49f0792623ef841e136bc33cb5e1c40d1cf diff --git a/dev-libs/capstone/capstone-5.0.1.ebuild b/dev-libs/capstone/capstone-5.0.1.ebuild index b16146234667..0f09dd8b9584 100644 --- a/dev-libs/capstone/capstone-5.0.1.ebuild +++ b/dev-libs/capstone/capstone-5.0.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) DISTUTILS_EXT=1 DISTUTILS_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools diff --git a/dev-libs/capstone/capstone-5.0.3.ebuild b/dev-libs/capstone/capstone-5.0.3.ebuild new file mode 100644 index 000000000000..010a1343b07a --- /dev/null +++ b/dev-libs/capstone/capstone-5.0.3.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_EXT=1 +DISTUTILS_OPTIONAL=1 +DISTUTILS_USE_PEP517=setuptools + +inherit cmake distutils-r1 toolchain-funcs + +DESCRIPTION="disassembly/disassembler framework + bindings" +HOMEPAGE="https://www.capstone-engine.org/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/capstone-engine/capstone.git" + EGIT_REPO_BRANCH="next" +else + MY_PV="${PV/_rc/-rc}" + SRC_URI="https://github.com/capstone-engine/capstone/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${MY_PV}" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="BSD" +SLOT="0/5" # libcapstone.so.5 + +IUSE="python static-libs test" +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + python? ( dev-python/setuptools[${PYTHON_USEDEP}] ) +" +BDEPEND="${DISTUTILS_DEPS}" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/${PN}-5.0.2-tests.patch" +) + +if [[ ${PV} == *_rc* ]]; then + # Upstream doesn't flag release candidates (bug 858350) + QA_PKGCONFIG_VERSION="" +fi + +wrap_python() { + local phase=$1 + shift + + if use python; then + pushd bindings/python >/dev/null || die + distutils-r1_${phase} "$@" + popd >/dev/null || die + fi +} + +src_prepare() { + tc-export RANLIB + cmake_src_prepare + + wrap_python ${FUNCNAME} +} + +src_configure() { + local mycmakeargs=( + -DCAPSTONE_BUILD_TESTS="$(usex test)" + ) + cmake_src_configure + + wrap_python ${FUNCNAME} +} + +src_compile() { + cmake_src_compile + + wrap_python ${FUNCNAME} +} + +src_test() { + cmake_src_test + + wrap_python ${FUNCNAME} +} + +src_install() { + cmake_src_install + + wrap_python ${FUNCNAME} + + if ! use static-libs ; then + find "${ED}" -name '*.a' -delete || die + fi +} + +python_test() { + emake check +} diff --git a/dev-libs/capstone/capstone-9999.ebuild b/dev-libs/capstone/capstone-9999.ebuild index ae151ecdb8fb..ce469dd82485 100644 --- a/dev-libs/capstone/capstone-9999.ebuild +++ b/dev-libs/capstone/capstone-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) DISTUTILS_EXT=1 DISTUTILS_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools @@ -21,7 +21,7 @@ else MY_PV="${PV/_rc/-rc}" SRC_URI="https://github.com/capstone-engine/capstone/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${MY_PV}" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" fi LICENSE="BSD" diff --git a/dev-libs/capstone/files/capstone-5.0.2-tests.patch b/dev-libs/capstone/files/capstone-5.0.2-tests.patch new file mode 100644 index 000000000000..37ec431fb70b --- /dev/null +++ b/dev-libs/capstone/files/capstone-5.0.2-tests.patch @@ -0,0 +1,17 @@ +From b77714b446e93a0ab997b125ef1fb3ad9bc4bb9b Mon Sep 17 00:00:00 2001 +From: Mario Haustein +Date: Wed, 14 Aug 2024 23:28:45 +0200 +Subject: [PATCH] Fix 'make check' for python tests +Upstream: https://github.com/capstone-engine/capstone/pull/2439 + +--- a/bindings/python/Makefile ++++ b/bindings/python/Makefile +@@ -41,7 +41,7 @@ TESTS += test_lite.py test_iter.py test_customized_mnem.py test_alpha.py + check: + @for t in $(TESTS); do \ + echo Check $$t ... ; \ +- ./$$t > /dev/null; \ ++ ./tests/$$t > /dev/null; \ + if [ $$? -eq 0 ]; then echo OK; else echo FAILED; exit 1; fi \ + done + diff --git a/dev-libs/ell/Manifest b/dev-libs/ell/Manifest index ecbf3631b52f..fc5ae86e3729 100644 --- a/dev-libs/ell/Manifest +++ b/dev-libs/ell/Manifest @@ -1,6 +1,8 @@ DIST ell-0.66.tar.xz 570708 BLAKE2B 64beecc2dfc5a1b0feccc415801aee71e20a1fd115eadc950c7c85b5b8ba52fca57f029799291dbf75106987870f2d82a9dfdb80d2f5cf22d31c06151b43c491 SHA512 e2d18a41ff6e7cf2fa55309abfa55b64a126979ade81c3af6d9f1c2ea7976e5667914fa6d61754f6c4646aff5719110e0fd03bcaeaa1780ca2fe2b170202cfbc DIST ell-0.67.tar.xz 570720 BLAKE2B 27b886de9d4d4d812cf724e3a45f1bcb1cf021e0f88661357b14b643916c36ec6e0bdb8cbb177e33ff991483815af2176139c9bbad8645533aaa15830ce765a9 SHA512 a241c5f05bdff908d4c7a477d16f4d8857a725b3f1da5b08ecf031f73d1ebd80c6717dd99efbbf662a8801f10496249bc707d8dc17be88e63d0deb5418b3786a +DIST ell-0.68.tar.xz 573704 BLAKE2B 742f097f5adbaab790320ce509851b8baac8b0929194f319d7c9889fe0da1f3461a1fffba50fd93c7706d41f52220e0ea094488c4ea58bd9eb127b511a628912 SHA512 dc604015151e1bc5945c08e31fcf35a679264be13e31b4ee0e297defb7452b3bc6bf44b7e1c07177ff172708b099e2a2940b68ceb9937a1c285f3af01e64bc2c EBUILD ell-0.66.ebuild 1302 BLAKE2B c3e0317f346a3b648a81612e241237fee0b4a1205df7e49a15188987b317dcd2c8f1b2ef7a06a49bc3811ba273a304c843318aed517ec75ec0925cd594058317 SHA512 6c244f1f111fa09fed6611a46c5452975ea4cb5975232bb12bdcdc3506eb9a519d8a923c55bf9eee9f54b947d0cc9b86a0dac1cfaba4493fa0bd1789f05890ee EBUILD ell-0.67.ebuild 1308 BLAKE2B c99f92f55c142f41ae560d0c3616effe44a0d69850fd202e0fabe5416156da2f042689fdb94b714936870beec9599b3be8864e41ec3e35fb8b587fc6dc23db3b SHA512 26877dbf15e6b69e00581cfb779cbc80b52687b204554d3a0ff5bc93c8f1b14e32299a3efbeaae76711162f833e5e99b1ffbfadbd0f1fb86804f901ec98c8531 +EBUILD ell-0.68.ebuild 1308 BLAKE2B c99f92f55c142f41ae560d0c3616effe44a0d69850fd202e0fabe5416156da2f042689fdb94b714936870beec9599b3be8864e41ec3e35fb8b587fc6dc23db3b SHA512 26877dbf15e6b69e00581cfb779cbc80b52687b204554d3a0ff5bc93c8f1b14e32299a3efbeaae76711162f833e5e99b1ffbfadbd0f1fb86804f901ec98c8531 EBUILD ell-9999.ebuild 1211 BLAKE2B af4d68aeab21ca440793e13fde095665abf991c388dfbb3c1c9bbcec4f62816a9b00c334cdf61deeb570355d464bd6d4d64fabb76918b4dd8bbaa2f067cda9c3 SHA512 e298d3c78a250ff8b057b158e11662d3bd1d3a9945befe0fbb71068597e2b7a98226345c00708949cce1b06a5bb52fcf45466d89d12fa8812c47cfb43a301f39 MISC metadata.xml 251 BLAKE2B a9af03a4a233a890a554ab68f1876580e3720a72c1f946ea6dbb82c49afd94243ea4017cd8a392fa2adea53c588646fd0ebccb948dde0340ec2ff05c0381fb99 SHA512 0837c31655f6a725b0fad20c8998a3a4645dc8049e14980b0097776cf59b4288276489dfddc149893f29844175eeb187a54af7d28690de4afe18ef9fd4c1f98f diff --git a/dev-libs/ell/ell-0.68.ebuild b/dev-libs/ell/ell-0.68.ebuild new file mode 100644 index 000000000000..975d6b799e59 --- /dev/null +++ b/dev-libs/ell/ell-0.68.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic linux-info + +DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/ell/ell.git" +if [[ "${PV}" == *9999 ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git" +else + SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi +LICENSE="LGPL-2.1+" +SLOT="0" + +IUSE="pie test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( sys-apps/dbus )" + +CONFIG_CHECK=" + ~TIMERFD + ~EVENTFD + ~CRYPTO_USER_API + ~CRYPTO_USER_API_HASH + ~CRYPTO_MD5 + ~CRYPTO_SHA1 + ~KEY_DH_OPERATIONS +" + +src_prepare() { + default + sed -i -e "s#/tmp/ell-test-bus#/tmp/ell-test-bus-$(uuidgen)#" \ + unit/test-dbus*.c unit/dbus.conf || die + [[ "${PV}" == *9999 ]] && eautoreconf +} + +src_configure() { + append-cflags "-fsigned-char" #662694 + local myeconfargs=( + $(use_enable pie) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name "*.la" -delete || die +} + +src_test() { + # New dbus tests fail with >3 jobs, this should get fixed soon + emake -j1 check +} diff --git a/dev-libs/libayatana-appindicator/Manifest b/dev-libs/libayatana-appindicator/Manifest index 26a66bb3b1a5..f4a76f010d58 100644 --- a/dev-libs/libayatana-appindicator/Manifest +++ b/dev-libs/libayatana-appindicator/Manifest @@ -2,5 +2,5 @@ AUX libayatana-appindicator-0.5.93-correct-symbols-in-version-script.patch 978 B DIST libayatana-appindicator-0.5.92.tar.gz 159271 BLAKE2B 22edc6060daa1a225d025c326853493eca05809e8bff8b42a010b17ac8cc5684f4ff33cd24412230ddeaa44ac1b323f9c92f9249de44453ea243b2bb0cb54e0a SHA512 69f4eeeae55665608441f31bf354b22f393e25b3ed46873b98d0231960b4f2fb38c7902c559289f086b018b9596a634f2b2ee97b7ed12ded2a7a790c5d476f9f DIST libayatana-appindicator-0.5.93.tar.gz 162627 BLAKE2B 323853db4253d9d9b5d094dc21e731d6a9420dd6dcdcc93de73ef41d8d71e9819171e790be37f634864ee2372b0519008d1f81714b178fb2ae383f3f644d9440 SHA512 0477555de74d98a52d6415f5a5a2550aede1db0b54e9df3e761a0ad697b753b5b81827324df860c5ef0fd38c903b07dd8f4bf3129a2bb764d77f9028b03570b4 EBUILD libayatana-appindicator-0.5.92.ebuild 1095 BLAKE2B 1e59137b3ad7c66808022742c44d6f80798fc562e6d43c03ded4af71c238846418c78a5d95b07b3583d45fd89d3e615dff2bf08ca660ca947d2a61c0e700dd8c SHA512 14d5fae9fa24ebe285c1e3e75fcef2ecd825f6361878b8f957e8952f065aa332d81cdc29156610382dcba6c074f0fb8f89572a6fa02a2c386f9ffea99f857f23 -EBUILD libayatana-appindicator-0.5.93.ebuild 1197 BLAKE2B d25d87256ec3db2bf8f9dd89d65efb43ebbe08cbf268f260c9d9fd24b125916eb813160a176452b72250bd0ae800d5952fd7be50a28092c6487efb5f63251162 SHA512 5582af7f9d5a0ae442ce5c945087b51e4125f67229634bfe3bb768d11754f519ad0b576d658f138ddf82aa529dbc88a85079792e9df56692b7bb15ca087bb1b3 +EBUILD libayatana-appindicator-0.5.93.ebuild 1194 BLAKE2B fdc87cc06e017365dae7b609d85dfc6d54d733fde80f02f6e06a7a5afadb9f88d9fb0f780d2acdde3ba1ff88bd4e324c5fecd0b3edd60fdb751c1aac7c211939 SHA512 bc28f7f8e3a3f602ccb362d64dfe14e0b1fbd25b1708c934564d3786893e816674a3c4f56491496a743d3397635b92329decb4f45d735c8c833a2d3de284a07c MISC metadata.xml 323 BLAKE2B 62ad338f71f771275eebdf77e713cc18c563be61d5eaee28f05915db16eccb885a436fa5967561b12be5441db354be705d4f9d25c3cbf0d5585e4ec11cd557da SHA512 715eff628c3440dabe9e3d2417f30fb80faae799c599dd4ae7302099e28fe9c1c01b503e0fb7fdc2defd03794bae547ac31bf5ade187e711acea455624d8ec72 diff --git a/dev-libs/libayatana-appindicator/libayatana-appindicator-0.5.93.ebuild b/dev-libs/libayatana-appindicator/libayatana-appindicator-0.5.93.ebuild index 0173fcfafe1a..8e77dc99fc96 100644 --- a/dev-libs/libayatana-appindicator/libayatana-appindicator-0.5.93.ebuild +++ b/dev-libs/libayatana-appindicator/libayatana-appindicator-0.5.93.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/AyatanaIndicators/${PN}/archive/${PV}.tar.gz -> ${P} LICENSE="GPL-3 LGPL-2 LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-libs/libayatana-indicator/Manifest b/dev-libs/libayatana-indicator/Manifest index 51197473e047..7d352520f57b 100644 --- a/dev-libs/libayatana-indicator/Manifest +++ b/dev-libs/libayatana-indicator/Manifest @@ -1,5 +1,5 @@ DIST libayatana-indicator-0.9.3.tar.gz 149890 BLAKE2B c15ec72218814d9a33ab8cf654222ff7e05980de5cb175904041973d1ef9506c56a89e5fa8d41c1eaa2367f93a57e056010e23b87c2533cc7e731fbdfb23ef85 SHA512 cc2dd1e304e657cd8497d3107e7993122db6bbcf28c25dc1b41b250831cb76507226b5673abbd65bc954cbd5c3851df5528135df45d1cbb3de85c0c87c279452 DIST libayatana-indicator-0.9.4.tar.gz 150030 BLAKE2B 742b42ec930f2e3ae116b2be7dbd63169bc8fe0cc97b1425c16324e00ae68901f4132ea72ef97e2a36a1aecf61ca87185bb2ff2bb24ad5756004a3a60a9437f2 SHA512 56efbe0eb14abf38cb7e270ae093b5fb41dab652eab6fa0d3f7972b09b0f2404e3ec7fbb3059c0b26802fffc628f5ace16a33db306f97a65ae42cf65494a56dc EBUILD libayatana-indicator-0.9.3.ebuild 1001 BLAKE2B 3be365c97cd4e190eb2125c8326d0e5b48bd67316aa1b02df9f79d1b5fe94b5506b51ca0831407790f00285d5a63692f1803504bbdeebb4b1971400e22e5b1e9 SHA512 4868f20fafaba7e35a26a554256291eccd1372f93409bed6119001d6fa43ad5a32c20e38de41851416278be06a86ddce24a8a91286701beff3cdd9b236427dd1 -EBUILD libayatana-indicator-0.9.4.ebuild 1007 BLAKE2B 30705a705958bc8ad6756e1b96f684734dfebe75e9c9471abe2ec2332e95a3dc9b2a4a9064f73534f23e4fbdb4b79ba40fd432617a36b57478119f3ec012171d SHA512 579366a86a1ba34c0c0ae83ffec0d7643c725457805d44585267ab1ceb813fd4ca884935ee88c9dcde63a9a8bbecac27860839a467bbaebffa0285dbe9c52ada +EBUILD libayatana-indicator-0.9.4.ebuild 1003 BLAKE2B e92500e12d41f305b19d23b01723314edb216cb40646d317b18d728c1181de2908081caeaa9f725665700f5b7101bf98995656137b4d949909483a48d974b83f SHA512 babe566af1a84594685750b580685cccc0b8d8778ff375ccb8fc01659f57136ab899a5fcedf8dda34cc5a8bf84fff957f781340ae75de57a490fb222633f28fd MISC metadata.xml 320 BLAKE2B 87ef34f60a6f66effac9de367e4dc493976b8fc08162ed86fd3b5cb15d7b0e51bc3b91d0675db4b3c48d17bcaab88f6fbdfd9ff2b63ec9079f71f56e13ab38fe SHA512 6ac6de8cd88988867e14f0b3a57b10762c171da8d75718c202c3f3a4a41707bd7d2eb4faee10b0b3d6a8130ef7b84036ae1a9575e97b25110ed185cda00e7e60 diff --git a/dev-libs/libayatana-indicator/libayatana-indicator-0.9.4.ebuild b/dev-libs/libayatana-indicator/libayatana-indicator-0.9.4.ebuild index 861050f48658..f0833f5254f5 100644 --- a/dev-libs/libayatana-indicator/libayatana-indicator-0.9.4.ebuild +++ b/dev-libs/libayatana-indicator/libayatana-indicator-0.9.4.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/AyatanaIndicators/${PN}/archive/${PV}.tar.gz -> ${P} LICENSE="GPL-3" SLOT="3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index a815439e8de0..c73d07b467fa 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -6,21 +6,14 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e06541 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f SHA512 25eeee9984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b -DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad452222be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780 SHA512 508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c -DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5 SHA512 b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826 DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b SHA512 3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a799996dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3 DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf SHA512 ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266 DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 BLAKE2B 40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f SHA512 a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d -DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 BLAKE2B 691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324 SHA512 2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d -DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 BLAKE2B a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277 SHA512 c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5 EBUILD libclc-15.0.7.ebuild 1668 BLAKE2B ac2bd589fb3c29662799f97b1f649fd22b1b7ce5701879815bc01a05ae88421a830a6a3507b4dead181f24eb4e45c451e8ea1ebbdac2a2de51ddbc3cd9f53c66 SHA512 a3e39fbaddb322360f6362ef21713f375d04e02b2b9a3d43a3d47b26d5d43643a8c654181aef9518aee5f9805d09c446bbbf13342b74f09622e5e1b0c59470b1 EBUILD libclc-16.0.6.ebuild 1665 BLAKE2B 27ffe7083936c466a749550797d109c7a48fc6aaf110977c53ae2d4c5edd558c958a4981020b2c74c6b0c47aeee184edc6e1f192da93f57972fe9cc9abfaa762 SHA512 5007264c688588ec9fd7e74e88a1c1810be2602b744a64d8927275bc8ceaf278d9598222c5d2e3d3fa64504364625b03951752ef7221fd1bf16cc26fbd54ad80 EBUILD libclc-17.0.6.ebuild 1749 BLAKE2B 0b083103fc48654357f621bd3c40002fe9030598a4873519b186b601cd75cc1555a3930f26fe884c1970ddf5728c9a7dffc08e97ebdb151e55b80b204d327a4e SHA512 2509e6ff63a86ba1ceef095fab34b49642b7e6866111c289c124bb7ef9d4bad8f07c4927b45994555386536975c8a4c56401860dca25f2ef2014d9153abb4c8f EBUILD libclc-18.1.8.ebuild 1302 BLAKE2B f5c4d9d86b2150a602626d7785bae098edf6ff7dce1a07501bbb5b721959827f446d7e468a85be08eb8a6935ebd59264c582d5ab04321f60d0a0bd19da2653e6 SHA512 840ec8e282d4eaac97039f32eae8b05c03fd95128a4d800f190a9b57e154a73fd2c4eeec8c58e7c892684f24b35d1da5c2b52303ec19559b19d7bd75eebf5c1c -EBUILD libclc-19.1.0_rc2.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 EBUILD libclc-19.1.0_rc3.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 EBUILD libclc-20.0.0.9999.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 -EBUILD libclc-20.0.0_pre20240808.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 -EBUILD libclc-20.0.0_pre20240815.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 EBUILD libclc-20.0.0_pre20240822.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 MISC metadata.xml 362 BLAKE2B 768f93d0058e4da4b420569f3f1771dfa7385ad89540bbc18cf53b5a71e3f060a8afa1112ff37570d7fc9dc3e71619fa3fd8d0cf7b5d3954f5110b19e146df30 SHA512 e6335424da09f668953acd39dcd9b03a30e3b509b34b1de5c72644a3740a5b6b287f10e08405b79bafc8104cc4dc1324b7b9d7990c3b560b0235ae82da8c68a5 diff --git a/dev-libs/libclc/libclc-19.1.0_rc2.ebuild b/dev-libs/libclc/libclc-19.1.0_rc2.ebuild deleted file mode 100644 index 2b8c5e63c257..000000000000 --- a/dev-libs/libclc/libclc-19.1.0_rc2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {17..18} ) -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org llvm-r1 python-any-r1 - -DESCRIPTION="OpenCL C library" -HOMEPAGE="https://libclc.llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )" -SLOT="0" -IUSE="+spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi" - -BDEPEND=" - ${PYTHON_DEPS} - $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - spirv? ( dev-util/spirv-llvm-translator:${LLVM_SLOT} ) - ') -" - -LLVM_COMPONENTS=( libclc ) -llvm.org_set_globals - -pkg_setup() { - llvm-r1_pkg_setup - python-any-r1_pkg_setup -} - -src_configure() { - local libclc_targets=() - - use spirv && libclc_targets+=( - "spirv-mesa3d-" - "spirv64-mesa3d-" - ) - 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" - ) - [[ ${#libclc_targets[@]} ]] || die "libclc target missing!" - - libclc_targets=${libclc_targets[*]} - local mycmakeargs=( - -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}" - ) - cmake_src_configure -} diff --git a/dev-libs/libclc/libclc-20.0.0_pre20240808.ebuild b/dev-libs/libclc/libclc-20.0.0_pre20240808.ebuild deleted file mode 100644 index 2b8c5e63c257..000000000000 --- a/dev-libs/libclc/libclc-20.0.0_pre20240808.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {17..18} ) -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org llvm-r1 python-any-r1 - -DESCRIPTION="OpenCL C library" -HOMEPAGE="https://libclc.llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )" -SLOT="0" -IUSE="+spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi" - -BDEPEND=" - ${PYTHON_DEPS} - $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - spirv? ( dev-util/spirv-llvm-translator:${LLVM_SLOT} ) - ') -" - -LLVM_COMPONENTS=( libclc ) -llvm.org_set_globals - -pkg_setup() { - llvm-r1_pkg_setup - python-any-r1_pkg_setup -} - -src_configure() { - local libclc_targets=() - - use spirv && libclc_targets+=( - "spirv-mesa3d-" - "spirv64-mesa3d-" - ) - 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" - ) - [[ ${#libclc_targets[@]} ]] || die "libclc target missing!" - - libclc_targets=${libclc_targets[*]} - local mycmakeargs=( - -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}" - ) - cmake_src_configure -} diff --git a/dev-libs/libclc/libclc-20.0.0_pre20240815.ebuild b/dev-libs/libclc/libclc-20.0.0_pre20240815.ebuild deleted file mode 100644 index 2b8c5e63c257..000000000000 --- a/dev-libs/libclc/libclc-20.0.0_pre20240815.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {17..18} ) -PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake llvm.org llvm-r1 python-any-r1 - -DESCRIPTION="OpenCL C library" -HOMEPAGE="https://libclc.llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )" -SLOT="0" -IUSE="+spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi" - -BDEPEND=" - ${PYTHON_DEPS} - $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - spirv? ( dev-util/spirv-llvm-translator:${LLVM_SLOT} ) - ') -" - -LLVM_COMPONENTS=( libclc ) -llvm.org_set_globals - -pkg_setup() { - llvm-r1_pkg_setup - python-any-r1_pkg_setup -} - -src_configure() { - local libclc_targets=() - - use spirv && libclc_targets+=( - "spirv-mesa3d-" - "spirv64-mesa3d-" - ) - 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" - ) - [[ ${#libclc_targets[@]} ]] || die "libclc target missing!" - - libclc_targets=${libclc_targets[*]} - local mycmakeargs=( - -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}" - ) - cmake_src_configure -} diff --git a/dev-libs/libfmt/Manifest b/dev-libs/libfmt/Manifest index fb8b1c353666..3eb8167ede94 100644 --- a/dev-libs/libfmt/Manifest +++ b/dev-libs/libfmt/Manifest @@ -16,6 +16,6 @@ EBUILD libfmt-11.0.0.ebuild 787 BLAKE2B 2af8fae57e10abe207cb1dd31f80d995ff54cf89 EBUILD libfmt-11.0.1.ebuild 787 BLAKE2B 2af8fae57e10abe207cb1dd31f80d995ff54cf89147220d327a0df3cd8d801eef479e767b9711b2a819e666995e2c932fea1af2d50168e62b3fd2e1f24130bdd SHA512 70bc875129a415f915103903181b57150cac24de0f268afba1f418b2c9d1c754f660db29ba43b0c0044292439d1777892f161f9c28cb97b552e2e5a42936dc17 EBUILD libfmt-11.0.2.ebuild 787 BLAKE2B 2af8fae57e10abe207cb1dd31f80d995ff54cf89147220d327a0df3cd8d801eef479e767b9711b2a819e666995e2c932fea1af2d50168e62b3fd2e1f24130bdd SHA512 70bc875129a415f915103903181b57150cac24de0f268afba1f418b2c9d1c754f660db29ba43b0c0044292439d1777892f161f9c28cb97b552e2e5a42936dc17 EBUILD libfmt-9.1.0-r1.ebuild 756 BLAKE2B bbc29568319423300d62d5392e77e5578954699e90e7deb71807381ba4e542243b3c3c368b9b84052a0863788f9b22c0ec90ca2f0065474711a08f3b3d3d5142 SHA512 d1a283e3dd86d3fda19039b17663e640b65b41f235829849a78a57d62b738515a223d059172e648875465ea174d9014b7a3e68b1fc5ad01ebde5ea829a1726f5 -EBUILD libfmt-9.1.0-r2.ebuild 782 BLAKE2B e5432c3c94bd3236dc76dd96d24444766312d97acf8c88ff1ffd12884bb719ead65c70776bb0f86cc5ac2c184c35cec7d3de922d715ff0821126ae9b6218ab38 SHA512 09a7b236763f4f6aecac0dde0bafbbed0c8a4f7bd383e60d3a98d51cd709966b8a5b53cb190499ab96da68da06c113bd53d58a573c478186eca2218ea4fe0eb6 +EBUILD libfmt-9.1.0-r2.ebuild 788 BLAKE2B 2b01e9405f493dda19f0ca8e6bfd8bcd172ccf97c5d527bc6b111905bea7e5670aa0925f720498034e0edf5685901e50d8ed693799a12822932a59fd0af43fea SHA512 ee19c8d747b6537a841fc761ddcd19873dd86ecaefb36e37db3f99e6bd81bcd10d3caf0f922727c2179824099214d3a7ba9b0bb9b2d0a058e854edeb9dd75465 EBUILD libfmt-9999.ebuild 787 BLAKE2B 2af8fae57e10abe207cb1dd31f80d995ff54cf89147220d327a0df3cd8d801eef479e767b9711b2a819e666995e2c932fea1af2d50168e62b3fd2e1f24130bdd SHA512 70bc875129a415f915103903181b57150cac24de0f268afba1f418b2c9d1c754f660db29ba43b0c0044292439d1777892f161f9c28cb97b552e2e5a42936dc17 MISC metadata.xml 441 BLAKE2B c3066057cd80ba82a45de5b971c42ab23af1ec250285c677e119bdab5950a59c3052228a91bb52b049a63fe1c6697032ce665751baf20bf4d8714f298c70e3a6 SHA512 ab2ccd3fff9f22a8034b8a0979878550c3d0d909860935fe7f1d45ceed919a58fe2a8e36b1da86099a0e379a7bf139bf8490efbec1f69843b382b4cb6d2db246 diff --git a/dev-libs/libfmt/libfmt-9.1.0-r2.ebuild b/dev-libs/libfmt/libfmt-9.1.0-r2.ebuild index b37fe02a5ea4..8406e8d8a69a 100644 --- a/dev-libs/libfmt/libfmt-9.1.0-r2.ebuild +++ b/dev-libs/libfmt/libfmt-9.1.0-r2.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" S="${WORKDIR}/fmt-${PV}" fi diff --git a/dev-libs/libgpiod/Manifest b/dev-libs/libgpiod/Manifest index 78d33213e215..a3a414c7a31b 100644 --- a/dev-libs/libgpiod/Manifest +++ b/dev-libs/libgpiod/Manifest @@ -1,4 +1,3 @@ -AUX libgpiod-2.1-libtool.patch 2722 BLAKE2B 35f41e534dfd27f7f0c42a1cf0dcf1350483ff6bf656feb51a64a58640f83153faddcd1169cad9ef722ace9621c1634c122971a8998b60f474235829dc321a41 SHA512 1a984470f1eca5ce7da162bce5f0040084ddd4a4de2efb970218944cd03675e51cf833063f0f151d796569b3f9e87843bbb6c04902fa99349284baf21aa9cef6 DIST libgpiod-1.6.4.tar.xz 334552 BLAKE2B 3bf52dab263638967e0f59c858e22f3d8ec1c9565ba1edd665dff580a883fbc6aa49a944e6df4da8fca9c2df873e222ed4e055c9792ee27d4562b3c2d0c65b79 SHA512 23ea27147039ae34505263dbfbb3ca9985fc671d26e489ccaf150543d4e853f709393f46a8a5a1e682fa91378163bd2db6c689159ef73c3a8d1eeea422eacda0 DIST libgpiod-2.1.2.tar.xz 419964 BLAKE2B 62b1df3af28d0ab4988101f6bcbce750fd5bd7db874a34c196630bc8badaefc8e3c5c60bbf3c4dfff074d4d2f681d3339fc32c9eeecf395b595b91e5727572e5 SHA512 e921ac34692d5ae92a29592e2103229a8b0afcdcfa750e30fbd292554cd2e59fd51aefc8fa2ad1c9ad5ea4a93bb3443e8f6e8f4f1537109b263aba33317106f3 DIST libgpiod-2.1.3.tar.xz 420048 BLAKE2B a012720dc3569fa80f990303a9fdc2552bf9661ff98871c9062e76d46db0b1f8d819c2941d8325baea377d12b562aeec25e1d5c814183646f09ef93e67052c4f SHA512 a617a25b9b3b59edb45a6bcc59321c369f5d7f09d33edcf0be5ea39fbc0396f6c1e29b32eac1cefba85de5c92c9b7c198f4598b6a666970c8df11e7ce4358ff4 diff --git a/dev-libs/libgpiod/files/libgpiod-2.1-libtool.patch b/dev-libs/libgpiod/files/libgpiod-2.1-libtool.patch deleted file mode 100644 index efab5084ec8e..000000000000 --- a/dev-libs/libgpiod/files/libgpiod-2.1-libtool.patch +++ /dev/null @@ -1,66 +0,0 @@ -From b10af6b0173e647b54834edff087a5811b6bcfe1 Mon Sep 17 00:00:00 2001 -From: orbea -Date: Wed, 20 Mar 2024 06:49:57 -0700 -Subject: [PATCH] bindings: cxx: link using the libtool archives - -When linking with internal dependencies that were built with libtool the -most reliable method is to use the libtool archive (.la) files. - -When building with slibtool it fails when it doesn't find the -lgpiod -linker flag, but if libgpiod is already installed to the system it will -be built using the system version instead of the newly built libraries. - -Link: https://bugs.gentoo.org/913899 -Signed-off-by: orbea -[Bartosz: fix a typo in tests Makefile] -Signed-off-by: Bartosz Golaszewski ---- - bindings/cxx/Makefile.am | 2 +- - bindings/cxx/examples/Makefile.am | 2 +- - bindings/cxx/tests/Makefile.am | 6 +++--- - 3 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/bindings/cxx/Makefile.am b/bindings/cxx/Makefile.am -index 1eafaa2c..e2a89cf4 100644 ---- a/bindings/cxx/Makefile.am -+++ b/bindings/cxx/Makefile.am -@@ -24,8 +24,8 @@ libgpiodcxx_la_CXXFLAGS = -Wall -Wextra -g -std=gnu++17 - libgpiodcxx_la_CXXFLAGS += -fvisibility=hidden -I$(top_srcdir)/include/ - libgpiodcxx_la_CXXFLAGS += $(PROFILING_CFLAGS) - libgpiodcxx_la_LDFLAGS = -version-info $(subst .,:,$(ABI_CXX_VERSION)) --libgpiodcxx_la_LDFLAGS += -lgpiod -L$(top_builddir)/lib - libgpiodcxx_la_LDFLAGS += $(PROFILING_LDFLAGS) -+libgpiodcxx_la_LIBADD = $(top_builddir)/lib/libgpiod.la - - include_HEADERS = gpiod.hpp - -diff --git a/bindings/cxx/examples/Makefile.am b/bindings/cxx/examples/Makefile.am -index 64ced200..eca4d64a 100644 ---- a/bindings/cxx/examples/Makefile.am -+++ b/bindings/cxx/examples/Makefile.am -@@ -3,7 +3,7 @@ - - AM_CXXFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include - AM_CXXFLAGS += -Wall -Wextra -g -std=gnu++17 --AM_LDFLAGS = -lgpiodcxx -L$(top_builddir)/bindings/cxx/ -+LDADD = $(top_builddir)/bindings/cxx/libgpiodcxx.la - - noinst_PROGRAMS = \ - async_watch_line_value \ -diff --git a/bindings/cxx/tests/Makefile.am b/bindings/cxx/tests/Makefile.am -index 02b5b6de..fbf80a10 100644 ---- a/bindings/cxx/tests/Makefile.am -+++ b/bindings/cxx/tests/Makefile.am -@@ -4,9 +4,9 @@ - AM_CXXFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include - AM_CXXFLAGS += -I$(top_srcdir)/tests/gpiosim/ - AM_CXXFLAGS += -Wall -Wextra -g -std=gnu++17 $(CATCH2_CFLAGS) --AM_LDFLAGS = -lgpiodcxx -L$(top_builddir)/bindings/cxx/ --AM_LDFLAGS += -lgpiosim -L$(top_builddir)/tests/gpiosim/ --AM_LDFLAGS += -pthread -+AM_LDFLAGS = -pthread -+LDADD = $(top_builddir)/bindings/cxx/libgpiodcxx.la -+LDADD += $(top_builddir)/tests/gpiosim/libgpiosim.la - - noinst_PROGRAMS = gpiod-cxx-test - diff --git a/dev-libs/libkdumpfile/Manifest b/dev-libs/libkdumpfile/Manifest new file mode 100644 index 000000000000..3e84a57be4e8 --- /dev/null +++ b/dev-libs/libkdumpfile/Manifest @@ -0,0 +1,6 @@ +AUX libkdumpfile-0.5.4-32-bit-tests.patch 2197 BLAKE2B 3368b373a0e8e7127bc560fdfa5b370e4a42920c04d18d05a5c60bd29ad6b33703e52e0dcaa886bc91444f5e90a11e3a97e3d64692d26430d48df5c2b43e3c3b SHA512 6cc17ef0214f8fab33e6c36df457a11c2dd1feaa18804e93fde94c7e68fe96ba3ba6869231de3215a38944025741028d696ef679d44dbcbb24d2cd363ea537db +AUX libkdumpfile-0.5.4-c99.patch 1500 BLAKE2B f7879cf9d08660ce89ae3e771c36cbe07a51767288c6dbd36be2e97a795698ca381370f16d7a3ff134b147eb2c5c01efba0bf792c5da7637df6597a355f283a9 SHA512 5b67254f2f113ea6e86a4024917bf02683ae8c9a6757edbc01f26d107ff86ae30dc111285e66513f81e36fe32188b45d52927235198217de40c256ee2effadaa +AUX libkdumpfile-0.5.4-disabled-compression-tests.patch 2006 BLAKE2B b4c8555ca7ea47dc5f842c71dee21967d1044d874538b8f02d30f11e6dc10306ceab52de0b0e0d3e20182234ce0a2c6a2885a528831ca7fda0d4c753620f5848 SHA512 27bcd11b409bc547eaa125736015ca319a9fbaa720b078dc7eec0274ab95302dff231048404957dea5c4cfed2854909faf23df4126efcadb767e44c5926983c4 +DIST libkdumpfile-0.5.4.tar.bz2 623108 BLAKE2B 17a425c2a0545f60574255d5ec139f60a59dd2c9c047a89f9d021afe31cae959c691b550d9ad4e10c88a11f5f1bab1a4d94dab025060dcd2598837442281b3b9 SHA512 6cdd77e3460b324f4e0641fc8f4cf1dcd8b7de4ec82a37ca11e4edfa7730f90305c2724825f8b1cf8ac2e8ad104fee1b6a36775287b084db802ae2f44a55cd85 +EBUILD libkdumpfile-0.5.4.ebuild 1641 BLAKE2B 5fc355ba12741b674adeba676d8153db09b8e208110137f0aeb9ba24aeb6e2e325780a635129812aa9baba6f33f3bb0f2e6e2214d501e6104db35e7f6af2f375 SHA512 c9f9bf711bcee1bc977af49c8706e923b065543d70e037e877d99d972e5f62cd074bec2ceec0e02aa17e66f45f91a06711dc0611d524d5b05eabf57674fe9d70 +MISC metadata.xml 326 BLAKE2B 13b23cbf5c4089460907bebe9e73dad724bfea465300417f82d20748779d865459c6791d0a6d27237db88819690b4124235721c555895b3ca0a3aa5fa63ad2cf SHA512 aae2510a5c9a7662d7beaccef7c19b42be69e34bc0a2e6fb7f31d332ec7a5389f38aef97123b2f213bd4bb3376630b6989a6d71785f0198f563f9ce5d05cfdca diff --git a/dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-32-bit-tests.patch b/dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-32-bit-tests.patch new file mode 100644 index 000000000000..4b5c0cb4c8fc --- /dev/null +++ b/dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-32-bit-tests.patch @@ -0,0 +1,73 @@ +https://github.com/ptesarik/libkdumpfile/commit/16c73b83a78c1bfb55f3e9823b09fce549c8ec11 + +From 16c73b83a78c1bfb55f3e9823b09fce549c8ec11 Mon Sep 17 00:00:00 2001 +From: Petr Tesarik +Date: Thu, 23 May 2024 13:01:17 +0200 +Subject: [PATCH] Fix file cache test for 32-bit architectures + +If 64-bit file offsets are selected with _FILE_OFFSET_BITS on a 32-bit +architecture, the default mmap() call takes a 64-bit off_t, but dlsym() +returns a pointer to a function that takes a 32-bit off_t. + +To fix it: + +- always call original mmap64() if it is available, +- use XSTRINGIFY(mmap) instead of "mmap". + +The latter is needed, because some systems define mmap as a macro which +expands to another identifier. + +Fixes: #80 +Signed-off-by: Petr Tesarik +--- + configure.ac | 2 ++ + src/kdumpfile/test-fcache.c | 13 ++++++++++++- + 3 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 04d1c6fa..93ebb39d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -61,6 +61,8 @@ AC_CHECK_SIZEOF(long) + AC_CHECK_SIZEOF(off_t) + AC_SUBST(SIZEOF_OFF_T, $ac_cv_sizeof_off_t) + ++AC_CHECK_FUNCS(mmap64) ++ + dnl This makes sure pkg.m4 is available. + m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config]) + +diff --git a/src/kdumpfile/test-fcache.c b/src/kdumpfile/test-fcache.c +index 1ed57447..604ed540 100644 +--- a/src/kdumpfile/test-fcache.c ++++ b/src/kdumpfile/test-fcache.c +@@ -64,9 +64,20 @@ static char *mmapbuf; + + static int failmmap; + ++#ifdef HAVE_MMAP64 ++ ++#define STR_MMAP XSTRINGIFY(mmap64) ++static void* (*orig_mmap)(void *addr, size_t length, int prot, int flags, ++ int fd, off64_t offset); ++ ++#else ++ ++#define STR_MMAP XSTRINGIFY(mmap) + static void* (*orig_mmap)(void *addr, size_t length, int prot, int flags, + int fd, off_t offset); + ++#endif ++ + void * + mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) + { +@@ -445,7 +456,7 @@ main(int argc, char **argv) + return TEST_ERR; + } + +- orig_mmap = dlsym(RTLD_NEXT, "mmap"); ++ orig_mmap = dlsym(RTLD_NEXT, STR_MMAP); + if (!orig_mmap) { + fprintf(stderr, "Cannot get original mmap() address: %s\n", + dlerror()); diff --git a/dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-c99.patch b/dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-c99.patch new file mode 100644 index 000000000000..959af60454ef --- /dev/null +++ b/dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-c99.patch @@ -0,0 +1,48 @@ +https://github.com/ptesarik/libkdumpfile/commit/3682f5cad70146ab35d05af251d4461ef650b4b5 + +From 3682f5cad70146ab35d05af251d4461ef650b4b5 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Thu, 4 Jan 2024 12:36:53 +0100 +Subject: [PATCH] Python 3 does not have a tp_print member in PyTypeObject + +This avoids an int-conversion compiler error with current +compilers: + +./kdumpfile.c:1449:9: error: initialization of 'long int' from 'int (*)(PyObject *, FILE *, int)' {aka 'int (*)(struct _object *, FILE *, int)'} makes integer from pointer without a cast + 1449 | attr_dir_print, /* tp_print*/ + | ^~~~~~~~~~~~~~ + + +In Python 3.11, the field at this position is called tp_vectorcall_offset +and has type Py_ssize_t, hence the error. +--- a/python/kdumpfile.c ++++ b/python/kdumpfile.c +@@ -1143,7 +1143,6 @@ attr_dir_repr(PyObject *_self) + Py_XDECREF(colon); + return result; + } +-#endif + + static int + attr_dir_print(PyObject *_self, FILE *fp, int flags) +@@ -1214,6 +1213,7 @@ attr_dir_print(PyObject *_self, FILE *fp, int flags) + kdump_attr_iter_end(ctx, &iter); + return -1; + } ++#endif + + static PyObject * + attr_iterkey_new(PyObject *_self) +@@ -1446,7 +1446,11 @@ static PyTypeObject attr_dir_object_type = + sizeof(char), /* tp_itemsize*/ + /* methods */ + attr_dir_dealloc, /* tp_dealloc*/ ++#if PY_MAJOR_VERSION < 3 + attr_dir_print, /* tp_print*/ ++#else ++ 0, ++#endif + 0, /* tp_getattr*/ + 0, /* tp_setattr*/ + 0, /* tp_compare*/ + diff --git a/dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-disabled-compression-tests.patch b/dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-disabled-compression-tests.patch new file mode 100644 index 000000000000..5748a27e1e81 --- /dev/null +++ b/dev-libs/libkdumpfile/files/libkdumpfile-0.5.4-disabled-compression-tests.patch @@ -0,0 +1,68 @@ +https://github.com/ptesarik/libkdumpfile/commit/d529a573ab2cdbda501309e377007812e6de3351 + +From d529a573ab2cdbda501309e377007812e6de3351 Mon Sep 17 00:00:00 2001 +From: Stephen Brennan +Date: Fri, 19 Jan 2024 11:52:24 -0800 +Subject: [PATCH] tests: skip tests which apply to disabled compression + +If configured --without-libzstd, for example, the diskdump-basic-zstd +test will return an ERROR code, causing "make check" to fail. Even using +XFAIL_TESTS will not resolve the error, because the return code is +ERROR, not FAIL. + +Instead, conditionally include the tests based on whether we are +compiling with each compression format. This way, we don't test +unsupported features. + +Signed-off-by: Stephen Brennan +--- + m4/compression.m4 | 1 + + tests/Makefile.am | 17 +++++++++++++---- + 2 files changed, 14 insertions(+), 4 deletions(-) + +diff --git a/m4/compression.m4 b/m4/compression.m4 +index 6755ef13..8cb7ce2d 100644 +--- a/m4/compression.m4 ++++ b/m4/compression.m4 +@@ -32,4 +32,5 @@ AC_SUBST([$2][_REQUIRES]) + AC_SUBST([$2][_CFLAGS]) + AC_SUBST([$2][_LIBS]) + AC_SUBST([$2][_PC_LIBS]) ++AM_CONDITIONAL(HAVE_$2, test "x$have_$1" = xyes) + ]) +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 0c03b20b..8ac90b39 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -196,10 +196,6 @@ test_scripts = \ + diskdump-empty-s390x \ + diskdump-empty-x86_64 \ + diskdump-basic-raw \ +- diskdump-basic-zlib \ +- diskdump-basic-lzo \ +- diskdump-basic-snappy \ +- diskdump-basic-zstd \ + diskdump-flat-raw \ + diskdump-multiread \ + diskdump-excluded \ +@@ -331,6 +327,19 @@ test_scripts = \ + xlat-xen-x86_64-4.6-bigmem \ + zero-size + ++if HAVE_ZSTD ++test_scripts += diskdump-basic-zstd ++endif ++if HAVE_ZLIB ++test_scripts += diskdump-basic-zlib ++endif ++if HAVE_LZO ++test_scripts += diskdump-basic-lzo ++endif ++if HAVE_SNAPPY ++test_scripts += diskdump-basic-snappy ++endif ++ + dist_check_DATA = \ + addrmap-single-begin.expect \ + addrmap-single-middle.expect \ + diff --git a/dev-libs/libkdumpfile/libkdumpfile-0.5.4.ebuild b/dev-libs/libkdumpfile/libkdumpfile-0.5.4.ebuild new file mode 100644 index 000000000000..fe48a9f877fc --- /dev/null +++ b/dev-libs/libkdumpfile/libkdumpfile-0.5.4.ebuild @@ -0,0 +1,71 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit autotools python-r1 + +DESCRIPTION="Kernel coredump file access" +HOMEPAGE="https://github.com/ptesarik/libkdumpfile" +SRC_URI="https://github.com/ptesarik/libkdumpfile/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="|| ( LGPL-3+ GPL-2+ )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="lzo snappy zlib zstd" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + lzo? ( dev-libs/lzo ) + snappy? ( app-arch/snappy:= ) + zlib? ( sys-libs/zlib ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-c99.patch + "${FILESDIR}"/${P}-disabled-compression-tests.patch + "${FILESDIR}"/${P}-32-bit-tests.patch +) + +src_prepare() { + default + + # Can drop on next release >0.5.4 + eautoreconf +} + +src_configure() { + # We could make Python optional in future as libkdumpfile's + # builtin Python bindings appear deprecated in favour of another + # CFFI-based approach, but given we're adding libkdumpfile for + # dev-debug/drgn right now which uses *these*, let's not bother. + local ECONF_SOURCE=${S} + local myeconfargs=( + $(use_with lzo lzo2) + $(use_with snappy) + $(use_with zlib) + $(use_with zstd libzstd) + ) + + python_foreach_impl run_in_build_dir econf "${myeconfargs[@]}" +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_test() { + python_foreach_impl run_in_build_dir default +} + +src_install() { + python_foreach_impl run_in_build_dir default + python_foreach_impl python_optimize + einstalldocs + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libkdumpfile/metadata.xml b/dev-libs/libkdumpfile/metadata.xml new file mode 100644 index 000000000000..57d3a905a40e --- /dev/null +++ b/dev-libs/libkdumpfile/metadata.xml @@ -0,0 +1,11 @@ + + + + + sam@gentoo.org + Sam James + + + ptesarik/libkdumpfile + + diff --git a/dev-libs/tree-sitter-go/Manifest b/dev-libs/tree-sitter-go/Manifest index 298d44e66f83..82f578a25735 100644 --- a/dev-libs/tree-sitter-go/Manifest +++ b/dev-libs/tree-sitter-go/Manifest @@ -1,5 +1,7 @@ DIST tree-sitter-go-0.20.0-2.tar.gz 195753 BLAKE2B eca2965c0d7bba3c639e092845ac98d05936e9d87290dca2a283dcd6afb1151f8d63aba907337fee79e9fd9b0d901edfda62ec936ef948f57dc663c9d906715b SHA512 ff438a6c84454f38cdefe506f5da787007cb50b3d41bcb9c7f26ed7d951a3268e6bf0b32f2e750d0e4233516c1e4a827c24af831020f81f268fe825adcd5f836 DIST tree-sitter-go-0.21.0.tar.gz 210048 BLAKE2B 3589922c610d6a8f32fb753cb91f2c925a2bd4d63dc5b32cc37bb7723b7b6eb7339135cc2dd1629c6aa42684c4fe376dd1364bd928fc8c48100471203b68b627 SHA512 c12725c85ab6836fc6554edc64bc2f005d62e45c3d69d07811138cd09d29635399f70ba5837ead05f5827a327a1666bb4134475c99e2f8da81bd3412e4946a59 +DIST tree-sitter-go-0.23.0.tar.gz 199905 BLAKE2B efd70e7b4d1b20fa7e10fd9f33eab5cd1459731d307d2a9ce47d320d34870daf6e776f78001c5c663090e73f32368ca312371a1f44a9e6256e465987f5507557 SHA512 d3610a9a55c61244ab5f8ce961abbb7b351b83f94291fb571f7f82af8b5b297d35032a5f778a6de5fb02a56c22c2faca902167698827dbfbd509a55825c9cc07 EBUILD tree-sitter-go-0.20.0-r1.ebuild 436 BLAKE2B 7d57ae3c83ce1854ec4f83b9cd7ea5d1bd7442684ad69c7479857ee0781f8e457a0b2c0ffba6e9087f13f86c757e32da4c0b605436acc4cda15e64ff782658f8 SHA512 def4723c1ef76c1d4e5847f73d515acac0ab5e5626fb50069e2d9c1ae0d25ead8fb7ed7769e9e4c8e4bce42d842c7830c6fa584355ae176a3282b3728cf0797d EBUILD tree-sitter-go-0.21.0.ebuild 288 BLAKE2B c11c35038ccbe85e1714b21fcabf05c86b11700c1ee7fe736e47dce5dd4fecca0632098b88ee9cdc6627d076e6005332b71246b4df2c14bdf0ae00baada328d8 SHA512 45a567ff581875328a08acabc06fd75f86742830c4e412ad957288ba74a085774b375a0d7201343d7678f2e7a3add45100d56024f8fbde250b160c2371e3993f +EBUILD tree-sitter-go-0.23.0.ebuild 289 BLAKE2B 9ef68003a4f5686c1ab88ac4f615f4b3f619129fd204f2afd03f24d9036c9935007e6b42122eaa35e9a35fbb348a5c00be75889b540121e70c423c0745c27c7f SHA512 a462042356227d7e11067c65695da83daaa9ba051c5cefeaa8d7d6a94c958b711a3f7dcba9efbd1bc74553d600fe54718442970ef6f2ee133aae7a1aa286e073 MISC metadata.xml 339 BLAKE2B 9dc9dea694a2bfa94e190710b4e0c049dd95a636c76e32c6ad33046dbb9b2586e95a97b5358d67f800d6bd17e6ffa13463c1d57a186792a4aae8490699f68447 SHA512 395f9551bbb1fb57e6804f3752d3f752222a5b72cdaa7f9ba4b5ebbaaaa7c760189e1e58d104a2619ea49853856d5468c61f7520f434bdc875cb2d0c928a278c diff --git a/dev-libs/tree-sitter-go/tree-sitter-go-0.23.0.ebuild b/dev-libs/tree-sitter-go/tree-sitter-go-0.23.0.ebuild new file mode 100644 index 000000000000..322cb405b4be --- /dev/null +++ b/dev-libs/tree-sitter-go/tree-sitter-go-0.23.0.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit tree-sitter-grammar + +DESCRIPTION="Go grammar for Tree-sitter" +HOMEPAGE="https://github.com/tree-sitter/tree-sitter-go" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" diff --git a/dev-libs/tree-sitter-html/Manifest b/dev-libs/tree-sitter-html/Manifest index f840a317dca5..6bcf8872d37e 100644 --- a/dev-libs/tree-sitter-html/Manifest +++ b/dev-libs/tree-sitter-html/Manifest @@ -1,7 +1,9 @@ DIST tree-sitter-html-0.19.0.tar.gz 18785 BLAKE2B 40a2f8a1b4d9943ed15003073e8499fb58aea00979359f793c30c4e7d431905620c20f8e77286a56dbc040642081effa61a7ed9fdd3d61d44bfadfb327793ed1 SHA512 7816e5f4e74c7a64a4fb715000123f5350dc3c6ebfbf5d71ea6dd660cd58a7b4327413ef3e8efa8c177c7308f43bb8b4d60fddbcf518a99841148a37aba95b71 DIST tree-sitter-html-0.20.2.tar.gz 28880 BLAKE2B 0c17bb4a29174535cc0789221b631889122bc89e9a3883d53501acadade7723bafd15aae8373fb9c6135c0fea485202ea68ec45a855e21c2d7b7eda3fe0e0c58 SHA512 4ebdc4cdff525e54d774bde6b53ced5d8d0e2fea5cd54f006c39354544752856c520ce7b53eb268b6ef60185236102b8003b5de389fdb85454126b6ee689bb61 DIST tree-sitter-html-0.20.3.tar.gz 45084 BLAKE2B fca267fca9ddfb0651b1e596f422d9093852e0b06391f192f9b525df379048d2e74fab472bd4ecfb0fa229ff34546d648a644bfc3f746e8ecb24ad8b4558419c SHA512 572cbdeca6c57d8fc389b8736acfb6a4ac2b3bd8704445ca7a006d75e0a3c37faa9abd75ead54d586e25b5550f72324c407271b451dd5ed94fafb09e8a6ad352 +DIST tree-sitter-html-0.20.4.tar.gz 45091 BLAKE2B 7b5bcbf4616472e3b035b26ebddcb54c9f3b209cf7ee184978b971d20663cb4d614083565ef4cb5aefc2e6bb8dd8ce51be672e611d232ffb40b3b8a4d62dd000 SHA512 33aeebace2e353af43710635a3fceac7cae89c70ff3f4c665df9175bb12d0639d1d75908b865da4bf6a576ef2daba0678b995c97be1968d912fc5c3c417aa364 EBUILD tree-sitter-html-0.19.0.ebuild 285 BLAKE2B 1e2c597c71a61952f705f0ffcf18f27c6cea6dda0bf565a7d9dcfe1be588cf420acec17d94c47b06df638333c63a2aa00e6526fe0d4b49c9fa7ff52278b9f45c SHA512 6cf983fdc8a38b4b4c824dfdab7ac832f6e4e782aa66572dbb2d42f94cda6cc23fc1f44dc1a912fb2828f4b3d19ae53ae568f76ab7e1b5416621e053c0d7dd8d EBUILD tree-sitter-html-0.20.2.ebuild 285 BLAKE2B dc3f2ca9db90bcedbfc96856199a3c29c92a54eeeb4e03aea14bbf45fc5575db8cb016bfaa524f8cba143d317327ba1ec8c4c9f2acd80542def92580c1492172 SHA512 b654e8aae1c8de913a5ad5d947e1e94945c1ea63b56bacbaae61aeee7212f2290d3bdf45d059db40fc7b735beb3b309ae1a2f4fc204303287cf822a101ecff3c EBUILD tree-sitter-html-0.20.3.ebuild 378 BLAKE2B 3473cb786b04e3016d29f83909bb2f3d10d0d2db836150f4f2cee49fc2335bc5b4ae7bc89306ead6f8366e0dbcad57150ea13bc702586d4276374e9f18603d7c SHA512 0e829453bbdf7388b65cdb72fef3c74eaf6283b7f478dd553f1aaf9239fe861dfa428e78fcd11e18d178d00ac5a1899397ac6c6e28a9c440a791e6602a3d93d0 +EBUILD tree-sitter-html-0.20.4.ebuild 385 BLAKE2B 479b9e456d3e3d28ef70764d70838a062c3b54174f6bf161bac0dd6895beea90d09d07c559c411aefb1965d18a21b263811277681e1a0ad79327c9008e6604fc SHA512 9d29acec662dd02eefcc2b64a5de691ce621537eeca3e2b37dfb23d49b9638fa02aaef5f253387b999196512eb436c68c03c80c2a5aaec978b28711e9f69af36 MISC metadata.xml 341 BLAKE2B 6c53dd005637c277649ecf2ba32e0407b0996a5cd5d8e08b5d9224611759d0b41d15d92aefc21626d2b22ea3f543c12b230be8d6761e2a13994518a4b279ed3c SHA512 f0d2b7d43a5c60bd9b2c0e53eac71dbd4911d6a328f9004323ed6b07b1c1ee8abaf8786a7a9b89ee3e605bed7aa11ec6fd396dc3d731f4d0f8844f31531d3f0c diff --git a/dev-libs/tree-sitter-html/tree-sitter-html-0.20.4.ebuild b/dev-libs/tree-sitter-html/tree-sitter-html-0.20.4.ebuild new file mode 100644 index 000000000000..c0e50d23f099 --- /dev/null +++ b/dev-libs/tree-sitter-html/tree-sitter-html-0.20.4.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TS_BINDINGS=( python ) + +inherit tree-sitter-grammar + +DESCRIPTION="HTML grammar for Tree-sitter" +HOMEPAGE="https://github.com/tree-sitter/tree-sitter-html" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-libs/tree-sitter-javascript/Manifest b/dev-libs/tree-sitter-javascript/Manifest index cbc537af8cd1..13fc659348eb 100644 --- a/dev-libs/tree-sitter-javascript/Manifest +++ b/dev-libs/tree-sitter-javascript/Manifest @@ -1,7 +1,9 @@ DIST tree-sitter-javascript-0.20.1-2.tar.gz 371027 BLAKE2B 5bd9b11f1e10ff37950b2142031bebd3b5f6111818a21bf5a7d97a8a27a5340bd09cd139d76846141ed64a824f82f1e1394b90d8622192524d7db9a02ed95223 SHA512 5341311b419cf763c0a6d23348eba0e38b417ba07c2def341027223347d850c28b86db6add136dbf73cd5296133823a4548493ee649e09247dfbe5bcbaaab76d DIST tree-sitter-javascript-0.20.4.tar.gz 396452 BLAKE2B b33c4c44fb59985af7809ef9bd015d12dac185999993570164de4ac87a60cde28cf4c1232a06dd3e312ce256f2b021ef5fa500fd9e0772a3fb657f74256500a4 SHA512 65171e5af35c9c5cc9a6c54792d2194b197e130ec277b35e67e04b654082bcb1b98cb9bbe497bbe1dde69f582e5cdca01cba4f40682b7b587fd19e89b88f3dd6 DIST tree-sitter-javascript-0.21.0.tar.gz 367344 BLAKE2B 7698b918db7fb49bd73ee03757fa17d5f6c0adc14a279410e2bc924123b1a187e6018b534bc1d2b6cbc41e5f42f7b4b6541c65d4f70d6345dda31c719bf479c6 SHA512 c83d7525e3639e237b9f81cac38d0290a3257aa98dba62f079abfb234f3cbd3de23e0b275da85878d3ab4b8de03384dc4e8a8512641b17ff0aca2e3a722947a6 +DIST tree-sitter-javascript-0.21.4.tar.gz 286293 BLAKE2B 4194597de857f36c6be0f352bf344de1d36892b0de5aebbe04ddee54fa14b031b27ba5d2e065c41b9317f4cf399785e6dc4af4a618cbb9da0488994135d8e94d SHA512 bdc8f5102147a609547ae9be4836af3452ff4e929bad6128c8126d017e911b263d20fe860983eb8fb85703c3e31d9b8326e92d8778daa8e8bc26bf4540e46ced EBUILD tree-sitter-javascript-0.20.1-r1.ebuild 445 BLAKE2B db27d411dbee91e8ce15ca9d093ed7d197dafa0161af52faf6599dccb4307c0a0298bc7a7fb4b69feeea9fafec95588d6f237dc02e9fccf6a8618e968a0b4eb2 SHA512 18f36b40a18ce2ee7863de12fc58522eab2e0066a5aff8d0f67feb8ed6d788fc52df3d3d97407efbb9c9cfd2c707eb8a206e65126516d7cd544e6fe94719a793 EBUILD tree-sitter-javascript-0.20.4.ebuild 297 BLAKE2B b5ccacb5d2b7c59368102b9e50a75277ae897a3ddb835b7734a706f5515a3deedb3a5a44e0363880e3dc71095853214ba54d6289afed46c7fecb94a30195a4d5 SHA512 aea64eb736afa5aa2e93438ec885821c8a683d976cf4ac5bc6abe90f543f8cd3cd18c6dfe0f37f47c0bfe308b483402c510bfe17f2432357ba5dba5e619510ce EBUILD tree-sitter-javascript-0.21.0.ebuild 390 BLAKE2B 7bf81484a3cedcc5b24da66e30fd56313c3e2eb3058cd89621fe49a113a534cc4ceab1d6fcd2dad9c62ad9a4f41290653e86e753eefdc4ae82a74a6dab3864c2 SHA512 dbc23991b07a8b5a148af9f04f4b54f1755c3033903340c6f9c33da26f9a65c5b7987c7a2c91319180aab4c9ae048ba778789f1aeb84595110a45454bfbad351 +EBUILD tree-sitter-javascript-0.21.4.ebuild 397 BLAKE2B f6cbd33013b044c5b7bc2d0bb5b1b23d4aeae651fbe657050af78955f11103294eb9c0c03bd9b1f42e07f6d4e79994a3e0f48c6b6e87a5e7a153e3969318215a SHA512 2f9d25e8d9a311f5ac745d46948ac2f11936f0cc4d6f24c0138b4eea7700751729039f76f58bb9e52fc68387abdd4e8847b0a1443025a5ab70aa44b144b5ccab MISC metadata.xml 347 BLAKE2B 7ccb60b46c03a8303d0b1a83e5c0da4140c670c2896c57f681a13e177252030b08cd8fe6cbf34a909e26b4cd948a14d17e020a9b3550ab3e5d2bc7e1bb8c893e SHA512 56d779a607b31e820075c5369e63a32a5d5740ddac678429eb60b4062de82d1a36fd86828024e247ae01aafc45467984f12cf857f2b866635c35645304168d66 diff --git a/dev-libs/tree-sitter-javascript/tree-sitter-javascript-0.21.4.ebuild b/dev-libs/tree-sitter-javascript/tree-sitter-javascript-0.21.4.ebuild new file mode 100644 index 000000000000..290a7110ab3c --- /dev/null +++ b/dev-libs/tree-sitter-javascript/tree-sitter-javascript-0.21.4.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TS_BINDINGS=( python ) + +inherit tree-sitter-grammar + +DESCRIPTION="JavaScript grammar for Tree-sitter" +HOMEPAGE="https://github.com/tree-sitter/tree-sitter-javascript" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-libs/tree-sitter-python/Manifest b/dev-libs/tree-sitter-python/Manifest index ebdec34b71c6..620e1b0dac58 100644 --- a/dev-libs/tree-sitter-python/Manifest +++ b/dev-libs/tree-sitter-python/Manifest @@ -1,7 +1,9 @@ DIST tree-sitter-python-0.20.0.tar.gz 155192 BLAKE2B 1b81eb80dc5a69124ba8579f905b83290b233b7aa7f41b13ead293ade576b4c2f4cb4ca52d34f1bd59131e6b0ff2a3058d8119bedc235fe6a8afd49b0856580e SHA512 6eff62f40a0cf95c9acb8bd571ed5d74ab9db7d15104a039273861c28f932c79d5e4d32e3017ed38fe35a8e92660f46bcdab8091a2dd2cc0d9699598a6d46606 DIST tree-sitter-python-0.20.4.tar.gz 249840 BLAKE2B 563895c46ca1de400d51168473cceaed61b3df486cbf9f33ae9f63acc16268b9147917f0bc0f18d3c8cad0ab0684b4c51900a7e1c6b898735621676353630650 SHA512 2cfd327a1c0033ebb5bc1a4efe4f8b7a776ad45da6b12ad3d496fe3500e2a99ac0ecefbc6eec81d724bcdb060a0ebb8a24496dee23c83c7802e0226f495751d3 DIST tree-sitter-python-0.21.0.tar.gz 275770 BLAKE2B c595476144931fbb08c404fd72d981ad8170333fcbec98cb4b7637932860dea3967abee712ce6afe1c6454ca02cd67e6c84e969ca0b5f593d6822ec1ee623afe SHA512 02410d235473a3e9a108b7820f146cdf8df5794814ff1e2ce8ccac1e38a727fa3e133bcac6718ade2a0d0f0965e879bb3cb9652d1d30f738969f458add53dc50 +DIST tree-sitter-python-0.23.0.tar.gz 268006 BLAKE2B a237a68f32c8353e8155eecfce0d4276b0f6e7f529e3ce5ece304c082c38cde0514cf60422126499f5a8215ce67693fc4fc6e8e2915259769812ec9b7e4c7feb SHA512 a7fcd36e2c9dd5e62a476342c89437f23ec3fbca234361c5c1eb86ebf142acbfabdea86db35aebd0e806b22c38fc5379d55b6167edf56a40541bb17a83f12b3e EBUILD tree-sitter-python-0.20.0.ebuild 313 BLAKE2B 7daef9f803f6abf6261a2f5887c035485e581b26d054742676a5003e04ec090b1f0c98783c11fb160ac9e65b5dad1ef8c3a72dbb7e3157145e9cd5401208f749 SHA512 bfd8e60b322d9c49b2c6f0d124ae1f4cc4dd71d594fe8a3f04bcaa88906f0a7d1c8adb58876475237dd28e7df8e8600bc69f9475edebb516e964edcdce62d3f4 EBUILD tree-sitter-python-0.20.4.ebuild 313 BLAKE2B e1b33ca7ea816e0da8151840451a11e5ba6f62c70ef31ca4b274b9e22f20246f08916787adab77feaec9507d66454f7213932bc9df26e4915cdbd8958cce902a SHA512 186a2485768e9034dfafc7471b702347ba2aadf8f3a47906a79552640feae5689b63fcdf61d12905b418de7860669deb836e8dc5d8f61759c48e56caa44f8eb7 EBUILD tree-sitter-python-0.21.0-r1.ebuild 382 BLAKE2B de9dd7f977255d2f9cb22d792ce448a4b3f46a5e23b6e3f692d199508246a98415ebebe15594a3b38c5f9a058b7e5134105d0fdbbb2e545af9902deb2dd85678 SHA512 cdac204563731283f498f4e49148558b1a52aece5db8ee7dabeef29ab46096dd1e3386bd1e5a2fe5dfce8ecd52d7d7ea21df0be91c2075076c2c537b919b730c +EBUILD tree-sitter-python-0.23.0.ebuild 389 BLAKE2B 1db1cd93a0be9f763799f59d676e6c21ff462750d326939de238645b76dd5e15643fc1be26b074db5e2f326578f240d32d7caf9868a5d9b8e909887ebeabe34e SHA512 73f58fb7c74814fe6f6521d611618d659d37b5ed628b9d4fdf32e34ab208228c51ec5f95de0f42d784df25b2982243587f8ff1c6ad461da15b7558dd3cf5d832 MISC metadata.xml 456 BLAKE2B adf2e4be8b502eae133f17ab38ef77448d3391d3d85b1b8246cf7ae029b846e62eea48d5390e54f43a7cd20b9831b75bd01728dbb005ab4d06b719e2e53b45d1 SHA512 3b2f5470323fb9dd300ee911c120e727726e0a882af1018e0a944eec504c7bee16c38774232dc98522b11ff68b1cb1dc373188d2bad3d6503c9ecc5a91568c6f diff --git a/dev-libs/tree-sitter-python/tree-sitter-python-0.23.0.ebuild b/dev-libs/tree-sitter-python/tree-sitter-python-0.23.0.ebuild new file mode 100644 index 000000000000..f17247cf0020 --- /dev/null +++ b/dev-libs/tree-sitter-python/tree-sitter-python-0.23.0.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TS_BINDINGS=( python ) + +inherit tree-sitter-grammar + +DESCRIPTION="Python grammar for Tree-sitter" +HOMEPAGE="https://github.com/tree-sitter/tree-sitter-python" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-libs/tree-sitter-regex/Manifest b/dev-libs/tree-sitter-regex/Manifest index 5e5b719914d6..273eda02918b 100644 --- a/dev-libs/tree-sitter-regex/Manifest +++ b/dev-libs/tree-sitter-regex/Manifest @@ -1,5 +1,7 @@ DIST tree-sitter-regex-0.19.0.tar.gz 17452 BLAKE2B a1a4db494b685c9e4df3dba790b8d4938d604c02c419c040d783aa11093fb1d988f807d002b798ff53e6b64f294df6b24b6774642bb331ad0dc2a9a61f2ad88c SHA512 d2ecc9637f7e130b16103b375592e449f3b58afcce7d284e269ba7a20e96ca5d6c118a8c99819e7c9d0f8d4ceeb139ba493fcf6e001da25610a70030db599991 DIST tree-sitter-regex-0.20.0.tar.gz 20283 BLAKE2B b5c71d9956736c913d995631e3051ff20594b059d5fd736d57ce3ae29499b9dc41127f25fd88f7d9c81702e74383157554eb418f8aad88d6e8f46ae4b9f2a6d3 SHA512 35c8e51539ae8135f7a3ef7c3b5c736e0ef7dfcaf7a97417c0228e47fb2500833e1e585805dfe7a4552b5ddd2cc6bba394aee34845cf419f467747ab10f94988 +DIST tree-sitter-regex-0.21.0.tar.gz 42108 BLAKE2B 3407ffdcaef634044889d3ed9354ea029a917d939915b15fa0902b20f97459f98b45c9bccf3bced16f78440dbb9863fcf9b283fc8578a4e5c00339f40e9bf16c SHA512 cd4c7e754dd9a6cfb001f2770f9103cac06ac4938118041037e48d0a924768350930b1d936fadb06c966fbd5b47c4bff2311c21b9e29e57d79d101da755f0383 EBUILD tree-sitter-regex-0.19.0.ebuild 302 BLAKE2B f4e626c555ae7c2d6d3fefe59edb743043fc9eef0bfe3abeca925922a4578204461f094bb7ec46debeba97b9f7e065b68f2fb230a84e899c7a4919676f1d186a SHA512 5bf9fbe04ff1e795109567b91e6b9ee22a15567c3d8e27ba2c3622ce4b9defb3ae5be7e726d90e56ecc42a165a994625ac53b1435512cda69ca6100fff76b8b1 EBUILD tree-sitter-regex-0.20.0.ebuild 308 BLAKE2B 8520058b6da0e24f3f0e151284972214147a6587701c0a926c9747b3672c9ada2f7d529bf81699114306c487f5966ae3165cd58d9540a9ac63399e2df15ebfc9 SHA512 d87e2e09e4bf6dca270d4a063fbd443e154842e2c9c20e95c5355174a7b35c4b419c419852f63b05741ce6c661b6578c69ccc7c75357cdd83550894ce08826b6 +EBUILD tree-sitter-regex-0.21.0.ebuild 309 BLAKE2B e0703d0da90a67bf94f38120c6afb410d1ee182382285e28d44885cd61815458cec2235a232558837553ff68c79445f23b0d0db1c78a992355d839dd44b8c3ff SHA512 b81ed4aeaa1f434ef9bcb814dee9c4489d8baae276f02dd94758f01174c3782947a6018bae32c058b91672e4fe4d7cb2c3a683f8a55a362382e5829b169e73d2 MISC metadata.xml 455 BLAKE2B c5bf25b88bb237a349e83d3f88934c805f4c97ee8cf691d3a9d0c10e4570f5de38cd596d7263678254ed9cf2c6a0a61b50fd79a0621a9e9e7a5085ca0153334a SHA512 ff45f6ddf29e6b129f98376ed4677c8cd25c693e25bb18e538332f9e24f449fd51867acd05475e9c387fb3d79259bd384e3272eb94e40c69d3732e7cd34901e8 diff --git a/dev-libs/tree-sitter-regex/tree-sitter-regex-0.21.0.ebuild b/dev-libs/tree-sitter-regex/tree-sitter-regex-0.21.0.ebuild new file mode 100644 index 000000000000..3c6eb1ce69ea --- /dev/null +++ b/dev-libs/tree-sitter-regex/tree-sitter-regex-0.21.0.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit tree-sitter-grammar + +DESCRIPTION="Regular Expressions grammar for Tree-sitter" +HOMEPAGE="https://github.com/tree-sitter/tree-sitter-regex" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" diff --git a/dev-libs/tree-sitter/Manifest b/dev-libs/tree-sitter/Manifest index c7ed92b6fb59..1101a89d4864 100644 --- a/dev-libs/tree-sitter/Manifest +++ b/dev-libs/tree-sitter/Manifest @@ -3,9 +3,11 @@ DIST tree-sitter-0.22.2.tar.gz 3040339 BLAKE2B c18a79b4fdf553c50b4dd4c67c92d02fd DIST tree-sitter-0.22.4.tar.gz 3034955 BLAKE2B 797feb6e2171b0e00b10c67c8b6dcda6cc2ec420ef797991a642524982629496e4b7bcae92a2658ba3adffea75332bcda09ecbced01e73e13ba6f4c39d15e9ea SHA512 7f160e88cdffb47f4ee3f884385ec759fcf88883307221ddadd8bf561d1dfb3659b0c7f4b216286066cf912183cc8234788492d62d1f1ad14fcb39bd3287cf36 DIST tree-sitter-0.22.5.tar.gz 3035094 BLAKE2B f54b16e2421ad68fd34b5bada767010be4224652f5a138f7afcdbc15ebaae98dfe3cc8ac77e5e8e5ab12cef516464d29e38a23fc895fa966d5a03a9569fa5ffc SHA512 cff3902e8f6e0211b6d4fafecf9f0d73a2bf73efed68df0d6e8798aac3e685cbcc882fb698ebc10115e72bcf46b59aabd0b14dd402a08d3b42cfceffea5aab2c DIST tree-sitter-0.22.6.tar.gz 3036954 BLAKE2B f109a738214882e63a721e8db384fa42a624af78d42ceb9ab7a45135b36cf3bbbd2554f470ca5038404365f5b9dbf9979c4d26309e123a9d9533feb1f0a3f724 SHA512 bf0b87bb9ce16b049824e53933986ac451a7b7f432df39ee9d4546627d740ae689af9e838a53cc50e29d66d6d85d51dab7490d66a429a14bcc9d0b8e2935a63a +DIST tree-sitter-0.23.0.tar.gz 2977346 BLAKE2B e10846d5bd0a6aa1ecac362e2ab2ccf0f0bdb17c5fde796d8d65f8bc84a6e054d86c18a42e66e8effef865f95013c38ff6bd6ab5498a680ae172d7d57020604e SHA512 ab821be564ac7223cc4f9659c08922a78016af9dd3bd69166706fb6a889ac175ba2712a337a1303aceb8f44beaf58640a183e77dddc2c57e35da23079d0cd7b9 EBUILD tree-sitter-0.22.2.ebuild 1142 BLAKE2B e42075b38192191fccf183543de4b502b074c09bdac20c050823f43bdacf130b6bb55681f6ff30eaab2b6f4aa682a36ff9340bcfb202ac90d37ca0faf8e06ded SHA512 8e4b1ba04249d49d972cf775b319ab48ffbb83bdcd15ec90cee536578669c8dbb6c3c0919ddad52e40f90f35d98bca39c062cb3d05be6b14120e73b0c22a3adb EBUILD tree-sitter-0.22.4-r1.ebuild 1167 BLAKE2B 0c741d26c7ddea422b5a5a5a94606e6b0c6450f1e7b8d3dd59bb8e685f8cc83606969ff519b7668e64f4acb4dee8f33e15b73d4b3cfd98c1d2636372ef77f746 SHA512 21f01d2f7139b5edf50de4c363da3d2943a73abe984daa66833c965b72232d930fde2b07281b7967e07abc8b5f88cad45d8d87b3f303ee312036e2a986158ac9 EBUILD tree-sitter-0.22.5.ebuild 1241 BLAKE2B 2648b6c2c4e6ba75d7cff187b146db2376ff11f54fcb43f260060cc9d146e23fb33e56b8291594e1f924f63e021b382474e709574fee4cbb344a171ac8f78ef6 SHA512 9e51593853075a6d7e6c2223ba80133d81acd8fa8b0e8edc99b371c004b7b22e8b1513950c172fe2234f28ff9f8b2e545ba2c53725f2b470ed72b2e55b790e6f EBUILD tree-sitter-0.22.6.ebuild 1248 BLAKE2B 7163d2dabc8bf3c141a063cc20f5856d16f574789083a6e58f1be13d66fb0b70f3c56e8710c5de20bbb522cf5ab0a87c9ca64eb10d518ceae16c2ad7b9307aea SHA512 b35cce4ecbee32777144de4d51e2cc6fff3800ece204bc9d9cacffcb637c22b73d1272a59a2887ec0ed972812df87d484779a8f9dfb250b0d12c2d757f24048d +EBUILD tree-sitter-0.23.0.ebuild 1255 BLAKE2B 60b4fcfd12718c9fd9885de2c7239a993e09593e7863afbd1a417e89ea97c6ebaff9ca0c0a917e168de2389dc2f3d843903a684c78ffe2ac6d3cd988bcd4313d SHA512 cefa12c8a8ef0f352ca979c22f7120f019a480d4c71deb30f1fb575c010d868bcdd88088b8954708f63fb0213f88f0847ef4c8665261d0fa25696d63d397f1da EBUILD tree-sitter-9999.ebuild 1249 BLAKE2B c6e591aa89ecdc32bfcdfed3469cf0d43cbcceabafe86b98e9d89a0674c6359fbea3014590796651d6795f2cb672acf2018c668a866415ef72d1fec1d7f3f7c8 SHA512 138216c37fb57110956423627e4a72593dcfc147cc6f78796aba7268df7ffa1ef770ea06cf6a9d0f8d5a45a05a6e3033872a9e3bd9b4fbdec6daaf7a4f90858c MISC metadata.xml 925 BLAKE2B 31cf13ceae402283a343b7c94cbf2cb2af6eb24a703b77580630f315912060da6174957722587713543cb4bc4948cdd21849718ba3ebfe662c156b36bf4d6842 SHA512 b137c7af0d4e025b6448b3723d432498944ef047e314a6f10324e6beac2c480b05bdd5ade12f192ffb5c9bfca8f3dc65aaaa9bfcd26f585d6df8b74c3986ab98 diff --git a/dev-libs/tree-sitter/tree-sitter-0.23.0.ebuild b/dev-libs/tree-sitter/tree-sitter-0.23.0.ebuild new file mode 100644 index 000000000000..e8a13d2615fa --- /dev/null +++ b/dev-libs/tree-sitter/tree-sitter-0.23.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit optfeature toolchain-funcs + +DESCRIPTION="Tree-sitter is a parser generator tool and an incremental parsing library" +HOMEPAGE="https://github.com/tree-sitter/tree-sitter" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +fi + +LICENSE="MIT" +# ABI is not stable. Revisit after tree-sitter-1.0. +# https://bugs.gentoo.org/930039 +# https://github.com/tree-sitter/tree-sitter/pull/3302 +SLOT="0/${PV}" +RESTRICT="test" # tests are for CLI and not the lib + +PATCHES=( + "${FILESDIR}/${PN}-0.22.2-no-static.patch" +) + +src_prepare() { + default + tc-export CC +} + +src_compile() { + emake \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + STRIP="" # bug 930020 +} + +src_install() { + emake DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + install +} + +pkg_postinst() { + optfeature "building and testing grammars" dev-util/tree-sitter-cli +} -- cgit v1.2.3