From 388cac7165059d6a6a1b52c3e805580f5d9c1067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 8 Jul 2024 17:20:33 +0700 Subject: [PATCH] cmake-bootstrap: update to 3.30.0. --- .../cmake-bootstrap/patches/no-cpack.patch | 27 +++++------ .../cmake-bootstrap/patches/no-network.patch | 47 ++++++++++--------- .../patches/no-run-cmake-bootstrap.patch | 2 +- .../cmake-bootstrap/patches/not-needed.patch | 14 +++--- srcpkgs/cmake-bootstrap/template | 4 +- 5 files changed, 47 insertions(+), 47 deletions(-) diff --git a/srcpkgs/cmake-bootstrap/patches/no-cpack.patch b/srcpkgs/cmake-bootstrap/patches/no-cpack.patch index 7b20b60d297..b79c735eb2c 100644 --- a/srcpkgs/cmake-bootstrap/patches/no-cpack.patch +++ b/srcpkgs/cmake-bootstrap/patches/no-cpack.patch @@ -1,6 +1,6 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -247,15 +247,13 @@ macro(CMAKE_SETUP_TESTING) +@@ -254,15 +254,13 @@ macro(CMAKE_SETUP_TESTING) if(CMake_TEST_EXTERNAL_CMAKE) set(CMAKE_CTEST_COMMAND "${CMake_TEST_EXTERNAL_CMAKE}/ctest") set(CMAKE_CMAKE_COMMAND "${CMake_TEST_EXTERNAL_CMAKE}/cmake") @@ -17,7 +17,7 @@ endif() endif() -@@ -467,7 +465,6 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE) +@@ -474,7 +472,6 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE) add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") @@ -27,7 +27,7 @@ --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt -@@ -1126,6 +1126,7 @@ endif() +@@ -1136,6 +1136,7 @@ endif() # # Build CPackLib # @@ -35,7 +35,7 @@ add_library( CPackLib CPack/cmCPackArchiveGenerator.cxx -@@ -1158,9 +1159,10 @@ target_include_directories( +@@ -1168,9 +1169,10 @@ target_include_directories( "${CMAKE_CURRENT_BINARY_DIR}/CPack" ) target_link_libraries(CPackLib PUBLIC CMakeLib) @@ -47,7 +47,7 @@ target_sources( CPackLib PRIVATE -@@ -1278,11 +1280,6 @@ add_executable(ctest ctest.cxx) +@@ -1288,11 +1290,6 @@ add_executable(ctest ctest.cxx) target_link_libraries(ctest PRIVATE CTestLib ManifestLib) list(APPEND _tools ctest) @@ -61,7 +61,7 @@ add_subdirectory(CursesDialog) --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt -@@ -147,7 +147,6 @@ if(BUILD_TESTING) +@@ -150,7 +150,6 @@ if(BUILD_TESTING) endif() # Look for git to use for tests. @@ -71,7 +71,7 @@ # The tool does not work with spaces in the path. --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt -@@ -908,9 +908,6 @@ add_RunCMake_test(file-GET_RUNTIME_DEPEN +@@ -929,9 +929,6 @@ add_RunCMake_test(file-GET_RUNTIME_DEPEN -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID} ) @@ -81,7 +81,7 @@ if(XCODE_VERSION) set(ExternalProject_ARGS -DXCODE_VERSION=${XCODE_VERSION}) endif() -@@ -932,9 +929,6 @@ add_RunCMake_test(CTestCommandLine -DTES +@@ -953,9 +950,6 @@ add_RunCMake_test(CTestCommandLine -DTES add_RunCMake_test(CacheNewline) # Only run this test on unix platforms that support # symbolic links @@ -91,16 +91,15 @@ set(IfacePaths_INCDIRS_ARGS -DTEST_PROP=INCLUDE_DIRECTORIES) add_RunCMake_test(IfacePaths_INCDIRS TEST_DIR IfacePaths) -@@ -1098,8 +1092,6 @@ if(CMAKE_SYSTEM_PROCESSOR STREQUAL "e2k" +@@ -1132,7 +1126,6 @@ if(CMAKE_SYSTEM_PROCESSOR STREQUAL "e2k" endif() endif() -add_RunCMake_test_group(CPack "${cpack_tests}") --# add a test to make sure symbols are exported from a shared library - # for MSVC compilers CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS property is used - add_RunCMake_test(AutoExportDll - -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME} -@@ -1143,29 +1135,6 @@ add_RunCMake_test(PrecompileHeaders -DCM + + if(CMake_TEST_CPACK_WIX3 OR CMake_TEST_CPACK_WIX4) + add_RunCMake_test(CPack_WIX +@@ -1189,29 +1182,6 @@ add_RunCMake_test(PrecompileHeaders -DCM -DCMAKE_C_COMPILER_VERSION=${CMAKE_C_COMPILER_VERSION}) add_RunCMake_test(UnityBuild -DCMake_TEST_OBJC=${CMake_TEST_OBJC}) diff --git a/srcpkgs/cmake-bootstrap/patches/no-network.patch b/srcpkgs/cmake-bootstrap/patches/no-network.patch index f68c96b4a1e..aee507fda2b 100644 --- a/srcpkgs/cmake-bootstrap/patches/no-network.patch +++ b/srcpkgs/cmake-bootstrap/patches/no-network.patch @@ -1,6 +1,6 @@ --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx -@@ -2082,9 +2082,6 @@ bool HandleDownloadCommand(std::vector" license="BSD-3-Clause, ICU" homepage="https://www.cmake.org" distfiles="https://www.cmake.org/files/v${version%.*}/cmake-${version}.tar.gz" -checksum=dd63da7d763c0db455ca232f2c443f5234fe0b11f8bd6958a81d29cc987dfd6e +checksum=157e5be6055c154c34f580795fe5832f260246506d32954a971300ed7899f579 repository="bootstrap" provides="cmake-${version}_1"