Commit Graph

162 Commits

Author SHA256 Message Date
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
Dominique Leuenberger
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
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
Dominique Leuenberger
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
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
Richard Brown
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
OBS User buildservice-autocommit
e06a43c3ab Updating link to change in openSUSE:Factory/protobuf revision 61.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=198c3f140786d955e937ab85672ae0b2
2022-07-28 11:33:30 +00:00
Richard Brown
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
5a8a5cc42e Accepting request 990943 from home:dirkmueller:Factory
- 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/990943
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=123
2022-07-25 14:11:15 +00:00
Dominique Leuenberger
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
f6140c4c01 Accepting request 986431 from home:polslinux:branches:devel:tools:building
- Update to 21.2:
- C++
  - cmake: Call get_filename_component() with DIRECTORY mode instead of PATH mode (#9614)
  - Escape GetObject macro inside protoc-generated code (#9739)
  - Update CMake configuration to add a dependency on Abseil (#9793)
  - Fix cmake install targets (#9822)
  - Use __constinit only in GCC 12.2 and up (#9936)
- Java
  - Update protobuf_version.bzl to separate protoc and per-language java … (#9900)
- Python
  - Increment python major version to 4 in version.json for python upb (#9926)
  - The C extension module for Python has been rewritten to use the upb library.
  - This is expected to deliver significant performance benefits, especially when
    parsing large payloads. There are some minor breaking changes, but these
    should not impact most users. For more information see:
    https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
- PHP
  - [PHP] fix PHP build system (#9571)
  - Fix building packaged PHP extension (#9727)
  - fix: reserve "ReadOnly" keyword for PHP 8.1 and add compatibility (#9633)
  - fix: phpdoc syntax for repeatedfield parameters (#9784)
  - fix: phpdoc for repeatedfield (#9783)
  - Change enum string name for reserved words (#9780)
  - chore: [PHP] fix phpdoc for MapField keys (#9536)
  - Fixed PHP SEGV by not writing to shared memory for zend_class_entry. (#9996)
- Ruby
  - Allow pre-compiled binaries for ruby 3.1.0 (#9566)
  - Implement respond_to? in RubyMessage (#9677)
  - [Ruby] Fix RepeatedField#last, #first inconsistencies (#9722)
  - Do not use range based UTF-8 validation in truffleruby (#9769)
  - Improve range handling logic of RepeatedField (#9799)
- Other
  - Fix invalid dependency manifest when using descriptor_set_out (#9647)
  - Remove duplicate java generated code (#9909)

OBS-URL: https://build.opensuse.org/request/show/986431
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=121
2022-07-11 07:31:25 +00:00
Dominique Leuenberger
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
Martin Pluskal
708987e9cc Accepting request 976435 from Java:packages
Allow building on SLE-12-SP5

OBS-URL: https://build.opensuse.org/request/show/976435
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=119
2022-05-12 07:09:41 +00:00
Dominique Leuenberger
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
Martin Pluskal
7935975c4f Accepting request 975180 from home:marxin:branches:devel:tools:building
- Add temporary patch gcc12-disable-__constinit-with-c++-11.patch
  that addresses gh#protocolbuffers/protobuf#9916.

OBS-URL: https://build.opensuse.org/request/show/975180
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=117
2022-05-05 14:47:45 +00:00
Martin Pluskal
ba2c1947ae Accepting request 975051 from home:mcepl:branches:devel:languages:python
- Remove change_desc_db.patch, because underlying bug in
  gh#googleapis/python-api-core#372 has been fixed.

OBS-URL: https://build.opensuse.org/request/show/975051
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=116
2022-05-05 09:09:38 +00:00