Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266597 - kde-base/kget-4.2.2 USE="bittorrent bittorrent-external" should not die
Summary: kde-base/kget-4.2.2 USE="bittorrent bittorrent-external" should not die
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InOverlay, InVCS
Depends on: 266532
Blocks:
  Show dependency tree
 
Reported: 2009-04-18 01:00 UTC by Jeroen Roovers (RETIRED)
Modified: 2009-04-28 09:57 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 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-18 01:00:31 UTC
Having USE="bittorrent bittorrent-external" for kde-base/kget-4.2.2 seems quite logical. Currently the ebuild dies because of it. use.local.desc doesn't point out why there is a conflict, and one would assume that IUSE="bittorrent" implies building bittorrent support generally, whereas IUSE="bittorrent-external" would mean depending on some other package to provide that support.

kde-base/kget:bittorrent - Enable embedded bittorrent transport plugin
kde-base/kget:bittorrent-external - Enable external bittorrent transport plugin via ktorrent

I think the logic should be changed like this:

USE=" bittorrent -bittorrent-external" - Build internal plugin.
USE=" bittorrent bittorrent-external"  - Build external plugin.
USE="-bittorrent +bittorrent-external" - Build external plugin.
USE="-bittorrent -bittorrent-external" - Build neither.

This way the build need never die. The user could be warned about what kind of bittorrent support plugin is built, and that should be all we need to do.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-04-23 15:52:32 UTC
Fixored.
Thanks for report. Now i should fix the ktorrent but it wont be right now i need to find some time for it...
Comment 2 Maciej Mrozowski gentoo-dev 2009-04-28 09:57:34 UTC
That logic in USE flags and to die with message was my idea. I agree that proposed solution is better (well, it's usually better not to die ;)
Thanks