public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Chauvet <kwizart@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Update to 4.13.0
Date: Fri, 28 Aug 2026 13:33:17 GMT	[thread overview]
Message-ID: <178792399724.1.18267262258905441276.rpms-opencv-f977a68e373f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : f977a68e373f320c84f4b1d026c5fa01bfea8a8b
Author : Nicolas Chauvet <kwizart@gmail.com>
Date   : 2026-01-28T17:18:44+01:00
Stats  : +11/-25 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/f977a68e373f320c84f4b1d026c5fa01bfea8a8b?branch=opencv5

Log:
Update to 4.13.0

---
diff --git a/opencv.spec b/opencv.spec
index 902578d..905e02a 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -69,13 +69,13 @@
 %endif
 
 Name:           opencv
-Version:        4.12.0
+Version:        4.13.0
 %global javaver %(foo=%{version}; echo ${foo//./})
 %global majorver %(foo=%{version}; a=(${foo//./ }); echo ${a[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:        21%{?dist}
+Release:        1%{?dist}
 Summary:        Collection of algorithms for computer vision
 # This is normal three clause BSD.
 License:        BSD-3-Clause AND Apache-2.0 AND ISC
@@ -89,7 +89,7 @@ URL:            https://opencv.org
 Source0:        %{name}-clean-%{version}.tar.gz
 Source1:        %{name}_contrib-clean-%{version}.tar.gz
 %{?with_extras_tests:
-#Source2:        %{name}_extra-clean-%{version}.tar.gz
+Source2:        %{name}_extra-clean-%{version}.tar.gz
 }
 Source3:        face_landmark_model.dat.xz
 # SRC=v0.1.2d.zip ; wget https://github.com/opencv/ade/archive/$SRC; mv $SRC $(md5sum $SRC | cut -d' ' -f1)-$SRC
@@ -102,13 +102,6 @@ Source6:        https://github.com/WeChatCV/opencv_3rdparty/archive/%{wechat_com
 
 Patch0:         opencv-4.1.0-install_3rdparty_licenses.patch
 Patch3:         opencv.python.patch
-# Fix build with Qt 6.9, by Atri Bhattacharya (thanks)
-# https://github.com/opencv/opencv/issues/27223#issuecomment-2797750952
-Patch16:        qt69.patch
-# Fix build with FFmpeg 8
-Patch17:        https://github.com/opencv/opencv/pull/27691.patch
-# Fix detect Eigen3 > 3
-Patch18:        https://github.com/opencv/opencv/pull/27536.patch
 
 
 BuildRequires:  gcc-c++
@@ -165,11 +158,7 @@ BuildRequires:  pkgconfig(libavutil)
 BuildRequires:  pkgconfig(libswscale)
 BuildRequires:  pkgconfig(libavdevice)
 }
-%if 0%{?fedora} || 0%{?rhel} > 7
 %{?with_gstreamer:BuildRequires:  gstreamer1-devel gstreamer1-plugins-base-devel}
-%else
-%{?with_gstreamer:BuildRequires:  gstreamer-devel gstreamer-plugins-base-devel}
-%endif
 %{?with_xine:BuildRequires:  xine-lib-devel}
 %{?with_opencl:BuildRequires:  opencl-headers}
 BuildRequires:  libgphoto2-devel
@@ -404,16 +393,12 @@ This package contains Java bindings for the OpenCV library.
 # we don't use pre-built contribs except quirc
 pushd 3rdparty
 shopt -s extglob
-#rm -r !(openexr|openvx|quirc)
-rm -r !(openvx|quirc|flatbuffers)
+rm -r !(dlpack|quirc|flatbuffers)
 shopt -u extglob
 popd &>/dev/null
 
 %patch -P 0 -p1 -b .install_3rdparty_licenses
 %patch -P 3 -p1 -b .python_install_binary
-%patch -P 16 -p1 -b .qt69
-%patch -P 17 -p1 -b .ffmpeg8
-%patch -P 18 -p1 -b .eigen3
 
 pushd %{name}_contrib-%{version}
 #patch1 -p1 -b .install_cvv
@@ -441,11 +426,8 @@ cd modules/python/package
 %pyproject_buildrequires
 
 %build
-# TODO: Please submit an issue to upstream (rhbz#2381337)
-export CMAKE_POLICY_VERSION_MINIMUM=3.5
 # enabled by default if libraries are presents at build time:
 # GTK, GSTREAMER, 1394, V4L, eigen3
-# non available on Fedora: FFMPEG, XINE
 # disabling IPP because it is closed source library from intel
 
 %cmake \
@@ -625,6 +607,9 @@ cp config-*.py %{buildroot}/%{python3_sitelib}/cv2/
 
 
 %changelog
+* Wed Jan 28 2026 Nicolas Chauvet <kwizart@gmail.com> - 4.13.0-1
+- Update to 4.13.0
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.12.0-21
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

diff --git a/sources b/sources
index 696874a..36f72ef 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,6 @@
-SHA512 (opencv-clean-4.12.0.tar.gz) = 7bcbe3629dda78e63cd737568ed94ef3f63dd7b11196247ffd03f93fed5ae9a96483d9fae25385dfd6f30c8c2e11677fd9f5c26b2f7a1bd88ca303b06a98b87d
-SHA512 (opencv_contrib-clean-4.12.0.tar.gz) = e279bd46d2b4a3e4d8c98401e2abdd873ee15b63d14d16b7c9980f84fee02c08491cab4d8cd6b4e493d0892e254e56dd759235f3606332a1b264a41be3c8f9d8
-SHA512 (wechat-20230712.git3487ef7.tar.gz) = bc4f220465de41df8af0cb35312c1db155976d05f13a60e43c1798b161d8f56388e34a59108fb3e27e8c97b53acfd198256d9ae420b5f70a32ddc1ea65c3c8a6
 SHA512 (face_landmark_model.dat.xz) = 7558f29431bb9cad1f22ee067ad3ed41be8f68b865992eb7d3a5ce6b6b9e1d031cb03e33c3c149220ef8faebd0471703a8a3bbb06402bcc8ce76bd28317aa307
 SHA512 (962ce79e0b95591f226431f7b5f152cd-v0.1.2e.zip) = 87c65716498ca2e4f64fb9a1f78f7e5c48fffff5fc6735027edfb7d7ccc0d9f5b01c85f4b956ddc7e1c35c69ee2513d48a7da91764c2fd01d073ee5a1fc90c6f
+SHA512 (wechat-20230712.git3487ef7.tar.gz) = bc4f220465de41df8af0cb35312c1db155976d05f13a60e43c1798b161d8f56388e34a59108fb3e27e8c97b53acfd198256d9ae420b5f70a32ddc1ea65c3c8a6
+SHA512 (opencv-clean-4.13.0.tar.gz) = 24a324134c165cce2b08f9ec9d9dea9d4cb9489bfdb07d637c54c8c09bc576d08db082cad4a76bf90a3342ad50f688996f9fd4d41375c849efb4c09fb0cb013e
+SHA512 (opencv_contrib-clean-4.13.0.tar.gz) = 7ec3d559ccc6932ab8a11851f2fc509df9db8db1f044027eb75b5476d4c37274c475f0f15378f20d57f0cbe309212a641000cff0050541f93e040b821991b095
+SHA512 (opencv_extra-clean-4.13.0.tar.gz) = 821fcf069ee959fea30d9b7c530e15cf5da805980130581edda6526c0a458e9a94265df457bf605e4faba115c846e580c2be1fbbfe45f6a270e24ad427d41fbf

                 reply	other threads:[~2026-08-28 13:33 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=178792399724.1.18267262258905441276.rpms-opencv-f977a68e373f@fedoraproject.org \
    --to=kwizart@gmail.com \
    --cc=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