Spaces:
Sleeping
Sleeping
b3d23bb579229b30f95c3f03f75a406fcfcbd7a06eda2c09e256b4a10583ae5f
Browse files- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-macro-utils-c/portfile.cmake +40 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-macro-utils-c/vcpkg.json +10 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-attestation-cpp/portfile.cmake +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-attestation-cpp/vcpkg.json +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-certificates-cpp/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-certificates-cpp/vcpkg.json +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-keys-cpp/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-keys-cpp/vcpkg.json +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-secrets-cpp/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-secrets-cpp/vcpkg.json +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-blobs-cpp/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-blobs-cpp/vcpkg.json +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-common-cpp/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-common-cpp/vcpkg.json +33 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-cpp/portfile.cmake +32 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-cpp/vcpkg.json +41 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-files-datalake-cpp/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-files-datalake-cpp/vcpkg.json +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-files-shares-cpp/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-files-shares-cpp/vcpkg.json +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-queues-cpp/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-queues-cpp/vcpkg.json +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-uamqp-c/portfile.cmake +42 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-uamqp-c/vcpkg.json +38 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-uhttp-c/package-location-fix-preview.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-uhttp-c/portfile.cmake +44 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-uhttp-c/vcpkg.json +46 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-umqtt-c/package-location-fix-preview.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-umqtt-c/portfile.cmake +43 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-umqtt-c/vcpkg.json +46 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/CMakeLists.txt +35 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/b64_dynamic_config.h +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/b64_static_config.h +6 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/portfile.cmake +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/vcpkg.json +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/windows-fix.patch +130 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/basisu/fix-addostream.patch +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/basisu/portfile.cmake +40 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/basisu/vcpkg.json +10 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bcg729/disable-alt-packaging.patch +10 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bcg729/portfile.cmake +46 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bcg729/vcpkg.json +17 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bddisasm/portfile.cmake +31 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bddisasm/vcpkg.json +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bde/portfile.cmake +138 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bde/vcpkg.json +7 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bdwgc/portfile.cmake +27 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bdwgc/vcpkg.json +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/beast/portfile.cmake +1 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/beast/vcpkg.json +10 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-macro-utils-c/portfile.cmake
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
if("public-preview" IN_LIST FEATURES)
|
4 |
+
vcpkg_from_github(
|
5 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
6 |
+
REPO Azure/azure-macro-utils-c
|
7 |
+
REF 7523af934fc4d9423111e358f49b19314ec9c3e3
|
8 |
+
SHA512 441d2420be319195ef50d0b03028e44c470adedc316dc338245cbc51ec2e78863cb42a9665d84a628056d212927abb5aeaf5c489e7c36b5257b16a28b3652e6e
|
9 |
+
HEAD_REF master
|
10 |
+
FILE_DISAMBIGUATOR 1
|
11 |
+
)
|
12 |
+
else()
|
13 |
+
vcpkg_from_github(
|
14 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
15 |
+
REPO Azure/azure-macro-utils-c
|
16 |
+
REF 5926caf4e42e98e730e6d03395788205649a3ada
|
17 |
+
SHA512 8f9fd02012202db6cff5b647edbc8332a2c03963e80182a630af6a884f23df96b8e24d60e5412bfc2a0a7f43240a54f9597040aa28a9d3e1566755e1d52aac62
|
18 |
+
HEAD_REF master
|
19 |
+
FILE_DISAMBIGUATOR 1
|
20 |
+
)
|
21 |
+
endif()
|
22 |
+
|
23 |
+
vcpkg_configure_cmake(
|
24 |
+
SOURCE_PATH ${SOURCE_PATH}
|
25 |
+
PREFER_NINJA
|
26 |
+
OPTIONS
|
27 |
+
-Drun_int_tests=OFF
|
28 |
+
)
|
29 |
+
|
30 |
+
vcpkg_install_cmake()
|
31 |
+
|
32 |
+
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake TARGET_PATH share/azure_macro_utils_c)
|
33 |
+
|
34 |
+
file(COPY ${SOURCE_PATH}/inc/azure_macro_utils/macro_utils.h DESTINATION ${CURRENT_PACKAGES_DIR}/share/azure_macro_utils_c/include/azure_macro_utils)
|
35 |
+
|
36 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug)
|
37 |
+
|
38 |
+
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/azure-macro-utils-c/copyright COPYONLY)
|
39 |
+
|
40 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-macro-utils-c/vcpkg.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-macro-utils-c",
|
3 |
+
"version-date": "2022-01-21",
|
4 |
+
"description": "A library of macros for the Azure IoT SDK Suite",
|
5 |
+
"features": {
|
6 |
+
"public-preview": {
|
7 |
+
"description": "A library of macros for the Azure IoT SDK Suite (public-preview)"
|
8 |
+
}
|
9 |
+
}
|
10 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-attestation-cpp/portfile.cmake
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO Azure/azure-sdk-for-cpp
|
4 |
+
REF azure-security-attestation_1.0.0-beta.1
|
5 |
+
SHA512 bb408ffa209c6d6416836296472f391d3418d6768f74d3fcf7962f93a991319f4f53b8588b2e82b2b366c060ad71cd1a2ad4a5515f19db97e5e5ef4bd222b926
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_cmake_configure(
|
9 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/attestation/azure-security-attestation/
|
10 |
+
OPTIONS
|
11 |
+
${FEATURE_OPTIONS}
|
12 |
+
-DWARNINGS_AS_ERRORS=OFF
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_cmake_install()
|
16 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
17 |
+
vcpkg_cmake_config_fixup()
|
18 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
19 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-attestation-cpp/vcpkg.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-security-attestation-cpp",
|
3 |
+
"version-semver": "1.0.0-beta.1",
|
4 |
+
"description": [
|
5 |
+
"Microsoft Azure Attestation Service SDK for C++",
|
6 |
+
"This library provides API access to the Microsoft Azure Attestation service."
|
7 |
+
],
|
8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/attestation/azure-security-attestation",
|
9 |
+
"license": "MIT",
|
10 |
+
"dependencies": [
|
11 |
+
{
|
12 |
+
"name": "azure-core-cpp",
|
13 |
+
"default-features": false,
|
14 |
+
"version>=": "1.5.0"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "openssl",
|
18 |
+
"version>=": "1.1.1n"
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "vcpkg-cmake",
|
22 |
+
"host": true
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"name": "vcpkg-cmake-config",
|
26 |
+
"host": true
|
27 |
+
}
|
28 |
+
]
|
29 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-certificates-cpp/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO Azure/azure-sdk-for-cpp
|
4 |
+
REF azure-security-keyvault-certificates_4.0.0-beta.2
|
5 |
+
SHA512 b8e3c2fc942854610a9ae3a0f57f1f1e5a5fe73905ca5085bb418b68e9888f7acb1d0866ba7692b055d4438bdf4f3f796e5860a95e0d9663e68353dabd07bed7
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_cmake_configure(
|
9 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-certificates/
|
10 |
+
OPTIONS
|
11 |
+
-DWARNINGS_AS_ERRORS=OFF
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_cmake_install()
|
15 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
16 |
+
vcpkg_cmake_config_fixup()
|
17 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
18 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-certificates-cpp/vcpkg.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-security-keyvault-certificates-cpp",
|
3 |
+
"version-semver": "4.0.0-beta.2",
|
4 |
+
"description": [
|
5 |
+
"Microsoft Azure Key Vault Certificates SDK for C++",
|
6 |
+
"This library provides Azure Key Vault Certificates SDK."
|
7 |
+
],
|
8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-certificates",
|
9 |
+
"license": "MIT",
|
10 |
+
"dependencies": [
|
11 |
+
{
|
12 |
+
"name": "azure-core-cpp",
|
13 |
+
"default-features": false,
|
14 |
+
"version>=": "1.3.1"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake",
|
18 |
+
"host": true
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "vcpkg-cmake-config",
|
22 |
+
"host": true
|
23 |
+
}
|
24 |
+
]
|
25 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-keys-cpp/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO Azure/azure-sdk-for-cpp
|
4 |
+
REF azure-security-keyvault-keys_4.2.0
|
5 |
+
SHA512 b7556019a23344c109f62120c9fc0451f81bf476700ef08c6968a3e731fa783522b2f9b4de411e6727cb1cb977cc4344303e32d825515c192544bb78d9517c32
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_cmake_configure(
|
9 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-keys/
|
10 |
+
OPTIONS
|
11 |
+
-DWARNINGS_AS_ERRORS=OFF
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_cmake_install()
|
15 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
16 |
+
vcpkg_cmake_config_fixup()
|
17 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
18 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-keys-cpp/vcpkg.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-security-keyvault-keys-cpp",
|
3 |
+
"version-semver": "4.2.0",
|
4 |
+
"description": [
|
5 |
+
"Microsoft Azure Key Vault Keys SDK for C++",
|
6 |
+
"This library provides Azure Key Vault Keys SDK."
|
7 |
+
],
|
8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-keys",
|
9 |
+
"license": "MIT",
|
10 |
+
"dependencies": [
|
11 |
+
{
|
12 |
+
"name": "azure-core-cpp",
|
13 |
+
"default-features": false,
|
14 |
+
"version>=": "1.2.0"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake",
|
18 |
+
"host": true
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "vcpkg-cmake-config",
|
22 |
+
"host": true
|
23 |
+
}
|
24 |
+
]
|
25 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-secrets-cpp/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO Azure/azure-sdk-for-cpp
|
4 |
+
REF azure-security-keyvault-secrets_4.0.0-beta.2
|
5 |
+
SHA512 471158c13cd356289f1876f68c69ce761adead141aa832d13abed8a3dd5a221666a09a9c33d8f840ec1372d4edf602d867dba5978262785bf9b9040a50e08904
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_cmake_configure(
|
9 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-secrets/
|
10 |
+
OPTIONS
|
11 |
+
-DWARNINGS_AS_ERRORS=OFF
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_cmake_install()
|
15 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
16 |
+
vcpkg_cmake_config_fixup()
|
17 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
18 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-security-keyvault-secrets-cpp/vcpkg.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-security-keyvault-secrets-cpp",
|
3 |
+
"version-semver": "4.0.0-beta.2",
|
4 |
+
"description": [
|
5 |
+
"Microsoft Azure Key Vault Secrets SDK for C++",
|
6 |
+
"This library provides Azure Key Vault Secrets SDK."
|
7 |
+
],
|
8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-secrets",
|
9 |
+
"license": "MIT",
|
10 |
+
"dependencies": [
|
11 |
+
{
|
12 |
+
"name": "azure-core-cpp",
|
13 |
+
"default-features": false,
|
14 |
+
"version>=": "1.3.1"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake",
|
18 |
+
"host": true
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "vcpkg-cmake-config",
|
22 |
+
"host": true
|
23 |
+
}
|
24 |
+
]
|
25 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-blobs-cpp/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO Azure/azure-sdk-for-cpp
|
4 |
+
REF azure-storage-blobs_12.4.0
|
5 |
+
SHA512 8d60970d0eff794cfcb6fb8471e7b0086cd8620072845195f67ae2fe2a7e1ecdaf21f10a80a708c981afa3589115f0fd2477a8c398d06b66b4babcd49f0c4c9a
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_cmake_configure(
|
9 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/storage/azure-storage-blobs/
|
10 |
+
OPTIONS
|
11 |
+
-DWARNINGS_AS_ERRORS=OFF
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_cmake_install()
|
15 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
16 |
+
vcpkg_cmake_config_fixup()
|
17 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
18 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-blobs-cpp/vcpkg.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-storage-blobs-cpp",
|
3 |
+
"version-semver": "12.4.0",
|
4 |
+
"description": [
|
5 |
+
"Microsoft Azure Storage Blobs SDK for C++",
|
6 |
+
"This library provides Azure Storage Blobs SDK."
|
7 |
+
],
|
8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage/azure-storage-blobs",
|
9 |
+
"license": "MIT",
|
10 |
+
"dependencies": [
|
11 |
+
{
|
12 |
+
"name": "azure-storage-common-cpp",
|
13 |
+
"default-features": false,
|
14 |
+
"version>=": "12.2.3"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake",
|
18 |
+
"host": true
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "vcpkg-cmake-config",
|
22 |
+
"host": true
|
23 |
+
}
|
24 |
+
]
|
25 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-common-cpp/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO Azure/azure-sdk-for-cpp
|
4 |
+
REF azure-storage-common_12.2.3
|
5 |
+
SHA512 456854fa39e98fab10e65e0bab148aeb9fee61439bcb1b689c17110343be0162174a8075eb09b0b4eba6c5f59c8d454d78cbd3c4aafb1af3db16d9f984189393
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_cmake_configure(
|
9 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/storage/azure-storage-common/
|
10 |
+
OPTIONS
|
11 |
+
-DWARNINGS_AS_ERRORS=OFF
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_cmake_install()
|
15 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
16 |
+
vcpkg_cmake_config_fixup()
|
17 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
18 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-common-cpp/vcpkg.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-storage-common-cpp",
|
3 |
+
"version-semver": "12.2.3",
|
4 |
+
"description": [
|
5 |
+
"Microsoft Azure Common Storage SDK for C++",
|
6 |
+
"This library provides common Azure Storage-related abstractions for Azure SDK."
|
7 |
+
],
|
8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage/azure-storage-common",
|
9 |
+
"license": "MIT",
|
10 |
+
"dependencies": [
|
11 |
+
{
|
12 |
+
"name": "azure-core-cpp",
|
13 |
+
"default-features": false,
|
14 |
+
"version>=": "1.5.0"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "libxml2",
|
18 |
+
"platform": "!windows"
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "openssl",
|
22 |
+
"platform": "!windows"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"name": "vcpkg-cmake",
|
26 |
+
"host": true
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"name": "vcpkg-cmake-config",
|
30 |
+
"host": true
|
31 |
+
}
|
32 |
+
]
|
33 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-cpp/portfile.cmake
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
message(WARNING "azure-storage-cpp is no longer actively developed. Instead, users should migrate to the new sdk:azure-core-cpp")
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO Azure/azure-storage-cpp
|
6 |
+
REF v7.5.0
|
7 |
+
SHA512 83eabcaf2114c8af1cabbc96b6ef2b57c934a06f68e7a870adf336feaa19edd57aedaf8507d5c40500e46d4e77f5059f9286e319fe7cadeb9ffc8fa018fb030c
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
vcpkg_configure_cmake(
|
12 |
+
SOURCE_PATH ${SOURCE_PATH}/Microsoft.WindowsAzure.Storage
|
13 |
+
PREFER_NINJA
|
14 |
+
OPTIONS
|
15 |
+
-DCMAKE_FIND_FRAMEWORK=LAST
|
16 |
+
-DBUILD_TESTS=OFF
|
17 |
+
-DBUILD_SAMPLES=OFF
|
18 |
+
OPTIONS_RELEASE
|
19 |
+
-DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/lib
|
20 |
+
OPTIONS_DEBUG
|
21 |
+
-DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/debug/lib
|
22 |
+
)
|
23 |
+
|
24 |
+
vcpkg_install_cmake()
|
25 |
+
|
26 |
+
file(INSTALL
|
27 |
+
${SOURCE_PATH}/LICENSE.txt
|
28 |
+
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
29 |
+
file(REMOVE_RECURSE
|
30 |
+
${CURRENT_PACKAGES_DIR}/debug/include)
|
31 |
+
|
32 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-cpp/vcpkg.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-storage-cpp",
|
3 |
+
"version-string": "7.5.0",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": [
|
6 |
+
"[legacy] Microsoft Azure Storage Client SDK for C++",
|
7 |
+
"A client library for working with Microsoft Azure storage services including blobs, files, tables, and queues. This client library enables working with the Microsoft Azure storage services which include the blob service for storing binary and text data, the file service for storing binary and text data, the table service for storing structured non-relational data, and the queue service for storing messages that may be accessed by a client."
|
8 |
+
],
|
9 |
+
"homepage": "https://blogs.msdn.com/b/windowsazurestorage/",
|
10 |
+
"supports": "!uwp",
|
11 |
+
"dependencies": [
|
12 |
+
{
|
13 |
+
"name": "atlmfc",
|
14 |
+
"platform": "windows"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "boost-locale",
|
18 |
+
"platform": "!windows & !uwp"
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "boost-log",
|
22 |
+
"platform": "!windows & !uwp"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"name": "cpprestsdk",
|
26 |
+
"default-features": false
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"name": "gettext",
|
30 |
+
"platform": "osx"
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"name": "libuuid",
|
34 |
+
"platform": "!windows & !uwp & !osx"
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"name": "libxml2",
|
38 |
+
"platform": "!windows & !uwp"
|
39 |
+
}
|
40 |
+
]
|
41 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-files-datalake-cpp/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO Azure/azure-sdk-for-cpp
|
4 |
+
REF azure-storage-files-datalake_12.3.1
|
5 |
+
SHA512 4d0879808e0d2c2ca0e2c6a89496af3f51a8bcebd071ea51359bb42f1ead193292bb3e21c8c3f023634a48585ab68bdd4d95af0b7357a3e92030c6d1a12ceba9
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_cmake_configure(
|
9 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/storage/azure-storage-files-datalake/
|
10 |
+
OPTIONS
|
11 |
+
-DWARNINGS_AS_ERRORS=OFF
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_cmake_install()
|
15 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
16 |
+
vcpkg_cmake_config_fixup()
|
17 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
18 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-files-datalake-cpp/vcpkg.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-storage-files-datalake-cpp",
|
3 |
+
"version-semver": "12.3.1",
|
4 |
+
"description": [
|
5 |
+
"Microsoft Azure Storage Files Data Lake SDK for C++",
|
6 |
+
"This library provides Azure Storage Files Data Lake SDK."
|
7 |
+
],
|
8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage/azure-storage-files-datalake",
|
9 |
+
"license": "MIT",
|
10 |
+
"dependencies": [
|
11 |
+
{
|
12 |
+
"name": "azure-storage-blobs-cpp",
|
13 |
+
"default-features": false,
|
14 |
+
"version>=": "12.3.0"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake",
|
18 |
+
"host": true
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "vcpkg-cmake-config",
|
22 |
+
"host": true
|
23 |
+
}
|
24 |
+
]
|
25 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-files-shares-cpp/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO Azure/azure-sdk-for-cpp
|
4 |
+
REF azure-storage-files-shares_12.2.1
|
5 |
+
SHA512 c3fd61496833fd90984c20c3ec6f3be663dda922458a7984ce6010c82df28a546f2e24f7d3690f327b22dbdf2abc669f12ebc182f43ba171111ece0450dbe35c
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_cmake_configure(
|
9 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/storage/azure-storage-files-shares/
|
10 |
+
OPTIONS
|
11 |
+
-DWARNINGS_AS_ERRORS=OFF
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_cmake_install()
|
15 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
16 |
+
vcpkg_cmake_config_fixup()
|
17 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
18 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-files-shares-cpp/vcpkg.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-storage-files-shares-cpp",
|
3 |
+
"version-semver": "12.2.1",
|
4 |
+
"description": [
|
5 |
+
"Microsoft Azure Storage Files Shares SDK for C++",
|
6 |
+
"This library provides Azure Storage Files Shares SDK."
|
7 |
+
],
|
8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage/azure-storage-files-shares",
|
9 |
+
"license": "MIT",
|
10 |
+
"dependencies": [
|
11 |
+
{
|
12 |
+
"name": "azure-storage-common-cpp",
|
13 |
+
"default-features": false,
|
14 |
+
"version>=": "12.2.2"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake",
|
18 |
+
"host": true
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "vcpkg-cmake-config",
|
22 |
+
"host": true
|
23 |
+
}
|
24 |
+
]
|
25 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-queues-cpp/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO Azure/azure-sdk-for-cpp
|
4 |
+
REF azure-storage-queues_12.0.0
|
5 |
+
SHA512 f393d481a9bb098d1a361605d9d55e1385ec5417a20ea05c53d479dbe4dcb0e8be34c2b9fc31b64e7d78b81fd642461f27beb02b6ed047f87c968c0bb718b85b
|
6 |
+
)
|
7 |
+
|
8 |
+
vcpkg_cmake_configure(
|
9 |
+
SOURCE_PATH ${SOURCE_PATH}/sdk/storage/azure-storage-queues/
|
10 |
+
OPTIONS
|
11 |
+
-DWARNINGS_AS_ERRORS=OFF
|
12 |
+
)
|
13 |
+
|
14 |
+
vcpkg_cmake_install()
|
15 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
16 |
+
vcpkg_cmake_config_fixup()
|
17 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
18 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-storage-queues-cpp/vcpkg.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-storage-queues-cpp",
|
3 |
+
"version-semver": "12.0.0",
|
4 |
+
"description": [
|
5 |
+
"Microsoft Azure Storage Queues SDK for C++",
|
6 |
+
"This library provides Azure Storage Queues SDK."
|
7 |
+
],
|
8 |
+
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/storage/azure-storage-queues",
|
9 |
+
"license": "MIT",
|
10 |
+
"dependencies": [
|
11 |
+
{
|
12 |
+
"name": "azure-storage-common-cpp",
|
13 |
+
"default-features": false,
|
14 |
+
"version>=": "12.2.3"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake",
|
18 |
+
"host": true
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "vcpkg-cmake-config",
|
22 |
+
"host": true
|
23 |
+
}
|
24 |
+
]
|
25 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-uamqp-c/portfile.cmake
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
if("public-preview" IN_LIST FEATURES)
|
4 |
+
vcpkg_from_github(
|
5 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
6 |
+
REPO Azure/azure-uamqp-c
|
7 |
+
REF 065ffdeeb47313ddbbc2a8e84ad52ab033e2e8d2
|
8 |
+
SHA512 bade6fae2d5479b7690632dbcc58bda5dd871eb0aa63d6a56cb35e81630121b5148309cd3414e6339c1218ec59fc12ac318b4964d295b579f7a0cacf5593b7ba
|
9 |
+
HEAD_REF master
|
10 |
+
)
|
11 |
+
else()
|
12 |
+
vcpkg_from_github(
|
13 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
14 |
+
REPO Azure/azure-uamqp-c
|
15 |
+
REF 85aae56beb717dddaf5512845de537d2926afb02
|
16 |
+
SHA512 3d9e7788c784169e6d1d9abd233e00a4c1e6525d67cbc25f8ba42292b6d66d0179a742833a0c00a3a0df6498bf88dc8b12a40c183e7141f7290cbb4eceb67dbe
|
17 |
+
HEAD_REF master
|
18 |
+
)
|
19 |
+
endif()
|
20 |
+
|
21 |
+
file(COPY ${CURRENT_INSTALLED_DIR}/share/azure-c-shared-utility/azure_iot_build_rules.cmake DESTINATION ${SOURCE_PATH}/deps/azure-c-shared-utility/configs/)
|
22 |
+
|
23 |
+
vcpkg_configure_cmake(
|
24 |
+
SOURCE_PATH ${SOURCE_PATH}
|
25 |
+
PREFER_NINJA
|
26 |
+
OPTIONS
|
27 |
+
-Dskip_samples=ON
|
28 |
+
-Duse_installed_dependencies=ON
|
29 |
+
-Dbuild_as_dynamic=OFF
|
30 |
+
MAYBE_UNUSED_VARIABLES
|
31 |
+
build_as_dynamic
|
32 |
+
)
|
33 |
+
|
34 |
+
vcpkg_install_cmake()
|
35 |
+
|
36 |
+
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake TARGET_PATH share/uamqp)
|
37 |
+
|
38 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
|
39 |
+
|
40 |
+
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
41 |
+
|
42 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-uamqp-c/vcpkg.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-uamqp-c",
|
3 |
+
"version-date": "2022-01-21",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "AMQP library for C",
|
6 |
+
"homepage": "https://github.com/Azure/azure-uamqp-c",
|
7 |
+
"license": "MIT",
|
8 |
+
"dependencies": [
|
9 |
+
"azure-c-shared-utility",
|
10 |
+
"azure-macro-utils-c",
|
11 |
+
"umock-c"
|
12 |
+
],
|
13 |
+
"features": {
|
14 |
+
"public-preview": {
|
15 |
+
"description": "AMQP library for C (public preview)",
|
16 |
+
"dependencies": [
|
17 |
+
{
|
18 |
+
"name": "azure-c-shared-utility",
|
19 |
+
"features": [
|
20 |
+
"public-preview"
|
21 |
+
]
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"name": "azure-macro-utils-c",
|
25 |
+
"features": [
|
26 |
+
"public-preview"
|
27 |
+
]
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"name": "umock-c",
|
31 |
+
"features": [
|
32 |
+
"public-preview"
|
33 |
+
]
|
34 |
+
}
|
35 |
+
]
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-uhttp-c/package-location-fix-preview.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index 27eae0b..ef87ec0 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -138,7 +138,7 @@ if (NOT ${skip_samples})
|
6 |
+
endif()
|
7 |
+
|
8 |
+
# Install uhttp
|
9 |
+
-set(package_location "cmake")
|
10 |
+
+set(package_location "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
|
11 |
+
|
12 |
+
if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
|
13 |
+
set(CMAKE_INSTALL_LIBDIR "lib")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-uhttp-c/portfile.cmake
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
if("public-preview" IN_LIST FEATURES)
|
4 |
+
vcpkg_from_github(
|
5 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
6 |
+
REPO Azure/azure-uhttp-c
|
7 |
+
REF d84a20609a2b5a555920389451fb3c9a2ed3656c
|
8 |
+
SHA512 4eadd7e120082cc3bcf696d6cd16bc7ee8e1082380dd7583fba7fad1bb95109f3456890495e25ae7675e656ef721fa12eff22eeb96d8a4cf359be5c96889cbd6
|
9 |
+
HEAD_REF master
|
10 |
+
PATCHES
|
11 |
+
package-location-fix-preview.patch
|
12 |
+
)
|
13 |
+
else()
|
14 |
+
vcpkg_from_github(
|
15 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
16 |
+
REPO Azure/azure-uhttp-c
|
17 |
+
REF 1cc70f4d21ad69768cafb9551b1b512118fba995
|
18 |
+
SHA512 6604e82b347a1a4eb5072ab762fde7bd5ae9b32848a78da9103e0eb528b9ccd420a12dbc237dc0b5fe6db271d5cdcd24eedf1cde8ac058102fdd24c5a5a33f26
|
19 |
+
HEAD_REF master
|
20 |
+
)
|
21 |
+
endif()
|
22 |
+
|
23 |
+
file(COPY ${CURRENT_INSTALLED_DIR}/share/azure-c-shared-utility/azure_iot_build_rules.cmake DESTINATION ${SOURCE_PATH}/deps/c-utility/configs/)
|
24 |
+
|
25 |
+
vcpkg_cmake_configure(
|
26 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
27 |
+
OPTIONS
|
28 |
+
-Dskip_samples=ON
|
29 |
+
-Duse_installed_dependencies=ON
|
30 |
+
-Dbuild_as_dynamic=OFF
|
31 |
+
-DCMAKE_INSTALL_INCLUDEDIR=include
|
32 |
+
MAYBE_UNUSED_VARIABLES
|
33 |
+
build_as_dynamic
|
34 |
+
)
|
35 |
+
|
36 |
+
vcpkg_cmake_install()
|
37 |
+
|
38 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME uhttp CONFIG_PATH "lib/cmake/uhttp")
|
39 |
+
|
40 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
41 |
+
|
42 |
+
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
43 |
+
|
44 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-uhttp-c/vcpkg.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-uhttp-c",
|
3 |
+
"version-date": "2022-01-21",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Azure HTTP Library written in C",
|
6 |
+
"homepage": "https://github.com/Azure/azure-uhttp-c",
|
7 |
+
"license": "MIT",
|
8 |
+
"dependencies": [
|
9 |
+
"azure-c-shared-utility",
|
10 |
+
"azure-macro-utils-c",
|
11 |
+
"umock-c",
|
12 |
+
{
|
13 |
+
"name": "vcpkg-cmake",
|
14 |
+
"host": true
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake-config",
|
18 |
+
"host": true
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"features": {
|
22 |
+
"public-preview": {
|
23 |
+
"description": "Azure HTTP Library written in C (public preview)",
|
24 |
+
"dependencies": [
|
25 |
+
{
|
26 |
+
"name": "azure-c-shared-utility",
|
27 |
+
"features": [
|
28 |
+
"public-preview"
|
29 |
+
]
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"name": "azure-macro-utils-c",
|
33 |
+
"features": [
|
34 |
+
"public-preview"
|
35 |
+
]
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"name": "umock-c",
|
39 |
+
"features": [
|
40 |
+
"public-preview"
|
41 |
+
]
|
42 |
+
}
|
43 |
+
]
|
44 |
+
}
|
45 |
+
}
|
46 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-umqtt-c/package-location-fix-preview.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index 8fd08f0..c228519 100755
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -155,7 +155,7 @@ endif ()
|
6 |
+
include(GNUInstallDirs)
|
7 |
+
|
8 |
+
# Install umqtt
|
9 |
+
-set(package_location "cmake")
|
10 |
+
+set(package_location "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
|
11 |
+
|
12 |
+
if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
|
13 |
+
set(CMAKE_INSTALL_LIBDIR "lib")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-umqtt-c/portfile.cmake
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
if("public-preview" IN_LIST FEATURES)
|
4 |
+
vcpkg_from_github(
|
5 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
6 |
+
REPO Azure/azure-umqtt-c
|
7 |
+
REF 7557db6de094b67818d3c410dc95a3cf07cd86a6
|
8 |
+
SHA512 f2577379f711e2576fdd6dfecbc4d8a0b26c7670a77bc468238e8dd5fa43f208db85eddd06dd570fde4219ba19304338c712f671c059c6cc10abb4892d58ae40
|
9 |
+
HEAD_REF master
|
10 |
+
PATCHES
|
11 |
+
package-location-fix-preview.patch
|
12 |
+
)
|
13 |
+
else()
|
14 |
+
vcpkg_from_github(
|
15 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
16 |
+
REPO Azure/azure-umqtt-c
|
17 |
+
REF 09558f380a314ea89b28f406cc810f47718cea49
|
18 |
+
SHA512 7fc1b3d4ed6bd7401b764e27755270dd97caeb09f3bdede90e2e8c554acd13b5c24f9c7343e642bcb62d2937b8169d900fa46a1b97a8c439733c8cdcac19d548
|
19 |
+
HEAD_REF master
|
20 |
+
)
|
21 |
+
endif()
|
22 |
+
|
23 |
+
file(COPY ${CURRENT_INSTALLED_DIR}/share/azure-c-shared-utility/azure_iot_build_rules.cmake DESTINATION ${SOURCE_PATH}/deps/c-utility/configs/)
|
24 |
+
|
25 |
+
vcpkg_cmake_configure(
|
26 |
+
SOURCE_PATH ${SOURCE_PATH}
|
27 |
+
OPTIONS
|
28 |
+
-Dskip_samples=ON
|
29 |
+
-Duse_installed_dependencies=ON
|
30 |
+
-Dbuild_as_dynamic=OFF
|
31 |
+
MAYBE_UNUSED_VARIABLES
|
32 |
+
build_as_dynamic
|
33 |
+
)
|
34 |
+
|
35 |
+
vcpkg_cmake_install()
|
36 |
+
|
37 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME umqtt CONFIG_PATH "lib/cmake/umqtt")
|
38 |
+
|
39 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
40 |
+
|
41 |
+
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
42 |
+
|
43 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/azure-umqtt-c/vcpkg.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "azure-umqtt-c",
|
3 |
+
"version-date": "2022-01-21",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "General purpose library for communication over the mqtt protocol",
|
6 |
+
"homepage": "https://github.com/Azure/azure-umqtt-c",
|
7 |
+
"license": "MIT",
|
8 |
+
"dependencies": [
|
9 |
+
"azure-c-shared-utility",
|
10 |
+
"azure-macro-utils-c",
|
11 |
+
"umock-c",
|
12 |
+
{
|
13 |
+
"name": "vcpkg-cmake",
|
14 |
+
"host": true
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake-config",
|
18 |
+
"host": true
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"features": {
|
22 |
+
"public-preview": {
|
23 |
+
"description": "General purpose library for communication over the mqtt protocol (public preview)",
|
24 |
+
"dependencies": [
|
25 |
+
{
|
26 |
+
"name": "azure-c-shared-utility",
|
27 |
+
"features": [
|
28 |
+
"public-preview"
|
29 |
+
]
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"name": "azure-macro-utils-c",
|
33 |
+
"features": [
|
34 |
+
"public-preview"
|
35 |
+
]
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"name": "umock-c",
|
39 |
+
"features": [
|
40 |
+
"public-preview"
|
41 |
+
]
|
42 |
+
}
|
43 |
+
]
|
44 |
+
}
|
45 |
+
}
|
46 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/CMakeLists.txt
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required(VERSION 3.20)
|
2 |
+
project(b64)
|
3 |
+
|
4 |
+
if (BUILD_SHARED_LIBS)
|
5 |
+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/b64_dynamic_config.h ${CMAKE_CURRENT_BINARY_DIR}/b64_config.h)
|
6 |
+
else()
|
7 |
+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/b64_static_config.h ${CMAKE_CURRENT_BINARY_DIR}/b64_config.h)
|
8 |
+
endif()
|
9 |
+
|
10 |
+
set(SRC_DIR src)
|
11 |
+
set(INC_DIR include/b64)
|
12 |
+
set(SOURCE_FILES ${SRC_DIR}/cdecode.c ${SRC_DIR}/cencode.c)
|
13 |
+
set(HEADER_FILES ${INC_DIR}/cdecode.h ${INC_DIR}/cencode.h ${INC_DIR}/decode.h ${INC_DIR}/encode.h ${INC_DIR}/ccommon.h ${CMAKE_CURRENT_BINARY_DIR}/b64_config.h)
|
14 |
+
|
15 |
+
add_library(b64 ${SOURCE_FILES} ${HEADER_FILES})
|
16 |
+
|
17 |
+
if (BUILD_SHARED_LIBS)
|
18 |
+
target_compile_definitions(b64 PRIVATE LIBB64_EXPORTS=1)
|
19 |
+
endif()
|
20 |
+
|
21 |
+
target_include_directories(b64 PRIVATE include ${CMAKE_CURRENT_BINARY_DIR})
|
22 |
+
|
23 |
+
set_property(TARGET b64
|
24 |
+
PROPERTY PUBLIC_HEADER ${HEADER_FILES})
|
25 |
+
|
26 |
+
install(TARGETS b64
|
27 |
+
EXPORT b64-targets
|
28 |
+
LIBRARY DESTINATION lib
|
29 |
+
PUBLIC_HEADER DESTINATION include/b64
|
30 |
+
)
|
31 |
+
|
32 |
+
install(EXPORT b64-targets
|
33 |
+
FILE b64-targets.cmake
|
34 |
+
DESTINATION lib/cmake/b64)
|
35 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/b64_dynamic_config.h
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#ifndef B64_CONFIG_H
|
2 |
+
#define B64_CONFIG_H
|
3 |
+
|
4 |
+
#ifdef _WIN32
|
5 |
+
#ifdef LIBB64_EXPORTS
|
6 |
+
#define LIBB64 __declspec(dllexport)
|
7 |
+
#else
|
8 |
+
#define LIBB64 __declspec(dllimport)
|
9 |
+
#endif
|
10 |
+
#else
|
11 |
+
#define LIBB64
|
12 |
+
#endif
|
13 |
+
|
14 |
+
#endif
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/b64_static_config.h
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#ifndef B64_CONFIG_H
|
2 |
+
#define B64_CONFIG_H
|
3 |
+
|
4 |
+
#define LIBB64
|
5 |
+
|
6 |
+
#endif
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/portfile.cmake
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO libb64/libb64
|
4 |
+
REF v2.0.0.1
|
5 |
+
SHA512 72c2fd4c81575b505f4851cd3820b6a2d8e78cd031a1ed138ffe5667ca711558f43b515428971966f7a73ace7c9951f1f0b39c362a59fe4691958875775cce23
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES "windows-fix.patch"
|
8 |
+
)
|
9 |
+
|
10 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/b64_dynamic_config.h" DESTINATION "${SOURCE_PATH}")
|
11 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/b64_static_config.h" DESTINATION "${SOURCE_PATH}")
|
12 |
+
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
13 |
+
|
14 |
+
vcpkg_cmake_configure(
|
15 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
|
20 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
21 |
+
|
22 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
23 |
+
|
24 |
+
vcpkg_copy_pdbs()
|
25 |
+
|
26 |
+
|
27 |
+
# handle copyright
|
28 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/vcpkg.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
|
3 |
+
"name": "b64",
|
4 |
+
"version": "2.0.0.1",
|
5 |
+
"description": "libb64 is a library of ANSI C routines for fast encoding/decoding data into and from a base64-encoded format",
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "vcpkg-cmake",
|
9 |
+
"host": true
|
10 |
+
},
|
11 |
+
{
|
12 |
+
"name": "vcpkg-cmake-config",
|
13 |
+
"host": true
|
14 |
+
}
|
15 |
+
]
|
16 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/b64/windows-fix.patch
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/include/b64/ccommon.h b/include/b64/ccommon.h
|
2 |
+
index 2b614df..0e46141 100644
|
3 |
+
--- a/include/b64/ccommon.h
|
4 |
+
+++ b/include/b64/ccommon.h
|
5 |
+
@@ -10,11 +10,12 @@ For details, see http://sourceforge.net/projects/libb64
|
6 |
+
|
7 |
+
#define BASE64_VER_MAJOR 2
|
8 |
+
#define BASE64_VER_MINOR 0
|
9 |
+
+#include "b64_config.h"
|
10 |
+
|
11 |
+
#ifndef HAVE_SIZE_T
|
12 |
+
#ifdef _WIN32
|
13 |
+
#include <crtdefs.h>
|
14 |
+
- #elseif defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
|
15 |
+
+ #elif defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
|
16 |
+
#include <stdlib.h>
|
17 |
+
#else
|
18 |
+
typedef unsigned long size_t;
|
19 |
+
diff --git a/include/b64/cdecode.h b/include/b64/cdecode.h
|
20 |
+
index d6ff24c..4553efc 100644
|
21 |
+
--- a/include/b64/cdecode.h
|
22 |
+
+++ b/include/b64/cdecode.h
|
23 |
+
@@ -24,11 +24,11 @@ typedef struct
|
24 |
+
char plainchar;
|
25 |
+
} base64_decodestate;
|
26 |
+
|
27 |
+
-extern void base64_init_decodestate(base64_decodestate* state_in);
|
28 |
+
+extern LIBB64 void base64_init_decodestate(base64_decodestate* state_in);
|
29 |
+
|
30 |
+
-extern size_t base64_decode_maxlength(size_t encode_len);
|
31 |
+
+extern LIBB64 size_t base64_decode_maxlength(size_t encode_len);
|
32 |
+
|
33 |
+
-extern int base64_decode_value(signed char value_in);
|
34 |
+
-extern size_t base64_decode_block(const char* code_in, const size_t length_in, void* plaintext_out, base64_decodestate* state_in);
|
35 |
+
+extern LIBB64 int base64_decode_value(signed char value_in);
|
36 |
+
+extern LIBB64 size_t base64_decode_block(const char* code_in, const size_t length_in, void* plaintext_out, base64_decodestate* state_in);
|
37 |
+
|
38 |
+
#endif /* BASE64_CDECODE_H */
|
39 |
+
diff --git a/include/b64/cencode.h b/include/b64/cencode.h
|
40 |
+
index 96b0cdb..1feb695 100644
|
41 |
+
--- a/include/b64/cencode.h
|
42 |
+
+++ b/include/b64/cencode.h
|
43 |
+
@@ -31,12 +31,12 @@ typedef struct
|
44 |
+
char result;
|
45 |
+
} base64_encodestate;
|
46 |
+
|
47 |
+
-extern void base64_init_encodestate(base64_encodestate* state_in);
|
48 |
+
+extern LIBB64 void base64_init_encodestate(base64_encodestate* state_in);
|
49 |
+
|
50 |
+
-extern size_t base64_encode_length(size_t plain_len, base64_encodestate* state_in);
|
51 |
+
+extern LIBB64 size_t base64_encode_length(size_t plain_len, base64_encodestate* state_in);
|
52 |
+
|
53 |
+
-extern char base64_encode_value(signed char value_in);
|
54 |
+
-extern size_t base64_encode_block(const void* plaintext_in, const size_t length_in, char* code_out, base64_encodestate* state_in);
|
55 |
+
-extern size_t base64_encode_blockend(char* code_out, base64_encodestate* state_in);
|
56 |
+
+extern LIBB64 char base64_encode_value(signed char value_in);
|
57 |
+
+extern LIBB64 size_t base64_encode_block(const void* plaintext_in, const size_t length_in, char* code_out, base64_encodestate* state_in);
|
58 |
+
+extern LIBB64 size_t base64_encode_blockend(char* code_out, base64_encodestate* state_in);
|
59 |
+
|
60 |
+
#endif /* BASE64_CENCODE_H */
|
61 |
+
diff --git a/include/b64/decode.h b/include/b64/decode.h
|
62 |
+
index b2362e5..dd772d4 100644
|
63 |
+
--- a/include/b64/decode.h
|
64 |
+
+++ b/include/b64/decode.h
|
65 |
+
@@ -22,23 +22,23 @@ namespace base64
|
66 |
+
base64_decodestate _state;
|
67 |
+
int _buffersize;
|
68 |
+
|
69 |
+
- decoder(int buffersize_in = BUFFERSIZE)
|
70 |
+
+ LIBB64 decoder(int buffersize_in = BUFFERSIZE)
|
71 |
+
: _buffersize(buffersize_in)
|
72 |
+
{
|
73 |
+
base64_init_decodestate(&_state);
|
74 |
+
}
|
75 |
+
|
76 |
+
- int decode(char value_in)
|
77 |
+
+ LIBB64 int decode(char value_in)
|
78 |
+
{
|
79 |
+
return base64_decode_value(value_in);
|
80 |
+
}
|
81 |
+
|
82 |
+
- std::streamsize decode(const char* code_in, const std::streamsize length_in, char* plaintext_out)
|
83 |
+
+ LIBB64 std::streamsize decode(const char* code_in, const std::streamsize length_in, char* plaintext_out)
|
84 |
+
{
|
85 |
+
return base64_decode_block(code_in, static_cast<int>(length_in), plaintext_out, &_state);
|
86 |
+
}
|
87 |
+
|
88 |
+
- void decode(std::istream& istream_in, std::ostream& ostream_in)
|
89 |
+
+ LIBB64 void decode(std::istream& istream_in, std::ostream& ostream_in)
|
90 |
+
{
|
91 |
+
base64_init_decodestate(&_state);
|
92 |
+
//
|
93 |
+
diff --git a/include/b64/encode.h b/include/b64/encode.h
|
94 |
+
index c1a5f88..ff2c9b4 100644
|
95 |
+
--- a/include/b64/encode.h
|
96 |
+
+++ b/include/b64/encode.h
|
97 |
+
@@ -22,28 +22,28 @@ namespace base64
|
98 |
+
base64_encodestate _state;
|
99 |
+
int _buffersize;
|
100 |
+
|
101 |
+
- encoder(int buffersize_in = BUFFERSIZE)
|
102 |
+
+ LIBB64 encoder(int buffersize_in = BUFFERSIZE)
|
103 |
+
: _buffersize(buffersize_in)
|
104 |
+
{
|
105 |
+
base64_init_encodestate(&_state);
|
106 |
+
}
|
107 |
+
|
108 |
+
- int encode(char value_in)
|
109 |
+
+ LIBB64 int encode(char value_in)
|
110 |
+
{
|
111 |
+
return base64_encode_value(value_in);
|
112 |
+
}
|
113 |
+
|
114 |
+
- std::streamsize encode(const char* code_in, const std::streamsize length_in, char* plaintext_out)
|
115 |
+
+ LIBB64 std::streamsize encode(const char* code_in, const std::streamsize length_in, char* plaintext_out)
|
116 |
+
{
|
117 |
+
return base64_encode_block(code_in, static_cast<int>(length_in), plaintext_out, &_state);
|
118 |
+
}
|
119 |
+
|
120 |
+
- int encode_end(char* plaintext_out)
|
121 |
+
+ LIBB64 int encode_end(char* plaintext_out)
|
122 |
+
{
|
123 |
+
return base64_encode_blockend(plaintext_out, &_state);
|
124 |
+
}
|
125 |
+
|
126 |
+
- void encode(std::istream& istream_in, std::ostream& ostream_in)
|
127 |
+
+ LIBB64 void encode(std::istream& istream_in, std::ostream& ostream_in)
|
128 |
+
{
|
129 |
+
base64_init_encodestate(&_state);
|
130 |
+
//
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/basisu/fix-addostream.patch
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/encoder/basisu_enc.h b/src/encoder/basisu_enc.h
|
2 |
+
index 05656da..468f43b 100644
|
3 |
+
--- a/src/encoder/basisu_enc.h
|
4 |
+
+++ b/src/encoder/basisu_enc.h
|
5 |
+
@@ -22,6 +22,7 @@
|
6 |
+
#include <functional>
|
7 |
+
#include <thread>
|
8 |
+
#include <unordered_map>
|
9 |
+
+#include <ostream>
|
10 |
+
|
11 |
+
#ifndef _WIN32
|
12 |
+
#include <libgen.h>
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/basisu/portfile.cmake
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO jherico/basis_universal
|
4 |
+
REF 497875f756ed0e3eb62e0ff08d55c62242f4be74
|
5 |
+
SHA512 2293b78620a7ed510dbecf48bcae5f4b8524fe9020f864c8e79cf94ea9d95d51dddf83a5b4ea29cc95db19f87137bfef1cb68b7fbc6387e08bb42898d81c9303
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES fix-addostream.patch
|
8 |
+
)
|
9 |
+
|
10 |
+
vcpkg_configure_cmake(
|
11 |
+
SOURCE_PATH ${SOURCE_PATH}
|
12 |
+
PREFER_NINJA
|
13 |
+
OPTIONS
|
14 |
+
-DBUILD_TESTS=OFF
|
15 |
+
)
|
16 |
+
|
17 |
+
vcpkg_install_cmake()
|
18 |
+
|
19 |
+
#vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/basisu)
|
20 |
+
if (WIN32)
|
21 |
+
set(TOOL_NAME basisu_tool.exe)
|
22 |
+
else()
|
23 |
+
set(TOOL_NAME basisu_tool)
|
24 |
+
endif()
|
25 |
+
|
26 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
27 |
+
file(COPY ${CURRENT_PACKAGES_DIR}/bin/${TOOL_NAME} DESTINATION ${CURRENT_PACKAGES_DIR}/tools/basisu)
|
28 |
+
|
29 |
+
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/basisu)
|
30 |
+
|
31 |
+
# Remove unnecessary files
|
32 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
33 |
+
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/${TOOL_NAME})
|
34 |
+
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/${TOOL_NAME})
|
35 |
+
|
36 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
37 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
38 |
+
endif()
|
39 |
+
|
40 |
+
vcpkg_copy_pdbs()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/basisu/vcpkg.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "basisu",
|
3 |
+
"version-string": "1.11",
|
4 |
+
"port-version": 5,
|
5 |
+
"description": "Basis Universal is a supercompressed GPU texture and video compression format that outputs a highly compressed intermediate file format (.basis) that can be quickly transcoded to a wide variety of GPU texture compression formats.",
|
6 |
+
"homepage": "https://github.com/BinomialLLC/basis_universal",
|
7 |
+
"dependencies": [
|
8 |
+
"lodepng"
|
9 |
+
]
|
10 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bcg729/disable-alt-packaging.patch
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index 69dbaef..695f4d0 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -125,5 +125,4 @@ install(FILES
|
6 |
+
DESTINATION ${CONFIG_PACKAGE_LOCATION}
|
7 |
+
)
|
8 |
+
|
9 |
+
-add_subdirectory(build)
|
10 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bcg729/portfile.cmake
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO BelledonneCommunications/bcg729
|
4 |
+
REF 1.1.1
|
5 |
+
SHA512 e8cc4b7486a9a29fb729ab9fd9e3c4a2155573f38cec16f5a53db3b416fc1119ea5f5a61243a8d37cb0b64580c5df1b632ff165dc7ff47421fa567dafffaacd8
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
disable-alt-packaging.patch
|
9 |
+
)
|
10 |
+
|
11 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" ENABLE_STATIC)
|
12 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ENABLE_SHARED)
|
13 |
+
|
14 |
+
vcpkg_cmake_configure(
|
15 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
16 |
+
OPTIONS
|
17 |
+
-DENABLE_STATIC=${ENABLE_STATIC}
|
18 |
+
-DENABLE_SHARED=${ENABLE_SHARED}
|
19 |
+
)
|
20 |
+
|
21 |
+
vcpkg_cmake_install()
|
22 |
+
|
23 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME Bcg729)
|
24 |
+
file(GLOB cmake_files "${CURRENT_PACKAGES_DIR}/share/Bcg729/cmake/*.cmake")
|
25 |
+
file(COPY ${cmake_files} DESTINATION "${CURRENT_PACKAGES_DIR}/share/bcg729")
|
26 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/Bcg729/cmake")
|
27 |
+
file(GLOB_RECURSE remaining_files "${CURRENT_PACKAGES_DIR}/share/Bcg729/*")
|
28 |
+
if(NOT remaining_files)
|
29 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/Bcg729")
|
30 |
+
endif()
|
31 |
+
|
32 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
33 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
34 |
+
|
35 |
+
vcpkg_fixup_pkgconfig()
|
36 |
+
|
37 |
+
file(READ "${SOURCE_PATH}/LICENSE.txt" GPL3)
|
38 |
+
file(WRITE "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" [[
|
39 |
+
bcg729 is dual licensed, and is available either:
|
40 |
+
- under a GNU/GPLv3 license, for free (open source). See below.
|
41 |
+
- under a proprietary license, for a fee, to be used in closed source applications.
|
42 |
+
Contact Belledonne Communications (https://www.linphone.org/contact)
|
43 |
+
for any question about costs and services.
|
44 |
+
|
45 |
+
|
46 |
+
]] ${GPL3})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bcg729/vcpkg.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "bcg729",
|
3 |
+
"version": "1.1.1",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": "Bcg729 is an open source implementation of the ITU G.729 Annex A and B codec.",
|
6 |
+
"homepage": "https://github.com/BelledonneCommunications/bcg729",
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "vcpkg-cmake",
|
10 |
+
"host": true
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"name": "vcpkg-cmake-config",
|
14 |
+
"host": true
|
15 |
+
}
|
16 |
+
]
|
17 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bddisasm/portfile.cmake
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO bitdefender/bddisasm
|
6 |
+
REF v1.34.7
|
7 |
+
SHA512 e4bd0895b285030f0aba4d5666a5da66cee6e1766e68a9527d1c2ca6160690270d55819ab8f6357b0f61fd52fb13b87ca7c15ee5694185564cc9bb55b62eb9ff
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
vcpkg_cmake_configure(
|
12 |
+
SOURCE_PATH ${SOURCE_PATH}
|
13 |
+
OPTIONS
|
14 |
+
-DBDD_INCLUDE_TOOL=OFF
|
15 |
+
)
|
16 |
+
|
17 |
+
vcpkg_cmake_install()
|
18 |
+
|
19 |
+
file(INSTALL
|
20 |
+
${SOURCE_PATH}/LICENSE
|
21 |
+
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
|
22 |
+
RENAME copyright
|
23 |
+
)
|
24 |
+
|
25 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/bddisasm)
|
26 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
27 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
28 |
+
|
29 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
30 |
+
|
31 |
+
vcpkg_fixup_pkgconfig()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bddisasm/vcpkg.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "bddisasm",
|
3 |
+
"version": "1.34.7",
|
4 |
+
"port-version": 1,
|
5 |
+
"maintainers": "Cristi Anichitei <[email protected]>",
|
6 |
+
"description": "bddisasm is a fast, lightweight, x86/x64 instruction decoder and emulator.",
|
7 |
+
"homepage": "https://github.com/bitdefender/bddisasm",
|
8 |
+
"documentation": "https://bddisasm.readthedocs.io/en/latest/",
|
9 |
+
"license": "Apache-2.0",
|
10 |
+
"supports": "!arm",
|
11 |
+
"dependencies": [
|
12 |
+
{
|
13 |
+
"name": "vcpkg-cmake",
|
14 |
+
"host": true
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "vcpkg-cmake-config",
|
18 |
+
"host": true
|
19 |
+
}
|
20 |
+
]
|
21 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bde/portfile.cmake
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --library-type=static)
|
3 |
+
|
4 |
+
set(BDE_VERSION 3.2.0.0)
|
5 |
+
set(BDE_TOOLS_VERSION 1.x)
|
6 |
+
|
7 |
+
# Paths used in build
|
8 |
+
set(SOURCE_PATH_DEBUG ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/bde-${BDE_VERSION})
|
9 |
+
set(SOURCE_PATH_RELEASE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/bde-${BDE_VERSION})
|
10 |
+
|
11 |
+
# Acquire Python 2 and add it to PATH
|
12 |
+
vcpkg_find_acquire_program(PYTHON2)
|
13 |
+
get_filename_component(PYTHON2_EXE_PATH ${PYTHON2} DIRECTORY)
|
14 |
+
|
15 |
+
# Acquire BDE Tools and add them to PATH
|
16 |
+
vcpkg_from_github(
|
17 |
+
OUT_SOURCE_PATH TOOLS_PATH
|
18 |
+
REPO "bloomberg/bde-tools"
|
19 |
+
REF d4b1a7670829228f4ec81ecdccc598ce03ae8e80
|
20 |
+
SHA512 80af734c080adb225d5369157301ae0af18e02b1912351e34d23f5f2ba4e19f9ae2b5a367923f036330c9f9afd11a90cdf12680eb3e59b4297a312a1b713f17f
|
21 |
+
HEAD_REF master
|
22 |
+
)
|
23 |
+
message(STATUS "Configure bde-tools-v${BDE_TOOLS_VERSION}")
|
24 |
+
if(VCPKG_CMAKE_SYSTEM_NAME)
|
25 |
+
set(ENV{PATH} "$ENV{PATH}:${PYTHON2_EXE_PATH}")
|
26 |
+
set(ENV{PATH} "$ENV{PATH}:${TOOLS_PATH}/bin")
|
27 |
+
else()
|
28 |
+
set(ENV{PATH} "$ENV{PATH};${PYTHON2_EXE_PATH}")
|
29 |
+
set(ENV{PATH} "$ENV{PATH};${TOOLS_PATH}/bin")
|
30 |
+
endif()
|
31 |
+
|
32 |
+
# Acquire BDE sources
|
33 |
+
vcpkg_from_github(
|
34 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
35 |
+
REPO "bloomberg/bde"
|
36 |
+
REF 3720d132d0879f19b9084cca62ebc75f1f24e1a3
|
37 |
+
SHA512 234ebb71997f5b7d3951584235ead10f977689cef323ae1c198629a6b1995b1481d8a1515d827c46df10209bdc66e1f3cc7780dafee9ca0ff4172be47c460d78
|
38 |
+
HEAD_REF master
|
39 |
+
)
|
40 |
+
|
41 |
+
# Clean up previous builds
|
42 |
+
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel
|
43 |
+
${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg)
|
44 |
+
|
45 |
+
# Identify waf executable and calculate configure args
|
46 |
+
if(VCPKG_CMAKE_SYSTEM_NAME)
|
47 |
+
set(WAF_COMMAND waf)
|
48 |
+
else()
|
49 |
+
set(WAF_COMMAND waf.bat)
|
50 |
+
endif()
|
51 |
+
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --use-flat-include-dir)
|
52 |
+
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
|
53 |
+
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --abi-bits=32)
|
54 |
+
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
55 |
+
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --abi-bits=64)
|
56 |
+
else()
|
57 |
+
message(FATAL_ERROR "Unsupported target architecture: ${VCPKG_TARGET_ARCHITECTURE}")
|
58 |
+
endif()
|
59 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
60 |
+
set(CONFIGURE_COMMON_ARGS ${CONFIGURE_COMMON_ARGS} --msvc-runtime-type=static)
|
61 |
+
else()
|
62 |
+
set(ENV{CFLAGS} "$ENV{CFLAGS} -Wno-error=implicit-function-declaration")
|
63 |
+
endif()
|
64 |
+
|
65 |
+
# Configure debug
|
66 |
+
message(STATUS "Configuring ${TARGET_TRIPLET}-dbg")
|
67 |
+
vcpkg_execute_required_process(
|
68 |
+
COMMAND ${WAF_COMMAND} configure ${CONFIGURE_COMMON_ARGS}
|
69 |
+
--prefix=${CURRENT_PACKAGES_DIR}/debug --out=${SOURCE_PATH_DEBUG}
|
70 |
+
--build-type=debug
|
71 |
+
WORKING_DIRECTORY ${SOURCE_PATH}
|
72 |
+
LOGNAME configure-${TARGET_TRIPLET}--dbg
|
73 |
+
)
|
74 |
+
message(STATUS "Configuring ${TARGET_TRIPLET}-dbg done")
|
75 |
+
|
76 |
+
# Build debug
|
77 |
+
message(STATUS "Building ${TARGET_TRIPLET}-dbg")
|
78 |
+
vcpkg_execute_required_process(
|
79 |
+
COMMAND ${WAF_COMMAND} build
|
80 |
+
WORKING_DIRECTORY ${SOURCE_PATH}
|
81 |
+
LOGNAME build-${TARGET_TRIPLET}--dbg
|
82 |
+
)
|
83 |
+
message(STATUS "Building ${TARGET_TRIPLET}-dbg done")
|
84 |
+
|
85 |
+
# Install debug
|
86 |
+
message(STATUS "Installing ${TARGET_TRIPLET}-dbg")
|
87 |
+
vcpkg_execute_required_process(
|
88 |
+
COMMAND ${WAF_COMMAND} install
|
89 |
+
WORKING_DIRECTORY ${SOURCE_PATH}
|
90 |
+
LOGNAME install-${TARGET_TRIPLET}--dbg
|
91 |
+
)
|
92 |
+
# Include files should not be duplicated
|
93 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
94 |
+
# pkg-config files should point to correct include directory
|
95 |
+
file(GLOB PC_FILES "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/*.pc")
|
96 |
+
foreach(PC_FILE_NAME ${PC_FILES})
|
97 |
+
file(READ "${PC_FILE_NAME}" _contents)
|
98 |
+
string(REPLACE "includedir=\${prefix}/include" "includedir=\${prefix}/../include" _contents "${_contents}")
|
99 |
+
file(WRITE "${PC_FILE_NAME}" "${_contents}")
|
100 |
+
endforeach()
|
101 |
+
message(STATUS "Installing ${TARGET_TRIPLET}-dbg done")
|
102 |
+
|
103 |
+
# Configure release
|
104 |
+
message(STATUS "Configuring ${TARGET_TRIPLET}-rel")
|
105 |
+
vcpkg_execute_required_process(
|
106 |
+
COMMAND ${WAF_COMMAND} configure ${CONFIGURE_COMMON_ARGS}
|
107 |
+
--prefix=${CURRENT_PACKAGES_DIR} --out=${SOURCE_PATH_RELEASE}
|
108 |
+
--build-type=release
|
109 |
+
WORKING_DIRECTORY ${SOURCE_PATH}
|
110 |
+
LOGNAME configure-${TARGET_TRIPLET}--rel
|
111 |
+
)
|
112 |
+
message(STATUS "Configuring ${TARGET_TRIPLET}-rel done")
|
113 |
+
|
114 |
+
# Build release
|
115 |
+
message(STATUS "Building ${TARGET_TRIPLET}-rel")
|
116 |
+
vcpkg_execute_required_process(
|
117 |
+
COMMAND ${WAF_COMMAND} build
|
118 |
+
WORKING_DIRECTORY ${SOURCE_PATH}
|
119 |
+
LOGNAME build-${TARGET_TRIPLET}--rel
|
120 |
+
)
|
121 |
+
message(STATUS "Building ${TARGET_TRIPLET}-rel done")
|
122 |
+
|
123 |
+
# Install release
|
124 |
+
message(STATUS "Installing ${TARGET_TRIPLET}-rel")
|
125 |
+
vcpkg_execute_required_process(
|
126 |
+
COMMAND ${WAF_COMMAND} install
|
127 |
+
WORKING_DIRECTORY ${SOURCE_PATH}
|
128 |
+
LOGNAME install-${TARGET_TRIPLET}--rel
|
129 |
+
)
|
130 |
+
message(STATUS "Installing ${TARGET_TRIPLET}-rel done")
|
131 |
+
|
132 |
+
# Handle copyright
|
133 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE
|
134 |
+
DESTINATION ${CURRENT_PACKAGES_DIR}/share/bde
|
135 |
+
RENAME copyright
|
136 |
+
)
|
137 |
+
|
138 |
+
vcpkg_fixup_pkgconfig()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bde/vcpkg.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "bde",
|
3 |
+
"version": "3.2.0.0",
|
4 |
+
"port-version": 5,
|
5 |
+
"description": "Basic Development Environment - a set of foundational C++ libraries used at Bloomberg.",
|
6 |
+
"supports": "!windows & !arm"
|
7 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bdwgc/portfile.cmake
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO ivmai/bdwgc
|
4 |
+
REF 5fab1a01931a1a6934ccf1d5eaa1e51f0a8dac4d # v8.2.0-20211115
|
5 |
+
SHA512 b1a97aad10df33bb242985eb48f1bb2d3082d88f26c34014efce3d0f233bcd18a0f43f1bd960600ad9e22bcb19ebf04e573c74dfc1abfb771aa6b8525053c14b
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_cmake_configure(
|
10 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
11 |
+
OPTIONS
|
12 |
+
-Denable_cplusplus=ON
|
13 |
+
-Denable_docs=OFF
|
14 |
+
-DCFLAGS_EXTRA=-I${CURRENT_INSTALLED_DIR}/include # for libatomic_ops
|
15 |
+
OPTIONS_DEBUG
|
16 |
+
-Dinstall_headers=OFF
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_cmake_install()
|
20 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/bdwgc)
|
21 |
+
vcpkg_copy_pdbs()
|
22 |
+
|
23 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
24 |
+
|
25 |
+
vcpkg_fixup_pkgconfig()
|
26 |
+
|
27 |
+
file(INSTALL "${SOURCE_PATH}/README.QUICK" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bdwgc/vcpkg.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "bdwgc",
|
3 |
+
"version": "8.2.0",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": "The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (libgc, bdwgc, boehm-gc)",
|
6 |
+
"homepage": "http://www.hboehm.info/gc/",
|
7 |
+
"dependencies": [
|
8 |
+
"libatomic-ops",
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "vcpkg-cmake-config",
|
15 |
+
"host": true
|
16 |
+
}
|
17 |
+
]
|
18 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/beast/portfile.cmake
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/beast/vcpkg.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "beast",
|
3 |
+
"version-string": "0",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "HTTP/1 and WebSocket, header-only using Boost.Asio and C++11",
|
6 |
+
"homepage": "https://www.boost.org/doc/libs/release/libs/beast/",
|
7 |
+
"dependencies": [
|
8 |
+
"boost-beast"
|
9 |
+
]
|
10 |
+
}
|