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:   wiz
Date:           Tue Feb  7 13:50:31 UTC 2017

Modified Files:
        pkgsrc/devel/protobuf: Makefile Makefile.common PLIST distinfo
        pkgsrc/devel/protobuf/patches:
            patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h
        pkgsrc/devel/py-protobuf: distinfo

Log Message:
Update *protobuf to 3.2.0:

2017-01-23 version 3.2.0 (C++/Java/Python/PHP/Ruby/Objective-C/C#/JavaScript/Lite)
  General
  * Added protoc version number to protoc plugin protocol. It can be used by
    protoc plugin to detect which version of protoc is used with the plugin and
    mitigate known problems in certain version of protoc.

  C++
  * The default parsing byte size limit has been raised from 64MB to 2GB.
  * Added rvalue setters for non-arena string fields.
  * Enabled debug logging for Android.
  * Fixed a double-free problem when using Reflection::SetAllocatedMessage()
    with extension fields.
  * Fixed several deterministic serialization bugs:
    * MessageLite::SerializeAsString() now respects the global deterministic
      serialization flag.
    * Extension fields are serialized deterministically as well.  Fixed protocol
      compiler to correctly report importing-self as an error.
  * Fixed FileDescriptor::DebugString() to print custom options correctly.
  * Various performance/codesize optimizations and cleanups.

  Java
  * The default parsing byte size limit has been raised from 64MB to 2GB.
  * Added recursion limit when parsing JSON.
  * Fixed a bug that enumType.getDescriptor().getOptions() doesn't have custom
    options.
  * Fixed generated code to support field numbers up to 2^29-1.

  Python
  * You can now assign NumPy scalars/arrays (np.int32, np.int64) to protobuf
    fields, and assigning other numeric types has been optimized for
    performance.
  * Pure-Python: message types are now garbage-collectable.
  * Python/C++: a lot of internal cleanup/refactoring.

  PHP (Alpha)
  * For 64-bit integers type (int64/uint64/sfixed64/fixed64/sint64), use PHP
    integer on 64-bit environment and PHP string on 32-bit environment.
  * PHP generated code also conforms to PSR-4 now.
  * Fixed ZTS build for c extension.
  * Fixed c extension build on Mac.
  * Fixed c extension build on 32-bit linux.
  * Fixed the bug that message without namespace is not found in the descriptor
    pool. (#2240)
  * Fixed the bug that repeated field is not iterable in c extension.
  * Message names Empty will be converted to GPBEmpty in generated code.
  * Added phpdoc in generated files.
  * The released API is almost stable. Unless there is large problem, we won't
    change it. See
    https://developers.google.com/protocol-buffers/docs/reference/php-generated
    for more details.

  Objective-C
  * Added support for push/pop of the stream limit on CodedInputStream for
    anyone doing manual parsing.

  C#
  * No changes.

  Ruby
  * Message objects now support #respond_to? for field getters/setters.
  * You can now compare “message == non_message_object” and it will return false
    instead of throwing an exception.
  * JRuby: fixed #hashCode to properly reflect the values in the message.

  Javascript
  * Deserialization of repeated fields no longer has quadratic performance
    behavior.
  * UTF-8 encoding/decoding now properly supports high codepoints.
  * Added convenience methods for some well-known types: Any, Struct, and
    Timestamp. These make it easier to convert data between native JavaScript
    types and the well-known protobuf types.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/protobuf/Makefile \
    pkgsrc/devel/protobuf/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/protobuf/Makefile.common \
    pkgsrc/devel/protobuf/PLIST
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h
cvs rdiff -u -r1.6 -r1.7 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.12 pkgsrc/devel/protobuf/Makefile:1.13
--- pkgsrc/devel/protobuf/Makefile:1.12 Tue Nov  1 15:26:33 2016
+++ pkgsrc/devel/protobuf/Makefile      Tue Feb  7 13:50:31 2017
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2016/11/01 15:26:33 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2017/02/07 13:50:31 wiz Exp $
 
 .include "Makefile.common"
 
 DISTNAME=      protobuf-cpp-${PROTOBUFVER}
 PKGNAME=       ${DISTNAME:S/-cpp//}
-PKGREVISION=   1
 
 MAINTAINER=    aran%100acres.us@localhost
 COMMENT=       Google protocol buffers
@@ -12,7 +11,7 @@ COMMENT=      Google protocol buffers
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_LANGUAGES= c++ c
-USE_TOOLS+=    autoreconf automake autoconf
+USE_TOOLS+=    autoreconf automake autoconf gmake
 
 SET_LIBDIR=    yes
 
Index: pkgsrc/devel/protobuf/distinfo
diff -u pkgsrc/devel/protobuf/distinfo:1.12 pkgsrc/devel/protobuf/distinfo:1.13
--- pkgsrc/devel/protobuf/distinfo:1.12 Wed Nov 23 20:56:44 2016
+++ pkgsrc/devel/protobuf/distinfo      Tue Feb  7 13:50:31 2017
@@ -1,11 +1,12 @@
-$NetBSD: distinfo,v 1.12 2016/11/23 20:56:44 wiedi Exp $
+$NetBSD: distinfo,v 1.13 2017/02/07 13:50:31 wiz Exp $
 
-SHA1 (protobuf-cpp-3.1.0.tar.gz) = b7b7275405ac18784965b02bea7d62f836873564
-RMD160 (protobuf-cpp-3.1.0.tar.gz) = a7be4888dd97e899364c3264875a988bac349acf
-SHA512 (protobuf-cpp-3.1.0.tar.gz) = 9f85a98e55cbc9f245a3079d5a597f778454bc945f0942cb10fbdfbde5fe12b17d6dda93d6a8d5281459ad30a3840be7e0712feb33a824226884e7e4da54a061
-Size (protobuf-cpp-3.1.0.tar.gz) = 4109863 bytes
+SHA1 (protobuf-cpp-3.2.0.tar.gz) = 7518aef2471e7398ebd0d85a53836d6a076222d5
+RMD160 (protobuf-cpp-3.2.0.tar.gz) = f83bddecef7c2b545ea342d1acac568fa5454242
+SHA512 (protobuf-cpp-3.2.0.tar.gz) = dd005f5e862ff24bb233b9eaed1d7f44c42f1cc8c647c0839fe2ecc2d91178845195d79776cfa2e31d224c16eed11b05ad824b66b743e685334057d8180f17aa
+Size (protobuf-cpp-3.2.0.tar.gz) = 4148324 bytes
 SHA1 (patch-gmock_configure) = 49a4c9301ad4c1973ee7058213df50a7833161f0
 SHA1 (patch-gmock_configure.ac) = cfd7b7c87eff4b06ce6ecb34dec046561bbdc113
+SHA1 (patch-src_google_protobuf_compiler_plugin.pb.h) = e13704e04858e747e5c3e52fd3d399458face3f0
 SHA1 (patch-src_google_protobuf_message__lite.cc) = 8f2ffe07b2710de5365148153978ad6d9939f522
 SHA1 (patch-src_google_protobuf_stubs_atomicops.h) = 9ec851134da674980a49302e9582a432a47f7974
-SHA1 (patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = 93cf8135660e945044e5a560a3010e32e660ae6f
+SHA1 (patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = d60c554be8ff7fc9370bb036eef9101f9a6433e3

Index: pkgsrc/devel/protobuf/Makefile.common
diff -u pkgsrc/devel/protobuf/Makefile.common:1.5 pkgsrc/devel/protobuf/Makefile.common:1.6
--- pkgsrc/devel/protobuf/Makefile.common:1.5   Tue Nov  1 15:26:33 2016
+++ pkgsrc/devel/protobuf/Makefile.common       Tue Feb  7 13:50:31 2017
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.5 2016/11/01 15:26:33 wiz Exp $
+# $NetBSD: Makefile.common,v 1.6 2017/02/07 13:50:31 wiz Exp $
 #
 # used by devel/protobuf/Makefile
 # used by devel/py-protobuf/Makefile
 
-PROTOBUFVER=   3.1.0
+PROTOBUFVER=   3.2.0
 
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
 GITHUB_PROJECT=        protobuf
Index: pkgsrc/devel/protobuf/PLIST
diff -u pkgsrc/devel/protobuf/PLIST:1.5 pkgsrc/devel/protobuf/PLIST:1.6
--- pkgsrc/devel/protobuf/PLIST:1.5     Wed Oct 19 12:13:00 2016
+++ pkgsrc/devel/protobuf/PLIST Tue Feb  7 13:50:31 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/10/19 12:13:00 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/02/07 13:50:31 wiz Exp $
 bin/protoc
 include/google/protobuf/any.h
 include/google/protobuf/any.pb.h
@@ -17,6 +17,7 @@ include/google/protobuf/compiler/java/ja
 include/google/protobuf/compiler/java/java_names.h
 include/google/protobuf/compiler/javanano/javanano_generator.h
 include/google/protobuf/compiler/js/js_generator.h
+include/google/protobuf/compiler/js/well_known_types_embed.h
 include/google/protobuf/compiler/objectivec/objectivec_generator.h
 include/google/protobuf/compiler/objectivec/objectivec_helpers.h
 include/google/protobuf/compiler/parser.h
@@ -75,10 +76,10 @@ include/google/protobuf/stubs/atomicops_
 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_macosx.h
 include/google/protobuf/stubs/atomicops_internals_mips_gcc.h
-include/google/protobuf/stubs/atomicops_internals_pnacl.h
 include/google/protobuf/stubs/atomicops_internals_power.h
 include/google/protobuf/stubs/atomicops_internals_ppc_gcc.h
 include/google/protobuf/stubs/atomicops_internals_solaris.h

Index: pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h
diff -u pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h:1.2 
pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h:1.3
--- pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h:1.2  Sat Aug  6 11:40:14 2016
+++ pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h      Tue Feb  7 13:50:31 2017
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h,v 1.2 2016/08/06 11:40:14 kamil Exp $
+$NetBSD: patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h,v 1.3 2017/02/07 13:50:31 wiz Exp $
 
 Add ARM support.
 
---- src/google/protobuf/stubs/atomicops_internals_arm_gcc.h.orig       2016-04-28 21:34:30.000000000 +0000
+--- src/google/protobuf/stubs/atomicops_internals_arm_gcc.h.orig       2017-01-27 23:49:29.000000000 +0000
 +++ src/google/protobuf/stubs/atomicops_internals_arm_gcc.h
 @@ -39,44 +39,19 @@ namespace google {
  namespace protobuf {
@@ -83,7 +83,7 @@ Add ARM support.
 @@ -116,7 +89,7 @@ inline void NoBarrier_Store(volatile Ato
  }
  
- inline void MemoryBarrier() {
+ inline void MemoryBarrierInternal() {
 -  pLinuxKernelMemoryBarrier();
 +  __sync_synchronize();
  }

Index: pkgsrc/devel/py-protobuf/distinfo
diff -u pkgsrc/devel/py-protobuf/distinfo:1.6 pkgsrc/devel/py-protobuf/distinfo:1.7
--- pkgsrc/devel/py-protobuf/distinfo:1.6       Sun Nov 27 10:56:23 2016
+++ pkgsrc/devel/py-protobuf/distinfo   Tue Feb  7 13:50:31 2017
@@ -1,11 +1,12 @@
-$NetBSD: distinfo,v 1.6 2016/11/27 10:56:23 wiz Exp $
+$NetBSD: distinfo,v 1.7 2017/02/07 13:50:31 wiz Exp $
 
-SHA1 (protobuf-python-3.1.0.tar.gz) = 0a92e2135c9a7f62139d2ffcace95074a5546113
-RMD160 (protobuf-python-3.1.0.tar.gz) = 7017d8330f0697334e64b87efa39a854467ce1bf
-SHA512 (protobuf-python-3.1.0.tar.gz) = 363bc7ade0c316f11c3e2e017e82e88a58b47b8e79bbc61f2510fe3fce3074a77bce28ad87a97bfda53149c5e854a3249150b185ebb32153895ad6e3818205bb
-Size (protobuf-python-3.1.0.tar.gz) = 4377622 bytes
+SHA1 (protobuf-python-3.2.0.tar.gz) = 1abe0a4860c3f44d732568f790ea9beeb5236805
+RMD160 (protobuf-python-3.2.0.tar.gz) = 50d84a0e2321f9df96c6ad331465651d3ec21dff
+SHA512 (protobuf-python-3.2.0.tar.gz) = daec6b07dec76e7dc0398ad948daa93a0253f77b68ee79b0e1113a0698f92fa00f12c046e7234817b8c08d627fe57f133305699a4b6a6cb5cafb2c0f99247060
+Size (protobuf-python-3.2.0.tar.gz) = 4422343 bytes
 SHA1 (patch-gmock_configure) = 49a4c9301ad4c1973ee7058213df50a7833161f0
 SHA1 (patch-gmock_configure.ac) = cfd7b7c87eff4b06ce6ecb34dec046561bbdc113
+SHA1 (patch-src_google_protobuf_compiler_plugin.pb.h) = e13704e04858e747e5c3e52fd3d399458face3f0
 SHA1 (patch-src_google_protobuf_message__lite.cc) = 8f2ffe07b2710de5365148153978ad6d9939f522
 SHA1 (patch-src_google_protobuf_stubs_atomicops.h) = 9ec851134da674980a49302e9582a432a47f7974
-SHA1 (patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = 93cf8135660e945044e5a560a3010e32e660ae6f
+SHA1 (patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = d60c554be8ff7fc9370bb036eef9101f9a6433e3



Home | Main Index | Thread Index | Old Index