SHA256
1
0
forked from pool/protobuf

47 Commits

Author SHA256 Message Date
Martin Pluskal
6e21fed354 osc copypac from project:devel:tools:building package:protobuf revision:87
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=91
2020-05-05 09:16:54 +00:00
Martin Pluskal
c5a60c6b9c - Disable python2 bindings
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=90
2020-05-05 05:56:21 +00:00
Martin Pluskal
ec04cb40f8 osc copypac from project:devel:tools:building package:protobuf revision:87
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=89
2020-05-05 05:27:55 +00:00
Martin Pluskal
a81c6e6c39 Accepting request 800047 from home:mslacken:branches:devel:tools:building
- disable python2 builds for Tumbleweed

OBS-URL: https://build.opensuse.org/request/show/800047
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=88
2020-05-04 14:43:11 +00:00
Martin Pluskal
15ba827162 Accepting request 782071 from home:NicoK:branches:devel:tools:building
- Update to version 3.11.4; notable changes since 3.9.2:
  * C++: Make serialization method naming consistent
  * C++: Moved ShutdownProtobufLibrary() to message_lite.h. For
         backward compatibility a declaration is still available
         in stubs/common.h, but users should prefer message_lite.h
  * C++: Removed non-namespace macro EXPECT_OK()
  * C++: Removed mathlimits.h from stubs in favor of using
         std::numeric_limits from C++11
  * C++: Support direct pickling of nested messages
  * C++: Disable extension code gen for C#
  * C++: Switch the proto parser to the faster MOMI parser
  * C++: Unused imports of files defining descriptor extensions
         will now be reported
  * C++: Add proto2::util::RemoveSubranges to remove multiple
         subranges in linear time
  * C++: Support 32 bit values for ProtoStreamObjectWriter to Struct
  * C++: Removed the internal-only header coded_stream_inl.h and
         the internal-only methods defined there
  * C++: Enforced no SWIG wrapping of descriptor_database.h
         (other headers already had this restriction)
  * C++: Implementation of the equivalent of the MOMI parser for
         serialization. This removes one of the two serialization
         routines, by making the fast array serialization routine
         completely general. SerializeToCodedStream can now be
         implemented in terms of the much much faster array
         serialization. The array serialization regresses slightly,
         but when array serialization is not possible this wins big
  * C++: Add move constructor for Reflection's SetString
  * Java: Remove the usage of MethodHandle, so that Android users
          prior to API version 26 can use protobuf-java
  * Java: Publish ProGuard config for javalite
  * Java: Include unknown fields when merging proto3 messages in
          Java lite builders
  * Java: Have oneof enums implement a separate interface (other
          than EnumLite) for clarity
  * Java: Opensource Android Memory Accessors
  * Java: Change ProtobufArrayList to use Object[] instead of
          ArrayList for 5-10% faster parsing
  * Java: Make a copy of JsonFormat.TypeRegistry at the protobuf
          top level package. This will eventually replace
          JsonFormat.TypeRegistry
  * Java: Add Automatic-Module-Name entries to the Manifest
  * Python: Add float_precision option in json format printer
  * Python: Optionally print bytes fields as messages in unknown
            fields, if possible
  * Python: Experimental code gen (fast import protobuf module)
            which only work with cpp generated code linked in
  * Python: Add descriptor methods in descriptor_pool are deprecated
  * Python: Added delitem for Python extension dict
  * JavaScript: Remove guard for Symbol iterator for jspb.Map
  * JavaScript: Remove deprecated boolean option to getResultBase64String()
  * JavaScript: Change the parameter types of binaryReaderFn in
                ExtensionFieldBinaryInfo to (number, ?, ?)
  * JavaScript: Create dates.ts and time_of_days.ts to mirror Java
                versions. This is a near-identical conversion of
                c.g.type.util.{Dates,TimeOfDays} respectively
  * JavaScript: Migrate moneys to TypeScript
  * PHP: Increase php7.4 compatibility
  * PHP: Implement lazy loading of php class for proto messages
  * Ruby: Support hashes for struct initializers
  * C#: Experimental proto2 support is now officially available
  * C#: Change _Extensions property to normal body rather than expression
  * Objective C: Remove OSReadLittle* due to alignment requirements
  * Other: Override CocoaPods module to lowercase
  * further bugfixes and optimisations

OBS-URL: https://build.opensuse.org/request/show/782071
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=86
2020-03-06 14:40:54 +00:00
Martin Pluskal
4db910181d Accepting request 775081 from home:mlin7442:branches:devel:tools:building
add a bugref

OBS-URL: https://build.opensuse.org/request/show/775081
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=84
2020-02-18 09:41:16 +00:00
Martin Pluskal
dccaab8271 - Use tarball provided by upstream
- Small package cleanup

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=82
2019-12-20 09:04:57 +00:00
Martin Pluskal
d279649968 Accepting request 758169 from home:mmnelemane:branches:devel:tools:building
Updated to version 3.9.2

OBS-URL: https://build.opensuse.org/request/show/758169
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=81
2019-12-19 15:41:46 +00:00
Martin Pluskal
68ecc1075f Accepting request 733583 from home:fstrba:maven
misc java fixes

OBS-URL: https://build.opensuse.org/request/show/733583
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=79
2019-09-27 07:59:04 +00:00
Martin Pluskal
17bd0f606c Accepting request 725226 from home:jengelh:branches:devel:tools:building
- Update to new upstream release 3.9.1

OBS-URL: https://build.opensuse.org/request/show/725226
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=77
2019-08-22 13:20:46 +00:00
Martin Pluskal
8125f843e6 Accepting request 708508 from home:fstrba:maven
Specify source and targer levels

OBS-URL: https://build.opensuse.org/request/show/708508
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=75
2019-06-08 16:22:03 +00:00
Martin Pluskal
d8c9afa12f Accepting request 707936 from home:jengelh:branches:devel:tools:building
- Update to new upstream release 3.8.0

OBS-URL: https://build.opensuse.org/request/show/707936
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=74
2019-06-06 05:58:01 +00:00
Martin Pluskal
2ed720a3b1 Accepting request 697628 from home:marxin:branches:devel:tools:building
Disable LTO (boo#1133277).

OBS-URL: https://build.opensuse.org/request/show/697628
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=72
2019-05-02 08:14:38 +00:00
Martin Pluskal
c467dc3b10 Accepting request 679026 from home:mrostecki
- Add upstream patch which fixes build with Bazel 0.22.0.
  * 0001-remove-PACKAGE_NAME-and-REPOSITORY_NAME-deprecated.patch

OBS-URL: https://build.opensuse.org/request/show/679026
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=70
2019-02-26 08:34:11 +00:00
Martin Pluskal
4f4d4fffae Accepting request 664445 from home:mrostecki
- Add protobuf-source package - some programs using gRPC and
  protobuf need protobuf definitions which are included inside the
  source code, but are not included in the devel package.

OBS-URL: https://build.opensuse.org/request/show/664445
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=68
2019-01-18 15:52:56 +00:00
Martin Pluskal
34c6e8bb26 Accepting request 658895 from home:fstrba:branches:devel:tools:building
Add maven pom files to the protobuf-java packages and generate mvn(...) provides

OBS-URL: https://build.opensuse.org/request/show/658895
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=66
2018-12-18 12:45:44 +00:00
Martin Pluskal
c805aa0de8 Accepting request 635274 from home:tbechtold:branches:devel:tools:building
- update to version v3.6.1:
  * PHP namespaces for nested messages and enums (#4536)
  * Allows the json marshaller to be passed json marshal options (#4252)
  * Make sure to delete temporary maps used by FileDescriptorTables
  * fix python cpp kokoro build
  * Change C# reflection to avoid using expression trees
  * Updated checked-in generated code
  * Removed unused variables in repeated_scalar_container.cc
  * Removed unused code pertaining to shared_ptr
  * Include no_package.proto in Python test
  * Only check filenames when end with .py in _CalledFromGeneratedFile() (#4262)
  * Convert descriptortype to type for upb_msgval_sizeof (#4357)
  * Removed duplicate using statement from ReflectionUtil.cs
  * Add support for power ppc64le
  * Cat the test-suite.log on errors for presubits
  * Address review comments
  * Add third-party RPC implementation: raster - a network framework supports pbrpc by 'service' keyword.
  * Delete javanano kokoro build configs.
  * Updated Ruby conformance test failure list
  * Removed use of some type traits
  * Adopt php_metadata_namespace in php code generator (#4622)
  * Move to Xcode 9.3 which also means a High Sierra image.
  * Add protoc release script for Linux build.
  * protoc-artifacts: Avoid storing temporary files and use fewer layers
  * Rewrite go_benchmark
  * Add files to build ruby artifact for mac on kokoro (#4814)
  * Remove javanano.
  * Comment out unused command from release script.
  * Avoid direct check of class name (#4601)
  * The JsonParseOptions::ignore_unknown_fields option behavior treats

OBS-URL: https://build.opensuse.org/request/show/635274
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=64
2018-09-12 08:27:09 +00:00
Ismail Dönmez
1f3f03a8ae Accepting request 607107 from home:tbechtold:branches:devel:tools:building
update to version v3.5.2:
  * Update release date
  * Disable pip cache when testing uploaded packages
  * Replace private timelib_update_ts with public date_timestamp_get
  * Remove py2.6 support.
  * Cherrypick for csharp, including:
  * Update changelog
  * Update changelog for 3.5.1
  * Fix uploading binary wheel.
  * Fix memory leak when creating map field via array.
  * Update rake file to build of 2.1.6.
  * Avoid using php_date_get_date_ce() in case date extension is not
  * Update protoc-artfacts
  * Fix string::back() usage in googletest.cc
  * Fix memory leak in php7
  * Support ruby2.5
  * io_win32: support non-ASCII paths
  * Explicitly propagate the status of Flush().
  * Add discard unknown API in ruby. (#3990)
  * Update version for 3.5.0.post1
  * remove nullptr
  * Fix more memory leak for php c extension (#4211)
  * Bumping number to fix ruby 2.1 on mac
  * io_win32_unittest: remove incorrect error check
  * Fix memory leak when creating repeated field via array.
  * Update version number for php c extension (#3896)
  * Fix file permission for python package.
  * Create containing directory before generating well_known_types_embed.cc
  * Replace C++11 only method std::map::at
  * Recursively clear unknown fields in submessages. (#3982)

OBS-URL: https://build.opensuse.org/request/show/607107
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=62
2018-05-16 11:26:52 +00:00
Martin Pluskal
84439a1cac Accepting request 579462 from home:mlin7442:branches:devel:tools:building
add upstream patch to fix compile error on s390x

OBS-URL: https://build.opensuse.org/request/show/579462
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=60
2018-02-23 10:53:55 +00:00
Martin Pluskal
c782c2c29c Accepting request 568223 from openSUSE:Factory:Staging:O:DVD
- Conditionalize python2 and python3 in order to be able to build
  without python2 present in distribution
  * Use singlespec macros to simplify the logic
- Run fdupes on python modules to avoid duplicates
- Remove shebangs from import-only code

OBS-URL: https://build.opensuse.org/request/show/568223
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=58
2018-01-22 17:03:30 +00:00
Martin Pluskal
ebfb94fbcf Accepting request 556325 from home:jengelh:branches:devel:tools:building
a newer grpc desires a newer protobuf it seems ("has_php_namespace" function/member).
protobuf autogen.sh now complains about curl, so replace by autoreconf.

- Update to new upstream release 3.5.0

OBS-URL: https://build.opensuse.org/request/show/556325
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=56
2017-12-12 09:39:15 +00:00
Martin Pluskal
66ee0bd746 - Install LICENSE
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=54
2017-06-16 08:02:37 +00:00
Martin Pluskal
fcf7b4cf60 Accepting request 503018 from home:alarrosa:branches:devel:tools:building
- Update to 3.3.0 :
  * C++:
    * Fixed map fields serialization of DynamicMessage to correctly serialize
      both key and value regardless of their presence.
    * Parser now rejects field number 0 correctly.
    * New API Message::SpaceUsedLong() that’s equivalent to
      Message::SpaceUsed() but returns the value in size_t.
    * JSON support
      - New flag always_print_enums_as_ints in JsonPrintOptions.
      - New flag preserve_proto_field_names in JsonPrintOptions. It will instruct
        the JSON printer to use the original field name declared in the .proto
        file instead of converting them to lowerCamelCase when printing JSON.
      - JsonPrintOptions.always_print_primtive_fields now works for oneof message
        fields.
      - Fixed a bug that doesn’t allow different fields to set the same json_name
        value.
      - Fixed a performance bug that causes excessive memory copy when printing
        large messages.
    * Various performance optimizations.
  * Java:
    * Map field setters eagerly validate inputs and throw NullPointerExceptions
      as appropriate.
    * Added ByteBuffer overloads to the generated parsing methods and the Parser
      interface.
    * proto3 enum's getNumber() method now throws on UNRECOGNIZED values.
    * Output of JsonFormat is now locale independent.
  * Python:
    * Added FindServiceByName() in the pure-Python DescriptorPool. This works only
      for descriptors added with DescriptorPool.Add(). Generated descriptor_pool
      does not support this yet.

OBS-URL: https://build.opensuse.org/request/show/503018
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=53
2017-06-12 07:50:56 +00:00
Martin Pluskal
5e876b4297 Accepting request 451783 from home:StefanBruens:branches:devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/451783
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=51
2017-01-22 09:04:28 +00:00
Martin Pluskal
f187a0a7bd Accepting request 449181 from home:StefanBruens:branches:devel:tools:building
I have added the link to the release notes, but I could not come up with a concise list of changes, but the proto2 -> proto3 change itself.

OBS-URL: https://build.opensuse.org/request/show/449181
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=49
2017-01-10 17:45:02 +00:00
Martin Pluskal
5866010ff0 Accepting request 447555 from home:StefanBruens:branches:devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/447555
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=47
2016-12-24 10:20:14 +00:00
Martin Pluskal
96697eacb6 - Drop protobuf-libs as it is just workaround for rpmlint issue
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=46
2016-12-14 07:40:56 +00:00
Martin Pluskal
28c9fb95a8 Accepting request 445256 from home:StefanBruens:branches:devel:tools:building
preparation for protobuf update to 3.1.0
next steps:
- copy protobuf to protobuf2, to keep provider of libprotobuf.so.9
- update protobuf to 3.1.0, providing libprotobuf.so.11

Also see https://build.opensuse.org/request/show/441283

OBS-URL: https://build.opensuse.org/request/show/445256
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=45
2016-12-12 07:14:04 +00:00
a0cc7759ba bnc#957472
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=43
2015-12-07 05:59:12 +00:00
b78c75bfc6 - disable google-apputils usage. They are only used for the testsuite which
wasn't called anyways. The next upstream version will not use
  apputils anymore anyways. Fixes build on SLE12.
  9f42f5f4a4

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=42
2015-12-07 04:19:50 +00:00
Ismail Dönmez
147a54e8f3 Accepting request 344030 from home:alarrosa:branches:KDE:Qt5
- Python bindings require a recent python-google-apputils, so build
 them where it's available (that's anything recent except SLE12)

OBS-URL: https://build.opensuse.org/request/show/344030
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=40
2015-11-12 12:45:47 +00:00
Ismail Dönmez
78faca909b Accepting request 343974 from home:alarrosa:branches:KDE:Qt5
- Fix check so python bindings are not built in SLE12

OBS-URL: https://build.opensuse.org/request/show/343974
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=39
2015-11-12 10:55:59 +00:00
Martin Pluskal
5c6042cc23 Accepting request 343169 from home:edogawa
This fixes the building of the python-protobuf subpackage for Leap. Please make this available via the main distro update repos, if possible

OBS-URL: https://build.opensuse.org/request/show/343169
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=38
2015-11-09 13:08:52 +00:00
Ismail Dönmez
488210a4c5 Accepting request 319249 from home:dimstar:Factory
- Fix baselibs.conf: last time the sonames were bumped,
  baselibs.conf has not been updated accordingly.

OBS-URL: https://build.opensuse.org/request/show/319249
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=36
2015-07-29 15:54:39 +00:00
Martin Pluskal
425f340e0c OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=34 2015-03-03 16:42:35 +00:00
Martin Pluskal
cf45aba3de Accepting request 288202 from home:pluskalm:branches:devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/288202
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=32
2015-03-03 16:23:28 +00:00
Tomáš Chvátal
9bad127001 Accepting request 205913 from home:sleep_walker
- fix java flags to build package for SLE_11_SP3

OBS-URL: https://build.opensuse.org/request/show/205913
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=30
2013-11-05 13:43:51 +00:00
Michal Hrusecky (old before rename to _miska_)
ae492bb410 Accepting request 178026 from home:k0da:ppc
- package google/protobuf/stubs/atomicops_internals_generic_gcc.h
  mosh reqires it

OBS-URL: https://build.opensuse.org/request/show/178026
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=28
2013-06-10 10:39:26 +00:00
Ismail Dönmez
db60078393 Accepting request 176725 from home:k0da:ppc
- Build on architectures where no specialized code has been written
  0001-Add-generic-GCC-support-for-atomic-operations.patch

OBS-URL: https://build.opensuse.org/request/show/176725
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=26
2013-05-27 11:01:00 +00:00
Ismail Dönmez
df2fed1f35 Accepting request 171087 from home:ftake:branches:devel:tools:building
upstream update

OBS-URL: https://build.opensuse.org/request/show/171087
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=23
2013-04-16 16:23:32 +00:00
Philipp Thomas
f3622d7283 Accepting request 121524 from home:elvigia:branches:devel:tools:building
- BuildRequire zlib-devel otherwise gzip_stream is not built 
  thus breaking newer releases of mosh.

OBS-URL: https://build.opensuse.org/request/show/121524
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=21
2012-05-19 18:48:39 +00:00
Factory Maintainer
c643dc2b9b Accepting request 109741 from home:dimstar:gcc47
inject gtest 1.5.0 - fixes build with gcc 4.7

OBS-URL: https://build.opensuse.org/request/show/109741
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=19
2012-04-17 19:19:12 +00:00
Stephan Kulow
d875545181 - remove %release from requires
- Update to Protobuf 2.4.1:

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=16
2011-12-21 09:47:43 +00:00
Stephan Kulow
d4edcd45e4 Accepting request 88895 from home:tony2001:branches:devel:tools:building
Added list of changes in 2.4.1.

OBS-URL: https://build.opensuse.org/request/show/88895
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=13
2011-10-26 05:45:30 +00:00
e419e41f32 Accepting request 67825 from home:oertel:branches:openSUSE:Factory
ok

OBS-URL: https://build.opensuse.org/request/show/67825
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=11
2011-04-19 06:47:25 +00:00
Berthold Gunreben
39d0c83c42 Accepting request 57816 from devel:tools:building
Accepted submit request 57816 from user lnussel

OBS-URL: https://build.opensuse.org/request/show/57816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=4
2011-01-12 09:16:37 +00:00
OBS User autobuild
ca16df1f29 Accepting request 39309 from devel:tools:building
Copy from devel:tools:building/protobuf based on submit request 39309 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/39309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=1
2010-05-05 21:41:16 +00:00