Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vigra for openSUSE:Factory checked 
in at 2021-08-12 09:01:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vigra (Old)
 and      /work/SRC/openSUSE:Factory/.vigra.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vigra"

Thu Aug 12 09:01:35 2021 rev:36 rq:911463 version:1.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/vigra/vigra.changes      2018-01-24 
15:25:41.523866967 +0100
+++ /work/SRC/openSUSE:Factory/.vigra.new.1899/vigra.changes    2021-08-12 
09:02:29.798072060 +0200
@@ -1,0 +2,7 @@
+Wed Aug 11 09:13:35 UTC 2021 - pgaj...@suse.com
+
+- added patches
+  https://github.com/ukoethe/vigra/issues/496
+  + vigra-openexr3.patch
+
+-------------------------------------------------------------------

New:
----
  vigra-openexr3.patch

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

Other differences:
------------------
++++++ vigra.spec ++++++
--- /var/tmp/diff_new_pack.p4Ct2J/_old  2021-08-12 09:02:30.386071141 +0200
+++ /var/tmp/diff_new_pack.p4Ct2J/_new  2021-08-12 09:02:30.390071134 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vigra
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,9 +23,11 @@
 Summary:        Computer vision Library
 License:        MIT
 Group:          Development/Libraries/C and C++
-Url:            http://ukoethe.github.io/vigra/
+URL:            http://ukoethe.github.io/vigra/
 Source:         
https://github.com/ukoethe/vigra/releases/download/Version-1-11-1/vigra-%{version}-src.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
+# https://github.com/ukoethe/vigra/issues/496
+Patch0:         vigra-openexr3.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  fftw3-devel
@@ -89,6 +91,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 sed -i -e "1s|#!.*|#!/usr/bin/python3|" config/vigra-config.in
 
 %build

++++++ vigra-openexr3.patch ++++++
diff --git a/config/FindOpenEXR.cmake b/config/FindOpenEXR.cmake
index ef36cdbf..0423e247 100644
--- a/config/FindOpenEXR.cmake
+++ b/config/FindOpenEXR.cmake
@@ -23,6 +23,16 @@
 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+find_package(OpenEXR 3.0 CONFIG QUIET)
+if(TARGET OpenEXR::OpenEXR)
+    find_package(Threads)
+    SET(OPENEXR_FOUND TRUE)
+    SET(OPENEXR_INCLUDE_DIR OpenEXR::OpenEXR)
+    SET(OPENEXR_LIBRARIES OpenEXR::OpenEXR)
+    SET(OPENEXR_VERSION ${OpenEXR_VERSION})
+    return()
+endif()
+
 FIND_PATH(OPENEXR_INCLUDE_DIR ImfRgbaFile.h PATH_SUFFIXES OpenEXR)
 
 FOREACH(V "" -2_2 -2_1 -2_0 -1_7)

Reply via email to