pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34d33f195b99
branches:  trunk
changeset: 398170:34d33f195b99
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 12 19:57:03 2019 +0000

description:
protobuf: updated to 3.9.0

Protocol Buffers v3.9.0

C++

Optimize and simplify implementation of RepeatedPtrFieldBase
Don't create unnecessary unknown field sets.
Remove branch from accessors to repeated field element array.
Added delimited parse and serialize util.
Reduce size by not emitting constants for fieldnumbers
Fix a bug when comparing finite and infinite field values with explicit tolerances.
TextFormat::Parser should use a custom Finder to look up extensions by number if one is provided.
Add MessageLite::Utf8DebugString() to make MessageLite more compatible with Message.
Fail fast for better performance in DescriptorPool::FindExtensionByNumber() if descriptor has no defined extensions.
Adding the file name to help debug colliding extensions
Added FieldDescriptor::PrintableNameForExtension() and DescriptorPool::FindExtensionByPrintableName().
The latter will replace Reflection::FindKnownExtensionByName().
Replace NULL with nullptr
Created a new Add method in repeated field that allows adding a range of elements all at once.
Enabled enum name-to-value mapping functions for C++ lite
Avoid dynamic initialization in descriptor.proto generated code
Move stream functions to MessageLite from Message.
Move all zero_copy_stream functionality to io_lite.
Do not create array of matched fields for simple repeated fields
Enabling silent mode by default to reduce make compilation noise.

diffstat:

 devel/protobuf/Makefile                      |   4 ++--
 devel/protobuf/distinfo                      |  11 +++++------
 devel/protobuf/patches/patch-src_Makefile.in |  15 ---------------
 3 files changed, 7 insertions(+), 23 deletions(-)

diffs (51 lines):

diff -r 47b649118a53 -r 34d33f195b99 devel/protobuf/Makefile
--- a/devel/protobuf/Makefile   Fri Jul 12 19:07:35 2019 +0000
+++ b/devel/protobuf/Makefile   Fri Jul 12 19:57:03 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2019/05/29 14:48:12 adam Exp $
+# $NetBSD: Makefile,v 1.21 2019/07/12 19:57:03 adam Exp $
 
-DISTNAME=      protobuf-cpp-3.8.0
+DISTNAME=      protobuf-cpp-3.9.0
 PKGNAME=       ${DISTNAME:S/-cpp//}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
diff -r 47b649118a53 -r 34d33f195b99 devel/protobuf/distinfo
--- a/devel/protobuf/distinfo   Fri Jul 12 19:07:35 2019 +0000
+++ b/devel/protobuf/distinfo   Fri Jul 12 19:57:03 2019 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.25 2019/05/29 14:48:12 adam Exp $
+$NetBSD: distinfo,v 1.26 2019/07/12 19:57:03 adam Exp $
 
-SHA1 (protobuf-cpp-3.8.0.tar.gz) = a2204357cc9b843b963768650aa6713a418f8e5d
-RMD160 (protobuf-cpp-3.8.0.tar.gz) = 6fdecbb2ac2be899f97a8a94c126913071cab6e5
-SHA512 (protobuf-cpp-3.8.0.tar.gz) = 483969d5a837e966455c9952bb09b92eebf070736a9b39b16ee05c3e0756fd0a8c179f892bca41ac05f8440ceb93a45ec84235b86bc8e89695334c2186116624
-Size (protobuf-cpp-3.8.0.tar.gz) = 4545607 bytes
+SHA1 (protobuf-cpp-3.9.0.tar.gz) = 98a3d1f8e636bb5ada8df766a4543d1ae66f46aa
+RMD160 (protobuf-cpp-3.9.0.tar.gz) = 069fb970a26d4a186c64961bea20a6a719c86be0
+SHA512 (protobuf-cpp-3.9.0.tar.gz) = d9c46654d44b9947755b7fb5d0a3d01cac0ee4e5b8abccaf0bdb06b998942601897316af4e820d99d6f982aff8b80032910b973b4129bbd879c950399ea80da0
+Size (protobuf-cpp-3.9.0.tar.gz) = 4537469 bytes
 SHA1 (patch-configure) = 22a1fc4e701b348772b3e2e4c68aad3b97032cc5
-SHA1 (patch-src_Makefile.in) = 92ae2daf459590d0b1c8fbc50b21f80abb52a0b4
 SHA1 (patch-src_google_protobuf_testing_zcgunzip.cc) = 7bd71bfa3b93f52add0d27fbdba5b8154173b8bf
 SHA1 (patch-src_google_protobuf_testing_zcgzip.cc) = e681eca4f267ad1135e0dbc6a1b2ba91492f40b4
 SHA1 (patch-third__party_googletest_googlemock_configure) = fe3b812e819130d87d99316144507d2454461cd1
diff -r 47b649118a53 -r 34d33f195b99 devel/protobuf/patches/patch-src_Makefile.in
--- a/devel/protobuf/patches/patch-src_Makefile.in      Fri Jul 12 19:07:35 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_Makefile.in,v 1.1 2019/05/29 14:48:12 adam Exp $
-
-Install map_util.h which is needed to build py-protobuf.
-https://github.com/protocolbuffers/protobuf/issues/6186
-
---- src/Makefile.in.orig       2019-05-29 10:28:06.000000000 +0000
-+++ src/Makefile.in
-@@ -1263,6 +1263,7 @@ nobase_include_HEADERS = \
-   google/protobuf/stubs/hash.h                                   \
-   google/protobuf/stubs/logging.h                                \
-   google/protobuf/stubs/macros.h                                 \
-+  google/protobuf/stubs/map_util.h                               \
-   google/protobuf/stubs/mutex.h                                  \
-   google/protobuf/stubs/once.h                                   \
-   google/protobuf/stubs/platform_macros.h                        \



Home | Main Index | Thread Index | Old Index