Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

Ebuild Creator GUI ?

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Locked
  • Print view
Advanced search
87 posts
  • 1
  • 2
  • 3
  • 4
  • Next
Author
Message
genmich
Apprentice
Apprentice
Posts: 196
Joined: Thu Apr 03, 2003 11:48 pm

Ebuild Creator GUI ?

Post by genmich » Fri Sep 08, 2006 9:04 am

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
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

Post by yngwin » Fri Sep 08, 2006 9:50 am

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
Top
cokey
Advocate
Advocate
User avatar
Posts: 3355
Joined: Fri Apr 23, 2004 12:30 am

Post by cokey » Fri Sep 08, 2006 11:34 am

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
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

Post by dol-sen » Fri Sep 08, 2006 1:41 pm

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...
Top
genmich
Apprentice
Apprentice
Posts: 196
Joined: Thu Apr 03, 2003 11:48 pm

Post by genmich » Fri Sep 08, 2006 2:08 pm

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!
Top
cokey
Advocate
Advocate
User avatar
Posts: 3355
Joined: Fri Apr 23, 2004 12:30 am

Post by cokey » Fri Sep 08, 2006 2:47 pm

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
Top
mikegpitt
Advocate
Advocate
User avatar
Posts: 3224
Joined: Sat May 22, 2004 6:49 pm

Post by mikegpitt » Fri Sep 08, 2006 6:24 pm

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.
Top
genmich
Apprentice
Apprentice
Posts: 196
Joined: Thu Apr 03, 2003 11:48 pm

Post by genmich » Fri Sep 08, 2006 8:25 pm

You right.
Abeni already has all the features and is not a java app:
http://abeni.sourceforge.net/abeni0051.png
http://abeni.sourceforge.net/abeni0053.png
So I will not try to develop my own one :)
Top
Q-collective
Advocate
Advocate
User avatar
Posts: 2077
Joined: Mon Mar 22, 2004 5:21 pm

Post by Q-collective » Sat Sep 09, 2006 4:14 am

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.
Top
omp
Retired Dev
Retired Dev
User avatar
Posts: 1018
Joined: Sat Sep 10, 2005 8:47 am
Location: Glendale, California
Contact:
Contact omp
Website

Post by omp » Sat Sep 09, 2006 4:33 am

Would be too complicated. Think of all the ways JUST dependencies could be handled.

http://devmanual.gentoo.org/general-con ... index.html


Explain to me how you'll be able to fit all of that in a simple and easy-to-use GUI wizard.
meow.
Top
Dizzutch
Guru
Guru
User avatar
Posts: 463
Joined: Tue Nov 09, 2004 8:29 pm
Location: Worcester, MA
Contact:
Contact Dizzutch
Website

Post by Dizzutch » Sat Sep 09, 2006 4:37 am

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
Top
omp
Retired Dev
Retired Dev
User avatar
Posts: 1018
Joined: Sat Sep 10, 2005 8:47 am
Location: Glendale, California
Contact:
Contact omp
Website

Post by omp » Sat Sep 09, 2006 4:41 am

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.

Code: Select all

# 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.
Top
Dizzutch
Guru
Guru
User avatar
Posts: 463
Joined: Tue Nov 09, 2004 8:29 pm
Location: Worcester, MA
Contact:
Contact Dizzutch
Website

Post by Dizzutch » Sat Sep 09, 2006 4:43 am

I totally agree, but people like GUIs..:)
Help the confused! Adopt an unanswered post!
prepend [solved] to your post title when you feel your issue is resolved.
Worcester Judo
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

Post by Naib » Sat Sep 09, 2006 11:44 am

well open the template in gVIM/gEDIT/...
there is too much custom stuff to go into a ebuild to warrent an auto-generator GUI
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
rafo
Apprentice
Apprentice
Posts: 161
Joined: Tue Nov 18, 2003 9:50 pm
Location: Sollentuna, Sweden

Post by rafo » Thu Sep 14, 2006 8:07 am

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 ... :)
Top
welp
Retired Dev
Retired Dev
User avatar
Posts: 103
Joined: Sat Sep 24, 2005 7:07 pm
Location: Ipswich, UK
Contact:
Contact welp
Website

Post by welp » Thu Sep 14, 2006 5:58 pm

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
Top
Q-collective
Advocate
Advocate
User avatar
Posts: 2077
Joined: Mon Mar 22, 2004 5:21 pm

Post by Q-collective » Fri Sep 15, 2006 1:39 am

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).
Top
Q-collective
Advocate
Advocate
User avatar
Posts: 2077
Joined: Mon Mar 22, 2004 5:21 pm

Post by Q-collective » Fri Sep 15, 2006 1:58 am

omp wrote:Would be too complicated. Think of all the ways JUST dependencies could be handled.

http://devmanual.gentoo.org/general-con ... index.html


Explain to me how you'll be able to fit all of that in a simple and easy-to-use GUI wizard.
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.
Top
omp
Retired Dev
Retired Dev
User avatar
Posts: 1018
Joined: Sat Sep 10, 2005 8:47 am
Location: Glendale, California
Contact:
Contact omp
Website

Post by omp » Fri Sep 15, 2006 2:04 am

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.
Top
Q-collective
Advocate
Advocate
User avatar
Posts: 2077
Joined: Mon Mar 22, 2004 5:21 pm

Post by Q-collective » Fri Sep 15, 2006 2:05 am

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.
Top
omp
Retired Dev
Retired Dev
User avatar
Posts: 1018
Joined: Sat Sep 10, 2005 8:47 am
Location: Glendale, California
Contact:
Contact omp
Website

Post by omp » Fri Sep 15, 2006 2:10 am

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.
Top
Q-collective
Advocate
Advocate
User avatar
Posts: 2077
Joined: Mon Mar 22, 2004 5:21 pm

Post by Q-collective » Fri Sep 15, 2006 4:13 am

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...
Top
omp
Retired Dev
Retired Dev
User avatar
Posts: 1018
Joined: Sat Sep 10, 2005 8:47 am
Location: Glendale, California
Contact:
Contact omp
Website

Post by omp » Fri Sep 15, 2006 4:17 am

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.
Top
Q-collective
Advocate
Advocate
User avatar
Posts: 2077
Joined: Mon Mar 22, 2004 5:21 pm

Post by Q-collective » Fri Sep 15, 2006 4:21 am

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.
Top
welp
Retired Dev
Retired Dev
User avatar
Posts: 103
Joined: Sat Sep 24, 2005 7:07 pm
Location: Ipswich, UK
Contact:
Contact welp
Website

Post by welp » Fri Sep 15, 2006 4:33 am

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
Top
Locked
  • Print view

87 posts
  • 1
  • 2
  • 3
  • 4
  • Next

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic