From cd61e1e26a038e82d6550a3ebbe0fbbfe7da78e3 Mon Sep 17 00:00:00 2001 From: toge Date: Thu, 25 Jun 2026 09:03:48 +0900 Subject: [PATCH] [comms-ublox] update to 3.0.7 (#52583) --- ports/comms-ublox/portfile.cmake | 50 ++++++++++++++++---------------- ports/comms-ublox/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/c-/comms-ublox.json | 5 ++++ 4 files changed, 32 insertions(+), 27 deletions(-) diff --git a/ports/comms-ublox/portfile.cmake b/ports/comms-ublox/portfile.cmake index a57793cee4..26d2f6ed27 100644 --- a/ports/comms-ublox/portfile.cmake +++ b/ports/comms-ublox/portfile.cmake @@ -1,25 +1,25 @@ -#header-only library - -vcpkg_from_github( - OUT_SOURCE_PATH SOURCE_PATH - REPO commschamp/cc.ublox.generated - REF v1.0 - SHA512 0c487d9409c2f2818024f6232832762527250c3563a5eb5c639ad49943931ceb24616db2432bcd752d1a84820ec5349522510dcd202508641d3f29aef41ca1e5 - HEAD_REF master -) - -vcpkg_cmake_configure( - SOURCE_PATH "${SOURCE_PATH}" - OPTIONS - -DOPT_REQUIRE_COMMS_LIB=ON - -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON -) -vcpkg_cmake_install() - -vcpkg_cmake_config_fixup(PACKAGE_NAME ublox CONFIG_PATH lib/ublox/cmake) -# currently this is only a header only library. after moving lib/ublox to share this lib path will be empty -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") - -# Handle copyright -file(INSTALL "${CURRENT_PORT_DIR}/copyright" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +#header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO commschamp/cc.ublox.generated + REF v${VERSION} + SHA512 18ce224f1e4ec86e5b19c948f76d6adee3e0d0344218025bef82ae08b2937c863de107161fab38cc8c959c944876c510e9df249a8aa26132e6c099069a2dd713 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DOPT_REQUIRE_COMMS_LIB=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON +) +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(PACKAGE_NAME cc_ublox CONFIG_PATH lib/cc_ublox/cmake) +# currently this is only a header only library. after moving lib/ublox to share this lib path will be empty +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") + +# Handle copyright +file(INSTALL "${CURRENT_PORT_DIR}/copyright" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/comms-ublox/vcpkg.json b/ports/comms-ublox/vcpkg.json index 4b6fd80b67..185b289889 100644 --- a/ports/comms-ublox/vcpkg.json +++ b/ports/comms-ublox/vcpkg.json @@ -1,6 +1,6 @@ { "name": "comms-ublox", - "version-semver": "1.0.0", + "version-semver": "3.0.7", "description": "UBLOX (UBX) protocol definition, generated out of cc.ublox.commsdsl", "homepage": "https://commschamp.github.io/", "documentation": "https://github.com/commschamp/cc.ublox.generated", diff --git a/versions/baseline.json b/versions/baseline.json index ec8cc8835c..09d5ee68ff 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1941,7 +1941,7 @@ "port-version": 0 }, "comms-ublox": { - "baseline": "1.0.0", + "baseline": "3.0.7", "port-version": 0 }, "commsdsl": { diff --git a/versions/c-/comms-ublox.json b/versions/c-/comms-ublox.json index 804defc12a..8a499fdfc9 100644 --- a/versions/c-/comms-ublox.json +++ b/versions/c-/comms-ublox.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "53e43d9a3c6740e33641edcb000457d2962939f6", + "version-semver": "3.0.7", + "port-version": 0 + }, { "git-tree": "a129592b8ecf08fed15abaeab8b8c229ef16d045", "version-semver": "1.0.0",