Summary: | po files of presence-applet 0.3 does not build due to a cmake error | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Balcaen John <balcaen.john> |
Component: | presence-applet | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alinm.elena, d.cermak, mklapetek, rdieter, rohan, toddrme2178 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 0.4.0 | ||
Platform: | Mageia RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | example patch for ktp-presence-applet |
Description
Balcaen John
2012-01-27 14:27:25 UTC
As a workaround you can put cmake_policy(SET CMP0002 OLD) in the top CMakeLists.txt. Thanks, should i open a bug report for each package affected (there's others) or i can past them here once i finish local building ? No need to open several bugreports, just post the list here and we'll try to fix it all at once. Thanks. maybe we shall properly fix it... setting that regressive policy... just hides the problem Thoses packages are also affected : ktp-accounts-kcm ktp-send-file ktp-contact-applet ktp-presence-applet I tried putting cmake_policy(SET CMP0002 OLD) in the top CMakeLists.txt, but the error still occurred. I tried putting it in other CMakeLists.txt files but that didn't help, either. Is there a specific place where the line has to go? Created attachment 68557 [details]
example patch for ktp-presence-applet
This patch works to fix the problem for me, using the presence-applet as an example.
That worked, thanks. Git commit eaf09e1242408ac8652ba3ffd1d698326e4b2360 by Rohan Garg. Committed on 07/02/2012 at 19:49. Pushed by garg into branch 'master'. Do not use CMake 2.8 just yet CMake 2.8 has some scope issues which cause the pofile target to interfere while building translations in the tarball releases. Not requiring CMake 2.8 fixes the build issue. Related: bug 292593 M +0 -2 CMakeLists.txt http://commits.kde.org/telepathy-contact-applet/eaf09e1242408ac8652ba3ffd1d698326e4b2360 Git commit bea0030301dde993d2990571ec559bc9f1ca48bf by Rohan Garg. Committed on 07/02/2012 at 19:49. Pushed by garg into branch 'kde-telepathy-0.3'. Do not use CMake 2.8 just yet CMake 2.8 has some scope issues which cause the pofile target to interfere while building translations in the tarball releases. Not requiring CMake 2.8 fixes the build issue. Related: bug 292593 M +0 -2 CMakeLists.txt http://commits.kde.org/telepathy-contact-applet/bea0030301dde993d2990571ec559bc9f1ca48bf @Balcaen I don't see a issue with any other sources, just the contact applet. Okay the issue was present in the Presence applet as well, fixed |