diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-11-28 16:21:32 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-28 08:55:40 -0800 |
| commit | e4fa64c59618711dbf6621a66e0db5c840e7536c (patch) | |
| tree | 6b86939c0e1d1e3f0210bca24bca7e8763b8ec8c | |
| parent | 9d050771dfcc6be60d8e0c136b96b7c5620b2dfd (diff) | |
| download | meta-openembedded-e4fa64c59618711dbf6621a66e0db5c840e7536c.tar.gz | |
paho-mqtt-cpp: upgrade 1.2.0 -> 1.3.1
0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch
refreshed for 1.3.1
License-Update: Updated license to EPL-v2.0
Changelog:
============
-#462 Fix version string for version v1.3.x
-Fixed building and using library as DLL on Windows with MSVC
-Updated License to Eclipse Public License v2.0
-Updated create and connect options to better deal with MQTT protocol version
-Defaulting connect version to v5 if specified in create options.
-Added a topic_filter class to match a single filter to specific topics.
-Added a topic_matcher class to create a collection of items in a trie structure
that can contain items tied to topic filters. (Useful for queues or callbacks
per-subscription topic).
-Minor tweaks to prepare for C++20
-Support for Catch2 v3.x for unit tests (v2.x also still supported).
-Changed the sample apps to use the newer "mqtt://" schemas.
-Connect option initializers for v5 and WebSockets.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch | 26 | ||||
| -rw-r--r-- | meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.3.1.bb (renamed from meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb) | 8 |
2 files changed, 21 insertions, 13 deletions
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch index 2436b36f2d..fba9a8767f 100644 --- a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch +++ b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch | |||
| @@ -8,7 +8,7 @@ This ensures the install paths are not hardcoded. | |||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | --- | 9 | --- |
| 10 | Upstream-Status: Pending | 10 | Upstream-Status: Pending |
| 11 | 11 | --- | |
| 12 | cmake/CMakeLists.txt | 4 ++-- | 12 | cmake/CMakeLists.txt | 4 ++-- |
| 13 | src/samples/CMakeLists.txt | 4 ++-- | 13 | src/samples/CMakeLists.txt | 4 ++-- |
| 14 | 2 files changed, 4 insertions(+), 4 deletions(-) | 14 | 2 files changed, 4 insertions(+), 4 deletions(-) |
| @@ -33,19 +33,27 @@ index a9f8908..7eadc60 100644 | |||
| 33 | - DESTINATION lib/cmake/${package_name}) | 33 | - DESTINATION lib/cmake/${package_name}) |
| 34 | + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${package_name}) | 34 | + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${package_name}) |
| 35 | diff --git a/src/samples/CMakeLists.txt b/src/samples/CMakeLists.txt | 35 | diff --git a/src/samples/CMakeLists.txt b/src/samples/CMakeLists.txt |
| 36 | index 953f5dc..d26729a 100644 | 36 | index 3ca0a75..c915cd5 100644 |
| 37 | --- a/src/samples/CMakeLists.txt | 37 | --- a/src/samples/CMakeLists.txt |
| 38 | +++ b/src/samples/CMakeLists.txt | 38 | +++ b/src/samples/CMakeLists.txt |
| 39 | @@ -103,7 +103,7 @@ endif() | 39 | @@ -71,7 +71,7 @@ endforeach() |
| 40 | 40 | ||
| 41 | ## install binaries | 41 | ## install binaries |
| 42 | install(TARGETS ${INSTALL_TARGETS} EXPORT PahoMqttCppSamples | 42 | install(TARGETS ${EXECUTABLES} EXPORT PahoMqttCppSamples |
| 43 | - RUNTIME DESTINATION bin | 43 | - RUNTIME DESTINATION bin |
| 44 | - LIBRARY DESTINATION lib | 44 | + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 45 | + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | ||
| 46 | + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
| 47 | ) | 45 | ) |
| 48 | 46 | ||
| 47 | ## Build the SSL/TLS samples, if selected | ||
| 48 | @@ -89,7 +89,7 @@ if(PAHO_WITH_SSL) | ||
| 49 | endforeach() | ||
| 50 | |||
| 51 | install(TARGETS ${SSL_EXECUTABLES} EXPORT PahoMqttCppSamples | ||
| 52 | - RUNTIME DESTINATION bin | ||
| 53 | + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | ||
| 54 | ) | ||
| 55 | endif() | ||
| 56 | |||
| 49 | -- | 57 | -- |
| 50 | 2.35.1 | 58 | 2.34.1 |
| 51 | 59 | ||
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.3.1.bb index bb5aa69077..1e1e923399 100644 --- a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.2.0.bb +++ b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.3.1.bb | |||
| @@ -2,18 +2,18 @@ SUMMARY = "Paho MQTT - C++ libraries for the MQTT and MQTT-SN protocols" | |||
| 2 | DESCRIPTION = "Client implementation of open and standard messaging protocols for Machine-to-Machine (M2M) and Internet of Things (IoT)." | 2 | DESCRIPTION = "Client implementation of open and standard messaging protocols for Machine-to-Machine (M2M) and Internet of Things (IoT)." |
| 3 | HOMEPAGE = "http://www.eclipse.org/paho/" | 3 | HOMEPAGE = "http://www.eclipse.org/paho/" |
| 4 | SECTION = "console/network" | 4 | SECTION = "console/network" |
| 5 | LICENSE = "EPL-1.0 | EDL-1.0" | 5 | LICENSE = "EPL-2.0 | EDL-1.0" |
| 6 | 6 | ||
| 7 | LIC_FILES_CHKSUM = " \ | 7 | LIC_FILES_CHKSUM = " \ |
| 8 | file://src/mqtt/message.h;beginline=9;endline=18;md5=5eec304e6066523386c222963ceeb6ff \ | 8 | file://src/mqtt/message.h;beginline=9;endline=18;md5=c5ceecf5ab99d44dcfaaabdce289071b \ |
| 9 | file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \ | 9 | file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \ |
| 10 | file://epl-v10;md5=659c8e92a40b6df1d9e3dccf5ae45a08 \ | 10 | file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | SRC_URI = "git://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=master \ | 13 | SRC_URI = "git://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=master \ |
| 14 | file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch \ | 14 | file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch \ |
| 15 | " | 15 | " |
| 16 | SRCREV = "33921c8b68b351828650c36816e7ecf936764379" | 16 | SRCREV = "4691652479bb4b398c7b81bde639482b164ae6d6" |
| 17 | 17 | ||
| 18 | DEPENDS = "openssl paho-mqtt-c" | 18 | DEPENDS = "openssl paho-mqtt-c" |
| 19 | 19 | ||
