net-p2p/ktorrent-3.2_beta1-r1 doesn't configure/compile with kde 4.1.96, since its CMakeLists.txt is outdated. I created a patch from the CMakeLists.txt in svn:trunk that works. ebuild and patch attachments will follow :) Reproducible: Always Steps to Reproduce: 1. install/update kde to 4.1.96 2. emerge =net-p2p/ktorrent-3.2_beta1-r1 Actual Results: CMake Error at /usr/share/apps/cmake/modules/FindPlasma.cmake:13 (message): FindPlasma.cmake is deprecated. Now with KDE 4.2 Plasma is part of kdelibs and automatically found using find_package(KDE4) instead. Replace the variables previously coming from FindPlasma.cmake as follows: PLASMA_OPENGL_FOUND -> KDE4_PLASMA_OPENGL_FOUND PLASMA_LIBS -> KDE4_PLASMA_LIBS PLASMA_INCLUDE_DIR -> KDE4_INCLUDE_DIR or KDE4_INCLUDES, should be already set anyway PLASMA_FOUND -> nothing, it's always there if KDE4, version 4.2 or newer has been found. If you see this error message in a module within KDE/, update it from svn, it has been fixed already. Call Stack (most recent call first): /usr/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:19 (FIND_PACKAGE) CMakeLists.txt:7 (macro_optional_find_package) Expected Results: configure, build, install
Created attachment 178748 [details, diff] patch for CMakeFiles.txt that fixes the problem
Created attachment 178750 [details] updated ktorrent ebuild that uses above patch
AFAIK , if you patch Cmakelists.txt the compilation will not succed if you have a pre 4.2.test version (4.1.4 for example) So it is needed a condition inside the ebuild to apply the patch only for 4.2
Good point, I'll fix that :)
Sorry wontfix. 3.1.6 is fine, when there is new beta i will let it to be version independed again, for now hardcoding kde version for that on 4.1.