From 3418ab2dae658c6be323d246f9433147da6bbea9c8bb2d479fb9751e1a84c5b5 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Fri, 17 Jan 2025 07:26:51 +0000 Subject: [PATCH] Update to version 3.1.12 OBS-URL: https://build.opensuse.org/package/show/graphics/Imath?expand=0&rev=20 --- .gitattributes | 23 ++++++++ .gitignore | 1 + Imath.changes | 139 +++++++++++++++++++++++++++++++++++++++++++++++++ Imath.spec | 94 +++++++++++++++++++++++++++++++++ baselibs.conf | 1 + v3.1.11.tar.gz | 3 ++ v3.1.12.tar.gz | 3 ++ 7 files changed, 264 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Imath.changes create mode 100644 Imath.spec create mode 100644 baselibs.conf create mode 100644 v3.1.11.tar.gz create mode 100644 v3.1.12.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Imath.changes b/Imath.changes new file mode 100644 index 0000000..e644d4d --- /dev/null +++ b/Imath.changes @@ -0,0 +1,139 @@ +------------------------------------------------------------------- +Fri Jan 17 07:04:20 UTC 2025 - ming li + +- update to 3.1.12: + * Support for compiling half.h with hip-runtime-amd + * Also, the v3.1.11 release had improper versioning in its cmake + and pkgconf configuration files. This is now fixed. + +------------------------------------------------------------------- +Mon Jul 1 18:33:22 UTC 2024 - Dirk Müller + +- update to 3.1.11: + * Fix a problem where downstream projects using Imath would build + python bindings even if they weren't requested. + * Fix for missing `std::bit_cast` + * Fix missing/necessary use of IMATH_HOSTDEVICE + * IMATH_INSTALL_PKG_CONFIG is now on by default, even on Windows + * Fix calling default constructor by uniform init in TypeTraits + * Fix redundant PYIMATH_EXPORTS causing compile issues on + Windows Clang + * Update to SO versioning policy: + * succ()/pred() now use std::nextafter(). + * Expand epsilon bounds for m44x pyImath test. + * Rename "docs" to "website". + * Add missing copyright/license identifiers. + +------------------------------------------------------------------- +Tue Jun 27 15:06:52 UTC 2023 - Dirk Müller + +- update to 3.1.9: + * Fix Heap-buffer-overflow in internal_huf_decompress + * Support for DWA compression in OpenEXRCore + * Fix for threadpool deadlocks during shutdown on Windows + * Stack-buffer-overflow in DwaCompressor_readChannelRules + +------------------------------------------------------------------- +Tue Dec 6 20:47:37 UTC 2022 - Dirk Müller + +- update to 3.1.6: + * Patch release with miscellaneous bug/doc/build fixes. + * [#269] fix memory leak in V3fArrayFromBuffer + * [#268] Add for int64_t + * [#263] Initialize x in testRoots.cpp:solve() to suppress compiler + warning + * [#262] Fix gcc compiler warning in testFun.cpp + * [#261] Test return value of extractSHRT to avoid uninitialized reference + * [#260] Fix example code so it compiles as is + * [#259] Cuda safety in several headers + * [#256] Fix markdown and typos in README.md + * [#255] Do not warn if half.h has already being included + * [#250] Fix compiler warnings on windows + * [#249] Remove irrelevant cvs ignore files + * [#248] Update sphinx version + +------------------------------------------------------------------- +Tue Jun 21 20:25:38 UTC 2022 - Dirk Müller + +- update to 3.1.5: + * Update CI workflow matrix for VFX-CY2022 + * Use _WIN32 instead of _MSC_VER to fix mingw build + * Fix 32-bit x86 build failure with 16c instructions + * Move numeric_limits specializations into half.h + * Change references to "master" branch to "main" + * Remove some simple typos in the code + * Added missing check _M_IX86 or _M_X64 when using __lzcnt. + * SolveNormalizedCubic fix to return proper real root + * Add docs target only if not a subproject + * Fix docs race condition and make installation optional + * Remove dead PyImath code and references to ilmbase + * Use equalWithAbsError instead of equal operator for float + * Fix sphinx warnings and man page filenames + * Adding missing stdexcept header + * for better SIMD auto-vectorization + * Remove extra project layer for the pyimath code + * Successor/predecessor functions use isnan() and isinf() + * Fix python imath export + * Cuda safety fixes + * Sort Imath source files + * Fix formatting in release notes + +------------------------------------------------------------------- +Mon Dec 13 11:36:42 UTC 2021 - pgajdos@suse.com + +- version update to 3.1.3 + * Patch release with miscellaneous fixes + * Fix undefined access of a vector when empty + * Require sphinx 4.0.3 + * Build sphinx/doxygen docs with CMake + * Use PYIMATH_OVERRIDE_PYTHON_INSTALL_DIR to specify destination python modules + * Guard `__has_attribute` for compilers that don't support it + * Cuda safety fixes + * Replace stray Imath:: with IMATH_INTERNAL_NAMESPACE:: + +------------------------------------------------------------------- +Thu Aug 19 10:17:27 UTC 2021 - pgajdos@suse.com + +- Imath-devel obsoletes ilbase-devel + (https://build.opensuse.org/request/show/912661#comment-1504935) + +------------------------------------------------------------------- +Tue Aug 17 11:31:04 UTC 2021 - pgajdos@suse.com + +- be more precise in %files section + (https://build.opensuse.org/request/show/911960#comment-1503939) + +------------------------------------------------------------------- +Mon Aug 16 11:58:58 UTC 2021 - pgajdos@suse.com + +- do not obsolete/provide ilmbase, Imath provides just part of + functionality of former ilmbase + +------------------------------------------------------------------- +Sat Aug 14 22:04:53 UTC 2021 - Jan Engelhardt + +- Trim conjecture from description. + +------------------------------------------------------------------- +Fri Aug 13 09:52:42 UTC 2021 - pgajdos@suse.com + +- fix baselibs.conf +- modified sources + % baselibs.conf + +------------------------------------------------------------------- +Tue Aug 10 08:46:34 UTC 2021 - pgajdos@suse.com + +- version update to 3.1.2 +- deleted patches + - Imath-pkgconfig-fix-libdir.patch (upstreamed) + +------------------------------------------------------------------- +Fri Apr 9 11:19:34 UTC 2021 - pgajdos@suse.com + +- initial version 3.0.1, splitted from openexr +- added patches + fix https://github.com/AcademySoftwareFoundation/openexr/issues/595 + + Imath-pkgconfig-fix-libdir.patch (splitted from openexr's + 0001-Use-absolute-CMAKE_INSTALL_FULL_LIBDIR-for-libdir-in.patch) + diff --git a/Imath.spec b/Imath.spec new file mode 100644 index 0000000..0c7d6fe --- /dev/null +++ b/Imath.spec @@ -0,0 +1,94 @@ +# +# spec file for package Imath +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global so_suffix -3_1 +%define sonum 29 +Name: Imath +Version: 3.1.12 +Release: 0 +Summary: C++ and Python Library of 2D and 3D Vector, Matrix, and Math Operations +License: BSD-3-Clause +Group: Development/Libraries/C and C++ +URL: https://www.openexr.com/ +Source0: https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v%{version}.tar.gz +Source2: baselibs.conf +BuildRequires: cmake >= 3.12 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +%description +Imath is a library for the C++ representation of 2D and 3D vectors +and matrices and other mathematical objects, functions, and data +types common in computer graphics applications, including the “half” +16-bit floating-point type. + +%package devel +Summary: Base library for ILM software (OpenEXR) +License: BSD-3-Clause AND GPL-2.0-or-later +Group: Development/Libraries/C and C++ +Requires: libImath%{so_suffix}-%{sonum} = %{version} +Requires: libstdc++-devel +# provides ilmbase-devel partly only; openexr-devel requires Imath-devel +# and provides/obsoletes it +Obsoletes: ilmbase-devel < 3.0 + +%description devel +Devel files for Imath, which is the base library for OpenEXR. + +%package -n libImath%{so_suffix}-%{sonum} +Summary: Vector/matrix library for OpenEXR +License: BSD-3-Clause +Group: System/Libraries + +%description -n libImath%{so_suffix}-%{sonum} +%{summary}. + +%prep +%setup -q + +%build +%cmake +%make_build + +%install +%cmake_install + +%check +# https://github.com/openexr/openexr/issues/570 +%ifnarch i586 +export LD_LIBRARY_PATH="$PWD/build/src/Imath:$LD_LIBRARY_PATH" +%ctest +%endif + +%post -n libImath%{so_suffix}-%{sonum} -p /sbin/ldconfig +%postun -n libImath%{so_suffix}-%{sonum} -p /sbin/ldconfig + +%files devel +%doc CHANGES.md CODE_OF_CONDUCT.md CONTRIBUTING.md CONTRIBUTORS.md README.md SECURITY.md +%license LICENSE.md +%{_includedir}/Imath +%{_libdir}/libImath.so +%{_libdir}/libImath%{so_suffix}.so +%{_libdir}/pkgconfig/Imath.pc +%dir %{_libdir}/cmake/Imath/ +%{_libdir}/cmake/Imath/*.cmake + +%files -n libImath%{so_suffix}-%{sonum} +%{_libdir}/libImath%{so_suffix}.so.%{sonum}* + +%changelog diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..39f7161 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libImath-3_1-29 diff --git a/v3.1.11.tar.gz b/v3.1.11.tar.gz new file mode 100644 index 0000000..57ee63e --- /dev/null +++ b/v3.1.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9057849585e49b8b85abe7cc1e76e22963b01bfdc3b6d83eac90c499cd760063 +size 596585 diff --git a/v3.1.12.tar.gz b/v3.1.12.tar.gz new file mode 100644 index 0000000..dd20de0 --- /dev/null +++ b/v3.1.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a1bc258f3149b5729c2f4f8ffd337c0e57f09096e4ba9784329f40c4a9035da +size 604232