Skip to content

Commit 813c7cb

Browse files
authored
Bump OpenJPH (#1978)
1 parent a06d700 commit 813c7cb

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

.github/workflows/ci_steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Install OpenJPH
9090
# Pre-install OpenJPH so the builds validate finding the external installation
9191
if: ${{ inputs.OPENEXR_FORCE_INTERNAL_OPENJPH == 'OFF' }}
92-
run: share/ci/scripts/install_openjph.sh master
92+
run: share/ci/scripts/install_openjph.sh 0.21.0
9393
shell: bash
9494

9595
- name: Install help2man

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ archive_override(
3838
"//bazel:openjph_add_build_file.patch",
3939
"//bazel:openjph_module_dot_bazel.patch",
4040
],
41-
strip_prefix = "OpenJPH-add-export",
42-
urls = ["https://github.com/palemieux/OpenJPH/archive/refs/heads/add-export.zip"],
41+
strip_prefix = "OpenJPH-0.21.0",
42+
urls = ["https://github.com/aous72/OpenJPH/archive/refs/tags/0.21.0.zip"],
4343
)

bazel/openjph_module_dot_bazel.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@@ -0,0 +1,8 @@
44
+module(
55
+ name = "openjph",
6-
+ version = "0.20.0",
6+
+ version = "0.21.0",
77
+ compatibility_level = 1,
88
+)
99
+

cmake/OpenEXRSetup.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,11 @@ message(STATUS "Locating OpenJPH")
306306

307307
option(OPENEXR_FORCE_INTERNAL_OPENJPH "Force downloading OpenJPH from a git repo" OFF)
308308

309-
set(OPENEXR_OJPH_REPO "https://github.com/palemieux/OpenJPH.git" CACHE STRING "OpenJPH Git repo URI")
310-
set(OPENEXR_OJPH_TAG "add-export" CACHE STRING "OpenJPH Git repo tag")
309+
set(OPENEXR_OJPH_REPO "https://github.com/aous72/OpenJPH.git" CACHE STRING "OpenJPH Git repo URI")
310+
set(OPENEXR_OJPH_TAG "0.21.0" CACHE STRING "OpenJPH Git repo tag")
311311

312312
if (NOT OPENEXR_FORCE_INTERNAL_OPENJPH)
313-
find_package(openjph 0.20 QUIET)
313+
find_package(openjph 0.21 QUIET)
314314

315315
if(openjph_FOUND)
316316
message(STATUS "Found OpenJPH using find_package.")
@@ -320,7 +320,7 @@ if (NOT OPENEXR_FORCE_INTERNAL_OPENJPH)
320320
find_package(PkgConfig)
321321
if(PKG_CONFIG_FOUND)
322322
include(FindPkgConfig)
323-
pkg_check_modules(openjph IMPORTED_TARGET GLOBAL openjph=0.20)
323+
pkg_check_modules(openjph IMPORTED_TARGET GLOBAL openjph=0.21)
324324
if(openjph_FOUND)
325325
set(EXR_OPENJPH_LIB PkgConfig::openjph)
326326
message(STATUS "Found OpenJPH using PkgConfig at ${deflate_LINK_LIBRARIES}")

share/ci/install_manifest/install_manifest.macos.5.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ include/openjph/ojph_version.h
227227
lib/cmake/openjph/openjph-config-release.cmake
228228
lib/cmake/openjph/openjph-config.cmake
229229
lib/cmake/openjph/openjph-configVersion.cmake
230-
lib/libopenjph.0.20.0.dylib
231-
lib/libopenjph.0.20.dylib
230+
lib/libopenjph.0.21.0.dylib
231+
lib/libopenjph.0.21.dylib
232232
lib/libopenjph.dylib
233233
lib/pkgconfig/openjph.pc

share/ci/install_manifest/install_manifest.macos.7.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ lib/libOpenEXRUtil-$MAJOR_$MINOR.$SOVERSION.dylib
182182
lib/libOpenEXRUtil-$MAJOR_$MINOR.dylib
183183
lib/libOpenEXRUtil.dylib
184184
lib/pkgconfig/OpenEXR.pc
185-
lib/libopenjph.0.20.0.dylib
186-
lib/libopenjph.0.20.dylib
185+
lib/libopenjph.0.21.0.dylib
186+
lib/libopenjph.0.21.dylib
187187
lib/libopenjph.dylib
188188
lib/pkgconfig/openjph.pc
189189
share/doc/OpenEXR/examples/deepExamples.cpp

share/ci/install_manifest/install_manifest.ubuntu.5.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,6 @@ lib64/cmake/openjph/openjph-config-release.cmake
228228
lib64/cmake/openjph/openjph-config.cmake
229229
lib64/cmake/openjph/openjph-configVersion.cmake
230230
lib64/libopenjph.so
231-
lib64/libopenjph.so.0.20
232-
lib64/libopenjph.so.0.20.0
231+
lib64/libopenjph.so.0.21
232+
lib64/libopenjph.so.0.21.0
233233
lib64/pkgconfig/openjph.pc

share/ci/install_manifest/install_manifest.windows.5.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ lib/cmake/OpenEXR/OpenEXRConfigVersion.cmake
202202
lib/cmake/OpenEXR/OpenEXRTargets-release.cmake
203203
lib/cmake/OpenEXR/OpenEXRTargets.cmake
204204
lib/pkgconfig/Imath.pc
205-
bin/openjph.0.20.dll
205+
bin/openjph.0.21.dll
206206
include/openjph/ojph_arch.h
207207
include/openjph/ojph_arg.h
208208
include/openjph/ojph_base.h
@@ -216,5 +216,5 @@ include/openjph/ojph_version.h
216216
lib/cmake/openjph/openjph-config-release.cmake
217217
lib/cmake/openjph/openjph-config.cmake
218218
lib/cmake/openjph/openjph-configVersion.cmake
219-
lib/openjph.0.20.lib
219+
lib/openjph.0.21.lib
220220
lib/pkgconfig/openjph.pc

share/ci/scripts/install_openjph.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ else
1212
SUDO="sudo"
1313
fi
1414

15-
git clone -b add-export https://github.com/palemieux/OpenJPH.git
15+
git clone https://github.com/aous72/OpenJPH.git
1616
cd OpenJPH
1717

18-
# git checkout ${TAG}
18+
git checkout ${TAG}
1919

2020
cd build
2121
cmake -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DCMAKE_BUILD_TYPE=Release ..

0 commit comments

Comments
 (0)