From 446001f00a55fac9f936aba1bde9b45175c28e67 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Sat, 24 Aug 2024 11:27:31 -0700 Subject: [PATCH 01/17] Cortex : Update to version 10.5.9.1 --- Changes.md | 1 + Cortex/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes.md b/Changes.md index 063b64bae1..864171bb3d 100644 --- a/Changes.md +++ b/Changes.md @@ -3,6 +3,7 @@ - CI : Added CI for linux-gcc11 and macos-arm64 (Xcode 14.3.1). - LLVM : Updated to version 15.0.7. +- Cortex : Updated to version 10.5.9.1. - Cycles : Disabled CUDA binary generation for Kepler and Maxwell architecture GPUs. 8.x.x (relative to 8.0.1) diff --git a/Cortex/config.py b/Cortex/config.py index a3c6accb2e..e471111aca 100644 --- a/Cortex/config.py +++ b/Cortex/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://github.com/ImageEngine/cortex/archive/refs/tags/10.5.7.1.tar.gz" + "https://github.com/ImageEngine/cortex/archive/refs/tags/10.5.9.1.tar.gz" ], From 79e97c8219dfc7579e0e9acd9ad672224f0e7798 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:27:55 -0700 Subject: [PATCH 02/17] Imath : Update to version 3.1.11 --- Changes.md | 1 + Imath/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes.md b/Changes.md index 864171bb3d..8537cc8481 100644 --- a/Changes.md +++ b/Changes.md @@ -5,6 +5,7 @@ - LLVM : Updated to version 15.0.7. - Cortex : Updated to version 10.5.9.1. - Cycles : Disabled CUDA binary generation for Kepler and Maxwell architecture GPUs. +- Imath : Updated to version 3.1.11. 8.x.x (relative to 8.0.1) ----- diff --git a/Imath/config.py b/Imath/config.py index 54500267e8..b85716c589 100644 --- a/Imath/config.py +++ b/Imath/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.1.9.tar.gz" + "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.1.11.tar.gz" ], From 3f0ac0c4087b9ee335168ca29ea3ed25c06b7389 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:28:37 -0700 Subject: [PATCH 03/17] OpenImageIO : Update to version 2.5.10.1 --- Changes.md | 1 + OpenImageIO/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes.md b/Changes.md index 8537cc8481..adffbbe2cb 100644 --- a/Changes.md +++ b/Changes.md @@ -6,6 +6,7 @@ - Cortex : Updated to version 10.5.9.1. - Cycles : Disabled CUDA binary generation for Kepler and Maxwell architecture GPUs. - Imath : Updated to version 3.1.11. +- OpenImageIO : Updated to version 2.5.10.1. 8.x.x (relative to 8.0.1) ----- diff --git a/OpenImageIO/config.py b/OpenImageIO/config.py index 9265df759f..0c915705b7 100644 --- a/OpenImageIO/config.py +++ b/OpenImageIO/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://github.com/OpenImageIO/oiio/archive/refs/tags/v2.5.8.0.tar.gz" + "https://github.com/OpenImageIO/oiio/archive/refs/tags/v2.5.10.1.tar.gz" ], From 47b9784f6a10e7d03b8aa2be4aa42980c4ddd65a Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Mon, 26 Aug 2024 14:48:27 -0700 Subject: [PATCH 04/17] OpenImageIO : Disable OpenVDB plugin We don't list OpenVDB in `dependencies` so a full clean build will build OIIO without OpenVDB support, though building OIIO with a `buildDir` that already contains OpenVDB would build OIIO with OpenVDB support so for consistency we also disable it here. --- OpenImageIO/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenImageIO/config.py b/OpenImageIO/config.py index 0c915705b7..d80013fdd6 100644 --- a/OpenImageIO/config.py +++ b/OpenImageIO/config.py @@ -30,6 +30,7 @@ " -D CMAKE_PREFIX_PATH={buildDir}" " -D USE_FFMPEG=NO" " -D USE_GIF=0" + " -D USE_OPENVDB=NO" " -D USE_PYTHON=YES" " -D USE_EXTERNAL_PUGIXML=YES" " -D BUILD_MISSING_FMT=NO" From 68526216bb37889581bc08c22c0b6e18952196b5 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Sat, 24 Aug 2024 11:26:24 -0700 Subject: [PATCH 05/17] LibJPEG-Turbo : Update to version 3.0.3 OIIO 2.5 requires LibJPEG-Turbo >= 2.1 as it now relies on its exported cmake configs --- Changes.md | 1 + LibJPEG-Turbo/config.py | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Changes.md b/Changes.md index adffbbe2cb..855798fabe 100644 --- a/Changes.md +++ b/Changes.md @@ -6,6 +6,7 @@ - Cortex : Updated to version 10.5.9.1. - Cycles : Disabled CUDA binary generation for Kepler and Maxwell architecture GPUs. - Imath : Updated to version 3.1.11. +- LibJPEG-Turbo : Updated to version 3.0.3. - OpenImageIO : Updated to version 2.5.10.1. 8.x.x (relative to 8.0.1) diff --git a/LibJPEG-Turbo/config.py b/LibJPEG-Turbo/config.py index 8ae7aab8b6..b462828701 100644 --- a/LibJPEG-Turbo/config.py +++ b/LibJPEG-Turbo/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://download.sourceforge.net/project/libjpeg-turbo/1.5.2/libjpeg-turbo-1.5.2.tar.gz", + "https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.0.3/libjpeg-turbo-3.0.3.tar.gz", ], @@ -11,9 +11,13 @@ "commands" : [ - "./configure --prefix={buildDir}", - "make -j {jobs}", - "make install", + "mkdir build", + "cd build &&" + " cmake" + " -D CMAKE_INSTALL_PREFIX={buildDir}" + " -D CMAKE_INSTALL_LIBDIR={buildDir}/lib" + " ..", + "cd build && make -j {jobs} && make install", ], From f22da49fe5a54a744480f434d882f24275150334 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:29:46 -0700 Subject: [PATCH 06/17] MaterialX : Update to version 1.38.10 --- Changes.md | 1 + MaterialX/config.py | 2 +- MaterialX/patches/cxxStandard.patch | 11 ----------- 3 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 MaterialX/patches/cxxStandard.patch diff --git a/Changes.md b/Changes.md index 855798fabe..4c6140bb7b 100644 --- a/Changes.md +++ b/Changes.md @@ -7,6 +7,7 @@ - Cycles : Disabled CUDA binary generation for Kepler and Maxwell architecture GPUs. - Imath : Updated to version 3.1.11. - LibJPEG-Turbo : Updated to version 3.0.3. +- MaterialX : Updated to version 1.38.10. - OpenImageIO : Updated to version 2.5.10.1. 8.x.x (relative to 8.0.1) diff --git a/MaterialX/config.py b/MaterialX/config.py index fa1ea233b4..03d9df8f1b 100644 --- a/MaterialX/config.py +++ b/MaterialX/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://github.com/AcademySoftwareFoundation/MaterialX/archive/refs/tags/v1.38.8.tar.gz", + "https://github.com/AcademySoftwareFoundation/MaterialX/archive/refs/tags/v1.38.10.tar.gz", ], diff --git a/MaterialX/patches/cxxStandard.patch b/MaterialX/patches/cxxStandard.patch deleted file mode 100644 index 15ef9b402b..0000000000 --- a/MaterialX/patches/cxxStandard.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/CMakeLists.txt 2023-04-21 00:10:52.000000000 +0100 -+++ b/CMakeLists.txt 2023-06-05 12:08:31.561965332 +0100 -@@ -6,7 +6,7 @@ - - # Cmake setup - cmake_minimum_required(VERSION 3.5) --set(CMAKE_CXX_STANDARD 14) -+set(CMAKE_CXX_STANDARD 17) - set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) - set(CMAKE_MACOSX_RPATH ON) - enable_testing() From 2e80b36e69635f96c961a53863d14998dfe04698 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:30:23 -0700 Subject: [PATCH 07/17] USD : Update to version 24.08 --- Changes.md | 1 + USD/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes.md b/Changes.md index 4c6140bb7b..d07a846ac3 100644 --- a/Changes.md +++ b/Changes.md @@ -9,6 +9,7 @@ - LibJPEG-Turbo : Updated to version 3.0.3. - MaterialX : Updated to version 1.38.10. - OpenImageIO : Updated to version 2.5.10.1. +- USD : Updated to version 24.08. 8.x.x (relative to 8.0.1) ----- diff --git a/USD/config.py b/USD/config.py index 4826dd200b..ef85af2a2c 100644 --- a/USD/config.py +++ b/USD/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://github.com/PixarAnimationStudios/USD/archive/refs/tags/v23.11.tar.gz" + "https://github.com/PixarAnimationStudios/USD/archive/refs/tags/v24.08.tar.gz" ], From 2be21c28f4eb115b10ca8b554109ddde18bcd545 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:31:31 -0700 Subject: [PATCH 08/17] Qt/PySide : Update to version 5.15.14 --- Changes.md | 2 ++ PySide/config.py | 2 +- Qt/config.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changes.md b/Changes.md index d07a846ac3..482bb0e38a 100644 --- a/Changes.md +++ b/Changes.md @@ -9,6 +9,8 @@ - LibJPEG-Turbo : Updated to version 3.0.3. - MaterialX : Updated to version 1.38.10. - OpenImageIO : Updated to version 2.5.10.1. +- PySide : Updated to version 5.15.14. +- Qt : Updated to version 5.15.14. - USD : Updated to version 24.08. 8.x.x (relative to 8.0.1) diff --git a/PySide/config.py b/PySide/config.py index 3d4e4bb195..4f608bfa80 100644 --- a/PySide/config.py +++ b/PySide/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.12-src/pyside-setup-opensource-src-5.15.12.tar.xz" + "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.14-src/pyside-setup-opensource-src-5.15.14.tar.xz" ], diff --git a/Qt/config.py b/Qt/config.py index 58b1409032..3a701044aa 100644 --- a/Qt/config.py +++ b/Qt/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://download.qt.io/official_releases/qt/5.15/5.15.12/single/qt-everywhere-opensource-src-5.15.12.tar.xz" + "https://download.qt.io/official_releases/qt/5.15/5.15.14/single/qt-everywhere-opensource-src-5.15.14.tar.xz" ], From 8adb16a530f7f231922f46f7cbed78ee918386c2 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Wed, 24 Jul 2024 17:11:34 -0700 Subject: [PATCH 09/17] Embree : Update to version 4.3.2 --- Changes.md | 1 + Embree/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes.md b/Changes.md index 482bb0e38a..e541ee8d6e 100644 --- a/Changes.md +++ b/Changes.md @@ -5,6 +5,7 @@ - LLVM : Updated to version 15.0.7. - Cortex : Updated to version 10.5.9.1. - Cycles : Disabled CUDA binary generation for Kepler and Maxwell architecture GPUs. +- Embree : Updated to version 4.3.2. - Imath : Updated to version 3.1.11. - LibJPEG-Turbo : Updated to version 3.0.3. - MaterialX : Updated to version 1.38.10. diff --git a/Embree/config.py b/Embree/config.py index 438a7c5401..bb690927cd 100644 --- a/Embree/config.py +++ b/Embree/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://github.com/embree/embree/archive/v4.3.0.tar.gz" + "https://github.com/embree/embree/archive/v4.3.2.tar.gz" ], From af63964e3f044daf1c5318c6e5689d13dc2a3d58 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Thu, 25 Jul 2024 12:16:00 -0700 Subject: [PATCH 10/17] OpenPGL : Update to version 0.6.0 --- Changes.md | 1 + OpenPGL/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes.md b/Changes.md index e541ee8d6e..661ddf4240 100644 --- a/Changes.md +++ b/Changes.md @@ -10,6 +10,7 @@ - LibJPEG-Turbo : Updated to version 3.0.3. - MaterialX : Updated to version 1.38.10. - OpenImageIO : Updated to version 2.5.10.1. +- OpenPGL : Updated to version 0.6.0. - PySide : Updated to version 5.15.14. - Qt : Updated to version 5.15.14. - USD : Updated to version 24.08. diff --git a/OpenPGL/config.py b/OpenPGL/config.py index b368418ad0..2040cc7751 100644 --- a/OpenPGL/config.py +++ b/OpenPGL/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://github.com/OpenPathGuidingLibrary/openpgl/archive/refs/tags/v0.5.0.tar.gz" + "https://github.com/OpenPathGuidingLibrary/openpgl/archive/refs/tags/v0.6.0.tar.gz" ], From a2a732932604170e7079d6eaeeb23eb846b28729 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Wed, 24 Jul 2024 17:14:35 -0700 Subject: [PATCH 11/17] Zstandard : Add version 1.5.0 --- Changes.md | 1 + Zstandard/config.py | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 Zstandard/config.py diff --git a/Changes.md b/Changes.md index 661ddf4240..df35ccf897 100644 --- a/Changes.md +++ b/Changes.md @@ -14,6 +14,7 @@ - PySide : Updated to version 5.15.14. - Qt : Updated to version 5.15.14. - USD : Updated to version 24.08. +- Zstandard : Added version 1.5.0. 8.x.x (relative to 8.0.1) ----- diff --git a/Zstandard/config.py b/Zstandard/config.py new file mode 100644 index 0000000000..e759828164 --- /dev/null +++ b/Zstandard/config.py @@ -0,0 +1,37 @@ +{ + + "downloads" : [ + + "https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz" + + ], + + "url" : "http://zstd.net", + + "license" : "LICENSE", + + "commands" : [ + + "mkdir gafferBuild", + "cd gafferBuild &&" + " cmake" + " -D CMAKE_CXX_STANDARD={c++Standard}" + " -D CMAKE_INSTALL_PREFIX={buildDir}" + " -D CMAKE_INSTALL_LIBDIR={buildDir}/lib" + " -D CMAKE_BUILD_TYPE=Release" + " -D ZSTD_BUILD_PROGRAMS=OFF" + " -D ZSTD_BUILD_TESTS=OFF" + " ../build/cmake", + + "cd gafferBuild && make -j {jobs} && make install", + + ], + + "manifest" : [ + + "include/zstd.h", + "lib/libzstd{sharedLibraryExtension}*" + + ], + +} From 95617bde606b29a3d797d491705273c3cde35b9f Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:44:57 -0700 Subject: [PATCH 12/17] Cycles : Update to version 4.2.0 --- Changes.md | 4 +++- Cycles/config.py | 11 +++++++++-- Cycles/patches/cudaBinaries.patch | 15 ++++++++------- Cycles/patches/iorDefaults.patch | 28 ---------------------------- 4 files changed, 20 insertions(+), 38 deletions(-) delete mode 100644 Cycles/patches/iorDefaults.patch diff --git a/Changes.md b/Changes.md index df35ccf897..1948eadeea 100644 --- a/Changes.md +++ b/Changes.md @@ -4,7 +4,9 @@ - CI : Added CI for linux-gcc11 and macos-arm64 (Xcode 14.3.1). - LLVM : Updated to version 15.0.7. - Cortex : Updated to version 10.5.9.1. -- Cycles : Disabled CUDA binary generation for Kepler and Maxwell architecture GPUs. +- Cycles : + - Updated to version 4.2.0. + - Disabled CUDA binary generation for Kepler and Maxwell architecture GPUs. - Embree : Updated to version 4.3.2. - Imath : Updated to version 3.1.11. - LibJPEG-Turbo : Updated to version 3.0.3. diff --git a/Cycles/config.py b/Cycles/config.py index 989815f09a..0b6d79bd04 100644 --- a/Cycles/config.py +++ b/Cycles/config.py @@ -2,7 +2,7 @@ "downloads" : [ - "https://github.com/blender/cycles/archive/refs/tags/v4.0.2.tar.gz", + "https://github.com/blender/cycles/archive/refs/tags/v4.2.0.tar.gz", ], @@ -10,10 +10,17 @@ "license" : "LICENSE", - "dependencies" : [ "Boost", "OpenJPEG", "OpenImageIO", "TBB", "Alembic", "Embree", "OpenColorIO", "OpenVDB", "OpenShadingLanguage", "OpenSubdiv", "OpenPGL", "LibWebP" ], + "dependencies" : [ "Boost", "OpenJPEG", "OpenImageIO", "TBB", "Alembic", "Embree", "OpenColorIO", "OpenVDB", "OpenShadingLanguage", "OpenSubdiv", "OpenPGL", "LibWebP", "Zstandard" ], "commands" : [ + # The Cycles archive includes empty folders under `./lib` + # named `{platform}_{architecture}`. The existence of a folder + # in lib matching the current platform and architecture causes + # the build to only look for dependencies within it, so we + # remove them to allow dependencies to be found in `{buildDir}`. + "rmdir ./lib/*", + "mkdir build", "cd build &&" " cmake" diff --git a/Cycles/patches/cudaBinaries.patch b/Cycles/patches/cudaBinaries.patch index 07aa827d95..213fc75ca1 100644 --- a/Cycles/patches/cudaBinaries.patch +++ b/Cycles/patches/cudaBinaries.patch @@ -1,10 +1,11 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -120,7 +120,7 @@ - mark_as_advanced(WITH_CYCLES_DEVICE_CUDA) +@@ -122,7 +122,7 @@ - option(WITH_CYCLES_CUDA_BINARIES "Build Cycles NVIDIA CUDA binaries" OFF) -- set(CYCLES_CUDA_BINARIES_ARCH sm_30 sm_35 sm_37 sm_50 sm_52 sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_75 CACHE STRING "CUDA architectures to build binaries for") -+ set(CYCLES_CUDA_BINARIES_ARCH sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_75 CACHE STRING "CUDA architectures to build binaries for") - option(WITH_CYCLES_CUDA_BUILD_SERIAL "Build cubins one after another (useful on machines with limited RAM)" OFF) - option(WITH_CUDA_DYNLOAD "Dynamically load CUDA libraries at runtime (for developers, makes cuda-gdb work)" ON) + option(WITH_CYCLES_CUDA_BINARIES "Build Cycles NVIDIA CUDA binaries" OFF) + set(CYCLES_CUDA_BINARIES_ARCH +- sm_30 sm_35 sm_37 sm_50 sm_52 sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_75 ++ sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_75 + CACHE STRING "CUDA architectures to build binaries for" + ) + option(WITH_CYCLES_CUDA_BUILD_SERIAL "\ diff --git a/Cycles/patches/iorDefaults.patch b/Cycles/patches/iorDefaults.patch deleted file mode 100644 index 3923cfcfb2..0000000000 --- a/Cycles/patches/iorDefaults.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/src/scene/shader_nodes.cpp -+++ b/src/scene/shader_nodes.cpp -@@ -2425,7 +2425,7 @@ NODE_DEFINE(GlassBsdfNode) - SOCKET_ENUM( - distribution, "Distribution", distribution_enum, CLOSURE_BSDF_MICROFACET_GGX_GLASS_ID); - SOCKET_IN_FLOAT(roughness, "Roughness", 0.0f); -- SOCKET_IN_FLOAT(IOR, "IOR", 0.3f); -+ SOCKET_IN_FLOAT(IOR, "IOR", 1.5f); - - SOCKET_OUT_CLOSURE(BSDF, "BSDF"); - -@@ -2623,7 +2623,7 @@ NODE_DEFINE(PrincipledBsdfNode) - SOCKET_IN_COLOR(base_color, "Base Color", make_float3(0.8f, 0.8f, 0.8f)) - SOCKET_IN_FLOAT(metallic, "Metallic", 0.0f); - SOCKET_IN_FLOAT(roughness, "Roughness", 0.5f); -- SOCKET_IN_FLOAT(ior, "IOR", 0.0f); -+ SOCKET_IN_FLOAT(ior, "IOR", 1.5f); - SOCKET_IN_FLOAT(alpha, "Alpha", 1.0f); - SOCKET_IN_NORMAL(normal, "Normal", zero_float3(), SocketType::LINK_NORMAL); - -@@ -5781,7 +5781,7 @@ NODE_DEFINE(FresnelNode) - - SOCKET_IN_NORMAL( - normal, "Normal", zero_float3(), SocketType::LINK_NORMAL | SocketType::OSL_INTERNAL); -- SOCKET_IN_FLOAT(IOR, "IOR", 1.45f); -+ SOCKET_IN_FLOAT(IOR, "IOR", 1.5f); - - SOCKET_OUT_FLOAT(fac, "Fac"); From 1ee75b0b8a7c4b9207a5545296a8c11052e6b79e Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Thu, 25 Jul 2024 12:07:21 -0700 Subject: [PATCH 13/17] BitstreamVera : Update download URL Download the same file from a mirror URL as we've been seeing intermittent download failures from ftp.gnome.org --- BitstreamVera/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BitstreamVera/config.py b/BitstreamVera/config.py index 0e1e4391dc..f4a7f141aa 100644 --- a/BitstreamVera/config.py +++ b/BitstreamVera/config.py @@ -2,7 +2,8 @@ "downloads" : [ - "https://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.gz" + "https://mirrors.dotsrc.org/gnome/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.gz" + ], "url" : "https://www.gnome.org/fonts", From 8217e25d662f5de9050ac6bf3b8aa2cab3495c79 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Sat, 24 Aug 2024 13:59:27 -0700 Subject: [PATCH 14/17] Jinja2 : Fix macOS install path --- Jinja2/config.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Jinja2/config.py b/Jinja2/config.py index 43d28ea6a5..106540ed5d 100644 --- a/Jinja2/config.py +++ b/Jinja2/config.py @@ -23,8 +23,24 @@ "commands" : [ - "{buildDir}/bin/python setup.py install --root / --prefix {buildDir}", + "{buildDir}/bin/python setup.py install --root / --prefix {buildDir} {extraArgs}", ], + "variables" : { + + "extraArgs" : "", + + }, + + "platform:macos" : { + + "variables" : { + + "extraArgs" : "--install-lib {pythonLibDir}/python{pythonVersion}/site-packages", + + } + + }, + } From 474598b009a7cd8f2ba5f25a862ae066a34e0fbd Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Sat, 24 Aug 2024 13:59:46 -0700 Subject: [PATCH 15/17] MarkupSafe : Fix macOS install path --- MarkupSafe/config.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/MarkupSafe/config.py b/MarkupSafe/config.py index a854c1080f..6b712e3f12 100644 --- a/MarkupSafe/config.py +++ b/MarkupSafe/config.py @@ -23,8 +23,24 @@ "commands" : [ - "{buildDir}/bin/python setup.py install --root / --prefix {buildDir}", + "{buildDir}/bin/python setup.py install --root / --prefix {buildDir} {extraArgs}", ], + "variables" : { + + "extraArgs" : "", + + }, + + "platform:macos" : { + + "variables" : { + + "extraArgs" : "--install-lib {pythonLibDir}/python{pythonVersion}/site-packages", + + } + + }, + } From 65a995e5a5d7d7f2fc22f9fdf26a4bed90b3f142 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Sun, 14 Jul 2024 22:59:45 -0700 Subject: [PATCH 16/17] CI : Remove Python 3.10 apps from /Applications on macOS Python builds on macOS attempt to install Python Launcher.app and IDLE.app to /Applications. The github provided macos-14 image already includes an install of Python 3.10, which causes our Python 3.10 build to fail as it cannot overwrite `/Applications/Python 3.10/Python Launcher.app` and `/Applications/Python 3.10/IDLE.app`. There appears to be no obvious way to configure our build to not install to /Applications, so we instead remove these conflicting paths for now... --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d138f06686..9308ad27e7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,6 +87,7 @@ jobs: # Remove CommandLineTools so there is no potential for conflict with # our selected Xcode version. sudo rm -rf /Library/Developer/CommandLineTools + sudo rm -rf /Applications/Python\ 3.10 shell: bash if: runner.os == 'macOS' From a86a7efae673f9ef939b36b7067ead1a86024035 Mon Sep 17 00:00:00 2001 From: Murray Stevenson <50844517+murraystevenson@users.noreply.github.com> Date: Thu, 25 Jul 2024 12:30:18 -0700 Subject: [PATCH 17/17] CI : Remove little-cms2 on macOS The github macos-14 runner image provides it, which then causes our LibRaw builds to treat it as a dependency. We have no need for little-cms2 so we make sure to remove it. --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9308ad27e7..18e048c2c8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -88,6 +88,8 @@ jobs: # our selected Xcode version. sudo rm -rf /Library/Developer/CommandLineTools sudo rm -rf /Applications/Python\ 3.10 + # Remove little-cms2 to prevent our LibRaw builds from finding it. + brew uninstall --ignore-dependencies little-cms2 shell: bash if: runner.os == 'macOS'