commit opencv3 for openSUSE:Factory
Hello community, here is the log from the commit of package opencv3 for openSUSE:Factory checked in at 2020-06-23 21:03:16 Comparing /work/SRC/openSUSE:Factory/opencv3 (Old) and /work/SRC/openSUSE:Factory/.opencv3.new.2956 (New) Package is "opencv3" Tue Jun 23 21:03:16 2020 rev:8 rq:815966 version:3.4.10 Changes: --- /work/SRC/openSUSE:Factory/opencv3/opencv3.changes 2020-02-29 21:18:42.162041935 +0100 +++ /work/SRC/openSUSE:Factory/.opencv3.new.2956/opencv3.changes 2020-06-23 21:03:41.377667265 +0200 @@ -1,0 +2,17 @@ +Fri Jun 19 12:27:16 UTC 2020 - Stefan Brüns + +- Update to 3.4.10 + For details, see https://github.com/opencv/opencv/wiki/ChangeLog#version3410 +- Remove obsolete patches: + * opencv-gles.patch + * 0001-Do-not-include-glx.h-when-using-GLES.patch + * opencv-gcc10.patch +- Disable Python 2 bindings for Tumbleweed + +--- +Wed Jun 3 07:17:20 UTC 2020 - Guillaume GARDET + +- Fix build with GCC10: + * opencv-gcc10.patch + +--- Old: 0001-Do-not-include-glx.h-when-using-GLES.patch opencv-3.4.9.tar.gz opencv-gles.patch opencv_contrib-3.4.9.tar.gz New: opencv-3.4.10.tar.gz opencv_contrib-3.4.10.tar.gz Other differences: -- ++ opencv3.spec ++ --- /var/tmp/diff_new_pack.WrBsZ3/_old 2020-06-23 21:03:48.517690238 +0200 +++ /var/tmp/diff_new_pack.WrBsZ3/_new 2020-06-23 21:03:48.517690238 +0200 @@ -1,7 +1,7 @@ # # spec file for package opencv3 # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,24 +16,26 @@ # +%define srcname opencv +%define libname lib%{srcname} +%define soname 3_4 # Build failure with LTO enabled on ppc64le boo#1146096 %ifarch ppc64le %define _lto_cflags %{nil} %endif - -%define srcname opencv -%define libname lib%{srcname} -%define soname 3_4 # disabled by default as many fail %bcond_with tests %bcond_without qt5 %bcond_without ffmpeg +%if 0%{?suse_version} < 1550 %bcond_without python2 +%else +%bcond_withpython2 +%endif %bcond_without python3 %bcond_without openblas - Name: opencv3 -Version:3.4.9 +Version:3.4.10 Release:0 Summary:Collection of algorithms for computer vision # GPL-2.0 AND Apache-2.0 files are in 3rdparty/ittnotify which is not build @@ -43,12 +45,8 @@ Source0: https://github.com/opencv/opencv/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz # This is the FACE module from the opencv_contrib package. Packaged separately to prevent too much unstable modules Source1: https://github.com/opencv/opencv_contrib/archive/%{version}.tar.gz#/opencv_contrib-%{version}.tar.gz -# PATCH-FIX-OPENCSUSE opencv-gles.patch -- Make sure PERSPECTIVE_CORRECTION_HINT is validated first, https://github.com/opencv/opencv/issues/9171 -Patch0: opencv-gles.patch # PATCH-FIX-OPENSUSE opencv-build-compare.patch -- avoid republish if some random external version number changes Patch1: opencv-build-compare.patch -# PATCH-FIX-OPENSUSE 0001-Do-not-include-glx.h-when-using-GLES.patch -- Fix build error on 32bit ARM, due to incompatible pointer types, https://github.com/opencv/opencv/issues/9171 -Patch2: 0001-Do-not-include-glx.h-when-using-GLES.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: libeigen3-devel @@ -67,9 +65,9 @@ BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libv4lconvert) BuildRequires: pkgconfig(zlib) +Conflicts: opencv Provides: opencv-qt5 = %{version} Obsoletes: opencv-qt5 < %{version} -Conflicts: opencv %if %{with openblas} BuildRequires: openblas-devel %endif @@ -122,9 +120,9 @@ Requires: pkgconfig(sm) Requires: pkgconfig(x11) Requires: pkgconfig(xext) +Conflicts: opencv-devel Provides: opencv-qt5-devel = %{version} Obsoletes: opencv-qt5-devel < %{version} -Conflicts: opencv-devel %description devel This package contains the OpenCV C/C++ library and header files, as well as @@ -135,11 +133,11 @@ Summary:Python 2 bindings for apps which use OpenCV License:BSD-3-Clause Group: Development/Libraries/Python +Conflicts: python2-opencv Provides: python-opencv = %{version}-%{release} Obsoletes: python-opencv < %{version}-%{release} Provides: python-opencv-qt5 = %{version} Obsoletes: python-opencv-qt5 < %{version} -Conflicts: python2-opencv %description -n
commit opencv3 for openSUSE:Factory
Hello community, here is the log from the commit of package opencv3 for openSUSE:Factory checked in at 2020-02-29 21:18:37 Comparing /work/SRC/openSUSE:Factory/opencv3 (Old) and /work/SRC/openSUSE:Factory/.opencv3.new.26092 (New) Package is "opencv3" Sat Feb 29 21:18:37 2020 rev:7 rq:779014 version:3.4.9 Changes: --- /work/SRC/openSUSE:Factory/opencv3/opencv3.changes 2020-01-16 18:17:16.680840316 +0100 +++ /work/SRC/openSUSE:Factory/.opencv3.new.26092/opencv3.changes 2020-02-29 21:18:42.162041935 +0100 @@ -1,0 +2,8 @@ +Wed Feb 19 13:48:01 UTC 2020 - Michael Vetter + +- Drop Jasper (i.e jpeg2k) support (boo#1130404, boo#1144260) + JasPer is unmaintained, CVEs are not being addressed (some issues + received patches submitted to the upstream github project, but are + not being merged, other CVEs are considered unfixable). + +--- Other differences: -- ++ opencv3.spec ++ --- /var/tmp/diff_new_pack.nT9wR9/_old 2020-02-29 21:18:44.790040677 +0100 +++ /var/tmp/diff_new_pack.nT9wR9/_new 2020-02-29 21:18:44.798040673 +0100 @@ -1,7 +1,7 @@ # # spec file for package opencv3 # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -52,7 +52,6 @@ BuildRequires: cmake BuildRequires: fdupes BuildRequires: libeigen3-devel -BuildRequires: libjasper-devel BuildRequires: libjpeg-devel BuildRequires: pkgconfig BuildRequires: tbb-devel @@ -224,6 +223,7 @@ -DOPENCV_SKIP_PYTHON_LOADER=ON \ -DOPENCV_PYTHON2_INSTALL_PATH=%{python2_sitearch} \ -DOPENCV_PYTHON3_INSTALL_PATH=%{python3_sitearch} \ + -DWITH_JASPER=OFF \ make %{?_smp_mflags} VERBOSE=1
commit opencv3 for openSUSE:Factory
Hello community, here is the log from the commit of package opencv3 for openSUSE:Factory checked in at 2020-01-16 18:17:12 Comparing /work/SRC/openSUSE:Factory/opencv3 (Old) and /work/SRC/openSUSE:Factory/.opencv3.new.26092 (New) Package is "opencv3" Thu Jan 16 18:17:12 2020 rev:6 rq:759232 version:3.4.9 Changes: --- /work/SRC/openSUSE:Factory/opencv3/opencv3.changes 2019-12-23 22:36:24.685793438 +0100 +++ /work/SRC/openSUSE:Factory/.opencv3.new.26092/opencv3.changes 2020-01-16 18:17:16.680840316 +0100 @@ -1,0 +2,6 @@ +Wed Dec 25 01:31:10 UTC 2019 - Stefan Brüns + +- Update to 3.4.9 + For details, see https://github.com/opencv/opencv/wiki/ChangeLog#version349 + +--- Old: opencv-3.4.8.tar.gz opencv_contrib-3.4.8.tar.gz New: opencv-3.4.9.tar.gz opencv_contrib-3.4.9.tar.gz Other differences: -- ++ opencv3.spec ++ --- /var/tmp/diff_new_pack.EYoJaB/_old 2020-01-16 18:17:21.392842981 +0100 +++ /var/tmp/diff_new_pack.EYoJaB/_new 2020-01-16 18:17:21.396842984 +0100 @@ -33,7 +33,7 @@ %bcond_without openblas Name: opencv3 -Version:3.4.8 +Version:3.4.9 Release:0 Summary:Collection of algorithms for computer vision # GPL-2.0 AND Apache-2.0 files are in 3rdparty/ittnotify which is not build ++ opencv-3.4.8.tar.gz -> opencv-3.4.9.tar.gz ++ /work/SRC/openSUSE:Factory/opencv3/opencv-3.4.8.tar.gz /work/SRC/openSUSE:Factory/.opencv3.new.26092/opencv-3.4.9.tar.gz differ: char 30, line 1 ++ opencv_contrib-3.4.8.tar.gz -> opencv_contrib-3.4.9.tar.gz ++ /work/SRC/openSUSE:Factory/opencv3/opencv_contrib-3.4.8.tar.gz /work/SRC/openSUSE:Factory/.opencv3.new.26092/opencv_contrib-3.4.9.tar.gz differ: char 34, line 1
commit opencv3 for openSUSE:Factory
Hello community, here is the log from the commit of package opencv3 for openSUSE:Factory checked in at 2019-12-23 22:35:03 Comparing /work/SRC/openSUSE:Factory/opencv3 (Old) and /work/SRC/openSUSE:Factory/.opencv3.new.6675 (New) Package is "opencv3" Mon Dec 23 22:35:03 2019 rev:5 rq:755495 version:3.4.8 Changes: --- /work/SRC/openSUSE:Factory/opencv3/opencv3.changes 2019-11-06 13:48:21.415652400 +0100 +++ /work/SRC/openSUSE:Factory/.opencv3.new.6675/opencv3.changes 2019-12-23 22:36:24.685793438 +0100 @@ -1,0 +2,8 @@ +Sun Dec 8 23:33:56 UTC 2019 - Stefan Brüns + +- Update to 3.4.8 + For details, see https://github.com/opencv/opencv/wiki/ChangeLog#version348 + Drop upstream CVE-2019-15939.patch +- Adjust _constraints, fix out-of-disk-space failures + +--- Old: CVE-2019-15939.patch opencv-3.4.7.tar.gz opencv_contrib-3.4.7.tar.gz New: opencv-3.4.8.tar.gz opencv_contrib-3.4.8.tar.gz Other differences: -- ++ opencv3.spec ++ --- /var/tmp/diff_new_pack.zwUHrN/_old 2019-12-23 22:36:30.757796072 +0100 +++ /var/tmp/diff_new_pack.zwUHrN/_new 2019-12-23 22:36:30.761796074 +0100 @@ -1,7 +1,7 @@ # # spec file for package opencv3 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,13 +33,13 @@ %bcond_without openblas Name: opencv3 -Version:3.4.7 +Version:3.4.8 Release:0 Summary:Collection of algorithms for computer vision # GPL-2.0 AND Apache-2.0 files are in 3rdparty/ittnotify which is not build License:BSD-3-Clause AND GPL-2.0-only AND Apache-2.0 Group: Development/Libraries/C and C++ -Url:http://opencv.org/ +URL:https://opencv.org/ Source0: https://github.com/opencv/opencv/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz # This is the FACE module from the opencv_contrib package. Packaged separately to prevent too much unstable modules Source1: https://github.com/opencv/opencv_contrib/archive/%{version}.tar.gz#/opencv_contrib-%{version}.tar.gz @@ -49,8 +49,6 @@ Patch1: opencv-build-compare.patch # PATCH-FIX-OPENSUSE 0001-Do-not-include-glx.h-when-using-GLES.patch -- Fix build error on 32bit ARM, due to incompatible pointer types, https://github.com/opencv/opencv/issues/9171 Patch2: 0001-Do-not-include-glx.h-when-using-GLES.patch -# PATCH-FIX-UPSTREAM CVE-2019-15939.patch boo#1149742 mgo...@suse.com -- add input check in HOG detector. -Patch3: CVE-2019-15939.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: libeigen3-devel @@ -77,12 +75,8 @@ BuildRequires: openblas-devel %endif %if %{with python2} -BuildRequires: pkgconfig(python) -%if 0%{?suse_version} > 1325 BuildRequires: python2-numpy-devel -%else -BuildRequires: python-numpy-devel -%endif +BuildRequires: pkgconfig(python) %endif %if %{with python3} BuildRequires: python3-numpy-devel @@ -94,11 +88,6 @@ BuildRequires: pkgconfig(Qt5OpenGL) >= 5.2.0 BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 -%else -BuildRequires: pkgconfig(QtCore) -BuildRequires: pkgconfig(QtGui) -BuildRequires: pkgconfig(QtOpenGL) -BuildRequires: pkgconfig(QtTest) %endif %if %{with ffmpeg} BuildRequires: pkgconfig(libavcodec) @@ -230,9 +219,11 @@ -DCPU_DISPATCH=FP16 \ %endif %if 0%{?suse_version} >= 1500 - -DPYTHON_DEFAULT_EXECUTABLE=/usr/bin/python3 \ + -DPYTHON_DEFAULT_EXECUTABLE=%{_bindir}/python3 \ %endif -DOPENCV_SKIP_PYTHON_LOADER=ON \ + -DOPENCV_PYTHON2_INSTALL_PATH=%{python2_sitearch} \ + -DOPENCV_PYTHON3_INSTALL_PATH=%{python3_sitearch} \ make %{?_smp_mflags} VERBOSE=1 ++ _constraints ++ --- /var/tmp/diff_new_pack.zwUHrN/_old 2019-12-23 22:36:30.781796082 +0100 +++ /var/tmp/diff_new_pack.zwUHrN/_new 2019-12-23 22:36:30.781796082 +0100 @@ -2,8 +2,7 @@ - - 8 + 10 ++ opencv-3.4.7.tar.gz -> opencv-3.4.8.tar.gz ++ /work/SRC/openSUSE:Factory/opencv3/opencv-3.4.7.tar.gz /work/SRC/openSUSE:Factory/.opencv3.new.6675/opencv-3.4.8.tar.gz differ: char 14, line 1 ++ opencv_contrib-3.4.7.tar.gz -> opencv_contrib-3.4.8.tar.gz ++ /work/SRC/openSUSE:Factory/opencv3/opencv_contrib-3.4.7.tar.gz /work/SRC/openSUSE:Factory/.opencv3.new.6675/opencv_contrib-3.4.8.tar.gz differ: char 26, line 1
commit opencv3 for openSUSE:Factory
Hello community, here is the log from the commit of package opencv3 for openSUSE:Factory checked in at 2019-11-06 13:48:16 Comparing /work/SRC/openSUSE:Factory/opencv3 (Old) and /work/SRC/openSUSE:Factory/.opencv3.new.2990 (New) Package is "opencv3" Wed Nov 6 13:48:16 2019 rev:4 rq:744503 version:3.4.7 Changes: --- /work/SRC/openSUSE:Factory/opencv3/opencv3.changes 2019-09-25 00:48:15.445898355 +0200 +++ /work/SRC/openSUSE:Factory/.opencv3.new.2990/opencv3.changes 2019-11-06 13:48:21.415652400 +0100 @@ -1,0 +2,12 @@ +Thu Oct 17 16:34:57 UTC 2019 - Michael Gorse + +- Update to 3.4.7 + Maintenance release, no changelog provided + * Security fixes: CVE-2019-14491 (boo#1144352), CVE-2019-14492 +(boo#1144348). +- Drop fix_processor_detection_for_32bit_on_64bit.patch: fixed + upstream. +- Add CVE-2019-15939.patch: add input check in HOG detector + (boo#1149742 CVE-2019-15939). + +--- Old: fix_processor_detection_for_32bit_on_64bit.patch opencv-3.4.6.tar.gz opencv_contrib-3.4.6.tar.gz New: CVE-2019-15939.patch opencv-3.4.7.tar.gz opencv_contrib-3.4.7.tar.gz Other differences: -- ++ opencv3.spec ++ --- /var/tmp/diff_new_pack.XplmVD/_old 2019-11-06 13:48:26.139657520 +0100 +++ /var/tmp/diff_new_pack.XplmVD/_new 2019-11-06 13:48:26.187657573 +0100 @@ -33,7 +33,7 @@ %bcond_without openblas Name: opencv3 -Version:3.4.6 +Version:3.4.7 Release:0 Summary:Collection of algorithms for computer vision # GPL-2.0 AND Apache-2.0 files are in 3rdparty/ittnotify which is not build @@ -49,8 +49,8 @@ Patch1: opencv-build-compare.patch # PATCH-FIX-OPENSUSE 0001-Do-not-include-glx.h-when-using-GLES.patch -- Fix build error on 32bit ARM, due to incompatible pointer types, https://github.com/opencv/opencv/issues/9171 Patch2: 0001-Do-not-include-glx.h-when-using-GLES.patch -# PATCH-FIX-UPSTREAM fix_processor_detection_for_32bit_on_64bit.patch -- Fix CPU detection for 32bit build on qemu-system-aarch64 -Patch3: fix_processor_detection_for_32bit_on_64bit.patch +# PATCH-FIX-UPSTREAM CVE-2019-15939.patch boo#1149742 mgo...@suse.com -- add input check in HOG detector. +Patch3: CVE-2019-15939.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: libeigen3-devel ++ CVE-2019-15939.patch ++ >From 5a497077f109d543ab86dfdf8add1c76c0e47d29 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 23 Aug 2019 16:14:53 +0300 Subject: [PATCH] objdetect: add input check in HOG detector --- modules/objdetect/src/hog.cpp | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/modules/objdetect/src/hog.cpp b/modules/objdetect/src/hog.cpp index 9524851ee..378bab308 100644 --- a/modules/objdetect/src/hog.cpp +++ b/modules/objdetect/src/hog.cpp @@ -68,6 +68,7 @@ enum {DESCR_FORMAT_COL_BY_COL, DESCR_FORMAT_ROW_BY_ROW}; static int numPartsWithin(int size, int part_size, int stride) { +CV_Assert(stride != 0); return (size - part_size + stride) / stride; } @@ -80,13 +81,17 @@ static Size numPartsWithin(cv::Size size, cv::Size part_size, static size_t getBlockHistogramSize(Size block_size, Size cell_size, int nbins) { +CV_Assert(!cell_size.empty()); Size cells_per_block = Size(block_size.width / cell_size.width, -block_size.height / cell_size.height); +block_size.height / cell_size.height); return (size_t)(nbins * cells_per_block.area()); } size_t HOGDescriptor::getDescriptorSize() const { +CV_Assert(!cellSize.empty()); +CV_Assert(!blockStride.empty()); + CV_Assert(blockSize.width % cellSize.width == 0 && blockSize.height % cellSize.height == 0); CV_Assert((winSize.width - blockSize.width) % blockStride.width == 0 && @@ -144,20 +149,20 @@ bool HOGDescriptor::read(FileNode& obj) if( !obj.isMap() ) return false; FileNodeIterator it = obj["winSize"].begin(); -it >> winSize.width >> winSize.height; +it >> winSize.width >> winSize.height; CV_Assert(!winSize.empty()); it = obj["blockSize"].begin(); -it >> blockSize.width >> blockSize.height; +it >> blockSize.width >> blockSize.height; CV_Assert(!blockSize.empty()); it = obj["blockStride"].begin(); -it >> blockStride.width >> blockStride.height; +it >> blockStride.width >> blockStride.height; CV_Assert(!blockStride.empty()); it = obj["cellSize"].begin(); -it >> cellSize.width >> cellSize.height; -obj["nbins"] >> nbins; +it >> cellSize.width >> cellSize.height; CV_Assert(!cellSize.empty()); +obj["nbins"] >> nbins;
commit opencv3 for openSUSE:Factory
Hello community, here is the log from the commit of package opencv3 for openSUSE:Factory checked in at 2019-09-25 00:48:14 Comparing /work/SRC/openSUSE:Factory/opencv3 (Old) and /work/SRC/openSUSE:Factory/.opencv3.new.7948 (New) Package is "opencv3" Wed Sep 25 00:48:14 2019 rev:3 rq:731318 version:3.4.6 Changes: --- /work/SRC/openSUSE:Factory/opencv3/opencv3.changes 2019-09-11 10:16:51.663537061 +0200 +++ /work/SRC/openSUSE:Factory/.opencv3.new.7948/opencv3.changes 2019-09-25 00:48:15.445898355 +0200 @@ -1,0 +2,6 @@ +Fri Sep 13 10:11:25 UTC 2019 - Michel Normand + +- Disable LTO on ppc64le for now, as it fails to build when enabled + (boo#1146096). + +--- Other differences: -- ++ opencv3.spec ++ --- /var/tmp/diff_new_pack.NrZeCK/_old 2019-09-25 00:48:19.933897645 +0200 +++ /var/tmp/diff_new_pack.NrZeCK/_new 2019-09-25 00:48:19.973897639 +0200 @@ -16,6 +16,11 @@ # +# Build failure with LTO enabled on ppc64le boo#1146096 +%ifarch ppc64le +%define _lto_cflags %{nil} +%endif + %define srcname opencv %define libname lib%{srcname} %define soname 3_4
commit opencv3 for openSUSE:Factory
Hello community, here is the log from the commit of package opencv3 for openSUSE:Factory checked in at 2019-09-11 10:16:49 Comparing /work/SRC/openSUSE:Factory/opencv3 (Old) and /work/SRC/openSUSE:Factory/.opencv3.new.7948 (New) Package is "opencv3" Wed Sep 11 10:16:49 2019 rev:2 rq:726798 version:3.4.6 Changes: --- /work/SRC/openSUSE:Factory/opencv3/opencv3.changes 2019-07-17 13:14:16.491847808 +0200 +++ /work/SRC/openSUSE:Factory/.opencv3.new.7948/opencv3.changes 2019-09-11 10:16:51.663537061 +0200 @@ -1,0 +2,15 @@ +Tue Aug 27 10:24:15 UTC 2019 - Jan Engelhardt + +- Avoid use of ®/™ signs in specfiles as per guidelines. + +--- +Tue Jul 30 13:39:10 UTC 2019 - Stefan Brüns + +- Reenable LTO again, fixed in GCC upstream: https://gcc.gnu.org/PR91231 + +--- +Wed Jul 24 13:56:22 UTC 2019 - Antonio Larrosa + +- Disable lto to work around an internal compiler error (boo#1142656) + +--- @@ -863 +877,0 @@ - Other differences: -- ++ opencv3.spec ++ --- /var/tmp/diff_new_pack.2bK6Ow/_old 2019-09-11 10:16:55.039536642 +0200 +++ /var/tmp/diff_new_pack.2bK6Ow/_new 2019-09-11 10:16:55.039536642 +0200 @@ -26,6 +26,7 @@ %bcond_without python2 %bcond_without python3 %bcond_without openblas + Name: opencv3 Version:3.4.6 Release:0 @@ -102,7 +103,7 @@ %endif %description -OpenCV means Intel® Open Source Computer Vision Library. It is a collection of C +OpenCV means Intel Open Source Computer Vision Library. It is a collection of C functions and a few C++ classes that implement some popular Image Processing and Computer Vision algorithms.