mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[many ports 3] Include <chrono>
for system_clock
and high_resolution_clock
(#42406)
This commit is contained in:
parent
6631ed58e0
commit
887288b044
12
ports/omplapp/add-include-chrono.patch
Normal file
12
ports/omplapp/add-include-chrono.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/ompl/src/ompl/util/src/RandomNumbers.cpp b/ompl/src/ompl/util/src/RandomNumbers.cpp
|
||||
index fe30070..048b42d 100644
|
||||
--- a/ompl/src/ompl/util/src/RandomNumbers.cpp
|
||||
+++ b/ompl/src/ompl/util/src/RandomNumbers.cpp
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "ompl/util/RandomNumbers.h"
|
||||
#include "ompl/util/Exception.h"
|
||||
#include "ompl/util/Console.h"
|
||||
+#include <chrono>
|
||||
#include <mutex>
|
||||
#include <memory>
|
||||
#include <boost/math/constants/constants.hpp>
|
@ -19,6 +19,7 @@ vcpkg_extract_source_archive(
|
||||
PATCHES
|
||||
fix_dependency.patch
|
||||
${STATIC_PATCH}
|
||||
add-include-chrono.patch #https://github.com/ompl/ompl/pull/1201
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
@ -80,4 +81,4 @@ endif()
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/pkgconfig" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "omplapp",
|
||||
"version": "1.5.1",
|
||||
"port-version": 5,
|
||||
"port-version": 6,
|
||||
"description": "Use OMPL for reading meshes and performing collision checking",
|
||||
"homepage": "https://ompl.kavrakilab.org/",
|
||||
"license": null,
|
||||
|
12
ports/openvino/add-include-chrono.patch
Normal file
12
ports/openvino/add-include-chrono.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/core/include/openvino/pass/manager.hpp b/src/core/include/openvino/pass/manager.hpp
|
||||
index a026957..a727942 100644
|
||||
--- a/src/core/include/openvino/pass/manager.hpp
|
||||
+++ b/src/core/include/openvino/pass/manager.hpp
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
+#include <chrono>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <typeinfo>
|
@ -9,6 +9,7 @@ vcpkg_from_github(
|
||||
001-disable-tools.patch
|
||||
002-fix-onnx.patch
|
||||
003-protobuf.patch
|
||||
add-include-chrono.patch #https://github.com/openvinotoolkit/openvino/pull/27782
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
@ -2,7 +2,7 @@
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||
"name": "openvino",
|
||||
"version": "2024.4.0",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"maintainers": "OpenVINO Developers <openvino@intel.com>",
|
||||
"summary": "This is a port for Open Visual Inference And Optimization toolkit for AI inference",
|
||||
"description": [
|
||||
|
12
ports/realsense2/add-include-chrono.patch
Normal file
12
ports/realsense2/add-include-chrono.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/platform/uvc-device.h b/src/platform/uvc-device.h
|
||||
index 48bd19e..b626799 100644
|
||||
--- a/src/platform/uvc-device.h
|
||||
+++ b/src/platform/uvc-device.h
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
+#include <chrono>
|
||||
#include <thread>
|
||||
#include <algorithm> // find
|
||||
|
@ -8,6 +8,7 @@ vcpkg_from_github(
|
||||
fix_openni2.patch
|
||||
fix-nlohmann_json.patch
|
||||
fix-android-prefix-path.patch
|
||||
add-include-chrono.patch #https://github.com/IntelRealSense/librealsense/pull/13537
|
||||
)
|
||||
|
||||
file(COPY "${SOURCE_PATH}/src/win7/drivers/IntelRealSense_D400_series_win7.inf" DESTINATION "${SOURCE_PATH}")
|
||||
|
@ -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",
|
||||
|
12
ports/wampcc/add-include-chrono.patch
Normal file
12
ports/wampcc/add-include-chrono.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/include/wampcc/protocol.h b/include/wampcc/protocol.h
|
||||
index e863768..3c86033 100644
|
||||
--- a/include/wampcc/protocol.h
|
||||
+++ b/include/wampcc/protocol.h
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "wampcc/types.h"
|
||||
|
||||
#include <vector>
|
||||
+#include <chrono>
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
@ -12,6 +12,7 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
gcc-11.patch # https://github.com/darrenjs/wampcc/commit/d1a8c6dcabcc32e9d9774f306555e9080d871c2f
|
||||
add-include-chrono.patch #https://github.com/darrenjs/wampcc/pull/85
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
@ -33,7 +34,7 @@ if("utils" IN_LIST FEATURES)
|
||||
vcpkg_copy_tools(TOOL_NAMES admin AUTO_CLEAN)
|
||||
endif()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "wampcc",
|
||||
"version-date": "2019-09-04",
|
||||
"port-version": 5,
|
||||
"port-version": 6,
|
||||
"description": "Wampcc is C++ library that implements the Web Application Messaging Protocol (WAMP) protocol.",
|
||||
"license": "MIT",
|
||||
"supports": "!(windows & arm64)",
|
||||
|
12
ports/zlmediakit/add-include-chrono.patch
Normal file
12
ports/zlmediakit/add-include-chrono.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/Util/util.cpp b/src/Util/util.cpp
|
||||
index 1da99cc..943a107 100644
|
||||
--- a/src/Util/util.cpp
|
||||
+++ b/src/Util/util.cpp
|
||||
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
+#include <chrono>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
@ -15,6 +15,8 @@ vcpkg_from_github(
|
||||
REF 46231014e2a7ec1903d4a37e96222481ecc779d8
|
||||
SHA512 2a0b834f072fbc64edc84f408050e2c992f8d59f2480c67a372cace17d49f21eb2f40587288481acc42118e94a5b7863043982680c3f56bdde3863f97ca69356
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
add-include-chrono.patch #https://github.com/ZLMediaKit/ZLToolKit/pull/258
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE "${SOURCE_PATH}/3rdpart/ZLToolKit")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "zlmediakit",
|
||||
"version-date": "2024-09-29",
|
||||
"port-version": 1,
|
||||
"description": "A high-performance carrier-grade streaming media service framework based on C++11.",
|
||||
"homepage": "https://github.com/ZLMediaKit/ZLMediaKit",
|
||||
"license": "MIT",
|
||||
|
@ -6582,7 +6582,7 @@
|
||||
},
|
||||
"omplapp": {
|
||||
"baseline": "1.5.1",
|
||||
"port-version": 5
|
||||
"port-version": 6
|
||||
},
|
||||
"onednn": {
|
||||
"baseline": "3.5.3",
|
||||
@ -6778,7 +6778,7 @@
|
||||
},
|
||||
"openvino": {
|
||||
"baseline": "2024.4.0",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"openvpn3": {
|
||||
"baseline": "3.10",
|
||||
@ -7882,7 +7882,7 @@
|
||||
},
|
||||
"realsense2": {
|
||||
"baseline": "2.56.2",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"recast": {
|
||||
"baseline": "deprecated",
|
||||
@ -9586,7 +9586,7 @@
|
||||
},
|
||||
"wampcc": {
|
||||
"baseline": "2019-09-04",
|
||||
"port-version": 5
|
||||
"port-version": 6
|
||||
},
|
||||
"wangle": {
|
||||
"baseline": "2024.11.18.00",
|
||||
@ -9990,7 +9990,7 @@
|
||||
},
|
||||
"zlmediakit": {
|
||||
"baseline": "2024-09-29",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"zoe": {
|
||||
"baseline": "3.5",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "64c31b2e2d99254b1ee40c212404d98f4ea90b8e",
|
||||
"version": "1.5.1",
|
||||
"port-version": 6
|
||||
},
|
||||
{
|
||||
"git-tree": "8c7e3d29552841ecf363e9f222c6bc554be4b91e",
|
||||
"version": "1.5.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d3497e79615424c72514c072b5f7deb876f35718",
|
||||
"version": "2024.4.0",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "04f4c58adc2db11be31f2d4427c6eeb62bbe0dd2",
|
||||
"version": "2024.4.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3f099d34f5d5bf7b0354e667018c0caae7966229",
|
||||
"version": "2.56.2",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "cd83d4d25a389c96970ee763fa48a48b9b419f5b",
|
||||
"version": "2.56.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "87cce5b744b64992e4a83bf9dddfc5d28abfd0ec",
|
||||
"version-date": "2019-09-04",
|
||||
"port-version": 6
|
||||
},
|
||||
{
|
||||
"git-tree": "69c3d159720746a5321085dab7b543c1c95eed85",
|
||||
"version-date": "2019-09-04",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5e00c8916600f9fe24ce27f677abcec334479f28",
|
||||
"version-date": "2024-09-29",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "ee4983a040a7165456de12910b16f1e24f078c32",
|
||||
"version-date": "2024-09-29",
|
||||
|
Loading…
x
Reference in New Issue
Block a user