home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.gentoo      Stupid OS you gotta compile EVERYTHING      17,684 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 16,330 of 17,684   
   pk to Nikos Chantziaras   
   Re: Unmasking whole package groups   
   04 Jul 08 09:32:18   
   
   From: pk@pk.invalid   
      
   On Friday 4 July 2008 02:12, Nikos Chantziaras wrote:   
      
   > pk wrote:   
   >> On Thursday 3 July 2008 02:54, Nikos Chantziaras wrote:   
   >>   
   >>> Is there a way to unmask a whole group in /etc/portage/package.keywords?   
   >>>   
   >>> For example:   
   >>>   
   >>> x11-themes/*   
   >>> [...]   
   >>   
   >> emerge autounmask   
   >   
   > Unfortunately, autounmask doesn't do what I want.  It only unmasks   
   > dependencies, not whole groups.  What I want is unmask x11-themes/* and   
   > then an `emerge -auvD world` should update everything in x11-themes to   
   > ~arch.   
      
   Then a quick and dirty script would probably do what you need (edit as   
   needed, of course):   
      
   CAT=x11-themes   
   find /usr/portage/$CAT -maxdepth 1 -mindepth 1 -type d -printf "$CAT/%f\n"   
      
   This generates a list of all the packages in the given category. Append   
   ~ARCH at the end and redirect to >> /etc/portage/package.use, or just   
   redirect the list to >> /etc/portage/package.unmask, etc....   
      
   It may be possible to get a similar list using portageq or some other native   
   Gentoo utility (I haven't checked).   
      
   --   
   All the commands are tested with bash and GNU tools, so they may use   
   nonstandard features. I try to mention when something is nonstandard (if   
   I'm aware of that), but I may miss something. Corrections are welcome.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca