Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185598 - kde-base/kdebase-kioslaves: hal useflag doesn't pull in required dependencies
Summary: kde-base/kdebase-kioslaves: hal useflag doesn't pull in required dependencies
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
Depends on:
Reported: 2007-07-16 20:53 UTC by Daniel Klaffenbach
Modified: 2007-07-17 17:00 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Klaffenbach 2007-07-16 20:53:20 UTC
After emerging kde-base/kdebase-kioslaves-3.5.7 with hal and dbus USE-flags enabled one would expect HAL to work with KDE. Unfortunately the hal USE-flag doesn't do anything unless hal & dbus were installed previously. So far this is acceptable since this behaviour is described here:

But there is still one more package that is needed to get HAL-support in KDE: dev-libs/dbus-qt3-old. This is pretty much undocumented and it would make much more sense to install hal, dbus & dbus-qt3-old automatically if the hal-USEflag is enabled anyway.

Reproducible: Always

Actual Results:  
HAL/media detection does not work per default

Expected Results:  
Install all required dependencies with hal USE-flag enabled
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-16 21:01:37 UTC
Run emerge -NuDpv world if you want working HAL support. You really can't enable USE=hal on a single KDE package and expect things to work.
Comment 2 Daniel Klaffenbach 2007-07-17 06:58:26 UTC
First of all: hal and dbus USE-flags are enabled in /etc/make.conf, so this is a system wide setting. When I enable other USE-flags (like samba or kerberos) the dependencies are being installed automatically. It is normal that one expects things to work as long as the correct USE-flags are enabled. This is why I thought this should be possible with KDE & HAL as well.
Nevertheless I think you should at least document this behaviour (dbus-qt3-old) somewhere (handbook or
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-07-17 07:08:13 UTC
(In reply to comment #2)

You missed the whole point. dev-libs/dbus-qt3-old is *not* a kde-base/kdebase-kioslaves dependency at all. Referring back to your example, setting USE=samba and/or installing samba won't enable samba features anywhere *unless* you run emerge -NuD world and recompile *all* packages that support samba features with this flag enabled. 

Ebuilds are not a dumpspace for unneeded dependencies, and documenting such tree-wide behaviour in KDE-specific documentation doesn't make sense. Any change in global use flags (the ones in make.conf) requires to run emerge -NuD world to take any effect.

Comment 4 Tobias Heinlein (RETIRED) gentoo-dev 2007-07-17 11:54:28 UTC
Besides, the dependencies *are* in the ebuild:

    hal? ( || ( dev-libs/dbus-qt3-old >=sys-apps/dbus-0.34 )
           =sys-apps/hal-0.5* )

If I didn't get anything wrong, this is what you want.
I can only second jakub, running emerge -uDN world is required for changes in global use flags.
Comment 5 Daniel Klaffenbach 2007-07-17 17:00:52 UTC
The thing is: hal & dbus USE-flags were enabled in the first place; from the beginning of the installation. Before I started emerging _any_ single package from the chrooted system I enabled all the USE-flags I needed.