pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel protobuf: updated to 3.11.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fad66e7438f0
branches:  trunk
changeset: 405359:fad66e7438f0
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 26 18:59:31 2019 +0000

description:
protobuf: updated to 3.11.0

Protocol Buffers v3.11.0

C++
Make serialization method naming consistent
Make proto runtime + generated code free of deprecation warnings
Moved ShutdownProtobufLibrary() to message_lite.h. For backward compatibility a declaration is still available in stubs/common.h, but users should prefer message_lite.h
Removed non-namespace macro EXPECT_OK()
Removed mathlimits.h from stubs in favor of using std::numeric_limits from C++11
Fixed bug in parser when ending on a group tag
Add a helper function to UnknownFieldSet to deal with the changing return value of message::unknown_fields()
Fix incorrect use of string_view iterators
Support direct pickling of nested messages
Skip extension tag validation for MessageSet if unknown dependencies are allowed
Updated deprecation macros to annotate deprecated code
Remove conversion warning in MapEntryFuncs::ByteSizeLong
Revert "Make shared libraries be able to link to MSVC static runtime libraries, so that VC runtime is not required."

Python
Add float_precision option in json format printer
Optionally print bytes fields as messages in unknown fields, if possible
FieldPath: fix testing IsSet on root path ''
Experimental code gen (fast import protobuf module) which only work with cpp generated code linked in

diffstat:

 devel/protobuf/Makefile                                          |   4 +-
 devel/protobuf/distinfo                                          |  11 ++---
 devel/protobuf/patches/patch-src_google_protobuf_text__format.cc |  18 ----------
 devel/py-protobuf/Makefile                                       |   4 +-
 devel/py-protobuf/distinfo                                       |  10 ++--
 5 files changed, 14 insertions(+), 33 deletions(-)

diffs (79 lines):

diff -r 87ebd690034f -r fad66e7438f0 devel/protobuf/Makefile
--- a/devel/protobuf/Makefile   Tue Nov 26 18:54:23 2019 +0000
+++ b/devel/protobuf/Makefile   Tue Nov 26 18:59:31 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2019/10/04 10:37:49 adam Exp $
+# $NetBSD: Makefile,v 1.24 2019/11/26 18:59:31 adam Exp $
 
-DISTNAME=      protobuf-cpp-3.10.0
+DISTNAME=      protobuf-cpp-3.11.0
 PKGNAME=       ${DISTNAME:S/-cpp//}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
diff -r 87ebd690034f -r fad66e7438f0 devel/protobuf/distinfo
--- a/devel/protobuf/distinfo   Tue Nov 26 18:54:23 2019 +0000
+++ b/devel/protobuf/distinfo   Tue Nov 26 18:59:31 2019 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.30 2019/10/09 08:46:22 otis Exp $
+$NetBSD: distinfo,v 1.31 2019/11/26 18:59:31 adam Exp $
 
-SHA1 (protobuf-cpp-3.10.0.tar.gz) = 01f3871186d50364e5d6cea9bb2436c0343d2e9c
-RMD160 (protobuf-cpp-3.10.0.tar.gz) = 1995e96095f922ae817b3624c00f11b2533b6a6c
-SHA512 (protobuf-cpp-3.10.0.tar.gz) = bdf2c7b658376757b1df5b79d82606d868561bb69ee6ee5025c9a16df14cce67333d97ffa3b9736c157ab6153490f7943a21fe5264e9f4e4a6f782cd014116e2
-Size (protobuf-cpp-3.10.0.tar.gz) = 4599017 bytes
+SHA1 (protobuf-cpp-3.11.0.tar.gz) = 6705f506946ef80e0b34ca38d9001707db6b4339
+RMD160 (protobuf-cpp-3.11.0.tar.gz) = 6697456109c33d11693bc11fd46f5ec3c1f24e31
+SHA512 (protobuf-cpp-3.11.0.tar.gz) = 679c6a330aba7b7a232664b5ba0dffbadd546e40d8b688e8d02612afa126aeafa146d7f645b34b8f29be05a262787921efb2e462dc1dbe1480153de82cb207af
+Size (protobuf-cpp-3.11.0.tar.gz) = 4604321 bytes
 SHA1 (patch-configure) = 22a1fc4e701b348772b3e2e4c68aad3b97032cc5
-SHA1 (patch-src_google_protobuf_text__format.cc) = b0f6007f0c74f537c9bca2950b3443e51fd91d22
 SHA1 (patch-third__party_googletest_googlemock_configure) = fe3b812e819130d87d99316144507d2454461cd1
diff -r 87ebd690034f -r fad66e7438f0 devel/protobuf/patches/patch-src_google_protobuf_text__format.cc
--- a/devel/protobuf/patches/patch-src_google_protobuf_text__format.cc  Tue Nov 26 18:54:23 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-src_google_protobuf_text__format.cc,v 1.2 2019/10/09 08:46:22 otis Exp $
-
-Fix build on NetBSD 8.1 with gcc 5.5.0.
-
-Also, pull request with upstream has been opened at:
-https://github.com/protocolbuffers/protobuf/pull/6747
-
---- src/google/protobuf/text_format.cc.orig    2019-10-03 00:08:05.000000000 +0000
-+++ src/google/protobuf/text_format.cc
-@@ -35,7 +35,7 @@
- #include <google/protobuf/text_format.h>
- 
- #include <float.h>
--#include <math.h>
-+#include <cmath>
- #include <stdio.h>
- 
- #include <algorithm>
diff -r 87ebd690034f -r fad66e7438f0 devel/py-protobuf/Makefile
--- a/devel/py-protobuf/Makefile        Tue Nov 26 18:54:23 2019 +0000
+++ b/devel/py-protobuf/Makefile        Tue Nov 26 18:59:31 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2019/10/04 11:13:39 adam Exp $
+# $NetBSD: Makefile,v 1.23 2019/11/26 18:59:31 adam Exp $
 
-DISTNAME=      protobuf-3.10.0
+DISTNAME=      protobuf-3.11.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/protobuf/}
diff -r 87ebd690034f -r fad66e7438f0 devel/py-protobuf/distinfo
--- a/devel/py-protobuf/distinfo        Tue Nov 26 18:54:23 2019 +0000
+++ b/devel/py-protobuf/distinfo        Tue Nov 26 18:59:31 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2019/10/04 11:13:39 adam Exp $
+$NetBSD: distinfo,v 1.22 2019/11/26 18:59:31 adam Exp $
 
-SHA1 (protobuf-3.10.0.tar.gz) = edd14f95db7868ce22cf5f87e550ad01026be27d
-RMD160 (protobuf-3.10.0.tar.gz) = 114d68705315fc93a4cbc3c56c575b63c44abae2
-SHA512 (protobuf-3.10.0.tar.gz) = 9a1d36ceb15b4ccfb66ad57180ab7aeff28072c99164480e6bc745e908dd19627b7c3e62598fc192a9973b05ce7bb75748d02e23461385e6b73106039895f7e7
-Size (protobuf-3.10.0.tar.gz) = 264563 bytes
+SHA1 (protobuf-3.11.0.tar.gz) = 6c5e69b53a44288af447887e1a5d66c0ad8b7d12
+RMD160 (protobuf-3.11.0.tar.gz) = fc080b298f96541462cadd37b23b81f0fb880d6a
+SHA512 (protobuf-3.11.0.tar.gz) = b8e085951e6bb00f007e6c3a868f5b61fedf644de2f279b9c4d18ed461b3f9e715e147a6d57a4cf10d7e9145909e4f4cb49a1a8587aaabec3788c5b364c32460
+Size (protobuf-3.11.0.tar.gz) = 264225 bytes



Home | Main Index | Thread Index | Old Index