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

Bug 524944

Summary: [KDE overlay] kde-base/khotkeys-9999 needs kde-frameworks/kdelibs4support with USE="X"
Product: Gentoo Linux Reporter: Sven Eden <sven.eden>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: 10.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sven Eden 2014-10-10 12:18:26 UTC
When kde-frameworks/kdelibs4support-9999 is emerged with USE="-X", kde-base/khotkeys-9999 fails with:

--------
CMakeFiles/khotkeysprivate.dir/triggers/gestures.cpp.o: In function `KHotKeys::Gesture::grab_mouse(bool)':
gestures.cpp:(.text+0xc5c): undefined reference to `KXErrorHandler::display()'
gestures.cpp:(.text+0xc71): undefined reference to `KXErrorHandler::KXErrorHandler(_XDisplay*)'
gestures.cpp:(.text+0xdb9): undefined reference to `KXErrorHandler::error(bool) const'
gestures.cpp:(.text+0xde0): undefined reference to `KXErrorHandler::~KXErrorHandler()'
--------

While everything is in the /usr/include/KF5/KDELibs4Support/kxerrorhandler.h, the implementation is left out of libKF5KDELibs4Support.so if kde-frameworks/kdelibs4support-9999 is emerged with USE="-X".

Therefore I suggest that kde-base/khotkeys-9999 should depend on kde-frameworks/kdelibs4support-9999 with enabled "X" USE-Flag.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-10-10 15:42:26 UTC
Thanks, fixed in git.

https://github.com/gentoo/kde/commit/d86ad446a41ce8db46bd2e35b0125f7e526712cb