From fc9a1789b47ba4f2895680934cf27cf22d11a33c Mon Sep 17 00:00:00 2001 From: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> Date: Sat, 23 Nov 2024 03:19:33 +0800 Subject: [PATCH] [openimageio] remove boost dependency (#42287) --- ports/openimageio/fix-dependencies.patch | 9 ++++----- ports/openimageio/vcpkg.json | 14 +------------- versions/baseline.json | 2 +- versions/o-/openimageio.json | 5 +++++ 4 files changed, 11 insertions(+), 19 deletions(-) diff --git a/ports/openimageio/fix-dependencies.patch b/ports/openimageio/fix-dependencies.patch index cc0c9a2d17..60254a7dd7 100644 --- a/ports/openimageio/fix-dependencies.patch +++ b/ports/openimageio/fix-dependencies.patch @@ -1,12 +1,11 @@ diff --git a/src/cmake/Config.cmake.in b/src/cmake/Config.cmake.in -index ceaea62..2a2a359 100644 +index 2620994..6e5f0a1 100644 --- a/src/cmake/Config.cmake.in +++ b/src/cmake/Config.cmake.in -@@ -6,6 +6,33 @@ - +@@ -6,6 +6,32 @@ + include(CMakeFindDependencyMacro) - -+find_dependency(Boost COMPONENTS @Boost_COMPONENTS@) + +if(@USE_GIF@) + find_dependency(GIF) +endif() diff --git a/ports/openimageio/vcpkg.json b/ports/openimageio/vcpkg.json index 23ef9cd91c..9b3f8c2cf9 100644 --- a/ports/openimageio/vcpkg.json +++ b/ports/openimageio/vcpkg.json @@ -1,23 +1,11 @@ { "name": "openimageio", "version": "3.0.0.3", + "port-version": 1, "description": "A library for reading and writing images, and a bunch of related classes, utilities, and application.", "homepage": "https://github.com/OpenImageIO/oiio", "license": "BSD-3-Clause", "dependencies": [ - "boost-algorithm", - "boost-asio", - "boost-config", - "boost-filesystem", - "boost-foreach", - "boost-random", - "boost-regex", - "boost-smart-ptr", - "boost-stacktrace", - "boost-static-assert", - "boost-system", - "boost-thread", - "boost-type-traits", "fmt", "libjpeg-turbo", "libpng", diff --git a/versions/baseline.json b/versions/baseline.json index c5db8207a7..f4a53f6cc4 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6702,7 +6702,7 @@ }, "openimageio": { "baseline": "3.0.0.3", - "port-version": 0 + "port-version": 1 }, "openjpeg": { "baseline": "2.5.2", diff --git a/versions/o-/openimageio.json b/versions/o-/openimageio.json index aaa072abdd..ac1e52b8cb 100644 --- a/versions/o-/openimageio.json +++ b/versions/o-/openimageio.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "22b11b52b97211a4cb04fce6c5518fd2b33f3529", + "version": "3.0.0.3", + "port-version": 1 + }, { "git-tree": "92a3a8f30923e5f433c6c4123a8bd6062a2c0646", "version": "3.0.0.3",