Package Details: zed-editor 0.135.2-1

Git Clone URL: https://aur.archlinux.org/zed-editor.git (read-only, click to copy)
Package Base: zed-editor
Description: A high-performance, multiplayer code editor from the creators of Atom and Tree-sitter
Upstream URL: https://zed.dev
Licenses: Apache-2.0, GPL-3.0-or-later, AGPL-3.0-or-later
Submitter: alerque
Maintainer: alerque
Last Packager: alerque
Votes: 34
Popularity: 11.06
First Submitted: 2024-01-24 19:09 (UTC)
Last Updated: 2024-05-15 19:33 (UTC)

Dependencies (25)

Required by (0)

Sources (2)

Pinned Comments

alerque commented on 2024-03-07 10:09 (UTC)

This package now builds and runs (at least in a clean chroot), so I'm setting pkgrel=1.

That being said there are still issues. Upstream support for Linux is not complete.

  • The generated binary is 800MB+. For some reason debug builds are only 400BM+.
  • Creating windows like file open dialogues is not working yet.
  • Surely more....

Please watch the upstream tracking issue for official news on Linux support.

As soon as Linux support is official and the editor handles basic functions like opening a project saving edited files I'll get it migrated to [extra].

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

alerque commented on 2024-03-12 11:26 (UTC)

@titaniumtown If you are not building in a chroot per Arch recommendations and you've changed your host system's makepkg defaults to use clang instead of gcc then yes that might fail ... and you're on your own for other things you have to adjust to make it work.

@grandchild The Arch package build system strips binaries by default.

titaniumtown commented on 2024-03-11 11:44 (UTC)

@alerque Maybe it was clang-related then?

grandchild commented on 2024-03-09 18:18 (UTC)

You can get the binary size down to 155MiB by simply stripping it.

alerque commented on 2024-03-08 20:12 (UTC)

@titaniumtown That is not accurate. LTO is enabled by default in Arch's official package build tooling which I am using to build this. I have some LTO stuff disabled in the PKGBUILD, but it does work with LTO enabled in makepkg.conf.

titaniumtown commented on 2024-03-07 23:40 (UTC)

Note for anyone trying to build this: I kept getting an error about "unrecognized file format" with the linker, turned out this package cannot be built with LTO enabled in makepkg.conf.

alerque commented on 2024-03-07 10:09 (UTC)

This package now builds and runs (at least in a clean chroot), so I'm setting pkgrel=1.

That being said there are still issues. Upstream support for Linux is not complete.

  • The generated binary is 800MB+. For some reason debug builds are only 400BM+.
  • Creating windows like file open dialogues is not working yet.
  • Surely more....

Please watch the upstream tracking issue for official news on Linux support.

As soon as Linux support is official and the editor handles basic functions like opening a project saving edited files I'll get it migrated to [extra].

alerque commented on 2024-03-07 07:27 (UTC) (edited on 2024-03-07 08:20 (UTC) by alerque)

As of current main branch I have a working build from the Git sources now (built on the host system). The v0.126.0-pre tag also builds but is not usable as an editor. Not to figure out the packaging dependencies properly.... Working on that now but I expect we can have a pkgrel=1 very soon!

ZeroDot1 commented on 2024-03-01 18:08 (UTC)

Running unittests src/zed.rs (target/debug/deps/zed-f864f1ea85297433)

running 16 tests test tests::test_disabled_keymap_binding ... FAILED test tests::test_base_keymap ... FAILED test tests::test_new_empty_workspace ... FAILED test tests::test_setting_language_when_saving_as_single_file_worktree ... FAILED test tests::test_navigation ... FAILED test tests::test_window_edit_state ... FAILED test tests::test_open_entry ... FAILED test tests::test_open_paths ... FAILED test tests::test_save_conflicting_item ... FAILED test tests::test_pane_actions ... FAILED test tests::test_open_and_save_new_file ... FAILED test tests::test_opening_excluded_paths ... FAILED test tests::test_open_paths_action ... FAILED test tests::test_reopening_closed_items ... FAILED test tests::test_bundled_settings_and_themes ... FAILED test tests::test_bundled_languages ... ok

failures:

---- tests::test_disabled_keymap_binding stdout ---- thread 'tests::test_disabled_keymap_binding' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

---- tests::test_base_keymap stdout ---- thread 'tests::test_base_keymap' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_new_empty_workspace stdout ---- thread 'tests::test_new_empty_workspace' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_setting_language_when_saving_as_single_file_worktree stdout ---- thread 'tests::test_setting_language_when_saving_as_single_file_worktree' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_navigation stdout ---- thread 'tests::test_navigation' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_window_edit_state stdout ---- thread 'tests::test_window_edit_state' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_open_entry stdout ---- thread 'tests::test_open_entry' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_open_paths stdout ---- thread 'tests::test_open_paths' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_save_conflicting_item stdout ---- thread 'tests::test_save_conflicting_item' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_pane_actions stdout ---- thread 'tests::test_pane_actions' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_open_and_save_new_file stdout ---- thread 'tests::test_open_and_save_new_file' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_opening_excluded_paths stdout ---- thread 'tests::test_opening_excluded_paths' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_open_paths_action stdout ---- thread 'tests::test_open_paths_action' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_reopening_closed_items stdout ---- thread 'tests::test_reopening_closed_items' panicked at crates/gpui/src/platform/test/text_system.rs:23:9: not implemented

---- tests::test_bundled_settings_and_themes stdout ---- thread 'tests::test_bundled_settings_and_themes' panicked at crates/gpui/src/platform/test/text_system.rs:14:9: not implemented

failures: tests::test_base_keymap tests::test_bundled_settings_and_themes tests::test_disabled_keymap_binding tests::test_navigation tests::test_new_empty_workspace tests::test_open_and_save_new_file tests::test_open_entry tests::test_open_paths tests::test_open_paths_action tests::test_opening_excluded_paths tests::test_pane_actions tests::test_reopening_closed_items tests::test_save_conflicting_item tests::test_setting_language_when_saving_as_single_file_worktree tests::test_window_edit_state

test result: FAILED. 1 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.58s

error: test failed, to rerun pass --lib ==> FEHLER: Ein Fehler geschah in check(). Breche ab... -> Fehler beim Erstellen: zed-editor-exit status 4 -> Die folgenden Pakete konnten nicht installiert werden. Ein manueller Eingriff ist erforderlich: zed-editor - exit status 4

alerque commented on 2024-02-29 22:16 (UTC)

@ashabayek That's the same error I'm stuck on. And no it's not an external dependency, the crate for that is part of the same upstream sources workspace.

Contributions welcome if anybody figures out how to get past that.

ashabayek commented on 2024-02-27 19:57 (UTC)

I got a different compilation error not sure exactly whats missing here: error: cannot determine resolution for the macro sql this should be installed along rust am i correct? is this a missing dependency?