-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New package: zed-editor-0.218.6 #58659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Nizarjh
wants to merge
2
commits into
void-linux:master
Choose a base branch
from
Nizarjh:zed-editor
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+85
−0
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
srcpkgs/zed-editor/patches/0001-tweak-default-conf-for-privacy.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| diff --git a/assets/settings/default.json b/assets/settings/default.json | ||
| index efb0cc9..08fc993 100644 | ||
| --- a/assets/settings/default.json | ||
| +++ b/assets/settings/default.json | ||
| @@ -44,7 +44,7 @@ | ||
| // "calt": false | ||
| }, | ||
| // The default font size for text in the editor | ||
| - "buffer_font_size": 15, | ||
| + "buffer_font_size": 16, | ||
| // The weight of the editor font in standard CSS units from 100 to 900. | ||
| "buffer_font_weight": 400, | ||
| // Set the buffer's line height. | ||
| @@ -1240,9 +1240,9 @@ | ||
| // Control what info is collected by Zed. | ||
| "telemetry": { | ||
| // Send debug info like crash reports. | ||
| - "diagnostics": true, | ||
| + "diagnostics": false, | ||
| // Send anonymized usage data like what languages you're using Zed with. | ||
| - "metrics": true, | ||
| + "metrics": false | ||
| }, | ||
| // Whether to disable all AI features in Zed. | ||
| // | ||
| @@ -1250,7 +1250,7 @@ | ||
| "disable_ai": false, | ||
| // Automatically update Zed. This setting may be ignored on Linux if | ||
| // installed through a package manager. | ||
| - "auto_update": true, | ||
| + "auto_update": false, | ||
| // How to render LSP `textDocument/documentColor` colors in the editor. | ||
| // | ||
| // Possible values: | ||
| @@ -1434,7 +1434,7 @@ | ||
| // May take 2 values: | ||
| // 1. hour12 | ||
| // 2. hour24 | ||
| - "hour_format": "hour12", | ||
| + "hour_format": "hour24", | ||
| }, | ||
| // Status bar-related settings. | ||
| "status_bar": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml | ||
| index 54d16da..1ced68d 100644 | ||
| --- a/crates/zed/Cargo.toml | ||
| +++ b/crates/zed/Cargo.toml | ||
| @@ -14,7 +14,7 @@ workspace = true | ||
| tracy = ["ztracing/tracy"] | ||
|
|
||
| [[bin]] | ||
| -name = "zed" | ||
| +name = "zed-editor" | ||
| path = "src/zed-main.rs" | ||
|
|
||
| [lib] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Template file for 'zed-editor' | ||
| pkgname=zed-editor | ||
| version=0.218.6 | ||
| revision=1 | ||
| archs="x86_64* aarch64*" | ||
| build_style=cargo | ||
| make_install_args="--path crates/zed" | ||
| hostmakedepends="pkg-config protobuf gettext mold clang cmake " | ||
| makedepends="alsa-lib-devel fontconfig-devel libxcb-devel libxkbcommon-devel | ||
| libzstd-devel wayland-devel vulkan-loader openssl-devel libgit2-1.9-devel sqlite-devel libX11-devel" | ||
| depends="git" | ||
| checkdepends="noto-fonts-ttf" | ||
| short_desc="High-performance, multiplayer code editor" | ||
| maintainer="Nizarjh <chel773@tutamail.com>" | ||
| license="GPL-3.0-or-later, Apache-2.0, AGPL-3.0-or-later" | ||
| homepage="https://zed.dev/" | ||
| distfiles="https://github.com/zed-industries/zed/archive/v${version}.tar.gz" | ||
| checksum=4192fc27529937f5fb7f3a8a95f021f04acdeadd4d205b0239fc90fc008c325a | ||
|
|
||
| post_install() { | ||
| vlicense ${wrksrc}/LICENSE-AGPL | ||
| APP_NAME="Zed Editor" | ||
| DO_STARTUP_NOTIFY="true" | ||
| APP_ICON="zed-editor" | ||
| APP_CLI="zed-editor" | ||
| envsubst < ${wrksrc}/crates/zed/resources/zed.desktop.in > ${wrksrc}/crates/zed/resources/dev.zed.Zed.desktop | ||
| vinstall ${wrksrc}/crates/zed/resources/dev.zed.Zed.desktop 644 usr/share/applications/ | ||
| vinstall ${wrksrc}/crates/zed/resources/app-icon.png 644 usr/share/icons/hicolor/512x512/apps/ zed.png | ||
This comment was marked as spam.
Sorry, something went wrong. |
||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.