public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: enable building of dnn
@ 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 : 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
^ 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 building of dnn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox