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

Dominik Stadler preismonitor at gmail.com
Thu May 23 18:33:17 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.


-- 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 --------------
>From 716a5bc890389c3ca9877a01738bcb280ac3b465 Mon Sep 17 00:00:00 2001
From: Dominik Stadler <dominik.stadler at gmx.at>
Date: Thu, 23 May 2019 19:27:19 +0200
Subject: [PATCH] Replace dependency on libopencv-dev with opencv-data

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index fd73cbb..c31695c 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Package: facedetect
 Architecture: any
 Depends: ${misc:Depends},
          ${python3:Depends},
-         libopencv-dev,
+         opencv-data,
          python3,
          python3-opencv
 Recommends: imagemagick
-- 
2.17.1



More information about the Pkg-phototools-devel mailing list