Package Details: zed-editor 0.134.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: 32
Popularity: 11.62
First Submitted: 2024-01-24 19:09 (UTC)
Last Updated: 2024-05-08 17:09 (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-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?

LeoRami99 commented on 2024-02-25 16:56 (UTC)

Error compilation in the instalation with aur. Output error: failed to run rustc to learn about target-specific information

Caused by: process didn't exit successfully: rustc - --crate-name ___ --print=file-names -C debuginfo=2 --remap-path-prefix=/home/leonardo/Descargas/zed-editor '(1)/src=/usr/src/debug/zed-editor' --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg (exit status: 1) --- stderr error: --remap-path-prefix must contain '=' between FROM and TO

alerque commented on 2024-02-21 19:21 (UTC)

Thanks @pmarcelll. I applied your changes (only slightly adapted) and indeed got to the "next" issue:

error[E0463]: can't find crate for `sqlez_macros`

Is that where you landed too?

BTW you can send PR's for this package against this repo if you're interested.

pmarcelll commented on 2024-02-18 09:28 (UTC)

@alerque @AAXZX the issue is that the zed git repo has a submodule, but since the source is downloaded as an archive, the submodule is not being pulled.

I tried to find a solution and I've found good example in the AUR: a package called anki, similar situation (git submodules and Rust). They handled it by downloading the submodule manually (with a pinned version), and in the prepare step they simply replaced the empty submodule with a symlink to the downloaded and extracted source.

You can see my modified PKGBUILD here: https://gist.github.com/pmarcelll/b22d6a00f0a0dfc6a0721ca5017fab03

It can reach the next build error :)

I also added the missing licenses. Cheers.