View previous topic :: View next topic |
Author |
Message |
nurali Apprentice
Joined: 17 Nov 2022 Posts: 183 Location: Somewhere,Earth
|
Posted: Wed May 29, 2024 3:58 am Post subject: Can I request a new package(ebuild)? |
|
|
Hello all:
(I considered about which forum I should post this, Gentoo Chat || Unsupported Software, and decided to post it here,if wrong, please move it to right forum)
There is a new editor Zed (you might heard about or used it already)
I tried to write an ebuild for it couple of times,but did not go well
There are pre releases alredy contained source code tarballs for linux,so hoping someone can pack it up for Gentoo also
Thank you very much |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 423
|
Posted: Wed May 29, 2024 6:13 am Post subject: |
|
|
It seems that while it may work on Mac it is still a work in progress on Linux. Why not just use it as a flatpak until such time it is ready? And report bugs as it seems like there will be plenty. It will probably appear in someone's overlay eventually. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1746 Location: Germany
|
|
Back to top |
|
|
nurali Apprentice
Joined: 17 Nov 2022 Posts: 183 Location: Somewhere,Earth
|
Posted: Wed May 29, 2024 8:15 am Post subject: |
|
|
rab0171610 wrote: | It seems that while it may work on Mac it is still a work in progress on Linux. Why not just use it as a flatpak until such time it is ready? And report bugs as it seems like there will be plenty. It will probably appear in someone's overlay eventually. |
I tried pre release (prebuild), worked pretty fine,so....
By the way, I don't use flatpak, I do not like some software running in my system that is not provided by system's package manager (Portage is the most of why I use Gentoo) |
|
Back to top |
|
|
nurali Apprentice
Joined: 17 Nov 2022 Posts: 183 Location: Somewhere,Earth
|
Posted: Wed May 29, 2024 8:21 am Post subject: |
|
|
Yes, that is exactly what I am talking about.
What I was hoping is some one can do an ebuild and put it on GURU too
Let me see what others will say, maybe there is someone is interested in that like me and has ability to write it. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22694
|
Posted: Wed May 29, 2024 3:03 pm Post subject: |
|
|
Although your ebuild did not work, it may still be worth sharing, both for where we could offer you guidance and to provide a baseline for anyone who decides to write a working ebuild for this. |
|
Back to top |
|
|
salahx Guru
Joined: 12 Mar 2005 Posts: 556
|
Posted: Thu May 30, 2024 11:42 pm Post subject: |
|
|
I saw this yesterday and tried making a Zed ebuild as a challenge, as I've never packages anything with Rust before. It took a while but I was successful. The ebuild is too large for the forms, so here's a link: app-editors/zed. The hard part was figuring the patching in src_prepare, I didn't come up with this construction there, I adapted it from dev-util/difftastic ,
Since you have ebuild experience, you can use this ebuild and even put in in a overlay and maintain it. All the values were obtained from Cargo.tom or Cargo.lock . I don't want to maintain this package myself as I do not use it. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31277 Location: here
|
|
Back to top |
|
|
phanxen n00b
Joined: 02 Jan 2022 Posts: 11 Location: Jugoslavija
|
Posted: Wed Nov 20, 2024 5:51 pm Post subject: |
|
|
By the time being I'm trying to get zed version 0.161.1 to work. Ebuild is from robert7k overlay.
I can compile it, but yet not able to run. Following is the current error message when running zed in foreground mode.
Code: |
$ zedit --foreground
[2024-11-20T18:50:02+01:00 ERROR zed::reliability] {
"thread": "main",
"payload": "called `Option::unwrap()` on a `None` value",
"location_data": {
"file": "/var/tmp/portage/app-editors/zed-0.161.1/work/zed-0.161.1/crates/util/src/util.rs",
"line": 579
},
"backtrace": [
"__libc_start_main"
],
"app_version": "0.161.1",
"release_channel": "Zed",
"os_name": "Linux X11",
"os_version": "gentoo 2.17",
"architecture": "x86_64",
"panicked_on": 1732125002295,
"system_id": "dbd28b2e-e328-46a5-9b69-8f78c4267c29",
"installation_id": "34d4013e-09db-4138-8596-08a4943fe8ad",
"session_id": "085cc07f-3712-406b-9e8b-66140b681de6"
}
|
I'm openning a bugreport on zed's side give that something seems not OK in rust source file. _________________ :.P.h.A.n.X.e.N.: |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Thu Nov 21, 2024 10:37 am Post subject: |
|
|
phanxen wrote: | I'm openning a bugreport on zed's side give that something seems not OK in rust source file. |
Why not comment on the PR? https://github.com/gentoo/gentoo/pull/39310 |
|
Back to top |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2297 Location: Adendorf, Germany
|
Posted: Thu Nov 21, 2024 11:08 am Post subject: |
|
|
https://gpo.zugaina.org/app-editors/zed says there is zed-0.162.3 already, maybe that one works? _________________ Edited 220,176 times by Yamakuzure |
|
Back to top |
|
|
|