6
0
forked from pool/protobuf

210 Commits

Author SHA256 Message Date
e751161186 Revert to -rc52eb015706124355e431f06f3e97605 2025-08-21 13:41:50 +02:00
f37d3720b0 - Cherry-pick protobuf-fix-google-imports.patch to fix import issues of
reverse-dependency packages within the google namespace (bsc#1244918)

- Cherry-pick protobuf-fix-google-imports.patch to fix import issues of
  reverse-dependency packages within the google namespace (bsc#1244918)

- Cherry-pick protobuf-fix-google-imports.patch to fix import issues of
  reverse-dependency packages within the google namespace (bsc#1244918)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=208
2025-08-21 13:35:53 +02:00
17f3e8e786 Accepting request 1286692 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1286692
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=87
2025-06-23 12:50:38 +00: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
e40d2b287a Accepting request 1280464 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1280464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=86
2025-06-04 18:27:22 +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
a1e0730f31 Accepting request 1274343 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1274343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=85
2025-05-06 14:38:50 +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
55a603c196 Accepting request 1247793 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1247793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=84
2025-02-24 14:49:43 +00:00
Martin Pluskal
07ddc22462 Accepting request 1247730 from home:bmwiedemann:branches:devel:tools:building
add missing references for SLE: (bsc#1230778, CVE-2024-7254)

OBS-URL: https://build.opensuse.org/request/show/1247730
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=200
2025-02-22 07:31:26 +00:00
fcc27c5694 Accepting request 1219411 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1219411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=83
2024-10-30 16:33:47 +00:00
babb5cbb9f Accepting request 1219373 from home:fstrba:branches:devel:tools:building
fixup, please forward to factory

OBS-URL: https://build.opensuse.org/request/show/1219373
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=198
2024-10-30 09:40:45 +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
e2eb062b59 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=194 2024-10-28 08:55:24 +00:00
e1ec4c72c2 - python: switch to pypi package to get the cythonized component
- drop python-protobuf-setup_py.patch (obsolete)

- python: switch to pypi package to get the cythonized component
- drop python-protobuf-setup_py.patch (obsolete)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=193
2024-10-28 08:21:47 +00:00
945481ece6 - python: switch to pypi package to get the cythonized component
- drop python-protobuf-setup_py.patch (obsolete)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=192
2024-10-28 08:21:33 +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
99290872d3 - 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

- 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=190
2024-10-25 15:24:54 +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
bab4b394fd Accepting request 1217274 from home:fstrba:branches:devel:tools:building
little fixes around architecture

OBS-URL: https://build.opensuse.org/request/show/1217274
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=186
2024-10-24 07:55:58 +00:00
1f32bb78b1 Accepting request 1217049 from home:fstrba:branches:devel:tools:building
Sync changes + split java into smaller packages + build the lite runtime for java too

OBS-URL: https://build.opensuse.org/request/show/1217049
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=185
2024-10-23 08:14:56 +00:00
0b7cf4c016 - keep building for 15.4+
* Ruby C-Extension: Regen stale files

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=184
2024-10-21 13:27:37 +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
21c974f300 Accepting request 1193345 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1193345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=82
2024-08-15 07:57:20 +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
a8a8f0bf8a Accepting request 1191540 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1191540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=81
2024-08-07 04:09:56 +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
a8bea46b44 Accepting request 1156838 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1156838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=80
2024-03-13 21:16:25 +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
1c5fe2e13c Accepting request 1156438 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1156438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=79
2024-03-09 19:54:11 +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
b116a9d015 Accepting request 1137736 from devel:tools:building
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1137736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=78
2024-01-10 20:50: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
e71f94f421 Accepting request 1134467 from devel:tools:building
- 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/request/show/1134467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=77
2023-12-22 21:40:45 +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
810e79e136 Accepting request 1121159 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1121159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=76
2023-10-31 19:24:36 +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
266b14b67c Accepting request 1097523 from devel:tools:building
- update to 23.4:
  * Add dllexport_decl for generated default instance.
  * Deps: Update Guava to 32.0.1

OBS-URL: https://build.opensuse.org/request/show/1097523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=75
2023-07-08 20:46:26 +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
74a62f39f8 Accepting request 1096499 from devel:tools:building
- 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/request/show/1096499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=74
2023-07-04 13:21:41 +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
16dc405c9e Accepting request 1093088 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1093088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=73
2023-06-30 17:58:15 +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