6
0
forked from pool/protobuf

Compare commits

...

82 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
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
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
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
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
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
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
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
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
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
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
cca1940c3f Accepting request 1083461 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1083461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=72
2023-04-29 15:27:45 +00:00
9ba81ab06e Accepting request 1073929 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1073929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=71
2023-03-25 17:54:09 +00:00
a5acf7c551 Accepting request 1043228 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1043228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=70
2022-12-17 19:36:03 +00:00
355d84e9e8 Accepting request 1041629 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1041629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=69
2022-12-09 12:16:41 +00:00
219c90a8b9 Accepting request 1040443 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1040443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=68
2022-12-07 16:34:13 +00:00
b815403ec3 Accepting request 1032646 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1032646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=67
2022-11-02 11:46:42 +00:00
c4ecc838a2 Accepting request 1004584 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1004584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=66
2022-09-20 17:23:06 +00:00
93431fe64f Accepting request 997681 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/997681
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=65
2022-08-19 15:53:09 +00:00
4cab13b508 Accepting request 993150 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/993150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=64
2022-08-07 16:33:42 +00:00
5e54950d13 https://github.com/protocolbuffers/protobuf/issues/10323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=63
2022-08-04 11:40:42 +00:00
3b6b5b2790 Accepting request 992221 from devel:tools:building
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/992221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=62
2022-08-03 19:16:25 +00:00
481589961b Revert to 21.2, avoid ABI break
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=61
2022-07-28 11:33:30 +00:00
2859b91ec4 Accepting request 991052 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/991052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=60
2022-07-26 17:42:24 +00:00
542d55ea5b Accepting request 988286 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/988286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=59
2022-07-12 09:12:03 +00:00
9b203528c5 Accepting request 976554 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/976554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=58
2022-05-14 20:52:08 +00:00
4985b87b38 Accepting request 975220 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/975220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=57
2022-05-10 13:09:44 +00:00
43bfdb687c Accepting request 974301 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/974301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=56
2022-05-04 13:10:26 +00:00
1f2f663417 Accepting request 962373 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/962373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=55
2022-03-19 21:19:47 +00:00
24c917a061 Accepting request 949772 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/949772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=54
2022-02-01 13:02:35 +00:00
b459bef35c Accepting request 948827 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/948827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=53
2022-01-27 22:16:15 +00:00
6b1b9dc00e Accepting request 908913 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/908913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=52
2021-08-02 10:04:49 +00:00
cbb1d096af Accepting request 901700 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/901700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=51
2021-06-27 16:58:14 +00:00
813fc26924 Accepting request 886581 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/886581
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=50
2021-04-22 16:03:35 +00:00
Richard Brown
4132cf3fc4 Accepting request 883160 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/883160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=49
2021-04-08 19:02:51 +00:00
Richard Brown
5449bc864d Accepting request 881373 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/881373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=48
2021-04-01 12:15:58 +00:00
9f65a540cc Accepting request 879822 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/879822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=47
2021-03-21 22:19:00 +00:00
3ec8482eed Accepting request 850509 from devel:tools:building
- Updated URL to https://github.com/protocolbuffers/protobuf
- Update to v3.14.0
  Protocol Compiler
  * The proto compiler no longer requires a .proto filename when it is not
    generating code.
  * Added flag `--deterministic_output` to `protoc --encode=...`.
  * Fixed deadlock when using google.protobuf.Any embedded in aggregate options.
  C++
  * Arenas are now unconditionally enabled. cc_enable_arenas no longer has
    any effect.
  * Removed inlined string support, which is incompatible with arenas.
  * Fix a memory corruption bug in reflection when mixing optional and
    non-optional fields.
  * Make SpaceUsed() calculation more thorough for map fields.
  * Add stack overflow protection for text format with unknown field values.
  * FieldPath::FollowAll() now returns a bool to signal if an out-of-bounds
    error was encountered.
  * Performance improvements for Map.
  * Minor formatting fix when dumping a descriptor to .proto format with
    DebugString.
  * UBSAN fix in RepeatedField
  * When running under ASAN, skip a test that makes huge allocations.
  * Fixed a crash that could happen when creating more than 256 extensions in
    a single message.
  * Fix a crash in BuildFile when passing in invalid descriptor proto.
  * Parser security fix when operating with CodedInputStream.
  * Warn against the use of AllowUnknownExtension.
  * Migrated to C++11 for-range loops instead of index-based loops where
    possible. This fixes a lot of warnings when compiling with -Wsign-compare.
  * Fix segment fault for proto3 optional
  * Adds a CMake option to build `libprotoc` separately
  Java
  * Bugfix in mergeFrom() when a oneof has multiple message fields.
  * Fix RopeByteString.RopeInputStream.read() returning -1 when told to read
    0 bytes when not at EOF.
  * Redefine remove(Object) on primitive repeated field Lists to avoid
    autoboxing.
  * Support "\u" escapes in textformat string literals.
  * Trailing empty spaces are no longer ignored for FieldMask.
  * Fix FieldMaskUtil.subtract to recursively remove mask.
  * Mark enums with `@java.lang.Deprecated` if the proto enum has option
    `deprecated = true;`.
  * Adding forgotten duration.proto to the lite library
  Python
  * Print google.protobuf.NullValue as null instead of "NULL_VALUE" when it is
    used outside WKT Value/Struct.
  * Fix bug occurring when attempting to deep copy an enum type in python 3.
  * Add a setuptools extension for generating Python protobufs
  * Remove uses of pkg_resources in non-namespace packages
  * [bazel/py] Omit google/__init__.py from the Protobuf runtime
  * Removed the unnecessary setuptools package dependency for Python package
  * Fix PyUnknownFields memory leak
  PHP
  * Added support for "==" to the PHP C extension
  * Added `==` operators for Map and Array
  * Native C well-known types
  * Optimized away hex2bin() call in generated code
  * New version of upb, and a new hash function wyhash in third_party
  * add missing hasOneof method to check presence of oneof fields
  Go:
  * Update go_package options to reference google.golang.org/protobuf module.
  C#:
  * annotate ByteString.CopyFrom(ReadOnlySpan<byte>) as SecuritySafeCritical
  * Fix C# optional field reflection when there are regular fields too
  * Fix parsing negative Int32Value that crosses segment boundary
  Javascript:
  * JS: parse (un)packed fields conditionally
- from version 3.13.0
  PHP:
  * The C extension is completely rewritten. The new C extension has significantly
    better parsing performance and fixes a handful of conformance issues. It will
    also make it easier to add support for more features like proto2 and proto3 presence.
  * The new C extension does not support PHP 5.x. PHP 5.x users can still use pure-PHP.
  C++:
  * Removed deprecated unsafe arena string accessors
  * Enabled heterogeneous lookup for std::string keys in maps.
  * Removed implicit conversion from StringPiece to std::string
  * Fix use-after-destroy bug when the Map is allocated in the arena.
  * Improved the randomness of map ordering
  * Added stack overflow protection for text format with unknown fields
  * Use std::hash for proto maps to help with portability.
  * Added more Windows macros to proto whitelist.
  * Arena constructors for map entry messages are now marked "explicit"
    (for regular messages they were already explicit).
  * Fix subtle aliasing bug in RepeatedField::Add
  * Fix mismatch between MapEntry ByteSize and Serialize with respect to unset
    fields.
  Python:
  * JSON format conformance fixes:
    * Reject lowercase t for Timestamp json format.
    * Print full_name directly for extensions (no camelCase).
    * Reject boolean values for integer fields.
    * Reject NaN, Infinity, -Infinity that is not quoted.
    * Base64 fixes for bytes fields: accept URL-safe base64 and missing padding.
  * Bugfix for fields/files named "async" or "await".
  * Improved the error message when AttributeError is returned from __getattr__
    in EnumTypeWrapper.
  Java:
  * Fixed a bug where setting optional proto3 enums with setFooValue() would
    not mark the value as present.
  * Add Subtract function to FieldMaskUtil.
  C#:
  * Dropped support for netstandard1.0 (replaced by support for netstandard1.1).
    This was required to modernize the parsing stack to use the `Span<byte>`
    type internally
  * Add `ParseFrom(ReadOnlySequence<byte>)` method to enable GC friendly
    parsing with reduced allocations and buffer copies
  * Add support for serialization directly to a `IBufferWriter<byte>` or
    to a `Span<byte>` to enable GC friendly serialization.
    The new API is available as extension methods on the `IMessage` type
  * Add `GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE` define to make
    generated code compatible with old C# compilers (pre-roslyn compilers
    from .NET framework and old versions of mono) that do not support
    ref structs. Users that are still on a legacy stack that does
    not support C# 7.2 compiler might need to use the new define
    in their projects to be able to build the newly generated code
  * Due to the major overhaul of parsing and serialization internals,
    it is recommended to regenerate your generated code to achieve the best
    performance (the legacy generated code will still work, but might incur
    a slight performance penalty).
- Fix the python subpackage generation
  gh#openSUSE/python-rpm-macros#79
- Support multiple python3 flavors gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/850509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=46
2020-11-25 18:27:38 +00:00
6195e14811 Accepting request 817959 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/817959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=45
2020-07-02 21:54:39 +00:00
4b0fe316ec Accepting request 814654 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/814654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=44
2020-06-22 15:41:47 +00:00
a1129049cf Accepting request 782138 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/782138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=43
2020-03-11 17:42:22 +00:00
1beb4bf993 Accepting request 775096 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/775096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=42
2020-02-22 18:00:22 +00:00
e29f35ef89 Accepting request 758459 from devel:tools:building
- Use tarball provided by upstream
- Small package cleanup

- Updated to version 3.9.2
   (Objective-C)
  * Remove OSReadLittle* due to alignment requirements. (#6678)
  * Don't use unions and instead use memcpy for the type swaps. (#6672)

OBS-URL: https://build.opensuse.org/request/show/758459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=41
2020-01-01 13:56:53 +00:00
2a29a0cecc Accepting request 733606 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/733606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=40
2019-10-02 09:55:31 +00:00
8a8d6d39d5 Accepting request 725308 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/725308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=39
2019-08-27 08:14:27 +00:00
a709f952ce Accepting request 708760 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/708760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=38
2019-06-13 20:38:20 +00:00
e3961b7270 Accepting request 700030 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/700030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=37
2019-05-03 20:26:01 +00:00
Stephan Kulow
fa52e9190f Accepting request 679166 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/679166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=36
2019-03-01 19:28:27 +00:00
Stephan Kulow
692faf3693 Accepting request 667019 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/667019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=35
2019-02-04 20:21:51 +00:00
387ebe4f27 Accepting request 659285 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/659285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=34
2018-12-21 07:19:33 +00:00
5cc64b82c2 Accepting request 635281 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/635281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=33
2018-10-11 09:45:06 +00:00
a8e830fcf7 Accepting request 609121 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/609121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=32
2018-05-23 14:05:04 +00:00
48ba94bd55 Accepting request 579472 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/579472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=31
2018-02-25 10:32:58 +00:00
6ab972c85f Accepting request 568227 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/568227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=30
2018-01-26 12:34:42 +00:00
0644605921 Accepting request 556422 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/556422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=29
2017-12-29 17:46:10 +00:00
0d0163ef4e Accepting request 504018 from devel:tools:building
- Install LICENSE 

- 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

OBS-URL: https://build.opensuse.org/request/show/504018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=28
2017-06-23 07:16:24 +00:00
7449a38e26 Accepting request 451796 from devel:tools:building
1

OBS-URL: https://build.opensuse.org/request/show/451796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=27
2017-01-25 21:35:31 +00:00
6db9da0a82 Accepting request 449582 from devel:tools:building
1

OBS-URL: https://build.opensuse.org/request/show/449582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=26
2017-01-19 09:40:51 +00:00
Ludwig Nussel
d01e280d88 Accepting request 447591 from devel:tools:building
1

OBS-URL: https://build.opensuse.org/request/show/447591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=25
2016-12-29 21:42:10 +00:00
Stephan Kulow
be89592d4f Accepting request 347701 from devel:tools:building
- 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
  bnc#957472

OBS-URL: https://build.opensuse.org/request/show/347701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=24
2015-12-13 08:37:58 +00:00
15f7fae7c3 Accepting request 344031 from devel:tools:building
1

OBS-URL: https://build.opensuse.org/request/show/344031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=23
2015-11-17 13:20:28 +00:00
b39a1afbd5 Accepting request 319443 from devel:tools:building
1

OBS-URL: https://build.opensuse.org/request/show/319443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=22
2015-08-10 07:12:21 +00:00
44cf602bb1 Accepting request 290213 from devel:tools:building
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/290213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=21
2015-03-30 17:30:52 +00:00
Stephan Kulow
8a2b62cde2 Accepting request 205914 from devel:tools:building
- fix java flags to build package for SLE_11_SP3 (forwarded request 205913 from sleep_walker)

OBS-URL: https://build.opensuse.org/request/show/205914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=19
2013-11-07 07:43:43 +00:00
Stephan Kulow
e228d0ac67 Accepting request 178317 from devel:tools:building
- package google/protobuf/stubs/atomicops_internals_generic_gcc.h
  mosh reqires it (forwarded request 178026 from k0da)

OBS-URL: https://build.opensuse.org/request/show/178317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=17
2013-06-11 04:37:47 +00:00
Stephan Kulow
af00323f5f Accepting request 176726 from devel:tools:building
- Build on architectures where no specialized code has been written
  0001-Add-generic-GCC-support-for-atomic-operations.patch (forwarded request 176725 from k0da)

OBS-URL: https://build.opensuse.org/request/show/176726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=16
2013-06-05 11:08:12 +00:00
Stephan Kulow
abaa27c29a Accepting request 171248 from devel:tools:building
- Upstream update to 2.5.0
  * New construct "import public"
  * New enum option "allow_alias"
  * C++: New generated method set_allocated_foo(Type* foo)
  * C++: Added SetAllocatedExtension() and ReleaseExtension()
    to extensions API
  * Java: Added getters/setters to access the underlying ByteString
    of a string field
  * Java: New operations for substring(), prepend(), and append()
  * Java: New method findInitializationErrors()
  * Python: Support for dynamic message creation
  * Python: Fixed custom options were not correctly populated
  * Python: Added EnumTypeWrapper
  * Python: Added ParseMessage(descriptor, bytes)
  * Various bug fixes and optimazations
- Drop gtest-1.5, which is now included by the archive from
  the upstream

OBS-URL: https://build.opensuse.org/request/show/171248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=15
2013-04-17 21:16:21 +00:00
Stephan Kulow
9086c9e4ed Accepting request 121527 from devel:tools:building
- BuildRequire zlib-devel otherwise gzip_stream is not built 
  thus breaking newer releases of mosh. (forwarded request 121524 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/121527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=12
2012-05-22 06:18:03 +00:00
Stephan Kulow
4c63a6d44b Accepting request 114225 from devel:tools:building
inject gtest 1.5.0 - fixes build with gcc 4.7 (forwarded request 109741 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/114225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=11
2012-04-18 10:35:00 +00:00
Stephan Kulow
75e1a283d8 Accepting request 97515 from devel:tools:building
- remove %release from requires

- Update to Protobuf 2.4.1:
 C++
  * Fixed the frendship problem for old compilers to make the library now gcc 3
    compatible again.
  * Fixed vcprojects/extract_includes.bat to extract compiler/plugin.h.
  Java
  * Removed usages of JDK 1.6 only features to make the library now JDK 1.5
    compatible again.
  * Fixed a bug about negative enum values.
  * serialVersionUID is now defined in generated messages for java serializing.
  * Fixed protoc to use java.lang.Object, which makes "Object" now a valid
    message name again.
  Python
  * Experimental C++ implementation now requires C++ protobuf library installed.
    See the README.txt in the python directory for details.

- update baselibs.conf

OBS-URL: https://build.opensuse.org/request/show/97515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=10
2012-01-04 06:29:57 +00:00
Sascha Peilicke
ce318e3421 Autobuild autoformatter for 67840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=8
2011-04-19 07:33:26 +00:00
Sascha Peilicke
83de8dca8d Accepting request 67840 from devel:tools:building
Accepted submit request 67840 from user coolo

OBS-URL: https://build.opensuse.org/request/show/67840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/protobuf?expand=0&rev=7
2011-04-19 07:33:13 +00:00
17 changed files with 89 additions and 2169 deletions

View File

@@ -1,5 +1,4 @@
<multibuild>
<package>python-protobuf</package>
<package>protobuf-java</package>
</multibuild>

View File

@@ -1,4 +1,4 @@
libprotobuf28_3_0
libprotoc28_3_0
libprotobuf-lite28_3_0
libutf8_range-28_3_0
libprotobuf29_3_0
libprotoc29_3_0
libprotobuf-lite29_3_0
libutf8_range-29_3_0

BIN
protobuf-28.3.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
protobuf-29.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
protobuf-5.28.3.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
protobuf-5.29.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-parent</artifactId>
<version>4.28.3</version>
<version>4.29.3</version>
</parent>
<artifactId>protobuf-java</artifactId>

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-parent</artifactId>
<version>4.28.3</version>
<version>4.29.3</version>
</parent>
<artifactId>protobuf-java-util</artifactId>
@@ -16,32 +16,37 @@
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>4.28.3</version>
<version>4.29.3</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.9</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>2.18.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>32.0.1-jre</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
<version>2.8</version>
<scope>runtime</scope>
</dependency>
</dependencies>

View File

@@ -0,0 +1,34 @@
--- pom.xml 2025-05-02 23:04:51.224332863 +0200
+++ pom.xml 2025-05-02 23:05:30.728959217 +0200
@@ -22,31 +22,26 @@
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
- <scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.9</version>
- <scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>2.18.0</version>
- <scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>32.0.1-jre</version>
- <scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
<version>2.8</version>
- <scope>runtime</scope>
</dependency>
</dependencies>

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu May 1 09:05:08 UTC 2025 - Antonello Tartamo <antonello.tartamo@suse.com>
- 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.
-------------------------------------------------------------------
Mon Oct 28 08:20:17 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package protobuf-java
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -18,8 +18,9 @@
%define tarname protobuf
%define patchjuname protobuf-java-util-removescope.patch
Name: protobuf-java
Version: 28.3
Version: 29.3
Release: 0
Summary: Java Bindings for Google Protocol Buffers
License: BSD-3-Clause
@@ -29,6 +30,7 @@ Source0: https://github.com/protocolbuffers/protobuf/releases/download/v%
Source1: https://repo1.maven.org/maven2/com/google/protobuf/%{name}/4.%{version}/%{name}-4.%{version}.pom
Source2: https://repo1.maven.org/maven2/com/google/protobuf/%{name}lite/4.%{version}/%{name}lite-4.%{version}.pom
Source3: https://repo1.maven.org/maven2/com/google/protobuf/%{name}-util/4.%{version}/%{name}-util-4.%{version}.pom
Source4: %{patchjuname}
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: maven-local
@@ -86,6 +88,10 @@ pushd java
cp %{SOURCE1} core/pom.xml
cp %{SOURCE2} lite/pom.xml
cp %{SOURCE3} util/pom.xml
cp %{SOURCE4} util/%{patchjuname}
pushd util
patch -p0 < %{patchjuname}
popd
%pom_disable_module kotlin
%pom_disable_module kotlin-lite
%pom_remove_plugin :animal-sniffer-maven-plugin

View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-parent</artifactId>
<version>4.28.3</version>
<version>4.29.3</version>
</parent>
<artifactId>protobuf-javalite</artifactId>

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu May 1 09:05:08 UTC 2025 - Antonello Tartamo <antonello.tartamo@suse.com>
- 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.
-------------------------------------------------------------------
Mon Oct 28 08:20:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
@@ -25,6 +35,7 @@ Fri Oct 25 15:24:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
.com/protocolbuffers/protobuf/commit/3ea568a9b6107ebf0d617c47
6f53a31490fd3182)
* Mute the minor version warning
* fixed (bsc#1230778, CVE-2024-7254)
-------------------------------------------------------------------
Thu Oct 24 20:56:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package protobuf
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
%define tarname protobuf
# see cmake/abseil-cpp.cmake and src/google/protobuf/port_def.inc
%define abseil_min_version 20230125.3
%global sover 28_3_0
%global sover 29_3_0
%if 0%{?gcc_version} < 11
%define with_gcc 11
%endif
@@ -66,7 +66,7 @@
%global protoc_arch sparc_64
%endif
Name: protobuf
Version: 28.3
Version: 29.3
Release: 0
Summary: Protocol Buffers - Google's data interchange format
License: BSD-3-Clause
@@ -206,6 +206,7 @@ install -Dm 0644 editors/proto.vim %{buildroot}%{_datadir}/vim/site/syntax/proto
# manual ln that we could not manage to get into versionize-shlibs.patch
ln -s libutf8_range-%{version}.0.so %{buildroot}/%{_libdir}/libutf8_range.so
ln -s libutf8_validity-%{version}.0.so %{buildroot}/%{_libdir}/libutf8_validity.so
install -D java/core/src/main/resources/google/protobuf/java_features.proto %{buildroot}%{_includedir}/java/core/src/main/resources/google/protobuf/java_features.proto
# create maven metadata for the protoc executable
install -dm 0755 %{buildroot}%{_datadir}/maven-metadata

File diff suppressed because it is too large Load Diff

View File

@@ -1,71 +0,0 @@
#
# spec file for package python-protobuf
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define baseversion 28.3
%{?sle15_python_module_pythons}
Name: python-protobuf
Version: 5.%{baseversion}
Release: 0
Summary: Python Bindings for Google Protocol Buffers
License: BSD-3-Clause
Group: Development/Libraries/Python
URL: https://github.com/protocolbuffers/protobuf
Source0: https://files.pythonhosted.org/packages/source/p/protobuf/protobuf-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
%python_subpackages
%description
Protocol Buffers are a way of encoding structured data in an efficient yet
extensible format. Google uses Protocol Buffers for almost all of its internal
RPC protocols and file formats.
This package contains the Python bindings for Google Protocol Buffers.
%prep
%autosetup -p1 -n protobuf-%{version}
# The previous blank line is crucial for older system being able
# to use the autosetup macro
grep -qF "'%{version}'" google/protobuf/__init__.py
# kill shebang that we do not really want
sed -i -e '/env python/d' google/protobuf/internal/*.py
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%fdupes %{buildroot}%{_prefix}
%files %{python_files}
%license LICENSE
%{python_sitearch}/google
%{python_sitearch}/protobuf*nspkg.pth
%{python_sitearch}/protobuf-%{version}.dist-info
%changelog

View File

@@ -16,10 +16,10 @@ slightly different from PR19009 while the PR is unmerged.
third_party/utf8_range/CMakeLists.txt | 8 ++++++++
1 file changed, 8 insertions(+)
Index: protobuf-28.3/third_party/utf8_range/CMakeLists.txt
Index: protobuf-29.3/third_party/utf8_range/CMakeLists.txt
===================================================================
--- protobuf-28.3.orig/third_party/utf8_range/CMakeLists.txt
+++ protobuf-28.3/third_party/utf8_range/CMakeLists.txt
--- protobuf-29.3.orig/third_party/utf8_range/CMakeLists.txt
+++ protobuf-29.3/third_party/utf8_range/CMakeLists.txt
@@ -19,6 +19,9 @@ add_library (utf8_range
# A heavier-weight C++ wrapper that supports Abseil.
add_library (utf8_validity utf8_validity.cc utf8_range.c)