From 7584d011faebabd59dfc5aad5e3fa971cc9b3a5f Mon Sep 17 00:00:00 2001 From: Zakk Date: Fri, 16 Oct 2026 16:40:35 +1100 Subject: [PATCH] dev-util/t3code-bin: add 0.1.0, drop 0.0.45 Upstream renamed the release channel, so the .deb now installs to /opt/T3 Code (Beta) instead of /opt/T3 Code (Alpha). Because src_prepare and src_install address that directory by name, both are updated. Upstream also ships @cursor/sdk-linux- under resources/node_modules (cursorsandbox, rg and tree-sitter binding.node, all static or linked only to glibc and libgcc_s). Add them to QA_PREBUILT, like the existing app.asar.unpacked/node_modules entry, because they are immutable upstream blobs. The new usr/share/metainfo file is not installed: its launchable is t3code.desktop, but the ebuild installs the desktop file as com.t3tools.T3Code.desktop. Signed-off-by: Zakk --- dev-util/t3code-bin/Manifest | 4 ++-- .../{t3code-bin-0.0.45.ebuild => t3code-bin-0.1.0.ebuild} | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) rename dev-util/t3code-bin/{t3code-bin-0.0.45.ebuild => t3code-bin-0.1.0.ebuild} (92%) diff --git a/dev-util/t3code-bin/Manifest b/dev-util/t3code-bin/Manifest index d5b3a74c52..974103873d 100644 --- a/dev-util/t3code-bin/Manifest +++ b/dev-util/t3code-bin/Manifest @@ -1,2 +1,2 @@ -DIST T3-Code-0.0.45-amd64.deb 124811004 BLAKE2B 1582a58ca12153926046f4408c7177da5dc36271d9ca94a8b21bf99f83bf9b0c9ca38819260ad19e5c656bd2d08b5be8542acb81c53d34b4a298d51f814a9b58 SHA512 008aee786d654fc93e5bf661f6ca5fc3147ea0aebf772fd10e85d356b148492e2a80efd32d560a121f91fdc358cce8603258050fbf572e7c2e007e065dd56f74 -DIST T3-Code-0.0.45-arm64.deb 118096568 BLAKE2B a24d03873cea8643f96047935964e45cdbf1ecd8b4a7a464ea1b2ad9dbf12c51a69a412f8d16ed62ada77d7c31ca754927a768263f4084b526a09b52a273fa8f SHA512 ab758cba16e38321a219d3746ba0f23aac1bc6e7e1965ca989d672bf2211da0b6fabbc31ceb85e0984ccf25f31ec3591a109666c6fb4628bc5128743556858e0 +DIST T3-Code-0.1.0-amd64.deb 138440028 BLAKE2B 2d8cd340b4ca2d93f71ab95087a5710c1227e1135526ce7db154530669fa80eb111940f97e967a92d1aad7781bc75e2c9ed115eeef2b26417aad5fe53806bf52 SHA512 9014e851b4c22a3ad437c70bff5188dde48c724b70ed94008240ea6081d757b142a388a9c4b23b38a3736d4672f903efb4df64aebdd00d533393c6ff996b5b08 +DIST T3-Code-0.1.0-arm64.deb 129399200 BLAKE2B a4d967b309cfb1ec4e23a191f062c19b26f828749e04be21cd3ee1aeab4f7bc0db4a0b46d949a52198bc24d8fafd8c16803b2f6b400d652b68b69c5570d759d1 SHA512 29d0ea641ef54d4f434aac870a1c3dd3f5b276bcc738f20ba872db1b59e92e9fdec23989a73ffb171521b538612d69514b635a1ba560e8332f4d4ab002a1a100 diff --git a/dev-util/t3code-bin/t3code-bin-0.0.45.ebuild b/dev-util/t3code-bin/t3code-bin-0.1.0.ebuild similarity index 92% rename from dev-util/t3code-bin/t3code-bin-0.0.45.ebuild rename to dev-util/t3code-bin/t3code-bin-0.1.0.ebuild index a673ee4d61..51e07bac47 100644 --- a/dev-util/t3code-bin/t3code-bin-0.0.45.ebuild +++ b/dev-util/t3code-bin/t3code-bin-0.1.0.ebuild @@ -57,11 +57,12 @@ QA_PREBUILT=" opt/${PN}/resources/kde-capture/t3-kde-snap-shot opt/${PN}/resources/resource-monitor/t3-resource-monitor opt/${PN}/resources/app.asar.unpacked/node_modules/* + opt/${PN}/resources/node_modules/* " src_prepare() { default - local app="opt/T3 Code (Alpha)" modules="opt/T3 Code (Alpha)/resources/app.asar.unpacked/node_modules" + local app="opt/T3 Code (Beta)" modules="opt/T3 Code (Beta)/resources/app.asar.unpacked/node_modules" # Electron requires glibc; these musl libraries and foreign prebuilds are never loaded. rm -r "${modules}"/@ff-labs/fff-bin-linux-*-musl || die if use amd64; then @@ -77,7 +78,7 @@ src_prepare() { src_install() { dodir /opt/${PN} - cp -r "opt/T3 Code (Alpha)/." "${ED}/opt/${PN}/" || die + cp -r "opt/T3 Code (Beta)/." "${ED}/opt/${PN}/" || die fperms 4711 /opt/${PN}/chrome-sandbox printf '#!/bin/sh\nexport T3CODE_DISABLE_AUTO_UPDATE=true\nexec "%s/opt/%s/t3code" "$@"\n' \