View previous topic :: View next topic |
Author |
Message |
genmich Apprentice
Joined: 03 Apr 2003 Posts: 196
|
Posted: Fri Sep 08, 2006 9:04 am Post subject: Ebuild Creator GUI ? |
|
|
Hi,
is there perhaps a GUI to create Ebuilds? I searched around but didn't find one. Whould be great to have a GUI to select the USE flags, set the download URL, the description, select dependencies (a list of the portage-tree where you can click the packages),..
greets |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Fri Sep 08, 2006 9:50 am Post subject: |
|
|
I don't think anyone ever bothered with that. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Fri Sep 08, 2006 11:34 am Post subject: |
|
|
it sounds like a good idea though, it needs to be official though _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Fri Sep 08, 2006 1:41 pm Post subject: |
|
|
There was one called abeni created by pythonhead, but it is no longer supported or functioning. He was waiting for wx windows2 I think. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
genmich Apprentice
Joined: 03 Apr 2003 Posts: 196
|
Posted: Fri Sep 08, 2006 2:08 pm Post subject: |
|
|
Ah great!
Just started a basic GUI in JAVA (http://img374.imageshack.us/img374/7270/jebuildej1.jpg)
Not doing anything yet, just the GUI.
At the moment I'm trying to add a TabView for unpack, compile, install but I think I can stop it (puhhh ) and have a look at abeni! |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Fri Sep 08, 2006 2:47 pm Post subject: |
|
|
miga wrote: | Ah great!
Just started a basic GUI in JAVA (http://img374.imageshack.us/img374/7270/jebuildej1.jpg)
Not doing anything yet, just the GUI.
At the moment I'm trying to add a TabView for unpack, compile, install but I think I can stop it (puhhh ) and have a look at abeni! | send an email to -dev about perhaps making it official, they could give it to the arch testers for testing _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Fri Sep 08, 2006 6:24 pm Post subject: |
|
|
I took a look at your gui, and I fear that it is simplifying the ebuild creation process a lot. If you look at some of the ebuilds the build process is fairly complex. The gui would need to support some way to edit the code of the ebuild too. Basically I think what you are aiming to create is an IDE for ebuilds. The initial selection of USE flags, source URI, etc, could be done in a "wizard" phase, and then from then on you could edit the contents of the ebuild.
I'm not sure if Java is the best lang to do this in to make it official, but I may be wrong. I'm just basing this statement on what gentoo tools are official. |
|
Back to top |
|
|
genmich Apprentice
Joined: 03 Apr 2003 Posts: 196
|
|
Back to top |
|
|
Q-collective Advocate
Joined: 22 Mar 2004 Posts: 2071
|
Posted: Sat Sep 09, 2006 4:14 am Post subject: |
|
|
cokehabit wrote: | it sounds like a good idea though, it needs to be official though |
Sounds like a job for the UserRep initiative!
mikegpitt wrote: | I took a look at your gui, and I fear that it is simplifying the ebuild creation process a lot. If you look at some of the ebuilds the build process is fairly complex. The gui would need to support some way to edit the code of the ebuild too. Basically I think what you are aiming to create is an IDE for ebuilds. The initial selection of USE flags, source URI, etc, could be done in a "wizard" phase, and then from then on you could edit the contents of the ebuild.
I'm not sure if Java is the best lang to do this in to make it official, but I may be wrong. I'm just basing this statement on what gentoo tools are official. |
I agree completely.
dol-sen wrote: | There was one called abeni created by pythonhead, but it is no longer supported or functioning. He was waiting for wx windows2 I think. |
Sounds like a good application to build upon. |
|
Back to top |
|
|
omp Retired Dev
Joined: 10 Sep 2005 Posts: 1018 Location: Glendale, California
|
|
Back to top |
|
|
Dizzutch Guru
Joined: 09 Nov 2004 Posts: 463 Location: Worcester, MA
|
Posted: Sat Sep 09, 2006 4:37 am Post subject: |
|
|
I think the best for this project would be a "simple" GUI that can make basic ebuilds, to make it more accessible for users to roll their own ebuilds. Of course for larger, more complicated packets, more manual interaction would be needed. _________________ Help the confused! Adopt an unanswered post!
prepend [solved] to your post title when you feel your issue is resolved.
Worcester Judo |
|
Back to top |
|
|
omp Retired Dev
Joined: 10 Sep 2005 Posts: 1018 Location: Glendale, California
|
Posted: Sat Sep 09, 2006 4:41 am Post subject: |
|
|
Dizzutch wrote: | I think the best for this project would be a "simple" GUI that can make basic ebuilds, to make it more accessible for users to roll their own ebuilds. |
vim foo.ebuild: | # Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION=""
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND=""
|
Simple enough already I think. _________________ meow. |
|
Back to top |
|
|
Dizzutch Guru
Joined: 09 Nov 2004 Posts: 463 Location: Worcester, MA
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sat Sep 09, 2006 11:44 am Post subject: |
|
|
well open the template in gVIM/gEDIT/...
there is too much custom stuff to go into a ebuild to warrent an auto-generator GUI _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
rafo Apprentice
Joined: 18 Nov 2003 Posts: 161 Location: Sollentuna, Sweden
|
Posted: Thu Sep 14, 2006 8:07 am Post subject: |
|
|
A few thoughts,
first of all, text editors, manpages and official guides will always be there. This is the reference for us all, and has proved sufficient for creating large numbers of non-trivial ebuilds.
Then again, IDEs are used to achieve increased productivity for complex tasks. An IDE for creating and maintaning ebuilds is an interesting idea, IMHO. For one thing the IDE could do all sorts of validity and formatting checks that we want ebuilds to satisfy. It could also provide context-sensitive help that assists the learning process.
An IDE can be written from scratch of course, but there are also frameworks such as Eclipse. Maybe a framework would gives the IDE designer more time to focus on the core features of the IDE.
Oh well, I have just barely written one ebuild ever, and zero IDEs by the way, so I am really not the expert here ... |
|
Back to top |
|
|
welp Retired Dev
Joined: 24 Sep 2005 Posts: 103 Location: Ipswich, UK
|
Posted: Thu Sep 14, 2006 5:58 pm Post subject: |
|
|
I do not think that an ebuild GUI would be a good idea. IMHO, people who write ebuilds should have at least *some* idea as to what does what in an ebuild and how an ebuild works, otherwise there's the chance that we're gonna have people going around complaining that it's not working... i'd hate to see the forums and #gentoo filled with people screaming out "help me! help me! my ebuild for foo didn't compile" and shit like that... _________________ Gentoo/BSD, Gentoo/Alt AT and Bugday lead
AMD64, Xfce, Sunrise, www-servers, net-irc, lang-misc, Artwork
If you find a bug, submit it! Bugzilla |
|
Back to top |
|
|
Q-collective Advocate
Joined: 22 Mar 2004 Posts: 2071
|
Posted: Fri Sep 15, 2006 1:39 am Post subject: |
|
|
welp wrote: | I do not think that an ebuild GUI would be a good idea. IMHO, people who write ebuilds should have at least *some* idea as to what does what in an ebuild and how an ebuild works, otherwise there's the chance that we're gonna have people going around complaining that it's not working... i'd hate to see the forums and #gentoo filled with people screaming out "help me! help me! my ebuild for foo didn't compile" and shit like that... |
A complete rubbish argument.
There are three filtering mechanisms to prevent stuff like that: Bugzilla (on which ebuilds have to be submitted to be included with official portage), Sunrise (unofficial user community portage tree, which is not supported in any way, use at your own risk and by the time you know how to use it you know about that) and the ebuild quiz's/mentoring period (to make you an official dev, which requires real knowledge).
On the other hand, a GUI tool can greatly reduce the time creating a complex ebuild. With other words: a GUI tool is not a "noob tool" per se, but can easely be used by non-vim zealot developers. This overal has a positive effect on increasing the portage tree and quality of the ebuilds (since they are generated, not manually written... which is another argument against your argumentation). |
|
Back to top |
|
|
Q-collective Advocate
Joined: 22 Mar 2004 Posts: 2071
|
Posted: Fri Sep 15, 2006 1:58 am Post subject: |
|
|
That might be difficult, but I don't think it would be a unovercomeble task. Remember, we don't live in 1995 anymore and we can make such a GUI kinda intelligent in using USE flags. It could for example guestimate the USE flags running a ./config or something. |
|
Back to top |
|
|
omp Retired Dev
Joined: 10 Sep 2005 Posts: 1018 Location: Glendale, California
|
Posted: Fri Sep 15, 2006 2:04 am Post subject: |
|
|
Q-collective wrote: | It could for example guestimate the USE flags running a ./config or something. |
And can, quite possibly, miss or choose incorrect USE flags. And the user might be an idiot who doesn't go over it. That would then result in something along the lines of everyone complaining "My dog just made an ebuild and it doesn't work!! Oh noes!!!11111cos(0)".
Other than the great number of possible flaws, we don't want everyone and their dogs making crap ebuilds. Not to mention this is a lot of development power going to waste. _________________ meow. |
|
Back to top |
|
|
Q-collective Advocate
Joined: 22 Mar 2004 Posts: 2071
|
Posted: Fri Sep 15, 2006 2:05 am Post subject: |
|
|
omp wrote: | Q-collective wrote: | It could for example guestimate the USE flags running a ./config or something. |
And can, quite possibly, miss or choose incorrect USE flags. And the user might be an idiot who doesn't go over it. That would then result in something along the lines of everyone complaining "My dog just made an ebuild and it doesn't work!! Oh noes!!!11111cos(0)".
Other than the great number of possible flaws, we don't want everyone and their dogs making crap ebuilds. Not to mention this is a lot of development power going to waste. |
See my answer to welp, I hate to repeat myself. |
|
Back to top |
|
|
omp Retired Dev
Joined: 10 Sep 2005 Posts: 1018 Location: Glendale, California
|
Posted: Fri Sep 15, 2006 2:10 am Post subject: |
|
|
Q-collective wrote: | omp wrote: | Q-collective wrote: | It could for example guestimate the USE flags running a ./config or something. |
And can, quite possibly, miss or choose incorrect USE flags. And the user might be an idiot who doesn't go over it. That would then result in something along the lines of everyone complaining "My dog just made an ebuild and it doesn't work!! Oh noes!!!11111cos(0)".
Other than the great number of possible flaws, we don't want everyone and their dogs making crap ebuilds. Not to mention this is a lot of development power going to waste. |
See my answer to welp, I hate to repeat myself. |
Fine; see below.
Q-collective wrote: | This overal has a positive effect on increasing the portage tree and quality of the ebuilds (since they are generated, not manually written... which is another argument against your argumentation). |
I doubt generated ebuilds would be anywhere near those created by great devs in terms of quality. Don't forget that a lot of ebuilds need extra/complex stuff, and not basic default methods, so the generator won't be able to do those. (Don't argue that we'll be able to create this, because we won't. At least not anytime soon.) _________________ meow. |
|
Back to top |
|
|
Q-collective Advocate
Joined: 22 Mar 2004 Posts: 2071
|
Posted: Fri Sep 15, 2006 4:13 am Post subject: |
|
|
omp wrote: | Q-collective wrote: | This overal has a positive effect on increasing the portage tree and quality of the ebuilds (since they are generated, not manually written... which is another argument against your argumentation). |
I doubt generated ebuilds would be anywhere near those created by great devs in terms of quality. Don't forget that a lot of ebuilds need extra/complex stuff, and not basic default methods, so the generator won't be able to do those. (Don't argue that we'll be able to create this, because we won't. At least not anytime soon.) |
Generators can create very complex yet very correct stuff, see DreamWeaver for example that can create very complex yet perfectly coded websites(and don't say DreamWeaver is bad just because you don't like it, because millions of others do).
So, in short, no one has come up with any real arguments against a GUI Ebuild creator yet. And still the advantages are numerous:
- Fast way to create correctly coded (complex) ebuilds.
- Which in turn has a positive effect on getting the portage tree bigger.
- Anyone can create ebuilds without reading piles of documentation.
- The ebuild maintainers have an easier task maintaining ebuilds.
- Lesser maintainers needed for a bigger portage tree.
- Lesser bugs because code is generated and not manually written (it's a well known fact that 90+% of all errors and bugs are pebkac related).
- Gentoo can finally become a real community driven project with several stages of participation: user (someone who can create an ebuild and can post that on bugzilla), trusted user (sunrise powers) and developer. Now we only have developer and we're just starting with trusted user, but a lot of users are still scared away because of the piles of documentation you need to get through before you know anything about portage. A GUI can make that process of learning more fluent.
- In the end: more developers, because you embrace more users and make the learning curve less steep.
- More developers working on Gentoo, because lesser devs are needed to maintain the portage tree. So faster development.
- Profit!
/me awaits serious arguments against a GUI... |
|
Back to top |
|
|
omp Retired Dev
Joined: 10 Sep 2005 Posts: 1018 Location: Glendale, California
|
Posted: Fri Sep 15, 2006 4:17 am Post subject: |
|
|
Q-collective wrote: | Generators can create very complex yet very correct stuff, see DreamWeaver for example that can create very complex yet perfectly coded websites(and don't say DreamWeaver is bad just because you don't like it, because millions of others do). |
Speaking of apps such as DreamWeaver, don't forget that a lot is up to the user, and therefore, with valid code, a site can still be complete crap. The same can apply to an ebuild.
I'll look at the specifics of your post after I complete my homework. _________________ meow. |
|
Back to top |
|
|
Q-collective Advocate
Joined: 22 Mar 2004 Posts: 2071
|
Posted: Fri Sep 15, 2006 4:21 am Post subject: |
|
|
omp wrote: | Q-collective wrote: | Generators can create very complex yet very correct stuff, see DreamWeaver for example that can create very complex yet perfectly coded websites(and don't say DreamWeaver is bad just because you don't like it, because millions of others do). |
Speaking of apps such as DreamWeaver, don't forget that a lot is up to the user, and therefore, with valid code, a site can still be complete crap. The same can apply to an ebuild. |
Q-collective wrote: | There are three filtering mechanisms to prevent stuff like that: Bugzilla (on which ebuilds have to be submitted to be included with official portage), Sunrise (unofficial user community portage tree, which is not supported in any way, use at your own risk and by the time you know how to use it you know about that) and the ebuild quiz's/mentoring period (to make you an official dev, which requires real knowledge). |
This is going circles. |
|
Back to top |
|
|
welp Retired Dev
Joined: 24 Sep 2005 Posts: 103 Location: Ipswich, UK
|
Posted: Fri Sep 15, 2006 4:33 am Post subject: |
|
|
Q-collective wrote: | Generators can create very complex yet very correct stuff, see DreamWeaver for example that can create very complex yet perfectly coded websites |
I'm pretty sure I read a magazine which built a website with Dreamweaver, then went in to take a look at the code and found that a whole load of tags were... wrong... out-of-date, whatever, IMO, that's not a perfectly coded website. _________________ Gentoo/BSD, Gentoo/Alt AT and Bugday lead
AMD64, Xfce, Sunrise, www-servers, net-irc, lang-misc, Artwork
If you find a bug, submit it! Bugzilla |
|
Back to top |
|
|
|