public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Enable vtk should work with vtk-8.1.1
@ 2026-08-28 13:31 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-28 13:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/opencv
            Branch : opencv5
            Commit : 660e07ac17ad79cb70f9607e978d0e3985fbd85e
            Author : Sérgio M. Basto <sergio@serjux.com>
            Date   : 2018-10-30T12:48:13+00:00
            Stats  : +19/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/opencv/c/660e07ac17ad79cb70f9607e978d0e3985fbd85e?branch=opencv5

            Log:
            Enable vtk should work with vtk-8.1.1
Add BR python Flake8

---
diff --git a/opencv.spec b/opencv.spec
index 134290f..daa9111 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -26,8 +26,13 @@
 %bcond_with     atlas
 %bcond_without  openblas
 %bcond_without  gdcm
-#VTK support disabled. Incompatible combination: OpenCV + Qt5 and VTK ver.7.1.1 + Qt4
-%bcond_with     vtk
+%if 0%{?fedora} > 29
+%bcond_without  vtk
+%else
+#VTK support disabled. Incompatible combination: OpenCV + Qt5 and VTK ver.7.1.1 + Qt4 in <= F29
+%bcond_with  vtk
+%endif
+
 %ifarch %{ix86} x86_64
 %bcond_without  libmfx
 %else
@@ -47,7 +52,7 @@
 
 Name:           opencv
 Version:        3.4.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Collection of algorithms for computer vision
 # This is normal three clause BSD.
 License:        BSD
@@ -97,10 +102,12 @@ BuildRequires:  tbb-devel
 }
 BuildRequires:  zlib-devel pkgconfig
 BuildRequires:  python2-devel
-BuildRequires:  python3-devel
-BuildRequires:  pylint
+BuildRequires:  python2-flake8
 BuildRequires:  python2-numpy
+BuildRequires:  python3-devel
+BuildRequires:  python3-flake8
 BuildRequires:  python3-numpy
+BuildRequires:  pylint
 BuildRequires:  swig >= 1.3.24
 %{?with_ffmpeg:BuildRequires:  ffmpeg-devel >= 0.4.9}
 %if 0%{?fedora} || 0%{?rhel} > 7
@@ -349,6 +356,9 @@ popd
 %{_libdir}/libopencv_video.so.%{abiver}*
 %{_libdir}/libopencv_videoio.so.%{abiver}*
 %{_libdir}/libopencv_videostab.so.%{abiver}*
+%if %{with vtk}
+%{_libdir}/libopencv_viz.so.%{abiver}*
+%endif
 
 %files devel
 %{_includedir}/opencv
@@ -400,6 +410,10 @@ popd
 %{_libdir}/libopencv_xphoto.so.%{abiver}*
 
 %changelog
+* Tue Oct 30 2018 Sérgio Basto <sergio@serjux.com> - 3.4.3-5
+- Enable vtk should work with vtk-8.1.1
+- Add BR python Flake8
+
 * Tue Oct 23 2018 Felix Kaechele <heffer@fedoraproject.org> - 3.4.3-4
 - enable building of dnn
 

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

only message in thread, other threads:[~2026-08-28 13:31 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:31 [rpms/opencv] opencv5: Enable vtk should work with vtk-8.1.1 

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