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

Bug 385009

Summary: net-im/kadu-0.10.0 wrong dependencies
Product: Gentoo Linux Reporter: Bartosz Brachaczek <b.brachaczek>
Component: New packagesAssignee: Maciej Mrozowski <reavertm>
Status: RESOLVED FIXED    
Severity: minor CC: ago, tomaszg
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to kadu-0.10.0.ebuild r1.1
patch to kadu-0.10.0.ebuild r1.1

Description Bartosz Brachaczek 2011-09-29 23:17:01 UTC
Created attachment 288301 [details]
patch to kadu-0.10.0.ebuild r1.1

net-im/kadu-0.10.0 has some wrong dependencies:
- Required Qt version is too low (4.4 instead of 4.7).
- kde-base/kdelibs is required if USE=kde, which is wrong.
- dev-util/automoc is required if USE=xmpp, which is also unneeded (there is actually some CMake code based on automoc but no dependency is there).
- There is a missing dependency on sys-libs/zlib if USE=xmpp.

Attaching a patch to the ebuild.
Comment 1 Agostino Sarubbo gentoo-dev 2011-09-30 11:17:41 UTC
Thanks Bartosz for the report.
Comment 2 Bartosz Brachaczek 2011-09-30 12:53:56 UTC
Created attachment 288365 [details, diff]
patch to kadu-0.10.0.ebuild r1.1

Updated with removed qt3support USE dependency from qt-gui. It was also unneeded.
Comment 3 Maciej Mrozowski gentoo-dev 2011-09-30 21:47:05 UTC
Thanks, in tree.

Please consider the following CMake patch:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-im/kadu/files/kadu-0.10.0-sdk-cmake.patch?view=markup
Comment 4 Maciej Mrozowski gentoo-dev 2011-09-30 22:22:20 UTC
?view=markup is broken it seems, so

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-im/kadu/files/kadu-0.10.0-sdk-cmake.patch
Comment 5 Tomasz Golinski 2011-10-01 11:04:37 UTC
If I'm not mistaken, after corrections in tree you missed || since now kadu-0.10.0-r1 requires both x11-libs/qt-phonon and media-libs/phonon thus I get nasty blockers.
Comment 6 Maciej Mrozowski gentoo-dev 2011-10-02 18:44:11 UTC
Good lord, your're right. Fixed.