diff options
| author | Crucible <crucible@localhost> | 2026-10-05 20:15:34 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-05 20:15:34 -0500 |
| commit | 0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93 (patch) | |
| tree | 712bba14b1c4791c27e4a1b21bbb7b4637c70bbd /dev-util | |
| parent | 5c02f4f10cf4865b1f5d2fc82a62c9292351d08d (diff) | |
| download | srcux-0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93.tar.gz srcux-0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93.tar.xz srcux-0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93.zip | |
Publish srcux candidate 0000000571-20261005-201336
Diffstat (limited to 'dev-util')
15 files changed, 391 insertions, 10 deletions
diff --git a/dev-util/codex/Manifest b/dev-util/codex/Manifest index eca724e07d6a..95a08aa11246 100644 --- a/dev-util/codex/Manifest +++ b/dev-util/codex/Manifest @@ -1,6 +1,8 @@ DIST cloudflare-zlib-sys-0.3.6.crate 147199 BLAKE2B b7089d328048b838fd9003f14cd9bddb720507a3426bd3a99ab70aa32dabee44078d6e9f9cc0171d7674ebf084fdd60776063e6976d5bd9ae61b2943c94c00d1 SHA512 c0064ab7dda47088450b3abd0ac12981e1db44564e7acf03af0836f9a9c54310cac5f93dd0cbc64c32749ea9cfe899ead81533f630dd00f5e29e9c6ef7150e6e DIST codex-0.157.0.tar.gz 16112186 BLAKE2B 10bd25c71650418e8b0dbd21b9903ccf474e52ea002c959adba99e929293acdef35290ce73f7c794ebb180a821a30943e79c2d002c10df32f8251a7c280b2ae9 SHA512 9d74ac25bbf53b755b9131f41e2048c06e6a78499f61dc942630511f6ff26da0fa12a0aa72f0c3813915a98bb9de20901d2549d2c09425d570655d209e36ffbc +DIST codex-0.160.0.tar.gz 16677782 BLAKE2B 426ee2ecddf9ed54f36ade4350cb0961d0ca612caf54054f6803c4135f86395f25fd48f1b3701d55bc1a361903a11d71d5a6fdbb690070a34e9e1293a021df79 SHA512 f0b44cff050e8f665a4019c6cb20923dbafb9ae93dec4ae52595c1406962db77d23006c4a655291bfd175278a94e89366cc79e79847c8e15d5c6779b76393fd1 DIST codex-rust-v0.157.0-crates.tar.xz 157554932 BLAKE2B 97eed631134b7a03e2923f1a1a8548d1c746e8b24f43fe352fc47b27a2c02de15ad676939976eefb515786fa314cc6f0499dc46fc6e3559c13a4dea0fd7c21ba SHA512 9fb979c584745cf77c99638f83465a953ee100aff8c048700318d09bbd6105d0c25b8eeefd9b9dc5bd414370591d0f6acc89c9d4f5d0a262bb6424532aea4c6d +DIST codex-rust-v0.160.0-crates.tar.xz 157575148 BLAKE2B 604051f98230a239a8f7a25b100cdbb70a36a7c2cc76881e776a530a747ddd377c3b72d6a775157f5a61a7fb2c4dbf54ab017550bd78ec937ff72612203f4963 SHA512 e0c76be465c904edd8acb07235ec645b71c816be62195f4ff4f9d9150638800fe67dfed1a0ec30df356bd60dc152505924798c599ea94177ee0a7d7eca5cfbf4 DIST crossterm-efa177859fd9623d57b9fe7ae9bf491ae1ac6ec4.gh.tar.gz 145349 BLAKE2B c75ce5f67f7d0040f183a32cd1d8420a307e2acf11de9163a0c69fbd788de34452dcc48b160b2cf15d64c971634f7fe93a50127582aaac14d70373a4b68324f4 SHA512 6aedeb88d51e59db101aa37a0f3b77f24f4a251e3a3da533c32c6919102b93ff02cdcb4b37b3eeb7407debf1c970c51e6f05bf0baa0eb206497a33c6c9e68895 DIST h3-e07e69412876f7e26f026bd75a48b2704d8c8283.gh.tar.gz 244832 BLAKE2B bea2d550925b09b3fd0a33aef734a26a7457d91dc0a89fe72cd6de684dd2f2a37de5ac615691e7d92cc47fa7aaad4ab13c253dd30eaa3287f7d62e139f77d07a SHA512 9dc2589b2ea013f6bb79c05fb515fdf236834116241ecb33c783b64102e3904c11beea7d75ad12d3fd48b66276387da96c162657010292eae5a8c84260ef94d2 DIST libz-ng-sys-1.1.16.crate 478122 BLAKE2B 7c1be97251029732cd3a8c77dad8a492193282b5fddf40df480ef3a35a49f5d25c7dc183d81aa267722276156c8b97243742117686d078f2d3a566546fa83d58 SHA512 c7d1b062a06b283ee2d398ff456f13634ed1d2d436ea2b8a55f19fbbad47bc419e068b0f9e805221321062b8c5ad309dd3e5d466741780549ae3e5299eee06e1 diff --git a/dev-util/codex/codex-0.160.0.ebuild b/dev-util/codex/codex-0.160.0.ebuild new file mode 100644 index 000000000000..a8d37eed3e97 --- /dev/null +++ b/dev-util/codex/codex-0.160.0.ebuild @@ -0,0 +1,165 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# NOTE: This package uses a pre-built crate tarball instead of listing individual +# crates in CRATES="". This approach is required because: +# 1. Codex has 800+ crate dependencies, which triggers Portage QA warnings: +# "QA Notice: This package uses a very large number of CRATES. Please provide +# a crate tarball instead and fetch it via SRC_URI." +# 2. Stricter ebuild QA checks (e.g., in CI pipelines) fail with too many crates. +# +# The crate tarball is auto-generated by GitHub Actions at: +# https://github.com/gentoo-zh-drafts/codex/ +# Workflow source code for auditing: +# https://github.com/gentoo-zh-drafts/codex/blob/crate-dist/.github/workflows/crates.yml +# This allows anyone to review and verify the crate packaging process. + +CRATES=" + cloudflare-zlib-sys@0.3.6 + libz-ng-sys@1.1.16 + libz-sys@1.1.20 +" + +declare -A GIT_CRATES=( + [appcontainer_common]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/backends/appcontainer/common' + [crossterm]='https://github.com/openai-oss-forks/crossterm;efa177859fd9623d57b9fe7ae9bf491ae1ac6ec4;crossterm-%commit%' + [h3]='https://github.com/hyperium/h3;e07e69412876f7e26f026bd75a48b2704d8c8283;h3-%commit%/h3' + [h3-quinn]='https://github.com/hyperium/h3;e07e69412876f7e26f026bd75a48b2704d8c8283;h3-%commit%/h3-quinn' + [learning_mode_core]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/core/learning_mode_core' + [learning_mode_windows]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/backends/learning_mode/windows' + [mxc_config_contract]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/core/mxc_config_contract' + [mxc_telemetry]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/mxc_telemetry' + [process_security_environment_spec]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/core/generated/process_security_environment_specification' + [nucleo-matcher]='https://github.com/helix-editor/nucleo;4253de9faabb4e5c6d81d946a5e35a90f87347ee;nucleo-%commit%/matcher' + [nucleo]='https://github.com/helix-editor/nucleo;4253de9faabb4e5c6d81d946a5e35a90f87347ee;nucleo-%commit%' + [sandbox_spec]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/core/generated/base_container_specification' + [runfiles]='https://github.com/dzbarsky/rules_rust;b56cbaa8465e74127f1ea216f813cd377295ad81;rules_rust-%commit%/rust/runfiles' + [tokio-tungstenite]='https://github.com/openai-oss-forks/tokio-tungstenite;0e5b2d73aa18dd9f0a50ee9ff199d5aef7594186;tokio-tungstenite-%commit%' + [tungstenite]='https://github.com/openai-oss-forks/tungstenite-rs;4fffad30fe373adbdcffab9545e9e9bf4f2fc19f;tungstenite-rs-%commit%' + [wxc_common]='https://github.com/microsoft/mxc;6cd3d58f05d3447e67109cfb75e042803b843ca4;mxc-%commit%/src/core/wxc_common' +) + +RUST_MIN_VER="1.95.0" + +# python3 .github/scripts/rusty_v8_bazel.py resolved-v8-crate-version +RUSTY_V8_TAG="150.4.0" + +inherit cargo check-reqs toolchain-funcs + +CHECKREQS_MEMORY="15G" +CHECKREQS_DISK_BUILD="20G" + +DESCRIPTION="Codex CLI - OpenAI's AI-powered coding agent" +HOMEPAGE="https://github.com/openai/codex" + +# The crate tarball URL uses ${PV} so it auto-updates when bumping versions. +# This tarball is generated by: https://github.com/gentoo-zh-drafts/codex/ +# See .github/workflows/crates.yml for the generation process. +SRC_URI=" + https://github.com/openai/${PN}/archive/rust-v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/gentoo-zh-drafts/codex/releases/download/rust-v${PV}/codex-rust-v${PV}-crates.tar.xz + amd64? ( + https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/librusty_v8_ptrcomp_sandbox_release_x86_64-unknown-linux-musl.a.gz + -> rusty_v8_${RUSTY_V8_TAG}_librusty_v8_ptrcomp_sandbox_release_x86_64-unknown-linux-musl.a.gz + https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/src_binding_ptrcomp_sandbox_release_x86_64-unknown-linux-musl.rs + -> rusty_v8_${RUSTY_V8_TAG}_src_binding_ptrcomp_sandbox_release_x86_64-unknown-linux-musl.rs + ) + arm64? ( + https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/librusty_v8_ptrcomp_sandbox_release_aarch64-unknown-linux-musl.a.gz + -> rusty_v8_${RUSTY_V8_TAG}_librusty_v8_ptrcomp_sandbox_release_aarch64-unknown-linux-musl.a.gz + https://github.com/openai/codex/releases/download/rusty-v8-v${RUSTY_V8_TAG}/src_binding_ptrcomp_sandbox_release_aarch64-unknown-linux-musl.rs + -> rusty_v8_${RUSTY_V8_TAG}_src_binding_ptrcomp_sandbox_release_aarch64-unknown-linux-musl.rs + ) + ${CARGO_CRATE_URIS} +" + +S="${WORKDIR}/${PN}-rust-v${PV}/codex-rs" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 + CC0-1.0 CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB +" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" +# Tests fail due to ring crate conflicts with system OpenSSL +RESTRICT="test" + +DEPEND=" + dev-libs/openssl:= + sys-apps/dbus +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${P}-chatgpt-recursion-limit.patch" ) + +# rust does not use *FLAGS from make.conf, silence portage warning +QA_FLAGS_IGNORED="usr/bin/${PN} usr/bin/codex-code-mode-host" + +pkg_pretend() { + check-reqs_pkg_pretend +} + +pkg_setup() { + check-reqs_pkg_setup + rust_pkg_setup + if tc-is-lto; then + export CARGO_PROFILE_RELEASE_LTO=thin + else + export CARGO_PROFILE_RELEASE_LTO=false + fi +} + +gen_git_crate_dir() { + # https://github.com/gentoo/gentoo/blob/b09dd88412fe2d5eee5a8891e08bfa2d67848da3/eclass/cargo.eclass#L442 + IFS=';' read -r crate_uri commit crate_dir <<<"${GIT_CRATES[$1]}" + echo "${WORKDIR}/${crate_dir//%commit%/${commit}}" +} + +src_prepare() { + default + + # Fix tokio-tungstenite's git dependency on tungstenite + sed -i '/^\[dependencies\.tungstenite\]/,/^$/{ + s|git = "[^"]*"|path = "'"$(gen_git_crate_dir tungstenite)"'"| + /^rev = /d + }' "$(gen_git_crate_dir tokio-tungstenite)/Cargo.toml" || die + + # Remove the [patch.crates-io] section and add path-based patches + sed -i '/^\[patch\.crates-io\]/,/^$/d' "${S}/Cargo.toml" || die + sed -i '/^\[patch\."ssh:\/\/git@github\.com/,/^$/d' "${S}/Cargo.toml" || die + + # Add new patch section with local paths + cat >> "${S}/Cargo.toml" <<-EOF || die + + [patch.crates-io] + crossterm = { path = "$(gen_git_crate_dir crossterm)" } + tokio-tungstenite = { path = "$(gen_git_crate_dir tokio-tungstenite)" } + tungstenite = { path = "$(gen_git_crate_dir tungstenite)" } + EOF +} + +src_compile() { + local rusty_v8_triple + use amd64 && rusty_v8_triple=x86_64-unknown-linux-musl + use arm64 && rusty_v8_triple=aarch64-unknown-linux-musl + + # codex-core trait resolution overflows rustc's default 8MiB stack + export RUST_MIN_STACK=16777216 + + # codex-code-mode-runtime enables V8's sandbox and pointer compression. + RUSTY_V8_ARCHIVE="${DISTDIR}/rusty_v8_${RUSTY_V8_TAG}_librusty_v8_ptrcomp_sandbox_release_${rusty_v8_triple}.a.gz" \ + RUSTY_V8_SRC_BINDING_PATH="${DISTDIR}/rusty_v8_${RUSTY_V8_TAG}_src_binding_ptrcomp_sandbox_release_${rusty_v8_triple}.rs" \ + cargo_src_compile --package codex-cli --package codex-code-mode-host +} + +src_install() { + # The CLI starts Code Mode through a sibling executable. + dobin "$(cargo_target_dir)/codex" \ + "$(cargo_target_dir)/codex-code-mode-host" + einstalldocs +} diff --git a/dev-util/codex/files/codex-0.160.0-chatgpt-recursion-limit.patch b/dev-util/codex/files/codex-0.160.0-chatgpt-recursion-limit.patch new file mode 100644 index 000000000000..4c59b1c6bd1e --- /dev/null +++ b/dev-util/codex/files/codex-0.160.0-chatgpt-recursion-limit.patch @@ -0,0 +1,12 @@ +The connectors::list_connectors async future exceeds rustc's default query +depth of 128. Match the limit already used by codex-app-server. + +--- a/chatgpt/src/lib.rs ++++ b/chatgpt/src/lib.rs +@@ -1,4 +1,6 @@ ++#![recursion_limit = "256"] ++ + pub mod apply_command; + mod chatgpt_client; + pub mod connectors; + pub mod get_task; diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest index 75b0c4e13398..ef7cebedde7e 100644 --- a/dev-util/cppcheck/Manifest +++ b/dev-util/cppcheck/Manifest @@ -2,3 +2,4 @@ DIST cppcheck-2.17.1.tar.gz 3872633 BLAKE2B 8a2404b2610386166c1e8d3bfe8b3405834b DIST cppcheck-2.18.2.tar.gz 3930679 BLAKE2B caa9be7676f50b7931f2e2aae3bb8cb94460fe183c3cd626659939a3d79f1b4f69e5163479500abac6cab966065b1084e9d6ad391e9b89375fc33ad430d93a2c SHA512 fe562aa23a38313c925bde4b647a7783340aa2cfe2b355d2c2779a86c8ed5d490164e40d17bc398579303167a59b8812aa9185468be3516dc564169941afb5c1 DIST cppcheck-2.19.1.tar.gz 3984524 BLAKE2B d1bcf8ff33b34dcd96b56ac604c168ce3346d673bdc7a9d496b8bdde527331e828732b48afd37b3bd0b79949b362e23c9bbae35112496dd853cbd840895f7e7e SHA512 490b80795b24586e443b80ea8044c9a4dce53a59d35c5cf5ad360b3163ebe5b8474f17e4cf8b168fab9fb284eadfde22ccc5b3f8e66c8153ebcffaa7708f0084 DIST cppcheck-2.20.0.tar.gz 4007393 BLAKE2B 99610e7d3e1dc88e71526c8ac1f850710d2e9a687a95be8dd04d13a9660c330c8ea211af389e36217691a75813fbbaac24cc04fabf46602a507978ec0e202a82 SHA512 072179cf35f91708735a85966517b5788554c32443558865af64d782cfc082acd073219ab511f5e2f98bd8f1dc8c0d02447452a00f15524eda2ca20be6af8108 +DIST cppcheck-2.21.0.tar.gz 4029561 BLAKE2B dee259b9b513a11f8b81b20fcea9cb44bd85c8d17a9ad6d8c914674099d63b6fd5b5400f95602c2eefead18e2ecf68025f6d2184aacad8aeb4bfed964fc403f0 SHA512 0e08c72975243569985e9098519d7cca8e84a8687a496e406234e1be1f3e71c039e4d21437d00866244bd0a8a60dd30fc70756125bf0347ce3b2d809b0a9b4f9 diff --git a/dev-util/cppcheck/cppcheck-2.20.0.ebuild b/dev-util/cppcheck/cppcheck-2.20.0.ebuild index e724bdeed216..f28d1253f1a7 100644 --- a/dev-util/cppcheck/cppcheck-2.20.0.ebuild +++ b/dev-util/cppcheck/cppcheck-2.20.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/danmar/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86" IUSE="charts gui pcre test" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} @@ -106,7 +106,7 @@ src_test() { # https://github.com/danmar/cppcheck/pull/5462 TestFileLister ) - cmake_src_test + cmake_src_test -j1 rm test/cli/other_test.py || die rm test/cli/lookup_test.py || die diff --git a/dev-util/cppcheck/cppcheck-2.21.0.ebuild b/dev-util/cppcheck/cppcheck-2.21.0.ebuild new file mode 100644 index 000000000000..e832a8e68353 --- /dev/null +++ b/dev-util/cppcheck/cppcheck-2.21.0.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +inherit cmake python-single-r1 xdg + +DESCRIPTION="Static analyzer of C/C++ code" +HOMEPAGE="https://github.com/cppcheck-opensource/cppcheck" +SRC_URI="https://github.com/cppcheck-opensource/cppcheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="charts gui pcre test" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + charts? ( gui ) + test? ( pcre ) +" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/tinyxml2:= + gui? ( + dev-qt/qtbase:6[gui,widgets,network] + charts? ( dev-qt/qtcharts:6 ) + ) + pcre? ( dev-libs/libpcre ) +" +DEPEND="${COMMON_DEPEND} + gui? ( dev-qt/qttools:6[assistant,linguist] ) +" +RDEPEND="${COMMON_DEPEND} + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pygments[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + ${PYTHON_DEPS} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + dev-util/patchelf + virtual/pkgconfig + gui? ( dev-qt/qttools:6[assistant,linguist] ) + test? ( + $(python_gen_cond_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ') + ) +" + +src_prepare() { + cmake_src_prepare + + # Modify to an existing docbook location + sed -i \ + -e "s|set(DB2MAN .*|set(DB2MAN \"${EPREFIX}/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl\")|" \ + man/CMakeLists.txt || die + + # Make tests use cppcheck built in build dir. + sed -i -e "s|CPPCHECK_BIN = .*|CPPCHECK_BIN = '${BUILD_DIR}/bin/cppcheck'|" \ + test/tools/htmlreport/test_htmlreport.py || die +} + +src_configure() { + local mycmakeargs=( + -DFILESDIR="${EPREFIX}"/usr/share/${PF}/ + -DBUILD_CLI=ON + -DBUILD_SHARED_LIBS=OFF + -DBUILD_MANPAGE=ON + + -DHAVE_RULES=$(usex pcre) + + -DBUILD_GUI=$(usex gui) + -DWITH_QCHART=$(usex charts) + + -DBUILD_TESTING=$(usex test) + -DREGISTER_TESTS=$(usex test) + -DREGISTER_GUI_TESTS=$(usex test) + + -DUSE_MATCHCOMPILER=ON + + -DDISABLE_DMAKE=ON + -DUSE_BOOST=OFF + -DUSE_BUNDLED_TINYXML2=OFF + + # Yes, this is necessary to use the correct python version. + # bug #826602 + -DPython_EXECUTABLE=${PYTHON} + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + cmake_build man +} + +src_test() { + local CMAKE_SKIP_TESTS=( + # Out of source builds breaks test TestFileLister + # https://github.com/danmar/cppcheck/pull/5462 + TestFileLister + ) + cmake_src_test + + rm test/cli/other_test.py || die + rm test/cli/lookup_test.py || die + rm test/cli/premium_test.py || die + PYTHONPATH="${S}/tools" TEST_CPPCHECK_EXE_LOOKUP_PATH="${BUILD_DIR}/bin/" epytest test +} + +src_install() { + cmake_src_install + + # If shared libs are built, they need to be patched + # patchelf --set-rpath '$ORIGIN' "${BUILD_DIR}"/lib/*.so || die + # dolib.so "${BUILD_DIR}"/lib/*.so + + insinto /usr/share/${PF}/cfg + doins cfg/*.cfg + + if use gui ; then + patchelf --set-rpath '$ORIGIN' "${WORKDIR}/${P}_build/bin/${PN}-gui" || die + dobin "${WORKDIR}/${P}_build/bin/${PN}-gui" + dodoc gui/{projectfile.txt,gui.${PN}} + fi + + python_doscript htmlreport/cppcheck-htmlreport + python_fix_shebang "${ED}"/usr/share/${PF} + python_optimize "${ED}"/usr/share/${PF} + + dodoc -r tools/triage + doman "${BUILD_DIR}"/man/cppcheck.1 +} diff --git a/dev-util/google-antigravity-cli/Manifest b/dev-util/google-antigravity-cli/Manifest index e3a3ebfa2c07..b6758917e410 100644 --- a/dev-util/google-antigravity-cli/Manifest +++ b/dev-util/google-antigravity-cli/Manifest @@ -1,6 +1,6 @@ DIST google-antigravity-cli-1.1.28_amd64.tar.gz 56914961 BLAKE2B ca86372335da5571ecc5f36569359bef127c6838e96528d128bb9849608c22ae56ae1d17585f4451024525d5777c4d7cdd76c0370fd95b7e27a3c06f15c982b9 SHA512 a855c623426fe901088bfe2b4d559b01f5b479a7c5ec0e41acfe129d4fe7deee9fbd9057072cc8e8c19ed65474cafa4f1d10fcdc14fbb85f82f20c3ec94295d4 DIST google-antigravity-cli-1.1.28_arm64.tar.gz 53365668 BLAKE2B 835278a90473bac5af32ea2a87309579c158fceb4aa19f68a4e9dd7a5c158d924200b89aa4b46d0a30ac47df4363357532fad0adfda18899f813131032260fed SHA512 2cc17c2a2dfe5c7d2f8088ac16ccfef270933c7844c3c717b3e4f4f94873f865ebddc5943508cbe54b4976c0f9dc478ca71b8c26b8c08d6758d9508788235530 -DIST google-antigravity-cli-1.2.14_amd64.tar.gz 60882033 BLAKE2B 7a80cfb024a8d515158ddeb9b6f0cf5cb15f23a99573aa69c553f022c16336ba5ad7baac6a5ce8fa5e10aeab23497d7b540f26858d4a6caf797bef8d0b49d0cb SHA512 fd771dfc74ddd07b61c8b0a6fd7a238f53a3a098a51052583a01d97ab84ee60db741ce5f041e87a9da3c1a9aabe95b053113374437df1e231773552781edaf09 -DIST google-antigravity-cli-1.2.14_arm64.tar.gz 57229161 BLAKE2B 0576d8ee5a780749b9a2f275a3a941f3dbe134d35ca03e56667712237c751798c775f7eab40f2490b20bc8f0b3304e388ad463008cec1797de5c1f503e9a2a16 SHA512 d96a67d6952a8ec1da16c8b6515f1393ed0260658cf104d9b57b8d13c92c591322ed5e08a62894842be81888116da0f5f80def7971c913d1f462300103426954 DIST google-antigravity-cli-1.2.15_amd64.tar.gz 61200461 BLAKE2B 9e0f61b6dc397c52fdfaa4b48e6243f472bc45206baa77fe7f8213e9a5500438822923893b8f3b632d8267700e9daf01d9f394b8244b886160a7ba448d021534 SHA512 6d2e2eeda0cad6eac8e8b2df11257d684210f8d384a2ee011dc6ad0edacfa33e1ec9c554589f6ff6ef0697f4c3c777ba46b6e84639711f173377cc1554c67436 DIST google-antigravity-cli-1.2.15_arm64.tar.gz 57506222 BLAKE2B 97e8718317fe15610a8a0d542b1fa447c249dd38461b424ec3ec56da08ef0476dfb5f00e33f0c22f3abf764dd2955d42f12fe83b1c23f98b14257b55074a3c47 SHA512 199e6419fd7549fa296f51c6035c9e0246f9ecd39b6624c46ff9a416f72b0b6579999c692c9499d218a9f88746d60ee78d0f592b31c8fab8be85b0d40533991d +DIST google-antigravity-cli-1.2.16_amd64.tar.gz 61494901 BLAKE2B 5e536df5ace7275afab05ee213918416d7bfbdaf7c93bc06659b56c4ddc5dfba07465cf381db4d2df45942b717987f7979dc89120120176b4949f0fd7878ef02 SHA512 c31f09265d4f6aef7c03b5105661ae98f9a8365c6c812c68adcc4a5e1f8b8f96c05fd2e4408a52f5e87e1b561ac350f4ffa7ad41a191893be7a3730ccf9d6553 +DIST google-antigravity-cli-1.2.16_arm64.tar.gz 57788957 BLAKE2B 3d71101cafddaae2a05a1a53e2a923009a78e040b2974289f7636e63940f12a94d973e3f795628eba3d7a2cb24845b5429e6ce798153f36c64df27463c56516c SHA512 d17d8044736d31e24ce7c4cb3b75faef3ce5102ecaad31aef95785c0f3c13fa0615d7b11fa411eb73b848489adf9d411178446f3148e30353a2048cd3e731971 diff --git a/dev-util/google-antigravity-cli/google-antigravity-cli-1.2.14.ebuild b/dev-util/google-antigravity-cli/google-antigravity-cli-1.2.16.ebuild index 68be3012b523..3e02f19ab726 100644 --- a/dev-util/google-antigravity-cli/google-antigravity-cli-1.2.14.ebuild +++ b/dev-util/google-antigravity-cli/google-antigravity-cli-1.2.16.ebuild @@ -3,7 +3,7 @@ EAPI=8 -EXECUTION_ID="4571742832820224" +EXECUTION_ID="5594158052802560" MY_PN="${PN#google-}" DESCRIPTION="Command-line interface for Google's Antigravity agentic development platform" diff --git a/dev-util/measureme/files/258.patch b/dev-util/measureme/files/258.patch new file mode 100644 index 000000000000..17b9686106f0 --- /dev/null +++ b/dev-util/measureme/files/258.patch @@ -0,0 +1,24 @@ +From cb2797dd3c81ef5e90a9cd4eded150f561514a52 Mon Sep 17 00:00:00 2001 +From: Jakob Hellermann <jakob.hellermann@protonmail.com> +Date: Thu, 30 Apr 2026 20:49:03 +0200 +Subject: [PATCH] Remove unnecessary unsafe block + +--- + measureme/src/counters.rs | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/measureme/src/counters.rs b/measureme/src/counters.rs +index 18d5e63..8aedeaa 100644 +--- a/measureme/src/counters.rs ++++ b/measureme/src/counters.rs +@@ -689,8 +689,8 @@ mod hw { + impl CpuModel { + /// Detect the model of the current CPU using `cpuid`. + pub(super) fn detect() -> Result<Self, Box<dyn Error + Send + Sync>> { +- let cpuid0 = unsafe { std::arch::x86_64::__cpuid(0) }; +- let cpuid1 = unsafe { std::arch::x86_64::__cpuid(1) }; ++ let cpuid0 = std::arch::x86_64::__cpuid(0); ++ let cpuid1 = std::arch::x86_64::__cpuid(1); + let mut vendor = [0; 12]; + vendor[0..4].copy_from_slice(&cpuid0.ebx.to_le_bytes()); + vendor[4..8].copy_from_slice(&cpuid0.edx.to_le_bytes()); diff --git a/dev-util/measureme/measureme-12.0.3.ebuild b/dev-util/measureme/measureme-12.0.3-r1.ebuild index ef1eab7ae5c3..0d1d3d027313 100644 --- a/dev-util/measureme/measureme-12.0.3.ebuild +++ b/dev-util/measureme/measureme-12.0.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2025 Gentoo Authors +# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.15.0 @@ -122,6 +122,10 @@ LICENSE+=" SLOT="0" KEYWORDS="~amd64" +PATCHES=( + "${FILESDIR}/258.patch" +) + QA_FLAGS_IGNORED=".*" src_install() { diff --git a/dev-util/opencode-bin/Manifest b/dev-util/opencode-bin/Manifest index 1b7b1cd0ab9c..7a65ea998e7e 100644 --- a/dev-util/opencode-bin/Manifest +++ b/dev-util/opencode-bin/Manifest @@ -1,8 +1,10 @@ -DIST opencode-bin-1.18.30-amd64.tar.gz 60557284 BLAKE2B 349ec2128ceebe34a0862ba3cc0a67db9bc9cecd060be44e275c046844f7af20253434b4cd387d825380153fea21548a0f2472acef7c2bd20d2b06a7ff0f2353 SHA512 60bf8921c4cc71c2fd9d0aa46b6ed5932b4942d549085c61d0f818c9c1e371977499cf46e1ab6dbbcc125346f4b1df966fe8309d17b8a3a4d8cf6b67c7733a1f -DIST opencode-bin-1.18.30-arm64.tar.gz 60366998 BLAKE2B 3265163031ec608c9cc85e91e3de5e2cd82113bfe9c80b82924ef167a5df1754d220a3326e494607479f6163024f997657daedb8e2ff90e7981d572379cd5285 SHA512 d4f195903372bfa9a0a4a2cf5b219bdd0b4a0377aba5c0ed36d2e2705abb8cc36d91a0ecd6b06204b55bd4076d43779bea316e8a254cf5851bd220c0838ffbd8 DIST opencode-bin-1.18.31-amd64.tar.gz 60590585 BLAKE2B af346f1af33ae229859f02f37d33518fdac35dedac7bdd7dc0720c6df9705f34f9fa61dae4aaf0d352257a2afb464588112d2488e8c0579661792b51b67c949c SHA512 56a7e299c8d1c3e6ea25c4c6ea8ccc44613edf5dadd61f6264c5dc7db403a726f443e4c1a49a2d24fa4488cf2839a994346741447ad6c947b52b732531bcab7f DIST opencode-bin-1.18.31-arm64.tar.gz 60408014 BLAKE2B 3000e5a3d7fa70a0ac0d4a2e64d8df05f3ce129a28c81d11f5311a48a63b9bb5c0fbb396f9fdbf2af8c0b2af2d30cd9ec47cde19df3c53ae01b6020a1d6e63ab SHA512 e33081de6d26be36e37084334613224f2887bafd79e403af9198c3bfa61023996c4c0ee3a7eb56fc2d73c4f1a31040ee20c5d6b1834e5ecc225d80fbe8a15698 +DIST opencode-bin-1.18.34-amd64.tar.gz 60665582 BLAKE2B 94f2f2b412fc7557f50e43f49a6589e90d65e315af2d2298c33bcde75bf7350e629268e49d74c5a0941fd3a73cd1e8601f37f802b4be29f3a9a64832cce5d6c3 SHA512 593b88fa6a28ea12f44ef1e5788af387e3a132afb86b7a84781d031cf6d65c08c372a47aff996bf60f9d7c85d8e9e2e6b6ad1da83ae83ae1b8d5d0c0e7659252 +DIST opencode-bin-1.18.34-arm64.tar.gz 60479105 BLAKE2B 7756e079ef16d517d070fe26693be89151ee870831b079fb9a1d370408ff7b7eb15e532cf9c90fbb0d9a70e10580ace10f01271f95fe234fd752c325943dd528 SHA512 a3b367c08a926770f1955c5418b5d9d0f96569d556b2276f07d7bdc5567cd8dc67782b97159b551ce99ee7198259a4ce52f2f8e07912075c1d4444fce6f4e4ac DIST opencode-bin-2.0.20-amd64.tar.gz 90417298 BLAKE2B 9a6750a63031b13dcf9ebb421d7d24475bbd029843a65bf73d0b99258721fecb69094e6be22aff57587c25200714847dfe9fe400a593583ab560c13c7c623342 SHA512 5abbeb2f231154b9748a80ff8fcceb0a7cb44d6ae581b679d11e57ddde32f63a1ef9bf6dd79a2f36c6c725a5e22f550706ad4e780e662060e5b85e5a983da978 DIST opencode-bin-2.0.20-arm64.tar.gz 89214613 BLAKE2B 97a246cc39ee77c8f7423888d67d8e576c7c49379e34e628482921ed7feb86a8119370a06438d45d3940741cacb27f7097752b7ccf4b6c3a3e0b11faf1cb1a89 SHA512 24b1c38043e64e16636d0108c193417702dd76fc58148b2c0da0db0dbfe717b6b0e03e71b7dc4651ad68ea7175216d4293ea71f24578eb95b602e4e1291537b2 DIST opencode-bin-2.0.22-amd64.tar.gz 90535207 BLAKE2B d8d8a7a392e90ca2d8bdad12af3479f21da672f29c7ca334ce650e0bf2c7f0b498f1b94b1eb583de6d6c604a7e49a57875cb819b507ee205ceaa734b3b7b00be SHA512 9f05728e7ba0ebcbf50347a69037f6f0650cdfb9b93e388582ed976e7dee8cd1dd9d2774bf8dd8af91bb4c3d574ef01b5e0f99bf8ea15f40af20d268acbb8e14 DIST opencode-bin-2.0.22-arm64.tar.gz 89333887 BLAKE2B 7ba3d267ae962e868fb6f6a1e9c9318c797908d9c09b56853e1b6dc68bdcac8092b32f1c9773c36b969172cb234aea2ceacc0e25267979dc927fda8540d414e8 SHA512 b7fcaebbd0ea77f338e1d147f796e986eee290ee85013310b9593ff754019c2333b0ff3356b5d4ef30310f5c152e9618503a88a271268bcd17113945ab1edc87 +DIST opencode-bin-2.0.23-amd64.tar.gz 90303043 BLAKE2B 051c0c56e210e3e751dc847d54a26f3723796f225f77ab76a95a04ccebf11ceb6cf66b1f4cae1133996783b30a98c773a253f793f2ecb5731550c19603ced12e SHA512 d73de2cb66cd9c28d4bc778cb4e436a194a4c72b3f864ea613ec267b7d656297f84c2a9ee87670de83b4bac77b0b9752fe09e754c63db67cad7a4946a5d7a38e +DIST opencode-bin-2.0.23-arm64.tar.gz 89087866 BLAKE2B ca43bd8d1dd5d4e1c0ab5bf1ee64d55a136d7878b586324d78cbb1637afd16fd412b3198cd8fe59711ccd7596bb18687416320f1580ea17027dd66c4bb173762 SHA512 92e2c348ea4514609d092fdf75a1d9db232a5ec3f88f061f4b4c95e22958c5a07b7343c9f38798d5bfdb97637d25710b5d4d772363850c8f8d5b35e1c97af139 diff --git a/dev-util/opencode-bin/opencode-bin-1.18.30.ebuild b/dev-util/opencode-bin/opencode-bin-1.18.34.ebuild index 8b1fe8eee975..8b1fe8eee975 100644 --- a/dev-util/opencode-bin/opencode-bin-1.18.30.ebuild +++ b/dev-util/opencode-bin/opencode-bin-1.18.34.ebuild diff --git a/dev-util/opencode-bin/opencode-bin-2.0.23.ebuild b/dev-util/opencode-bin/opencode-bin-2.0.23.ebuild new file mode 100644 index 000000000000..84b5fcf3db05 --- /dev/null +++ b/dev-util/opencode-bin/opencode-bin-2.0.23.ebuild @@ -0,0 +1,31 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=${PN%%-bin} + +DESCRIPTION="The open source coding agent" +HOMEPAGE="https://opencode.ai" + +SRC_URI=" + amd64? ( + https://registry.npmjs.org/@opencode/cli-linux-x64-baseline/-/cli-linux-x64-baseline-${PV}.tgz -> ${P}-amd64.tar.gz + ) + arm64? ( + https://registry.npmjs.org/@opencode/cli-linux-arm64/-/cli-linux-arm64-${PV}.tgz -> ${P}-arm64.tar.gz + ) +" + +S="${WORKDIR}" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +RESTRICT="mirror strip" + +QA_PREBUILT="usr/bin/opencode" + +src_install() { + dobin package/bin/${MY_PN} + dosym ${MY_PN} /usr/bin/${MY_PN}2 +} diff --git a/dev-util/payload-dumper-go/Manifest b/dev-util/payload-dumper-go/Manifest index 1b481f57a68e..23207c04236e 100644 --- a/dev-util/payload-dumper-go/Manifest +++ b/dev-util/payload-dumper-go/Manifest @@ -1,2 +1,2 @@ -DIST payload-dumper-go-2.0.2-deps.tar.xz 44775276 BLAKE2B a61166068b63d58a25df6ccdf79cff1771fa6be57e64ae2ddbde60600ec4b46693e97acb7377b36aa430ed8745891e4749872a07455c2d301ee9fdb14a37ed0d SHA512 c592dda7d673b564d36ee8a3d390b2fd55a30a18592193ac35b38f74655d393a893be9a3f59cc97bb3bfc3f13f55a16e47f348e0af4d6699b06f9224e7794354 -DIST payload-dumper-go-2.0.2.tar.gz 55489 BLAKE2B 81c3dc1d953314901cdf938444d79818816dce94b518ed20bfe15c9101b6f9a4b31d8c400c5e958fe2820daf6079f7c7f75c28e61c6d18e13936f6a5d905c0e8 SHA512 ba97fea633ceff7c1224ecbab54fe0e5b40c143fd51b29b5a4e75af7e9ad358904332a0b7f189285a7b087c4d04dd475b9e22887b82f883b03b7b60eccf73f42 +DIST payload-dumper-go-2.1.0-deps.tar.xz 44775276 BLAKE2B a61166068b63d58a25df6ccdf79cff1771fa6be57e64ae2ddbde60600ec4b46693e97acb7377b36aa430ed8745891e4749872a07455c2d301ee9fdb14a37ed0d SHA512 c592dda7d673b564d36ee8a3d390b2fd55a30a18592193ac35b38f74655d393a893be9a3f59cc97bb3bfc3f13f55a16e47f348e0af4d6699b06f9224e7794354 +DIST payload-dumper-go-2.1.0.tar.gz 70367 BLAKE2B 32dd769ac67ef1db1e38981c5e2a0d0a1485c7ebdd084e942992634ea6a82a4b7e1f601ca45bfd8ea7532df03458f387a4f4875a741f8a5ffdb09f5b2c73e488 SHA512 452fb5220bd15daa3a5773828e3ce1d5459488a66fe00fd8011603d714fc09376bdb2fde5d009927d52829b9923070fae3da06cd3aa7dae681b1371ed953d142 diff --git a/dev-util/payload-dumper-go/payload-dumper-go-2.0.2.ebuild b/dev-util/payload-dumper-go/payload-dumper-go-2.1.0.ebuild index aa428ee41915..aa428ee41915 100644 --- a/dev-util/payload-dumper-go/payload-dumper-go-2.0.2.ebuild +++ b/dev-util/payload-dumper-go/payload-dumper-go-2.1.0.ebuild |
