Bug#658196: libopencv-core-dev: installs cmake config file into wrong path (yes, this stuff is case sensitive)

Sune Vuorela sune at debian.org
Tue Jan 31 23:01:38 UTC 2012


Package: libopencv-core-dev
Version: 2.3.1-5
Severity: serious
Justification: package unusable

Dear Maintainer,

in the install file of the -core-dev package, you rename the directory
where the OpenCVConfig.cmake is installed to from OpenCV to opencv.

this breaks the actual usage (and finding) of the file.

if you do find_package(Foo) in cmake, cmake looks for FooConfig.cmake in 
/usr/[lib|share]/Foo/  (and a few other places), but never ever in 
/usr/[lib|share]/foo/.

if you think a directory starting with a capital letter looks ugly, then
consider moving it to /usr/lib/cmake/OpenCV/ where other packages has
placed such things

Changing opencv to install the OpenCVConfig.cmake into a  OpenCV
directory makes it findable again.

/Sune

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_DK.ISO-8859-15, LC_CTYPE=en_DK.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages libopencv-core-dev depends on:
ii  libc6                    2.13-22
ii  libgcc1                  1:4.6.2-7
ii  libopencv-calib3d2.3     2.3.1-5
ii  libopencv-core2.3        2.3.1-5
ii  libopencv-features2d2.3  2.3.1-5
ii  libopencv-flann2.3       2.3.1-5
ii  libopencv-gpu2.3         2.3.1-5
ii  libopencv-highgui2.3     2.3.1-5
ii  libopencv-imgproc2.3     2.3.1-5
ii  libopencv-ml2.3          2.3.1-5
ii  libopencv-objdetect2.3   2.3.1-5
ii  libstdc++6               4.6.2-7
ii  pkg-config               0.26-1
ii  zlib1g                   1:1.2.3.4.dfsg-3
ii  zlib1g-dev               1:1.2.3.4.dfsg-3

libopencv-core-dev recommends no packages.

libopencv-core-dev suggests no packages.

-- no debconf information





More information about the debian-science-maintainers mailing list