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 2.4.7
Date: Fri, 28 Aug 2026 13:30:20 GMT	[thread overview]
Message-ID: <178792382007.1.10223230944309163905.rpms-opencv-cc055f4eefbb@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : cc055f4eefbb094627f505b6f992a15db8ec4894
Author : Nicolas Chauvet <kwizart@gmail.com>
Date   : 2013-11-14T21:53:27+01:00
Stats  : +32/-11 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/cc055f4eefbb094627f505b6f992a15db8ec4894?branch=opencv5

Log:
Update to 2.4.7

---
diff --git a/.gitignore b/.gitignore
index 80efe71..80aeb25 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ OpenCV-2.1.0.tar.bz2
 /OpenCV-2.4.4a-clean.tar.bz2
 /opencv-2.4.5-clean.tar.xz
 /opencv-clean-2.4.6.1.tar.xz
+/opencv-clean-2.4.7.tar.xz

diff --git a/opencv-2.4.7-ts_static.patch b/opencv-2.4.7-ts_static.patch
new file mode 100644
index 0000000..099a2bf
--- /dev/null
+++ b/opencv-2.4.7-ts_static.patch
@@ -0,0 +1,12 @@
+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-pkgcmake.patch b/opencv-pkgcmake.patch
index d9d01cc..79eb078 100644
--- a/opencv-pkgcmake.patch
+++ b/opencv-pkgcmake.patch
@@ -1,6 +1,6 @@
-diff -up OpenCV-2.4.2/cmake/OpenCVGenPkgconfig.cmake.pkgcmake OpenCV-2.4.2/cmake/OpenCVGenPkgconfig.cmake
---- OpenCV-2.4.2/cmake/OpenCVGenPkgconfig.cmake.pkgcmake	2012-06-29 00:55:15.000000000 +0200
-+++ OpenCV-2.4.2/cmake/OpenCVGenPkgconfig.cmake	2012-07-09 14:53:33.338597708 +0200
+diff -up opencv-2.4.7/cmake/OpenCVGenPkgconfig.cmake.pkgcmake opencv-2.4.7/cmake/OpenCVGenPkgconfig.cmake
+--- opencv-2.4.7/cmake/OpenCVGenPkgconfig.cmake.pkgcmake	2013-11-06 15:26:39.000000000 +0100
++++ opencv-2.4.7/cmake/OpenCVGenPkgconfig.cmake	2013-11-13 23:19:49.414798348 +0100
 @@ -10,7 +10,7 @@
  # -------------------------------------------------------------------------------------------
  set(prefix      "${CMAKE_INSTALL_PREFIX}")
@@ -8,9 +8,9 @@ diff -up OpenCV-2.4.2/cmake/OpenCVGenPkgconfig.cmake.pkgcmake OpenCV-2.4.2/cmake
 -set(libdir      "") #TODO: need link paths for OpenCV_EXTRA_COMPONENTS
 +set(libdir      "\${prefix}/${OPENCV_LIB_INSTALL_PATH}")
  set(includedir  "\${prefix}/${OPENCV_INCLUDE_INSTALL_PATH}")
- set(VERSION     ${OPENCV_VERSION})
  
-@@ -36,7 +36,7 @@ ocv_list_reverse(OpenCV_LIB_COMPONENTS)
+ if(CMAKE_BUILD_TYPE MATCHES "Release")
+@@ -35,7 +35,7 @@ ocv_list_reverse(OpenCV_LIB_COMPONENTS)
  ocv_list_reverse(OpenCV_EXTRA_COMPONENTS)
  
  #build the list of components
@@ -19,7 +19,7 @@ diff -up OpenCV-2.4.2/cmake/OpenCVGenPkgconfig.cmake.pkgcmake OpenCV-2.4.2/cmake
  foreach(CVLib ${OpenCV_LIB_COMPONENTS})
    get_target_property(libpath ${CVLib} LOCATION_${CMAKE_BUILD_TYPE})
    get_filename_component(libname "${libpath}" NAME)
-@@ -51,8 +51,10 @@ foreach(CVLib ${OpenCV_LIB_COMPONENTS})
+@@ -50,8 +50,10 @@ foreach(CVLib ${OpenCV_LIB_COMPONENTS})
    else()
      set(installDir "${OPENCV_LIB_INSTALL_PATH}")
    endif()

diff --git a/opencv.spec b/opencv.spec
index 7ec4e67..8d2d316 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -1,8 +1,8 @@
 #global indice   a
 
 Name:           opencv
-Version:        2.4.6.1
-Release:        2%{?dist}
+Version:        2.4.7
+Release:        1%{?dist}
 Summary:        Collection of algorithms for computer vision
 
 Group:          Development/Libraries
@@ -12,6 +12,8 @@ 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
+# 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:	%{name}-clean-%{version}%{?indice}.tar.xz
 Source1:        opencv-samples-Makefile
@@ -19,6 +21,7 @@ Patch0:         opencv-pkgcmake.patch
 Patch1:         opencv-pkgcmake2.patch
 #http://code.opencv.org/issues/2720
 Patch2:         OpenCV-2.4.4-pillow.patch
+Patch3:         opencv-2.4.7-ts_static.patch
 
 BuildRequires:  libtool
 BuildRequires:  cmake >= 2.6.3
@@ -40,6 +43,8 @@ BuildRequires:  libpng-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  libv4l-devel
+BuildRequires:  libGL-devel
+BuildRequires:  gtkglext-devel
 BuildRequires:  OpenEXR-devel
 %{?_with_openni:
 %ifarch %{ix86} x86_64
@@ -114,6 +119,7 @@ This package contains Python bindings for the OpenCV library.
 %patch0 -p1 -b .pkgcmake
 %patch1 -p1 -b .pkgcmake2
 %patch2 -p1 -b .pillow
+%patch3 -p1 -b .ts_static
 
 # fix dos end of lines
 sed -i 's|\r||g'  samples/c/adaptiveskindetector.cpp
@@ -220,8 +226,8 @@ popd
 %{_libdir}/libopencv_legacy.so.2.4*
 %{_libdir}/libopencv_objdetect.so.2.4*
 %{_libdir}/libopencv_stitching.so.2.4*
-%{_libdir}/libopencv_ts.so.2.4*
 %{_libdir}/libopencv_superres.so.2.4*
+%{_libdir}/libopencv_ts.so.2.4*
 %{_libdir}/libopencv_videostab.so.2.4*
 %dir %{_datadir}/OpenCV
 %{_datadir}/OpenCV/haarcascades
@@ -248,7 +254,6 @@ popd
 %files devel-docs
 %doc doc/*.{htm,png,jpg}
 %doc %{_datadir}/OpenCV/samples
-%doc %{_datadir}/opencv/samples
 
 %files python
 %{python_sitearch}/cv.py*
@@ -256,6 +261,9 @@ popd
 
 
 %changelog
+* Wed Nov 13 2013 Nicolas Chauvet <kwizart@gmail.com> - 2.4.7-1
+- Update to 2.4.7
+
 * Sun Sep 08 2013 Rex Dieter <rdieter@fedoraproject.org> 2.4.6.1-2
 - rebuild (openexr)
 

diff --git a/sources b/sources
index 801c90f..456cca3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2d3953ed758812f1836e58b6b70e6955  opencv-clean-2.4.6.1.tar.xz
+b540d75cdc7695098ab19fc7f56fd267  opencv-clean-2.4.7.tar.xz

                 reply	other threads:[~2026-08-28 13:30 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=178792382007.1.10223230944309163905.rpms-opencv-cc055f4eefbb@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