Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A howto setup an ebuild? or FAQ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jkcunningham
l33t
l33t


Joined: 28 Apr 2003
Posts: 649
Location: 47.49N 121.79W

PostPosted: Sun May 18, 2003 12:01 am    Post subject: A howto setup an ebuild? or FAQ? Reply with quote

I'd like to setup an ebuild for gbuffy, which I downloaded off freshmeat and succeeded in compiling. I have examined a couple .ebuild scripts and can see what is involved there. What I can't figure out yet is the process of going from compilable source to submitting an ebuild to Gentoo.

I've searched through the FAQ's and forums and seen a little bit of discussion, but nothing that starts from the ground up. For example, do I first submit the source code to CVS, then tweak a local ebuild script until it works, then submit the ebuild script to bugzilla? How do I test an ebuild outside of portage?

I'm probably not even asking the right questions. If someone can get me started, I'd appreciate it.

-Jeff
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9523
Location: beyond the rim

PostPosted: Sun May 18, 2003 12:17 am    Post subject: Reply with quote

Well, you can't submit it to CVS because that is a privilege for developers (the ebuild submission howto is/was a developers howto according to the title). It would be really bad if all users had commit access to CVS.

If you already have the ebuild you should put it in PORTDIR_OVERLAY (look in make.conf for an explanation) and test it. If you think the ebuild is ready for widespread use you submit it on bugzilla, but please check for existing bugs for that program. You could also post it on the forums so that people can test it before submission.

@Devs: if anything I said here is wrong please correct
Back to top
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Sun May 18, 2003 12:29 am    Post subject: Reply with quote

The Ebuild HowTo mentions testing your custom ebuilds using PORTDIR_OVERLAY but doesn't mention submiting ebuilds. Perhaps you should submit a comment on this also to the bugzilla.
_________________
a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla
Back to top
View user's profile Send private message
jkcunningham
l33t
l33t


Joined: 28 Apr 2003
Posts: 649
Location: 47.49N 121.79W

PostPosted: Sun May 18, 2003 3:15 am    Post subject: Reply with quote

Thanks - that FAQ is a start. I don't have the ebuild script written yet. I figured I'd grab an existing one and use it as a template with the man pages and FAQ at my elbow.

-Jeff
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Sun May 18, 2003 3:56 am    Post subject: Reply with quote

in the portage tree is a skelton ebuild (example)named skel.ebuild It can give you a good start.


C
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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