From 3da54a22bee57bcc138e84ccf85b09d6a4df7a0f Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 30 Oct 2022 17:50:32 +0100 Subject: [PATCH] Updated FreeType to 2.12.1 and pugixml to 1.12.1 on Windows and macOS and curl to 7.86.0 on Windows. --- CMakeLists.txt | 4 ++-- tools/Windows_dependencies_setup_MSVC.bat | 16 ++++++++-------- tools/Windows_dependencies_setup_MinGW.sh | 12 ++++++------ tools/macOS_dependencies_setup.sh | 8 ++++---- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a33f65ac2..75ffc9f82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -395,13 +395,13 @@ if(APPLE) ${CMAKE_CURRENT_SOURCE_DIR}/external/SDL) elseif(WIN32) set(COMMON_INCLUDE_DIRS ${COMMON_INCLUDE_DIRS} - ${CMAKE_CURRENT_SOURCE_DIR}/external/curl-7.80.0-win64-mingw/include + ${CMAKE_CURRENT_SOURCE_DIR}/external/curl-7.86.0-win64-mingw/include ${CMAKE_CURRENT_SOURCE_DIR}/external/glew-2.1.0/include ${CMAKE_CURRENT_SOURCE_DIR}/external/ffmpeg-n5.1.2-1-g05d6157aab-win64-gpl-shared-5.1/include ${CMAKE_CURRENT_SOURCE_DIR}/external/FreeImage/Dist/x64 ${CMAKE_CURRENT_SOURCE_DIR}/external/freetype/include ${CMAKE_CURRENT_SOURCE_DIR}/external/pugixml/src - ${CMAKE_CURRENT_SOURCE_DIR}/external/SDL2-2.24.0) + ${CMAKE_CURRENT_SOURCE_DIR}/external/SDL2-2.24.1) elseif(EMSCRIPTEN) set(COMMON_INCLUDE_DIRS ${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/external/curl/include diff --git a/tools/Windows_dependencies_setup_MSVC.bat b/tools/Windows_dependencies_setup_MSVC.bat index 81b90fd6d..0ebb03b56 100644 --- a/tools/Windows_dependencies_setup_MSVC.bat +++ b/tools/Windows_dependencies_setup_MSVC.bat @@ -35,20 +35,20 @@ cd external echo Setting up curl -if exist curl-7.80.0-win64-mingw\ ( - rmdir /S /Q curl-7.80.0-win64-mingw +if exist curl-7.86.0-win64-mingw\ ( + rmdir /S /Q curl-7.86.0-win64-mingw ) -curl -O https://curl.se/windows/dl-7.80.0_2/curl-7.80.0_2-win64-mingw.zip -7z x curl-7.80.0_2-win64-mingw.zip +curl -O https://curl.se/windows/dl-7.86.0/curl-7.86.0-win64-mingw.zip +7z x curl-7.86.0-win64-mingw.zip -if not exist curl-7.80.0-win64-mingw\bin\ ( +if not exist curl-7.86.0-win64-mingw\bin\ ( echo curl directory is missing, aborting. cd .. goto end ) -cd curl-7.80.0-win64-mingw\bin +cd curl-7.86.0-win64-mingw\bin dumpbin /exports libcurl-x64.dll > exports.txt echo LIBRARY libcurl-x64 > libcurl-x64.def @@ -95,7 +95,7 @@ if not exist freetype\ ( ) cd freetype -git checkout VER-2-11-1 +git checkout VER-2-12-1 mkdir build cd .. @@ -134,7 +134,7 @@ if not exist pugixml\ ( ) cd pugixml -git checkout v1.10 +git checkout v1.12.1 cd .. echo: diff --git a/tools/Windows_dependencies_setup_MinGW.sh b/tools/Windows_dependencies_setup_MinGW.sh index 765dc4d1c..198073db2 100644 --- a/tools/Windows_dependencies_setup_MinGW.sh +++ b/tools/Windows_dependencies_setup_MinGW.sh @@ -22,15 +22,15 @@ cd external echo -e "\nSetting up curl" rm -rf curl-* -curl -O https://curl.se/windows/dl-7.80.0_2/curl-7.80.0_2-win64-mingw.zip -unzip curl-7.80.0_2-win64-mingw.zip +curl -O https://curl.se/windows/dl-7.86.0/curl-7.86.0-win64-mingw.zip +unzip curl-7.86.0-win64-mingw.zip -if [ ! -d curl-7.80.0-win64-mingw ]; then +if [ ! -d curl-7.86.0-win64-mingw ]; then echo "curl directory is missing, aborting." exit fi -cp -p curl-7.80.0-win64-mingw/bin/libcurl-x64.dll .. +cp -p curl-7.86.0-win64-mingw/bin/libcurl-x64.dll .. echo -e "\nSetting up GLEW" rm -rf glew-* @@ -49,7 +49,7 @@ if [ ! -d freetype ]; then fi cd freetype -git checkout VER-2-11-1 +git checkout VER-2-12-1 mkdir build cd .. @@ -77,7 +77,7 @@ if [ ! -d pugixml ]; then fi cd pugixml -git checkout v1.11.4 +git checkout v1.12.1 cd .. echo -e "\nSetting up SDL" diff --git a/tools/macOS_dependencies_setup.sh b/tools/macOS_dependencies_setup.sh index 69b96dac7..ef358f3f0 100755 --- a/tools/macOS_dependencies_setup.sh +++ b/tools/macOS_dependencies_setup.sh @@ -32,7 +32,7 @@ fi mv code libpng cd libpng -git checkout v1.6.37 +git checkout v1.6.38 cd .. echo "\nSetting up FreeType" @@ -45,7 +45,7 @@ if [ ! -d freetype ]; then fi cd freetype -git checkout VER-2-11-0 +git checkout VER-2-12-1 mkdir build cd .. @@ -174,7 +174,7 @@ if [ ! -d pugixml ]; then fi cd pugixml -git checkout v1.11.4 +git checkout v1.12.1 cd .. echo "\nSetting up SDL" @@ -202,7 +202,7 @@ if [ ! -d libvpx ]; then fi cd libvpx -git checkout v1.11.0 +git checkout v1.12.0 cd .. echo "\nSetting up Ogg"