public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Enable vtk should work with vtk-8.1.1
Date: Fri, 28 Aug 2026 13:31:01 GMT	[thread overview]
Message-ID: <178792386108.1.17294132058354805417.rpms-opencv-660e07ac17ad@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-08-28 13:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178792386108.1.17294132058354805417.rpms-opencv-660e07ac17ad@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox