View previous topic :: View next topic |
Author |
Message |
jkcunningham l33t
Joined: 28 Apr 2003 Posts: 649 Location: 47.49N 121.79W
|
Posted: Sun May 18, 2003 12:01 am Post subject: A howto setup an ebuild? or FAQ? |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9523 Location: beyond the rim
|
Posted: Sun May 18, 2003 12:17 am Post subject: |
|
|
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 |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Sun May 18, 2003 12:29 am Post subject: |
|
|
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 |
|
|
jkcunningham l33t
Joined: 28 Apr 2003 Posts: 649 Location: 47.49N 121.79W
|
Posted: Sun May 18, 2003 3:15 am Post subject: |
|
|
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 |
|
|
Chickpea l33t
Joined: 03 Jun 2002 Posts: 846 Location: Vancouver WA
|
Posted: Sun May 18, 2003 3:56 am Post subject: |
|
|
in the portage tree is a skelton ebuild (example)named skel.ebuild It can give you a good start.
C |
|
Back to top |
|
|
|