From 67877ee9b33c8d2af51e7567c8c994318345085a Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Sat, 30 Nov 2024 11:20:11 +0100 Subject: [PATCH 1/3] [realsense2] Fix single config builds --- ports/realsense2/portfile.cmake | 9 +++++---- ports/realsense2/vcpkg.json | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ports/realsense2/portfile.cmake b/ports/realsense2/portfile.cmake index 8050dd4357b3d4..d5fecd2973cba3 100644 --- a/ports/realsense2/portfile.cmake +++ b/ports/realsense2/portfile.cmake @@ -49,10 +49,11 @@ vcpkg_cmake_install() vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/realsense2) if(VCPKG_TARGET_IS_WINDOWS) vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/realsense2/realsense2Targets.cmake" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel" "\${_IMPORT_PREFIX}") - vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/realsense2/realsense2Targets.cmake" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg" "\${_IMPORT_PREFIX}") - - file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/common/fw") - file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/common/fw/fw.res" DESTINATION "${CURRENT_PACKAGES_DIR}/common/fw") + if(NOT VCPKG_BUILD_TYPE) + vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/realsense2/realsense2Targets.cmake" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg" "\${_IMPORT_PREFIX}") + endif() + file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/common/fw") + file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/common/fw/fw.res" DESTINATION "${CURRENT_PACKAGES_DIR}/common/fw") endif() vcpkg_copy_pdbs() diff --git a/ports/realsense2/vcpkg.json b/ports/realsense2/vcpkg.json index 76fb99c1d53e79..80a2cb8879d57b 100644 --- a/ports/realsense2/vcpkg.json +++ b/ports/realsense2/vcpkg.json @@ -1,6 +1,7 @@ { "name": "realsense2", "version": "2.56.2", + "port-version": 1, "description": "Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300).", "homepage": "https://github.com/IntelRealSense/librealsense", "license": "Apache-2.0", From b10e47c1da0bd04e4091595bf1d6c29b6b0f660c Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Sat, 30 Nov 2024 11:20:38 +0100 Subject: [PATCH 2/3] v db --- versions/baseline.json | 2 +- versions/r-/realsense2.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/versions/baseline.json b/versions/baseline.json index 02063be2947959..526ed0a64d86c8 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7882,7 +7882,7 @@ }, "realsense2": { "baseline": "2.56.2", - "port-version": 0 + "port-version": 1 }, "recast": { "baseline": "deprecated", diff --git a/versions/r-/realsense2.json b/versions/r-/realsense2.json index ce9afed11a0480..e7f25aefefcf76 100644 --- a/versions/r-/realsense2.json +++ b/versions/r-/realsense2.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "6e070d1f5e3687dd38f1847d679a51617f8f1573", + "version": "2.56.2", + "port-version": 1 + }, { "git-tree": "cd83d4d25a389c96970ee763fa48a48b9b419f5b", "version": "2.56.2", From 42f636d3e409d68c0a376eade208583e60b82fb0 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Mon, 16 Dec 2024 00:54:24 +0100 Subject: [PATCH 3/3] v db --- versions/baseline.json | 2 +- versions/r-/realsense2.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/versions/baseline.json b/versions/baseline.json index 19ce2dcc87562e..94663b5e719d7b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7886,7 +7886,7 @@ }, "realsense2": { "baseline": "2.56.2", - "port-version": 1 + "port-version": 2 }, "recast": { "baseline": "deprecated", diff --git a/versions/r-/realsense2.json b/versions/r-/realsense2.json index 0580d73880a23d..538430cbf9f7e1 100644 --- a/versions/r-/realsense2.json +++ b/versions/r-/realsense2.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "16b54def1f75d71eb6b30ecc5b33cdcda10ea9e6", + "version": "2.56.2", + "port-version": 2 + }, { "git-tree": "3f099d34f5d5bf7b0354e667018c0caae7966229", "version": "2.56.2",