6
0
forked from pool/protobuf

118 Commits

Author SHA256 Message Date
e751161186 Revert to -rc52eb015706124355e431f06f3e97605 2025-08-21 13:41:50 +02:00
Martin Pluskal
d1376bdf61 - Update to 31.1
* Support allowing late injection of language feature set
    defaults from FeatureSet extensions while getting feature
    set extension values.
  * Support allowing late injection of language feature set
    defaults from FeatureSet extensions while getting feature
    set extension values.
  * Add missing copts attribute (#21982)
  * Support allowing late injection of language feature set
    defaults from FeatureSet extensions while getting feature
    set extension values.
  * Support allowing late injection of language feature set
    defaults from FeatureSet extensions while getting feature
    set extension values.
  * Python pyi print "import datetime" for Duration/Timestamp
    field
  * Add recursion depth limits to pure python (#bsc1244663, CVE-2025-4565)
  * Fix cmake staleness test
- from version 31.0
  * Loosen py_proto_library check to be on the import path instead
    of full directory (i.e. excluding external/module-name prefix).
  * Add support for import option for protoc.
  * Add notices.h with information about our dependencies' licenses
    and add --notices flag to protoc to print the contents of that file.
  * Move upb minitable code generator into protoc
  * Upgrade abseil-cpp to 20250127 and use @com_google_absl -> @abseil-cpp
    and com_google_googletest -> @googletest canonical BCR names.
  * Remove fast-path check for non-clang compilers in MessageCreator.
  * Add missing include.
  * Add weak attribute to GetClassData to speed up clang builds.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=206
2025-06-18 12:43:49 +00:00
Martin Pluskal
c78eea5c12 protobuf 30.2, needed for current abseil-cpp
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=204
2025-05-27 07:07:54 +00:00
Martin Pluskal
b9ad65081e - update to 29.3
* Fix cmake installation location of java and go features.
  * Add .bazeliskrc for protobuf repo to tell bazelisk to use 7.1.2 by default. 
  * Update artifact actions to v4
  * Added protobuf-java-util-removescope.patch to avoid Java compilation errors
    due to dependencies marked as runtime.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=202
2025-05-05 06:48:59 +00:00
66b8197c39 Accepting request 1218833 from home:jengelh:branches:devel:tools:building
- Add versionize-shlibs.patch, delete static-utf8-ranges.patch
  * Build the libutf8_range and libutf8_validity as shared library
    to conform to SLPP

OBS-URL: https://build.opensuse.org/request/show/1218833
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=197
2024-10-29 17:15:02 +00:00
48df2da91b Accepting request 1218800 from home:fstrba:branches:devel:tools:building
fixup

OBS-URL: https://build.opensuse.org/request/show/1218800
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=196
2024-10-28 12:09:00 +00:00
410cfe1f18 Accepting request 1218756 from home:fstrba:branches:devel:tools:building
revert some of the changes that would make upgrades a pain

OBS-URL: https://build.opensuse.org/request/show/1218756
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=195
2024-10-28 10:24:05 +00:00
2adc256531 Accepting request 1218671 from home:fstrba:branches:devel:tools:building
Hopefully the last tiny installcheck fix, without changelog now, since it falls under the separate compiler package

OBS-URL: https://build.opensuse.org/request/show/1218671
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=191
2024-10-28 08:08:43 +00:00
97e0db392d - update to 28.3:
* Fix packed reflection handling bug in edition 2023.
  * Mute the minor version warning
  * Populate Kotlin Manifest Files
  * Re-export includingDefaultValueFields in deprecated state for
    important Cloud customer. (https://github.com/protocolbuffers
    /protobuf/commit/3b62d78dc70d2b43af5998d427452246279363c7)
  * Cherrypick restoration of mutableCopy helpers (https://github
    .com/protocolbuffers/protobuf/commit/3ea568a9b6107ebf0d617c47
    6f53a31490fd3182)
  * Mute the minor version warning

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=189
2024-10-25 15:24:43 +00:00
4a53e832d4 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=188 2024-10-25 15:20:10 +00:00
683f61fd35 Accepting request 1218127 from home:fstrba:branches:devel:tools:building
Fix install-check failures by building helper libraries static + split protoc into separate subpackage

OBS-URL: https://build.opensuse.org/request/show/1218127
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=187
2024-10-25 15:06:45 +00:00
9b7bbbdf47 Accepting request 1216706 from home:fstrba:branches:devel:tools:building
Fix build of the python-protobuf on different distributions + package maven artifact metadata for our protoc binary so that the automation of protobuf-maven-plugin finds it + try to simplify upgrades

OBS-URL: https://build.opensuse.org/request/show/1216706
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=183
2024-10-21 13:25:32 +00:00
894747b45b Accepting request 1208150 from home:fstrba:branches:devel:tools:building
Split packages into separate _multibuild specs

OBS-URL: https://build.opensuse.org/request/show/1208150
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=182
2024-10-18 08:41:16 +00:00
Martin Pluskal
8c8573aa7f Accepting request 1206076 from system:homeautomation:home-assistant:unstable
- update to 28.2
  C++: Fix cord handling in DynamicMessage and oneofs
  Java: Add recursion check when parsing unknown fields
- python packages became arch dependend

OBS-URL: https://build.opensuse.org/request/show/1206076
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=181
2024-10-12 20:47:40 +00:00
Martin Pluskal
fb929e86af Accepting request 1193239 from home:AndreasStieger:branches:devel:microos
- tweak and correct how minimum version of abseil is specified
  (20230125 to 20230125.3)
- Remove explicit requirements of the protobuf-devel package, as
  the they are autogenerated when needed

OBS-URL: https://build.opensuse.org/request/show/1193239
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=179
2024-08-12 07:03:53 +00:00
Martin Pluskal
78efdebbe9 Accepting request 1191245 from home:AndreasStieger:branches:devel:tools:building
protobuf 25.4

OBS-URL: https://build.opensuse.org/request/show/1191245
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=177
2024-08-04 14:12:04 +00:00
Martin Pluskal
b973038a23 Accepting request 1156655 from home:AndreasStieger:branches:devel:tools:building
protobuf 25.3

OBS-URL: https://build.opensuse.org/request/show/1156655
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=175
2024-03-11 07:19:58 +00:00
Martin Pluskal
3825c1e66d Accepting request 1156429 from home:AndreasStieger:boo1221091
protobuf 25.2

OBS-URL: https://build.opensuse.org/request/show/1156429
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=173
2024-03-08 18:02:59 +00:00
f431386eae - update to 25.1:
* Raise warnings for deprecated python syntax usages
  * Add support for extensions in CRuby, JRuby, and FFI Ruby
  * Add support for options in CRuby, JRuby and FFI (#14594)
- update to 25.0:
  * Implement proto2/proto3 with editions
  * Defines Protobuf compiler version strings as macros and
    separates out suffix string definition.
  * Add utf8_validation feature back to the global feature set.
  * Setting up version updater to prepare for poison pills and
    embedding version info into C++, Python and Java gencode.
  * Merge the protobuf and upb Bazel repos
  * Editions: Introduce functionality to protoc for generating
    edition feature set defaults.
  * Editions: Migrate edition strings to enum in C++ code.
  * Create a reflection helper for ExtensionIdentifier.
  * Editions: Provide an API for C++ generators to specify their
    features.
  * Editions: Refactor feature resolution to use an intermediate
    message.
  * Publish extension declarations with declaration
    verifications.
  * Editions: Stop propagating partially resolved feature sets to
    plugins.
  * Editions: Migrate string_field_validation to a C++ feature
  * Editions: Include defaults for any features in the generated
    pool.
  * Protoc: parser rejects explicit use of map_entry option
  * Protoc: validate that reserved range start is before end
  * Protoc: support identifiers as reserved names in addition to

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=171
2024-01-02 13:59:46 +00:00
dd0e727864 - build against modern python on sle15
- drop patches:
  * Reduce memory consumption of MessageSet parsing
     * Add back a filegroup for :well_known_protos (#10061)
    * Fix shadowing warnings
    * Fix for issue #8484, constant initialization doesn't compile in msvc clang-cl environment
    * Use ArrayList copy constructor
    * Fix ReferenceError: window is not defined when getting the global object
    * Fix memory leak in MessageClass.encode
    * Override Map.clone to use Map's dup method
    * Ruby: build extensions for arm64-darwin
    * Add class method Timestamp.from_time to ruby well known types
    * Adopt pure ruby DSL implementation for JRuby
    * Fix for descriptor_pb.rb: google/protobuf should be required first
    * Add python-requires in setup.py
    * Add python 3.10

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=169
2023-12-21 13:53:39 +00:00
Martin Pluskal
39c66ccd06 Accepting request 1121144 from home:fstrba:branches:devel:tools:building
Fix build with JDK21 + please, forward to factory ASAP

OBS-URL: https://build.opensuse.org/request/show/1121144
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=167
2023-10-30 11:23:36 +00:00
e6e5bfcf41 - update to 23.4:
* Add dllexport_decl for generated default instance.
  * Deps: Update Guava to 32.0.1

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=165
2023-07-07 12:05:18 +00:00
dc7c4b55ee OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=163 2023-07-03 08:06:54 +00:00
f316c73a8d - update to 23.3:
C++
  * Regenerate stale files
  * Use the same ABI for static and shared libraries on non-
    Windows platforms
  * Add a workaround for GCC constexpr bug
  Objective-C
  * Regenerate stale files
  UPB (Python/PHP/Ruby C-Extension)
  * Fixed a bug in `upb_Map_Delete()` that caused crashes in
    map.delete(k) for Ruby when string-keyed maps were in use.
  Compiler
  * Add missing header to Objective-c generator
  * Add a workaround for GCC constexpr bug
  Java
  * Rollback of: Simplify protobuf Java message builder by
    removing methods that calls the super class only.
  Csharp
  * [C#] Replace regex that validates descriptor names
- drop 0001-Use-the-same-ABI-for-static-and-shared-libraries-on-.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=162
2023-07-03 08:00:47 +00:00
Martin Pluskal
efb25ec185 Accepting request 1093079 from home:favogt:branches:devel:libraries:c_c++
- Add patch to fix linking ThreadSafeArena:
  * 0001-Use-the-same-ABI-for-static-and-shared-libraries-on-.patch
- Drop the protobuf-source package, no longer used

OBS-URL: https://build.opensuse.org/request/show/1093079
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=160
2023-06-14 09:44:28 +00:00
f1e574f31d OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=159 2023-06-13 17:02:28 +00:00
ae822b7f9e - update to 22.5:
C++
  * Add missing cstdint header
  * Fix: missing -DPROTOBUF_USE_DLLS in pkg-config (#12700)
  * Avoid using string(JOIN..., which requires cmake 3.12
  * Explicitly include GTest package in examples
  * Bump Abseil submodule to 20230125.3 (#12660)
- update to 22.4:
  C++
  * Fix libprotoc: export useful symbols from .so
  * Fix btree issue in map tests.
  Python
  * Fix bug in _internal_copy_files where the rule would fail in
    downstream repositories.
  Other
  * Bump utf8_range to version with working pkg-config (#12584)
  * Fix declared dependencies for pkg-config
  * Update abseil dependency and reorder dependencies to ensure
    we use the version specified in protobuf_deps.
  * Turn off clang::musttail on i386

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=158
2023-06-13 06:13:41 +00:00
72a048ad82 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=156 2023-06-12 21:29:59 +00:00
e2cca67993 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=155 2023-06-12 20:43:24 +00:00
805fd49fad - drop patches:
* 10355.patch,
  * gcc12-disable-__constinit-with-c++-11.patch (merged upstream)
- added patches:
  * add-missing-stdint-header.patch   added for compile fixes

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=154
2023-06-12 20:37:11 +00:00
b26df6bb84 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=153 2023-06-12 20:33:13 +00:00
6abe767c86 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=152 2023-06-12 20:26:09 +00:00
e2a33dcfa0 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=151 2023-06-12 20:24:25 +00:00
b3038ac9a7 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=150 2023-06-12 20:20:39 +00:00
6032c8504f - update to 23.2:
* Add missing header to Objective-c generator
  * Rollback of: Simplify protobuf Java message builder by
    removing methods that calls the super class only 
- drop python2 handling
- fix version handling and package the private libs again

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=149
2023-06-11 19:57:32 +00:00
86f9dc655f Accepting request 1088980 from system:homeautomation:home-assistant:unstable
- update to v23.1
  * C++: Add a workaround for GCC constexpr bug
  * C#: Replace regex that validates descriptor names
- gcc12-disable-__constinit-with-c++-11.patch is obsolete

OBS-URL: https://build.opensuse.org/request/show/1088980
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=148
2023-05-25 11:12:35 +00:00
Martin Pluskal
b3ac2d0654 - Fix confusion in versions
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=147
2023-05-09 09:27:03 +00:00
Martin Pluskal
10972090a8 Accepting request 1084558 from system:homeautomation:home-assistant:unstable
- update to v22.3
- python sub packages version is set 4.22.3 as defined in
  python/google/protobuf/__init__.py to stay compatible
- skip python2 builds by default
- 10355.patch    got merged upstream
- add-missing-stdint-header.patch   added for compile fixes

OBS-URL: https://build.opensuse.org/request/show/1084558
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=146
2023-05-04 08:11:13 +00:00
Martin Pluskal
dbb3b2b277 Accepting request 1083437 from Java:packages
make acceptable for factory bots

OBS-URL: https://build.opensuse.org/request/show/1083437
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=144
2023-04-28 07:45:03 +00:00
Martin Pluskal
57bf115931 Accepting request 1083182 from Java:packages
Allow building on older systems

OBS-URL: https://build.opensuse.org/request/show/1083182
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=143
2023-04-27 15:09:22 +00:00
Martin Pluskal
aae9adad64 Accepting request 1073919 from home:marxin:branches:devel:tools:building
- Enable LTO (boo#1133277).

OBS-URL: https://build.opensuse.org/request/show/1073919
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=141
2023-03-23 09:41:15 +00:00
5087dd2b49 Accepting request 1043179 from home:dirkmueller:Factory
- update to v21.12:
  * Python
  * Fix broken enum ranges (#11171)
  * Stop requiring extension fields to have a sythetic oneof (#11091)
  * Python runtime 4.21.10 not works generated code can not load valid
    proto.

OBS-URL: https://build.opensuse.org/request/show/1043179
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=139
2022-12-15 21:21:13 +00:00
1469165278 Accepting request 1041352 from home:dirkmueller:Factory
- update to 21.11:
  * Python
  * Add license file to pypi wheels (#10936)
  * Fix round-trip bug (#10158)

OBS-URL: https://build.opensuse.org/request/show/1041352
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=137
2022-12-08 13:03:55 +00:00
dfc49e70b9 Accepting request 1040440 from home:dirkmueller:Factory
- update to 21.10:
  * Java
  * Use bit-field int values in buildPartial to skip work on unset groups of
    fields. (#10960)
  * Mark nested builder as clean after clear is called (#10984)

OBS-URL: https://build.opensuse.org/request/show/1040440
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=135
2022-12-05 21:26:15 +00:00
Martin Pluskal
411ff2363c Accepting request 1032198 from home:dirkmueller:Factory
- update to 21.9:
  * Ruby
      * Replace libc strdup usage with internal impl to restore musl compat (#10818)
      * Auto capitalize enums name in Ruby (#10454) (#10763)
  * Other
      * Fix for grpc.tools #17995 & protobuf #7474 (handle UTF-8 paths in argumentfile) (#10721)
  * C++
      * 21.x No longer define no_threadlocal on OpenBSD (#10743)
  * Java
      * Mark default instance as immutable first to avoid race during static initialization of default instances (#10771)
      * Refactoring java full runtime to reuse sub-message builders and prepare to
        migrate parsing logic from parse constructor to builder.
      * Move proto wireformat parsing functionality from the private "parsing
        constructor" to the Builder class.
      * Change the Lite runtime to prefer merging from the wireformat into mutable
        messages rather than building up a new immutable object before merging. This
        way results in fewer allocations and copy operations.
      * Make message-type extensions merge from wire-format instead of building up
        instances and merging afterwards. This has much better performance.
      * Fix TextFormat parser to build up recurring (but supposedly not repeated)
        sub-messages directly from text rather than building a new sub-message and
        merging the fully formed message into the existing field.

OBS-URL: https://build.opensuse.org/request/show/1032198
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=133
2022-11-01 08:28:28 +00:00
516a963506 Accepting request 1004583 from home:dirkmueller:Factory
- update to 21.6:
  C++:
  * Reduce memory consumption of MessageSet parsing

OBS-URL: https://build.opensuse.org/request/show/1004583
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=131
2022-09-19 07:33:50 +00:00
57dd385b24 Accepting request 997605 from home:dirkmueller:Factory
- update to 21.5:
  PHP
  * Added getContainingOneof and getRealContainingOneof to descriptor.
  * fix PHP readonly legacy files for nested messages
  Python
  * Fixed comparison of maps in Python.

OBS-URL: https://build.opensuse.org/request/show/997605
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=129
2022-08-18 07:53:48 +00:00
7f047da3e8 Accepting request 993137 from home:dirkmueller:Factory
- add 10355.patch to fix soversioning

- update to 21.4:
  * Reduce the required alignment of ArenaString from 8 to 4

- update to 21.3:
  * C++
    * Add header search paths to Protobuf-C++.podspec (#10024)
    * Fixed Visual Studio constinit errors (#10232)
    * Fix #9947: make the ABI compatible between debug and non-debug builds (#10271)
  * UPB
    * Allow empty package names (fixes behavior regression in 4.21.0)
    * Fix a SEGV bug when comparing a non-materialized sub-message (#10208)
    * Fix several bugs in descriptor mapping containers (eg. descriptor.services_by_name)
      * for x in mapping now yields keys rather than values, to match Python
        conventions and the behavior of the old library.
      * Lookup operations now correctly reject unhashable types as map keys.
      * We implement repr() to use the same format as dict.
    * Fix maps to use the ScalarMapContainer class when appropriate
    * Fix bug when parsing an unknown value in a proto2 enum extension (protocolbuffers/upb#717)
  * PHP
    * Add "readonly" as a keyword for PHP and add previous classnames to descriptor pool (#10041)
  * Python
    * Make //:protobuf_python and //:well_known_types_py_pb2 public (#10118)
  * Bazel
     * Add back a filegroup for :well_known_protos (#10061)

OBS-URL: https://build.opensuse.org/request/show/993137
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=127
2022-08-04 20:59:41 +00:00
OBS User buildservice-autocommit
fa389c3aa0 Updating link to change in openSUSE:Factory/protobuf revision 63.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=9115372147be0528cd9b6d967c2dedb2
2022-08-04 11:40:42 +00:00
b12956c7f6 osc copypac from project:openSUSE:Factory package:protobuf revision:60, using keep-link, using expand
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=125
2022-08-02 09:54:19 +00:00