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.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/94372197660d
branches:  trunk
changeset: 331651:94372197660d
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Mar 21 21:26:23 2019 +0000

description:
protobuf: updated to 3.7.0

version 3.7.0:
C++
* Introduced new MOMI (maybe-outside-memory-interval) parser.
* Add an option to json_util to parse enum as case-insensitive. In the future, enum parsing in json_util will become case-sensitive.
* Added conformance test for enum aliases
* Added support for --cpp_out=speed:...
* Added use of C++ override keyword where appropriate
* Many other cleanups and fixes.

diffstat:

 devel/protobuf/Makefile                                                      |   36 +-
 devel/protobuf/Makefile.common                                               |   16 -
 devel/protobuf/PLIST                                                         |    9 +-
 devel/protobuf/buildlink3.mk                                                 |    4 +-
 devel/protobuf/distinfo                                                      |   18 +-
 devel/protobuf/patches/patch-configure                                       |  168 +---------
 devel/protobuf/patches/patch-configure.ac                                    |   15 -
 devel/protobuf/patches/patch-m4_acx__check__suncc.m4                         |   15 -
 devel/protobuf/patches/patch-src_google_protobuf_message__lite.cc            |   14 -
 devel/protobuf/patches/patch-src_google_protobuf_testing_zcgunzip.cc         |   14 +
 devel/protobuf/patches/patch-src_google_protobuf_testing_zcgzip.cc           |   14 +
 devel/protobuf/patches/patch-third__party_googletest_googlemock_configure.ac |   24 -
 12 files changed, 69 insertions(+), 278 deletions(-)

diffs (truncated from 469 to 300 lines):

diff -r db40c83f7da0 -r 94372197660d devel/protobuf/Makefile
--- a/devel/protobuf/Makefile   Thu Mar 21 15:33:11 2019 +0000
+++ b/devel/protobuf/Makefile   Thu Mar 21 21:26:23 2019 +0000
@@ -1,34 +1,36 @@
-# $NetBSD: Makefile,v 1.17 2018/12/23 23:51:26 tsutsui Exp $
+# $NetBSD: Makefile,v 1.18 2019/03/21 21:26:23 adam Exp $
 
-.include "Makefile.common"
-
-DISTNAME=      protobuf-cpp-${PROTOBUFVER}
+DISTNAME=      protobuf-cpp-3.7.0
 PKGNAME=       ${DISTNAME:S/-cpp//}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
+GITHUB_PROJECT=        protobuf
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/protocolbuffers/protobuf
 COMMENT=       Google protocol buffers
+LICENSE=       modified-bsd
+
+WRKSRC=                ${WRKDIR}/${DISTNAME:S/-cpp//}
 
-GNU_CONFIGURE= yes
-USE_LIBTOOL=   yes
-USE_LANGUAGES= c++11 c
-USE_TOOLS+=    autoreconf automake autoconf gmake
+USE_LANGUAGES=         c c++11
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake
+GNU_CONFIGURE=         yes
+PKGCONFIG_OVERRIDE+=   protobuf-lite.pc.in
+PKGCONFIG_OVERRIDE+=   protobuf.pc.in
+TEST_TARGET=           check
 
 SET_LIBDIR=    yes
 
-PKGCONFIG_OVERRIDE+=   protobuf-lite.pc.in
-PKGCONFIG_OVERRIDE+=   protobuf.pc.in
-
-TEST_TARGET=   check
-
 .if ${MACHINE_ARCH} == "i386"
 # 64 bit atomic ops are required
 CXXFLAGS+=     -march=i586
 .endif
 
-pre-configure:
-       ${RUN} cd ${WRKSRC} && ./autogen.sh
-
-.include "../../devel/googletest/buildlink3.mk"
+# included in third_party
+#.include "../../devel/googletest/buildlink3.mk"
 BUILDLINK_API_DEPENDS.zlib+=   zlib>=1.2.0.4
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
diff -r db40c83f7da0 -r 94372197660d devel/protobuf/Makefile.common
--- a/devel/protobuf/Makefile.common    Thu Mar 21 15:33:11 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-# $NetBSD: Makefile.common,v 1.13 2019/01/08 05:56:19 markd Exp $
-#
-# used by devel/protobuf/Makefile
-# used by devel/py-protobuf/Makefile
-
-PROTOBUFVER=   3.6.1
-
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
-GITHUB_PROJECT=        protobuf
-GITHUB_RELEASE=        v${PKGVERSION_NOREV}
-
-CATEGORIES=    devel
-HOMEPAGE=       https://github.com/google/protobuf
-LICENSE=       modified-bsd
-
-WRKSRC=                ${WRKDIR}/protobuf-${PKGVERSION_NOREV}
diff -r db40c83f7da0 -r 94372197660d devel/protobuf/PLIST
--- a/devel/protobuf/PLIST      Thu Mar 21 15:33:11 2019 +0000
+++ b/devel/protobuf/PLIST      Thu Mar 21 21:26:23 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2018/08/04 21:19:39 minskim Exp $
+@comment $NetBSD: PLIST,v 1.11 2019/03/21 21:26:23 adam Exp $
 bin/protoc
 include/google/protobuf/any.h
 include/google/protobuf/any.pb.h
@@ -37,6 +37,7 @@
 include/google/protobuf/empty.pb.h
 include/google/protobuf/empty.proto
 include/google/protobuf/extension_set.h
+include/google/protobuf/extension_set_inl.h
 include/google/protobuf/field_mask.pb.h
 include/google/protobuf/field_mask.proto
 include/google/protobuf/generated_enum_reflection.h
@@ -66,6 +67,10 @@
 include/google/protobuf/message_lite.h
 include/google/protobuf/metadata.h
 include/google/protobuf/metadata_lite.h
+include/google/protobuf/parse_context.h
+include/google/protobuf/port.h
+include/google/protobuf/port_def.inc
+include/google/protobuf/port_undef.inc
 include/google/protobuf/reflection.h
 include/google/protobuf/reflection_ops.h
 include/google/protobuf/repeated_field.h
@@ -86,10 +91,10 @@
 include/google/protobuf/stubs/once.h
 include/google/protobuf/stubs/platform_macros.h
 include/google/protobuf/stubs/port.h
-include/google/protobuf/stubs/singleton.h
 include/google/protobuf/stubs/status.h
 include/google/protobuf/stubs/stl_util.h
 include/google/protobuf/stubs/stringpiece.h
+include/google/protobuf/stubs/strutil.h
 include/google/protobuf/stubs/template_util.h
 include/google/protobuf/text_format.h
 include/google/protobuf/timestamp.pb.h
diff -r db40c83f7da0 -r 94372197660d devel/protobuf/buildlink3.mk
--- a/devel/protobuf/buildlink3.mk      Thu Mar 21 15:33:11 2019 +0000
+++ b/devel/protobuf/buildlink3.mk      Thu Mar 21 21:26:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2018/08/04 21:19:39 minskim Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2019/03/21 21:26:23 adam Exp $
 
 BUILDLINK_TREE+=       protobuf
 
@@ -6,7 +6,7 @@
 PROTOBUF_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.protobuf+=       protobuf>=3.0.0
-BUILDLINK_ABI_DEPENDS.protobuf?=       protobuf>=3.6.0
+BUILDLINK_ABI_DEPENDS.protobuf+=       protobuf>=3.6.0
 BUILDLINK_PKGSRCDIR.protobuf?=         ../../devel/protobuf
 
 .include "../../devel/zlib/buildlink3.mk"
diff -r db40c83f7da0 -r 94372197660d devel/protobuf/distinfo
--- a/devel/protobuf/distinfo   Thu Mar 21 15:33:11 2019 +0000
+++ b/devel/protobuf/distinfo   Thu Mar 21 21:26:23 2019 +0000
@@ -1,12 +1,10 @@
-$NetBSD: distinfo,v 1.22 2019/01/08 05:56:19 markd Exp $
+$NetBSD: distinfo,v 1.23 2019/03/21 21:26:23 adam Exp $
 
-SHA1 (protobuf-cpp-3.6.1.tar.gz) = 0595bb8c2447ebd13bec4818f99fa8faa8c8b8c5
-RMD160 (protobuf-cpp-3.6.1.tar.gz) = b8b80a6c7150ead6acde8285b4462957cf2c2cd3
-SHA512 (protobuf-cpp-3.6.1.tar.gz) = 61dd237ff053fa41af661f81dee9b610fc26ea1ace8f644a044c6f1e042075261ebca07c2aa9329dfc5e1dd1daeb345a4c8ff73a7b8c689aa74a11ff71a01f45
-Size (protobuf-cpp-3.6.1.tar.gz) = 4450975 bytes
-SHA1 (patch-configure) = a35883ff62ba1db429a6cbc12b75714e78e28abf
-SHA1 (patch-configure.ac) = 208a5ce72905aa95ad73ee0f751d4a58f0c37f5f
-SHA1 (patch-m4_acx__check__suncc.m4) = faf96ee5d305c08d30e7c7d3578896971983e1dd
-SHA1 (patch-src_google_protobuf_message__lite.cc) = 8f2ffe07b2710de5365148153978ad6d9939f522
+SHA1 (protobuf-cpp-3.7.0.tar.gz) = ff4b226c4300dc17691ca6f6ae0af34a2fd6f3d2
+RMD160 (protobuf-cpp-3.7.0.tar.gz) = 12da78f822d9be9ef38cfd43747184cedfb0bbe4
+SHA512 (protobuf-cpp-3.7.0.tar.gz) = 111b3d5d9823f0df3f8f6b7594dc680368b48be5a1ea1e785cc0eb1c9bce71dce598d45de06b6a2f768c2c7c2ded0cc3fa9ad561390f9ac7d8e33edb9d573f7d
+Size (protobuf-cpp-3.7.0.tar.gz) = 4554405 bytes
+SHA1 (patch-configure) = 22a1fc4e701b348772b3e2e4c68aad3b97032cc5
+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
-SHA1 (patch-third__party_googletest_googlemock_configure.ac) = dc06fc7aebaef02df536458e45f77386cc857261
diff -r db40c83f7da0 -r 94372197660d devel/protobuf/patches/patch-configure
--- a/devel/protobuf/patches/patch-configure    Thu Mar 21 15:33:11 2019 +0000
+++ b/devel/protobuf/patches/patch-configure    Thu Mar 21 21:26:23 2019 +0000
@@ -1,59 +1,11 @@
-$NetBSD: patch-configure,v 1.3 2018/08/04 21:19:39 minskim Exp $
+$NetBSD: patch-configure,v 1.4 2019/03/21 21:26:23 adam Exp $
 
+Disable Solaris ISA selection.
 Fix unportable test(1) operator.
 
---- configure.orig     2018-06-06 19:44:06.000000000 +0000
+--- configure.orig     2019-02-28 21:34:14.000000000 +0000
 +++ configure
-@@ -787,7 +787,6 @@ infodir
- docdir
- oldincludedir
- includedir
--runstatedir
- localstatedir
- sharedstatedir
- sysconfdir
-@@ -882,7 +881,6 @@ datadir='${datarootdir}'
- sysconfdir='${prefix}/etc'
- sharedstatedir='${prefix}/com'
- localstatedir='${prefix}/var'
--runstatedir='${localstatedir}/run'
- includedir='${prefix}/include'
- oldincludedir='/usr/include'
- docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-@@ -1135,15 +1133,6 @@ do
-   | -silent | --silent | --silen | --sile | --sil)
-     silent=yes ;;
- 
--  -runstatedir | --runstatedir | --runstatedi | --runstated \
--  | --runstate | --runstat | --runsta | --runst | --runs \
--  | --run | --ru | --r)
--    ac_prev=runstatedir ;;
--  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
--  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
--  | --run=* | --ru=* | --r=*)
--    runstatedir=$ac_optarg ;;
--
-   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
-     ac_prev=sbindir ;;
-   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
-@@ -1281,7 +1270,7 @@ fi
- for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
-               datadir sysconfdir sharedstatedir localstatedir includedir \
-               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
--              libdir localedir mandir runstatedir
-+              libdir localedir mandir
- do
-   eval ac_val=\$$ac_var
-   # Remove trailing slashes.
-@@ -1434,7 +1423,6 @@ Fine tuning of the installation director
-   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
-   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
-   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
--  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
-   --libdir=DIR            object code libraries [EPREFIX/lib]
-   --includedir=DIR        C header files [PREFIX/include]
-   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
-@@ -7600,7 +7588,7 @@ fi
+@@ -7601,7 +7589,7 @@ fi
  fi
  
    case $host_os in
@@ -62,109 +14,7 @@
        for ac_prog in isainfo
  do
    # Extract the first word of "$ac_prog", so it can be a program name with args.
-@@ -8796,7 +8784,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu 
-   lt_cv_deplibs_check_method=pass_all
-   ;;
- 
--netbsd* | netbsdelf*-gnu)
-+netbsd*)
-   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
-     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
-   else
-@@ -12231,9 +12219,6 @@ $as_echo_n "checking whether the $compil
-   openbsd* | bitrig*)
-     with_gnu_ld=no
-     ;;
--  linux* | k*bsd*-gnu | gnu*)
--    link_all_deplibs=no
--    ;;
-   esac
- 
-   ld_shlibs=yes
-@@ -12488,7 +12473,7 @@ _LT_EOF
-       fi
-       ;;
- 
--    netbsd* | netbsdelf*-gnu)
-+    netbsd*)
-       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
-       wlarc=
-@@ -13158,7 +13143,6 @@ $as_echo "$lt_cv_irix_exported_symbol" >
-       if test yes = "$lt_cv_irix_exported_symbol"; then
-           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` 
$wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
-       fi
--      link_all_deplibs=no
-       else
-       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o 
$lib'
-       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry 
$output_objdir/so_locations -exports_file $export_symbols -o $lib'
-@@ -13180,7 +13164,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >
-       esac
-       ;;
- 
--    netbsd* | netbsdelf*-gnu)
-+    netbsd*)
-       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
-       else
-@@ -14295,18 +14279,6 @@ fi
-   dynamic_linker='GNU/Linux ld.so'
-   ;;
- 
--netbsdelf*-gnu)
--  version_type=linux
--  need_lib_prefix=no
--  need_version=no
--  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
--  soname_spec='${libname}${release}${shared_ext}$major'
--  shlibpath_var=LD_LIBRARY_PATH
--  shlibpath_overrides_runpath=no
--  hardcode_into_libs=yes
--  dynamic_linker='NetBSD ld.elf_so'
--  ;;
--
- netbsd*)
-   version_type=sunos
-   need_lib_prefix=no
-@@ -17201,7 +17173,7 @@ lt_prog_compiler_static_CXX=
-           ;;
-       esac
-       ;;
--      netbsd* | netbsdelf*-gnu)
-+      netbsd*)



Home | Main Index | Thread Index | Old Index