Created attachment 299445 [details] Patch against the skanlite ebuild to pull in KDE 4.6 base dependencies. When compiling skanlite 0.7 against libksane 4.4.5 (that has apparently been present from before), the following error occured: -----8<----- Scanning dependencies of target skanlite [ 42%] Built target skanlite-handbook [ 50%] Built target skanlite-handbook [ 57%] Built target doc-handbook [ 64%] [ 71%] Building CXX object CMakeFiles/skanlite.dir/skanlite_automoc.o [ 78%] [ 85%] Building CXX object CMakeFiles/skanlite.dir/main.o [ 92%] Building CXX object CMakeFiles/skanlite.dir/skanlite.o Building CXX object CMakeFiles/skanlite.dir/KSaneImageSaver.o Building CXX object CMakeFiles/skanlite.dir/ImageViewer.o [100%] Building CXX object CMakeFiles/skanlite.dir/SaveLocation.o /home/portage/portage/kde-misc/skanlite-0.7/work/skanlite-0.7/skanlite.cpp: In member function 'void Skanlite::imageReady(QByteArray&, int, int, int, int)': /home/portage/portage/kde-misc/skanlite-0.7/work/skanlite-0.7/skanlite.cpp:283:27: error: 'class KSaneIface::KSaneWidget' has no member named 'toQImageSilent' make[2]: *** [CMakeFiles/skanlite.dir/skanlite.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/skanlite.dir/all] Error 2 make: *** [all] Error 2 * ERROR: kde-misc/skanlite-0.7 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =kde-misc/skanlite-0.7', * the complete build log and the output of 'emerge -pqv =kde-misc/skanlite-0.7'. * The complete build log is located at '/home/portage/portage/kde-misc/skanlite-0.7/temp/build.log'. * The ebuild environment file is located at '/home/portage/portage/kde-misc/skanlite-0.7/temp/environment'. * S: '/home/portage/portage/kde-misc/skanlite-0.7/work/skanlite-0.7' -----8<----- The reason for this is that the method toQImageSilent has been introduced with version 4.6 into libksane and my older 4.4.5 was not present. Users would only hit this issue when they have had KDE 4.4 on their system before and rarely run `emerge -NuD world`.
KDE 4.4 is not in tree.
(In reply to comment #1) > KDE 4.4 is not in tree. Umm. Exactly. But it was and people could righteously use it. The "current KDE" dependency is set for kde-base/* automagically, but not for kde-misc/*. That's why skanlite should be modified explicitly to pull in at least 4.6 and not any KDE as it does now. And all you have to do is to apply that patch on the ebuild.
+ 09 Feb 2012; Johannes Huber <johu@gentoo.org> skanlite-0.7.ebuild, + skanlite-0.8.ebuild: + Set KDE_MINIMAL 4.6, fixes bug #399599.