Hi all,

To start with, I'm a summer of code applicant. A gentoo mentor (Preston
Cody) suggested me to get in touch with portage developers, so, here I
am ;). Since I don't think you have access to my application page, I'll
explain what I propose. 

When I emerge a new package, there's always at least one useflag which
make me shout "what's the hell this means ?". Now, I have to stop
emerge, grep /usr/portage/profiles/use.desc (crap, it was
in /usr/portage/profiles/use.local.desc),
edit /etc/portage/package.use, and then re-run emerge. And if I'm
unlucky (and I'm often), this useflag has added a new depend which has
a new strange useflag, and I have to start the whole procedure again.
So, I have imagined a new option to emerge, say --interactive-useflags
(the name doesn't matter for now ;)), which will work as this example
(well, these useflags are pretty obvious, but it's an example :p):

$ sudo emerge -vp --interactive-useflags liferea
Configuration of liferea...
debug - Enable extra debug codepaths, blahblahblah [y/N]
gnutls - Adds support for net-libs/gnutls (net-libs/gnutls [I]) [Y/n]
gtkhtml - Adds support for gnome-extra/gtkhtml (gnome-extra/gtkhtml)
[y/N] Y ...
xulrunner - ... (net-libs/xulrunner) [y/N]

Configuration of new package gnome-extra/gtkhtml...
same thing here

[ebuild N] gnome-extra/gtkhtml-3.12.3  USE="-debug -static" 0 kB
[ebuild N] net-news/liferea-1.2.7  USE="dbus -firefox libnotify -debug
-gnutls gtkhtml -seamonkey -xulrunner" 0 kB

Total: 0 package, Size of downloads: 0 kB

Then, emerge will add net-news/liferea gtkhtml
to /etc/portage/package.use and merge liferea normally.

Notes:
 - gnutls - ... (net-libs/gnutls [I]) means that this useflag will add
a depency against gnutls ([I] means that gnutls is already installed)
 - we don't configure gnutls since it's already installed, but we
configure gtkhtml since it needs to be installed (new dependency)

Comments, questions and other are welcome ;)

Regards
-- 
[email protected] mailing list

Reply via email to