3p: update openjpeg 2.4.0 -> 2.5.4 #389

Closed
opened 2026-10-04 14:10:15 +00:00 by sky_line · 1 comment
Owner

Update the J2C decoder to openjpeg 2.5.x (secondlife/3p-openjpeg 2.5.4 has prebuilt Linux and Windows packages).

  • Our 2.4.0 is Alchemy's build with a partial-decode patch. 2.5.x has this built in as non-strict mode: call opj_decoder_set_strict_mode(..., OPJ_FALSE) (commented out at indra/llimagej2coj/llimagej2coj.cpp:320).
  • bpp is deprecated: use prec (llimagej2coj.cpp:511).
  • The secondlife Linux package is static (libopenjp2.a), so drop or make optional self.path("libopenjp2.so*") in viewer_manifest.py (~1358).
  • After bumping, clear OPENJPEG_LIBRARY from existing CMake caches.
  • Test: textures sharpening through detail levels; partially fetched textures don't go grey; decode speed unchanged.

Part of keeping third-party dependencies current; check Linux and Windows packages together, and update autobuild.xml with autobuild edit installable.

Update the J2C decoder to openjpeg 2.5.x (secondlife/3p-openjpeg 2.5.4 has prebuilt Linux and Windows packages). - Our 2.4.0 is Alchemy's build with a partial-decode patch. 2.5.x has this built in as non-strict mode: call `opj_decoder_set_strict_mode(..., OPJ_FALSE)` (commented out at `indra/llimagej2coj/llimagej2coj.cpp:320`). - `bpp` is deprecated: use `prec` (`llimagej2coj.cpp:511`). - The secondlife Linux package is static (`libopenjp2.a`), so drop or make optional `self.path("libopenjp2.so*")` in `viewer_manifest.py` (~1358). - After bumping, clear `OPENJPEG_LIBRARY` from existing CMake caches. - Test: textures sharpening through detail levels; partially fetched textures don't go grey; decode speed unchanged. Part of keeping third-party dependencies current; check Linux and Windows packages together, and update `autobuild.xml` with `autobuild edit installable`.
sky_line added this to the Slipstream project 2026-10-06 15:04:14 +00:00
Author
Owner

Shipped in 1.3.0 Beta 1: OpenJPEG is now 2.5.4.

Shipped in 1.3.0 Beta 1: OpenJPEG is now 2.5.4.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#389
No description provided.