pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   he
Date:           Fri Nov 17 22:09:11 UTC 2017

Modified Files:
        pkgsrc/devel/protobuf: Makefile Makefile.common PLIST distinfo
        pkgsrc/devel/py-protobuf: PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/protobuf/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/protobuf/Makefile.common \
    pkgsrc/devel/protobuf/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/protobuf/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-protobuf/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-protobuf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/protobuf/Makefile
diff -u pkgsrc/devel/protobuf/Makefile:1.13 pkgsrc/devel/protobuf/Makefile:1.14
--- pkgsrc/devel/protobuf/Makefile:1.13 Tue Feb  7 13:50:31 2017
+++ pkgsrc/devel/protobuf/Makefile      Fri Nov 17 22:09:11 2017
@@ -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

Index: pkgsrc/devel/protobuf/Makefile.common
diff -u pkgsrc/devel/protobuf/Makefile.common:1.8 pkgsrc/devel/protobuf/Makefile.common:1.9
--- pkgsrc/devel/protobuf/Makefile.common:1.8   Fri Oct 20 23:02:25 2017
+++ pkgsrc/devel/protobuf/Makefile.common       Fri Nov 17 22:09:11 2017
@@ -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
Index: pkgsrc/devel/protobuf/PLIST
diff -u pkgsrc/devel/protobuf/PLIST:1.8 pkgsrc/devel/protobuf/PLIST:1.9
--- pkgsrc/devel/protobuf/PLIST:1.8     Fri Oct 20 23:02:25 2017
+++ pkgsrc/devel/protobuf/PLIST Fri Nov 17 22:09:11 2017
@@ -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.
 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

Index: pkgsrc/devel/protobuf/distinfo
diff -u pkgsrc/devel/protobuf/distinfo:1.17 pkgsrc/devel/protobuf/distinfo:1.18
--- pkgsrc/devel/protobuf/distinfo:1.17 Fri Oct 20 23:02:25 2017
+++ pkgsrc/devel/protobuf/distinfo      Fri Nov 17 22:09:11 2017
@@ -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

Index: pkgsrc/devel/py-protobuf/PLIST
diff -u pkgsrc/devel/py-protobuf/PLIST:1.5 pkgsrc/devel/py-protobuf/PLIST:1.6
--- pkgsrc/devel/py-protobuf/PLIST:1.5  Fri Oct 20 23:02:25 2017
+++ pkgsrc/devel/py-protobuf/PLIST      Fri Nov 17 22:09:11 2017
@@ -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/internal/wi
 ${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/util/json_f
 ${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
+

Index: pkgsrc/devel/py-protobuf/distinfo
diff -u pkgsrc/devel/py-protobuf/distinfo:1.11 pkgsrc/devel/py-protobuf/distinfo:1.12
--- pkgsrc/devel/py-protobuf/distinfo:1.11      Fri Oct 20 23:02:25 2017
+++ pkgsrc/devel/py-protobuf/distinfo   Fri Nov 17 22:09:11 2017
@@ -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