public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Remove unicap
@ 2026-08-28 13:32 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-08-28 13:32 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/opencv
            Branch : opencv5
            Commit : 07e2572dcb6493d282c80ed9d0ee4203d2dbace7
            Author : Tom Rix <trix@redhat.com>
            Date   : 2022-09-28T18:05:30-07:00
            Stats  : +4/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/opencv/c/07e2572dcb6493d282c80ed9d0ee4203d2dbace7?branch=opencv5

            Log:
            Remove unicap

Upstream removed unicap support around 4.0 with this change

commit 5869415a57524cf2dfb5eaba5aafa86ceb395d15 (HEAD)
Author: Alexander Alekhin <alexander.alekhin@intel.com>
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 <redhat-bugzilla@linuxnetz.de>
Signed-off-by: Tom Rix <trix@redhat.com>

---
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 <trix@redhat.com> - 4.6.0-7
+- Remove Unicap
+
 * Fri Jul 29 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4.6.0-6
 - BR vte-java only on %%java_arches
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-28 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:32 [rpms/opencv] opencv5: Remove unicap Tom Rix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox