Opened 9 months ago
Last modified 4 months ago
#18537 new task
Update to OpenEXR 3
Reported by: | pulkomandy | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Add-Ons/Translators/EXR | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
The EXR translator uses OpenEXR 2.x but HaikuWebKit uses 3.x.
To avoid shipping the two versions in Haiku images we should migrate the EXR translator to OpenEXR 3.
Is it possible to have it work with both? OpenEXR 2 may stil lbe needed for the gcc2 version of the translator.
Change History (6)
comment:1 by , 9 months ago
comment:2 by , 7 months ago
On Haiku 32 bit I found 3 versions of Open EXR - installed :
~> cd /boot/system/packages/; ls -l *exr* -rw-r--r-- 1 user root 1311456 nov. 14 2022 openexr_x86-2.4.1-1-x86_gcc2.hpkg -rw-r--r-- 1 user root 1870024 nov. 14 2022 openexr-2.2.1-3-x86_gcc2.hpkg -rw-r--r-- 1 user root 1281733 márc. 17 2023 openexr30_x86-3.0.5-1-x86_gcc2.hpkg /boot/system/packages>
I found these several versions at at an earlier case I checked HPKG(s) of Open EXR. (#18560)
comment:3 by , 5 months ago
Technically, openexr_x86-2.4.1-1-x86_gcc2.hpkg is the dependency for haiku_datatranslators.
OpenEXR 2.2.1 for GCC2.
OpenEXR 3.0.5 - all else (haikuports, haikuwebkit, etc)
Latest: OpenEXR v3.2.1.
comment:4 by , 4 months ago
Updated and fixed packaging of openexr for OpenEXR 3.2.1. Tested builds of dependent packages of OpenEXR within Haikuports. No known build or migration issues so far.
comment:5 by , 4 months ago
Does it mean ..
soon one OpenEXR package will update both packages on x86_64 Haiku ?
~> ls -l ../system/packages/*exr* -rw-r--r-- 1 user root 1381944 nov. 26 23:10 ../system/packages/openexr-2.4.1-2-x86_64.hpkg -rw-r--r-- 1 user root 1267222 nov. 26 23:11 ../system/packages/openexr30-3.0.5-1-x86_64.hpkg ~> pkgman update openexr30 100% repochecksum-1 [65 bájt] Ellenőrzőkód érvényesítése a tárolóhoz (BeSly Software Solutions)...done. 100% repochecksum-1 [65 bájt] Ellenőrzőkód érvényesítése a tárolóhoz (FatElk_64)...done. 100% repochecksum-1 [65 bájt] Ellenőrzőkód érvényesítése a tárolóhoz (Haiku)...done. 100% repocache-2 [2.38 KiB] Ellenőrzőkód érvényesítése a tárolóhoz (Haiku)...done. 100% repochecksum-1 [64 bájt] Ellenőrzőkód érvényesítése a tárolóhoz (HaikuPorts)...done. 100% repochecksum-1 [71 bájt] Ellenőrzőkód érvényesítése a tárolóhoz (LOTE)...done. Nothing to do. ~> pkgman update openexr 100% repochecksum-1 [65 bájt] Ellenőrzőkód érvényesítése a tárolóhoz (BeSly Software Solutions)...done. 100% repochecksum-1 [65 bájt] Ellenőrzőkód érvényesítése a tárolóhoz (FatElk_64)...done. 100% repochecksum-1 [65 bájt] Ellenőrzőkód érvényesítése a tárolóhoz (Haiku)...done. 100% repochecksum-1 [64 bájt] Ellenőrzőkód érvényesítése a tárolóhoz (HaikuPorts)...done. 100% repochecksum-1 [71 bájt] Ellenőrzőkód érvényesítése a tárolóhoz (LOTE)...done. Nothing to do. ~> {{{ Kind regards, }}}
comment:6 by , 4 months ago
Yes. OpenEXR 3.2.1 for x86 and x86_64 (GCC 13+). OpenEXR 2.2.1 for x86_gcc2 (GCC 2).
There are small issues with the CI build system with the translator"
Seems like it downloads (x86_64):
openexr30-3.0.5-1-x86_64.hpkg
openexr-2.4.1-1-x86_64.hpkg
https://ci.haiku-os.org/teams/nightly/pipelines/master-x86_64/jobs/compile-master-x86_64/builds/373
...on 15200th target... AppendToContainerCopyFilesScript <hpkg_-haiku_datatranslators.hpkg>haiku.package-copy-files-dummy-data/locale/catalogs/x-vnd.Haiku-BMPTranslator MkDir1 objects/catalogs/add-ons/translators/exr ExtractCatalogEntries1 objects/catalogs/add-ons/translators/exr/en.catkeys ../haiku-git/src/add-ons/translators/exr/ConfigView.cpp:17:10: fatal error: OpenEXRConfig.h: No such file or directory 17 | #include <OpenEXRConfig.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from ../haiku-git/src/add-ons/translators/exr/EXRTranslator.cpp:11: ../haiku-git/src/add-ons/translators/exr/EXRGamma.h:9:10: fatal error: halfFunction.h: No such file or directory 9 | #include "halfFunction.h" | ^~~~~~~~~~~~~~~~ compilation terminated.
It appears the version of OpenEXR 3.x isn't the most recent either. (Also the package is called "openexr30", that's confusing and should probably be fixed.)