Skip to content

Commit 5866061

Browse files
authoredFeb 2, 2024··
Merge pull request #366 from lo-simon/bump-dependencies
Bump dependencies
2 parents 85d5443 + 4bfe150 commit 5866061

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed
 

‎.github/workflows/build-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ jobs:
262262
libssl-dev
263263
264264
cd ${{ env.RUNNER_WORKSPACE }}
265-
git clone --recurse-submodules --branch v2.10.18 https://github.com/Microsoft/cpprestsdk
265+
git clone --recurse-submodules --branch v2.10.19 https://github.com/Microsoft/cpprestsdk
266266
cd cpprestsdk/Release
267267
mkdir build
268268
cd build
@@ -801,7 +801,7 @@ jobs:
801801
libssl-dev
802802
803803
cd ${{ env.RUNNER_WORKSPACE }}
804-
git clone --recurse-submodules --branch v2.10.18 https://github.com/Microsoft/cpprestsdk
804+
git clone --recurse-submodules --branch v2.10.19 https://github.com/Microsoft/cpprestsdk
805805
cd cpprestsdk/Release
806806
mkdir build
807807
cd build

‎.github/workflows/src/build-setup.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
libssl-dev
143143
144144
cd ${{ env.RUNNER_WORKSPACE }}
145-
git clone --recurse-submodules --branch v2.10.18 https://github.com/Microsoft/cpprestsdk
145+
git clone --recurse-submodules --branch v2.10.19 https://github.com/Microsoft/cpprestsdk
146146
cd cpprestsdk/Release
147147
mkdir build
148148
cd build

‎Development/cmake/NmosCppDependencies.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Boost
22

33
set(BOOST_VERSION_MIN "1.54.0")
4-
set(BOOST_VERSION_CUR "1.80.0")
4+
set(BOOST_VERSION_CUR "1.83.0")
55
# note: 1.57.0 doesn't work due to https://svn.boost.org/trac10/ticket/10754
66
# note: some components are only required for one platform or other
77
# so find_package(Boost) is called after adding those components
@@ -95,7 +95,7 @@ add_library(nmos-cpp::Boost ALIAS Boost)
9595

9696
# note: 2.10.16 or higher is recommended (which is the first version with cpprestsdk-configVersion.cmake)
9797
set(CPPRESTSDK_VERSION_MIN "2.10.11")
98-
set(CPPRESTSDK_VERSION_CUR "2.10.18")
98+
set(CPPRESTSDK_VERSION_CUR "2.10.19")
9999
find_package(cpprestsdk REQUIRED)
100100
if(NOT cpprestsdk_VERSION)
101101
message(STATUS "Found cpprestsdk unknown version; minimum version: " ${CPPRESTSDK_VERSION_MIN})

‎Development/conanfile.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[requires]
2-
boost/1.80.0
3-
cpprestsdk/2.10.18
2+
boost/1.83.0
3+
cpprestsdk/2.10.19
44
websocketpp/0.8.2
55
openssl/1.1.1s
66
json-schema-validator/2.3.0

‎Development/nmos/client_utils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ namespace nmos
127127
}
128128

129129
#ifdef CPPRESTSDK_ENABLE_BIND_WEBSOCKET_CLIENT
130-
// The current version of the C++ REST SDK 2.10.18 does not provide the callback to enable the custom websocket setting
130+
// The current version of the C++ REST SDK 2.10.19 does not provide the callback to enable the custom websocket setting
131131
inline std::function<void(web::websockets::client::native_handle)> make_ws_client_nativehandle_options(bool secure, const utility::string_t& client_address, slog::base_gate& gate)
132132
{
133133
if (client_address.empty()) return {};

‎Development/nmos/settings.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ namespace nmos
107107
// pri [registry, node]: used for the 'pri' TXT record; specifying nmos::service_priorities::no_priority (maximum value) disables advertisement completely
108108
const web::json::field_as_integer_or pri{ U("pri"), 100 }; // default to highest_development_priority
109109

110-
// highest_pri, lowest_pri [registry, node]: used to specify the (inclusive) range of suitable 'pri' values of discovered APIs, to avoid development and live systems colliding
110+
// highest_pri, lowest_pri [node]: used to specify the (inclusive) range of suitable 'pri' values of discovered APIs, to avoid development and live systems colliding
111111
const web::json::field_as_integer_or highest_pri{ U("highest_pri"), 0 }; // default to highest_active_priority; specifying no_priority disables discovery completely
112112
const web::json::field_as_integer_or lowest_pri{ U("lowest_pri"), (std::numeric_limits<int>::max)() }; // default to no_priority
113113

‎Documents/Dependencies.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ If using Conan, this section can be skipped.
8080

8181
1. Download a [recent release](http://www.boost.org/users/download/)
8282
Notes:
83-
- Several Boost releases have been tested, including Version 1.80.0 (latest release at the time) and Version 1.54.0
83+
- Several Boost releases have been tested, including Version 1.83.0 (latest release at the time) and Version 1.54.0
8484
- On Linux distributions, a Boost libraries package may already be installed, e.g. Ubuntu 14.04 LTS has Version 1.54.0
85-
2. Expand the archive so that, for example, the boost\_1\_80\_0 directory is at the same level as the nmos-cpp directory
85+
2. Expand the archive so that, for example, the boost\_1\_83\_0 directory is at the same level as the nmos-cpp directory
8686
3. Build and stage (or install) the following Boost libraries for your platform/toolset:
8787
- atomic
8888
- chrono
@@ -133,11 +133,11 @@ If using Conan, this section can be skipped.
133133
<summary>If not using Conan...</summary>
134134

135135
1. Get the source code
136-
- Clone the [repo](https://github.com/Microsoft/cpprestsdk/) and its submodules, and check out the v2.10.18 tag
136+
- Clone the [repo](https://github.com/Microsoft/cpprestsdk/) and its submodules, and check out the v2.10.19 tag
137137
The ``git clone`` command option ``--recurse-submodules`` (formerly ``--recursive``) simplifies [cloning a project with submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules#_cloning_submodules).
138138
For example:
139139
```
140-
git clone --recurse-submodules --branch v2.10.18 https://github.com/Microsoft/cpprestsdk <home-dir>/cpprestsdk
140+
git clone --recurse-submodules --branch v2.10.19 https://github.com/Microsoft/cpprestsdk <home-dir>/cpprestsdk
141141
```
142142
Note: The downloadable archives created by GitHub cannot be used on their own since they don't include submodules.
143143
2. Use CMake to configure for your platform

0 commit comments

Comments
 (0)
Please sign in to comment.