[Pkg-phototools-devel] Bug#929472: facedetect: Facedetect can depend only on opencv-data instead of libopencv-dev

Dominik Stadler dominik.stadler at gmx.at
Fri May 24 09:45:21 BST 2019


Package: facedetect
Version: 0.1-2
Severity: normal
Tags: patch

This package currently has libopencv-dev as a runtime-dependency.

However the README states that either opencv-data or libopencv-dev need to
be installed.

In fact, when scanning the sources of the package, it seems only stuff from
/usr/share/opencv
is required, which is provided by opencv-data.

So the dependencies of facedetect can be reduced a lot by only depending on
opencv-data.

Otherwise many development packages are dragged in as part of
libopencv-data.

This also resolves #856593 as it would make the actually required
dependency on opencv-data explicit

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/1 CPU core)
Kernel taint flags: TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages facedetect depends on:
ii  libopencv-dev   3.2.0+dfsg-6
ii  python3         3.7.2-1
ii  python3-opencv  3.2.0+dfsg-6

Versions of packages facedetect recommends:
ii  imagemagick                      8:6.9.10.23+dfsg-2.1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.10.23+dfsg-2.1

facedetect suggests no packages.

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20190524/57dd1b6b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Replace-dependency-on-libopencv-dev-with-opencv-data.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20190524/57dd1b6b/attachment.bin>


More information about the Pkg-phototools-devel mailing list