Bug 281859 - graphics/openexr update to 3.3.0 for preview
Summary: graphics/openexr update to 3.3.0 for preview
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Matthias Andree
URL: https://github.com/AcademySoftwareFou...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-04 21:50 UTC by Matthias Andree
Modified: 2024-10-13 15:31 UTC (History)
21 users (show)

See Also:
mandree: maintainer-feedback+
mandree: merge-quarterly-


Attachments
1/4 openexr 3.3.0 update (10.98 KB, patch)
2024-10-04 21:50 UTC, Matthias Andree
no flags Details | Diff
2/4 fix ctl abusing C++ and change clamp() to std::clamp() (1.50 KB, patch)
2024-10-04 21:51 UTC, Matthias Andree
no flags Details | Diff
3/4 teach olive to not hardcode the OpenEXR .so file version in _DEPENDS (922 bytes, patch)
2024-10-04 21:52 UTC, Matthias Andree
no flags Details | Diff
4/4 PORTREVISION bump for all OpenEXR users due to ABI change and .so file renames (20.96 KB, patch)
2024-10-04 21:52 UTC, Matthias Andree
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2024-10-04 21:50:26 UTC
Created attachment 254007 [details]
1/4 openexr 3.3.0 update

Note I am going to push these four patches as soon as 2024Q4 has been branched.
This is a ABI-breaking update to OpenEXR 3.3.0 with API maintained for compliant code. (cimg needs fixing, see separate PR, and olive needs fixing because it hardcodes the OpenEXR version for no good reason).
Comment 1 Matthias Andree freebsd_committer freebsd_triage 2024-10-04 21:51:05 UTC
Created attachment 254008 [details]
2/4 fix ctl abusing C++ and change clamp() to std::clamp()
Comment 2 Matthias Andree freebsd_committer freebsd_triage 2024-10-04 21:52:05 UTC
Created attachment 254009 [details]
3/4 teach olive to not hardcode the OpenEXR .so file version in _DEPENDS
Comment 3 Matthias Andree freebsd_committer freebsd_triage 2024-10-04 21:52:51 UTC
Created attachment 254010 [details]
4/4 PORTREVISION bump for all OpenEXR users due to ABI change and .so file renames
Comment 4 Matthias Andree freebsd_committer freebsd_triage 2024-10-04 21:56:17 UTC
Release notes: https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.3.0
Comment 5 Matthias Andree freebsd_committer freebsd_triage 2024-10-04 22:01:39 UTC
I've built all OpenEXR users in poudriere on 14.1-RELEASE amd64 successfully, possibly with EXR/OPENEXR options enabled manually. Ports were identified as the union of their port directories matching openexr or their being listed in INDEX-14 → So no exp-run required any more. 
No run-time tests made except for OpenEXR's self-tests.
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-10-13 15:23:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=175bbab74c9bbd704b5e51da55355afc91c79b4b

commit 175bbab74c9bbd704b5e51da55355afc91c79b4b
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-10-02 20:50:41 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-10-13 13:54:20 +0000

    graphics/openexr*: upgrade to 3.3.0

    This changes the ABI (but not the API) and .so file name,
    so we will need to bump all PORTREVISIONs of users, and we'll also fix
    graphics/ctl and multimedia/olive.

    This is not going to be MFHd to 2024Q4 due to API change, and therefore
    has also waited for 2024Q4 to branch before we committed this to main,
    so as to avoid 2024Q4 breakage.

    ChangeLog:      https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.3.0
    PR:             281859

 graphics/openexr-website-docs/Makefile             |  2 ++
 graphics/openexr-website-docs/distinfo             |  8 +++---
 .../files/patch-CMakeLists.txt                     | 10 +++----
 .../files/patch-website_news.rst (gone)            | 11 --------
 .../patch-website_scripts_test__images.py (gone)   | 31 ----------------------
 graphics/openexr/Makefile                          |  9 +++----
 graphics/openexr/distinfo                          |  6 ++---
 graphics/openexr/pkg-plist                         |  5 ++++
 8 files changed, 24 insertions(+), 58 deletions(-)
Comment 7 Matthias Andree freebsd_committer freebsd_triage 2024-10-13 15:31:49 UTC
...and updated to 3.3.1 right away with the same "git push" (in a separate commit).