On 29/07/14 18:04, behrouz khosravi wrote:
> Hello everyone.
> I just concurred my fear and jumped to installing gentoo!
> So far so good!
> Before installing on my laptop and desktop, I am trying on virtual box
> and the system is running Fluxbox very good.(default profile)
> Now I am thinking about managing USE flags.
> What if I  disable everything in the make.conf ( I mean USE="-*" ) and
> gradually add the needed flags to package.use?
> I am not trying to have severe control, I just want to expand my knowledge!
> thanks.
>
late to the conversation but no one else has mentioned, you might want
to take advantage of the newer way of doing use flags.
i.e. do not put them all in /etc/portage/make.conf
take advantage of the /etc/portage/package.use/  (you might need to
mkdir this)
in there you can put a single file per package requirements.

i.e. you try to emerge etherape, and it tells you that libgnomecanvas
requires use of glade
so cat the requirement into a file named by what requires it

$ cat /etc/portage/package.use/etherape
>=gnome-base/libgnomecanvas-2.30.3 glade

this also works for package.keywords etc

this means that you can more easily keep track of which use flags are
for which programs:
$ ls /etc/portage/package.use/
chromium   efl          freemind        teamviewer   transmission
compiz     etherape     gvfs            terminator   vinagre
darktable  filemangler  networkmanager  thunar       virtualbox
dvdrip     firefox      stellarium      thunderbird  wpa_supplicant


hth

Reply via email to