Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24117 - kgpg could use a better DEPEND
Summary: kgpg could use a better DEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-08 11:57 UTC by Donnie Berkholz (RETIRED)
Modified: 2004-09-19 20:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Donnie Berkholz (RETIRED) gentoo-dev 2003-07-08 11:57:45 UTC
I don't use all of KDE, just the parts I need to run a few applications I like,
such as kmail and kgpg. It seems like it could be a good idea to have the
dependencies set up for people like me. In this specific case, kgpg failed until
I installed arts -- why sound is required for gpg, I have no idea, but kgpg
ought to be smart enough to pull it in if I don't have it, or have an arts use flag.
Thoughts?

Reproducible: Always
Steps to Reproduce:
1. Have partial kde installed
2. Emerge kgpg
3. Fails at mcopidl because arts isn't pulled in by depend




This is the maximum kde packages required to run kgpg and kmail; I haven't tried
cropping it down any further, but I imagine it could lose a few more packages
like kdeadmin, kdeartwork, kdeutils.

$ ls /var/db/pkg/kde-base/
arts-1.1.2  kde-env-3-r2    kdeartwork-3.1.2  kdelibs-3.1.2     kdeutils-3.1.2
kde-3.1.2   kdeadmin-3.1.2  kdebase-3.1.2     kdenetwork-3.1.2
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-08-11 14:52:33 UTC
Yeah, this is a common request. 
 
In your case, kgpg only requires a base installation of kde 
 
kmail requires kdenetwork (actually, it's part of kdenetwork in 3.1 and kdepim in 3.2) 
 
But a base kde installation requires: arts, kdelibs, and kdebase. 
 
This is because kdelibs and kdebase have dependencies on arts. 
 
I don't use sound either, so I know your pain.  I believe this is intended to be fixed in an 
upcoming version of kde, but until then, we're stuck with it. :( 
 
In this case, I say there's problem some problem with you doing a strange install.  kgpg only 
looks to see if you have kde installed happily.  In order to do that, you should have had to pull 
in arts at some point.  If you've somehow tricked it into thinking it has arts (you would have 
to have done this in order to get kdelibs installed), then it's not going to know any different. 
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-11-01 06:40:50 UTC
This is actually now possible in new versions of kde using the DO_NOT_COMPILE
flag.  You can install the necessary packages you need but turn off compilation
of sub-packages that you don't want to use reducing the compile and install
time.  
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-01 11:09:47 UTC
Hm, I guess the issue remaining on this bug is how meta-ebuilds like kde
work. If I install something that depends on kde and assumes an "emerge kde"
means nothing was unmerged, it has problems just depending on kde instead
of everything it actually needs.

I'm still leaning toward the belief that listing every real dependency is
better.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-09-19 20:01:43 UTC
KDe should now support --without-arts completely, and kgpg is now in the bigger kde ebuilds, so I'm closing this one as fixed.