SHA256
1
0
forked from pool/OpenImageIO

44 Commits

Author SHA256 Message Date
9b67b18400 Accepting request 1325097 from graphics
OBS-URL: https://build.opensuse.org/request/show/1325097
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=77
2026-01-03 16:26:38 +00:00
5b6dcdf496 - Update to 3.1.9.0
- Color management improvements:
    - Auto convert between oiio:ColorSpace and CICP attributes in
      I/O #4964 (by Brecht Van Lommel)
    - exr: Write OpenEXR colorInteropID metadata based on
      oiio:ColorSpace #4967 (by Brecht Van Lommel)
    - jpeg-xl: CICP read and write support for JPEG-XL #4968 (by
      Brecht Van Lommel)
    - jpeg-xl: ICC read and write for JPEG-XL files (issue 4649)
      #4905 (by shanesmith-dwa)
  - png: We were not correctly suppressing hint metadata #4983
  - sgi: Implement RLE encoding support for output #4990 (by Jesse
    Yurkovich)
  - webp: Allow out-of-order scanlines when writing webp #4973 (by
    Pavan Madduri)
  - fix/IBA: IBA::compare_Yee() accessed the wrong channel #4976
    (by Pavan Madduri)
  - perf/filesystem.h: Speedup to detect the existence of files on
    Windows #4977 (by JacksonSun-adsk)
  - ci: Address tight disk space on GHA runners #4974
  - ci: Optimize install_homebrew_deps by coalescing installs #4975
  - ci: Build_Ptex.bash should build Ptex using C++17 #4978
  - ci: Unbreak CI by adjusting Ubuntu installs #4981
  - ci: Test against libraw 0.21.5 #4988
  - docs: Fix missing docs for OIIO:attribute() and
    OIIO::getattribute() #4987

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=186
2026-01-02 10:41:01 +00:00
53be5a1d22 Accepting request 1320759 from graphics
OBS-URL: https://build.opensuse.org/request/show/1320759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=76
2025-12-02 12:19:51 +00:00
5a0e04960e - Update to 3.1.8.0
- exif: Support EXIF 3.0 tags #4961
  - jpeg: Fix wrong pointers/crashing when decodng CMYK jpeg files
    #4963
  - openexr: Improve attribute translation rules #4946
  - openexr: ACES container writes colorInteropId instead of
    colorInteropID #4966 (by Brecht Van Lommel)
  - color mgmt: Fix some legacy 'Linear' color references #4959
  - imagebuf: Fix ImageBuf::set_pixels() bug, didn't consider roi =
    All #4949
  - tests: Image_span_test reduce benchmark load for debug and CI
    renders #4951
  - build: Type warning in assertion in jpeg2000output.cpp #4952
  - build: Disable LERC in libTIFF local build script #4957 (by LI
    JI)
  - ci: Fix broken ci, debug and static cases, bump some latest
    #4954
  - ci: Unbreak icc/icx CI #4958
  - admin: Update some license notices #4955

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=184
2025-12-01 15:02:05 +00:00
31bc9007ec Accepting request 1315267 from graphics
OBS-URL: https://build.opensuse.org/request/show/1315267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=75
2025-11-03 17:55:55 +00:00
50b0dc4d09 - Update to 3.1.7.0
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=182
2025-11-03 10:27:33 +00:00
b297b811a6 Accepting request 1314918 from graphics
OBS-URL: https://build.opensuse.org/request/show/1314918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=74
2025-11-01 22:34:45 +00:00
0c001c763b - disable the testsuite on 15.x as the python version is too old
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=180
2025-10-31 14:53:10 +00:00
0e92a8e827 Accepting request 1312053 from graphics
OBS-URL: https://build.opensuse.org/request/show/1312053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=73
2025-10-17 15:27:37 +00:00
0d827b1c03 - Gate imageviewer files as needed
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=178
2025-10-17 13:55:55 +00:00
a449f3131e Accepting request 1309186 from graphics
OBS-URL: https://build.opensuse.org/request/show/1309186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=72
2025-10-06 16:09:05 +00:00
e418942e8c This will fix the OIIO related breakage of blender
- Update to 3.1.6.2 
  - oiioversion.h: Restore definition of OIIO_NAMESPACE_USING macro
    #4920

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=176
2025-10-06 07:14:58 +00:00
30c88ab161 Accepting request 1308823 from graphics
OBS-URL: https://build.opensuse.org/request/show/1308823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=71
2025-10-03 13:45:56 +00:00
611e287b9c - Ensure that we get the full ffmpeg and not the mini-devel to have
the testsuite pass
  https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4919
  
  If we want to keep the mini package for the library, we need to
  split out a testsuite multibuild flavor.

- Update to 3.1.6.1
  - New image file support: Ultra HDR (HDR images in JPEG
    containers).
  - oiiotool new commands: --layersplit, --pastemeta, --demosaic,
    --create-dir and new expression expansion tokens: IS_CONSTANT,
    IS_BLACK, SUBIMAGES.
  - New IBA image processing functions: scale(), demosaic().
  - New 2-level namespace scheme that we hope will make it possible
    in the future for our annual releases to NOT need to break
    backward ABI compatibility.
  - Support in Python for ImageBuf._repr_png_ method allows use of
    OIIO inside Jupyter Notebooks to display computed images.
  - Color management improvements: Conform to Color Interchange
    Forum and OpenEXR new conventions for naming and specifying
    color spaces. PNG, HEIC, and ffmpeg/video files now support
    reading CICP metadata.
  For all the details see:
  https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.6.1

- Update to 3.0.11.0
  - oiiotool: Allow easy splitting output of subimages by name
    #4874
  - webp: Support reading/writing the ICCProfile attribute for WepP

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=174
2025-10-03 08:42:34 +00:00
c81ee8ed6f Accepting request 1305348 from graphics
OBS-URL: https://build.opensuse.org/request/show/1305348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=70
2025-09-17 14:44:40 +00:00
9979916b59 - Update to 3.0.10.1
- ci: Fix broken python wheel building #4886 #4855 (by Zach
    Lewis)
  - deps: Several fixes to build against OpenEXR 3.4 and OpenJPH
    build related fixes #4875

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=172
2025-09-17 10:50:07 +00:00
666e0173d1 Accepting request 1302550 from graphics
OBS-URL: https://build.opensuse.org/request/show/1302550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=69
2025-09-03 19:08:13 +00:00
4330965af7 - Update to 3.0.10.0
- exr: Support for OpenEXR 3.4's new compression types for HTJ2K
    #4871 (by Todica Ionut)
  - deps: Ffmpeg 8 support #4870
  - ci: Add a VFX Platform 2026 CI job #4856
  - ci: Bump webp and openexr for "latest versions" test #4861

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=170
2025-09-03 08:37:39 +00:00
5445b780dc Accepting request 1298368 from graphics
OBS-URL: https://build.opensuse.org/request/show/1298368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=68
2025-08-08 13:13:50 +00:00
11955aae62 - Update to 3.0.9.1
- deps: C++23 support #4844
  - deps: Adapt to libheif 1.20.2 #4851 (by toge)

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=168
2025-08-08 10:52:06 +00:00
036fadf2e6 Accepting request 1297658 from graphics
OBS-URL: https://build.opensuse.org/request/show/1297658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=67
2025-08-05 12:22:39 +00:00
b830f66598 - Update to 3.0.9.0
- maketx: Add flags to increase feature parity with txmake #4841
    (by Scott Milner)
  - perf: Speed up maketx --envlatl when multithreaded by over 10x.
    #4825
  - perf: Speed up OpenEXR non-core header read time #4832
  - oiiotool: Allow thread control for --parallel-frames #4818
  - ImageInput: Incorrect IOProxy logic related to valid_file #4839
  - python: Got strides wrong passing 2D numpy pixel array #4843
  - ffmpeg: Replace deprecated and soon removed avcodec_close with
    avcodec_free_context #4837 (by Vlad Erium)
  - build/python: For python stub generation, lock pybind11 to
    pre-3.0 #4831
  - build: Fix typo related to finding ccache #4833
  - build: PNG auto-build improvements #4835
  - build: Propagate CMAKE_MSVC_RUNTIME_LIBRARY #4842
  - build: Update jpeg2000input.cpp to include cstdarg #4836 (by
    Peter Kovář)
  - ci: Bump 'latest releases' tests to use pybind11 3.0.0 #4828
  - (docs): Correct docs and type of "resident_memory_used_MB"
    attribute #4824
  - (admin): Update SECURITY to reflect that 2.5 only gets critical
    fixes now #4829

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=166
2025-08-05 08:32:45 +00:00
73109430d4 Accepting request 1295801 from graphics
OBS-URL: https://build.opensuse.org/request/show/1295801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=66
2025-07-26 11:41:18 +00:00
26a9e7394e - Relicense code under Apache 2.0 (#3926)
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=164
2025-07-25 15:26:08 +00:00
77da6b5493 Accepting request 1293797 from graphics
OBS-URL: https://build.opensuse.org/request/show/1293797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=65
2025-07-17 15:18:04 +00:00
f1e7e28342 - Update to 3.0.8.1
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=162
2025-07-16 12:20:29 +00:00
b42dcd68cf Accepting request 1291027 from graphics
OBS-URL: https://build.opensuse.org/request/show/1291027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=64
2025-07-07 14:13:23 +00:00
366644f8d5 - update to 2.5.19.0
- build: Fixes to build against libheif 1.20 #4822 (by Rui Chen)
- drop 06860e2d5b71d614e8878d738ea27d671be2994e.patch

- Fix build with libheif 1.20
  https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4822
  Adds 06860e2d5b71d614e8878d738ea27d671be2994e.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=160
2025-07-07 11:14:59 +00:00
bf08591f20 Accepting request 1254209 from graphics
OBS-URL: https://build.opensuse.org/request/show/1254209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=63
2025-03-19 21:34:19 +00:00
8d21adc904 - partially revert the previous change:
so why are man pages behind the python bindings? because the
  CMakeLists.txt only renders man pages when python is enabled

- Fix build on aarch64 (where imageviewer is disabled)

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=158
2025-03-18 17:51:17 +00:00
fa2d57e755 Accepting request 1252029 from graphics
OBS-URL: https://build.opensuse.org/request/show/1252029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=62
2025-03-11 19:46:34 +00:00
3835d7c416 - Fix build on aarch64 (where imageviewer is disbaled)
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=156
2025-03-11 11:15:27 +00:00
17d973e53a Accepting request 1248215 from graphics
OBS-URL: https://build.opensuse.org/request/show/1248215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=61
2025-02-25 15:47:41 +00:00
da905eeec1 - disable python and imageviewer on leap
- on Leap use a newer libboost for getting blender to work

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=154
2025-02-24 16:59:31 +00:00
135514f7e1 Accepting request 1245070 from graphics
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1245070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=60
2025-02-11 20:30:16 +00:00
4afc9b009a - Port the fonts handling solution from the OpenImageIO-3 package
to this package and also use OPENIMAGEIO_FONTS here:
  https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615#issuecomment-2629490500

- cleanup the %check section after the the discussion in
  https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615
  - symlink all fonts to ~abuild/fonts
  - minimize disabled tests list and document why they are filtered
    out

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=152
2025-02-06 17:23:58 +00:00
12b31aeefb Accepting request 1235212 from graphics
OBS-URL: https://build.opensuse.org/request/show/1235212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=59
2025-01-07 19:52:16 +00:00
4849af45ca not sure if those first 2 entries could classify as security
- update to 2.5.18.0
  - exr: Avoid integer overflow for large deep exr slice strides
    #4542
  - pnm: Broken pnm files with invalid resolution #4561
  - build: Use target_compile_options (fixes a LibRaw build issue)
    #4556 (by Don Olmstead)
  - testing: Add new ref output for libheif updates #4525
  - ci: Increased the macos timeout slightly to fix spurious
    failures #4526
  - ci: Fix broken CI for ASWF 2021 and 2022 containers #4543
  - docs: Clarify 'copy_image' example #4522
  - docs: Update some old links to our new vanity URLs #4533

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=150
2025-01-06 14:33:44 +00:00
365c0f8121 Accepting request 1224226 from graphics
- Downgrade back to 2.5.17.0

OBS-URL: https://build.opensuse.org/request/show/1224226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=58
2024-11-15 14:41:58 +00:00
77c98f851f - Downgrade back to 2.5.17.0
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=148
2024-11-14 14:53:58 +00:00
87803c620f Accepting request 1223620 from graphics
OBS-URL: https://build.opensuse.org/request/show/1223620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=57
2024-11-13 14:28:10 +00:00
4dfa6f4ed5 - Update to 3.0.0.3
OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=146
2024-11-12 10:04:45 +00:00
f36ff2b5e9 Accepting request 1205228 from graphics
OBS-URL: https://build.opensuse.org/request/show/1205228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/OpenImageIO?expand=0&rev=56
2024-10-02 19:35:20 +00:00
17ff1f1e40 - update to 2.5.16.0
- ImageInput: Fix: Initialize pixels of partial tile conversion
    buffer to avoid possible floating point exceptionså. #4462 (by
    Bram Stolk)
  - iv: Fix: Iv shows constant brown and GL error messages on
    start-up. #4451 (by David Adler)
  - iv: Fix: Initialize variables before we use them. #4457 (by
    Bram Stolk)
  - pnm: Fix: Initialize m_pfm_flip before use to avoid UB. #4446
    (by Bram Stolk)
  - raw: Fix: Check for nullptr in raw input plugin #4448 (by Anton
    Dukhovnikov)
  - ci: Streamline the old MacOS-12 CI test #4465
  - ci: Test against OCIO 2.4 #4467 and OpenEXR 3.3 #4466
  - docs: Clarify TextureSystem::create use of imagecache when
    shared=true #4399
  - docs: Switch license name in docs #4407
  - admin: Change docs and comments references master -> main #4435

OBS-URL: https://build.opensuse.org/package/show/graphics/OpenImageIO?expand=0&rev=144
2024-10-02 15:14:40 +00:00
7 changed files with 780 additions and 67 deletions

View File

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

View File

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

View File

@@ -1,3 +1,666 @@
-------------------------------------------------------------------
Thu Jan 1 19:54:51 UTC 2026 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.1.9.0
- Color management improvements:
- Auto convert between oiio:ColorSpace and CICP attributes in
I/O #4964 (by Brecht Van Lommel)
- exr: Write OpenEXR colorInteropID metadata based on
oiio:ColorSpace #4967 (by Brecht Van Lommel)
- jpeg-xl: CICP read and write support for JPEG-XL #4968 (by
Brecht Van Lommel)
- jpeg-xl: ICC read and write for JPEG-XL files (issue 4649)
#4905 (by shanesmith-dwa)
- png: We were not correctly suppressing hint metadata #4983
- sgi: Implement RLE encoding support for output #4990 (by Jesse
Yurkovich)
- webp: Allow out-of-order scanlines when writing webp #4973 (by
Pavan Madduri)
- fix/IBA: IBA::compare_Yee() accessed the wrong channel #4976
(by Pavan Madduri)
- perf/filesystem.h: Speedup to detect the existence of files on
Windows #4977 (by JacksonSun-adsk)
- ci: Address tight disk space on GHA runners #4974
- ci: Optimize install_homebrew_deps by coalescing installs #4975
- ci: Build_Ptex.bash should build Ptex using C++17 #4978
- ci: Unbreak CI by adjusting Ubuntu installs #4981
- ci: Test against libraw 0.21.5 #4988
- docs: Fix missing docs for OIIO:attribute() and
OIIO::getattribute() #4987
-------------------------------------------------------------------
Mon Dec 1 06:28:55 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.1.8.0
- exif: Support EXIF 3.0 tags #4961
- jpeg: Fix wrong pointers/crashing when decodng CMYK jpeg files
#4963
- openexr: Improve attribute translation rules #4946
- openexr: ACES container writes colorInteropId instead of
colorInteropID #4966 (by Brecht Van Lommel)
- color mgmt: Fix some legacy 'Linear' color references #4959
- imagebuf: Fix ImageBuf::set_pixels() bug, didn't consider roi =
All #4949
- tests: Image_span_test reduce benchmark load for debug and CI
renders #4951
- build: Type warning in assertion in jpeg2000output.cpp #4952
- build: Disable LERC in libTIFF local build script #4957 (by LI
JI)
- ci: Fix broken ci, debug and static cases, bump some latest
#4954
- ci: Unbreak icc/icx CI #4958
- admin: Update some license notices #4955
-------------------------------------------------------------------
Sat Nov 1 20:17:07 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.1.7.0
- openexr: Support for idManifest and deepImageState
(experimental) #4877 (3.1.7.0)
- openexr: ACES Container hint for exr outputs #4907 (by Oktay
Comu) (3.1.7.0)
- ffmpeg: 10 bit video had wrong green channel #4935 (by Brecht
Van Lommel) (3.1.7.0)
- iff: Handle non-zero origin, protect against buffer overflows
#4925 (3.1.7.0)
- jpeg-xl: Correctly set Quality for JPEG XL #4933 (3.1.7.0)
- api/docs: Fix IBA::set_pixels declaration and docs #4926
(3.1.7.0)
- win: Address Windows crashes from issue 4641 #4914 (3.1.7.0)
- fix: Uninitialized value revealed by clang-21 warning #4940
(3.1.7.0)
- build/deps: Additional auto-build capabilities for dependencies
that are not found: GIF library #4921 (by Valery Angelique),
OpenJPEG #4911 (by Danny Greenstein) (3.1.7.0)
- build: Allow auto-build of just required packages #4927
(3.1.7.0)
- build: Make dependency report more clear about what was
required #4929 (3.1.7.0)
- ci: Python wheel building improvements: use ccache #4924 (by
Larry Gritz), unbreak wheel release + other enhancements pt 1
#4937 (by Zach Lewis) (3.1.7.0)
- ci: Drop deprecated macos-13 (intel) platform, add
macos-15-intel #4930 (3.1.7.0)
- ci: Try to avoid ffmpeg install failures #4936 (3.1.7.0)
- ci: Simplify ci workflow by using build-steps for old aswf
containers, too #4932 (3.1.7.0)
- ci: We were not correctly setting fmt version from job options
#4939 (3.1.7.0)
- tests: Update ref images for heif #4941 (3.1.7.0)
- docs: Update/correct explanation of "openexr:core" attribute,
and typo fixes #4943 (3.1.7.0)
-------------------------------------------------------------------
Thu Oct 30 02:46:55 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- disable the testsuite on 15.x as the python version is too old
-------------------------------------------------------------------
Fri Oct 17 07:36:16 UTC 2025 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Gate imageviewer files as needed
-------------------------------------------------------------------
Sat Oct 4 10:26:24 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.1.6.2
- oiioversion.h: Restore definition of OIIO_NAMESPACE_USING macro
#4920
-------------------------------------------------------------------
Fri Oct 3 02:51:34 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Ensure that we get the full ffmpeg and not the mini-devel to have
the testsuite pass
https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4919
If we want to keep the mini package for the library, we need to
split out a testsuite multibuild flavor.
-------------------------------------------------------------------
Fri Oct 3 00:37:04 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.1.6.1
- New image file support: Ultra HDR (HDR images in JPEG
containers).
- oiiotool new commands: --layersplit, --pastemeta, --demosaic,
--create-dir and new expression expansion tokens: IS_CONSTANT,
IS_BLACK, SUBIMAGES.
- New IBA image processing functions: scale(), demosaic().
- New 2-level namespace scheme that we hope will make it possible
in the future for our annual releases to NOT need to break
backward ABI compatibility.
- Support in Python for ImageBuf._repr_png_ method allows use of
OIIO inside Jupyter Notebooks to display computed images.
- Color management improvements: Conform to Color Interchange
Forum and OpenEXR new conventions for naming and specifying
color spaces. PNG, HEIC, and ffmpeg/video files now support
reading CICP metadata.
For all the details see:
https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.6.1
-------------------------------------------------------------------
Wed Oct 1 22:51:20 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.11.0
- oiiotool: Allow easy splitting output of subimages by name
#4874
- webp: Support reading/writing the ICCProfile attribute for WepP
files#4878 (by Jesse Yurkovich)
- gif: GIF output didn't handle FramesPerSecond attribute
correctly #4890
- deps: Test freetype 2.14 and document that it works #4876
- deps: Look for boost headers for OpenVDBs older than 12 #4873
(by Alex Fuller)
- deps: Support for OpenColorIO 2.5 #4916
-------------------------------------------------------------------
Wed Sep 17 09:18:47 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.10.1
- ci: Fix broken python wheel building #4886 #4855 (by Zach
Lewis)
- deps: Several fixes to build against OpenEXR 3.4 and OpenJPH
build related fixes #4875
-------------------------------------------------------------------
Mon Sep 1 18:16:45 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.10.0
- exr: Support for OpenEXR 3.4's new compression types for HTJ2K
#4871 (by Todica Ionut)
- deps: Ffmpeg 8 support #4870
- ci: Add a VFX Platform 2026 CI job #4856
- ci: Bump webp and openexr for "latest versions" test #4861
-------------------------------------------------------------------
Fri Aug 8 00:49:29 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.9.1
- deps: C++23 support #4844
- deps: Adapt to libheif 1.20.2 #4851 (by toge)
-------------------------------------------------------------------
Fri Aug 1 19:39:48 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.9.0
- maketx: Add flags to increase feature parity with txmake #4841
(by Scott Milner)
- perf: Speed up maketx --envlatl when multithreaded by over 10x.
#4825
- perf: Speed up OpenEXR non-core header read time #4832
- oiiotool: Allow thread control for --parallel-frames #4818
- ImageInput: Incorrect IOProxy logic related to valid_file #4839
- python: Got strides wrong passing 2D numpy pixel array #4843
- ffmpeg: Replace deprecated and soon removed avcodec_close with
avcodec_free_context #4837 (by Vlad Erium)
- build/python: For python stub generation, lock pybind11 to
pre-3.0 #4831
- build: Fix typo related to finding ccache #4833
- build: PNG auto-build improvements #4835
- build: Propagate CMAKE_MSVC_RUNTIME_LIBRARY #4842
- build: Update jpeg2000input.cpp to include cstdarg #4836 (by
Peter Kovář)
- ci: Bump 'latest releases' tests to use pybind11 3.0.0 #4828
- (docs): Correct docs and type of "resident_memory_used_MB"
attribute #4824
- (admin): Update SECURITY to reflect that 2.5 only gets critical
fixes now #4829
-------------------------------------------------------------------
Mon Jul 21 15:37:11 UTC 2025 - Lubos Kocman <lubos.kocman@suse.com>
- Relicense code under Apache 2.0 (#3926)
-------------------------------------------------------------------
Tue Jul 15 16:36:25 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Fix build on leap
- force newer GCC
- disable python support
- disabled python supports also disables man pages
-------------------------------------------------------------------
Thu Jul 10 10:26:41 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.8.1
- build(heif): Fixes to build against libheif 1.20 #4822 (by Rui
Chen)
- Update to 3.0.8.0
- oiiotool: New expression pseudo-metadata term: SUBIMAGES #4804
- oiiotool: Fixes to --missingfile behavior #4803
- iv: Area probe #4767 (by Danielle Imogu)
- python: Python ImageBuf.init_spec did not return correct value
#4805
- fix: ImageOutput::check_open logic was flawed #4779
- int(iv): Add raw string syntax modifier for VSCode and Cursor
to understand its glsl #4796 (by Aleksandr Motsjonov)
- int(iv): Use R"()" syntax for glsl shader strings for better
readability #4795 (by Aleksandr Motsjonov)
- exr: Not honoring 'missingcolor' for scanline files #4757
- build: Add arm_neon.h include on Windows ARM64 with clang-cl
#4691 (by Anthony Roberts)
- build: Adjust pystring finding #4816
- build(jxl): Use correct cmake variables for the include
directories #4810 #4813 (by Jesse Yurkovich)
- tests: Remove old test reference output we no longer need #4817
- ci: Remove tests on Windows-2019 GitHub runner #4793
- ci: Various ccache save/restore improvements for CI runs #4797
- ci: Simplify gh-win-installdeps, no more vcpkg #4809
- admin: Remove stale intake documents #4815
- Update to 3.0.7.0
- oiiotool: --eraseattrib new modifier :fromfile=1 reads from a
file
- to get a list of patterns to specify the attributes to erase.
#4763 (by Lydia Zheng)
- oiiotool: Added --create-dir flag to create directories needed
by -o
- if they doesn't already exist #4762 (by Dharshan Vishwanatha)
- oiiotool: --eraseattrib:fromfile=1 #4763 (by Lydia Zheng)
- oiiotool: Added create-dir cmd arg to create dir if it doesn't
exist #4762 (by Dharshan Vishwanatha)
- oiiotool: -i:native=1, fix --native behavior, fix convert
datatype #4708
- iv: Fix crash on .DS_Store; fix uppercase extensions #4764 (by
Anton Dukhovnikov)
- iv: Do not resize on open and other zoom fixes #4766 (by
Aleksandr Motsjonov)
- iv: Bug fix for iv window losing focus on mac on startup #4773
(by Aleksandr Motsjonov)
- iv: Implement files drag and drop into an iv window #4774 (by
Aleksandr Motsjonov)
- iv: Use screen pixel ratio to render sharp text in pixel view
tool #4768 (by Aleksandr Motsjonov)
- python: Add python stub files #4692 #4754 (by Chad Dombrova)
- python: ImageBuf _repr_png_ method added, which allows use of
- ImageBuf in Jupyter Notebooks as a displayable object. #4753
(by Oktay Comu)
- exr: Did not properly allocate 'missingcolor' vector #4751
- exr: Add htj2k as a compression option for OpenEXR. Only works
with OpenEXR 3.4 or higher (or in-progress OpenEXR main). #4785
(by Li Ji)
- iff: Improved IFF support reading and writing z buffers #4673
(by Mikael Sundell)
- webp: Respect the oiio:UnassociatedAlpha attribute #4770 (by
Jesse Yurkovich)
- webp: Allow finer grained control over WEBP compression
settings #4772 (by Jesse Yurkovich)
- flx/python: IBA.demosaic had GIL release in wrong spot #4777
- fix: ImageInput/ImageOutput did not set per-file threads
correctly #4750
- fix: Address safety warnings in pvt::append_tiff_dir_entry
#4737
- build: Fix fmt throwing behavior warnings #4730
- build: Detect libultrahdr version and enforce minimum of 1.3
#4729
- build: Fix failed test with old fmt #4758
- ci: Save time by not checking out entire project history #4731
- ci: New testing variants for VFX Platform 2025, Windows 2025
#4744, Linux ARM #4749
- ci: Update ref output to compensate for GitHub windows drive
changes #4761
- ci: Pkg config libdir fix #4775 (by Scott Wilson)
- ci: For docs workflow, lock down versions and speed up #4646
- ci: Improved clang-format CI task #4647
- ci: Add facility for benchmarking as part of CI #4745
- ci: Update ref image for slightly changed freetype accents
#4765
- docs: Online docs improvements, mostly formatting (#4736,
#4743)
- docs: Update Windows build instructions to rely on deps
auto-build #4769
- Update to 3.0.6.1
- fix: Restore OIIO_AVX512ER_ENABLED preprocessor symbol. Its
absence could break backwards source compatibility if anyone
was using it, even though it was useless and broken. Where
compatibility goes, better safe than sorry. #4735
- Update to 3.0.6.0
- oiiotool: Add --text modifiers measure= and render= #4681
- python: Fix handle leak #4685
- bmp: Correct the type for BMP x/y density #4695 (by Campbell
Barton)
- dpx: Specify the units for DPX scanned size #4694 (by Campbell
Barton)
- sgi: Fix valid_file to properly swap bytes on little-endian
platforms #4697 (by Jesse Yurkovich)
- build: Fix new dcmtk 3.6.9 vs C++ warning #4698
- build: Address Robin-map vs CMake 4.0 compatibility #4701
- build: Fix broken OIIO_SITE customization #4709
- build: Address compiler warnings in simd.h #4724
- Update to 3.0.5.0
- ImageBuf: ImageBuf::merge_metadata() merges one IB's metadata
into another's without deleting the metadata already present.
It can also filter which metadata are copied using a regex.
#4672
- oiiotool: --pastemeta now takes additional modifiers that
allows options for merging rather than rewriting, and is able
to copy only a subset of the metadata specified by a regex.
#4672 #4674 #4676
- oiiotool: Fix invalid loop bound when appending mipmap textures
using oiiotool #4671 (by Basile Fraboni)
- png: Increase allowed width/height limit #4655 (by Jesse
Yurkovich)
- psd: Improved tag recognition in psd files #4663 (by Lydia
Zheng)
- tiff: The default value for bitspersample should be 1 #4670 (by
vernalchen)
- int: Switch to spans for some exif manipulation, fixing
warnings #4689
- span.h: OIIO::span improvements #4667
- build: Better disabling of work when USE_PYTHON=0 #4657
- build: Improve OpenJpeg version detection. #4665 (by
jreichel-nvidia)
- build: Bump auto-build libdeflate to 1.23 to avoid AVX512 not
available errors #4679 (by LI JI)
- build: Cmake 4.0 compatibility #4686 #4688
- ci: Fix wheel building on Mac #4668 #4675
- ci: Update libPNG address and version for ci & autobuild #4659
- Update to 3.0.4.0
- oiiotool: New expression eval tokens IS_CONSTANT, IS_BLACK
#4610 (by Lydia Zheng)
- oiiotool: Better handling of wildcards that match no files
#4627
- ImageBuf: IB::pixeltype() did not always return the right value
#4614
- ImageBuf: Fix bug in ImageBuf construction from ptr + neg
strides #4630
- ICC: ICC profile recognition and robustness improvements,
especially for PSD #4644
- exr: Fill in OpenEXR lineOrder attribute when reading #4628 (by
vernalchen)
- ico: More robust to corrupted ICO files #4625
- rla: More robust to corrupted RLA files that could overrun
buffers #4624
- span.h: Eliminate needless definitions of std::size(span) that
were triggering strange behavior on recent MSVS compiler
versions. #4652
- build: Fix recently broken rpath setting #4618
- build/python wheels: Ensure python-based builds use
maj.min.patch SO versioning #4634 (by zachlewis)
- build/python wheels: Fix recently broken rpath to restore
python wheel building #4633
- ci: Run wheel workflow on certain pushes #4617
- docs: Argparse documentation/comments typos #4612
- admin: Document Python Wheel completed in roadmap #4620 (by
Todica Ionut)
- admin: Add ".vs" to .gitignore #4645
- admin: Set up .gitattributes file and ensure it properly
categorizes certain files for GitHub's language analysis
statistics. #4648
- Update to 3.0.3.1
The release is identical to v3.0.3.0, but some build issues were
fixed to allow proper build and upload of the Python wheels to
PyPI for the Linux ARM variants.
- Update to 3.0.3.0
- separate images #4591 (by Loïc Vital)
- IBA: IBA:demosaic() adds the ability for X-Trans demosaicing
#4579 (by Anton Dukhovnikov)
- IBA: fix demosaic handling of roi channels #4602 (by Anton
Dukhovnikov)
- png: Alpha premultiplication adjustment and attribute #4585
- psd: Perform endian byteswap on correct buffer area for PSD RLE
#4600 (by Jesse Yurkovich)
- raw: Add black level and BPS metadata #4601 (by Anton
Dukhovnikov)
- python: Disable loading Python DLLs from PATH by default on
Windows #4590 (by zachlewis)
- dev (span.h): Span_memcpy is a safer memcpy when you know the
span boundaries #4597
- dev (filesystem.h): Filesystem::getline() #4569
- dev (paramlist.h): ParamValue as_span, as_cspan #4582
- build: Recent change broke when using non-Apple clang on Apple
#4596
- build: Fix build_cmake.bash script for aarch64, bump its
default version #4581
- build: Fix libraw definitions (again) #4588
- ci: Upgrade to newer actions #4570
- ci: Test and document support for WebP 1.5 and fmt 11.1 #4574
- ci: Only pass build-steps the secrets it needs #4576
- ci: Fix Windows 2019 CI -- make python version match the runner
#4592
- ci: Raise 'latest' tests to use new fmt 11.1.2 #4593
- ci: Adjust some pugixml versions #4594
- ci: Allow special branch names to prune CI jobs #4604
- tests: Improve Ptex testing #4573
- tests: Better testing coverage of null image reader/writer
#4578
- tests: At long last, set up a softimage reading test. #4583
- tests: Additional ref output for jpeg-corrupt test #4595
- docs: Fix typo in oiiotool's gradient fill example #4589 (by
Loïc Vital)
- update test images to 20250119T083517
- Update to 3.0.2.0
- api: Add global attribute imageinput:strict #4560
- various formats: Detect invalid ICC profile tags #4557 #4565
- various formats: IPTC fields have length limits, protect
against attributes passed that are too long to fit in them.
#4568
- pnm: Handle broken pnm files with invalid resolution #4561
- pnm: Handle broken pgm having memory access error #4559
- int: Some LoggedTimer instances lacked a variable name #4571
- build: Use target_compile_options (fixes a LibRaw build issue)
#4556 (by Don Olmstead)
- ci: Refactor using a single steps workflow #4545
- ci: Fixups of analysis workflow #4572
- docs: Minor fixes and typos #4564
- admin: Sign release artifacts #4580
- Update to 3.0.1.0
- IBA: New IBA::scale() #4541 (by Anton Dukhovnikov) (3.0.1.0)
- IBA: IBA:demosaic() add white balancing #4499 (by Anton
Dukhovnikov) (3.0.1.0)
- jpeg: Support reading Ultra HDR images #4484 (by Loïc Vital)
(3.0.1.0)
- jpeg: Support encoding/decoding arbitrary metadata as comments
#4430 (by Lukas Stockner) (3.0.1.0)
- api: OIIO::getattribute() queries for available font families
and styles #4523 (by peterhorvath111) (3.0.1.0)
- perf: IBA::unsharp_mask() speed and memory optimization #4513
(by Vlad (Kuzmin) Erium) (3.0.1.0)
- perf: oiiotool --line, --text, --point, and --box speedups
#4518 (3.0.1.0)
- perf: Jpeg2000 valid_file implementation, much faster than
trying to open #4548 (by Aras Pranckevičius) (3.0.1.0)
- perf: Faster utf8<->utf16 conversion on Windows #4549 (by Aras
Pranckevičius) (3.0.1.0)
- fix(exr): Allow an empty "name" metadata to be read #4528 #4536
(3.0.1.0)
- fix(exr): Avoid integer overflow for large deep exr slice
strides #4542 (3.0.1.0)
- fix(raw): Fix channel layout #4516 (by Anton Dukhovnikov)
(3.0.1.0)
- build: Support static OCIO self-builds #4517 (by zachlewis)
(3.0.1.0)
- build: Add build recipe for PNG #4423 (by zachlewis) (3.0.1.0)
- build: Add hardening options #4538 (3.0.1.0)
- ci: Increased the macos timeout slightly to fix spurious
failures #4526 (3.0.1.0)
- ci: Don't rebuild docs in CI when only CMakeLists.txt changes
#4539 (3.0.1.0)
- ci: Fix broken CI for ASWF 2021 and 2022 containers #4543
(3.0.1.0)
- docs: Update some old links to our new vanity URLs #4533
(3.0.1.0)
- docs: Quickstart guide #4531 (3.0.1.0)
- docs: First stab at an architecture overview #4530 (3.0.1.0)
- docs/admin: Code review guidelines and tips #4532 (3.0.1.0)
- docs/admin: Document how to make signed release tags #4529
(3.0.1.0)
- we can drop the buildrequires on google-droid-fonts again and use
the fonts from the tarball for the testsuite:
https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615#issuecomment-2629490500
- cleanup the %check section after the the discussion in
https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615
- symlink all fonts to ~abuild/fonts
- minimize disabled tests list and document why they are filtered
out
- Add back the LD_LIBRARY_PATH to fix some python tests
- simplify test section
-------------------------------------------------------------------
Sun Jul 6 13:48:43 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- update to 2.5.19.0
- build: Fixes to build against libheif 1.20 #4822 (by Rui Chen)
- drop 06860e2d5b71d614e8878d738ea27d671be2994e.patch
-------------------------------------------------------------------
Sun Jul 6 00:05:08 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Fix build with libheif 1.20
https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4822
Adds 06860e2d5b71d614e8878d738ea27d671be2994e.patch
-------------------------------------------------------------------
Tue Mar 18 17:02:13 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- partially revert the previous change:
so why are man pages behind the python bindings? because the
CMakeLists.txt only renders man pages when python is enabled
-------------------------------------------------------------------
Mon Mar 3 12:40:34 UTC 2025 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix build on aarch64 (where imageviewer is disabled)
-------------------------------------------------------------------
Thu Feb 13 03:13:34 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- disable python and imageviewer on leap
-------------------------------------------------------------------
Thu Feb 13 02:36:56 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- on Leap use a newer libboost for getting blender to work
-------------------------------------------------------------------
Sun Feb 2 21:25:39 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Port the fonts handling solution from the OpenImageIO-3 package
to this package and also use OPENIMAGEIO_FONTS here:
https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615#issuecomment-2629490500
-------------------------------------------------------------------
Sun Feb 2 02:10:42 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- cleanup the %check section after the the discussion in
https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615
- symlink all fonts to ~abuild/fonts
- minimize disabled tests list and document why they are filtered
out
-------------------------------------------------------------------
Wed Jan 1 22:00:35 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- update to 2.5.18.0
- exr: Avoid integer overflow for large deep exr slice strides
#4542
- pnm: Broken pnm files with invalid resolution #4561
- build: Use target_compile_options (fixes a LibRaw build issue)
#4556 (by Don Olmstead)
- testing: Add new ref output for libheif updates #4525
- ci: Increased the macos timeout slightly to fix spurious
failures #4526
- ci: Fix broken CI for ASWF 2021 and 2022 containers #4543
- docs: Clarify 'copy_image' example #4522
- docs: Update some old links to our new vanity URLs #4533
-------------------------------------------------------------------
Thu Nov 14 13:57:23 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Downgrade back to 2.5.17.0
-------------------------------------------------------------------
Sat Nov 9 22:41:28 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Handle renamed tests in the exclude list
- also make it easier to maintain by refactoring the list out
into variables.
-------------------------------------------------------------------
Sat Nov 9 20:02:29 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Update to 3.0.0.3
- Updated minimum toolchain: C++17/gcc9.3, Python 3.7, CMake
3.18.2, and raised min versions of most library dependencies.
- New image format support: JPEG XL, R3D.
- oiiotool new commands: --cryptomatte-colors, --demosaic,
--buildinfo, --ocionamedtransform, --popbottom, --stackreverse,
--stackclear, --stackextract; improved --for behavior for
reverse direction.
- Lots of long-deprecated API calls have been removed entirely.
Please see the detailed deprecation list.
- New ImageBufAlgo: perpixel_op(), demosaic(),
ocionamedtransform().
- ImageBuf now by default does not use ImageCache to mediate file
images, unless you explicitly ask for it.
- ImageCache & TextureSystem now use shared_ptr for creation, not
raw pointers. And they have been de-virtualized, for easier
future expansion flexibility without breaking ABI for any small
change.
- Improved and more consistent color space name nomenclature.
- Build system now is capable of auto-downloading and building
several of the most important dependencies if they are missing
at build time.
- Please note that the development branch in the GitHub repo is
now named main instead of master.
For all the details see:
https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.0.3
- Update oiio-test images 7e6d875 for the 3.0 release
- Bump all BuildRequires to the minimum versions in the changes
entry
- switch package to Qt6
-------------------------------------------------------------------
Fri Nov 1 20:32:48 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- update oiio-test images to 3e9caba to see if that fixes the
testsuite
-------------------------------------------------------------------
Fri Nov 1 20:17:05 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- update to 2.5.17.0
- iinfo: fix: iinfo was not reading MIP levels correctly #4498
- text rendering: Windows newline shows invalid character in text
render #4501 (by peterhorvath111)
- fix: Address fmt exceptions for left justification #4510
- perf: Additional timing logging for performance investigations
#4506
- strutil.h: Fix typo in description of Strutil::parse_values
#4512
- build: Don't change CMAKE_XXX_OUTPUT_DIRECTORY when built as
subdir #4417 (by Luc Touraille)
- deps: Search for libbz2 only if FFmpeg or FreeType is enabled.
#4505 (by jreichel-nvidia)
- tests: Fixup after directory refactor of OpenImageIO-images
#4473
- ci: Make scrorecards workflow not fail constantly #4471
- ci: Retire deprecated macos12 runner, try beta macos15 #4514
- docs: Update to vanity URL for the docs #4494
-------------------------------------------------------------------
Wed Oct 2 09:44:53 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- update to 2.5.16.0
- ImageInput: Fix: Initialize pixels of partial tile conversion
buffer to avoid possible floating point exceptionså. #4462 (by
Bram Stolk)
- iv: Fix: Iv shows constant brown and GL error messages on
start-up. #4451 (by David Adler)
- iv: Fix: Initialize variables before we use them. #4457 (by
Bram Stolk)
- pnm: Fix: Initialize m_pfm_flip before use to avoid UB. #4446
(by Bram Stolk)
- raw: Fix: Check for nullptr in raw input plugin #4448 (by Anton
Dukhovnikov)
- ci: Streamline the old MacOS-12 CI test #4465
- ci: Test against OCIO 2.4 #4467 and OpenEXR 3.3 #4466
- docs: Clarify TextureSystem::create use of imagecache when
shared=true #4399
- docs: Switch license name in docs #4407
- admin: Change docs and comments references master -> main #4435
-------------------------------------------------------------------
Mon Sep 2 22:06:05 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package OpenImageIO
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 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
@@ -16,29 +16,45 @@
#
%global __builder ninja
%if 0%{?suse_version} > 1500
%ifarch aarch64 %{arm}
%bcond_with imageviewer
%else
%bcond_without imageviewer
%endif
%else
%bcond_with imageviewer
%endif
%if 0%{?suse_version} > 1500
%bcond_without libheif
%bcond_without python_bindings
%bcond_without runtests
%else
%bcond_with python_bindings
%bcond_with libheif
%bcond_with runtests
%endif
%bcond_without opencv
%bcond_without python_bindings
%bcond_with apidocs
%bcond_with ptex
%define images_ts 20240410T102113
%define so_ver 2_5
%define major_minor_ver 2.5
%if 0%{?suse_version} == 1500
%global force_gcc_version 14
%global force_boost_version 1_75_0
%endif
%global images_ts 20250119T083517
%global so_ver 3_1
%global major_minor_ver 3.1
Name: OpenImageIO
Version: 2.5.15.0
Version: 3.1.9.0
Release: 0
Summary: Library for Reading and Writing Images
License: BSD-3-Clause
License: Apache-2.0
Group: Productivity/Graphics/Other
URL: https://www.openimageio.org/
Source0: https://github.com/AcademySoftwareFoundation/OpenImageIO/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
@@ -46,66 +62,74 @@ Source0: https://github.com/AcademySoftwareFoundation/OpenImageIO/archive
Source1: oiio-images-%{images_ts}.tar.xz
# 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
BuildRequires: cmake >= 3.18.2
BuildRequires: dcmtk-devel
BuildRequires: ninja
%if %{with apidocs}
BuildRequires: doxygen
%endif
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: giflib-devel
BuildRequires: gcc%{?force_gcc_version}-c++
BuildRequires: giflib-devel >= 5.0
BuildRequires: hdf5-devel
BuildRequires: libboost_atomic-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_system-devel
BuildRequires: libboost_thread-devel
# can be dropped when upgrading to 3.x again
#BuildRequires: libboost_atomic%{?force_boost_version}-devel
#BuildRequires: libboost_filesystem%{?force_boost_version}-devel
#BuildRequires: libboost_system%{?force_boost_version}-devel
#BuildRequires: libboost_thread%{?force_boost_version}-devel
#/ can be dropped when upgrading to 3.x again
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: openvdb-devel
BuildRequires: libpng-devel >= 1.6.0
BuildRequires: openvdb-devel >= 9.0
BuildRequires: pkgconfig
BuildRequires: pugixml-devel
%if %{with python_bindings}
BuildRequires: python3-devel
BuildRequires: python3-pybind11-devel
BuildRequires: python3-devel >= 3.9
BuildRequires: python3-pybind11-devel >= 2.7
# required for testsuite
BuildRequires: python3-numpy
%endif
BuildRequires: robin-map-devel
BuildRequires: robin-map-devel >= 1.2.0
BuildRequires: tbb-devel
BuildRequires: txt2man
BuildRequires: pkgconfig(OpenColorIO)
BuildRequires: pkgconfig(OpenEXR) >= 2.4
BuildRequires: pkgconfig(OpenColorIO) >= 2.3
BuildRequires: pkgconfig(OpenEXR) >= 3.1
%if %{with ptex}
BuildRequires: ptex-devel-static
%endif
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(fmt)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(freetype2) >= 2.10
# we need the full package to make the testsuite pass:
# https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4919
#!BuildConflicts: ffmpeg-4-mini-devel
#!BuildConflicts: ffmpeg-5-mini-devel
#!BuildConflicts: ffmpeg-6-mini-devel
#!BuildConflicts: ffmpeg-7-mini-devel
#!BuildConflicts: ffmpeg-8-mini-devel
BuildRequires: pkgconfig(libavdevice)
BuildRequires: pkgconfig(libjxl)
%if %{with libheif}
BuildRequires: pkgconfig(libheif)
BuildRequires: pkgconfig(libheif) >= 1.11
%endif
BuildRequires: pkgconfig(libopenjp2)
BuildRequires: pkgconfig(libxml-2.0)
%if %{with imageviewer}
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5OpenGL)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6OpenGLWidgets)
BuildRequires: cmake(Qt6Widgets)
%endif
BuildRequires: pkgconfig(libraw)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(libraw) >= 0.20
BuildRequires: pkgconfig(libtiff-4) > 4.0
BuildRequires: pkgconfig(libwebp) >= 1.1
BuildRequires: pkgconfig(libwebpdecoder)
BuildRequires: pkgconfig(libwebpdemux)
BuildRequires: pkgconfig(libwebpmux)
%if %{with opencv}
%if 0%{?suse_version} > 1500
BuildRequires: pkgconfig(opencv4)
%else
BuildRequires: pkgconfig(opencv)
%endif
%endif
BuildRequires: fonts-config
BuildRequires: pkgconfig(zlib)
Recommends: google-droid-fonts
@@ -146,8 +170,6 @@ This package provides the API documentation for OpenImageIO.
Summary: Library for Reading and Writing Images
Group: System/Libraries
# this is unfortunate and a fallout of properly naming the lib after fixing so_ver
Conflicts: libOpenColorIO2_0 = 2.1.1
Conflicts: libOpenColorIO2_0 = 2.1.2
%description -n libOpenImageIO%{so_ver}
OpenImageIO is a library for reading and writing images, and a bunch of related
@@ -190,6 +212,11 @@ rm -rf src/include/tbb/
find . -iname \*.py -print -exec sed -i '1s@^#!.*@#!%{_bindir}/python3@' '{}' \;
%build
%if 0%{?force_gcc_version}
export CC="gcc-%{?force_gcc_version}"
export CXX="g++-%{?force_gcc_version}"
%endif
%cmake \
%ifarch ppc
-DNOTHREADS=ON \
@@ -233,40 +260,62 @@ rm %{buildroot}%{_docdir}/%{name}/LICENSE*md
%fdupes -s %{buildroot}
%if %{with runtests}
%check
# 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
# Make sure testsuite can find required fonts. Especially `DroidSerif.ttf` which is not part of our google-droid-fonts package
# we need
export OPENIMAGEIO_FONTS="$(dirname $(find ${PWD}/src/fonts/ -type f -name \*.ttf) | sort -u | tr '\n' ':' | sed -e 's|:$||g')"
./build/bin/oiiotool --echo "{getattribute(font_dir_list)}"
# without this the python tests can not link the library
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
# used as suffix for python binary
export PYTHON_VERSION=3
export PYTHONPATH=%{buildroot}%{python3_sitearch}
export PYTHONDONTWRITEBYTECODE=1
# Exclude known broken tests
# timer tests won't do reliably in OBS
#
# https://github.com/AcademySoftwareFoundation/OpenImageIO/issues/4615
#
# heif -> our libheif does not support h265
# ptex -> fileformat which we do not support
# jpeg-ultrahdr -> fileformat which we do not support
# cmake-consumer docs-examples-cpp -> currently failing tests as they assume normal cmake search paths will work to find the OIIO devel files in the final location
# docs-examples-python -> fails if docs-examples-cpp was not attempted
export disabled_tests="heif|ptex|jpeg-ultrahdr|cmake-consumer|docs-examples-cpp|docs-examples-python"
%ifarch x86_64
%ctest '-E' 'ptex-broken|texture-icwrite|unit_timer|unit_simd|heif|cmake-consumer|targa|tiff-misc|docs-examples-cpp'
%ctest '-R' 'texture-icwrite' || true
#%%ctest '-j1' '-R' 'unit_timer'
%ctest '-E' ${disabled_tests}
%else
# Many test cases are failing on PPC, ARM, ix64 ... ignore for now
%ctest '-E' 'ptex-broken|texture-icwrite|unit_timer|unit_simd|heif|cmake-consumer|targa|tiff-misc|docs-examples-cpp' || true
%ctest '-R' 'texture-icwrite' || true
#%%ctest '-j1' '-R' 'unit_timer'
%ctest '-E' ${disabled_tests} || true
%endif
%endif
%post -n libOpenImageIO%{so_ver} -p /sbin/ldconfig
%postun -n libOpenImageIO%{so_ver} -p /sbin/ldconfig
%post -n libOpenImageIO_Util%{so_ver} -p /sbin/ldconfig
%postun -n libOpenImageIO_Util%{so_ver} -p /sbin/ldconfig
%ldconfig_scriptlets -n libOpenImageIO%{so_ver}
%ldconfig_scriptlets -n libOpenImageIO_Util%{so_ver}
%files
%doc CHANGES.md CREDITS.md README.md THIRD-PARTY.md
%doc src/doc/CHANGES-0.x.md src/doc/CHANGES-1.x.md
%doc %{_docdir}/%{name}/
%license LICENSE.md
%{_bindir}/*
%{_mandir}/man1/*.1%{ext_man}
%{_bindir}/iconvert
%{_bindir}/idiff
%{_bindir}/igrep
%{_bindir}/iinfo
%if %{with imageviewer}
%{_bindir}/iv
%endif
%{_bindir}/maketx
%{_bindir}/oiiotool
%{_bindir}/testtex
%if %{with python_bindings}
%{_mandir}/man1/iconvert.1.*
%{_mandir}/man1/idiff.1.*
%{_mandir}/man1/igrep.1.*
%{_mandir}/man1/iinfo.1.*
%if %{with imageviewer}
%{_mandir}/man1/iv.1.*
%endif
%{_mandir}/man1/maketx.1.*
%{_mandir}/man1/oiiotool.1.*
%endif
%if %{with apidocs}
%files devel-doc
@@ -276,22 +325,23 @@ export PYTHONDONTWRITEBYTECODE=1
%files devel
%{_includedir}/%{name}
%{_libdir}/pkgconfig/OpenImageIO.pc
%{_libdir}/cmake
%{_libdir}/cmake/OpenImageIO/
%{_libdir}/libOpenImageIO.so
%{_libdir}/libOpenImageIO_Util.so
%files -n lib%{name}%{so_ver}
%license LICENSE.md
%{_libdir}/lib%{name}.so.*
%dir %{_libdir}/%{name}-%{major_minor_ver}
%files -n lib%{name}_Util%{so_ver}
%license LICENSE.md
%{_libdir}/lib%{name}_Util.so.*
%if %{with python_bindings}
%files -n python3-%{name}
%dir %{python3_sitearch}/%{name}
%{python3_sitearch}/%{name}/__init__.py
%{python3_sitearch}/%{name}/%{name}.*.so
%license LICENSE.md
%{python3_sitearch}/%{name}/
%endif
%changelog

View File

@@ -2,7 +2,7 @@
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/OpenImageIO/oiio-images</param>
<param name="revision">master</param>
<param name="revision">dev-3.0</param>
<param name="versionformat">%ci</param>
<param name="exclude">.git</param>
</service>

View File

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

View File

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