- version update to 2.5.2

2.5.2
  * Invalid input could cause a heap-use-after-free error in DeepScanLineInputFile::DeepScanLineInputFile()
  * Invalid chunkCount attributes could cause heap buffer overflow in getChunkOffsetTableSize()
  * Invalid tiled input file could cause invalid memory access TiledInputFile::TiledInputFile()
  * OpenEXRConfig.h now correctly sets OPENEXR_PACKAGE_STRING to "OpenEXR" (rather than "IlmBase")
  2.5.1
  * A patch release that corrects the SO version for the v2.5 release,
    which missed getting bumped in v2.5.0.
  * This release also fixes an improper failure in IlmImfTest when running
    on ARMv7 and AAarch64.
  2.5.0
  * No more build-time header generation: toFloat.h, eLut.h,
    b44ExpLogTable.h, and dwaLookups.h are now ordinary header files, no
    longer generated on the fly.
  * New StdISSTream class, an "input" stringstream version of StdOSStream
  * New Matrix22 class in Imath
  * Chromaticity comparison operator now includes white (formerly ignored)
  * Various cmake fixes
  * Bug fixes for various memory leaks
  * Bug fixes for various invalid memory accesses
  * New checks to detect damaged input files
  * OpenEXR_Viewers has been deprecated, removed from the top-level
    cmake build and documentation.
- modified patches
  % 0001-Use-absolute-CMAKE_INSTALL_FULL_LIBDIR-for-libdir-in.patch (refreshed)
- modified sources
  % baselibs.conf

OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=49
This commit is contained in:
Petr Gajdos 2020-06-29 12:44:27 +00:00 committed by Git OBS Bridge
parent 742c3df9f4
commit e7ea672b17
5 changed files with 57 additions and 41 deletions

View File

@ -18,10 +18,10 @@ Fixes https://github.com/AcademySoftwareFoundation/openexr/issues/595
OpenEXR/config/CMakeLists.txt | 5 ++---
4 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/IlmBase/IlmBase.pc.in b/IlmBase/IlmBase.pc.in
index 45fc4de..1edd055 100644
--- a/IlmBase/IlmBase.pc.in
+++ b/IlmBase/IlmBase.pc.in
Index: openexr-2.5.2/IlmBase/IlmBase.pc.in
===================================================================
--- openexr-2.5.2.orig/IlmBase/IlmBase.pc.in 2020-06-14 03:26:22.000000000 +0200
+++ openexr-2.5.2/IlmBase/IlmBase.pc.in 2020-06-29 13:41:03.671230961 +0200
@@ -4,7 +4,6 @@
##
@ -30,26 +30,10 @@ index 45fc4de..1edd055 100644
libdir=@libdir@
includedir=@includedir@
libsuffix=@LIB_SUFFIX_DASH@
diff --git a/IlmBase/config/CMakeLists.txt b/IlmBase/config/CMakeLists.txt
index 508176a..e533987 100644
--- a/IlmBase/config/CMakeLists.txt
+++ b/IlmBase/config/CMakeLists.txt
@@ -71,9 +71,8 @@ if(ILMBASE_INSTALL_PKG_CONFIG)
# use a helper function to avoid variable pollution, but pretty simple
function(ilmbase_pkg_config_help pcinfile)
set(prefix ${CMAKE_INSTALL_PREFIX})
- set(exec_prefix ${CMAKE_INSTALL_BINDIR})
- set(libdir ${CMAKE_INSTALL_LIBDIR})
- set(includedir ${CMAKE_INSTALL_INCLUDEDIR})
+ set(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
+ set(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
set(LIB_SUFFIX_DASH ${ILMBASE_LIB_SUFFIX})
if(TARGET Threads::Threads)
# hrm, can't use properties as they end up as generator expressions
diff --git a/OpenEXR/OpenEXR.pc.in b/OpenEXR/OpenEXR.pc.in
index cf72f88..4df6035 100644
--- a/OpenEXR/OpenEXR.pc.in
+++ b/OpenEXR/OpenEXR.pc.in
Index: openexr-2.5.2/OpenEXR/OpenEXR.pc.in
===================================================================
--- openexr-2.5.2.orig/OpenEXR/OpenEXR.pc.in 2020-06-14 03:26:22.000000000 +0200
+++ openexr-2.5.2/OpenEXR/OpenEXR.pc.in 2020-06-29 13:41:03.671230961 +0200
@@ -4,7 +4,6 @@
##
@ -58,22 +42,19 @@ index cf72f88..4df6035 100644
libdir=@libdir@
includedir=@includedir@
OpenEXR_includedir=@includedir@/OpenEXR
diff --git a/OpenEXR/config/CMakeLists.txt b/OpenEXR/config/CMakeLists.txt
index 1ef829a..e068d2f 100644
--- a/OpenEXR/config/CMakeLists.txt
+++ b/OpenEXR/config/CMakeLists.txt
Index: openexr-2.5.2/OpenEXR/config/CMakeLists.txt
===================================================================
--- openexr-2.5.2.orig/OpenEXR/config/CMakeLists.txt 2020-06-29 13:41:03.671230961 +0200
+++ openexr-2.5.2/OpenEXR/config/CMakeLists.txt 2020-06-29 13:42:39.243805692 +0200
@@ -72,9 +72,8 @@ if(OPENEXR_INSTALL_PKG_CONFIG)
# use a helper function to avoid variable pollution, but pretty simple
function(openexr_pkg_config_help pcinfile)
set(prefix ${CMAKE_INSTALL_PREFIX})
- set(exec_prefix ${CMAKE_INSTALL_BINDIR})
- set(libdir ${CMAKE_INSTALL_LIBDIR})
- set(includedir ${CMAKE_INSTALL_INCLUDEDIR})
+ set(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
+ set(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
- set(exec_prefix "\${prefix}")
- set(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
- set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
+ set(libdir "\${exec_prefix}/${CMAKE_INSTALL_FULL_LIBDIR}")
+ set(includedir "\${prefix}/${CMAKE_INSTALL_FULL_INCLUDEDIR}")
set(LIB_SUFFIX_DASH ${OPENEXR_LIB_SUFFIX})
if(TARGET Threads::Threads)
# hrm, can't use properties as they end up as generator expressions
--
2.25.0

View File

@ -1,3 +1,3 @@
libIlmImf-2_4-24
libIlmImfUtil-2_4-24
libIlmImf-2_5-25
libIlmImfUtil-2_5-25
obsoletes "OpenEXR-<targettype> < <version>"

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Mon Jun 29 12:44:02 UTC 2020 - pgajdos@suse.com
- version update to 2.5.2
2.5.2
* Invalid input could cause a heap-use-after-free error in DeepScanLineInputFile::DeepScanLineInputFile()
* Invalid chunkCount attributes could cause heap buffer overflow in getChunkOffsetTableSize()
* Invalid tiled input file could cause invalid memory access TiledInputFile::TiledInputFile()
* OpenEXRConfig.h now correctly sets OPENEXR_PACKAGE_STRING to "OpenEXR" (rather than "IlmBase")
2.5.1
* A patch release that corrects the SO version for the v2.5 release,
which missed getting bumped in v2.5.0.
* This release also fixes an improper failure in IlmImfTest when running
on ARMv7 and AAarch64.
2.5.0
* No more build-time header generation: toFloat.h, eLut.h,
b44ExpLogTable.h, and dwaLookups.h are now ordinary header files, no
longer generated on the fly.
* New StdISSTream class, an "input" stringstream version of StdOSStream
* New Matrix22 class in Imath
* Chromaticity comparison operator now includes white (formerly ignored)
* Various cmake fixes
* Bug fixes for various memory leaks
* Bug fixes for various invalid memory accesses
* New checks to detect damaged input files
* OpenEXR_Viewers has been deprecated, removed from the top-level
cmake build and documentation.
- modified patches
% 0001-Use-absolute-CMAKE_INSTALL_FULL_LIBDIR-for-libdir-in.patch (refreshed)
- modified sources
% baselibs.conf
-------------------------------------------------------------------
Thu Apr 16 10:44:44 UTC 2020 - pgajdos@suse.com

View File

@ -19,10 +19,10 @@
# perhaps you want to build against corresponding ilmbase build
%define asan_build 0
%define debug_build 0
%define sonum 24
%global so_suffix -2_4
%define sonum 25
%global so_suffix -2_5
Name: openexr
Version: 2.4.1
Version: 2.5.2
Release: 0
Summary: Utilities for working with HDR images in OpenEXR format
License: BSD-3-Clause

3
v2.5.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5da8dff448d0c4a529e52c97daf238a461d01cd233944f75095668d6d7528761
size 27525326