From 07e2572dcb6493d282c80ed9d0ee4203d2dbace7 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Wed, 28 Sep 2022 18:05:30 -0700 Subject: [PATCH] Remove unicap Upstream removed unicap support around 4.0 with this change commit 5869415a57524cf2dfb5eaba5aafa86ceb395d15 (HEAD) Author: Alexander Alekhin Date: Wed Nov 7 19:49:09 2018 +0300 videoio: drop obsolete backends - VFW - QuickTime/QtKit - Unicap - GPL, no active support: https://github.com/unicap/unicap - DC1394 (1st version) / CMU1394 So remove the configury and build requires for unicap. Reported-by: Robert Scheck Signed-off-by: Tom Rix --- opencv.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/opencv.spec b/opencv.spec index 836b9f0..9c8a549 100644 --- a/opencv.spec +++ b/opencv.spec @@ -59,7 +59,7 @@ Version: 4.6.0 %global minorver %(foo=%{version}; a=(${foo//./ }); echo ${a[1]} ) %global padding %(digits=00; num=%{minorver}; echo ${digits:${#num}:${#digits}} ) %global abiver %(echo %{majorver}%{padding}%{minorver} ) -Release: 6%{?dist} +Release: 7%{?dist} Summary: Collection of algorithms for computer vision # This is normal three clause BSD. License: BSD @@ -143,7 +143,6 @@ BuildRequires: python3-beautifulsoup4 #for doc/doxygen/bib2xhtml.pl #BuildRequires: perl-open BuildRequires: gflags-devel -BuildRequires: libucil-devel BuildRequires: qt5-qtbase-devel BuildRequires: libGL-devel BuildRequires: libGLU-devel @@ -303,7 +302,6 @@ install -pm 0644 %{SOURCE4} .cache/ade/ -DOpenGL_GL_PREFERENCE=GLVND \ -DWITH_GDAL=ON \ -DWITH_OPENEXR=ON \ - -DWITH_UNICAP=ON \ -DCMAKE_SKIP_RPATH=ON \ -DWITH_CAROTENE=OFF \ %ifarch x86_64 %{ix86} @@ -497,6 +495,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope %{_libdir}/libopencv_xphoto.so.{%{abiver},%{version}} %changelog +* Wed Sep 28 2022 Tom Rix - 4.6.0-7 +- Remove Unicap + * Fri Jul 29 2022 Mamoru TASAKA - 4.6.0-6 - BR vte-java only on %%java_arches