Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package facedetect for openSUSE:Factory 
checked in at 2023-06-14 16:30:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/facedetect (Old)
 and      /work/SRC/openSUSE:Factory/.facedetect.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "facedetect"

Wed Jun 14 16:30:36 2023 rev:3 rq:1093024 version:0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/facedetect/facedetect.changes    2021-02-15 
23:21:32.327865252 +0100
+++ /work/SRC/openSUSE:Factory/.facedetect.new.15902/facedetect.changes 
2023-06-14 16:32:06.087486880 +0200
@@ -1,0 +2,5 @@
+Sun Jun 11 16:14:02 UTC 2023 - Ilgaz Öcal <[email protected]>
+
+- added set_opensuse_opencv_datadir.patch to update the data path for OpenCV4
+
+-------------------------------------------------------------------

New:
----
  set_opensuse_opencv_datadir.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ facedetect.spec ++++++
--- /var/tmp/diff_new_pack.vYraQZ/_old  2023-06-14 16:32:06.707490691 +0200
+++ /var/tmp/diff_new_pack.vYraQZ/_new  2023-06-14 16:32:06.711490715 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package facedetect
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,10 @@
 Group:          Productivity/Graphics/Other
 URL:            https://www.thregr.org/~wavexx/software/facedetect/
 Source:         
https://gitlab.com/wavexx/facedetect/-/archive/v%{version}/facedetect-v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM python3.patch -- support for python 3
 Patch1:         
https://gitlab.com/wavexx/facedetect/-/commit/8037d4406eb76dd5c106819f72c3562f8b255b5b.patch#/python3.patch
+# PATCH-FEATURE-OPENSUSE set_opensuse_opencv_datadir.patch -- opencv4 data path
+Patch2:         set_opensuse_opencv_datadir.patch
 BuildRequires:  python3-numpy
 BuildRequires:  python3-opencv
 Requires:       python3-numpy

++++++ set_opensuse_opencv_datadir.patch ++++++
Index: facedetect-v0.1/facedetect
===================================================================
--- facedetect-v0.1.orig/facedetect
+++ facedetect-v0.1/facedetect
@@ -34,12 +34,12 @@ if 'cv' in dir(cv2):
 
 
 # Profiles
-DATA_DIR = '/usr/share/opencv/'
+DATA_DIR = '/usr/share/opencv4/' #openSUSE Tumbleweed opencv4 data dir
 CASCADES = {}
 
 PROFILES = {
     'HAAR_FRONTALFACE_ALT2': 'haarcascades/haarcascade_frontalface_alt2.xml',
-}
+    } #path to file under openSUSE Tumbleweed opencv4
 
 
 # Face normalization

Reply via email to