From a338a1af66186826c1b5d41b65d9b02b54104dff Mon Sep 17 00:00:00 2001 From: SunBlack Date: Sun, 30 Aug 2026 20:53:54 +0200 Subject: [PATCH] [gz-tools] Update to 2.0.4 (#53544) --- ports/gz-tools/portfile.cmake | 32 ++++++++++++++++---------------- ports/gz-tools/vcpkg.json | 3 +-- versions/baseline.json | 4 ++-- versions/g-/gz-tools.json | 5 +++++ 4 files changed, 24 insertions(+), 20 deletions(-) diff --git a/ports/gz-tools/portfile.cmake b/ports/gz-tools/portfile.cmake index 2ba4e56446..adeee65e29 100644 --- a/ports/gz-tools/portfile.cmake +++ b/ports/gz-tools/portfile.cmake @@ -1,16 +1,16 @@ -set(VCPKG_POLICY_EMPTY_PACKAGE enabled) -string(REGEX MATCH "^[0-9]+" VERSION_MAJOR "${VERSION}") -string(REGEX MATCH "^gz-([a-z-]+)" MATCHED_VALUE "${PORT}") -set(PACKAGE_NAME "${CMAKE_MATCH_1}") - -ignition_modular_library( - NAME "${PACKAGE_NAME}" - REF "${PORT}${VERSION_MAJOR}_${VERSION}" - VERSION "${VERSION}" - SHA512 d74eb686c05c62dea5303e629136a187aa09db67305cdc46577e8ff6dd420b70b074d25474669c9d3f1286d141d1e30cf9b4b32b726f0e6d2bae4dabc298160b - PATCHES -) - -if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") - file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") -endif() +set(VCPKG_POLICY_EMPTY_PACKAGE enabled) +string(REGEX MATCH "^[0-9]+" VERSION_MAJOR "${VERSION}") +string(REGEX MATCH "^gz-([a-z-]+)" MATCHED_VALUE "${PORT}") +set(PACKAGE_NAME "${CMAKE_MATCH_1}") + +ignition_modular_library( + NAME "${PACKAGE_NAME}" + REF "${PORT}${VERSION_MAJOR}_${VERSION}" + VERSION "${VERSION}" + SHA512 7d4a8164de43fc11098adabd6d764289cf063d66fd32b388737a6ce02886d20a40a794f17cc50acdceca465a228207d57b7d3e66495b9e4294ed14414e630790 + PATCHES +) + +if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") +endif() diff --git a/ports/gz-tools/vcpkg.json b/ports/gz-tools/vcpkg.json index 2744155d92..8837faf7e0 100644 --- a/ports/gz-tools/vcpkg.json +++ b/ports/gz-tools/vcpkg.json @@ -1,7 +1,6 @@ { "name": "gz-tools", - "version": "2.0.3", - "port-version": 1, + "version": "2.0.4", "description": "Gazebo tools provide the ign command line tool that accepts multiple subcommands.", "homepage": "https://gazebosim.org", "license": "Apache-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index 44afb6f762..485457087a 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3733,8 +3733,8 @@ "port-version": 0 }, "gz-tools": { - "baseline": "2.0.3", - "port-version": 1 + "baseline": "2.0.4", + "port-version": 0 }, "gz-transport": { "baseline": "14.3.0", diff --git a/versions/g-/gz-tools.json b/versions/g-/gz-tools.json index 1676018e94..38f4d3b054 100644 --- a/versions/g-/gz-tools.json +++ b/versions/g-/gz-tools.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "211855fdb61ad143ce7a3b9168ed764bc5b1a59f", + "version": "2.0.4", + "port-version": 0 + }, { "git-tree": "8f4e8fb81a498c4b49b037dbcedc9ad71cd1ad6e", "version": "2.0.3",