Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can I request a new package(ebuild)?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
nurali
Apprentice
Apprentice


Joined: 17 Nov 2022
Posts: 183
Location: Somewhere,Earth

PostPosted: Wed May 29, 2024 3:58 am    Post subject: Can I request a new package(ebuild)? Reply with quote

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 :D
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 432

PostPosted: Wed May 29, 2024 6:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1762
Location: Germany

PostPosted: Wed May 29, 2024 7:53 am    Post subject: Reply with quote

You are talking about https://zed.dev/, right?

Well, first would be to make it working on linux and then it would be a good way to create a ebuild for the GURU repo https://wiki.gentoo.org/wiki/Project:GURU
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
nurali
Apprentice
Apprentice


Joined: 17 Nov 2022
Posts: 183
Location: Somewhere,Earth

PostPosted: Wed May 29, 2024 8:15 am    Post subject: Reply with quote

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
View user's profile Send private message
nurali
Apprentice
Apprentice


Joined: 17 Nov 2022
Posts: 183
Location: Somewhere,Earth

PostPosted: Wed May 29, 2024 8:21 am    Post subject: Reply with quote

Banana wrote:
You are talking about https://zed.dev/, right?

Well, first would be to make it working on linux and then it would be a good way to create a ebuild for the GURU repo https://wiki.gentoo.org/wiki/Project:GURU

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22729

PostPosted: Wed May 29, 2024 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
salahx
Guru
Guru


Joined: 12 Mar 2005
Posts: 556

PostPosted: Thu May 30, 2024 11:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31284
Location: here

PostPosted: Sun Jun 09, 2024 6:01 am    Post subject: Reply with quote

In gentoo-zh overlay there is an ebuild.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
phanxen
n00b
n00b


Joined: 02 Jan 2022
Posts: 11
Location: Jugoslavija

PostPosted: Wed Nov 20, 2024 5:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3685

PostPosted: Thu Nov 21, 2024 10:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2297
Location: Adendorf, Germany

PostPosted: Thu Nov 21, 2024 11:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum