From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4547 invoked by uid 1002); 29 Apr 2003 18:54:31 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 30336 invoked from network); 29 Apr 2003 18:54:31 -0000 Mime-Version: 1.0 Date: Tue, 29 Apr 2003 13:34:00 -0500 X-Mailer: Groupwise 6.0.1 Message-ID: <20030429T133403Z_B95E00150000@gentoo.org> Reply-To: method@gentoo.org From: Joshua Brindle To: gentoo-dev@gentoo.org, "Kuleshov, Sergey" Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19AaFL-0008Nq-00*3hVTaGASVlY* Subject: Re: [gentoo-dev] emerge with interacitve use X-Archives-Salt: b517e53a-2ed1-40dc-9ae5-a5a1aaf4e057 X-Archives-Hash: 56a2423d486d102615650ca22e68432a >Hey, I really like this feature! It really helps (anyway it's better = that=20 >looking in the .ebuild file and sort out what are the optional dependencie= s.) > >The thing I did not get is why is it sometimes dispalying the Disabled = .....=20 >text ans sometimes not? > >P.S. What about enchancing it with some ncurses interface to make it = really=20 >intteractive? > >On Tuesday 29 April 2003 17:03, Panard wrote: >> Hello, >> >> After some experiencies with emerge, it could be great that to do = an >> emerge with USE interactive : >> >> $ emerge -I php >> >> >>> ... >> >> Use Java [Y/n]? >> Use X[y/N] ? >> .... >> >> I found, that there are too many errors due to USE vars that we forget = to >> disable or enable... >> >> So I have taken my hands and my vim, and tried to do this, it gave a = good >> result. >> >> I join the script, its name is emerge-interactive, this is in fact the >> emerge script with my modifications (line 1840 to 1877)... place it in = the >> directory >> /usr/lib/portage/bin >> then >> ln -s /usr/lib/portage/bin/emerge-interactive /usr/bin >> >> >> To use the interactive mide, use >> $ emerge-interactive -I or --interactive .... >> >> This is my first gentoo and linux contribution so I'm waiting for some >> feedback, impression, and sure critiques and amelioration (this is the >> first time I script in python, so be indulgent !!) >> This solution doesn't scale well, it would be impossible to emerge system and expect this to be sane, additionally the lack of sticky use vars means you can have unexpected support/lack of support after upgrading.. and digging through ebuilds? have you ever looked at emerge -h? tachyon root # emerge -vp vim =20 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] app-editors/vim-core-6.2_pre2 -gnome +gpm -gtk -gtk2 = +ncurses +nls +perl +python -ruby +X=20 [ebuild N ] app-editors/vim-6.2_pre2 -gnome +gpm -gtk -gtk2 +ncurses = +nls +perl +python -ruby +X=20 look, tells you exactly how your use flags are going to affect the build USE=3D"-X" emerge -vp vim and observe... additionally, we now have this great program for managing the plethora of = USE vars called 'ufed' (app-admin/ufed).. that way you don't forget which = are enabled/disabled, you can look through them all and turn on/off the = support you desire.. it's a nice program, well worth emerging.. Cheers Joshua Brindle -- gentoo-dev@gentoo.org mailing list