commit 28acd2979ca6edb74ece1acec302158cb9d3a3c8 Author: CentOS Sources Date: Tue Nov 8 01:51:25 2022 -0500 import opencv-3.4.6-8.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b46bd8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/opencv-clean-3.4.6.tar.gz +SOURCES/opencv_contrib-clean-3.4.6.tar.gz diff --git a/.opencv.metadata b/.opencv.metadata new file mode 100644 index 0000000..becc9d3 --- /dev/null +++ b/.opencv.metadata @@ -0,0 +1,2 @@ +76924263971d8314a4fb8a152cd0c3b3c337ff8f SOURCES/opencv-clean-3.4.6.tar.gz +22c33b7cc5f1c17ccefd9f9a2618afc17289c180 SOURCES/opencv_contrib-clean-3.4.6.tar.gz diff --git a/SOURCES/opencv-3.4.6-cvSaveImage.patch b/SOURCES/opencv-3.4.6-cvSaveImage.patch new file mode 100644 index 0000000..826d4b0 --- /dev/null +++ b/SOURCES/opencv-3.4.6-cvSaveImage.patch @@ -0,0 +1,31 @@ +From 6e1da2ef91907678159d40f600a56094c4d196b9 Mon Sep 17 00:00:00 2001 +From: Zhuo Zhang +Date: Fri, 25 Dec 2020 00:58:16 +0800 +Subject: [PATCH] Merge pull request #19203 from zchrissirhcz:fix-cvSaveImage + +Fix cvSaveImage( ) function bug + +* fix cvSaveImage crash + +* replace emplace_back with {}, no C++11 required + +* fix MacOSX build with vector's push_back +--- + modules/imgcodecs/src/loadsave.cpp | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/modules/imgcodecs/src/loadsave.cpp b/modules/imgcodecs/src/loadsave.cpp +index 4e626cd2165b..44c458c7273c 100644 +--- a/modules/imgcodecs/src/loadsave.cpp ++++ b/modules/imgcodecs/src/loadsave.cpp +@@ -1001,7 +1001,9 @@ cvSaveImage( const char* filename, const CvArr* arr, const int* _params ) + for( ; _params[i] > 0; i += 2 ) + CV_Assert(static_cast(i) < cv::CV_IO_MAX_IMAGE_PARAMS*2); // Limit number of params for security reasons + } +- return cv::imwrite_(filename, cv::cvarrToMat(arr), ++ std::vector img_vec; ++ img_vec.push_back(cv::cvarrToMat(arr)); ++ return cv::imwrite_(filename, img_vec, + i > 0 ? std::vector(_params, _params+i) : std::vector(), + CV_IS_IMAGE(arr) && ((const IplImage*)arr)->origin == IPL_ORIGIN_BL ); + } diff --git a/SOURCES/opencv-3.4.6-install_3rdparty_licenses.patch b/SOURCES/opencv-3.4.6-install_3rdparty_licenses.patch new file mode 100644 index 0000000..7bbc85f --- /dev/null +++ b/SOURCES/opencv-3.4.6-install_3rdparty_licenses.patch @@ -0,0 +1,11 @@ +--- ./cmake/OpenCVDetectOpenCL.cmake.orig 2019-05-14 00:35:41.373094435 +0100 ++++ ./cmake/OpenCVDetectOpenCL.cmake 2019-05-14 00:35:50.833189862 +0100 +@@ -5,7 +5,7 @@ if(APPLE) + else() + set(OPENCL_LIBRARY "" CACHE STRING "OpenCL library") + set(OPENCL_INCLUDE_DIR "${OpenCV_SOURCE_DIR}/3rdparty/include/opencl/1.2" CACHE PATH "OpenCL include directory") +- ocv_install_3rdparty_licenses(opencl-headers "${OpenCV_SOURCE_DIR}/3rdparty/include/opencl/LICENSE.txt") ++ #ocv_install_3rdparty_licenses(opencl-headers "${OpenCV_SOURCE_DIR}/3rdparty/include/opencl/LICENSE.txt") + endif() + mark_as_advanced(OPENCL_INCLUDE_DIR OPENCL_LIBRARY) + diff --git a/SPECS/opencv.spec b/SPECS/opencv.spec new file mode 100644 index 0000000..38d7bc3 --- /dev/null +++ b/SPECS/opencv.spec @@ -0,0 +1,993 @@ +#global indice a +%undefine _strict_symbol_defs_build +%bcond_with tests +%bcond_with ffmpeg +%bcond_without gstreamer +%bcond_with eigen2 +%bcond_without eigen3 +%ifnarch ppc64le +%bcond_without opencl +%else +# https://bugzilla.redhat.com/show_bug.cgi?id=1487174 +%bcond_with opencl +%endif +%ifarch %{ix86} x86_64 %{arm} +%bcond_with openni +%else +# we dont have openni in other archs +%bcond_with openni +%endif +%bcond_without tbb +%bcond_with cuda +%bcond_with xine +# Atlas need (missing: Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) +# LAPACK may use atlas or openblas since now it detect openblas, atlas is not used anyway, more info please +# check OpenCVFindLAPACK.cmake +%bcond_with atlas +%bcond_without openblas +#VTK support disabled. Incompatible combination: OpenCV + Qt5 and VTK ver.7.1.1 + Qt4 +%bcond_with vtk +# gdcm, coin-or-Clp and libmfx packages aren't available on RHEL +%if 0%{?rhel} +%bcond_with gdcm +%bcond_with clp +%bcond_with libmfx +%else +%ifarch %{ix86} x86_64 +%bcond_without libmfx +%else +%bcond_with libmfx +%endif +%bcond_without gdcm +%bcond_without clp +%endif +%bcond_without va +%undefine _annotated_build +%global srcname opencv +%global abiver 3.4 + +# Required because opencv-core has lot of spurious dependencies +# (despite supposed to be "-core") +# TODO: to be fixed properly upstream +# https://github.com/opencv/opencv/issues/7001 +%global optflags %(echo %{optflags} -Wl,--as-needed ) + +Name: opencv +Version: 3.4.6 +Release: 8%{?dist} +Summary: Collection of algorithms for computer vision +# This is normal three clause BSD. +License: BSD +URL: http://opencv.org +# RUN opencv-clean.sh TO PREPARE TARBALLS FOR FEDORA +# +# Need to remove copyrighted lena.jpg images from tarball (rhbz#1295173) +# and SIFT/SURF from tarball, due to legal concerns. +# +Source0: %{name}-clean-%{version}.tar.gz +Source1: %{name}_contrib-clean-%{version}.tar.gz +# fix/simplify cmake config install location (upstreamable) +# https://bugzilla.redhat.com/1031312 +Patch1: opencv-3.4.6-install_3rdparty_licenses.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=2104776 +Patch2: opencv-3.4.6-cvSaveImage.patch +BuildRequires: libtool +BuildRequires: cmake >= 2.6.3 +BuildRequires: chrpath + +%{?with_eigen2:BuildRequires: eigen2-devel} +%{?with_eigen3:BuildRequires: eigen3-devel} +BuildRequires: gtk3-devel +BuildRequires: libtheora-devel +BuildRequires: libvorbis-devel +%if 0%{?fedora} || 0%{?rhel} > 7 +%ifnarch s390 s390x +BuildRequires: libraw1394-devel +BuildRequires: libdc1394-devel +%endif +%endif +BuildRequires: jasper-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: libGL-devel +BuildRequires: libv4l-devel +%{?with_openni: +BuildRequires: openni-devel +BuildRequires: openni-primesense +} +%{?with_tbb: +BuildRequires: tbb-devel +} +BuildRequires: zlib-devel pkgconfig +BuildRequires: python3-devel +BuildRequires: python3-numpy +BuildRequires: swig >= 1.3.24 +%{?with_ffmpeg:BuildRequires: ffmpeg-devel >= 0.4.9} +%if 0%{?fedora} || 0%{?rhel} > 7 +%{?with_gstreamer:BuildRequires: gstreamer1-devel gstreamer1-plugins-base-devel} +%else +%{?with_gstreamer:BuildRequires: gstreamer-devel gstreamer-plugins-base-devel} +%endif +%{?with_xine:BuildRequires: xine-lib-devel} +%{?with_opencl:BuildRequires: opencl-headers} +BuildRequires: libgphoto2-devel +BuildRequires: libwebp-devel +BuildRequires: tesseract-devel +BuildRequires: protobuf-devel +BuildRequires: glog-devel +BuildRequires: doxygen +#for doc/doxygen/bib2xhtml.pl +BuildRequires: perl-open +BuildRequires: gflags-devel +BuildRequires: SFML-devel +BuildRequires: libucil-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%{?with_vtk:BuildRequires: vtk-devel} +%{?with_atlas:BuildRequires: atlas-devel} +#ceres-solver-devel push eigen3-devel and tbb-devel +%{?with_tbb: + %{?with_eigen3: +BuildRequires: ceres-solver-devel + } +} +%{?with_openblas: +BuildRequires: openblas-devel +BuildRequires: blas-devel +BuildRequires: lapack-devel +} +%{?with_gdcm:BuildRequires: gdcm-devel} +%{?with_libmfx:BuildRequires: libmfx-devel} +%{?with_clp:BuildRequires: coin-or-Clp-devel} +%{?with_va:BuildRequires: libva-devel} + +Requires: %{name}-core%{?_isa} = %{version}-%{release} +Requires: %{name}-contrib%{?_isa} = %{version}-%{release} +BuildRequires: gcc, gcc-c++ + +%description +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. + + +%package core +Summary: OpenCV core libraries + +%description core +This package contains the OpenCV C/C++ core libraries. + + +%package devel +Summary: Development files for using the OpenCV library +Requires: cmake-filesystem +Requires: %{name}-core%{?_isa} = %{version}-%{release} +Requires: %{name}-contrib%{?_isa} = %{version}-%{release} + +%description devel +This package contains the OpenCV C/C++ library and header files, as well as +documentation. It should be installed if you want to develop programs that +will use the OpenCV library. You should consider installing opencv-doc +package. + + +%package doc +Summary: docs files +Requires: %{name}-devel = %{version}-%{release} +BuildArch: noarch +Provides: %{name}-devel-docs = %{version}-%{release} +Obsoletes: %{name}-devel-docs < %{version}-%{release} + +%description doc +This package contains the OpenCV documentation, samples and examples programs. + + +%package -n python3-%{name} +Summary: Python3 bindings for apps which use OpenCV +Requires: %{name}-core%{?_isa} = %{version}-%{release} +Requires: %{name}-contrib%{?_isa} = %{version}-%{release} +Requires: python3-numpy +%{?python_provide:%python_provide python3-%{srcname}} +# Remove before F30 +Provides: %{name}-python3 = %{version}-%{release} +Provides: %{name}-python3%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python3 < %{version}-%{release} + +%description -n python3-%{name} +This package contains Python3 bindings for the OpenCV library. + + +%package contrib +Summary: OpenCV contributed functionality +Requires: %{name}-core%{?_isa} = %{version}-%{release} + +%description contrib +This package is intended for development of so-called "extra" modules, contributed +functionality. New modules quite often do not have stable API, and they are not +well-tested. Thus, they shouldn't be released as a part of official OpenCV +distribution, since the library maintains binary compatibility, and tries +to provide decent performance and stability. + +%prep +%setup -q -a1 +# we don't use pre-built contribs +rm -r 3rdparty/ + +%patch1 -p1 -b .install_3rdparty_licenses +%patch2 -p1 -b .cvSaveImage + +%build +export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 +# enabled by default if libraries are presents at build time: +# GTK, GSTREAMER, 1394, V4L, eigen3 +# non available on Fedora: FFMPEG, XINE +mkdir -p build +pushd build + +# disabling IPP because it is closed source library from intel + +%cmake CMAKE_VERBOSE=1 \ + -DWITH_IPP=OFF \ + -DWITH_ITT=OFF \ + -DWITH_QT=ON \ + -DWITH_OPENGL=ON \ + -DWITH_GDAL=OFF \ + -DWITH_UNICAP=ON \ + -DCMAKE_SKIP_RPATH=ON \ + -DWITH_CAROTENE=OFF \ + -DENABLE_PRECOMPILED_HEADERS=OFF \ + -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \ + -DBUILD_opencv_java=OFF \ + %{?with_tbb: -DWITH_TBB=ON } \ + %{!?with_gstreamer: -DWITH_GSTREAMER=OFF } \ + %{!?with_ffmpeg: -DWITH_FFMPEG=OFF } \ + %{?with_cuda: \ + -DWITH_CUDA=ON \ + -DCUDA_TOOLKIT_ROOT_DIR=%{?_cuda_topdir} \ + -DCUDA_VERBOSE_BUILD=ON \ + -DCUDA_PROPAGATE_HOST_FLAGS=OFF \ + } \ + %{?with_openni: -DWITH_OPENNI=ON } \ + %{!?with_xine: -DWITH_XINE=OFF } \ + -DBUILD_DOCS=ON \ + -DBUILD_EXAMPLES=ON \ + -DINSTALL_C_EXAMPLES=ON \ + -DINSTALL_PYTHON_EXAMPLES=ON \ + -DBUILD_PROTOBUF=OFF \ + -DBUILD_opencv_python3=ON \ + -DBUILD_opencv_python2=OFF \ + -DOPENCV_SKIP_PYTHON_LOADER=ON \ + -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-%{version}/modules \ + -DWITH_LIBV4L=ON \ + -DWITH_OPENMP=ON \ + -DOPENCV_GENERATE_SETUPVARS=OFF \ + -DOPENCV_CONFIG_INSTALL_PATH=%{_lib}/cmake/OpenCV \ + %{?with_gdcm: -DWITH_GDCM=ON } \ + %{?with_libmfx: -DWITH_MFX=ON } \ + %{?with_clp: -DWITH_CLP=ON } \ + %{?with_va: -DWITH_VA=ON } \ + -DWITH_QUIRC=OFF \ + -DWITH_OPENEXR=OFF \ + .. + +%make_build VERBOSE=1 + +popd + + +%install +export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 +%make_install -C build +find %{buildroot} -name '*.la' -delete +rm -rf %{buildroot}%{_datadir}/OpenCV/licenses/ + +%check +# Check fails since we don't support most video +# read/write capability and we don't provide a display +# ARGS=-V increases output verbosity +# Make test is unavailble as of 2.3.1 +#ifnarch ppc64 +%if %{with tests} +pushd build + LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build/lib:$LD_LIBARY_PATH make test ARGS=-V || : +popd +%endif +#endif + + +%ldconfig_scriptlets core + +%ldconfig_scriptlets contrib + + +%files +%doc README.md +%license LICENSE +%{_bindir}/opencv_* +%dir %{_datadir}/OpenCV +%{_datadir}/OpenCV/haarcascades +%{_datadir}/OpenCV/lbpcascades +%{_datadir}/OpenCV/valgrind* + +%files core +%{_datadir}/licenses/opencv3/ +%{_libdir}/libopencv_calib3d.so.%{abiver}* +%{_libdir}/libopencv_core.so.%{abiver}* +%{_libdir}/libopencv_dnn.so.%{abiver}* +%{_libdir}/libopencv_features2d.so.%{abiver}* +%{_libdir}/libopencv_flann.so.%{abiver}* +%{_libdir}/libopencv_highgui.so.%{abiver}* +%{_libdir}/libopencv_imgcodecs.so.%{abiver}* +%{_libdir}/libopencv_imgproc.so.%{abiver}* +%{_libdir}/libopencv_ml.so.%{abiver}* +%{_libdir}/libopencv_objdetect.so.%{abiver}* +%{_libdir}/libopencv_photo.so.%{abiver}* +%{_libdir}/libopencv_shape.so.%{abiver}* +%{_libdir}/libopencv_stitching.so.%{abiver}* +%{_libdir}/libopencv_superres.so.%{abiver}* +%{_libdir}/libopencv_video.so.%{abiver}* +%{_libdir}/libopencv_videoio.so.%{abiver}* +%{_libdir}/libopencv_videostab.so.%{abiver}* + +%files devel +%{_includedir}/opencv +%{_includedir}/opencv2 +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/opencv.pc +%{_libdir}/cmake/OpenCV/*.cmake + +%files doc +%{_datadir}/OpenCV/samples +%{_datadir}/OpenCV/doc + +%files -n python3-opencv +%{python3_sitearch}/cv2.cpython-3*.so + +%files contrib +%{_libdir}/libopencv_aruco.so.%{abiver}* +%{_libdir}/libopencv_bgsegm.so.%{abiver}* +%{_libdir}/libopencv_bioinspired.so.%{abiver}* +%{_libdir}/libopencv_ccalib.so.%{abiver}* +%{_libdir}/libopencv_cvv.so.%{abiver}* +%{_libdir}/libopencv_datasets.so.%{abiver}* +%{_libdir}/libopencv_dnn_objdetect.so.%{abiver}* +%{_libdir}/libopencv_dpm.so.%{abiver}* +%{_libdir}/libopencv_face.so.%{abiver}* +%{_libdir}/libopencv_freetype.so.%{abiver}* +%{_libdir}/libopencv_fuzzy.so.%{abiver}* +%{_libdir}/libopencv_hfs.so.%{abiver}* +%{_libdir}/libopencv_img_hash.so.%{abiver}* +%{_libdir}/libopencv_line_descriptor.so.%{abiver}* +%{_libdir}/libopencv_optflow.so.%{abiver}* +%{_libdir}/libopencv_phase_unwrapping.so.%{abiver}* +%{_libdir}/libopencv_plot.so.%{abiver}* +%{_libdir}/libopencv_reg.so.%{abiver}* +%{_libdir}/libopencv_rgbd.so.%{abiver}* +%{_libdir}/libopencv_saliency.so.%{abiver}* +%{_libdir}/libopencv_stereo.so.%{abiver}* +%{_libdir}/libopencv_structured_light.so.%{abiver}* +%{_libdir}/libopencv_surface_matching.so.%{abiver}* +%{_libdir}/libopencv_text.so.%{abiver}* +%{_libdir}/libopencv_tracking.so.%{abiver}* +%{_libdir}/libopencv_ximgproc.so.%{abiver}* +%{_libdir}/libopencv_xobjdetect.so.%{abiver}* +%{_libdir}/libopencv_xphoto.so.%{abiver}* + +%changelog +* Wed Aug 03 2022 Jiri Kucera - 3.4.6-8 +- Fix cvSaveImage + Resolves: #2104776 + +* Fri Jan 07 2022 Jiri Kucera - 3.4.6-7 +- Add DNN support + Resolves: #2007780 + +* Mon Jan 11 2021 Jiri Kucera - 3.4.6-6 +- Drop OpenEXR dependency + Resolves: #1886310 + +* Thu Nov 28 2019 Jiri Kucera - 3.4.6-5 +- Move libopencv_{calib3d,cvv,hfs}.so.* to their proper packages +- Fix issues found by rpmdiff + Related: #1694647 + +* Tue Nov 26 2019 Jiri Kucera - 3.4.6-4 +- Do not generate setupvars script (introduces multilib regression) + Related: #1694647 + +* Mon Nov 25 2019 Jiri Kucera - 3.4.6-3 +- Rebuild to kick on gating + Related: #1694647 + +* Sun Nov 24 2019 Jiri Kucera - 3.4.6-2 +- fix cmakes location +- remove -DENABLE_PKG_CONFIG=OFF (it was neither defined nor used) +- remove confusing comment +- WITH_GDAL=OFF (gdal dependency has been already removed) + Related: #1694647 + +* Fri Aug 30 2019 Jiri Kucera - 3.4.6-1 +- rebase to 3.4.6 (#1694647) + +* Tue Jul 24 2018 Josef Ridky - 3.4.1-9 +- remove hdf5 and gtkglext requirements + +* Mon Jul 09 2018 Josef Ridky - 3.4.1-8 +- remove openni requirement (#1599225) +- update Python requirements + +* Fri Jun 15 2018 Josef Ridky - 3.4.1-7 +- remove gdal requirement (#1591419) + +* Tue Jun 12 2018 Charalampos Stratakis - 3.4.1-6 +- Remove pylint dependency + +* Mon May 28 2018 Josef Ridky - 3.4.1-5 +- remove Python2 package (#1567298) + +* Thu May 24 2018 Josef Ridky - 3.4.1-4 +- remove requirements of unavailable packages (#1580833) + +* Mon Mar 26 2018 Iryna Shcherbina - 3.4.1-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Thu Mar 08 2018 Sérgio Basto - 3.4.1-2 +- Enable VA +- Do not use -f on rm because it silences errors +- Opencv sub-package don't need ldconfig because don't have any so + +* Thu Mar 01 2018 Josef Ridky - 3.4.1-1 +- Spec clean up (remove Group tag, add ldconfig scriptlets, escape macros in comments) +- Remove unused patch +- Add gcc and gcc-c++ requirements +- Rebase to version 3.4.1 + +* Sun Feb 18 2018 Sérgio Basto - 3.3.1-7 +- Rebuild for gdcm-2.8 + +* Fri Feb 09 2018 Igor Gnatenko - 3.3.1-6 +- Escape macros in %%changelog + +* Thu Feb 08 2018 Fedora Release Engineering - 3.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Sérgio Basto - 3.3.1-4 +- Enable Pylint +- Enable Clp (COIN-OR Linear Program Solver) +- Enable VA (Video Acceleration API for Linux) +- Enable OpenMP +- Provides and obsoletes for opencv-devel-docs +- BuildRequires perl-local do generate documentation without errors + +* Thu Jan 25 2018 Sérgio Basto - 3.3.1-3 +- Rename sub-package opencv-python3 to python3-opencv and other minor fixes in + python packaging +- Generate documentation +- Rename sub-package devel-docs to doc +- Cleanup some comments from opencv 2.4 packaging + +* Wed Jan 24 2018 Troy Dawson - 3.3.1-2 +- Update conditionals + +* Tue Nov 14 2017 Sérgio Basto - 3.3.1-1 +- Update to 3.3.1 +- Fix WARNING: Option ENABLE_SSE='OFF' is deprecated and should not be used anymore +- Behaviour of this option is not backward compatible +- Refer to 'CPU_BASELINE'/'CPU_DISPATCH' CMake options documentation +- Fix WARNING: Option ENABLE_SSE2='OFF' is deprecated and should not be used anymore +- Behaviour of this option is not backward compatible +- Refer to 'CPU_BASELINE'/'CPU_DISPATCH' CMake options documentation +- Update opencv to 3.3.0 +- Patch3 is already in source code +- Fix WARNING: Option ENABLE_SSE3='OFF' is deprecated and should not be used anymore +- Enable openblas +- Add conditonal to build with_gdcm +- Disable "Intel ITT support" because source is in 3rdparty/ directory + +* Sat Oct 28 2017 Sérgio Basto - 3.2.0-13 +- Require python3-numpy instead numpy for opencv-python3 (#1504555) + +* Sat Sep 02 2017 Sérgio Basto - 3.2.0-12 +- Fix 2 rpmlint errors + +* Sat Sep 02 2017 Sérgio Basto - 3.2.0-11 +- Enable libv4l1 to fix open a video (#1487816) + +* Mon Aug 28 2017 Sérgio Basto - 3.2.0-10 +- Better conditionals to enable openni only available in ix86, x86_64 and arm + +* Sun Aug 20 2017 Sérgio Basto - 3.2.0-9 +- Enable openni. +- Enable eigen3 except in ppc64le because fails to build in OpenCL headers. +- Documented why is not enabled atlas, openblas and vtk. + +* Sun Aug 20 2017 Sérgio Basto - 3.2.0-8 +- Reenable gstreamer +- Remove architecture checks for tbb and enable it, inspired on (#1262788) + +* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 3.2.0-7 +- Add Provides for the old name without %%_isa + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 3.2.0-6 +- Python 2 binary package renamed to python2-opencv + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Aug 03 2017 Fedora Release Engineering - 3.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 13 2017 Orion Poplawski - 3.2.0-3 +- Rebuild for protobuf 3.3.1 + +* Mon May 15 2017 Fedora Release Engineering - 3.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild + +* Mon Feb 27 2017 Josef Ridky - 3.2.0-1 +- Rebase to the latest version (3.2.0) - #1408880 +- Remove unused BuildRequires and patches +- Remove copyrighted lena.jpg images and SIFT/SURF from tarball, due to legal concerns. +- Disable dnn module from opencv_contrib, due missing BuildRequired package in Fedora (protobuf-cpp) +- Disable tracking module from opencv_contrib, due disabling dnn module (is required by this module) +- Disable CAROTENE in compilation (caused error on arm and ppc64le) +- Fix syntax error in opencv_contrib test file (opencv-3.2.0-test-file-fix.patch) + +* Tue Feb 21 2017 Sandro Mani - 3.1.0-15 +- Rebuild (tesseract) + +* Sat Feb 11 2017 Fedora Release Engineering - 3.1.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 01 2017 Sandro Mani - 3.1.0-13 +- Rebuild (libwebp) + +* Thu Jan 26 2017 Orion Poplawski - 3.1.0-12 +- Rebuild for protobuf 3.2.0 + +* Mon Dec 19 2016 Miro Hrončok - 3.1.0-11 +- Rebuild for Python 3.6 + +* Sat Dec 03 2016 Rex Dieter - 3.1.0-10 +- rebuild (jasper) + +* Sat Nov 19 2016 Orion Poplawski - 3.1.0-9 +- Rebuild for protobuf 3.1.0 + +* Tue Jul 26 2016 Nicolas Chauvet - 3.1.0-8 +- Clean uneeded symbols until fixed upstream + +* Tue Jul 19 2016 Fedora Release Engineering - 3.1.0-7 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Fri May 27 2016 Till Maas - 3.1.0-6 +- Define %%srcname for python subpackages +- Fix whitespace + +* Mon May 09 2016 Sérgio Basto - 3.1.0-5 +- Don't clean unneeded symbols (as recommended by fedora-review), fix undefined + symbol: cvLoadImage in Unknown on line 0 on php-facedetect package. + +* Sat May 07 2016 Sérgio Basto - 3.1.0-4 +- Put all idefs and ifarchs outside the scope of rpm conditional builds, rather + than vice versa, as had organized some time ago, it seems to me more correct. +- Remove SIFT/SURF from source tarball in opencv_contrib, due to legal concerns +- Redo and readd OpenCV-2.4.4-pillow.patch . +- Add OpenCV-3.1-pillow.patch to apply only opencv_contrib . +- Add the %%python_provide macro (Packaging:Python guidelines). + +* Fri Apr 22 2016 Sérgio Basto - 3.1.0-3 +- Use always ON and OFF instead 0 and 1 in cmake command. +- Remove BUILD_TEST and TBB_LIB_DIR variables not used by cmake. +- Add BRs: tesseract-devel, protobuf-devel, glog-devel, doxygen, + gflags-devel, SFML-devel, libucil-devel, qt5-qtbase-devel, mesa-libGL-devel, + mesa-libGLU-devel and hdf5-devel. +- Remove BR: vtk-devel because VTK support is disabled. Incompatible + combination: OpenCV + Qt5 and VTK ver.6.2.0 + Qt4 +- Enable build with Qt5. +- Enable build with OpenGL. +- Enable build with UniCap. +- Also requires opencv-contrib when install opencv-devel (#1329790). + +* Wed Apr 20 2016 Sérgio Basto - 3.1.0-2 +- Add BR:libwebp-devel . +- Merge from 2.4.12.3 package: + Add aarch64 and ppc64le to list of architectures where TBB is supported (#1262788). + Use bcond tags to easily enable or disable modules. + Fix unused-direct-shlib-dependency in cmake with global optflags. + Added README.md with references to online documentation. + Investigation on the documentation, added a few notes. +- Update to 3.1.0 (Fri Mar 25 2016 Pavel Kajaba - 3.1.0-1) +- Added opencv_contrib (Thu Jul 09 2015 Sérgio Basto - + 3.0.0-2) +- Update to 3.0.0 (Fri Jun 05 2015 Jozef Mlich - 3.0.0-1) + +* Tue Mar 01 2016 Yaakov Selkowitz - 2.4.12.3-3 +- Fix FTBFS with GCC 6 (#1307821) + +* Thu Feb 04 2016 Fedora Release Engineering - 2.4.12.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Dec 02 2015 Sérgio Basto - 2.4.12.3-1 +- Update opencv to 2.4.12.3 (#1271460). +- Add aarch64 and ppc64le to list of architectures where TBB is supported (#1262788). + +* Tue Jul 14 2015 Sérgio Basto - 2.4.11-5 +- Use bcond tags to easily enable or disable modules. +- Package review, more cleaning in the spec file. +- Fixed unused-direct-shlib-dependency in cmake with global optflags. +- Added README.md index.rst with references to online documentation. +- Investigation on the documentation, added a few notes. + +* Mon Jul 06 2015 Sérgio Basto - 2.4.11-4 +- Enable-gpu-module, rhbz #1236417, thanks to Rich Mattes. +- Deleted the global gst1 because it is no longer needed. + +* Thu Jun 25 2015 Sérgio Basto - 2.4.11-3 +- Fix license tag + +* Wed Jun 17 2015 Fedora Release Engineering - 2.4.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon May 11 2015 Sérgio Basto - 2.4.11-1 +- Update to 2.4.11 . +- Dropped patches 0, 10, 11, 12, 13 and 14 . + +* Sat Apr 11 2015 Rex Dieter 2.4.9-6 +- rebuild (gcc5) + +* Mon Feb 23 2015 Rex Dieter 2.4.9-5 +- rebuild (gcc5) + +* Tue Nov 25 2014 Rex Dieter 2.4.9-4 +- rebuild (openexr) + +* Sun Aug 17 2014 Fedora Release Engineering - 2.4.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jul 25 2014 Rex Dieter 2.4.9-2 +- backport support for GStreamer 1 (#1123078) + +* Thu Jul 03 2014 Nicolas Chauvet - 2.4.9-1 +- Update to 2.4.9 + +* Sat Jun 07 2014 Fedora Release Engineering - 2.4.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Apr 26 2014 Rex Dieter 2.4.7-6 +- revert pkgcmake2 patch (#1070428) + +* Fri Jan 17 2014 Nicolas Chauvet - 2.4.7-5 +- Fix opencv_ocl isn't part of -core + +* Thu Jan 16 2014 Christopher Meng - 2.4.7-4 +- Enable OpenCL support. +- SPEC small cleanup. + +* Wed Nov 27 2013 Rex Dieter 2.4.7-3 +- rebuild (openexr) + +* Mon Nov 18 2013 Rex Dieter 2.4.7-2 +- OpenCV cmake configuration broken (#1031312) + +* Wed Nov 13 2013 Nicolas Chauvet - 2.4.7-1 +- Update to 2.4.7 + +* Sun Sep 08 2013 Rex Dieter 2.4.6.1-2 +- rebuild (openexr) + +* Wed Jul 24 2013 Nicolas Chauvet - 2.4.6.1-1 +- Update to 2.4.6.1 + +* Thu May 23 2013 Nicolas Chauvet - 2.4.5-1 +- Update to 2.4.5-clean +- Spec file clean-up +- Split core libraries into a sub-package + +* Sat May 11 2013 François Cami - 2.4.4-3 +- change project URL. + +* Tue Apr 02 2013 Tom Callaway - 2.4.4-2 +- make clean source without SIFT/SURF + +* Sat Mar 23 2013 Nicolas Chauvet - 2.4.4-1 +- Update to 2.4.4a +- Fix tbb-devel architecture conditionals + +* Sun Mar 10 2013 Rex Dieter 2.4.4-0.2.beta +- rebuild (OpenEXR) + +* Mon Feb 18 2013 Nicolas Chauvet - 2.4.4-0.1.beta +- Update to 2.4.4 beta +- Drop python-imaging also from requires +- Drop merged patch for additionals codecs +- Disable the java binding for now (untested) + +* Fri Jan 25 2013 Honza Horak - 2.4.3-7 +- Do not build with 1394 libs in rhel + +* Mon Jan 21 2013 Adam Tkac - 2.4.3-6 +- rebuild due to "jpeg8-ABI" feature drop + +* Sun Jan 20 2013 Nicolas Chauvet - 2.4.3-5 +- Add more FourCC for gstreamer - rhbz#812628 +- Allow to use python-pillow - rhbz#895767 + +* Mon Nov 12 2012 Nicolas Chauvet - 2.4.3-3 +- Switch Build Type to ReleaseWithDebInfo to avoid -03 + +* Sun Nov 04 2012 Nicolas Chauvet - 2.4.3-2 +- Disable SSE3 and allow --with sse3 build conditional. +- Disable gpu module as we don't build cuda +- Update to 2.4.3 + +* Fri Jul 20 2012 Fedora Release Engineering - 2.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jul 09 2012 Honza Horak - 2.4.2-1 +- Update to 2.4.2 + +* Fri Jun 29 2012 Honza Horak - 2.4.1-2 +- Fixed cmake script for generating opencv.pc file +- Fixed OpenCVConfig script file + +* Mon Jun 04 2012 Nicolas Chauvet - 2.4.1-1 +- Update to 2.4.1 +- Rework dependencies - rhbz#828087 + Re-enable using --with tbb,openni,eigen2,eigen3 + +* Tue Feb 28 2012 Fedora Release Engineering - 2.3.1-8 +- Rebuilt for c++ ABI breakage + +* Mon Jan 16 2012 Nicolas Chauvet - 2.3.1-7 +- Update gcc46 patch for ARM FTBFS + +* Fri Jan 13 2012 Fedora Release Engineering - 2.3.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Dec 05 2011 Adam Jackson 2.3.1-5 +- Rebuild for new libpng + +* Thu Oct 20 2011 Nicolas Chauvet - 2.3.1-4 +- Rebuilt for tbb silent ABI change + +* Mon Oct 10 2011 Nicolas Chauvet - 2.3.1-3 +- Update to 2.3.1a + +* Mon Sep 26 2011 Dan Horák - 2.3.1-2 +- openni is exclusive for x86/x86_64 + +* Fri Aug 19 2011 Nicolas Chauvet - 2.3.1-1 +- Update to 2.3.1 +- Add BR openni-devel python-sphinx +- Remove deprecated cmake options +- Add --with cuda conditional (wip) +- Disable make test (unavailable) + +* Thu May 26 2011 Nicolas Chauvet - 2.2.0-6 +- Backport fixes from branch 2.2 to date + +* Tue May 17 2011 Nicolas Chauvet - 2.2.0-5 +- Re-enable v4l on f15 +- Remove unused cmake options + +* Tue Feb 08 2011 Fedora Release Engineering - 2.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Feb 02 2011 Nicolas Chauvet - 2.2.0-2 +- Fix with gcc46 +- Disable V4L as V4L1 is disabled for Fedora 15 + +* Thu Jan 06 2011 Nicolas Chauvet - 2.2.0-1 +- Update to 2.2.0 +- Disable -msse and -msse2 on x86_32 + +* Wed Aug 25 2010 Rex Dieter - 2.1.0-5 +- -devel: include OpenCVConfig.cmake (#627359) + +* Thu Jul 22 2010 Dan Horák - 2.1.0-4 +- TBB is available only on x86/x86_64 and ia64 + +* Wed Jul 21 2010 David Malcolm - 2.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Fri Jun 25 2010 Nicolas Chauvet - 2.1.0-2 +- Move samples from main to -devel +- Fix spurious permission +- Add BR tbb-devel +- Fix CFLAGS + +* Fri Apr 23 2010 Nicolas Chauvet - 2.1.0-1 +- Update to 2.1.0 +- Update libdir patch + +* Tue Apr 13 2010 Karel Klic - 2.0.0-10 +- Fix nonstandard executable permissions + +* Tue Mar 09 2010 Karel Klic - 2.0.0-9 +- apply the previously added patch + +* Mon Mar 08 2010 Karel Klic - 2.0.0-8 +- re-enable testing on CMake build system +- fix memory corruption in the gaussian random number generator + +* Sat Feb 27 2010 Haïkel Guémar - 2.0.0-7 +- replaced BR unicap-devel by libucil-devel (unicap split) + +* Thu Feb 25 2010 Haïkel Guémar - 2.0.0-6 +- use cmake build system +- applications renamed to opencv_xxx instead of opencv-xxx +- add devel-docs subpackage #546605 +- add OpenCVConfig.cmake +- enable openmp build +- enable old SWIG based python wrappers +- opencv package is a good boy and use global instead of define + +* Tue Feb 16 2010 Karel Klic - 2.0.0-5 +- Set CXXFLAXS without -match=i386 for i386 architecture #565074 + +* Sat Jan 09 2010 Rakesh Pandit - 2.0.0-4 +- Updated opencv-samples-Makefile (Thanks Scott Tsai) #553697 + +* Wed Jan 06 2010 Karel Klic - 2.0.0-3 +- Fixed spec file issues detected by rpmlint + +* Sun Dec 06 2009 Haïkel Guémar - 2.0.0-2 +- Fix autotools scripts (missing LBP features) - #544167 + +* Fri Nov 27 2009 Haïkel Guémar - 2.0.0-1 +- Updated to 2.0.0 +- Removed upstream-ed patches +- Ugly hack (added cvconfig.h) +- Disable %%check on ppc64 + +* Thu Sep 10 2009 Karsten Hopp - 1.1.0-0.7.pre1 +- fix build on s390x where we don't have libraw1394 and devel + +* Thu Jul 30 2009 Haïkel Guémar - 1.1.0.0.6.pre1 +- Fix typo I introduced that prevented build on i386/i586 + +* Thu Jul 30 2009 Haïkel Guémar - 1.1.0.0.5.pre1 +- Added 1394 libs and unicap support + +* Sat Jul 25 2009 Fedora Release Engineering - 1.1.0-0.4.pre1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Jul 16 2009 kwizart < kwizart at gmail.com > - 1.1.0-0.3.pre1 +- Build with gstreamer support - #491223 +- Backport gcc43 fix from trunk + +* Thu Jul 16 2009 kwizart < kwizart at gmail.com > - 1.1.0-0.2.pre1 +- Fix FTBFS #511705 + +* Fri Apr 24 2009 kwizart < kwizart at gmail.com > - 1.1.0-0.1.pre1 +- Update to 1.1pre1 +- Disable CXXFLAGS hardcoded optimization +- Add BR: python-imaging, numpy +- Disable make check failure for now + +* Wed Apr 22 2009 kwizart < kwizart at gmail.com > - 1.0.0-14 +- Fix for gcc44 +- Enable BR jasper-devel +- Disable ldconfig run on python modules (uneeded) +- Prevent timestamp change on install + +* Thu Feb 26 2009 Fedora Release Engineering - 1.0.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Dec 29 2008 Rakesh Pandit - 1.0.0-12 +- fix URL field + +* Fri Dec 19 2008 Ralf Corsépius - 1.0.0-11 +- Adopt latest python spec rules. +- Rebuild for Python 2.6 once again. + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.0.0-10 +- Rebuild for Python 2.6 + +* Thu May 22 2008 Tom "spot" Callaway - 1.0.0-9 +- fix license tag + +* Sun May 11 2008 Ralf Corsépius - 1.0.0-8 +- Adjust library order in opencv.pc.in (BZ 445937). + +* Mon Feb 18 2008 Fedora Release Engineering - 1.0.0-7 +- Autorebuild for GCC 4.3 + +* Sun Feb 10 2008 Ralf Corsépius - 1.0.0-6 +- Rebuild for gcc43. + +* Tue Aug 28 2007 Fedora Release Engineering - 1.0.0-5 +- Rebuild for selinux ppc32 issue. + +* Wed Aug 22 2007 Ralf Corsépius - 1.0.0-4 +- Mass rebuild. + +* Thu Mar 22 2007 Ralf Corsépius - 1.0.0-3 +- Fix %%{_datadir}/opencv/samples ownership. +- Adjust timestamp of cvconfig.h.in to avoid re-running autoheader. + +* Thu Mar 22 2007 Ralf Corsépius - 1.0.0-2 +- Move all of the python module to pyexecdir (BZ 233128). +- Activate the testsuite. + +* Mon Dec 11 2006 Ralf Corsépius - 1.0.0-1 +- Upstream update. + +* Mon Dec 11 2006 Ralf Corsépius - 0.9.9-4 +- Remove python-abi. + +* Thu Oct 05 2006 Christian Iseli 0.9.9-3 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + +* Thu Sep 21 2006 Ralf Corsépius - 0.9.9-2 +- Stop configure.in from hacking CXXFLAGS. +- Activate testsuite. +- Let *-devel require pkgconfig. + +* Thu Sep 21 2006 Ralf Corsépius - 0.9.9-1 +- Upstream update. +- Don't BR: autotools. +- Install samples' Makefile as GNUmakefile. + +* Thu Sep 21 2006 Ralf Corsépius - 0.9.7-18 +- Un'%%ghost *.pyo. +- Separate %%{pythondir} from %%{pyexecdir}. + +* Thu Sep 21 2006 Ralf Corsépius - 0.9.7-17 +- Rebuild for FC6. +- BR: libtool. + +* Fri Mar 17 2006 Simon Perreault - 0.9.7-16 +- Rebuild. + +* Wed Mar 8 2006 Simon Perreault - 0.9.7-15 +- Force a re-run of Autotools by calling autoreconf. + +* Wed Mar 8 2006 Simon Perreault - 0.9.7-14 +- Added build dependency on Autotools. + +* Tue Mar 7 2006 Simon Perreault - 0.9.7-13 +- Changed intrinsics patch so that it matches upstream. + +* Tue Mar 7 2006 Simon Perreault - 0.9.7-12 +- More intrinsics patch fixing. + +* Tue Mar 7 2006 Simon Perreault - 0.9.7-11 +- Don't do "make check" because it doesn't run any tests anyway. +- Back to main intrinsics patch. + +* Tue Mar 7 2006 Simon Perreault - 0.9.7-10 +- Using simple intrinsincs patch. + +* Tue Mar 7 2006 Simon Perreault - 0.9.7-9 +- Still more fixing of intrinsics patch for Python bindings on x86_64. + +* Tue Mar 7 2006 Simon Perreault - 0.9.7-8 +- Again fixed intrinsics patch so that Python modules build on x86_64. + +* Tue Mar 7 2006 Simon Perreault - 0.9.7-7 +- Fixed intrinsics patch so that it works. + +* Tue Mar 7 2006 Simon Perreault - 0.9.7-6 +- Fixed Python bindings location on x86_64. + +* Mon Mar 6 2006 Simon Perreault - 0.9.7-5 +- SSE2 support on x86_64. + +* Mon Mar 6 2006 Simon Perreault - 0.9.7-4 +- Rebuild + +* Sun Oct 16 2005 Simon Perreault - 0.9.7-3 +- Removed useless sample compilation makefiles/project files and replaced them + with one that works on Fedora Core. +- Removed shellbang from Python modules. + +* Mon Oct 10 2005 Simon Perreault - 0.9.7-2 +- Made FFMPEG dependency optional (needs to be disabled for inclusion in FE). + +* Mon Oct 10 2005 Simon Perreault - 0.9.7-1 +- Initial package.