pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Update protobuf to 2.6.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/88b2115abe0b
branches: trunk
changeset: 652905:88b2115abe0b
user: wiedi <wiedi%pkgsrc.org@localhost>
date: Wed Jun 10 01:31:51 2015 +0000
description:
Update protobuf to 2.6.1
Changelog:
2014-10-20 version 2.6.1:
C++
* Added atomicops support for Solaris.
* Released memory allocated by InitializeDefaultRepeatedFields() and
GetEmptyString(). Some memory sanitizers reported them as memory leaks.
Java
* Updated DynamicMessage.setField() to handle repeated enum values
correctly.
* Fixed a bug that caused NullPointerException to be thrown when
converting manually constructed FileDescriptorProto to
FileDescriptor.
Python
* Fixed WhichOneof() to work with de-serialized protobuf messages.
* Fixed a missing file problem of Python C++ implementation.
2014-08-15 version 2.6.0:
General
* Added oneofs(unions) feature. Fields in the same oneof will share
memory and at most one field can be set at the same time. Use the
oneof keyword to define a oneof like:
message SampleMessage {
oneof test_oneof {
string name = 4;
YourMessage sub_message = 9;
}
}
* Files, services, enums, messages, methods and enum values can be marked
as deprecated now.
* Added Support for list values, including lists of mesaages, when
parsing text-formatted protos in C++ and Java.
For example: foo: [1, 2, 3]
C++
* Enhanced customization on TestFormat printing.
* Added SwapFields() in reflection API to swap a subset of fields.
Added SetAllocatedMessage() in reflection API.
* Repeated primitive extensions are now packable. The
[packed=true] option only affects serializers. Therefore, it is
possible to switch a repeated extension field to packed format
without breaking backwards-compatibility.
* Various speed optimizations.
Java
* writeTo() method in ByteString can now write a substring to an
output stream. Added endWith() method for ByteString.
* ByteString and ByteBuffer are now supported in CodedInputStream
and CodedOutputStream.
* java_generate_equals_and_hash can now be used with the LITE_RUNTIME.
Python
* A new C++-backed extension module (aka "cpp api v2") that replaces the
old ("cpp api v1") one. Much faster than the pure Python code. This one
resolves many bugs and is recommended for general use over the
pure Python when possible.
* Descriptors now have enum_types_by_name and extension_types_by_name dict
attributes.
* Support for Python 3.
diffstat:
devel/protobuf/Makefile | 4 +--
devel/protobuf/PLIST | 8 +++++-
devel/protobuf/distinfo | 12 ++++----
devel/protobuf/patches/patch-gtest_configure | 6 ++--
devel/protobuf/patches/patch-src_google_protobuf_stubs_atomicops.h | 6 ++--
devel/py-protobuf/Makefile | 3 +-
devel/py-protobuf/PLIST | 14 +++++++++-
7 files changed, 34 insertions(+), 19 deletions(-)
diffs (157 lines):
diff -r 9605b8112154 -r 88b2115abe0b devel/protobuf/Makefile
--- a/devel/protobuf/Makefile Tue Jun 09 22:09:41 2015 +0000
+++ b/devel/protobuf/Makefile Wed Jun 10 01:31:51 2015 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2014/10/17 22:00:40 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2015/06/10 01:31:51 wiedi Exp $
#
.include "Makefile.common"
-PKGREVISION= 1
CATEGORIES= devel
-MASTER_SITES= http://protobuf.googlecode.com/files/
MAINTAINER= aran%100acres.us@localhost
HOMEPAGE= http://code.google.com/p/protobuf/
diff -r 9605b8112154 -r 88b2115abe0b devel/protobuf/PLIST
--- a/devel/protobuf/PLIST Tue Jun 09 22:09:41 2015 +0000
+++ b/devel/protobuf/PLIST Wed Jun 10 01:31:51 2015 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2013/03/17 14:50:13 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2015/06/10 01:31:51 wiedi Exp $
bin/protoc
include/google/protobuf/compiler/code_generator.h
include/google/protobuf/compiler/command_line_interface.h
@@ -22,6 +22,7 @@
include/google/protobuf/io/coded_stream.h
include/google/protobuf/io/gzip_stream.h
include/google/protobuf/io/printer.h
+include/google/protobuf/io/strtod.h
include/google/protobuf/io/tokenizer.h
include/google/protobuf/io/zero_copy_stream.h
include/google/protobuf/io/zero_copy_stream_impl.h
@@ -32,17 +33,22 @@
include/google/protobuf/repeated_field.h
include/google/protobuf/service.h
include/google/protobuf/stubs/atomicops.h
+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_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_solaris.h
+include/google/protobuf/stubs/atomicops_internals_tsan.h
include/google/protobuf/stubs/atomicops_internals_x86_gcc.h
include/google/protobuf/stubs/atomicops_internals_x86_msvc.h
include/google/protobuf/stubs/common.h
include/google/protobuf/stubs/once.h
include/google/protobuf/stubs/platform_macros.h
+include/google/protobuf/stubs/stl_util.h
include/google/protobuf/stubs/template_util.h
include/google/protobuf/stubs/type_traits.h
include/google/protobuf/text_format.h
diff -r 9605b8112154 -r 88b2115abe0b devel/protobuf/distinfo
--- a/devel/protobuf/distinfo Tue Jun 09 22:09:41 2015 +0000
+++ b/devel/protobuf/distinfo Wed Jun 10 01:31:51 2015 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2015/02/19 14:12:33 joerg Exp $
+$NetBSD: distinfo,v 1.5 2015/06/10 01:31:51 wiedi Exp $
-SHA1 (protobuf-2.5.0.tar.gz) = 7f6ea7bc1382202fb1ce8c6933f1ef8fea0c0148
-RMD160 (protobuf-2.5.0.tar.gz) = 94755535c75f12db6a34d2f043e59597bea02dda
-Size (protobuf-2.5.0.tar.gz) = 2401901 bytes
-SHA1 (patch-gtest_configure) = 5d17790e1c07336c3e4c08ed575ef74c366f628c
-SHA1 (patch-src_google_protobuf_stubs_atomicops.h) = afc60fb589e13a5ceb40996d3c367243c94c7b6c
+SHA1 (protobuf-2.6.1.tar.gz) = 375765455ad49e45e4e10364f91aaf2831d3e905
+RMD160 (protobuf-2.6.1.tar.gz) = f6f04600cd5d9a56161b070b26cdec49c680cbb7
+Size (protobuf-2.6.1.tar.gz) = 2641426 bytes
+SHA1 (patch-gtest_configure) = 57947ae35b3ffdc4906b0fcb99092e7cc5500a11
+SHA1 (patch-src_google_protobuf_stubs_atomicops.h) = 84754ded95b9b78f4211a7aa1de381ce53ed4e40
SHA1 (patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = eea504fd07a52e90b28e93644fd5cc6172011036
diff -r 9605b8112154 -r 88b2115abe0b devel/protobuf/patches/patch-gtest_configure
--- a/devel/protobuf/patches/patch-gtest_configure Tue Jun 09 22:09:41 2015 +0000
+++ b/devel/protobuf/patches/patch-gtest_configure Wed Jun 10 01:31:51 2015 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-gtest_configure,v 1.2 2013/03/17 14:54:36 wiz Exp $
+$NetBSD: patch-gtest_configure,v 1.3 2015/06/10 01:31:51 wiedi Exp $
Fix unportable test(1) construct.
http://code.google.com/p/protobuf/issues/detail?id=483
---- gtest/configure.orig 2013-03-17 14:48:21.000000000 +0000
+--- gtest/configure.orig 2014-10-22 20:10:24.000000000 +0000
+++ gtest/configure
-@@ -15556,7 +15556,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+@@ -15726,7 +15726,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
have_pthreads="$acx_pthread_ok"
fi
diff -r 9605b8112154 -r 88b2115abe0b devel/protobuf/patches/patch-src_google_protobuf_stubs_atomicops.h
--- a/devel/protobuf/patches/patch-src_google_protobuf_stubs_atomicops.h Tue Jun 09 22:09:41 2015 +0000
+++ b/devel/protobuf/patches/patch-src_google_protobuf_stubs_atomicops.h Wed Jun 10 01:31:51 2015 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_google_protobuf_stubs_atomicops.h,v 1.1 2015/02/19 14:12:33 joerg Exp $
+$NetBSD: patch-src_google_protobuf_stubs_atomicops.h,v 1.2 2015/06/10 01:31:51 wiedi Exp $
---- src/google/protobuf/stubs/atomicops.h.orig 2015-02-09 22:44:41.000000000 +0000
+--- src/google/protobuf/stubs/atomicops.h.orig 2014-10-21 00:01:40.000000000 +0000
+++ src/google/protobuf/stubs/atomicops.h
-@@ -77,7 +77,11 @@ typedef intptr_t Atomic64;
+@@ -78,7 +78,11 @@ typedef intptr_t Atomic64;
// Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or
// Atomic64 routines below, depending on your architecture.
diff -r 9605b8112154 -r 88b2115abe0b devel/py-protobuf/Makefile
--- a/devel/py-protobuf/Makefile Tue Jun 09 22:09:41 2015 +0000
+++ b/devel/py-protobuf/Makefile Wed Jun 10 01:31:51 2015 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2014/10/17 22:13:24 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2015/06/10 01:31:52 wiedi Exp $
.include "../../devel/protobuf/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
-MASTER_SITES= http://protobuf.googlecode.com/files/
MAINTAINER= khorben%defora.org@localhost
HOMEPAGE= http://code.google.com/p/protobuf/
diff -r 9605b8112154 -r 88b2115abe0b devel/py-protobuf/PLIST
--- a/devel/py-protobuf/PLIST Tue Jun 09 22:09:41 2015 +0000
+++ b/devel/py-protobuf/PLIST Wed Jun 10 01:31:51 2015 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2014/10/09 09:10:47 khorben Exp $
+@comment $NetBSD: PLIST,v 1.2 2015/06/10 01:31:52 wiedi Exp $
${PYSITELIB}/google/protobuf/__init__.py
${PYSITELIB}/google/protobuf/__init__.pyc
${PYSITELIB}/google/protobuf/__init__.pyo
@@ -59,6 +59,12 @@
${PYSITELIB}/google/protobuf/message_factory.py
${PYSITELIB}/google/protobuf/message_factory.pyc
${PYSITELIB}/google/protobuf/message_factory.pyo
+${PYSITELIB}/google/protobuf/pyext/__init__.py
+${PYSITELIB}/google/protobuf/pyext/__init__.pyc
+${PYSITELIB}/google/protobuf/pyext/__init__.pyo
+${PYSITELIB}/google/protobuf/pyext/cpp_message.py
+${PYSITELIB}/google/protobuf/pyext/cpp_message.pyc
+${PYSITELIB}/google/protobuf/pyext/cpp_message.pyo
${PYSITELIB}/google/protobuf/reflection.py
${PYSITELIB}/google/protobuf/reflection.pyc
${PYSITELIB}/google/protobuf/reflection.pyo
@@ -68,6 +74,12 @@
${PYSITELIB}/google/protobuf/service_reflection.py
${PYSITELIB}/google/protobuf/service_reflection.pyc
${PYSITELIB}/google/protobuf/service_reflection.pyo
+${PYSITELIB}/google/protobuf/symbol_database.py
+${PYSITELIB}/google/protobuf/symbol_database.pyc
+${PYSITELIB}/google/protobuf/symbol_database.pyo
+${PYSITELIB}/google/protobuf/text_encoding.py
+${PYSITELIB}/google/protobuf/text_encoding.pyc
+${PYSITELIB}/google/protobuf/text_encoding.pyo
${PYSITELIB}/google/protobuf/text_format.py
${PYSITELIB}/google/protobuf/text_format.pyc
${PYSITELIB}/google/protobuf/text_format.pyo
Home |
Main Index |
Thread Index |
Old Index