From 3518c7dfc0768de67266143c1eae01b74b889bb1 Mon Sep 17 00:00:00 2001 From: Alireza Date: Thu, 9 Jul 2026 13:35:21 -0400 Subject: [PATCH 1/3] chore(openjpeg): update extern/openjpeg submodule to upstream v2.5.4 Advances from 2d606701 (~2.5.0-era, Oct 2022) to upstream v2.5.4 (2025-09-20). No custom fork patches (clean version advance). Fork PR: cornerstonejs/openjpeg. CI is the first build/validation of v2.5.4 against our glue. --- packages/openjpeg/extern/openjpeg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/openjpeg/extern/openjpeg b/packages/openjpeg/extern/openjpeg index 2d606701..6c4a29b0 160000 --- a/packages/openjpeg/extern/openjpeg +++ b/packages/openjpeg/extern/openjpeg @@ -1 +1 @@ -Subproject commit 2d606701e8b7aa83f657d113c3367508e99bd12b +Subproject commit 6c4a29b00211eb0430fa0e5e890f1ce5c80f409f From a5614714e727308a71255d486aff57fe2690db1e Mon Sep 17 00:00:00 2001 From: Bill Wallace Date: Tue, 8 Sep 2026 15:48:38 -0400 Subject: [PATCH 2/3] build(dist-size): rebaseline openjpeg for 2.5.4 OpenJPEG 2.5.4 is genuinely larger than the 2.5.x build the baseline recorded. The dist-size job reported 8 regressions, all in this package, from run 34269973607: openjpegjs.js 737.8 -> 746.5 KiB raw (+1.18%) 195.0 -> 197.9 KiB gzip (+1.50%) openjpegjs_decode.js 529.0 -> 537.5 KiB raw (+1.62%) 136.4 -> 139.3 KiB gzip (+2.12%) openjpegwasm.wasm 359.9 -> 364.2 KiB raw (+1.20%) 124.5 -> 126.5 KiB gzip (+1.63%) openjpegwasm_decode.wasm 249.9 -> 254.2 KiB raw (+1.74%) 82.3 -> 84.3 KiB gzip (+2.42%) Scoped to openjpeg, following bdd25d6. A bare `--update` rewrites all eight packages, and this run carried incidental drift in every one of them -- charls, openjphjs and libjpeg-turbo-12bit within 0.12%, libjpeg-turbo-8bit slightly smaller, and the two pure-JS packages up 30 bytes each on a ~1 KiB file. Every one of those passed the tolerance check as `ok`, so folding them in would absorb drift no reviewer asked about and bury the change that matters. Only openjpeg's ten entries move here. Verified: node tools/dist-size/check.js --artifacts reports PASS, 0 size regressions. Co-Authored-By: Claude Opus 5 (1M context) --- tools/dist-size/baseline.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/dist-size/baseline.json b/tools/dist-size/baseline.json index 3661c665..6331b39b 100644 --- a/tools/dist-size/baseline.json +++ b/tools/dist-size/baseline.json @@ -97,28 +97,28 @@ }, "openjpeg": { "openjpegjs.js": { - "raw": 755496, - "gzip": 199652 + "raw": 764376, + "gzip": 202645 }, "openjpegjs_decode.js": { - "raw": 541662, - "gzip": 139653 + "raw": 550410, + "gzip": 142608 }, "openjpegwasm.js": { "raw": 57685, - "gzip": 15161 + "gzip": 15160 }, "openjpegwasm.wasm": { - "raw": 368497, - "gzip": 127454 + "raw": 372915, + "gzip": 129534 }, "openjpegwasm_decode.js": { "raw": 55759, - "gzip": 14970 + "gzip": 14968 }, "openjpegwasm_decode.wasm": { - "raw": 255890, - "gzip": 84256 + "raw": 260334, + "gzip": 86295 } }, "openjphjs": { From 3e34c9314e9dd7d3a431f1d2e42bf2f1fab4e1f2 Mon Sep 17 00:00:00 2001 From: Bill Wallace Date: Wed, 9 Sep 2026 10:41:30 -0400 Subject: [PATCH 3/3] chore(libjpeg-turbo): ignore the build-libjpeg cmake output A native cmake configure in either libjpeg-turbo package writes a build-libjpeg/ tree: 6.4 MB under the 8-bit package and 3.5 MB under the 12-bit one. Neither package's .gitignore covered it, because build.sh uses build/ and that is the only name the ignore files listed. Both packages already ignore their own build output locally rather than from the root .gitignore, so extend those two files instead of adding a root rule. This is about a stray `git add -A` more than about disk. Both submodule pointers in this worktree can sit at an OLDER commit than the branch records while a submodule upgrade is in progress, so an untracked 9.9 MB of cmake output is exactly the thing that gets swept into a commit next to a silent submodule downgrade. Co-Authored-By: Claude Opus 5 --- packages/libjpeg-turbo-12bit/.gitignore | 3 ++- packages/libjpeg-turbo-8bit/.gitignore | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/libjpeg-turbo-12bit/.gitignore b/packages/libjpeg-turbo-12bit/.gitignore index a7e8e215..717dc13c 100644 --- a/packages/libjpeg-turbo-12bit/.gitignore +++ b/packages/libjpeg-turbo-12bit/.gitignore @@ -1,2 +1,3 @@ build -dist \ No newline at end of file +build-libjpeg +dist diff --git a/packages/libjpeg-turbo-8bit/.gitignore b/packages/libjpeg-turbo-8bit/.gitignore index a7e8e215..717dc13c 100644 --- a/packages/libjpeg-turbo-8bit/.gitignore +++ b/packages/libjpeg-turbo-8bit/.gitignore @@ -1,2 +1,3 @@ build -dist \ No newline at end of file +build-libjpeg +dist