Commit Graph

177 Commits

Author SHA256 Message Date
Ana Guerrero
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
Dominique Leuenberger
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
Ana Guerrero
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
Ana Guerrero
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
Ana Guerrero
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
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
15a0b81bca UPB (Python/PHP/Ruby C-Extension)
* Remove src prefix from proto import
  * Fix .gitmodules to use the correct absl branch
  * Remove erroneous dependency on googletest
- update to 22.2:
  Java
  * Add version to intra proto dependencies and add kotlin stdlib
    dependency
  * Add $ back for osgi header
  * Remove $ in pom files
- update to 22.1:
  * Add visibility of plugin.proto to python directory
  * Strip "src" from file name of plugin.proto
  * Add OSGi headers to pom files.
  * Remove errorprone dependency from kotlin protos.
  * Version protoc according to the compiler version number.
- update to 22.0:
  * This version includes breaking changes to: Cpp.
    Please refer to the migration guide for information:
    https://protobuf.dev/support/migration/#compiler-22
  * [Cpp] Migrate to Abseil's logging library.
  * [Cpp] `proto2::Map::value_type` changes to `std::pair`.
  * [Cpp] Mark final ZeroCopyInputStream, ZeroCopyOutputStream,
    and DefaultFieldComparator classes.
  * [Cpp] Add a dependency on Abseil (#10416)
  * [Cpp] Remove all autotools usage (#10132)
  * [Cpp] Add C++20 reserved keywords
  * [Cpp] Dropped C++11 Support
  * [Cpp] Delete Arena::Init
  * [Cpp] Replace JSON parser with new implementation

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=157
2023-06-13 06:09:23 +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
Dominique Leuenberger
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
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
Dominique Leuenberger
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
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
Dominique Leuenberger
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
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
Dominique Leuenberger
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
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
Dominique Leuenberger
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
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
Dominique Leuenberger
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
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
Dominique Leuenberger
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
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
Dominique Leuenberger
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
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
Dominique Leuenberger
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
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