Skip to contentSkip to conversation

package/opencv4: bump to version 4.5.4

PATCH Applied Fabrice Fontaine 2 participants 2 messages Oct 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/opencv4: bump to version 4.5.4

Drop patch (already in version)

https://github.com/opencv/opencv/wiki/ChangeLog#version454

---
 ...gument-version-of-SetTotalBytesLimit.patch | 39 -------------------
 package/opencv4/opencv4.hash                  |  2 +-
 package/opencv4/opencv4.mk                    |  2 +-
 3 files changed, 2 insertions(+), 41 deletions(-)
 delete mode 100644 package/opencv4/0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch
package/opencv4/0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch deleted +0 -39
deleted file mode 100644
index d169e04ef2..0000000000
@@ -1,39 +0,0 @@
-From 9cfa84313c5833d7295fcf57be93d5d2aaadfd88 Mon Sep 17 00:00:00 2001
-From: Vincent Rabaud <[email protected]>
-Date: Sat, 10 Jul 2021 00:21:52 +0200
-Subject: [PATCH] Use the one argument version of SetTotalBytesLimit.
-
-The two argument versions has been deprecated, cf
-https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.io.coded_stream
-
-[Retrieved from:
-https://github.com/opencv/opencv/commit/9cfa84313c5833d7295fcf57be93d5d2aaadfd88]
-Signed-off-by: Fabrice Fontaine <[email protected]>
----
- modules/dnn/src/caffe/caffe_io.cpp | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/modules/dnn/src/caffe/caffe_io.cpp b/modules/dnn/src/caffe/caffe_io.cpp
-index 2fc4d84f4604..ebecf95eea3a 100644
---- a/modules/dnn/src/caffe/caffe_io.cpp
-+++ b/modules/dnn/src/caffe/caffe_io.cpp
-@@ -92,6 +92,7 @@
- #ifdef HAVE_PROTOBUF
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/io/zero_copy_stream_impl.h>
-+#include <google/protobuf/stubs/common.h>
- #include <google/protobuf/text_format.h>
- 
- #include <opencv2/core.hpp>
-@@ -1111,7 +1112,11 @@ static const int kProtoReadBytesLimit = INT_MAX;  // Max size of 2 GB minus 1 by
- 
- bool ReadProtoFromBinary(ZeroCopyInputStream* input, Message *proto) {
-     CodedInputStream coded_input(input);
-+#if GOOGLE_PROTOBUF_VERSION >= 3006000
-+    coded_input.SetTotalBytesLimit(kProtoReadBytesLimit);
-+#else
-     coded_input.SetTotalBytesLimit(kProtoReadBytesLimit, 536870912);
-+#endif
- 
-     return proto->ParseFromCodedStream(&coded_input);
- }
package/opencv4/opencv4.hash +1 -1
index b8e38d333a..791ebe3d35 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  77f616ae4bea416674d8c373984b20c8bd55e7db887fd38c6df73463a0647bab  opencv4-4.5.3.tar.gz
+sha256  c20bb83dd790fc69df9f105477e24267706715a9d3c705ca1e7f613c7b3bad3d  opencv4-4.5.4.tar.gz
 sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE
package/opencv4/opencv4.mk +1 -1
index 040fc63e4e..1859b866dd 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-OPENCV4_VERSION = 4.5.3
+OPENCV4_VERSION = 4.5.4
 OPENCV4_SITE = $(call github,opencv,opencv,$(OPENCV4_VERSION))
 OPENCV4_INSTALL_STAGING = YES
 OPENCV4_LICENSE = Apache-2.0
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · On Mon, 18 Oct 2021 18:28:02 +0200 Fabrice Fontaine…

Drop patch (already in version)

https://github.com/opencv/opencv/wiki/ChangeLog#version454

---
 ...gument-version-of-SetTotalBytesLimit.patch | 39 -------------------
 package/opencv4/opencv4.hash                  |  2 +-
 package/opencv4/opencv4.mk                    |  2 +-
 3 files changed, 2 insertions(+), 41 deletions(-)
 delete mode 100644 package/opencv4/0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot