From 47633daa65ac56b82d58da47ee083aab2171d400 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Fri, 14 Jun 2024 20:40:01 +0200 Subject: [PATCH] [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) Avoid wrong use of popular but ambiguous variables (`WIN32` etc.) in scripts and portfiles by detection in CI. Sometimes the variables are used wrongly, and sometimes this isn't caught in PR review. This PR tries to catch those variables (when in the active code path in script mode). [This can happen to every contributor](https://github.com/microsoft/vcpkg/pull/34356#discussion_r1360074122), even if he/she knows the rules ... vcpkg is raising the bar higher than usual, having to deal with targets and hosts even in script mode. (`b2-options.cmake` (boost fragment) shows where we get if we don't pay attention: the same code being used in script mode (`WIN32` meaning host) and in project mode (`WIN32` meaning target).) The new check doesn't break any user builds because it relies on command line options. However it changes the ABI hashes. --- ports/angle/portfile.cmake | 2 +- ports/angle/vcpkg.json | 2 +- ports/ed25519/portfile.cmake | 2 +- ports/ed25519/vcpkg.json | 1 + ports/embree3/portfile.cmake | 2 +- ports/embree3/vcpkg.json | 2 +- ports/glib/portfile.cmake | 2 +- ports/glib/vcpkg.json | 2 +- ports/gtsam/portfile.cmake | 4 +- ports/gtsam/vcpkg.json | 2 +- ports/hash-library/portfile.cmake | 2 +- ports/hash-library/vcpkg.json | 2 +- ports/keccak-tiny/portfile.cmake | 2 +- ports/keccak-tiny/vcpkg.json | 2 +- ports/libredwg/portfile.cmake | 19 ++++------ ports/libredwg/vcpkg.json | 1 + ports/libyaml/portfile.cmake | 2 +- ports/libyaml/vcpkg.json | 2 +- ports/magnum-plugins/portfile.cmake | 2 +- ports/magnum-plugins/vcpkg.json | 2 +- ports/magnum/portfile.cmake | 2 +- ports/magnum/vcpkg.json | 2 +- ports/mesa/portfile.cmake | 2 +- ports/mesa/vcpkg.json | 2 +- ports/qtwebengine/portfile.cmake | 2 +- ports/qtwebengine/vcpkg.json | 2 +- ports/simbody/portfile.cmake | 3 +- ports/simbody/vcpkg.json | 1 + ports/vcpkg-qmake/vcpkg.json | 2 +- .../z_vcpkg_qmake_fix_makefiles.cmake | 2 +- ports/vcpkg-tool-meson/vcpkg.json | 2 +- .../vcpkg_configure_meson.cmake | 8 ++-- ports/wavpack/portfile.cmake | 2 +- ports/wavpack/vcpkg.json | 2 +- ports/xorg-macros/portfile.cmake | 4 +- ports/xorg-macros/vcpkg.json | 1 + ports/xtrans/portfile.cmake | 28 ++++---------- ports/xtrans/vcpkg.json | 2 +- scripts/cmake/vcpkg_build_make.cmake | 4 +- scripts/cmake/vcpkg_configure_meson.cmake | 10 ++--- .../vcpkg_find_acquire_program(BISON).cmake | 2 +- scripts/cmake/vcpkg_find_fortran.cmake | 5 ++- scripts/ports.cmake | 16 ++++++++ versions/a-/angle.json | 5 +++ versions/baseline.json | 38 +++++++++---------- versions/e-/ed25519.json | 5 +++ versions/e-/embree3.json | 5 +++ versions/g-/glib.json | 5 +++ versions/g-/gtsam.json | 5 +++ versions/h-/hash-library.json | 5 +++ versions/k-/keccak-tiny.json | 5 +++ versions/l-/libredwg.json | 5 +++ versions/l-/libyaml.json | 5 +++ versions/m-/magnum-plugins.json | 5 +++ versions/m-/magnum.json | 5 +++ versions/m-/mesa.json | 5 +++ versions/q-/qtwebengine.json | 5 +++ versions/s-/simbody.json | 5 +++ versions/v-/vcpkg-qmake.json | 5 +++ versions/v-/vcpkg-tool-meson.json | 5 +++ versions/w-/wavpack.json | 5 +++ versions/x-/xorg-macros.json | 5 +++ versions/x-/xtrans.json | 5 +++ 63 files changed, 198 insertions(+), 98 deletions(-) diff --git a/ports/angle/portfile.cmake b/ports/angle/portfile.cmake index fa767c2bec..ac34ff91bf 100644 --- a/ports/angle/portfile.cmake +++ b/ports/angle/portfile.cmake @@ -18,7 +18,7 @@ endif() set(ANGLE_USE_D3D11_COMPOSITOR_NATIVE_WINDOW "OFF") if (VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_UWP) set(ANGLE_BUILDSYSTEM_PORT "Win") - if (NOT MINGW) + if (NOT VCPKG_TARGET_IS_MINGW) set(ANGLE_USE_D3D11_COMPOSITOR_NATIVE_WINDOW "ON") endif() elseif (VCPKG_TARGET_IS_OSX) diff --git a/ports/angle/vcpkg.json b/ports/angle/vcpkg.json index 1f9cdf9a00..6f0de0743e 100644 --- a/ports/angle/vcpkg.json +++ b/ports/angle/vcpkg.json @@ -1,7 +1,7 @@ { "name": "angle", "version-string": "chromium_5414", - "port-version": 7, + "port-version": 8, "description": [ "A conformant OpenGL ES implementation for Windows, Mac and Linux.", "The goal of ANGLE is to allow users of multiple operating systems to seamlessly run WebGL and other OpenGL ES content by translating OpenGL ES API calls to one of the hardware-supported APIs available for that platform. ANGLE currently provides translation from OpenGL ES 2.0 and 3.0 to desktop OpenGL, OpenGL ES, Direct3D 9, and Direct3D 11. Support for translation from OpenGL ES to Vulkan is underway, and future plans include compute shader support (ES 3.1) and MacOS support." diff --git a/ports/ed25519/portfile.cmake b/ports/ed25519/portfile.cmake index 1156f93050..ceedd29589 100644 --- a/ports/ed25519/portfile.cmake +++ b/ports/ed25519/portfile.cmake @@ -1,4 +1,4 @@ -if(WIN32) +if(VCPKG_TARGET_IS_WINDOWS) vcpkg_check_linkage(ONLY_STATIC_LIBRARY) endif() diff --git a/ports/ed25519/vcpkg.json b/ports/ed25519/vcpkg.json index d547802a06..512f007606 100644 --- a/ports/ed25519/vcpkg.json +++ b/ports/ed25519/vcpkg.json @@ -1,6 +1,7 @@ { "name": "ed25519", "version-date": "2017-02-10", + "port-version": 1, "description": "Portable C implementation of Ed25519, a high-speed high-security public-key signature system.", "homepage": "https://github.com/orlp/ed25519", "license": "Zlib", diff --git a/ports/embree3/portfile.cmake b/ports/embree3/portfile.cmake index b734bbb184..ed6e3318ce 100755 --- a/ports/embree3/portfile.cmake +++ b/ports/embree3/portfile.cmake @@ -109,7 +109,7 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") endif() -if(APPLE) +if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS) file(REMOVE "${CURRENT_PACKAGES_DIR}/uninstall.command" "${CURRENT_PACKAGES_DIR}/debug/uninstall.command") endif() file(RENAME "${CURRENT_PACKAGES_DIR}/share/doc" "${CURRENT_PACKAGES_DIR}/share/${PORT}/") diff --git a/ports/embree3/vcpkg.json b/ports/embree3/vcpkg.json index 821601bc61..072d75a573 100644 --- a/ports/embree3/vcpkg.json +++ b/ports/embree3/vcpkg.json @@ -1,7 +1,7 @@ { "name": "embree3", "version": "3.13.5", - "port-version": 3, + "port-version": 4, "description": "High Performance Ray Tracing Kernels.", "homepage": "https://github.com/embree/embree", "license": "Apache-2.0", diff --git a/ports/glib/portfile.cmake b/ports/glib/portfile.cmake index 529484ceda..84d8a87d75 100644 --- a/ports/glib/portfile.cmake +++ b/ports/glib/portfile.cmake @@ -12,7 +12,7 @@ vcpkg_extract_source_archive(SOURCE_PATH libintl.patch ) -if(APPLE) +if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS) list(APPEND VCPKG_CMAKE_CONFIGURE_OPTIONS "-DVCPKG_ENABLE_OBJC=1") endif() diff --git a/ports/glib/vcpkg.json b/ports/glib/vcpkg.json index 55272615e3..f6ac57ba37 100644 --- a/ports/glib/vcpkg.json +++ b/ports/glib/vcpkg.json @@ -1,7 +1,7 @@ { "name": "glib", "version": "2.78.4", - "port-version": 1, + "port-version": 2, "description": "Portable, general-purpose utility library.", "homepage": "https://developer.gnome.org/glib/", "license": "LGPL-2.1-or-later", diff --git a/ports/gtsam/portfile.cmake b/ports/gtsam/portfile.cmake index 8b0be1ef21..b6b38aeb4a 100644 --- a/ports/gtsam/portfile.cmake +++ b/ports/gtsam/portfile.cmake @@ -25,8 +25,8 @@ vcpkg_cmake_configure( ) vcpkg_cmake_install() -if (WIN32) - vcpkg_cmake_config_fixup(PACKAGE_NAME GTSAM CONFIG_PATH CMAKE) +if(VCPKG_TARGET_IS_WINDOWS) + vcpkg_cmake_config_fixup(PACKAGE_NAME GTSAM CONFIG_PATH CMake) else() vcpkg_cmake_config_fixup(PACKAGE_NAME GTSAM CONFIG_PATH lib/cmake/GTSAM) endif() diff --git a/ports/gtsam/vcpkg.json b/ports/gtsam/vcpkg.json index f5cdf2f986..56cbcecc7a 100644 --- a/ports/gtsam/vcpkg.json +++ b/ports/gtsam/vcpkg.json @@ -1,7 +1,7 @@ { "name": "gtsam", "version-string": "4.2a9", - "port-version": 1, + "port-version": 2, "description": "GTSAM is a library of C++ classes that implement smoothing and mapping (SAM) in robotics and vision, using factor graphs and Bayes networks as the underlying computing paradigm rather than sparse matrices.", "homepage": "https://github.com/borglab/gtsam", "license": "BSD-3-Clause", diff --git a/ports/hash-library/portfile.cmake b/ports/hash-library/portfile.cmake index 6d6ced5188..145f751669 100644 --- a/ports/hash-library/portfile.cmake +++ b/ports/hash-library/portfile.cmake @@ -1,4 +1,4 @@ -if(WIN32) +if(VCPKG_TARGET_IS_WINDOWS) vcpkg_check_linkage(ONLY_STATIC_LIBRARY) endif() diff --git a/ports/hash-library/vcpkg.json b/ports/hash-library/vcpkg.json index 7c771cc33b..0779302945 100644 --- a/ports/hash-library/vcpkg.json +++ b/ports/hash-library/vcpkg.json @@ -1,7 +1,7 @@ { "name": "hash-library", "version": "8", - "port-version": 2, + "port-version": 3, "description": "Portable C++ hashing library", "homepage": "https://create.stephan-brumme.com/hash-library/", "license": "Zlib", diff --git a/ports/keccak-tiny/portfile.cmake b/ports/keccak-tiny/portfile.cmake index 395b4b269a..f117936f62 100644 --- a/ports/keccak-tiny/portfile.cmake +++ b/ports/keccak-tiny/portfile.cmake @@ -1,4 +1,4 @@ -if(WIN32) +if(VCPKG_TARGET_IS_WINDOWS) vcpkg_check_linkage(ONLY_STATIC_LIBRARY) endif() diff --git a/ports/keccak-tiny/vcpkg.json b/ports/keccak-tiny/vcpkg.json index b2dd0b6c5c..d0bd667974 100644 --- a/ports/keccak-tiny/vcpkg.json +++ b/ports/keccak-tiny/vcpkg.json @@ -1,7 +1,7 @@ { "name": "keccak-tiny", "version-date": "2014-09-08", - "port-version": 1, + "port-version": 2, "description": "A tiny implementation of SHA-3, SHAKE, Keccak, and sha3sum", "homepage": "https://github.com/coruus/keccak-tiny", "license": "CC0-1.0", diff --git a/ports/libredwg/portfile.cmake b/ports/libredwg/portfile.cmake index a0e849f8cd..871bc43519 100644 --- a/ports/libredwg/portfile.cmake +++ b/ports/libredwg/portfile.cmake @@ -2,7 +2,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO LibreDWG/libredwg REF "${VERSION}" - SHA512 cf0baf477d053eb6ab2feaeda187f2d92211c7d28aa50318c1c8d7acf1b9c463258fa3a388dddce266bf44e0d4e4cf1bd3aa591c918f8a253515919e5c1b3f57 + SHA512 cf0baf477d053eb6ab2feaeda187f2d92211c7d28aa50318c1c8d7acf1b9c463258fa3a388dddce266bf44e0d4e4cf1bd3aa591c918f8a253515919e5c1b3f57 HEAD_REF master PATCHES fix_install.patch @@ -17,19 +17,17 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS ) # libredwg will read the version -file(WRITE "${SOURCE_PATH}/.version" ${VERSION}) +file(WRITE "${SOURCE_PATH}/.version" "${VERSION}") # Fix https://github.com/LibreDWG/libredwg/issues/652#issuecomment-1454035167 -if(APPLE) - vcpkg_replace_string("${SOURCE_PATH}/src/common.h" +vcpkg_replace_string("${SOURCE_PATH}/src/common.h" [[defined(COMMON_TEST_C)]] - [[1]] - ) - vcpkg_replace_string("${SOURCE_PATH}/src/common.c" + [[(defined COMMON_TEST_C || defined __APPLE__)]] +) +vcpkg_replace_string("${SOURCE_PATH}/src/common.c" [[defined(COMMON_TEST_C)]] - [[1]] - ) -endif() + [[(defined COMMON_TEST_C || defined __APPLE__)]] +) vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" @@ -47,7 +45,6 @@ vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-libredwg CONFIG_PATH share/unof if("tools" IN_LIST FEATURES) vcpkg_copy_tools(TOOL_NAMES dwg2dxf dwg2SVG dwgbmp dwggrep dwglayers dwgread dwgrewrite dwgwrite dxf2dwg AUTO_CLEAN) - vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/libredwg") endif() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share") diff --git a/ports/libredwg/vcpkg.json b/ports/libredwg/vcpkg.json index 32ba3d24d0..f80def808b 100644 --- a/ports/libredwg/vcpkg.json +++ b/ports/libredwg/vcpkg.json @@ -1,6 +1,7 @@ { "name": "libredwg", "version": "0.13.3", + "port-version": 1, "description": "GNU LibreDWG is a free C library to handle DWG files. It aims to be a free replacement for the OpenDWG libraries. DWG is the native file format of AutoCAD.", "homepage": "https://www.gnu.org/software/libredwg/", "license": "GPL-3.0", diff --git a/ports/libyaml/portfile.cmake b/ports/libyaml/portfile.cmake index 577b426755..3a839ee45c 100644 --- a/ports/libyaml/portfile.cmake +++ b/ports/libyaml/portfile.cmake @@ -1,4 +1,4 @@ -if (WIN32) +if(VCPKG_TARGET_IS_WINDOWS) set(PATCHES fix-POSIX_name.patch) endif() diff --git a/ports/libyaml/vcpkg.json b/ports/libyaml/vcpkg.json index 4dd2ec9bfd..ba805ab048 100644 --- a/ports/libyaml/vcpkg.json +++ b/ports/libyaml/vcpkg.json @@ -1,7 +1,7 @@ { "name": "libyaml", "version": "0.2.5", - "port-version": 4, + "port-version": 5, "description": "A C library for parsing and emitting YAML.", "homepage": "https://github.com/yaml/libyaml", "dependencies": [ diff --git a/ports/magnum-plugins/portfile.cmake b/ports/magnum-plugins/portfile.cmake index 744db775c6..03659c2557 100644 --- a/ports/magnum-plugins/portfile.cmake +++ b/ports/magnum-plugins/portfile.cmake @@ -131,7 +131,7 @@ else() # # We delete the import libraries here to avoid the auto-magic linking # for plugins which are loaded at runtime. - if(WIN32) + if(VCPKG_TARGET_IS_WINDOWS) set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/magnum") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/magnum-d") diff --git a/ports/magnum-plugins/vcpkg.json b/ports/magnum-plugins/vcpkg.json index c78dd83840..6fe7ded522 100644 --- a/ports/magnum-plugins/vcpkg.json +++ b/ports/magnum-plugins/vcpkg.json @@ -1,7 +1,7 @@ { "name": "magnum-plugins", "version-string": "2020.06", - "port-version": 12, + "port-version": 13, "description": "Plugins for magnum, C++11/C++14 graphics middleware for games and data visualization", "homepage": "https://magnum.graphics/", "license": null, diff --git a/ports/magnum/portfile.cmake b/ports/magnum/portfile.cmake index c060e1a73a..e34f9f2560 100644 --- a/ports/magnum/portfile.cmake +++ b/ports/magnum/portfile.cmake @@ -118,7 +118,7 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") file(COPY ${LIB_TO_MOVE_DBG} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/magnum") else() - if(WIN32) + if(VCPKG_TARGET_IS_WINDOWS) file(GLOB_RECURSE LIB_TO_REMOVE "${CURRENT_PACKAGES_DIR}/lib/magnum/*") file(GLOB_RECURSE LIB_TO_KEEP "${CURRENT_PACKAGES_DIR}/lib/magnum/*Any*") if(LIB_TO_KEEP) diff --git a/ports/magnum/vcpkg.json b/ports/magnum/vcpkg.json index f700c12ee4..c941bd4e9c 100644 --- a/ports/magnum/vcpkg.json +++ b/ports/magnum/vcpkg.json @@ -1,7 +1,7 @@ { "name": "magnum", "version-string": "2020.06", - "port-version": 17, + "port-version": 18, "description": "C++11/C++14 graphics middleware for games and data visualization", "homepage": "https://magnum.graphics/", "license": null, diff --git a/ports/mesa/portfile.cmake b/ports/mesa/portfile.cmake index 0d7e7cadf3..b0916dd81d 100644 --- a/ports/mesa/portfile.cmake +++ b/ports/mesa/portfile.cmake @@ -24,7 +24,7 @@ vcpkg_find_acquire_program(BISON) get_filename_component(BISON_DIR "${BISON}" DIRECTORY) vcpkg_add_to_path(PREPEND "${BISON_DIR}") -if(WIN32) # WIN32 HOST probably has win_flex and win_bison! +if(CMAKE_HOST_WIN32) # WIN32 HOST probably has win_flex and win_bison! if(NOT EXISTS "${FLEX_DIR}/flex${VCPKG_HOST_EXECUTABLE_SUFFIX}") if(FLEX_DIR MATCHES "${DOWNLOADS}") file(CREATE_LINK "${FLEX}" "${FLEX_DIR}/flex${VCPKG_HOST_EXECUTABLE_SUFFIX}") diff --git a/ports/mesa/vcpkg.json b/ports/mesa/vcpkg.json index 8b81ac626d..2f29d664d4 100644 --- a/ports/mesa/vcpkg.json +++ b/ports/mesa/vcpkg.json @@ -1,7 +1,7 @@ { "name": "mesa", "version": "24.0.7", - "port-version": 1, + "port-version": 2, "description": "Mesa - The 3D Graphics Library", "homepage": "https://www.mesa3d.org/", "license": "MIT AND BSL-1.0 AND SGI-B-2.0", diff --git a/ports/qtwebengine/portfile.cmake b/ports/qtwebengine/portfile.cmake index c54b2e6010..44656f472b 100644 --- a/ports/qtwebengine/portfile.cmake +++ b/ports/qtwebengine/portfile.cmake @@ -71,7 +71,7 @@ x_vcpkg_get_python_packages(PYTHON_VERSION "3" PACKAGES html5lib OUT_PYTHON_VAR vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/gperf") set(GPERF "${CURRENT_HOST_INSTALLED_DIR}/tools/gperf/gperf${VCPKG_HOST_EXECUTABLE_SUFFIX}") -if(WIN32) # WIN32 HOST probably has win_flex and win_bison! +if(CMAKE_HOST_WIN32) # WIN32 HOST probably has win_flex and win_bison! if(NOT EXISTS "${FLEX_DIR}/flex${VCPKG_HOST_EXECUTABLE_SUFFIX}") file(CREATE_LINK "${FLEX}" "${FLEX_DIR}/flex${VCPKG_HOST_EXECUTABLE_SUFFIX}") endif() diff --git a/ports/qtwebengine/vcpkg.json b/ports/qtwebengine/vcpkg.json index eb97b8fd20..7781b1d8e9 100644 --- a/ports/qtwebengine/vcpkg.json +++ b/ports/qtwebengine/vcpkg.json @@ -2,7 +2,7 @@ "$comment": "x86-windows is not within the upstream support matrix of Qt6", "name": "qtwebengine", "version": "6.7.0", - "port-version": 3, + "port-version": 4, "description": "Qt WebEngine provides functionality for rendering regions of dynamic web content.", "homepage": "https://www.qt.io/", "license": null, diff --git a/ports/simbody/portfile.cmake b/ports/simbody/portfile.cmake index 397671e539..ce98c74d6a 100644 --- a/ports/simbody/portfile.cmake +++ b/ports/simbody/portfile.cmake @@ -1,4 +1,3 @@ - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO simbody/simbody @@ -28,7 +27,7 @@ vcpkg_cmake_configure( vcpkg_cmake_install() -if(WIN32) +if(VCPKG_TARGET_IS_WINDOWS) vcpkg_cmake_config_fixup(CONFIG_PATH cmake) else() vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}") diff --git a/ports/simbody/vcpkg.json b/ports/simbody/vcpkg.json index 7c04c2b7d1..fd36c4d6c5 100644 --- a/ports/simbody/vcpkg.json +++ b/ports/simbody/vcpkg.json @@ -1,6 +1,7 @@ { "name": "simbody", "version-date": "2023-01-10", + "port-version": 1, "description": "High-performance C++ multibody dynamics/physics library for simulating articulated biomechanical and mechanical systems like vehicles, robots, and the human skeleton.", "homepage": "https://simtk.org/home/simbody", "license": "Apache-2.0", diff --git a/ports/vcpkg-qmake/vcpkg.json b/ports/vcpkg-qmake/vcpkg.json index ba04d124e8..45876af06e 100644 --- a/ports/vcpkg-qmake/vcpkg.json +++ b/ports/vcpkg-qmake/vcpkg.json @@ -1,7 +1,7 @@ { "name": "vcpkg-qmake", "version-date": "2023-03-22", - "port-version": 1, + "port-version": 2, "documentation": "https://vcpkg.io/en/docs/README.html", "license": "MIT", "supports": "native", diff --git a/ports/vcpkg-qmake/z_vcpkg_qmake_fix_makefiles.cmake b/ports/vcpkg-qmake/z_vcpkg_qmake_fix_makefiles.cmake index 9ecd402798..4b19422850 100644 --- a/ports/vcpkg-qmake/z_vcpkg_qmake_fix_makefiles.cmake +++ b/ports/vcpkg-qmake/z_vcpkg_qmake_fix_makefiles.cmake @@ -4,7 +4,7 @@ function(z_vcpkg_qmake_fix_makefiles BUILD_DIR) file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}" NATIVE_INSTALLED_DIR) file(TO_NATIVE_PATH "${CURRENT_PACKAGES_DIR}" NATIVE_PACKAGES_DIR) - if(WIN32) + if(CMAKE_HOST_WIN32) string(SUBSTRING "${NATIVE_INSTALLED_DIR}" 2 -1 INSTALLED_DIR_WITHOUT_DRIVE) string(SUBSTRING "${NATIVE_PACKAGES_DIR}" 2 -1 PACKAGES_DIR_WITHOUT_DRIVE) string(SUBSTRING "${NATIVE_INSTALLED_DIR}" 0 2 INSTALLED_DRIVE) diff --git a/ports/vcpkg-tool-meson/vcpkg.json b/ports/vcpkg-tool-meson/vcpkg.json index 57a49c52b2..fde8a30b11 100644 --- a/ports/vcpkg-tool-meson/vcpkg.json +++ b/ports/vcpkg-tool-meson/vcpkg.json @@ -1,7 +1,7 @@ { "name": "vcpkg-tool-meson", "version": "1.3.2", - "port-version": 5, + "port-version": 6, "description": "Meson build system", "homepage": "https://github.com/mesonbuild/meson", "license": "Apache-2.0", diff --git a/ports/vcpkg-tool-meson/vcpkg_configure_meson.cmake b/ports/vcpkg-tool-meson/vcpkg_configure_meson.cmake index 09fb717c25..6745ce3da9 100644 --- a/ports/vcpkg-tool-meson/vcpkg_configure_meson.cmake +++ b/ports/vcpkg-tool-meson/vcpkg_configure_meson.cmake @@ -189,13 +189,13 @@ function(z_vcpkg_get_build_and_host_system build_system host_system is_cross) #h set(build "[build_machine]\n") # Machine the build is performed on string(APPEND build "endian = 'little'\n") - if(WIN32) + if(CMAKE_HOST_WIN32) string(APPEND build "system = 'windows'\n") - elseif(DARWIN) + elseif(CMAKE_HOST_APPLE) string(APPEND build "system = 'darwin'\n") elseif(CYGWIN) string(APPEND build "system = 'cygwin'\n") - elseif(UNIX) + elseif(CMAKE_HOST_UNIX) string(APPEND build "system = 'linux'\n") else() set(build_unknown TRUE) @@ -253,7 +253,7 @@ function(z_vcpkg_get_build_and_host_system build_system host_system is_cross) #h if(NOT build_cpu_fam MATCHES "${host_cpu_fam}" OR VCPKG_TARGET_IS_ANDROID OR VCPKG_TARGET_IS_IOS OR VCPKG_TARGET_IS_UWP - OR (VCPKG_TARGET_IS_MINGW AND NOT WIN32)) + OR (VCPKG_TARGET_IS_MINGW AND NOT CMAKE_HOST_WIN32)) set(${is_cross} TRUE PARENT_SCOPE) endif() endfunction() diff --git a/ports/wavpack/portfile.cmake b/ports/wavpack/portfile.cmake index a45e4b6b44..8fbb8eb7f4 100644 --- a/ports/wavpack/portfile.cmake +++ b/ports/wavpack/portfile.cmake @@ -31,7 +31,7 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) -if(WIN32 AND (NOT MINGW)) +if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW) if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release") vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/wavpack.pc" "-lwavpack" "-lwavpackdll") diff --git a/ports/wavpack/vcpkg.json b/ports/wavpack/vcpkg.json index e4a04667ae..79fd7041a1 100644 --- a/ports/wavpack/vcpkg.json +++ b/ports/wavpack/vcpkg.json @@ -1,7 +1,7 @@ { "name": "wavpack", "version": "5.6.0", - "port-version": 1, + "port-version": 2, "description": "WavPack encode/decode library, command-line programs, and several plugins", "homepage": "https://github.com/dbry/WavPack", "license": "BSD-3-Clause", diff --git a/ports/xorg-macros/portfile.cmake b/ports/xorg-macros/portfile.cmake index 75bdc7e35d..e2c6e98c5e 100644 --- a/ports/xorg-macros/portfile.cmake +++ b/ports/xorg-macros/portfile.cmake @@ -26,7 +26,7 @@ vcpkg_configure_make( vcpkg_install_make() file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/xorg/") -if(NOT WIN32) +if(NOT CMAKE_HOST_WIN32) file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/xorg/aclocal/") endif() @@ -48,7 +48,7 @@ if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/share/${PORT}/pkgconfig/xorg-macros.pc" string(REPLACE "datarootdir=\${prefix}/share}" "datarootdir=\${prefix}/share/xorg/debug}" _contents "${_contents}") string(REPLACE "includedir=${CURRENT_INSTALLED_DIR}/debug/include" "includedir=\${prefix}/../include" _contents "${_contents}") file(WRITE "${CURRENT_PACKAGES_DIR}/debug/share/pkgconfig/xorg-macros.pc" "${_contents}") - if(NOT WIN32) + if(NOT CMAKE_HOST_WIN32) file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/xorg/debug/") endif() file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib") diff --git a/ports/xorg-macros/vcpkg.json b/ports/xorg-macros/vcpkg.json index 4da7766849..7a6bc2350c 100644 --- a/ports/xorg-macros/vcpkg.json +++ b/ports/xorg-macros/vcpkg.json @@ -1,6 +1,7 @@ { "name": "xorg-macros", "version": "1.19.3", + "port-version": 1, "description": "X.org macros utilities.", "homepage": "https://xcb.freedesktop.org/", "license": null, diff --git a/ports/xtrans/portfile.cmake b/ports/xtrans/portfile.cmake index a9e5fb6d80..f561e4cf1b 100644 --- a/ports/xtrans/portfile.cmake +++ b/ports/xtrans/portfile.cmake @@ -23,39 +23,25 @@ vcpkg_configure_make( ) vcpkg_install_make() + file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/xorg") file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/${PORT}") -if(NOT WIN32) - file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/${PORT}/include") -endif() -file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib") -if(NOT VCPKG_BUILD_TYPE) - file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib") -endif() -file(RENAME "${CURRENT_PACKAGES_DIR}/include/" "${CURRENT_PACKAGES_DIR}/share/${PORT}/include/") # the include folder is moved since it contains source files. It is not meant as a traditional include folder but as a shared files folder for different x libraries. +file(RENAME "${CURRENT_PACKAGES_DIR}/include" "${CURRENT_PACKAGES_DIR}/share/${PORT}/include") + +file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib") file(RENAME "${CURRENT_PACKAGES_DIR}/share/${PORT}/pkgconfig/" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig") file(RENAME "${CURRENT_PACKAGES_DIR}/share/${PORT}/aclocal/" "${CURRENT_PACKAGES_DIR}/share/xorg/aclocal") - if(NOT VCPKG_BUILD_TYPE) + file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib") file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share/${PORT}/pkgconfig" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig") file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share/" "${CURRENT_PACKAGES_DIR}/share/xorg/debug") endif() - vcpkg_fixup_pkgconfig() # must be called after files have been moved - -set(_file "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/xtrans.pc" ) -file(READ "${_file}" _contents) -string(REPLACE "includedir=\${prefix}/include" "includedir=\${prefix}/share/xtrans/include" _contents "${_contents}") -file(WRITE "${_file}" "${_contents}") - - -set(_file "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/xtrans.pc" ) +vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/xtrans.pc" "includedir=\${prefix}/include" "includedir=\${prefix}/share/${PORT}/include") if(NOT VCPKG_BUILD_TYPE) - file(READ "${_file}" _contents) - string(REPLACE "includedir=\${prefix}/../include" "includedir=\${prefix}/../share/xtrans/include" _contents "${_contents}") - file(WRITE "${_file}" "${_contents}") + vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/xtrans.pc" "includedir=\${prefix}/../include" "includedir=\${prefix}/../share/${PORT}/include") endif() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") diff --git a/ports/xtrans/vcpkg.json b/ports/xtrans/vcpkg.json index c6cd826760..190f9c1ad2 100644 --- a/ports/xtrans/vcpkg.json +++ b/ports/xtrans/vcpkg.json @@ -1,7 +1,7 @@ { "name": "xtrans", "version": "1.4.0", - "port-version": 1, + "port-version": 2, "description": "xtrans - X Network Transport layer shared code", "homepage": "https://gitlab.freedesktop.org/xorg/lib/libxtrans", "license": null, diff --git a/scripts/cmake/vcpkg_build_make.cmake b/scripts/cmake/vcpkg_build_make.cmake index ddf56f4f6e..7e54ced1b9 100644 --- a/scripts/cmake/vcpkg_build_make.cmake +++ b/scripts/cmake/vcpkg_build_make.cmake @@ -29,8 +29,8 @@ function(vcpkg_build_make) set(arg_INSTALL_TARGET "install") endif() - if(WIN32) - set(Z_VCPKG_INSTALLED ${CURRENT_INSTALLED_DIR}) + if(CMAKE_HOST_WIN32) + set(Z_VCPKG_INSTALLED "${CURRENT_INSTALLED_DIR}") else() string(REPLACE " " "\ " Z_VCPKG_INSTALLED "${CURRENT_INSTALLED_DIR}") endif() diff --git a/scripts/cmake/vcpkg_configure_meson.cmake b/scripts/cmake/vcpkg_configure_meson.cmake index 3a3a6ed3a3..bbc806b81d 100644 --- a/scripts/cmake/vcpkg_configure_meson.cmake +++ b/scripts/cmake/vcpkg_configure_meson.cmake @@ -189,13 +189,13 @@ function(z_vcpkg_get_build_and_host_system build_system host_system is_cross) #h set(build "[build_machine]\n") # Machine the build is performed on string(APPEND build "endian = 'little'\n") - if(WIN32) + if(CMAKE_HOST_WIN32) string(APPEND build "system = 'windows'\n") - elseif(DARWIN) + elseif(CMAKE_HOST_APPLE) string(APPEND build "system = 'darwin'\n") - elseif(CYGWIN) + elseif(VCPKG_HOST_IS_CYGWIN) string(APPEND build "system = 'cygwin'\n") - elseif(UNIX) + elseif(CMAKE_HOST_UNIX) string(APPEND build "system = 'linux'\n") else() set(build_unknown TRUE) @@ -253,7 +253,7 @@ function(z_vcpkg_get_build_and_host_system build_system host_system is_cross) #h if(NOT build_cpu_fam MATCHES "${host_cpu_fam}" OR VCPKG_TARGET_IS_ANDROID OR VCPKG_TARGET_IS_IOS OR VCPKG_TARGET_IS_UWP - OR (VCPKG_TARGET_IS_MINGW AND NOT WIN32)) + OR (VCPKG_TARGET_IS_MINGW AND NOT CMAKE_HOST_WIN32)) set(${is_cross} TRUE PARENT_SCOPE) endif() endfunction() diff --git a/scripts/cmake/vcpkg_find_acquire_program(BISON).cmake b/scripts/cmake/vcpkg_find_acquire_program(BISON).cmake index 10f9a7d7a3..f5539767a6 100644 --- a/scripts/cmake/vcpkg_find_acquire_program(BISON).cmake +++ b/scripts/cmake/vcpkg_find_acquire_program(BISON).cmake @@ -14,7 +14,7 @@ else() set(program_name bison) set(apt_package_name bison) set(brew_package_name bison) - if (APPLE) + if (CMAKE_HOST_APPLE) set(paths_to_search /opt/homebrew/opt/bison/bin /usr/local/opt/bison/bin) endif() endif() diff --git a/scripts/cmake/vcpkg_find_fortran.cmake b/scripts/cmake/vcpkg_find_fortran.cmake index c7fafa838d..b574794378 100644 --- a/scripts/cmake/vcpkg_find_fortran.cmake +++ b/scripts/cmake/vcpkg_find_fortran.cmake @@ -10,11 +10,14 @@ function(vcpkg_find_fortran out_var) set(CMAKE_BINARY_DIR "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}") set(CMAKE_CURRENT_BINARY_DIR "${CMAKE_BINARY_DIR}") set(CMAKE_PLATFORM_INFO_DIR "${CMAKE_BINARY_DIR}/Platform") + macro(z_vcpkg_warn_ambiguous_system_variables) + # CMakeDetermineFortranCompiler is for project mode. + endmacro() include(CMakeDetermineFortranCompiler) if(NOT CMAKE_Fortran_COMPILER AND "${VCPKG_CHAINLOAD_TOOLCHAIN_FILE}" STREQUAL "") # If a user uses their own VCPKG_CHAINLOAD_TOOLCHAIN_FILE, they _must_ figure out fortran on their own. - if(WIN32) + if(CMAKE_HOST_WIN32) message(STATUS "No Fortran compiler found on the PATH. Using MinGW gfortran!") # If no Fortran compiler is on the path we switch to use gfortan from MinGW within vcpkg if("${VCPKG_TARGET_ARCHITECTURE}" STREQUAL "x86") diff --git a/scripts/ports.cmake b/scripts/ports.cmake index c6746a6662..d4d341fd29 100644 --- a/scripts/ports.cmake +++ b/scripts/ports.cmake @@ -163,6 +163,22 @@ if(CMD STREQUAL "BUILD") set(TRIPLET_SYSTEM_ARCH "${VCPKG_TARGET_ARCHITECTURE}") include("${SCRIPTS}/cmake/vcpkg_common_definitions.cmake") + function(z_vcpkg_warn_ambiguous_system_variables VARIABLE ACCESS VALUE POS STACK) + message("${Z_VCPKG_BACKCOMPAT_MESSAGE_LEVEL}" "Unexpected ${ACCESS} on variable ${VARIABLE} in script mode. +This variable name insufficiently expresses whether it refers to the \ +target system or to the host system. Use a prefixed variable instead. +- Variables providing information about the host: + CMAKE_HOST_ + VCPKG_HOST_IS_ +- Variables providing information about the target: + VCPKG_TARGET_IS_ + VCPKG_DETECTED_ (using vcpkg_cmake_get_vars) +") + endfunction() + foreach(var IN ITEMS ANDROID APPLE BSD IOS LINUX MINGW MSVC UNIX WIN32) + variable_watch("${var}" z_vcpkg_warn_ambiguous_system_variables) + endforeach() + if (DEFINED VCPKG_PORT_CONFIGS) foreach(VCPKG_PORT_CONFIG IN LISTS VCPKG_PORT_CONFIGS) include("${VCPKG_PORT_CONFIG}") diff --git a/versions/a-/angle.json b/versions/a-/angle.json index ee8d454e31..2443c3bd47 100644 --- a/versions/a-/angle.json +++ b/versions/a-/angle.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "1729007831807f980abc75357ab0e73f0f9216cf", + "version-string": "chromium_5414", + "port-version": 8 + }, { "git-tree": "b5502570ef18abdcf0535470f3ea6589db70607b", "version-string": "chromium_5414", diff --git a/versions/baseline.json b/versions/baseline.json index feb70bcf43..97b3005a36 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -130,7 +130,7 @@ }, "angle": { "baseline": "chromium_5414", - "port-version": 7 + "port-version": 8 }, "ankurvdev-embedresource": { "baseline": "0.0.11", @@ -2458,7 +2458,7 @@ }, "ed25519": { "baseline": "2017-02-10", - "port-version": 0 + "port-version": 1 }, "edflib": { "baseline": "1.25", @@ -2506,7 +2506,7 @@ }, "embree3": { "baseline": "3.13.5", - "port-version": 3 + "port-version": 4 }, "enet": { "baseline": "1.3.17", @@ -3078,7 +3078,7 @@ }, "glib": { "baseline": "2.78.4", - "port-version": 1 + "port-version": 2 }, "glib-networking": { "baseline": "2.78.0", @@ -3258,7 +3258,7 @@ }, "gtsam": { "baseline": "4.2a9", - "port-version": 1 + "port-version": 2 }, "guetzli": { "baseline": "2020-09-14", @@ -3362,7 +3362,7 @@ }, "hash-library": { "baseline": "8", - "port-version": 2 + "port-version": 3 }, "hashids": { "baseline": "1.2.1", @@ -3862,7 +3862,7 @@ }, "keccak-tiny": { "baseline": "2014-09-08", - "port-version": 1 + "port-version": 2 }, "kenlm": { "baseline": "20230531", @@ -4894,7 +4894,7 @@ }, "libredwg": { "baseline": "0.13.3", - "port-version": 0 + "port-version": 1 }, "libremidi": { "baseline": "4.5.0", @@ -5334,7 +5334,7 @@ }, "libyaml": { "baseline": "0.2.5", - "port-version": 4 + "port-version": 5 }, "libyuv": { "baseline": "1857", @@ -5562,7 +5562,7 @@ }, "magnum": { "baseline": "2020.06", - "port-version": 17 + "port-version": 18 }, "magnum-extras": { "baseline": "2020.06", @@ -5574,7 +5574,7 @@ }, "magnum-plugins": { "baseline": "2020.06", - "port-version": 12 + "port-version": 13 }, "mailio": { "baseline": "0.23.0", @@ -5698,7 +5698,7 @@ }, "mesa": { "baseline": "24.0.7", - "port-version": 1 + "port-version": 2 }, "meschach": { "baseline": "1.2b", @@ -7502,7 +7502,7 @@ }, "qtwebengine": { "baseline": "6.7.0", - "port-version": 3 + "port-version": 4 }, "qtwebsockets": { "baseline": "6.7.1", @@ -8146,7 +8146,7 @@ }, "simbody": { "baseline": "2023-01-10", - "port-version": 0 + "port-version": 1 }, "simd": { "baseline": "5.3.128", @@ -9126,7 +9126,7 @@ }, "vcpkg-qmake": { "baseline": "2023-03-22", - "port-version": 1 + "port-version": 2 }, "vcpkg-tool-bazel": { "baseline": "5.2.0", @@ -9146,7 +9146,7 @@ }, "vcpkg-tool-meson": { "baseline": "1.3.2", - "port-version": 5 + "port-version": 6 }, "vcpkg-tool-mozbuild": { "baseline": "4.0.2", @@ -9318,7 +9318,7 @@ }, "wavpack": { "baseline": "5.6.0", - "port-version": 1 + "port-version": 2 }, "wayland": { "baseline": "1.21.0", @@ -9550,7 +9550,7 @@ }, "xorg-macros": { "baseline": "1.19.3", - "port-version": 0 + "port-version": 1 }, "xorstr": { "baseline": "2021-11-20", @@ -9598,7 +9598,7 @@ }, "xtrans": { "baseline": "1.4.0", - "port-version": 1 + "port-version": 2 }, "xxhash": { "baseline": "0.8.2", diff --git a/versions/e-/ed25519.json b/versions/e-/ed25519.json index 3540c4705d..9c5b0c4f4f 100644 --- a/versions/e-/ed25519.json +++ b/versions/e-/ed25519.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ce2c9dc71e927201adc881b0cfb43341520161ae", + "version-date": "2017-02-10", + "port-version": 1 + }, { "git-tree": "c62f7e2a6268b66c80e20287872725e8bc273032", "version-date": "2017-02-10", diff --git a/versions/e-/embree3.json b/versions/e-/embree3.json index be2464d5f2..ccd33fa0c5 100644 --- a/versions/e-/embree3.json +++ b/versions/e-/embree3.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "67707a39d2505eb22c7b9449a61e2d2d9d858d99", + "version": "3.13.5", + "port-version": 4 + }, { "git-tree": "ff35cda43407d9fd76af567f3284e9eb988307fe", "version": "3.13.5", diff --git a/versions/g-/glib.json b/versions/g-/glib.json index 6bd0221ea6..15fe0e6cd4 100644 --- a/versions/g-/glib.json +++ b/versions/g-/glib.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "cce839ba5ebec8b3a772b2fad1ab73f6bbd5b715", + "version": "2.78.4", + "port-version": 2 + }, { "git-tree": "d73077209c5fcb5a0340baf7d8ba76d128c1ab27", "version": "2.78.4", diff --git a/versions/g-/gtsam.json b/versions/g-/gtsam.json index 23b1724414..1a65d6af63 100644 --- a/versions/g-/gtsam.json +++ b/versions/g-/gtsam.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "9c2a1fefb94d0fe792cde3fe6519ce59e181685a", + "version-string": "4.2a9", + "port-version": 2 + }, { "git-tree": "e7b2023df7e13e479e6861ba1c6ace9ae9d2cfbf", "version-string": "4.2a9", diff --git a/versions/h-/hash-library.json b/versions/h-/hash-library.json index b4c3383829..1697ca938c 100644 --- a/versions/h-/hash-library.json +++ b/versions/h-/hash-library.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "815f018f0a7ef2c32f828276ee7abb191b4b64db", + "version": "8", + "port-version": 3 + }, { "git-tree": "b3e49529dd25b60564de8ceed9485e17e8a7f8da", "version": "8", diff --git a/versions/k-/keccak-tiny.json b/versions/k-/keccak-tiny.json index 78c139ad80..7ca0388ba4 100644 --- a/versions/k-/keccak-tiny.json +++ b/versions/k-/keccak-tiny.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "dd3f2c18bec05d2d3c2962d67bb3dc05d489aaae", + "version-date": "2014-09-08", + "port-version": 2 + }, { "git-tree": "bc08abcfa95ff215f36528c540d82bcbecab4ee1", "version-date": "2014-09-08", diff --git a/versions/l-/libredwg.json b/versions/l-/libredwg.json index 17078445a3..1b444239f9 100644 --- a/versions/l-/libredwg.json +++ b/versions/l-/libredwg.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e2990b43865e767fb74700ef4cf26b48934b47d8", + "version": "0.13.3", + "port-version": 1 + }, { "git-tree": "98054aab0c4648b6c88a29711decbd2586f4d462", "version": "0.13.3", diff --git a/versions/l-/libyaml.json b/versions/l-/libyaml.json index e8db03dad3..eb1a922782 100644 --- a/versions/l-/libyaml.json +++ b/versions/l-/libyaml.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "3dd5d077b6d9d1015f1b1080bce5b6f22ca0763f", + "version": "0.2.5", + "port-version": 5 + }, { "git-tree": "ae6fcd42cb9d1448913be2c7eb536df813601230", "version": "0.2.5", diff --git a/versions/m-/magnum-plugins.json b/versions/m-/magnum-plugins.json index 69b9b44ae9..83253d0e86 100644 --- a/versions/m-/magnum-plugins.json +++ b/versions/m-/magnum-plugins.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e5200e6d2170dfc3221afb5ead09a32c2e92e51e", + "version-string": "2020.06", + "port-version": 13 + }, { "git-tree": "d1a7c4da316314fb8973e23a20c65fa926a96d44", "version-string": "2020.06", diff --git a/versions/m-/magnum.json b/versions/m-/magnum.json index 07f0746ce5..59e6baca10 100644 --- a/versions/m-/magnum.json +++ b/versions/m-/magnum.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "87613165fa337f84fae12a9a2ed1e1ee93ec8fb9", + "version-string": "2020.06", + "port-version": 18 + }, { "git-tree": "fa47736590b34d1ce7158f0ebf783c2b54dcb004", "version-string": "2020.06", diff --git a/versions/m-/mesa.json b/versions/m-/mesa.json index 4e0eb0e632..73a8d090ad 100644 --- a/versions/m-/mesa.json +++ b/versions/m-/mesa.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ea151768a6cf43fcfc6f579113e3f81b03b355bd", + "version": "24.0.7", + "port-version": 2 + }, { "git-tree": "04738625c7b81104ce8e66f296fd807c9dc05bce", "version": "24.0.7", diff --git a/versions/q-/qtwebengine.json b/versions/q-/qtwebengine.json index 4eb2b49e66..ac61fbe3ee 100644 --- a/versions/q-/qtwebengine.json +++ b/versions/q-/qtwebengine.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "b3e417987ee06530dae786426a2bdaada645d6bb", + "version": "6.7.0", + "port-version": 4 + }, { "git-tree": "60030ab0ec25c556ddde211877164346d453a6f9", "version": "6.7.0", diff --git a/versions/s-/simbody.json b/versions/s-/simbody.json index 83b1b28d94..7b63faedda 100644 --- a/versions/s-/simbody.json +++ b/versions/s-/simbody.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "05384c70d836e25b147b7fca2cd601750315c088", + "version-date": "2023-01-10", + "port-version": 1 + }, { "git-tree": "c8b6a6d70b06b78e445b3c80cbded18415e22a7c", "version-date": "2023-01-10", diff --git a/versions/v-/vcpkg-qmake.json b/versions/v-/vcpkg-qmake.json index 97252106e1..7bd3955927 100644 --- a/versions/v-/vcpkg-qmake.json +++ b/versions/v-/vcpkg-qmake.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "d40f4f01a38812fcdabe63247a0ef204bcc01720", + "version-date": "2023-03-22", + "port-version": 2 + }, { "git-tree": "777a5dadc7b8c11b81d401098c70d3d66d4172b5", "version-date": "2023-03-22", diff --git a/versions/v-/vcpkg-tool-meson.json b/versions/v-/vcpkg-tool-meson.json index b5f0b69323..a8bd85ef30 100644 --- a/versions/v-/vcpkg-tool-meson.json +++ b/versions/v-/vcpkg-tool-meson.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "13f79b5e4c8b4c07b38f9b5a010965433b753bb4", + "version": "1.3.2", + "port-version": 6 + }, { "git-tree": "dcadef2870528d24faf78307c390e976d1daab19", "version": "1.3.2", diff --git a/versions/w-/wavpack.json b/versions/w-/wavpack.json index 9d0b775c22..766f600235 100644 --- a/versions/w-/wavpack.json +++ b/versions/w-/wavpack.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "7f568a69d6cfea01660bacc223ad2f5c61063a32", + "version": "5.6.0", + "port-version": 2 + }, { "git-tree": "d58b3734d0a42c7309216ade0432f7787fbd6ff5", "version": "5.6.0", diff --git a/versions/x-/xorg-macros.json b/versions/x-/xorg-macros.json index 66137c08e4..8abb441d29 100644 --- a/versions/x-/xorg-macros.json +++ b/versions/x-/xorg-macros.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "766525189c81d40661731faecc566fb96d66fcc4", + "version": "1.19.3", + "port-version": 1 + }, { "git-tree": "76db60fb182a4c33faabfb411e1842428ae4c8ad", "version": "1.19.3", diff --git a/versions/x-/xtrans.json b/versions/x-/xtrans.json index 868cb3df6b..8b0c9b8175 100644 --- a/versions/x-/xtrans.json +++ b/versions/x-/xtrans.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "f7f94e9ba7b242ac5b0f38e38fc6b32ac63c3024", + "version": "1.4.0", + "port-version": 2 + }, { "git-tree": "f270ddca7ea9e55a992a4923b373c4e47ad24ebd", "version": "1.4.0",