Re: [gentoo-user] Syntax for masking kde:4?

2009-10-14 Thread daid kahl
 What is the syntax for a single entry in package.mask to exclude the whole of
 kde:4? I did start masking each package separately, but that's far too much
 work - I'd finish up with an entry for every kde package that has a version
 4. Also, kde:4, which seems like the right thing to specify, is an invalid
 package atom according to eix.

Sorry for the late reply.  I attach 3 files with tell-tale names to
mask all of kde-4 (I was previously running ~x86).

Throw them in /etc/portage/package.mask

I might have been goofing around with one or two things...

I think, for example, I needed to turn of the KDE use flag on svn in
package.use:
dev-util/subversion -kde

Since it wants me to upgrade kdelibs to 4 something otherwise.

When a new kde-4 comes out, I copy an old one and do a find-replace on
like 4.2 to 4.3 or something..

Cheers,
daid
#Other fixes
=media-sound/amarok-1.9
kde-base/kdepim-meta:4.1

# KDE deps
=kde-base/qimageblitz-0.0*

# KDE base libs
kde-base/kdelibs:4.1
kde-base/kdepimlibs:4.1
kde-base/libkcddb:4.1
kde-base/libkcompactdisc:4.1
kde-base/libkdcraw:4.1
kde-base/libkdeedu:4.1
kde-base/libkdepim:4.1
kde-base/libkexiv2:4.1
kde-base/libkholidays:4.1
kde-base/libkipi:4.1
kde-base/libkleo:4.1
kde-base/libkonq:4.1
kde-base/libkpgp:4.1
kde-base/libksane:4.1
kde-base/libksieve:4.1
kde-base/libkworkspace:4.1
kde-base/libplasma:4.1
kde-base/libtaskmanager:4.1

# KDE packages
kde-base/akonadi:4.1
kde-base/akregator:4.1
kde-base/amor:4.1
kde-base/ark:4.1
kde-base/blinken:4.1
kde-base/bovo:4.1
kde-base/cervisia:4.1
kde-base/dolphin:4.1
kde-base/dragonplayer:4.1
kde-base/drkonqi:4.1
kde-base/gwenview:4.1
kde-base/juk:4.1
kde-base/kaddressbook:4.1
kde-base/kalarm:4.1
kde-base/kalgebra:4.1
kde-base/kalzium:4.1
kde-base/kamera:4.1
kde-base/kanagram:4.1
kde-base/kappfinder:4.1
kde-base/kapptemplate:4.1
kde-base/kate:4.1
kde-base/katomic:4.1
kde-base/kbattleship:4.1
kde-base/kblackbox:4.1
kde-base/kblocks:4.1
kde-base/kbounce:4.1
kde-base/kbreakout:4.1
kde-base/kbruch:4.1
kde-base/kbugbuster:4.1
kde-base/kcachegrind:4.1
kde-base/kcalc:4.1
kde-base/kcharselect:4.1
kde-base/kcheckpass:4.1
kde-base/kcminit:4.1
kde-base/kcmshell:4.1
kde-base/kcolorchooser:4.1
kde-base/kcontrol:4.1
kde-base/kcron:4.1
kde-base/kde-l10n:4.1
kde-base/kde-meta:4.1
kde-base/kdeaccessibility-colorschemes:4.1
kde-base/kdeaccessibility-iconthemes:4.1
kde-base/kdeaccessibility-meta:4.1
kde-base/kdeaccounts-plugin:4.1
kde-base/kdeadmin-meta:4.1
kde-baes/kdeadmin-optional:4.1
kde-base/kdeartwork-colorschemes:4.1
kde-base/kdeartwork-emoticons:4.1
kde-base/kdeartwork-icewm-themes:4.1
kde-base/kdeartwork-iconthemes:4.1
kde-base/kdeartwork-kscreensaver:4.1
kde-base/kdeartwork-kworldclock:4.1
kde-base/kdeartwork-meta:4.1
kde-base/kdeartwork-sounds:4.1
kde-base/kdeartwork-styles:4.1
kde-base/kdeartwork-wallpapers:4.1
kde-base/kdebase-cursors:4.1
kde-base/kdebase-data:4.1
kde-base/kdebase-kioslaves:4.1
kde-base/kdebase-meta:4.1
kde-base/kdebase-startkde:4.1
kde-base/kdebugdialog:4.1
kde-base/kdeedu-meta:4.1
kde-base/kdegames-meta:4.1
kde-base/kdegames-optional:4.1
kde-base/kdegraphics-meta:4.1
kde-base/kdegraphics-strigi-analyzer:4.1
kde-base/kde-menu:4.1
kde-base/kde-menu-icons:4.1
kde-base/kdemaildir:4.1
kde-base/kdemultimedia-kioslaves:4.1
kde-base/kdemultimedia-meta:4.1
kde-base/kdenetwork-filesharing:4.1
kde-base/kdenetwork-meta:4.1
kde-base/kdepasswd:4.1
kde-base/kdepim-kresources:4.1
kde-base/kdepim-strigi-analyzer:4.1
kde-base/kdepim-wizards:4.1
kde-base/kdeplasma-addons:4.1
kde-base/kdesdk-kioslaves:4.1
kde-base/kdesdk-meta:4.1
kde-base/kdesdk-misc:4.1
kde-base/kdesdk-scripts:4.1
kde-base/kdesdk-strigi-analyzer:4.1
kde-base/kdessh:4.1
kde-base/kdesu:4.1
kde-base/kdetoys-meta:4.1
kde-base/kdeutils-meta:4.1
kde-base/kdeutils-optional:4.1
kde-base/kde-wallpapers:4.1
kde-base/kdf:4.1
kde-base/kdialog:4.1
kde-base/kdiamond:4.1
kde-base/kdm:4.1
kde-base/kdnssd:4.1
kde-base/keditbookmarks:4.1
kde-base/kfile:4.1
kde-base/kfind:4.1
kde-base/kfloppy:4.1
kde-base/kfourinline:4.1
kde-base/kgamma:4.1
kde-base/kgeography:4.1
kde-base/kget:4.1
kde-base/kgoldrunner:4.1
kde-base/kgpg:4.1
kde-base/khangman:4.1
kde-base/khelpcenter:4.1
kde-base/khotkeys:4.1
kde-base/kiconfinder:4.1
kde-base/kig:4.1
kde-base/kinfocenter:4.1
kde-base/kioclient:4.1
kde-base/kiriki:4.1
kde-base/kitchensync:4.1
kde-base/kiten:4.1
kde-base/kjots:4.1
kde-base/kjumpingcube:4.1
kde-base/kleopatra:4.1
kde-base/klettres:4.1
kde-base/klines:4.1
kde-base/klipper:4.1
kde-base/kmag:4.1
kde-base/kmahjongg:4.1
kde-base/kmail:4.1
kde-base/kmailcvt:4.1
kde-base/kmenuedit:4.1
kde-base/kmimetypefinder:4.1
kde-base/kmines:4.1
kde-base/kmix:4.1
kde-base/kmousetool:4.1
kde-base/kmouth:4.1
kde-base/kmplot:4.1
kde-base/knetattach:4.1
kde-base/knetwalk:4.1
kde-base/knetworkconf:4.1
kde-base/knewsticker:4.1
kde-base/knewstuff:4.1
kde-base/knode:4.1
kde-base/knotes:4.1
kde-base/knotify:4.1
kde-base/kode:4.1
kde-base/kolf:4.1
kde-base/kollision:4.1
kde-base/kolourpaint:4.1
kde-base/kompare:4.1

Re: [gentoo-user] Syntax for masking kde:4?

2009-10-14 Thread Neil Bothwick
On Sun, 11 Oct 2009 12:30:06 +0100, Peter Humphrey wrote:

 In the last few days some parts of KDE v4 seem to have been moved into
 the stable tree, but on some of my boxes I want to exclude kde:4 (but
 not qt:4).
 
 What is the syntax for a single entry in package.mask to exclude the
 whole of kde:4? I did start masking each package separately, but that's
 far too much work - I'd finish up with an entry for every kde package
 that has a version 4. Also, kde:4, which seems like the right thing
 to specify, is an invalid package atom according to eix.

If you've installed via kde-meta, either mask kde-meta:4 or change the
world entry to kde-meta:3.5.

Otherwise masking the 4.x versions of all KDE packages in world should do
most of what you need

grep ^kde-base /var/lib/portage/world | sed s/$/:4/ 
/etc/portage/package.mask/kde4


-- 
Neil Bothwick

Windows Error:01F Reserved for future mistakes.


signature.asc
Description: PGP signature


Re: [gentoo-user] Syntax for masking kde:4?

2009-10-14 Thread Peter Humphrey
On Wednesday 14 October 2009 13:38:53 Neil Bothwick wrote:

 grep ^kde-base /var/lib/portage/world | sed s/$/:4/
 /etc/portage/package.mask/kde4

That's neat. Thanks - though it misses anything pulled in by world entries.

Meanwhile I've captured the file that Jonathan mentioned - and I've already 
had to augment it to mask the latest versions of kdiff3 and kmplayer, which 
want to exclude kde:3 libraries.

-- 
Rgds
Peter



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-12 Thread Peter Humphrey
On Sunday 11 October 2009 22:30:29 Alan McKinnon wrote:

 Have you considered simply not installing them at all? If you don't want
 apache, cups, syslog-ng and bind you don't take any special steps, you
 simply don't emerge them.

No, but those are single packages, more or less. KDE is hundreds of packages - 
not the same scale at all.

 Unless of course you do want kde:3.5 (I don't recall if you mentioned that
 or not).

Yes, where a GUI is installed it's kde:3.5, and I want to keep it, except on a 
test box where it can be kept safely confined.

 OT: I really like kde:4 myself, but it's such a different product to
 kde:3.5 that I honestly feel it's official name should have been kde4. If
 the kde devs had done that, your issue would simply never have happened.
 This versioning is causing problems for many people, you are not the only
 one wanting to avoid kde:4

Oh woe! I've just run a sync and found another 25 of them. The other day I put 
13 entries into package.mask and that held the fort for the time; now I have 
another battle to fight. There will be more, too.

What I need is an automask to complement autounmask, or perhaps a kde4 USE 
flag.

-- 
Rgds
Peter



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-12 Thread Dale
Peter Humphrey wrote:
 On Sunday 11 October 2009 22:30:29 Alan McKinnon wrote:

   
 Have you considered simply not installing them at all? If you don't want
 apache, cups, syslog-ng and bind you don't take any special steps, you
 simply don't emerge them.
 

 No, but those are single packages, more or less. KDE is hundreds of packages 
 - 
 not the same scale at all.

   
 Unless of course you do want kde:3.5 (I don't recall if you mentioned that
 or not).
 

 Yes, where a GUI is installed it's kde:3.5, and I want to keep it, except on 
 a 
 test box where it can be kept safely confined.

   
 OT: I really like kde:4 myself, but it's such a different product to
 kde:3.5 that I honestly feel it's official name should have been kde4. If
 the kde devs had done that, your issue would simply never have happened.
 This versioning is causing problems for many people, you are not the only
 one wanting to avoid kde:4
 

 Oh woe! I've just run a sync and found another 25 of them. The other day I 
 put 
 13 entries into package.mask and that held the fort for the time; now I have 
 another battle to fight. There will be more, too.

 What I need is an automask to complement autounmask, or perhaps a kde4 USE 
 flag.

   

I would do as someone else suggested, run autounmask for kde 4 and move
the list package.unmask to package.mask.  You would likely have to add
to that over time but it is at least a start.  Keep in mind, once KDE 4
is stable, you can't use autounmask to do this since it is already
unmasked. 

According to -dev, KDE 4 is going stable pretty soon. 
http://bugs.gentoo.org/show_bug.cgi?id=287697  It's already in the works. 

Dale

:-)  :-) 



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 11:30:22 Peter Humphrey wrote:
  OT: I really like kde:4 myself, but it's such a different product to
  kde:3.5 that I honestly feel it's official name should have been kde4. If
  the kde devs had done that, your issue would simply never have happened.
  This versioning is causing problems for many people, you are not the only
  one wanting to avoid kde:4
 
 Oh woe! I've just run a sync and found another 25 of them. The other day I
  put  13 entries into package.mask and that held the fort for the time; now
  I have another battle to fight. There will be more, too.

Yes, there will be more. And it's not likely to stop.

It really is a pity that two different products have the same name with 
different slots. Causes no end of trouble, as you are seeing.

But it's too late to change it now

 What I need is an automask to complement autounmask, or perhaps a kde4 USE 
 flag.

autounmask outputs a file, right? Move it from the package.unmask to the 
package.mask area - the format is the same for both.

A USE flag won't help you here. USE s to enable/disable *features* of certain 
packages, not enable/disable  entire packages or prevent them from being 
installed.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Syntax for masking kde:4?

2009-10-11 Thread Peter Humphrey
Hello list,

In the last few days some parts of KDE v4 seem to have been moved into the 
stable tree, but on some of my boxes I want to exclude kde:4 (but not qt:4).

What is the syntax for a single entry in package.mask to exclude the whole of 
kde:4? I did start masking each package separately, but that's far too much 
work - I'd finish up with an entry for every kde package that has a version 
4. Also, kde:4, which seems like the right thing to specify, is an invalid 
package atom according to eix.

I can't see anything relevant in man pages or the gentoo kde configuration 
guide. Google hasn't helped me either.

-- 
Rgds
Peter



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-11 Thread Alan McKinnon
On Sunday 11 October 2009 13:30:06 Peter Humphrey wrote:
 Hello list,
 
 In the last few days some parts of KDE v4 seem to have been moved into the
 stable tree, but on some of my boxes I want to exclude kde:4 (but not
  qt:4).
 
 What is the syntax for a single entry in package.mask to exclude the whole
  of kde:4? I did start masking each package separately, but that's far too
  much work - I'd finish up with an entry for every kde package that has a
  version 4. Also, kde:4, which seems like the right thing to specify, is
  an invalid package atom according to eix.
 
 I can't see anything relevant in man pages or the gentoo kde configuration
 guide. Google hasn't helped me either.

kde:4 won't work as the package kde does exist but there is no SLOT=4 for it 
(it's the old monolithic package for =kde-3.5.9).

You have to list each package you don't want individually - the reverse of 
what bleeding edge users have to do to unmask the latest greates packages as 
they hit the tree.

Easiest is to use autounmask but send the output to package.mask.

You could also use a combination of find $PORTDIR and sed, but that's painful.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-11 Thread Dirk Heinrichs
Am Sonntag 11 Oktober 2009 13:30:06 schrieb Peter Humphrey:

 What is the syntax for a single entry in package.mask to exclude the whole
  of kde:4?

When using paludis, that would be

=kde-base/*:4.3

or more general:

=category/*:slot

Don't know wether this works the same with portage, though.

HTH...

Dirk



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-11 Thread Volker Armin Hemmann
On Sonntag 11 Oktober 2009, Peter Humphrey wrote:
 Hello list,
 
 In the last few days some parts of KDE v4 seem to have been moved into the
 stable tree, but on some of my boxes I want to exclude kde:4 (but not
  qt:4).
 
 What is the syntax for a single entry in package.mask to exclude the whole
  of kde:4? I did start masking each package separately, but that's far too
  much work - I'd finish up with an entry for every kde package that has a
  version 4. Also, kde:4, which seems like the right thing to specify, is
  an invalid package atom according to eix.
 
 I can't see anything relevant in man pages or the gentoo kde configuration
 guide. Google hasn't helped me either.
 

since everything kde depends on kdelibs you could mask that



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-11 Thread Peter Humphrey
On Sunday 11 October 2009 17:23:14 Volker Armin Hemmann wrote:

 since everything kde depends on kdelibs you could mask that

I tried that, but of course the problem is that I get a whole load of errors 
because things that want to be installed can't be. I need to know how to 
prevent those things being installed at all.

-- 
Rgds
Peter



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-11 Thread Alan McKinnon
On Sunday 11 October 2009 19:04:57 Peter Humphrey wrote:
 On Sunday 11 October 2009 17:23:14 Volker Armin Hemmann wrote:
  since everything kde depends on kdelibs you could mask that
 
 I tried that, but of course the problem is that I get a whole load of
  errors because things that want to be installed can't be. I need to know
  how to prevent those things being installed at all.
 

Have you considered simply not installing them at all? If you don't want 
apache, cups, syslog-ng and bind you don't take any special steps, you simply 
don't emerge them.

Unless of course you do want kde:3.5 (I don't recall if you mentioned that or 
not).

OT: I really like kde:4 myself, but it's such a different product to kde:3.5 
that I honestly feel it's official name should have been kde4. If the kde devs 
had done that, your issue would simply never have happened. This versioning is 
causing problems for many people, you are not the only one wanting to avoid 
kde:4

-- 
alan dot mckinnon at gmail dot com