From 2cd9ff612e84f0c1ef63c9e9e13be53fe576cc2b Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@koprulu.sector>
Date: Fri, 8 Nov 2024 03:03:28 +0000
Subject: gentoo auto-resync : 08:11:2024 - 03:03:27

---
 app-editors/Manifest.gz                            | Bin 14123 -> 14129 bytes
 app-editors/ghostwriter/Manifest                   |   4 +-
 .../ghostwriter/ghostwriter-24.08.2-r1.ebuild      |  44 ------
 app-editors/ghostwriter/ghostwriter-24.08.3.ebuild |  42 ++++++
 app-editors/zed/Manifest                           |   6 +-
 app-editors/zed/zed-0.158.1.ebuild                 | 144 ------------------
 app-editors/zed/zed-0.160.7.ebuild                 | 168 +++++++++++++++++++++
 7 files changed, 215 insertions(+), 193 deletions(-)
 delete mode 100644 app-editors/ghostwriter/ghostwriter-24.08.2-r1.ebuild
 create mode 100644 app-editors/ghostwriter/ghostwriter-24.08.3.ebuild
 delete mode 100644 app-editors/zed/zed-0.158.1.ebuild
 create mode 100644 app-editors/zed/zed-0.160.7.ebuild

(limited to 'app-editors')

diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index 1aecdea67a33..db22ece7e90a 100644
Binary files a/app-editors/Manifest.gz and b/app-editors/Manifest.gz differ
diff --git a/app-editors/ghostwriter/Manifest b/app-editors/ghostwriter/Manifest
index ea2c7b875339..4c2b68ba032c 100644
--- a/app-editors/ghostwriter/Manifest
+++ b/app-editors/ghostwriter/Manifest
@@ -1,6 +1,6 @@
 AUX ghostwriter-24.08.2-fix-segfault.patch 5449 BLAKE2B 3b32fd32811137dee4169074e8f1e39cc7217d55b2725b84277dc987b06e62c85985486cc2275845530f117bd11a5ec52a2e14593cc630f45bcc24c3032f11e2 SHA512 5dd50e158e0dfc6feabf0680ca4a62909abd751ebba351901e0a69f8a3be04d807242cbee3e6bc722ca21eb257c43fc07e048f58bc9fca1e94d4ec2b8f138d29
 DIST ghostwriter-24.08.1.tar.xz 2707204 BLAKE2B 160899adb79cd549577a0ca84b619fd994742a3e320038dc1d830f8b90b0c381df10bfaab76680ce685a6315a4ad4be7406c429b05280125637ea324b0114958 SHA512 cc5438555dae815be42ba69ff74720002e809090cfebdecd0c69d509dc8675ce65cef54fe0292b3bd63365b83cd0f360151c78f5b0abcebc354397c9ef423e8d
-DIST ghostwriter-24.08.2.tar.xz 2707632 BLAKE2B 479d3ddeeb920ff2a2f72e52a0c5b099592b671561e44a622a78f34e55b8a648bfc138901f5dc02a597f2e143399a05b3e187a93ebd1235671326f39e7bb80b2 SHA512 556a79cd7784aa2f409031b19961d64dae8a26be32efee4ff8734c3a6b5305dab8988584eefd03976e24943f6dbaa79a85b2904354e1aa2c636b1e84edfa4266
+DIST ghostwriter-24.08.3.tar.xz 2708104 BLAKE2B f64343a2911410791f2b748a543b0c6355ddfd488d18120152adb021c2b01d1887a120b1febc00ccfbdd6f2ce2bf716a4a3b7e56338962924b61c53fbee0498c SHA512 1cb28738674687dddee0155b4b16ef436d79ab10aef653d7bb083fd76820f02e4c5d48f04d22dcd16d44d1893abf37ce4bdf3bbb1897d978cc199b89259103d9
 EBUILD ghostwriter-24.08.1.ebuild 892 BLAKE2B 9a2d67a7aded298e93bbf950076d4461b3b495ef1a18a901437bde02bdfb23226574e0b01e744faca70ee23583140f902cad0966319d276c916011510dd70dc1 SHA512 fec041f18e1a2435173c564938acc3c22df944f539f29476e23440607b8df35b25759f38050c3e21662125e28dd602eea252b9adae052ae099b0f6810b84108b
-EBUILD ghostwriter-24.08.2-r1.ebuild 1068 BLAKE2B 480af75f76c688f3402594c53a3ab8ba9a9cce17a183296066524b1fd26e99a15ea2654634570da1897c1acc4d2538cd47b24bc2805b9bd6b6c471553828c0b7 SHA512 c46020a17fe5fb5f8b97e76a02a4d145d6fd9dae63efd8f2ead8e473c138fd9bbec52ec74d43d908f2168dfec2da1e9d6f88f081698711e03c21203ff8d835ce
+EBUILD ghostwriter-24.08.3.ebuild 967 BLAKE2B 50e88be59e63abf69e2aec647be27275087d85d783357c32aa50fd7e27fcd335f2c7edf1907e119a11434bb5043ca8459d16953caff70ee20393fe461e50730f SHA512 92d396df51b3fc97f7f11ef6b432001ceede62b499f2eee9ee0b19f3e1fed0cdb0aee79824ed4ce59dd470bce820a1ba74383576a3ae9616acd534fbcfeb9821
 MISC metadata.xml 380 BLAKE2B 8c20dfd3208e20d12c1c1fc2f6b75ac80c88175865f269859f5fd903dacec1371af3b6e77ebb905271ad58dc4a266dd7679ded9117c02767676bb7644e3ce060 SHA512 4af810107c31548de0663061ef865b124a7a0828e7955ee31bbb71c1e0cabf0420d494dca2e7c7ee2dd4adbb87c203a62b57e843757a3534ac6f97fb2a4b3d65
diff --git a/app-editors/ghostwriter/ghostwriter-24.08.2-r1.ebuild b/app-editors/ghostwriter/ghostwriter-24.08.2-r1.ebuild
deleted file mode 100644
index 85e2aa731416..000000000000
--- a/app-editors/ghostwriter/ghostwriter-24.08.2-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KDE_ORG_CATEGORY="office"
-ECM_HANDBOOK="optional"
-KFMIN=6.5.0
-QTMIN=6.7.2
-inherit ecm gear.kde.org
-
-DESCRIPTION="Cross-platform, aesthetic, distraction-free markdown editor"
-HOMEPAGE="https://ghostwriter.kde.org/"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE=""
-
-RDEPEND="
-	app-text/hunspell:=
-	>=dev-qt/qtbase-${QTMIN}:6[gui,widgets]
-	>=dev-qt/qtsvg-${QTMIN}:6
-	>=dev-qt/qtwebchannel-${QTMIN}:6
-	>=dev-qt/qtwebengine-${QTMIN}:6
-	>=kde-frameworks/kcoreaddons-${KFMIN}:6
-	>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
-	>=kde-frameworks/kxmlgui-${KFMIN}:6
-	>=kde-frameworks/sonnet-${KFMIN}:6
-	virtual/opengl
-"
-DEPEND="${RDEPEND}
-	>=dev-qt/qtbase-${QTMIN}:6[concurrent]
-"
-BDEPEND="
-	>=dev-qt/qttools-${QTMIN}:6[linguist]
-	virtual/pkgconfig
-"
-
-DOCS=( CHANGELOG.md README.md )
-
-# Picked for 24.08.3, hopefully to be respun:
-# https://invent.kde.org/office/ghostwriter/-/merge_requests/46
-PATCHES=( "${FILESDIR}/${P}-fix-segfault.patch" ) # bug 942928
diff --git a/app-editors/ghostwriter/ghostwriter-24.08.3.ebuild b/app-editors/ghostwriter/ghostwriter-24.08.3.ebuild
new file mode 100644
index 000000000000..c7d89dffc208
--- /dev/null
+++ b/app-editors/ghostwriter/ghostwriter-24.08.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_CATEGORY="office"
+ECM_HANDBOOK="optional"
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="Cross-platform, aesthetic, distraction-free markdown editor"
+HOMEPAGE="https://ghostwriter.kde.org/"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE=""
+
+RDEPEND="
+	app-text/hunspell:=
+	>=dev-qt/qtbase-${QTMIN}:6[gui,widgets]
+	>=dev-qt/qtsvg-${QTMIN}:6
+	>=dev-qt/qtwebchannel-${QTMIN}:6
+	>=dev-qt/qtwebengine-${QTMIN}:6
+	>=kde-frameworks/kcoreaddons-${KFMIN}:6
+	>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+	>=kde-frameworks/kxmlgui-${KFMIN}:6
+	>=kde-frameworks/sonnet-${KFMIN}:6
+	virtual/opengl
+"
+DEPEND="${RDEPEND}
+	>=dev-qt/qtbase-${QTMIN}:6[concurrent]
+"
+BDEPEND="
+	>=dev-qt/qttools-${QTMIN}:6[linguist]
+	virtual/pkgconfig
+"
+
+DOCS=( CHANGELOG.md README.md )
+
+PATCHES=( "${FILESDIR}/${PN}-24.08.2-fix-segfault.patch" ) # bug 942928
diff --git a/app-editors/zed/Manifest b/app-editors/zed/Manifest
index 8bb2428c6ce2..3c5c1bc020a4 100644
--- a/app-editors/zed/Manifest
+++ b/app-editors/zed/Manifest
@@ -19,11 +19,11 @@ DIST xim-rs-d50d461764c2213655cd9cf65a0ea94c70d3c4fd.gh.tar.gz 47427 BLAKE2B e5b
 DIST xkbcommon-rs-fcbb4612185cc129ceeff51d22f7fb51810a03b2.gh.tar.gz 58121 BLAKE2B f45a05820f40039f57c341d2c6cf3f375bfa4356e5f679a9f6fc6fdd764f1214375356ca3c7216e762735049f37b39d520c778732639365975a90369b38edb94 SHA512 513edf39326231f938747f3d5f195df89540cdf0e37867c2346378fb2bb7f0030bb83ea0422e4ca44a026a8eafa94ef6c4c07af3974e56a2c77b18e0ef9197fe
 DIST zed-0.155.2-crates.tar.xz 102884036 BLAKE2B 109b5355fd8f7b6995553a61ce70cd653c65861ebf966a18fd36027ce84a29af817142d671f7fae71f8fb41295e2f1c8c811b12a4565f2deda8ef3cb31cce840 SHA512 049a625fe44ae08f69909282b6dc3ed49b230b333492ca00e67233c227ac871fe3a847804d102ea7d787803284468f4dd50244fa963da4cf4e434a9b83c7eb74
 DIST zed-0.155.2.tar.gz 13029083 BLAKE2B 79b7fbee1c2870ed062469967e73b45f3c9fecacc28d27fecfc79307133f04d25fd9881d182fdf327a4abf35cf98a5d68c42b5e8acc0d9f2a6771199d9b38de5 SHA512 d95acf8df3f7cf8b3081740fd9750452dd5c97461f53e57457529363cc9e20c9d7db3753f60e2b7be13772f5a7b261725c260afe76f08bcf3382a1068b481e74
-DIST zed-0.158.1-crates.tar.xz 93927728 BLAKE2B 6c1b37d0203723b600b50b14d878491af20e3d7e9c7a6ea71352a7a95127e39d4a3136fcafcfa1f8e8d8fb209924466e21078da67f722a6361c086341a136bde SHA512 77121510fc364fd65e8c5440ebf5683c89b6ef0d47f875276a1ba2279f9c4df47458cd4abf534dd70a73ecebdd78fdb59b922c7c08d27dad43b672957168b139
-DIST zed-0.158.1.tar.gz 13080553 BLAKE2B 4e2cebf3edaaeb855f0521c45277e04d7b67c82ba9a706fa8c030f6838cc383f8ef57d45b215168aca8b26b5dec43bae1f6a4e7a552480591c05248aad88162f SHA512 ed1adc4b788f8901c337e795e1f34cdbee5b2e04f14bc8530f69c41ffcca03384a01ea0c8a7989d76dfe11e80e1268d32965212253530cc747320171eb0b8fd8
 DIST zed-0.159.10-crates.tar.xz 94070480 BLAKE2B e71cbd177b8bda76f2a43b84e93c2661b2e7d2a5cc6cb69dadac197cbaef55a78e0164f8e0779604c0f1869e2505ae2e27561ccbcdfc425e39c45e84b98ceaaa SHA512 193fbb3da38ca116ca3b5c8fd78dcb714bebd83b66576ebacde9d494c2455b0fcc5bb71e227a61132e47c91e61e6e181325a96dc45847cbe7f4f80f8f2a2a63f
 DIST zed-0.159.10.tar.gz 13112831 BLAKE2B 6ce82efb4fd6a637d8951b59a892cf70e7d09c7659d75affc39930fd6f97e249f599cd7fbef7410aed3bfc7e85ea529cc536c073c4761c61980af5762bbf3230 SHA512 dcd2fbd1f61eacaadaa5db418f88fd7bceb6e5e360ad3098adaf574a1f874c5d0d1ce4de52f274b6be9df32c4fd815d0f519f413a8f7297312bd191ff30f90eb
+DIST zed-0.160.7-crates.tar.xz 94131964 BLAKE2B f7f0887b90c660c807a0a59d0c8fd11524de7511942a0779f36a185bcd8de1bfe36ce68618bafb58e56fdeae4bf84274a600c79cd0b75f854e1764d683210ffe SHA512 cb422582835923825c514ca6e4174c79fc94970a2182b46019d73dd8e2357c02a5d6a5dd7bd5d6007663b413d81e3d0c473b8e847a14435e2422818adac04ddf
+DIST zed-0.160.7.tar.gz 13122247 BLAKE2B 944333d478f6c1595ee6efc70ca3a1b01fd242b51e5e289d985cb9df3c91cda1ae2b6fc497104656f36625bdd59d618b13b1f6f6060ac898626433947231bb34 SHA512 aa16f6ecd17371330b15281418581027f868819af17ed7b7c1dda1c1abbe05d9306d13b9aa94cdbe4ec533c24f8e37132d08a9497b07be0b5c225c3f3c3687d4
 EBUILD zed-0.155.2.ebuild 5274 BLAKE2B 3934653543a52b14c3e1e1cfc1105fa9fb1d3e253a08f285a09d3db57cd459349d349b08ed5c49f20266f3b31935a04fe164d75e026de600377018c94aa51466 SHA512 3cf71e0636412bf276c1788f8cc995f96a7cf552a6c3e1d8681da66d2b708b49354bffaf5af77a14aca8cd9c9bb1e6306836c01e7e991f6460d60008d6552e76
-EBUILD zed-0.158.1.ebuild 5444 BLAKE2B 2f2cb69807982b339d631f36bc123b2a97de0a41efeb3cdbfe25a9786874b06ab5eae7dc50e20f56eaca934a227b13b63944926bdff4d40d3ed55a3346d5b7d8 SHA512 1ba617a6f9d4dd8265a5a90c14ffd74efa49e444fcc4b91d8200dd67de1ea71236a68a06667fee26a00f3de554e6edbb98a3fbe3c5283d37783209b118acf33e
 EBUILD zed-0.159.10.ebuild 9386 BLAKE2B b5f66e0631d26e5a4478385d11524c542f2b4c9d40c27e0419d3609d3ee57b36862ca4d2c506d62f17b4b9266e4cd1ad1f6ee019bae0e0681fee20b6a908c88e SHA512 94763fe2b3036bc7b14285ba08a2ab4107cfffa77750434fd128df45a9bd5fc1624485dfe8dde168df883ddeeab6bc61b628c2478cb312217f58d44df51a19fc
+EBUILD zed-0.160.7.ebuild 9386 BLAKE2B b5f66e0631d26e5a4478385d11524c542f2b4c9d40c27e0419d3609d3ee57b36862ca4d2c506d62f17b4b9266e4cd1ad1f6ee019bae0e0681fee20b6a908c88e SHA512 94763fe2b3036bc7b14285ba08a2ab4107cfffa77750434fd128df45a9bd5fc1624485dfe8dde168df883ddeeab6bc61b628c2478cb312217f58d44df51a19fc
 MISC metadata.xml 575 BLAKE2B 3793593f06424fd3986e23cd148b663bfcbf5c1dc0f76847a3991bbdde8badfdc863d0994ba1b59fc0e886243ded4e4421da4b4bf6d2951887801f78b0d6d290 SHA512 b0660a1a36d59dea6b9a6e25a239f0484e1cbf98a6569dd17d6bae1145f12d7e3ac2609bbce32627bf7ca6161581cd82c087d7deb17dd662c23bd81db6465a02
diff --git a/app-editors/zed/zed-0.158.1.ebuild b/app-editors/zed/zed-0.158.1.ebuild
deleted file mode 100644
index 9400146f311f..000000000000
--- a/app-editors/zed/zed-0.158.1.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Autogenerated by pycargoebuild 0.13.3
-
-EAPI=8
-
-CRATES="
-"
-
-declare -A GIT_CRATES=(
-	[alacritty_terminal]='https://github.com/alacritty/alacritty;91d034ff8b53867143c005acfaa14609147c9a2c;alacritty-%commit%/alacritty_terminal'
-	[async-pipe]='https://github.com/zed-industries/async-pipe-rs;82d00a04211cf4e1236029aa03e6b6ce2a74c553;async-pipe-rs-%commit%'
-	[async-stripe]='https://github.com/zed-industries/async-stripe;3672dd4efb7181aa597bf580bf5a2f5d23db6735;async-stripe-%commit%'
-	[blade-graphics]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-graphics'
-	[blade-macros]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-macros'
-	[blade-util]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-util'
-	[cosmic-text]='https://github.com/pop-os/cosmic-text;542b20ca4376a3b5de5fa629db1a4ace44e18e0c;cosmic-text-%commit%'
-	[font-kit]='https://github.com/zed-industries/font-kit;40391b7c0041d8a8572af2afa3de32ae088f0120;font-kit-%commit%'
-	[lsp-types]='https://github.com/zed-industries/lsp-types;72357d6f6d212bdffba3b5ef4b31d8ca856058e7;lsp-types-%commit%'
-	[nvim-rs]='https://github.com/KillTheMule/nvim-rs;69500bae73b8b3f02a05b7bee621a0d0e633da6c;nvim-rs-%commit%'
-	[reqwest]='https://github.com/zed-industries/reqwest;fd110f6998da16bbca97b6dddda9be7827c50e29;reqwest-%commit%'
-	[tree-sitter-gomod]='https://github.com/zed-industries/tree-sitter-go-mod;a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca;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-heex]='https://github.com/zed-industries/tree-sitter-heex;1dd45142fbb05562e35b2040c6129c9bca346592;tree-sitter-heex-%commit%'
-	[tree-sitter-md]='https://github.com/zed-industries/tree-sitter-markdown;4cfa6aad6b75052a5077c80fd934757d9267d81b;tree-sitter-markdown-%commit%'
-	[tree-sitter-yaml]='https://github.com/zed-industries/tree-sitter-yaml;baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a;tree-sitter-yaml-%commit%'
-	[xim-ctext]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%/xim-ctext'
-	[xim-parser]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%/xim-parser'
-	[xim]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%'
-	[xkbcommon]='https://github.com/ConradIrwin/xkbcommon-rs;fcbb4612185cc129ceeff51d22f7fb51810a03b2;xkbcommon-rs-%commit%'
-)
-
-LLVM_COMPAT=( 18 )
-
-inherit cargo check-reqs desktop flag-o-matic llvm-r1 toolchain-funcs xdg
-
-DESCRIPTION="The fast, collaborative code editor"
-HOMEPAGE="https://zed.dev https://github.com/zed-industries/zed"
-SRC_URI="
-	https://github.com/zed-industries/zed/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
-	https://gitlab.com/api/v4/projects/35204985/packages/generic/${PN}/${PV}/${P}-crates.tar.xz
-	${CARGO_CRATE_URIS}"
-
-LICENSE="GPL-3+"
-# Dependent crate licenses
-LICENSE+="
-	Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC
-	LGPL-3 MIT MPL-2.0 Unicode-DFS-2016 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="gles"
-CHECKREQS_DISK_BUILD="8G"
-CHECKREQS_MEMORY="16G"
-
-DEPEND="
-	app-arch/zstd:=
-	dev-db/sqlite:3
-	dev-libs/libgit2:=
-	dev-libs/mimalloc
-	dev-libs/openssl:0/3
-	dev-libs/protobuf
-	dev-libs/wayland
-	dev-libs/wayland-protocols
-	dev-util/wayland-scanner
-	dev-util/vulkan-tools
-	media-fonts/noto
-	media-libs/alsa-lib
-	media-libs/fontconfig
-	media-libs/vulkan-loader[X]
-	net-misc/curl
-	sys-libs/zlib
-	x11-libs/libxcb:=
-	x11-libs/libxkbcommon[X]
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	>=virtual/rust-1.80.0
-	dev-util/vulkan-headers
-	sys-devel/gettext
-	sys-devel/mold
-	$(llvm_gen_dep '
-		sys-devel/clang:${LLVM_SLOT}=
-		sys-devel/llvm:${LLVM_SLOT}=
-	')
-"
-
-QA_FLAGS_IGNORED="usr/bin/zedit"
-
-pkg_setup() {
-	if tc-is-gcc; then
-		export CARGO_PROFILE_RELEASE_LTO="true"
-	elif tc-is-clang; then
-		export CARGO_PROFILE_RELEASE_LTO="thin"
-	fi
-	strip-unsupported-flags
-	# flags from upstream
-	export RUSTFLAGS="${RUSTFLAGS} -C symbol-mangling-version=v0 --cfg tokio_unstable -C link-arg=-fuse-ld=mold -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
-	# linking error with llvm-18
-	export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,-z,nostart-stop-gc"
-	if use gles; then
-		export RUSTFLAGS="${RUSTFLAGS} --cfg gles"
-	fi
-}
-
-src_prepare() {
-	default
-
-	export APP_CLI="zedit"
-	export APP_ICON="zed"
-	export APP_ID="dev.zed.Zed"
-	export APP_NAME="Zed"
-	export APP_ARGS="%U"
-	export DO_STARTUP_NOTIFY="true"
-	envsubst < "crates/zed/resources/zed.desktop.in" > ${APP_ID}.desktop || die
-}
-
-src_configure() {
-	cargo_src_configure --all-features
-}
-
-src_compile() {
-	export RELEASE_VERSION="${PV}"
-	export ZED_UPDATE_EXPLANATION='Updates are handled by portage'
-	cargo_src_compile --package zed --package cli
-}
-
-src_install() {
-	newbin $(cargo_target_dir)/cli ${APP_CLI}
-	exeinto "/usr/libexec"
-	newexe $(cargo_target_dir)/zed zed-editor
-
-	newicon -s 512 crates/zed/resources/app-icon.png zed.png
-	newicon -s 1024 crates/zed/resources/app-icon@2x.png zed.png
-	domenu "${S}/${APP_ID}.desktop"
-}
-
-src_test () {
-	mkdir -p "${HOME}/.config/zed" || die
-	mkdir -p "${HOME}/.local/share/zed/logs/" || die
-
-	SHELL=/usr/bin/sh RUST_BACKTRACE=full cargo_src_test -vv
-}
diff --git a/app-editors/zed/zed-0.160.7.ebuild b/app-editors/zed/zed-0.160.7.ebuild
new file mode 100644
index 000000000000..63b11db2c3dd
--- /dev/null
+++ b/app-editors/zed/zed-0.160.7.ebuild
@@ -0,0 +1,168 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.3
+
+EAPI=8
+
+CRATES="
+"
+
+declare -A GIT_CRATES=(
+	[alacritty_terminal]='https://github.com/alacritty/alacritty;91d034ff8b53867143c005acfaa14609147c9a2c;alacritty-%commit%/alacritty_terminal'
+	[async-pipe]='https://github.com/zed-industries/async-pipe-rs;82d00a04211cf4e1236029aa03e6b6ce2a74c553;async-pipe-rs-%commit%'
+	[async-stripe]='https://github.com/zed-industries/async-stripe;3672dd4efb7181aa597bf580bf5a2f5d23db6735;async-stripe-%commit%'
+	[blade-graphics]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-graphics'
+	[blade-macros]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-macros'
+	[blade-util]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-util'
+	[cosmic-text]='https://github.com/pop-os/cosmic-text;542b20ca4376a3b5de5fa629db1a4ace44e18e0c;cosmic-text-%commit%'
+	[font-kit]='https://github.com/zed-industries/font-kit;40391b7c0041d8a8572af2afa3de32ae088f0120;font-kit-%commit%'
+	[lsp-types]='https://github.com/zed-industries/lsp-types;72357d6f6d212bdffba3b5ef4b31d8ca856058e7;lsp-types-%commit%'
+	[nvim-rs]='https://github.com/KillTheMule/nvim-rs;69500bae73b8b3f02a05b7bee621a0d0e633da6c;nvim-rs-%commit%'
+	[pet-conda]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-conda'
+	[pet-core]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-core'
+	[pet-env-var-path]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-env-var-path'
+	[pet-fs]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-fs'
+	[pet-global-virtualenvs]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-global-virtualenvs'
+	[pet-homebrew]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-homebrew'
+	[pet-jsonrpc]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-jsonrpc'
+	[pet-linux-global-python]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-linux-global-python'
+	[pet-mac-commandlinetools]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-mac-commandlinetools'
+	[pet-mac-python-org]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-mac-python-org'
+	[pet-mac-xcode]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-mac-xcode'
+	[pet-pipenv]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-pipenv'
+	[pet-poetry]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-poetry'
+	[pet-pyenv]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-pyenv'
+	[pet-python-utils]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-python-utils'
+	[pet-reporter]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-reporter'
+	[pet-telemetry]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-telemetry'
+	[pet-venv]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-venv'
+	[pet-virtualenv]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-virtualenv'
+	[pet-virtualenvwrapper]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-virtualenvwrapper'
+	[pet-windows-registry]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-windows-registry'
+	[pet-windows-store]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet-windows-store'
+	[pet]='https://github.com/microsoft/python-environment-tools;ffcbf3f28c46633abd5448a52b1f396c322e0d6c;python-environment-tools-%commit%/crates/pet'
+	[reqwest]='https://github.com/zed-industries/reqwest;fd110f6998da16bbca97b6dddda9be7827c50e29;reqwest-%commit%'
+	[tree-sitter-gomod]='https://github.com/zed-industries/tree-sitter-go-mod;a9aea5e358cde4d0f8ff20b7bc4fa311e359c7ca;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-heex]='https://github.com/zed-industries/tree-sitter-heex;1dd45142fbb05562e35b2040c6129c9bca346592;tree-sitter-heex-%commit%'
+	[tree-sitter-md]='https://github.com/tree-sitter-grammars/tree-sitter-markdown;9a23c1a96c0513d8fc6520972beedd419a973539;tree-sitter-markdown-%commit%'
+	[tree-sitter-yaml]='https://github.com/zed-industries/tree-sitter-yaml;baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a;tree-sitter-yaml-%commit%'
+	[xim-ctext]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%/xim-ctext'
+	[xim-parser]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%/xim-parser'
+	[xim]='https://github.com/XDeme1/xim-rs;d50d461764c2213655cd9cf65a0ea94c70d3c4fd;xim-rs-%commit%'
+	[xkbcommon]='https://github.com/ConradIrwin/xkbcommon-rs;fcbb4612185cc129ceeff51d22f7fb51810a03b2;xkbcommon-rs-%commit%'
+)
+
+LLVM_COMPAT=( 18 )
+
+inherit cargo check-reqs desktop flag-o-matic llvm-r1 toolchain-funcs xdg
+
+DESCRIPTION="The fast, collaborative code editor"
+HOMEPAGE="https://zed.dev https://github.com/zed-industries/zed"
+SRC_URI="
+	https://github.com/zed-industries/zed/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://gitlab.com/api/v4/projects/35204985/packages/generic/${PN}/${PV}/${P}-crates.tar.xz
+	${CARGO_CRATE_URIS}"
+
+LICENSE="GPL-3+"
+# Dependent crate licenses
+LICENSE+="
+	Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC
+	LGPL-3 MIT MPL-2.0 Unicode-DFS-2016 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gles"
+CHECKREQS_DISK_BUILD="8G"
+CHECKREQS_MEMORY="16G"
+
+DEPEND="
+	app-arch/zstd:=
+	dev-db/sqlite:3
+	dev-libs/libgit2:=
+	dev-libs/mimalloc
+	dev-libs/openssl:0/3
+	dev-libs/protobuf
+	dev-libs/wayland
+	dev-libs/wayland-protocols
+	dev-util/wayland-scanner
+	dev-util/vulkan-tools
+	media-fonts/noto
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/vulkan-loader[X]
+	net-misc/curl
+	sys-libs/zlib
+	x11-libs/libxcb:=
+	x11-libs/libxkbcommon[X]
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	dev-build/cmake
+	dev-util/vulkan-headers
+	sys-devel/gettext
+	sys-devel/mold
+	>=virtual/rust-1.80.0
+	$(llvm_gen_dep '
+		sys-devel/clang:${LLVM_SLOT}=
+		sys-devel/llvm:${LLVM_SLOT}=
+	')
+"
+
+QA_FLAGS_IGNORED="usr/bin/zedit"
+
+pkg_setup() {
+	if tc-is-gcc; then
+		export CARGO_PROFILE_RELEASE_LTO="true"
+	elif tc-is-clang; then
+		export CARGO_PROFILE_RELEASE_LTO="thin"
+	fi
+	strip-unsupported-flags
+	# flags from upstream
+	export RUSTFLAGS="${RUSTFLAGS} -C symbol-mangling-version=v0 --cfg tokio_unstable -C link-arg=-fuse-ld=mold -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
+	# linking error with llvm-18
+	export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,-z,nostart-stop-gc"
+	if use gles; then
+		export RUSTFLAGS="${RUSTFLAGS} --cfg gles"
+	fi
+}
+
+src_prepare() {
+	default
+
+	export APP_CLI="zedit"
+	export APP_ICON="zed"
+	export APP_ID="dev.zed.Zed"
+	export APP_NAME="Zed"
+	export APP_ARGS="%U"
+	export DO_STARTUP_NOTIFY="true"
+	envsubst < "crates/zed/resources/zed.desktop.in" > ${APP_ID}.desktop || die
+}
+
+src_configure() {
+	cargo_src_configure --all-features
+}
+
+src_compile() {
+	export RELEASE_VERSION="${PV}"
+	export ZED_UPDATE_EXPLANATION='Updates are handled by portage'
+	cargo_src_compile --package zed --package cli
+}
+
+src_install() {
+	newbin $(cargo_target_dir)/cli ${APP_CLI}
+	exeinto "/usr/libexec"
+	newexe $(cargo_target_dir)/zed zed-editor
+
+	newicon -s 512 crates/zed/resources/app-icon.png zed.png
+	newicon -s 1024 crates/zed/resources/app-icon@2x.png zed.png
+	domenu "${S}/${APP_ID}.desktop"
+}
+
+src_test () {
+	mkdir -p "${HOME}/.config/zed" || die
+	mkdir -p "${HOME}/.local/share/zed/logs/" || die
+
+	SHELL=/usr/bin/sh RUST_BACKTRACE=full cargo_src_test -vv
+}
-- 
cgit v1.2.3