Skip to content

Commit a49f990

Browse files
authored
Release: v0.2.1
2 parents 6df1f18 + 1b22825 commit a49f990

File tree

19 files changed

+43
-57
lines changed

19 files changed

+43
-57
lines changed

.github/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ RUN pip install --break-system-packages gcovr
8282
# --- Transport should be always at the very end as it changes most often
8383
ARG DEPS_TRANSPORT_V
8484
RUN cd /deps \
85-
&& dir="firebolt-native-transport-${DEPS_TRANSPORT_V}" \
86-
&& i=0 && while ! curl -sL https://github.com/rdkcentral/firebolt-native-transport/releases/download/v${DEPS_TRANSPORT_V}/firebolt-native-transport-${DEPS_TRANSPORT_V}.tar.gz | tar xzf - ; do test "$i" -eq 5 && exit 1; i=$((i+1)); sleep 1; done \
85+
&& dir="firebolt-cpp-transport-${DEPS_TRANSPORT_V}" \
86+
&& i=0 && while ! curl -sL https://github.com/rdkcentral/firebolt-cpp-transport/releases/download/v${DEPS_TRANSPORT_V}/firebolt-cpp-transport-${DEPS_TRANSPORT_V}.tar.gz | tar xzf - ; do test "$i" -eq 5 && exit 1; i=$((i+1)); sleep 1; done \
8787
&& cmake -B "build/$dir" \
8888
-DCMAKE_BUILD_TYPE=Release \
8989
-DBUILD_SHARED_LIBS=ON \

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
build/
3+
build-*/

.transport.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0-next.23
1+
1.0.0-next.25

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 0.2.1 (https://github.com/rdkcentral/firebolt-cpp-client/compare/v0.2.0...v0.2.1) (2025-12-17)
2+
3+
### Bug Fixes
4+
5+
* Align naming convention
6+
* Transport v1.0.0-next.25
7+
18
# 0.2.0 (https://github.com/rdkcentral/firebolt-cpp-client/compare/v0.1.0...v0.2.0) (2025-12-16)
29

310
### Features

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if(EXISTS "${CMAKE_SOURCE_DIR}/.transport.version")
5353
file(READ "${CMAKE_SOURCE_DIR}/.transport.version" FIREBOLT_TRANSPORT_VERSION)
5454
string(STRIP ${FIREBOLT_TRANSPORT_VERSION} FIREBOLT_TRANSPORT_VERSION)
5555
else()
56-
message(FATAL_ERROR "Could not determine firebolt-native-transport version from .transport.version")
56+
message(FATAL_ERROR "Could not determine firebolt-cpp-transport version from .transport.version")
5757
endif()
5858

5959
set(VERSION ${PROJECT_VERSION})
@@ -97,7 +97,8 @@ if(NOT FireboltTransport_VERSION STREQUAL FIREBOLT_TRANSPORT_VERSION)
9797
" Expected '${FIREBOLT_TRANSPORT_VERSION}' but found '${FireboltTransport_VERSION}'.")
9898
FetchContent_Declare(
9999
FireboltTransport
100-
URL "https://github.com/rdkcentral/firebolt-native-transport/releases/download/v${FIREBOLT_TRANSPORT_VERSION}/firebolt-native-transport-${FIREBOLT_TRANSPORT_VERSION}.tar.gz"
100+
URL "https://github.com/rdkcentral/firebolt-cpp-transport/releases/download/v${FIREBOLT_TRANSPORT_VERSION}/firebolt-cpp-transport-${FIREBOLT_TRANSPORT_VERSION}.tar.gz"
101+
URL_HASH "SHA256=a155b95dfab28928bed4a38430c21d7551185bf187d806016c471f53fa10e6e7"
101102
DOWNLOAD_EXTRACT_TIMESTAMP true
102103
)
103104
set(ENABLE_TESTS_ORIG ${ENABLE_TESTS})

build.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@ bdir="build"
66
do_install=false
77
params=
88
buildType="Debug"
9+
cleanFirst=false
910

1011
while [[ ! -z $1 ]]; do
1112
case $1 in
12-
--clean) rm -rf $bdir;;
13-
--release) buildTarget="Release";;
13+
--clean) cleanFirst=true;;
14+
--release) buildType="Release";;
1415
--sysroot) SYSROOT_PATH="$2"; shift;;
1516
-i | --install) do_install=true;;
16-
+tests) params+=" -DENABLE_TESTS=ON";;
17+
+tests) params+=" -DENABLE_TESTS=ON"; bdir="build-dev";;
1718
+demo) params+=" -DENABLE_DEMO_APP=ON";;
1819
+gen-cov)
1920
set -e
20-
cd build
21+
cd build-dev
2122
cp ../firebolt-open-rpc.json ./test/
2223
ctest --test-dir ./test
2324
mkdir -p coverage
@@ -37,15 +38,16 @@ done
3738
[[ ! -z $SYSROOT_PATH ]] || { echo "SYSROOT_PATH not set" >/dev/stderr; exit 1; }
3839
[[ -e $SYSROOT_PATH ]] || { echo "SYSROOT_PATH not exist ($SYSROOT_PATH)" >/dev/stderr; exit 1; }
3940

41+
$cleanFirst && rm -rf $bdir
42+
4043
if [[ ! -e $bdir ]]; then
4144
cmake -B $bdir \
4245
-DCMAKE_BUILD_TYPE=$buildType \
4346
-DSYSROOT_PATH=$SYSROOT_PATH \
4447
$params \
45-
"$@"
48+
"$@" || exit $?
4649
fi
4750
cmake --build $bdir --parallel || exit $?
48-
if $do_install; then
51+
if $do_install && [[ $bdir == 'build' ]]; then
4952
cmake --install $bdir || exit $?
5053
fi
51-

include/firebolt/accessibility.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
#include <firebolt/types.h>
2323
#include <functional>
24-
#include <optional>
2524
#include <string>
2625
#include <vector>
2726

@@ -92,7 +91,7 @@ class IAccessibility
9291
* @brief Remove subscriber from subscribers list. This method is generic for
9392
* all subscriptions
9493
*
95-
* @param[in] id : The subscription id
94+
* @param[in] id : The subscription id
9695
*
9796
* @retval The status
9897
*/

include/firebolt/advertising.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
#pragma once
2121

2222
#include <firebolt/types.h>
23-
#include <functional>
2423
#include <string>
25-
#include <vector>
2624

2725
namespace Firebolt::Advertising
2826
{

include/firebolt/device.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@
2020
#pragma once
2121

2222
#include <firebolt/types.h>
23-
#include <functional>
24-
#include <optional>
2523
#include <string>
26-
#include <vector>
2724

2825
namespace Firebolt::Device
2926
{

include/firebolt/display.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
#pragma once
2121

2222
#include <firebolt/types.h>
23-
#include <functional>
24-
#include <optional>
25-
#include <string>
26-
#include <vector>
2723

2824
namespace Firebolt::Display
2925
{

0 commit comments

Comments
 (0)