Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openexr for openSUSE:Factory checked in at 2025-09-26 22:24:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openexr (Old) and /work/SRC/openSUSE:Factory/.openexr.new.11973 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openexr" Fri Sep 26 22:24:04 2025 rev:65 rq:1306507 version:3.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/openexr/openexr.changes 2025-08-06 14:31:56.084625409 +0200 +++ /work/SRC/openSUSE:Factory/.openexr.new.11973/openexr.changes 2025-09-26 22:24:40.298388285 +0200 @@ -1,0 +2,25 @@ +Fri Sep 19 15:41:52 UTC 2025 - Marcus Rueckert <[email protected]> + +- Add ojph-0.23.patch to fix building against openjph >= 0.23.0 + https://github.com/AcademySoftwareFoundation/openexr/issues/2130 +- fix upstream URL + +------------------------------------------------------------------- +Wed Sep 10 10:05:27 UTC 2025 - [email protected] + +- version update to 3.4.0 + * Additional compression option to the OpenEXR file format for + lossless compression with High Throughput JPEG-2000 (HTJ2K). + * New colorInteropID standard attribute. + * New bytes attribute type. + * TBB as a global thread provider. + * Using openexr via cmake add_subdirectory now works properly. + * The Python module now allows an empty part name for a single-part file + * The header_only option for Python module's OpenEXR.File now works properly. + +------------------------------------------------------------------- +Wed Aug 6 11:06:45 UTC 2025 - Marcus Rueckert <[email protected]> + +- Fix build on code 15 by forcing gcc 14 + +------------------------------------------------------------------- Old: ---- v3.3.5.tar.gz New: ---- ojph-0.23.patch v3.4.0.tar.gz ----------(New B)---------- New: - Add ojph-0.23.patch to fix building against openjph >= 0.23.0 https://github.com/AcademySoftwareFoundation/openexr/issues/2130 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openexr.spec ++++++ --- /var/tmp/diff_new_pack.1vaox6/_old 2025-09-26 22:24:41.598443012 +0200 +++ /var/tmp/diff_new_pack.1vaox6/_new 2025-09-26 22:24:41.602443180 +0200 @@ -1,7 +1,7 @@ # # spec file for package openexr # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,23 +19,30 @@ %define prjname openexr # perhaps you want to build against corresponding Imath build %define debug_build 0 -%define sonum 32 -%global so_suffix -3_3 +%global so_suffix -3_4 +%define sonum 33 +%if 0%{?suse_version} == 1500 +%global force_gcc_version 14 +%endif + Name: openexr -Version: 3.3.5 +Version: 3.4.0 Release: 0 Summary: Utilities for working with HDR images in OpenEXR format License: BSD-3-Clause Group: Development/Libraries/C and C++ URL: https://www.openexr.com/ -Source0: https://github.com/openexr/openexr/archive/v%{version}.tar.gz +Source0: https://github.com/AcademySoftwareFoundation/openexr/archive/v%{version}.tar.gz Source2: baselibs.conf +Patch1: ojph-0.23.patch BuildRequires: cmake >= 3.12 BuildRequires: freeglut-devel -BuildRequires: gcc-c++ +BuildRequires: gcc%{?force_gcc_version} +BuildRequires: gcc%{?force_gcc_version}-c++ BuildRequires: pkgconfig BuildRequires: pkgconfig(Imath) BuildRequires: pkgconfig(libdeflate) +BuildRequires: pkgconfig(openjph) BuildRequires: pkgconfig(zlib) Obsoletes: OpenEXR <= 1.6.1 Provides: OpenEXR = %{version} @@ -150,6 +157,10 @@ %autosetup -p1 %build +%if 0%{?force_gcc_version} +export CC="gcc-%{?force_gcc_version}" +export CXX="g++-%{?force_gcc_version}" +%endif export PTHREAD_LIBS="-lpthread" %if %{debug_build} export CXXFLAGS="%{optflags} -O0" ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.1vaox6/_old 2025-09-26 22:24:41.682446547 +0200 +++ /var/tmp/diff_new_pack.1vaox6/_new 2025-09-26 22:24:41.698447221 +0200 @@ -1,6 +1,6 @@ -libOpenEXR-3_3-32 -libOpenEXRCore-3_3-32 -libOpenEXRUtil-3_3-32 -libIlmThread-3_3-32 -libIex-3_3-32 +libOpenEXR-3_4-33 +libOpenEXRCore-3_4-33 +libOpenEXRUtil-3_4-33 +libIlmThread-3_4-33 +libIex-3_4-33 ++++++ ojph-0.23.patch ++++++ Index: openexr-3.4.0/cmake/OpenEXRSetup.cmake =================================================================== --- openexr-3.4.0.orig/cmake/OpenEXRSetup.cmake +++ openexr-3.4.0/cmake/OpenEXRSetup.cmake @@ -280,6 +280,9 @@ if (NOT OPENEXR_FORCE_INTERNAL_OPENJPH) endif() endif() endif() +if(openjph_VERSION VERSION_GREATER_EQUAL "0.23.0") + add_compile_definitions("OPENJPH_NEWER_THAN_0_23") +endif() if(NOT EXR_OPENJPH_LIB) # Using internal OpenJPH Index: openexr-3.4.0/src/lib/OpenEXRCore/internal_ht.cpp =================================================================== --- openexr-3.4.0.orig/src/lib/OpenEXRCore/internal_ht.cpp +++ openexr-3.4.0/src/lib/OpenEXRCore/internal_ht.cpp @@ -7,12 +7,21 @@ #include <string> #include <fstream> +#ifdef OPENJPH_NEWER_THAN_0_23 +#include <openjph/ojph_arch.h> +#include <openjph/ojph_file.h> +#include <openjph/ojph_params.h> +#include <openjph/ojph_mem.h> +#include <openjph/ojph_codestream.h> +#include <openjph/ojph_message.h> +#else #include <ojph_arch.h> #include <ojph_file.h> #include <ojph_params.h> #include <ojph_mem.h> #include <ojph_codestream.h> #include <ojph_message.h> +#endif #include "openexr_decode.h" #include "openexr_encode.h" ++++++ v3.3.5.tar.gz -> v3.4.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/openexr/v3.3.5.tar.gz /work/SRC/openSUSE:Factory/.openexr.new.11973/v3.4.0.tar.gz differ: char 13, line 1
