From 0f35ccf3c00740c8f5682860a1c11bc7426e9b64 Mon Sep 17 00:00:00 2001 From: dsaf Date: Wed, 15 Apr 2026 22:49:07 -0300 Subject: [PATCH] dev-vcs/gitcomet: add 0.1.11 Signed-off-by: dsaf --- dev-vcs/gitcomet/Manifest | 10 ++ dev-vcs/gitcomet/gitcomet-0.1.11.ebuild | 117 ++++++++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 dev-vcs/gitcomet/gitcomet-0.1.11.ebuild diff --git a/dev-vcs/gitcomet/Manifest b/dev-vcs/gitcomet/Manifest index 226cbc5460..51d959adfd 100644 --- a/dev-vcs/gitcomet/Manifest +++ b/dev-vcs/gitcomet/Manifest @@ -1,3 +1,13 @@ +DIST font-kit-110523127440aefb11ce0cf280ae7c5071337ec5.gh.tar.gz 1289436 BLAKE2B abe61ea8a1442b9d4d6a1de7751b5e1becb44834cd8fb1040d54c3329af45d3472b97198c6b951f8f8e2444b3988e783d498271a65473c54ab3c1421cbb43664 SHA512 ebedc99904db7805233e40c40e1a1a918119a039709fa1269a1fe6f336b7d28fa0dea7cd747509d0cafa04f435d1e2f311a203e493f86f9414331ff9c1e774ec +DIST gitcomet-0.1.11-crates.tar.xz 81851280 BLAKE2B ab6dcd67d98e409c07843ce97f83677987ad9b42d5f93336a889833b497fa0b6abb18c9701ad4210d7916f1e282824774c7db92a26cb832ca624fc8567169173 SHA512 cd2861124b1096433f7ba46dbbd70fb5f35ef8f569ede8ccca053e2429b53f8c34612e07f7b217ee707f5b203b6dd26d73af2377cac927f6400e07716906686f +DIST gitcomet-0.1.11.tar.gz 11813568 BLAKE2B 3163843321479da8236563b945b013d4a4293d6f7761c1a2f806dc22022ff87522fd182396673be30aa2af9b7e714b3bb21371b6e73ff4d59a12f468803a8229 SHA512 e138b5d164fb2efd718948f0113d80d52916121ca7d5d60d9c979986c2530f9d464d4accf63768c9162dc0b4a0bd2daa4ee7e86b45be68e1794e113681a701aa DIST gitcomet-0.1.8-crates.tar.xz 86366292 BLAKE2B 0ee89b9906fa82468f152e85ef3fc7701a0338d3953e0f8c5045352596f0578e3ed3b2ed55e74b92af27d7500aabfbe62b10f1b0b07708676070f7e3aa15b79c SHA512 ce0b4f64d170e856ebd6864bea94290bdbb50c054f13094ff63f2f2a31a11859e7c610baedba59cd9ec679a88c242f5a21d466325bb2dbc20551211bf558fbbf DIST gitcomet-0.1.8.tar.gz 11665916 BLAKE2B 0038df8920d518fa89cfa3154e294c9c53336f355a348ed48ba923e58b0b963f415653c0752d5f4384ed4117f8925db7bc8eca7bb584f531be16641abb8ca76d SHA512 3d34e171ae75690dcce5ec4692cc6fd14e1620c1b65f1c7da3ce3ae390ae6c338915595854fd6a2854ce07c18f0a50bed236bda65fcac91a624ee0b8e75d80f8 +DIST gpui-ce-1679dc543d880e6562d84afe316a1b192a064b08.gh.tar.gz 6230572 BLAKE2B dfcdfadfd776aee671f9242c8a014af8e6cbc68248a2792eba3c6ec32a395b3de0f49f6543fbecb81f744cb785900d2297f30b58eda592e9fc36efb2de78a544 SHA512 fe1951a9e55b92031368f95fc14ae5a8378558c2b4406ab28193b18fa9f5ec23eb7eb88b128bad4fc0c5fcca791eff8d700074061f928cbe0f6634a31c01c37d DIST mimalloc_rust-262fb407466952bf6ebaf4a5d586c3010396cb2f.gh.tar.gz 19374 BLAKE2B 18f667b0d821b637af2638329060cc61d99d4ba9de3485716acf6182e9374de5ec7d466759dc9eed5ba3bf2ee3ba23785133e4fd193c19c028b0a29f99e21ae4 SHA512 c22504416cab3f0b631c8199e4a75dc6434b1c50a2e156a306355cfb479fa0220558937e140ba694835ed1f1b335d0f10f04f5a4904fffca9de4260a1d89dc90 +DIST tree-sitter-git-commit-88309716a69dd13ab83443721ba6e0b491d37ee9.gh.tar.gz 73789 BLAKE2B 0c87bac702bc3b88b9846944a8880b619be6aff3206a339da7a74ed81ca64c033ddf9a0c13a8320b6897dc6de225c8568661cb29a82cf445c8b6818c904f2395 SHA512 53141c8a98a22e031c44d158dbe0cbb7a6f41bc7e762b9b22c86db3e861f7b43771d136f958f6c207f621ba074e15a4fc37aae29ec7c4a6468a2a7ceae67eaf2 +DIST tree-sitter-go-mod-2e886870578eeba1927a2dc4bd2e2b3f598c5f9a.gh.tar.gz 31799 BLAKE2B 9952abc83e82db8c46114b4d126098ae4807a2b6847186e050e370934f56f77041b98632cbb39f54e7daabb9122ab9217618dd0bf49a0636a41ed682396212df SHA512 218e14793184c401e07374cbf2f5b71f70f7c07e04f72f854bdbb6f27c9d3a169460ac0083c88e26819d95ada79722df2769007d6c93e1f057a7ee1a8246c5c2 +DIST tree-sitter-go-work-acb0617bf7f4fda02c6217676cc64acb89536dc7.gh.tar.gz 16413 BLAKE2B 2b97192ad26449d28bb47acb99bd3a0b9cbb8fd2521693099d4191e1d8920b74d1b93f35a1d4f9081dd7bf161f2053f8eba6f2264c8b68d0fbd0fd7d1d1c75b8 SHA512 1b88438403d38019134c41db99c509e4cdbb75c4ba947abb1b5459a9f94eff33006fca4fda4b0a35412507bcdd9f0536a7e1ba2ac0918120242b46bcca9dec96 +DIST tree-sitter-markdown-9a23c1a96c0513d8fc6520972beedd419a973539.gh.tar.gz 418620 BLAKE2B 42c4a9029311aaff11932e6ee426494eb833e9b353763dd45f49fcdb94b297eef65e148e789681d628d80e6985516e8d622eb6e4744814cfa44ff53bea9260b5 SHA512 f1bc7c18bd0d72addb4e73a6e55f057cd6e104a3fb5c970d5036708e69e682d7288e6c14a7040c3f5213e18d798a503fca703c28f89627999e13269749300209 +DIST wgpu-a466bc382ea747f8e1ac810efdb6dcd49a514575.gh.tar.gz 13832162 BLAKE2B 985eb17de67c2e8e4799c8139a987fc33c624cf081416d54e83126c8862a6abb0b5fabff32438e51051f86e1242ff178b4858e1c6b55501d8811db4ed4b34b86 SHA512 a8841df7e90f781c8836a12fc0c733688e594e0adf04ef5ca38fb23fe58883df1b59ccfa4c05a709d8640f3a57abb964f9002d929e3d1fb61ce8cddf96339681 +DIST xim-rs-16f35a2c881b815a2b6cdfd6687988e84f8447d8.gh.tar.gz 47499 BLAKE2B d0ee4b9e2c68657a9f8cff6ecb18a6c975da9ec541d6b766c5dd5469737bf5bd61c6b0c57d41f7596dea9debf5fa1de42ac32d274bd06f4491e00b48e13cac5c SHA512 1a9a015ec48de6589ee9a4a4297542deb953899de600402a7242efea9ff25bc823628e55cc1921be96a9151211d1f82c1314b403ab2f6fcc1de6ee29b25d8a05 diff --git a/dev-vcs/gitcomet/gitcomet-0.1.11.ebuild b/dev-vcs/gitcomet/gitcomet-0.1.11.ebuild new file mode 100644 index 0000000000..11bf08a88b --- /dev/null +++ b/dev-vcs/gitcomet/gitcomet-0.1.11.ebuild @@ -0,0 +1,117 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.15.1 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [gpui-ce-macros]='https://github.com/Havunen/gpui-ce;1679dc543d880e6562d84afe316a1b192a064b08;gpui-ce-%commit%/tooling/macros' + [gpui-ce]='https://github.com/Havunen/gpui-ce;1679dc543d880e6562d84afe316a1b192a064b08;gpui-ce-%commit%' + [libmimalloc-sys]='https://github.com/eduDorus/mimalloc_rust;262fb407466952bf6ebaf4a5d586c3010396cb2f;mimalloc_rust-%commit%/libmimalloc-sys' + [mimalloc]='https://github.com/eduDorus/mimalloc_rust;262fb407466952bf6ebaf4a5d586c3010396cb2f;mimalloc_rust-%commit%' + [naga]='https://github.com/zed-industries/wgpu;a466bc382ea747f8e1ac810efdb6dcd49a514575;wgpu-%commit%/naga' + [tree-sitter-gitcommit]='https://github.com/zed-industries/tree-sitter-git-commit;88309716a69dd13ab83443721ba6e0b491d37ee9;tree-sitter-git-commit-%commit%' + [tree-sitter-gomod]='https://github.com/camdencheek/tree-sitter-go-mod;2e886870578eeba1927a2dc4bd2e2b3f598c5f9a;tree-sitter-go-mod-%commit%' + [tree-sitter-gowork]='https://github.com/zed-industries/tree-sitter-go-work;acb0617bf7f4fda02c6217676cc64acb89536dc7;tree-sitter-go-work-%commit%' + [tree-sitter-md]='https://github.com/tree-sitter-grammars/tree-sitter-markdown;9a23c1a96c0513d8fc6520972beedd419a973539;tree-sitter-markdown-%commit%' + [wgpu-core-deps-apple]='https://github.com/zed-industries/wgpu;a466bc382ea747f8e1ac810efdb6dcd49a514575;wgpu-%commit%/wgpu-core/platform-deps/apple' + [wgpu-core-deps-emscripten]='https://github.com/zed-industries/wgpu;a466bc382ea747f8e1ac810efdb6dcd49a514575;wgpu-%commit%/wgpu-core/platform-deps/emscripten' + [wgpu-core-deps-windows-linux-android]='https://github.com/zed-industries/wgpu;a466bc382ea747f8e1ac810efdb6dcd49a514575;wgpu-%commit%/wgpu-core/platform-deps/windows-linux-android' + [wgpu-core]='https://github.com/zed-industries/wgpu;a466bc382ea747f8e1ac810efdb6dcd49a514575;wgpu-%commit%/wgpu-core' + [wgpu-hal]='https://github.com/zed-industries/wgpu;a466bc382ea747f8e1ac810efdb6dcd49a514575;wgpu-%commit%/wgpu-hal' + [wgpu-naga-bridge]='https://github.com/zed-industries/wgpu;a466bc382ea747f8e1ac810efdb6dcd49a514575;wgpu-%commit%/wgpu-naga-bridge' + [wgpu-types]='https://github.com/zed-industries/wgpu;a466bc382ea747f8e1ac810efdb6dcd49a514575;wgpu-%commit%/wgpu-types' + [wgpu]='https://github.com/zed-industries/wgpu;a466bc382ea747f8e1ac810efdb6dcd49a514575;wgpu-%commit%/wgpu' + [xim-ctext]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%/xim-ctext' + [xim-parser]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%/xim-parser' + [zed-font-kit]='https://github.com/zed-industries/font-kit;110523127440aefb11ce0cf280ae7c5071337ec5;font-kit-%commit%' + [zed-xim]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%' +) + +RUST_MIN_VER="1.94.0" + +inherit cargo desktop wrapper xdg + +MY_PN="GitComet" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="GitComet is user interface for GIT workflows" +HOMEPAGE=" + https://gitcomet.dev/ + https://github.com/Auto-Explore/GitComet +" +SRC_URI=" + https://github.com/Auto-Explore/GitComet/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/dsafxP/gentoo-distfiles/releases/download/${P}/${P}-crates.tar.xz + ${CARGO_CRATE_URIS} +" + +S="${WORKDIR}/${MY_P}/crates/${PN}" + +LICENSE="AGPL-3" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 + CC0-1.0 ISC MIT MPL-2.0 UoI-NCSA Unicode-3.0 ZLIB +" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-libs/libgit2:=" +RDEPEND=">=dev-vcs/git-2.50.1" + +src_prepare() { + default + + local MIMALLOC_COMMIT="262fb407466952bf6ebaf4a5d586c3010396cb2f" + local WORKSPACE="${WORKDIR}/mimalloc_rust-${MIMALLOC_COMMIT}" + local VENDOR="${ECARGO_VENDOR}/libmimalloc-sys" + + # overwrite the broken c_src in the workspace + rm -rf "${WORKSPACE}/libmimalloc-sys/c_src/mimalloc/v3" || die + cp -r "${VENDOR}/c_src/mimalloc/v3" "${WORKSPACE}/libmimalloc-sys/c_src/mimalloc/v3" || die +} + +src_configure() { + export LIBGIT2_NO_VENDOR=1 + local myfeatures=( + ui + gix + ) + cargo_src_configure --bin gitcomet # gitcomet-launcher unsupported in linux +} + +src_install() { + cargo_src_install + + dodir /usr/libexec/${PN} + + mv "${ED}/usr/bin/${PN}" "${ED}/usr/libexec/${PN}/" || die + + # prevents auto install of desktop & icons locally + make_wrapper ${PN} "env GITCOMET_NO_DESKTOP_INSTALL=1 ${EPREFIX}/usr/libexec/${PN}/${PN}" + + cd "${WORKDIR}/${MY_P}" || die + + local DOCS=( + README.md + CONTRIBUTING.md + NOTICE + docs + ) + + einstalldocs + + domenu assets/linux/${PN}.desktop + + local x + for x in 32 48 128 256 512; do + doicon -s ${x} assets/linux/hicolor/${x}*/apps/* + done + + newicon -s scalable assets/${PN}_logo.svg ${PN}.svg +}