Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255227 - [kde-testing] net-p2p/ktorrent-3.2_beta1-r1 fails with kde 4.1.96
Summary: [kde-testing] net-p2p/ktorrent-3.2_beta1-r1 fails with kde 4.1.96
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-17 00:25 UTC by Alex Alexander (RETIRED)
Modified: 2009-01-29 13:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for CMakeFiles.txt that fixes the problem (ktorrent-3.2-beta1-cmakelists.patch,907 bytes, patch)
2009-01-17 00:27 UTC, Alex Alexander (RETIRED)
Details | Diff
updated ktorrent ebuild that uses above patch (ktorrent-3.2_beta1-r2.ebuild,2.29 KB, text/plain)
2009-01-17 00:28 UTC, Alex Alexander (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Alexander (RETIRED) gentoo-dev 2009-01-17 00:25:52 UTC
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
Comment 1 Alex Alexander (RETIRED) gentoo-dev 2009-01-17 00:27:22 UTC
Created attachment 178748 [details, diff]
patch for CMakeFiles.txt that fixes the problem
Comment 2 Alex Alexander (RETIRED) gentoo-dev 2009-01-17 00:28:07 UTC
Created attachment 178750 [details]
updated ktorrent ebuild that uses above patch
Comment 3 manolis 2009-01-29 11:53:25 UTC
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
Comment 4 Alex Alexander (RETIRED) gentoo-dev 2009-01-29 12:35:36 UTC
Good point, I'll fix that :)
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-29 13:03:00 UTC
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.