public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: enable building of dnn
Date: Fri, 28 Aug 2026 13:31:00 GMT [thread overview]
Message-ID: <178792386059.1.3339748911037478077.rpms-opencv-b930f6e23c75@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : b930f6e23c75e8566b0b355f5beaaa1a91363181
Author : Sérgio M. Basto <sergio@serjux.com>
Date : 2018-10-23T15:43:07+01:00
Stats : +8/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/b930f6e23c75e8566b0b355f5beaaa1a91363181?branch=opencv5
Log:
enable building of dnn
---
diff --git a/opencv.spec b/opencv.spec
index 157b036..134290f 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -47,7 +47,7 @@
Name: opencv
Version: 3.4.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Collection of algorithms for computer vision
# This is normal three clause BSD.
License: BSD
@@ -227,8 +227,6 @@ to provide decent performance and stability.
%setup -q -a1
# we don't use pre-built contribs
rm -r 3rdparty/
-# missing dependecies for dnn module in Fedora (protobuf-cpp)
-rm -r modules/dnn/
%patch1 -p1 -b .cmake_paths
%ifarch %{ix86} %{arm}
@@ -284,6 +282,7 @@ pushd build
-DINSTALL_PYTHON_EXAMPLES=ON \
-DENABLE_PYLINT=ON \
-DBUILD_PROTOBUF=OFF \
+ -DPROTOBUF_UPDATE_FILES=ON \
-DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-%{version}/modules \
-DWITH_LIBV4L=ON \
-DWITH_OPENMP=ON \
@@ -376,8 +375,8 @@ popd
%{_libdir}/libopencv_ccalib.so.%{abiver}*
#Module opencv_datasets disabled because opencv_text dependency can't be resolved!
%{_libdir}/libopencv_datasets.so.%%{abiver}*
-# Disabled because of missing dependency package in fedora (protobuf-cpp)
-#{_libdir}/libopencv_dnn.so.%%{abiver}*
+%{_libdir}/libopencv_dnn.so.%%{abiver}*
+%{_libdir}/libopencv_dnn_objdetect.so.%%{abiver}*
%{_libdir}/libopencv_dpm.so.%{abiver}*
%{_libdir}/libopencv_face.so.%{abiver}*
%{_libdir}/libopencv_freetype.so.%{abiver}*
@@ -394,14 +393,16 @@ popd
%{_libdir}/libopencv_stereo.so.%{abiver}*
%{_libdir}/libopencv_structured_light.so.%{abiver}*
%{_libdir}/libopencv_surface_matching.so.%{abiver}*
-#Module opencv_text disabled because opencv_dnn dependency can't be resolved!
-#{_libdir}/libopencv_text.so.%%{abiver}*
+%{_libdir}/libopencv_text.so.%%{abiver}*
%{_libdir}/libopencv_tracking.so.%{abiver}*
%{_libdir}/libopencv_ximgproc.so.%{abiver}*
%{_libdir}/libopencv_xobjdetect.so.%{abiver}*
%{_libdir}/libopencv_xphoto.so.%{abiver}*
%changelog
+* Tue Oct 23 2018 Felix Kaechele <heffer@fedoraproject.org> - 3.4.3-4
+- enable building of dnn
+
* Sat Oct 13 2018 Jerry James <loganjerry@gmail.com> - 3.4.3-3
- Rebuild for tbb 2019_U1
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=178792386059.1.3339748911037478077.rpms-opencv-b930f6e23c75@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