public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Update to 2.4.9 - rhbz#1114377
@ 2026-08-28 13:30 Nicolas Chauvet
0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-08-28 13:30 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 3b2f2d33a9ba57c6356258c0a182d034a92d02f9
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2014-07-03T13:47:36+02:00
Stats : +25/-20 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/3b2f2d33a9ba57c6356258c0a182d034a92d02f9?branch=opencv5
Log:
Update to 2.4.9 - rhbz#1114377
---
diff --git a/.gitignore b/.gitignore
index 80aeb25..84f1e27 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@ OpenCV-2.1.0.tar.bz2
/opencv-2.4.5-clean.tar.xz
/opencv-clean-2.4.6.1.tar.xz
/opencv-clean-2.4.7.tar.xz
+/opencv-clean-2.4.9.tar.xz
diff --git a/opencv-2.4.7-ts_static.patch b/opencv-2.4.7-ts_static.patch
deleted file mode 100644
index 099a2bf..0000000
--- a/opencv-2.4.7-ts_static.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up opencv-2.4.7/modules/ts/CMakeLists.txt.ts_static opencv-2.4.7/modules/ts/CMakeLists.txt
---- opencv-2.4.7/modules/ts/CMakeLists.txt.ts_static 2013-11-06 15:26:39.000000000 +0100
-+++ opencv-2.4.7/modules/ts/CMakeLists.txt 2013-11-14 21:28:28.289051531 +0100
-@@ -4,7 +4,7 @@ if(IOS)
- ocv_module_disable(ts)
- endif()
-
--set(OPENCV_MODULE_TYPE STATIC)
-+#set(OPENCV_MODULE_TYPE STATIC)
- set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE)
-
- if(HAVE_CUDA)
diff --git a/opencv-2.4.9-ts_static.patch b/opencv-2.4.9-ts_static.patch
new file mode 100644
index 0000000..f1b1c81
--- /dev/null
+++ b/opencv-2.4.9-ts_static.patch
@@ -0,0 +1,12 @@
+diff -up opencv-2.4.9/modules/ts/CMakeLists.txt.ts_static opencv-2.4.9/modules/ts/CMakeLists.txt
+--- opencv-2.4.9/modules/ts/CMakeLists.txt.ts_static 2014-04-11 05:15:26.000000000 -0500
++++ opencv-2.4.9/modules/ts/CMakeLists.txt 2014-06-29 12:49:29.473910506 -0500
+@@ -4,7 +4,7 @@ if(IOS)
+ ocv_module_disable(ts)
+ endif()
+
+-set(OPENCV_MODULE_TYPE STATIC)
++#set(OPENCV_MODULE_TYPE STATIC)
+ set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE)
+
+ ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
diff --git a/opencv.spec b/opencv.spec
index 1b9b55f..3e8a1c3 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -1,25 +1,25 @@
#global indice a
Name: opencv
-Version: 2.4.7
-Release: 7%{?dist}
+Version: 2.4.9
+Release: 1%{?dist}
Summary: Collection of algorithms for computer vision
Group: Development/Libraries
# This is normal three clause BSD.
License: BSD
URL: http://opencv.org
# Need to remove SIFT/SURF from source tarball, due to legal concerns
-# rm -rf opencv-%%{version}/modules/nonfree/src/sift.cpp
-# rm -rf opencv-%%{version}/modules/nonfree/src/surf.cpp
+# rm -f opencv-%%{version}/modules/nonfree/src/sift.cpp
+# rm -f opencv-%%{version}/modules/nonfree/src/surf.cpp
# Removed because we don't use pre-built contribs
# rm -rf 3rdparty
-#Source0: http://downloads.sourceforge.net/opencvlibrary/opencv-unix/%{version}/%{name}-%{version}%{?indice}.tar.gz
+#Source0: http://downloads.sourceforge.net/opencvlibrary/opencv-unix/%{version}/%{name}-%{version}%{?indice}.zip
Source0: %{name}-clean-%{version}%{?indice}.tar.xz
Source1: opencv-samples-Makefile
Patch0: opencv-pkgcmake.patch
#http://code.opencv.org/issues/2720
Patch2: OpenCV-2.4.4-pillow.patch
-Patch3: opencv-2.4.7-ts_static.patch
+Patch3: opencv-2.4.9-ts_static.patch
# fix/simplify cmake config install location (upstreamable)
# https://bugzilla.redhat.com/1031312
Patch4: opencv-2.4.7-cmake_paths.patch
@@ -133,6 +133,7 @@ pushd build
%cmake CMAKE_VERBOSE=1 \
-DPYTHON_PACKAGES_PATH=%{python_sitearch} \
-DCMAKE_SKIP_RPATH=ON \
+ -DENABLE_PRECOMPILED_HEADERS:BOOL=OFF \
%ifnarch x86_64 ia64
-DENABLE_SSE=0 \
-DENABLE_SSE2=0 \
@@ -207,7 +208,7 @@ popd
%postun -p /sbin/ldconfig
%files
-%doc doc/license.txt
+%doc LICENSE
%{_bindir}/opencv_*
%{_libdir}/libopencv_calib3d.so.2.4*
%{_libdir}/libopencv_contrib.so.2.4*
@@ -249,6 +250,9 @@ popd
%{python2_sitearch}/cv2.so
%changelog
+* Thu Jul 03 2014 Nicolas Chauvet <kwizart@gmail.com> - 2.4.9-1
+- Update to 2.4.9
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 456cca3..8248a78 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b540d75cdc7695098ab19fc7f56fd267 opencv-clean-2.4.7.tar.xz
+648e1de1869cb4d3d1e3316eca975005 opencv-clean-2.4.9.tar.xz
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:30 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:30 [rpms/opencv] opencv5: Update to 2.4.9 - rhbz#1114377 Nicolas Chauvet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox