Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 79671

Summary: USE flags to disable kdetoys, kdeedu and kdegames,etc in kde-base/kde
Product: Gentoo Linux Reporter: SI Reasoning <si>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description SI Reasoning 2005-01-26 21:20:51 UTC
I am trying to remove unneeded packages from kde such as kdetoys, kdeedu and kdegames. However, whenever I emerge -uvaD world, it keeps trying to emerge them again. I then tried to add them to package.maask but that failed with a message that they are dependencies for kdebase (3.3.2). Is there a reason for them being dependencies and if not can they be removed from the dependency list. Maybe there should be a place in USE files to add in unnecessary kde and gnome packages.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-01-27 03:30:31 UTC
Those packages are in no way dependencies of kde-base/kdebase.  They are dependencies of kde-base/kde, which is a complete kde installation.
Comment 2 SI Reasoning 2005-01-27 08:41:47 UTC
You are right, it is a dependency on kde not kdebase, nevertheless the request is the same. When installing a full kde distribution, it would be nice to be able to have control on the non-essential packages (without having to do everything manually and skip installing kde-base/kde). Such as mozilla has many options not to install mail, irc, etc... It would be nice to have USE flags for the major packages such as kde and gnome
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-01-27 08:58:19 UTC
Your request doesn't make any sense - there's like 12 kde packages, if you want a certain one, emerge it.  If you want all of them, emerge "kde".  I don't understand how this would benefit from use flags.
Comment 4 SI Reasoning 2005-01-27 09:42:55 UTC
It is a convenience issue, there are lots of packages associated with the kde desktop, most are necessary. However, there are some packages that are not necessary such as the ones I mentioned above. Having USE flags that can be set just makes it so much easier than having to wade through all of the packages, especially when not as familiar.

I guess another question would be, what happens if I unmerge kde-base/kde? Would this affect future upgrades as packages get divided, added or merged? Would it affect the current installation of kde? Would it still try to install kde-base/kde whenever I did a 
emerge -uvaD world?
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2005-01-27 09:47:07 UTC
This has been brought up many times before - a quick search of the forums will tell all about it.

In short, yes you can unmerge kde-base/kde and have it stop complaining about missing dependencies.
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2005-02-10 14:18:00 UTC
Any package which depends on kde will depend only on kdelibs or kdebase, not the full installation.  Any more of an installation you want beyond that has to be installed by hand, which you can do manually or use the "kde-base/kde" meta package to install ALL kde packages.

I don't see how use flags will help in this situation.