Main Page | Report this Page
 
   
Linux Forum Index  »  Linux - Gentoo Forum  »  Unmasking whole package groups...
Page 1 of 1    
Author Message
Nikos Chantziaras...
Posted: Wed Jul 02, 2008 7:54 pm
Guest
Is there a way to unmask a whole group in /etc/portage/package.keywords?

For example:

x11-themes/*


instead of:

x11-themes/crystal
x11-themes/gentoo-artwork
x11-themes/gentoo-xcursors
x11-themes/gtk-chtheme
x11-themes/gtk-engines-qtcurve
x11-themes/hicolor-icon-theme
x11-themes/qtcurve
x11-themes/vanilla-dmz-aa-xcursors
x11-themes/vanilla-dmz-xcursors
(...)

I'd like to do this for non-critical things like "media-fonts/*",
"x11-themes/*", "games-misc/*" and stuff like that.
pk...
Posted: Thu Jul 03, 2008 4:13 am
Guest
On Thursday 3 July 2008 02:54, Nikos Chantziaras wrote:

Quote:
Is there a way to unmask a whole group in /etc/portage/package.keywords?

For example:

x11-themes/*


instead of:

x11-themes/crystal
x11-themes/gentoo-artwork
x11-themes/gentoo-xcursors
x11-themes/gtk-chtheme
x11-themes/gtk-engines-qtcurve
x11-themes/hicolor-icon-theme
x11-themes/qtcurve
x11-themes/vanilla-dmz-aa-xcursors
x11-themes/vanilla-dmz-xcursors
(...)

I'd like to do this for non-critical things like "media-fonts/*",
"x11-themes/*", "games-misc/*" and stuff like that.

emerge autounmask
Nikos Chantziaras...
Posted: Thu Jul 03, 2008 7:12 pm
Guest
pk wrote:
Quote:
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.
pk...
Posted: Fri Jul 04, 2008 2:32 am
Guest
On Friday 4 July 2008 02:12, Nikos Chantziaras wrote:

Quote:
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.
nick...
Posted: Tue Jul 08, 2008 11:01 am
Guest
On 2008-07-03, Nikos Chantziaras <realnc at (no spam) arcor.de> wrote:
Quote:
Is there a way to unmask a whole group in /etc/portage/package.keywords?

For example:

x11-themes/*


instead of:

x11-themes/crystal
x11-themes/gentoo-artwork
x11-themes/gentoo-xcursors
x11-themes/gtk-chtheme
x11-themes/gtk-engines-qtcurve
x11-themes/hicolor-icon-theme
x11-themes/qtcurve
x11-themes/vanilla-dmz-aa-xcursors
x11-themes/vanilla-dmz-xcursors
(...)

I'd like to do this for non-critical things like "media-fonts/*",
"x11-themes/*", "games-misc/*" and stuff like that.

I'm Paludis can do that without trouble. Its config files are (to
me at least) far saner. Indeed it does it in pretty much exactly your
example syntax, e.g. to allow unstable x86 builds in games-misc you'd
add this line to /etc/paludis/keywords.conf:

games-misc/* ~x86

But then of course you're stepping rather more into unsupported
territory...
 
Page 1 of 1       All times are GMT - 5 Hours
The time now is Sat Nov 22, 2008 1:28 pm