Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package OpenImageIO for openSUSE:Factory checked in at 2022-11-05 14:47:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/OpenImageIO (Old) and /work/SRC/openSUSE:Factory/.OpenImageIO.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "OpenImageIO" Sat Nov 5 14:47:05 2022 rev:32 rq:1033672 version:2.4.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/OpenImageIO/OpenImageIO.changes 2022-10-22 14:13:41.112823053 +0200 +++ /work/SRC/openSUSE:Factory/.OpenImageIO.new.2275/OpenImageIO.changes 2022-11-05 14:47:11.502741760 +0100 @@ -1,0 +2,81 @@ +Fri Nov 4 22:01:41 UTC 2022 - Stefan Br??ns <stefan.bru...@rwth-aachen.de> + +- update to 2.4.5.0 + * oiiotool: new commands --iccread reads a named file and adds + its contents as the ICCProfile metadata of the top image, + --iccwrite saves the ICCProfile metadata of the top file to a + named file. #3550 TIFF, JPEG, JPEG-2000, PNG, and PSD files + containing ICC profiles now extract and report extra metadata + related to aspects of those profiles. #3554 + * Python: support int8[] metadata and retrieving the ICCPorofile + metadata. #3556 + * oiiotool: New expression syntax for retrieving metadata + {TOP[foo]} is similar to the existing {TOP.foo}, if there is no + foo metadata found, the former evaluates to an empty string, + whereas the latter is an error. #3619 + * Strutil: new utf16_to_utf8(const std::u16string&) and + Strutil::utf8_to_utf16wstring(). #3553 + * ustring: make std::hash work for ustring, add operator< for + ustringhash, add from_hash() to ustringhash, make ustringhash + == and != be constexpr for C++17 and beyond. #3577 Custom fmt + formatter for ustringhash that prints the string rather than + the hash. #3614 + * Build: the version number is now a CMake cache variable that + can be overridden (caveat emptor). #3549 + * Build/security: New CMake cache variable FORTIFY_SOURCE, if + enabled, builds with the specified gcc _FORTIFY_SOURCE option + defined. This may be desirable for people deploying OIIO in + security-sensitive environments. #3575 + * CI: testing now includes using undefined behavior + sanitizer. #3565 + * Windows: protect against OpenEXR thread deadlock on + shutdown. #3582 + * Windows: Work around a static destruction order issue. #3591 + * Windows: define NOGDI to keep the inclusion of windows.h from + adding as many unneeded symbols. #3596 + * MinGW: fix incorrect symbol visibility issue for ImageBuf + iterators. #3578 + * ARM: improve SIMD operations for ARM NEON. #3599 + * Docs: New RELEASING.md documents our releasing procedures. + #3564 #3580 + * Docs: Better Windows build instructions in INSTALL.md. #3602 + * Fix missing OIIO::getattribute support for limits:channels and + limits:imagesize_MB. #3617 + * BMP: fix reading 16bpp images. #3592 + * BMP: protect against corrupt pixel coordinates. + (TALOS-2022-1630, CVE-2022-38143) #3620 + * DDS: fix alpha/luminance files, better testing. #3581 + * DDS: optimize loading of compressed images, improves 3-5x. + #3583 #3584 + * DDS: Fix crashes for cubemap files when a cube face was not + present, and check for invalid bits per pixel. + (TALOS-2022-1634, CVE-2022-41838) (TALOS-2022-1635, + CVE-2022-41999) #3625 + * HDR: fix a 8x (!) read performance regression for HDR files + that was introduced in OIIO in 2.4. #3588 On top of that, + speed up by another 4x beyond what we ever did before by + speeding up the RGBE->float conversion. #3590 + * PNG: fix memory leaks when errors take an early exit. + #3543 #3544 + * PSD: fix a PSD read error on ARM architecture. #3589 + * PSD: protect against corrupted embedded thumbnails. + (TALOS-2022-1626, CVE-2022-41794) #3629 + * RAW: additional color metadata is now recognized: pre_mul, + cam_mul, cam_xyz, rgb_cam. #3561 #3569 #3572 + * RLA: fix potential buffer overrun. (TALOS-2022-1629, + CVE-2022-36354) #3624 + * Targa: string overflow safety. (TALOS-2022-1628, + CVE-2022-4198) #3622 + * TIFF/JPEG/PSD: Fix EXIF bugs where corrupted exif blocks could + overrun memory. (TALOS-2022-1626, CVE-2022-41794) + (TALOS-2022-1632, CVE-2022-41684) #3627 + * TIFF: guard against corrupt files with buffer overflows. + (TALOS-2022-1627, CVE-2022-41977) #3628 + * TIFF: guard against buffer overflow for certain CMYK files. + (TALOS-2022-1633, CVE-2022-41639) (TALOS-2022-1643, + CVE-2022-41988) #3632 +- Fix incorrect SOVERSION setup, add + Fix-OIIO_SUPPORTED_RELEASE.patch +- Setup path to oiio-images correctly for CMake + +------------------------------------------------------------------- Old: ---- oiio-2.4.4.2.tar.gz New: ---- Fix-OIIO_SUPPORTED_RELEASE.patch oiio-2.4.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenImageIO.spec ++++++ --- /var/tmp/diff_new_pack.C0IksR/_old 2022-11-05 14:47:13.766754966 +0100 +++ /var/tmp/diff_new_pack.C0IksR/_new 2022-11-05 14:47:13.806755199 +0100 @@ -35,7 +35,7 @@ %define so_ver 2_4 %define major_minor_ver 2.4 Name: OpenImageIO -Version: 2.4.4.2 +Version: 2.4.5.0 Release: 0 Summary: Library for Reading and Writing Images License: BSD-3-Clause @@ -44,6 +44,8 @@ Source0: https://github.com/OpenImageIO/oiio/archive/refs/tags/v%{version}.tar.gz#/oiio-%{version}.tar.gz # this contains the actual test images, only used during build Source1: oiio-images-%{images_ts}.tar.xz +# PATCH-FIX-UPSTREAM -- Rebased https://patch-diff.githubusercontent.com/raw/OpenImageIO/oiio/pull/3651.patch#/Fix-OIIO_SUPPORTED_RELEASE.patch +Patch0: Fix-OIIO_SUPPORTED_RELEASE.patch # NOTE: Please don't uncomment a build requirement unless you have submitted the package to factory and it exists #BuildRequires: Field3D-devel BuildRequires: cmake >= 3.12 @@ -171,15 +173,18 @@ This package contains python bindings for OpenImageIO. %prep -%setup -q -n oiio-%{version} -a 1 +%setup -q -n oiio-%{version} -b 1 %autopatch -p1 +# CMake looks for images at <CMAKE_BINARY_DIR>/testsuite/oiio-images +mkdir -p %{__builddir}/testsuite +ln -sf %{_builddir}/oiio-images-%{images_ts} %{__builddir}/testsuite/oiio-images # Make sure that bundled libraries are not used rm -f src/include/pugiconfig.hpp \ src/include/pugixml.hpp rm -rf src/include/tbb/ -for i in $(grep -rl "%{_bindir}/env python$"); do sed -i '1s@^#!.*@#!%{_bindir}/python3@' ${i}; done +find . -iname \*.py -print -exec sed -i '1s@^#!.*@#!%{_bindir}/python3@' '{}' \; %build %cmake \ @@ -225,8 +230,7 @@ %fdupes -s %{buildroot} %check -# Make sure, testsuite can find required test images and fonts -ln -sf $(pwd)/oiio-images-%{images_ts} build/testsuite/oiio-images +# Make sure testsuite can find required fonts mkdir -p ~/fonts ln -sf $(pwd)/src/fonts/Droid_Serif/DroidSerif.ttf ~/fonts/DroidSerif.ttf ln -sf $(pwd)/src/fonts/Droid_Sans/DroidSans.ttf ~/fonts/DroidSans.ttf ++++++ Fix-OIIO_SUPPORTED_RELEASE.patch ++++++ >From 2119202ea35b97251d580fe361fa24fde42326af Mon Sep 17 00:00:00 2001 From: Larry Gritz <l...@larrygritz.com> Date: Fri, 4 Nov 2022 14:00:58 -0700 Subject: [PATCH] CMake: use of `${PROJECT_NAME}` must be after call to project() --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63335922a..25a4cb86e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,11 +4,6 @@ cmake_minimum_required (VERSION 3.12) set (OpenImageIO_VERSION "2.4.5.0" CACHE STRING "Version") -set (PROJECT_VERSION_RELEASE_TYPE "" CACHE STRING - "Build type, for example: dev, beta2, RC1 (empty string for normal release)") -option (${PROJECT_NAME}_SUPPORTED_RELEASE - "Set ON for supported release branch, OFF for master" ON) - project (OpenImageIO VERSION ${OpenImageIO_VERSION} HOMEPAGE_URL "https://openimageio.org" LANGUAGES CXX C) @@ -17,8 +12,12 @@ project (OpenImageIO VERSION ${OpenImageIO_VERSION} set (PROJ_NAME OIIO) # short name, caps string (TOLOWER ${PROJ_NAME} PROJ_NAME_LOWER) # short name lower case string (TOUPPER ${PROJ_NAME} PROJ_NAME_UPPER) # short name upper case +set (PROJECT_VERSION_RELEASE_TYPE "dev" CACHE STRING + "Build type, for example: dev, beta2, RC1 (empty string for normal release)") set (${PROJECT_NAME}_VERSION_RELEASE_TYPE ${PROJECT_VERSION_RELEASE_TYPE}) set (PROJECT_AUTHORS "Contributors to the OpenImageIO project") +option (${PROJECT_NAME}_SUPPORTED_RELEASE + "Set ON for supported release branch, OFF for master" ON) if (${PROJECT_NAME}_SUPPORTED_RELEASE) set (${PROJECT_NAME}_DEV_RELEASE OFF) else () @@ -67,6 +66,7 @@ message (STATUS "Project build dir = ${CMAKE_BINARY_DIR}") message (STATUS "Project install prefix = ${CMAKE_INSTALL_PREFIX}") message (STATUS "Configuration types = ${CMAKE_CONFIGURATION_TYPES}") message (STATUS "Build type = ${CMAKE_BUILD_TYPE}") +message (STATUS "Supported release = ${${PROJECT_NAME}_SUPPORTED_RELEASE}") # Make the build area layout look a bit more like the final dist layout set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) ++++++ oiio-2.4.4.2.tar.gz -> oiio-2.4.5.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/OpenImageIO/oiio-2.4.4.2.tar.gz /work/SRC/openSUSE:Factory/.OpenImageIO.new.2275/oiio-2.4.5.0.tar.gz differ: char 118, line 2