Hello community,

here is the log from the commit of package nomacs for openSUSE:Factory checked 
in at 2016-03-07 13:28:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nomacs (Old)
 and      /work/SRC/openSUSE:Factory/.nomacs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nomacs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nomacs/nomacs.changes    2015-12-24 
12:16:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.nomacs.new/nomacs.changes       2016-03-07 
13:29:44.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Mar  4 07:46:25 UTC 2016 - [email protected]
+
+- Add nomacs-3.0.0-opencv-detection.patch to fix detection of
+  OpenCV 3.x and later.
+
+-------------------------------------------------------------------

New:
----
  nomacs-3.0.0-opencv-detection.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nomacs.spec ++++++
--- /var/tmp/diff_new_pack.9R5Art/_old  2016-03-07 13:29:44.000000000 +0100
+++ /var/tmp/diff_new_pack.9R5Art/_new  2016-03-07 13:29:44.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nomacs
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@
 Group:          Productivity/Graphics/Viewers
 Url:            http://nomacs.org/
 Source:         
https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}-source.tar.bz2
+# PATCH-FIX-UPSTREAM nomacs-3.0.0-opencv-detection.patch  -- Fix detection of 
OpenCV 3.x and later.
+Patch0:         nomacs-3.0.0-opencv-detection.patch
 BuildRequires:  cmake >= 2.6
 BuildRequires:  dos2unix
 BuildRequires:  gcc-c++
@@ -52,6 +54,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 dos2unix Readme/*
 find src -type f -name '*.cpp' | while read f; do
     # Fix encoding issues in nomacs with Qt5.

++++++ nomacs-3.0.0-opencv-detection.patch ++++++
--- a/cmake/Unix.cmake
+++ b/cmake/Unix.cmake
@@ -43,7 +43,7 @@ endif(NOT EXIV2_FOUND)
 # search for opencv
 unset(OpenCV_FOUND CACHE)
 if(ENABLE_OPENCV)
-       find_package(OpenCV 2.1.0 REQUIRED core imgproc)
+       find_package(OpenCV REQUIRED core imgproc)
        if (NOT OpenCV_LIBRARIES) # OpenCV_FOUND can not be used since it is 
set in Ubuntu 12.04 (without finding opencv)
                # Older OpenCV versions only supplied pkg-config files
                if(PKG_CONFIG_FOUND)

Reply via email to