All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/paho-mqtt-cpp: bump version to 1.2.0
@ 2021-08-03  6:29 Lang Daniel
  2021-08-04 20:16 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Lang Daniel @ 2021-08-03  6:29 UTC (permalink / raw)
  To: buildroot; +Cc: tuzakli.refik

"This release brings in some missing MQTT v5 features, support for
websocket headers and proxies, ALPN protocol lists, adds the builder
pattern for options, and fixes a number of bugs in both the C++ library
and the underlying C lib."

https://github.com/eclipse/paho.mqtt.cpp/releases/tag/v1.2.0

This also makes the patch obsolete, since these changes have been merged upstream.

Signed-off-by: Daniel Lang <d.lang@abatec.at>
---
 DEVELOPERS                                    |  3 ++
 ...FindMahoMqttC.cmake-fix-static-build.patch | 35 -------------------
 package/paho-mqtt-cpp/paho-mqtt-cpp.hash      |  2 +-
 package/paho-mqtt-cpp/paho-mqtt-cpp.mk        |  2 +-
 4 files changed, 5 insertions(+), 37 deletions(-)
 delete mode 100644 package/paho-mqtt-cpp/0001-cmake-FindMahoMqttC.cmake-fix-static-build.patch

diff --git a/DEVELOPERS b/DEVELOPERS
index 1547ff123b..2c53575542 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2910,3 +2910,6 @@ F:        package/qjson/
 F:     package/quazip/
 F:     package/shapelib/
 F:     package/tinc/
+
+N:     Daniel Lang <d.lang@abatec.at>
+F:     package/paho-mqtt-cpp/
diff --git a/package/paho-mqtt-cpp/0001-cmake-FindMahoMqttC.cmake-fix-static-build.patch b/package/paho-mqtt-cpp/0001-cmake-FindMahoMqttC.cmake-fix-static-build.patch
deleted file mode 100644
index 934dca219e..0000000000
--- a/package/paho-mqtt-cpp/0001-cmake-FindMahoMqttC.cmake-fix-static-build.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 8aeafa1c2ec90b0e95ba5944266eda115457e10d Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Mon, 15 Jun 2020 13:40:22 +0200
-Subject: [PATCH] cmake/FindMahoMqttC.cmake: fix static build
-
-Static libraries of paho-mqtt-c are not suffixed with -static since
-version 1.3.2 and
-https://github.com/eclipse/paho.mqtt.c/commit/8cc51c78b76a1eabd1df3124b0887ce8b01070ff
-
-See: https://github.com/eclipse/paho.mqtt.c/pull/704
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Upstream status: https://github.com/eclipse/paho.mqtt.cpp/pull/275]
----
- cmake/FindPahoMqttC.cmake | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/cmake/FindPahoMqttC.cmake b/cmake/FindPahoMqttC.cmake
-index 53f15a3..0ec95bd 100644
---- a/cmake/FindPahoMqttC.cmake
-+++ b/cmake/FindPahoMqttC.cmake
-@@ -5,10 +5,6 @@ if(PAHO_WITH_SSL)
- else()
-     set(_PAHO_MQTT_C_LIB_NAME paho-mqtt3a)
- endif()
--# add suffix when using static Paho MQTT C library variant
--if(PAHO_BUILD_STATIC)
--    set(_PAHO_MQTT_C_LIB_NAME ${_PAHO_MQTT_C_LIB_NAME}-static)
--endif()
- 
- find_library(PAHO_MQTT_C_LIBRARIES NAMES ${_PAHO_MQTT_C_LIB_NAME})
- unset(_PAHO_MQTT_C_LIB_NAME)
--- 
-2.26.2
-
diff --git a/package/paho-mqtt-cpp/paho-mqtt-cpp.hash b/package/paho-mqtt-cpp/paho-mqtt-cpp.hash
index e5406e0b81..d9b86ce207 100644
--- a/package/paho-mqtt-cpp/paho-mqtt-cpp.hash
+++ b/package/paho-mqtt-cpp/paho-mqtt-cpp.hash
@@ -1,4 +1,4 @@
 # Locally computed:
-sha256  cb0343349ed91ef51d0e76ae860d19435a730d3d355e57886bb090014cb70bbe  paho-mqtt-cpp-1.1.tar.gz
+sha256  435e97e4d5b1da13daa26cadd3e83fe9d154930abaa78b8ff1b8c854b5345d8b  paho-mqtt-cpp-1.2.0.tar.gz
 sha256  83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c  edl-v10
 sha256  44277b2bec6093e4ac313afec251a4de599d24c4e768f8574d95b13a9d2d97b5  epl-v10
diff --git a/package/paho-mqtt-cpp/paho-mqtt-cpp.mk b/package/paho-mqtt-cpp/paho-mqtt-cpp.mk
index 161e53d484..827946605a 100644
--- a/package/paho-mqtt-cpp/paho-mqtt-cpp.mk
+++ b/package/paho-mqtt-cpp/paho-mqtt-cpp.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PAHO_MQTT_CPP_VERSION = 1.1
+PAHO_MQTT_CPP_VERSION = 1.2.0
 PAHO_MQTT_CPP_SITE = $(call github,eclipse,paho.mqtt.cpp,v$(PAHO_MQTT_CPP_VERSION))
 PAHO_MQTT_CPP_LICENSE = EPL-1.0 or BSD-3-Clause
 PAHO_MQTT_CPP_LICENSE_FILES = epl-v10 edl-v10
-- 
2.29.0
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/paho-mqtt-cpp: bump version to 1.2.0
  2021-08-03  6:29 [Buildroot] [PATCH 1/1] package/paho-mqtt-cpp: bump version to 1.2.0 Lang Daniel
@ 2021-08-04 20:16 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-08-04 20:16 UTC (permalink / raw)
  To: Lang Daniel; +Cc: tuzakli.refik, buildroot

On Tue, 3 Aug 2021 06:29:06 +0000
Lang Daniel <d.lang@abatec.at> wrote:

> "This release brings in some missing MQTT v5 features, support for
> websocket headers and proxies, ALPN protocol lists, adds the builder
> pattern for options, and fixes a number of bugs in both the C++ library
> and the underlying C lib."
> 
> https://github.com/eclipse/paho.mqtt.cpp/releases/tag/v1.2.0
> 
> This also makes the patch obsolete, since these changes have been merged upstream.
> 
> Signed-off-by: Daniel Lang <d.lang@abatec.at>
> ---
>  DEVELOPERS                                    |  3 ++
>  ...FindMahoMqttC.cmake-fix-static-build.patch | 35 -------------------
>  package/paho-mqtt-cpp/paho-mqtt-cpp.hash      |  2 +-
>  package/paho-mqtt-cpp/paho-mqtt-cpp.mk        |  2 +-
>  4 files changed, 5 insertions(+), 37 deletions(-)
>  delete mode 100644 package/paho-mqtt-cpp/0001-cmake-FindMahoMqttC.cmake-fix-static-build.patch

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-04 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03  6:29 [Buildroot] [PATCH 1/1] package/paho-mqtt-cpp: bump version to 1.2.0 Lang Daniel
2021-08-04 20:16 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.