Looking at the changelogs, the problem started with 2.4.5+dfsg-0ubuntu3 when libopencv-ocl was added to the dependencies of libopencv. This is quite a reasonable change I think, but libopencv-ocl has the virtual package libopencl1 as a dependency.
According to the Debian Policy Manual (http://www.debian.org/doc/debian- policy/ch-relationships.html) a real package (ocl-icd-libopencl1) can be declared as the preferred alternative for a virtual package by using a vertical bar in the Depends filed. I.e. change: Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libopencl1, libopencv-core2.4 (= 2.4.5+dfsg-0ubuntu4), libopencv-imgproc2.4 (= 2.4.5+dfsg-0ubuntu4), libopencv-objdetect2.4 (= 2.4.5+dfsg-0ubuntu4), libstdc++6 (>= 4.4.0), libtbb2, libopencv-highgui2.4 (= 2.4.5+dfsg-0ubuntu4) F to Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), ocl-icd-libopencl1 | libopencl1, libopencv-core2.4 (= 2.4.5+dfsg-0ubuntu4), libopencv-imgproc2.4 (= 2.4.5+dfsg-0ubuntu4), libopencv-objdetect2.4 (= 2.4.5+dfsg-0ubuntu4), libstdc++6 (>= 4.4.0), libtbb2, libopencv-highgui2.4 (= 2.4.5+dfsg-0ubuntu4) F Seems to me like this would be a good solution, if one of the package maintainers can implement it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1245260 Title: Installing libopencv-dev breaks OpenGl for Intel based gpu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/opencv/+bug/1245260/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
