Bug#963143: src:opencv: Build-depends on libgphoto2, but does not use it

Ferenc Wágner wferi at debian.org
Fri Jun 19 17:17:32 BST 2020


Package: src:opencv
Severity: minor

Dear Maintainer,

The opencv package Build-Depends on libgphoto2-dev, but does not
actually use it during the build.  Please either drop the dependency,
or consider making use of it via a patch like

diff -Nru opencv-4.2.0+dfsg/debian/rules opencv-4.2.0+dfsg/debian/rules
--- opencv-4.2.0+dfsg/debian/rules	2020-04-02 05:02:10.000000000 +0200
+++ opencv-4.2.0+dfsg/debian/rules	2020-06-19 17:32:29.000000000 +0200
@@ -90,6 +90,7 @@
 	-DWITH_GDAL=ON \
 	-DWITH_GDCM=ON \
 	-DWITH_GSTREAMER=ON \
+	-DWITH_GPHOTO2=ON \
 	-DWITH_GTK=ON \
 	-DWITH_IPP=OFF \
 	-DWITH_ITT=OFF \

(I'm not asking for this feature, just noticed this inconsistency while
doing a test rebuild of the reverse dependencies of libgphoto2 before
upload.)
-- 
Thanks,
Feri.



More information about the debian-science-maintainers mailing list