public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: opencv support for epel9
Date: Fri, 28 Aug 2026 13:32:18 GMT	[thread overview]
Message-ID: <178792393840.1.4541906996958299198.rpms-opencv-c2e1ca1d316f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : c2e1ca1d316f71047bc4170e4caf5a74c54a979c
Author : Sérgio M. Basto <sergio@serjux.com>
Date   : 2022-10-08T01:47:46+01:00
Stats  : +15/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/c2e1ca1d316f71047bc4170e4caf5a74c54a979c?branch=opencv5

Log:
opencv support for epel9

---
diff --git a/opencv.spec b/opencv.spec
index f0941e6..5e674c6 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -8,12 +8,16 @@
 %bcond_with     eigen2
 %bcond_without  eigen3
 %bcond_without  opencl
+%if 0%{?rhel} >= 8
+%bcond_with     openni
+%else
 %ifarch %{ix86} x86_64 %{arm}
 %bcond_without  openni
 %else
 # we dont have openni in other archs
 %bcond_with     openni
 %endif
+%endif
 %bcond_without  tbb
 %bcond_with     cuda
 %bcond_with     xine
@@ -35,7 +39,11 @@
 %else
 %bcond_with     libmfx
 %endif
+%if 0%{?rhel} >= 8
+%bcond_with  clp
+%else
 %bcond_without  clp
+%endif
 %ifarch %{java_arches}
 %bcond_without  java
 %else
@@ -69,8 +77,8 @@ URL:            https://opencv.org
 # TO PREPARE TARBALLS FOR FEDORA
 # Edit opencv-clean.sh and set VERSION, save file and run opencv-clean.sh
 #
-# Need to remove copyrighted lena.jpg images from tarball (rhbz#1295173)
-# and SIFT/SURF from tarball, due to legal concerns.
+# Need to remove copyrighted lena.jpg images (rhbz#1295173)
+# and SIFT/SURF (module xfeatures2d) from tarball, due to legal concerns.
 #
 Source0:        %{name}-clean-%{version}.tar.gz
 Source1:        %{name}_contrib-clean-%{version}.tar.gz
@@ -152,6 +160,8 @@ BuildRequires:  libGL-devel
 BuildRequires:  libGLU-devel
 BuildRequires:  hdf5-devel
 BuildRequires:  openjpeg2-devel
+BuildRequires:  freetype-devel
+BuildRequires:  harfbuzz-devel
 # Module opencv_ovis disabled because of incompatible OGRE3D version < 1.10
 # BuildRequires:  ogre-devel
 %{?with_vtk:BuildRequires: vtk-devel}
@@ -164,7 +174,9 @@ BuildRequires:  vtk-java
 #ceres-solver-devel push eigen3-devel and tbb-devel
 %{?with_tbb:
   %{?with_eigen3:
-BuildRequires:  ceres-solver-devel
+# CERES support is disabled. Ceres Solver for reconstruction API is required.
+# seems that ceres-solver is only needed for SFM algorithms but SFM algorithms are disabled because needs xfeatures2d
+# BuildRequires:  ceres-solver-devel
   }
 }
 %{?with_openblas:

                 reply	other threads:[~2026-08-28 13:32 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=178792393840.1.4541906996958299198.rpms-opencv-c2e1ca1d316f@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