Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A "user configure" option for all ebuilds
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
konstk
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 75

PostPosted: Mon Sep 15, 2003 9:24 am    Post subject: A "user configure" option for all ebuilds Reply with quote

I think it would be usefull to have an option for any ebuild where instead of using the preconfigured settings or the generalized USE variables which are becoming hard to manage that there should be an option where before compiling there is an question and answer part for detailed configuration which is later saved for future recompiling.
Back to top
View user's profile Send private message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Mon Sep 15, 2003 9:32 am    Post subject: Reply with quote

I second this. I like the way Debian does the configuration stuff.

cvk

Didn't mean to offend anyone by using the D-word :)
_________________
Adopt an unanswered post now.
Back to top
View user's profile Send private message
Xiol
Apprentice
Apprentice


Joined: 24 Jul 2003
Posts: 209
Location: UK

PostPosted: Mon Sep 15, 2003 1:19 pm    Post subject: Reply with quote

Sounds like a nice idea to me.

Though, I have nothing against the good ol' method of hacking the ebuild. ;)
Back to top
View user's profile Send private message
djco
Retired Dev
Retired Dev


Joined: 29 Mar 2003
Posts: 67
Location: 52.36, 4.89

PostPosted: Mon Sep 15, 2003 2:03 pm    Post subject: Reply with quote

I concur. It's ridiculous that mysql has to be installed when I want to install kde or gnome, so obviously the system with the USE flags isn't working to well. Something else should be thought of, maybe just asking for some options when an ebuild is installed.
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Mon Sep 15, 2003 2:22 pm    Post subject: Reply with quote

Manuzhai wrote:
I concur. It's ridiculous that mysql has to be installed when I want to install kde or gnome, so obviously the system with the USE flags isn't working to well. Something else should be thought of, maybe just asking for some options when an ebuild is installed.


Take mysql out of your default USE flags and only supply it as an explicit argument when you need it?
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Mon Sep 15, 2003 8:49 pm    Post subject: Reply with quote

Quote:
Take mysql out of your default USE flags and only supply it as an explicit argument when you need it?

Thats right.

But I like the idea of the configuration with with a ebiuld was conpiled to be stored somewhere (like the output of emerge info). If you made changes to the system (USE-Flags, Compiler useed, whatever), you still have the info how the package was compiled. This could even be supported by portage and would not be too hard to implement, I think. And maybe one could later reemerge the package with the same parameters with a simple flag to emerge.


Greetz, Björn
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


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

PostPosted: Tue Sep 16, 2003 1:51 am    Post subject: Reply with quote

bmichaelsen wrote:
But I like the idea of the configuration with with a ebiuld was conpiled to be stored somewhere (like the output of emerge info). If you made changes to the system (USE-Flags, Compiler useed, whatever), you still have the info how the package was compiled. This could even be supported by portage and would not be too hard to implement, I think. And maybe one could later reemerge the package with the same parameters with a simple flag to emerge.


/var/db/pkg/<category>/<package>-<version>/
Back to top
View user's profile Send private message
Tisephone
n00b
n00b


Joined: 15 Sep 2003
Posts: 31

PostPosted: Tue Sep 16, 2003 4:14 am    Post subject: Reply with quote

Well, how about a way to let emerge know when you've explicitely changed a USE flag (on the command line), so that you can update the world without getting crud you didn't want, if you happen to have excluded one of your usual flags from some lone package? (For me, it's gnome 1.x.)

I envision: emerge --use="-foo" bar-2.4.2
Back to top
View user's profile Send private message
iamlarryboy
Guru
Guru


Joined: 25 Jan 2003
Posts: 480
Location: Prince George, BC, Canada

PostPosted: Tue Sep 16, 2003 5:28 am    Post subject: Reply with quote

I would like to see emerge be completely interactive.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Tue Sep 16, 2003 6:00 am    Post subject: Reply with quote

I guess I am a contrarian because I think making emerge interactive is a big step in the wrong direction. Imagine if I want to rebuild my entire system. I don't mind if the machine takes days to compile but I sure the heck don't want to have to stand around and wait for it to ask me questions before it can continue. I might as well be installing Windows.

I don't mean to imply that your concerns aren't valid. I think you have valid concerns and are making interesting suggestions. I just happen to think that keeping emerge non-interactive is a Good Thing [tm].
Back to top
View user's profile Send private message
iamlarryboy
Guru
Guru


Joined: 25 Jan 2003
Posts: 480
Location: Prince George, BC, Canada

PostPosted: Tue Sep 16, 2003 6:41 am    Post subject: Reply with quote

BitJam wrote:
I guess I am a contrarian because I think making emerge interactive is a big step in the wrong direction. Imagine if I want to rebuild my entire system. I don't mind if the machine takes days to compile but I sure the heck don't want to have to stand around and wait for it to ask me questions before it can continue. I might as well be installing Windows.

I don't mean to imply that your concerns aren't valid. I think you have valid concerns and are making interesting suggestions. I just happen to think that keeping emerge non-interactive is a Good Thing [tm].


It of course can have sane defaults. This way you could just trust the defaults or you could costomize it to heck. That is what linux is about: choice
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


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

PostPosted: Tue Sep 16, 2003 6:59 am    Post subject: Reply with quote

emerge will never be interactive, but there might be an alternate interactive frontend once we have a modular codebase and removed all the backend code from emerge itself.
Back to top
View user's profile Send private message
superjaded
l33t
l33t


Joined: 05 Jul 2002
Posts: 802

PostPosted: Tue Sep 16, 2003 7:25 am    Post subject: Reply with quote

Isn't someone already making an "interactive" version of emerge?
I forget the name of it but I distinctly remember a screenshot of a "emerge -up world" operation where you could pick and choose what you want to upgrade and what USE flags you want to use for each package.
Something like that would definitely be nice to have the option of using, but chances are I wouldn't have much use for it over the current implementation of it most of the time.
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Tue Sep 16, 2003 7:56 am    Post subject: Reply with quote

superjaded wrote:
Isn't someone already making an "interactive" version of emerge?
I forget the name of it but I distinctly remember a screenshot of a "emerge -up world" operation where you could pick and choose what you want to upgrade and what USE flags you want to use for each package.

It's called rtkmerge and is in portage. Depends on ruby though.

[EDIT:] no it is not in portage (I just stumbled over my PORTDIR_OVERLAY), but there is a thread about it here
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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