pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Upgrade protobuf to version 3.5.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7b650d994e7
branches:  trunk
changeset: 371704:a7b650d994e7
user:      he <he%pkgsrc.org@localhost>
date:      Fri Nov 17 22:09:11 2017 +0000

description:
Upgrade protobuf to version 3.5.0.

Pkgsrc changes:
 * Adapt PLIST.
 * After exchange, set MAINTAINER to pkgsrc-users@

Upstream changes:

2017-11-13 version 3.5.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript)
  Planned Future Changes
  * Make C++ implementation C++11 only: we plan to require C++11 to build
    protobuf code starting from 3.6.0 release. Please join this github issue:
    https://github.com/google/protobuf/issues/2780 to provide your feedback.

  General
  * Unknown fields are now preserved in proto3 for most of the language
    implementations for proto3 by default. See the per-language section for
    details.
  * reserve keyword are now supported in enums

  C++
  * Proto3 messages are now preserving unknown fields by default. If you rely on
    unknowns fields being dropped. Please use DiscardUnknownFields() explicitly.
  * Deprecated the unsafe_arena_release_* and unsafe_arena_add_allocated_*
    methods for string fields.
  * Added move constructor and move assignment to RepeatedField,
    RepeatedPtrField and google::protobuf::Any.
  * Added perfect forwarding in Arena::CreateMessage
  * In-progress experimental support for implicit weak fields with lite protos.
    This feature allows the linker to strip out more unused messages and reduce
    binary size.
  * Various performance optimizations.

  Java
  * Proto3 messages are now preserving unknown fields by default. If you'd like
    to drop unknown fields, please use the DiscardUnknownFieldsParser API. For
    example:
      Parser<Foo> parser = DiscardUnknownFieldsParser.wrap(Foo.parser());
      Foo foo = parser.parseFrom(input);
  * Added a new CodedInputStream decoder for Iterable<ByteBuffer> with direct
    ByteBuffers.
  * TextFormat now prints unknown length-delimited fields as messages if
    possible.
  * FieldMaskUtil.merge() no longer creates unnecessary empty messages when a
    message field is unset in both source message and destination message.
  * Various performance optimizations.

  Python
  * Proto3 messages are now preserving unknown fields by default. Use
    message.DiscardUnknownFields() to drop unknown fields.
  * Add FieldDescriptor.file in generated code.
  * Add descriptor pool FindOneofByName in pure python.
  * Change unknown enum values into unknown field set .
  * Add more Python dict/list compatibility for Struct/ListValue.
  * Add utf-8 support for text_format.Merge()/Parse().
  * Support numeric unknown enum values for proto3 JSON format.
  * Add warning for Unexpected end-group tag in cpp extension.

  PHP
  * Proto3 messages are now preserving unknown fields.
  * Provide well known type messages in runtime.
  * Add prefix "PB" to generated class of reserved names.
  * Fixed all conformance tests for encode/decode json in php runtime. C
    extension needs more work.

  Objective-C
  * Fixed some issues around copying of messages with unknown fields and then
    mutating the unknown fields in the copy.

  C#
  * Added unknown field support in JsonParser.
  * Fixed oneof message field merge.
  * Simplify parsing messages from array slices.

  Ruby
  * Unknown fields are now preserved by default.
  * Fixed several bugs for segment fault.

  Javascript
  * Decoder can handle both paced and unpacked data no matter how the proto is
    defined.
  * Decoder now accept long varint for 32 bit integers.

diffstat:

 devel/protobuf/Makefile        |   4 ++--
 devel/protobuf/Makefile.common |   4 ++--
 devel/protobuf/PLIST           |   3 +--
 devel/protobuf/distinfo        |  10 +++++-----
 devel/py-protobuf/PLIST        |  20 ++++++++++++--------
 devel/py-protobuf/distinfo     |  10 +++++-----
 6 files changed, 27 insertions(+), 24 deletions(-)

diffs (123 lines):

diff -r e728129c7f1e -r a7b650d994e7 devel/protobuf/Makefile
--- a/devel/protobuf/Makefile   Fri Nov 17 15:09:34 2017 +0000
+++ b/devel/protobuf/Makefile   Fri Nov 17 22:09:11 2017 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.13 2017/02/07 13:50:31 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2017/11/17 22:09:11 he Exp $
 
 .include "Makefile.common"
 
 DISTNAME=      protobuf-cpp-${PROTOBUFVER}
 PKGNAME=       ${DISTNAME:S/-cpp//}
 
-MAINTAINER=    aran%100acres.us@localhost
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Google protocol buffers
 
 GNU_CONFIGURE= yes
diff -r e728129c7f1e -r a7b650d994e7 devel/protobuf/Makefile.common
--- a/devel/protobuf/Makefile.common    Fri Nov 17 15:09:34 2017 +0000
+++ b/devel/protobuf/Makefile.common    Fri Nov 17 22:09:11 2017 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.8 2017/10/20 23:02:25 minskim Exp $
+# $NetBSD: Makefile.common,v 1.9 2017/11/17 22:09:11 he Exp $
 #
 # used by devel/protobuf/Makefile
 # used by devel/py-protobuf/Makefile
 
-PROTOBUFVER=   3.4.1
+PROTOBUFVER=   3.5.0
 
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
 GITHUB_PROJECT=        protobuf
diff -r e728129c7f1e -r a7b650d994e7 devel/protobuf/PLIST
--- a/devel/protobuf/PLIST      Fri Nov 17 15:09:34 2017 +0000
+++ b/devel/protobuf/PLIST      Fri Nov 17 22:09:11 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2017/10/20 23:02:25 minskim Exp $
+@comment $NetBSD: PLIST,v 1.9 2017/11/17 22:09:11 he Exp $
 bin/protoc
 include/google/protobuf/any.h
 include/google/protobuf/any.pb.h
@@ -78,7 +78,6 @@
 include/google/protobuf/stubs/atomicops_internals_arm64_gcc.h
 include/google/protobuf/stubs/atomicops_internals_arm_gcc.h
 include/google/protobuf/stubs/atomicops_internals_arm_qnx.h
-include/google/protobuf/stubs/atomicops_internals_atomicword_compat.h
 include/google/protobuf/stubs/atomicops_internals_generic_c11_atomic.h
 include/google/protobuf/stubs/atomicops_internals_generic_gcc.h
 include/google/protobuf/stubs/atomicops_internals_mips_gcc.h
diff -r e728129c7f1e -r a7b650d994e7 devel/protobuf/distinfo
--- a/devel/protobuf/distinfo   Fri Nov 17 15:09:34 2017 +0000
+++ b/devel/protobuf/distinfo   Fri Nov 17 22:09:11 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.17 2017/10/20 23:02:25 minskim Exp $
+$NetBSD: distinfo,v 1.18 2017/11/17 22:09:11 he Exp $
 
-SHA1 (protobuf-cpp-3.4.1.tar.gz) = f5a62fa19d590525aa4338df42da375ea8912091
-RMD160 (protobuf-cpp-3.4.1.tar.gz) = 79d4802e0362b01d7ae12719143d4311281d2413
-SHA512 (protobuf-cpp-3.4.1.tar.gz) = 6189e23c7e381f62e971bd0e35ad9c3ed8effe584755357013887c6a582cb5a9a654c39affa2a073b658854138f31bfb70f89fa1df494e9386f1d64fd73d07d2
-Size (protobuf-cpp-3.4.1.tar.gz) = 4274863 bytes
+SHA1 (protobuf-cpp-3.5.0.tar.gz) = b5ae3104b6a9401beaac3d8af11da83df7135448
+RMD160 (protobuf-cpp-3.5.0.tar.gz) = 8cd9bb39287dd3d5277e5fd8c6e156a9d2a81206
+SHA512 (protobuf-cpp-3.5.0.tar.gz) = b1d3f3617898e3f73630ea7a43416a60b970291b4f93952b8d4f68ee5cd401f752d76cd1f6a65a87186b415208142401e01ffebb2ec52534e1db31abcc0d052e
+Size (protobuf-cpp-3.5.0.tar.gz) = 4269335 bytes
 SHA1 (patch-configure) = ec7003c29d2d3e9aeb9ea90921313e9eb68d3127
 SHA1 (patch-configure.ac) = 208a5ce72905aa95ad73ee0f751d4a58f0c37f5f
 SHA1 (patch-gmock_configure) = a39355c602366450e3cdb6bc7dbc0523fc194319
diff -r e728129c7f1e -r a7b650d994e7 devel/py-protobuf/PLIST
--- a/devel/py-protobuf/PLIST   Fri Nov 17 15:09:34 2017 +0000
+++ b/devel/py-protobuf/PLIST   Fri Nov 17 22:09:11 2017 +0000
@@ -1,4 +1,11 @@
-@comment $NetBSD: PLIST,v 1.5 2017/10/20 23:02:25 minskim Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/11/17 22:09:11 he Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_NAME}-nspkg.pth
 ${PYSITELIB}/google/protobuf/__init__.py
 ${PYSITELIB}/google/protobuf/__init__.pyc
 ${PYSITELIB}/google/protobuf/__init__.pyo
@@ -179,6 +186,9 @@
 ${PYSITELIB}/google/protobuf/json_format.py
 ${PYSITELIB}/google/protobuf/json_format.pyc
 ${PYSITELIB}/google/protobuf/json_format.pyo
+${PYSITELIB}/google/protobuf/map_proto2_unittest_pb2.py
+${PYSITELIB}/google/protobuf/map_proto2_unittest_pb2.pyc
+${PYSITELIB}/google/protobuf/map_proto2_unittest_pb2.pyo
 ${PYSITELIB}/google/protobuf/map_unittest_pb2.py
 ${PYSITELIB}/google/protobuf/map_unittest_pb2.pyc
 ${PYSITELIB}/google/protobuf/map_unittest_pb2.pyo
@@ -278,10 +288,4 @@
 ${PYSITELIB}/google/protobuf/wrappers_pb2.py
 ${PYSITELIB}/google/protobuf/wrappers_pb2.pyc
 ${PYSITELIB}/google/protobuf/wrappers_pb2.pyo
-${PYSITELIB}/${EGG_NAME}-nspkg.pth
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+
diff -r e728129c7f1e -r a7b650d994e7 devel/py-protobuf/distinfo
--- a/devel/py-protobuf/distinfo        Fri Nov 17 15:09:34 2017 +0000
+++ b/devel/py-protobuf/distinfo        Fri Nov 17 22:09:11 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.11 2017/10/20 23:02:25 minskim Exp $
+$NetBSD: distinfo,v 1.12 2017/11/17 22:09:11 he Exp $
 
-SHA1 (protobuf-python-3.4.1.tar.gz) = 8ffff7abd3faaf282176dd45b19d39a7c6718262
-RMD160 (protobuf-python-3.4.1.tar.gz) = 7d2c2876b7533da6c9cad8f9aa4dac71c9678494
-SHA512 (protobuf-python-3.4.1.tar.gz) = 571c7e08c3186c465e65b8dc441563de9d604571f8f9784e86a8c59359f5617d9903ae299950d1049feff8d4db9557c6bf193b1fd9bae8eabcd43e797b4c2581
-Size (protobuf-python-3.4.1.tar.gz) = 4559061 bytes
+SHA1 (protobuf-python-3.5.0.tar.gz) = 4813791e9deecaea862e83217564df0ce56a80c6
+RMD160 (protobuf-python-3.5.0.tar.gz) = bbef18f7312f450c7fc8b6954a3bad8693666104
+SHA512 (protobuf-python-3.5.0.tar.gz) = d641048f61b52cdf3f30730ba9c2c4d6d48fdf021fc7037bb55f87e3a4e350b47010f6eaef881b2de5fdfc7e67ed109a9529c6c75888aa6391f3a1b4a1be56e9
+Size (protobuf-python-3.5.0.tar.gz) = 4560124 bytes
 SHA1 (patch-configure) = ec7003c29d2d3e9aeb9ea90921313e9eb68d3127
 SHA1 (patch-configure.ac) = 208a5ce72905aa95ad73ee0f751d4a58f0c37f5f
 SHA1 (patch-gmock_configure) = a39355c602366450e3cdb6bc7dbc0523fc194319



Home | Main Index | Thread Index | Old Index