- version update to 2.4.1

* Various fixes for memory leaks and invalid memory accesses
  * Various fixes for integer overflow with large images.
  * Various cmake fixes for build/install of python modules.
  * ImfMisc.h is no longer installed, since it's a private header.
- deleted patches
  - Fix-the-symlinks-creation.patch (upstreamed)

OBS-URL: https://build.opensuse.org/package/show/graphics/openexr?expand=0&rev=47
This commit is contained in:
Petr Gajdos 2020-04-16 10:57:14 +00:00 committed by Git OBS Bridge
parent 665d7c7e17
commit 742c3df9f4
5 changed files with 15 additions and 42 deletions

View File

@ -1,36 +0,0 @@
From 4e54bde78f65c0fef8a9f794aaacea07813fba09 Mon Sep 17 00:00:00 2001
From: Antonio Rojas <arojas@archlinux.org>
Date: Sat, 19 Oct 2019 09:58:10 +0200
Subject: [PATCH] Take DESTDIR into account when creating library symlinks
---
IlmBase/config/LibraryDefine.cmake | 2 +-
OpenEXR/config/LibraryDefine.cmake | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/IlmBase/config/LibraryDefine.cmake b/IlmBase/config/LibraryDefine.cmake
index 0502825f..9fb92c1c 100644
--- a/IlmBase/config/LibraryDefine.cmake
+++ b/IlmBase/config/LibraryDefine.cmake
@@ -100,7 +100,7 @@ function(ILMBASE_DEFINE_LIBRARY libname)
if(BUILD_SHARED_LIBS AND (NOT "${ILMBASE_LIB_SUFFIX}" STREQUAL ""))
set(verlibname ${CMAKE_SHARED_LIBRARY_PREFIX}${libname}${ILMBASE_LIB_SUFFIX}${CMAKE_SHARED_LIBRARY_SUFFIX})
set(baselibname ${CMAKE_SHARED_LIBRARY_PREFIX}${libname}${CMAKE_SHARED_LIBRARY_SUFFIX})
- install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir ${CMAKE_INSTALL_FULL_LIBDIR} ${CMAKE_COMMAND} -E create_symlink ${verlibname} ${baselibname})")
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir \$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_LIBDIR} ${CMAKE_COMMAND} -E create_symlink ${verlibname} ${baselibname})")
install(CODE "message(\"-- Creating symlink in ${CMAKE_INSTALL_FULL_LIBDIR} ${baselibname} -> ${verlibname}\")")
set(verlibname)
set(baselibname)
diff --git a/OpenEXR/config/LibraryDefine.cmake b/OpenEXR/config/LibraryDefine.cmake
index 6946ca94..c5b6096a 100644
--- a/OpenEXR/config/LibraryDefine.cmake
+++ b/OpenEXR/config/LibraryDefine.cmake
@@ -94,7 +94,7 @@ function(OPENEXR_DEFINE_LIBRARY libname)
if(BUILD_SHARED_LIBS AND (NOT "${OPENEXR_LIB_SUFFIX}" STREQUAL ""))
set(verlibname ${CMAKE_SHARED_LIBRARY_PREFIX}${libname}${OPENEXR_LIB_SUFFIX}${CMAKE_SHARED_LIBRARY_SUFFIX})
set(baselibname ${CMAKE_SHARED_LIBRARY_PREFIX}${libname}${CMAKE_SHARED_LIBRARY_SUFFIX})
- install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir ${CMAKE_INSTALL_FULL_LIBDIR} ${CMAKE_COMMAND} -E create_symlink ${verlibname} ${baselibname})")
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir \$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_LIBDIR} ${CMAKE_COMMAND} -E create_symlink ${verlibname} ${baselibname})")
install(CODE "message(\"-- Creating symlink in ${CMAKE_INSTALL_FULL_LIBDIR} ${baselibname} -> ${verlibname}\")")
set(verlibname)
set(baselibname)

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Apr 16 10:44:44 UTC 2020 - pgajdos@suse.com
- version update to 2.4.1
* Various fixes for memory leaks and invalid memory accesses
* Various fixes for integer overflow with large images.
* Various cmake fixes for build/install of python modules.
* ImfMisc.h is no longer installed, since it's a private header.
- deleted patches
- Fix-the-symlinks-creation.patch (upstreamed)
-------------------------------------------------------------------
Mon Feb 10 17:39:14 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -22,7 +22,7 @@
%define sonum 24
%global so_suffix -2_4
Name: openexr
Version: 2.4.0
Version: 2.4.1
Release: 0
Summary: Utilities for working with HDR images in OpenEXR format
License: BSD-3-Clause
@ -30,7 +30,6 @@ Group: Productivity/Graphics/Other
URL: http://www.openexr.com/
Source0: https://github.com/openexr/openexr/archive/v%{version}.tar.gz
Source2: baselibs.conf
Patch0: Fix-the-symlinks-creation.patch
Patch1: 0001-Use-absolute-CMAKE_INSTALL_FULL_LIBDIR-for-libdir-in.patch
BuildRequires: cmake
BuildRequires: fltk-devel
@ -116,7 +115,6 @@ This package contains documentation.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4904c5ea7914a58f60a5e2fbc397be67e7a25c380d7d07c1c31a3eefff1c92f1
size 26806627

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

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