Bug#635981: 3rd party packages should not install modules to /usr/share/cmake-2.8/Modules

2011-08-26 Thread Matthias Klumpp
tags 635981 + fixed-upstream
thankyou

Hi!
I fixed this upstream, this issue will be solved in Debian with the next
major PackageKit release 0.7, which is available in ~8 days.
Thank you for reporting this!
Cheers,
   Matthias





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#635981: 3rd party packages should not install modules to /usr/share/cmake-2.8/Modules

2011-07-29 Thread Modestas Vainius
Package: libpackagekit-qt2-dev
Version: 0.6.15-1
Severity: serious
User: cm...@packages.debian.org
Usertags: 3rdparty-modules-in-cmake-root

Hello,

Your package ships a cmake module in /usr/share/cmake-2.8/Modules/, namely:

usr/share/cmake-2.8/Modules/FindPackageKitQt2.cmake

Third party packages should NOT install custom modules to CMAKE_ROOT directory 
because it is strictly for use by cmake itself and its path is subject to 
change without any notice (e.g. when CMake 2.10 is released).

You should replace Find* module with package configuration file(s). Read more 
about them at [1] and [2]. It is recommended to install package-config.cmake 
files to /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/cmake/package/, 
/usr/lib/cmake/package/ or /usr/share/cmake/package/ as needed. Support 
for ${CMAKE_LIBRARY_ARCHITECTURE} was introduced in cmake 2.8.5, the rest 
requires cmake 2.6.3.

[1] 
http://www.cmake.org/Wiki/CMake/Tutorials/Packaging#Package_Configuration_Files

[2] http://cmake.org/cmake/help/cmake-2-8-docs.html#command:find_package 
(scroll to Config mode)

-- 
Debian CMake maintainer,
Modestas Vainius mo...@debian.org


signature.asc
Description: This is a digitally signed message part.