Opened 7 months ago

Closed 7 months ago

#22863 closed enhancement (fixed)

protobuf-34.0

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 13.1
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description

New major version.

Attachments (1)

protobuf-c-1.5.2-protobuf_34-0.patch​ (13.4 KB ) - added by Xi Ruoyao 7 months ago.
protobuf-c needs to be adapted

Download all attachments as: .zip

Change History (8)

by Xi Ruoyao, 7 months ago

protobuf-c needs to be adapted

comment:1 by Bruce Dubbs, 7 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: new → assigned

comment:2 by Bruce Dubbs, 7 months ago

Protocol Buffers v34.0

This version includes potential breaking changes with major version bump to: Objective-C, Python, PHP, C++. Bazel

  • [Objective-C] Remove -[GPBFieldDescriptor optional]
  • [Objective-C] Fix nullability annotations on some GPB*Dictionary types.
  • [Objective-C] Remove generate_minimal_imports generation option warning
  • [Python] Raise errors in OSS when assign bool to int/enum field in Python Proto.
  • [Python] Remove deprecated UseDeprecatedLegacyJsonFieldConflicts()
  • [Python] Remove deprecated FieldDescriptor.label
  • [Python] Remove float_format/double_format from python proto text_format
  • [Python] Remove deprecated FieldDescriptor::label() in OSS. Use is_repeated() or is_required() instead
  • [Python] Raise TypeError when convert non-timedelta to Duration, or convert non-datetime to Timestamp in python proto. (Original code may raise ArributeError)
  • [Python] Remove float_precision from python proto json_format
  • [PHP] Remove deprecated PHP APIs FieldDescriptor getLabel, use IsRepeated or isRequired instead.
  • [PHP] Remove deprecated PHP APIs
  • [PHP] Add PHP typehints for setters and remove redundant GPBUtil checks
  • [PHP] support default values for editions/proto2
  • [C++] Remove deprecated UseDeprecatedLegacyJsonFieldConflicts()
  • [C++] Add a debug check that the target of CopyFrom is not a descendant of the source.
  • [C++] Add nodiscard to many APIs.
  • [C++] Make generator headers private
  • [C++] Remove deprecated FieldDescriptor::has_optional_keyword() in OSS. Use is_repeated() or has_presence() instead
  • [C++] Remove deprecated FieldDescriptor::label() in OSS. Use is_repeated() or is_required() instead
  • [C++] Remove deprecated FieldDescriptor::is_optional() in OSS. Use (!is_required() && !is_repeated()) instead
  • [C++] Remove AddUnusedImportTrackFile() and ClearUnusedImportTrackFiles(). Remove PROTOBUF_FUTURE_RENAME_ADD_UNUSED_IMPORT
  • [C++] Removes proto2::util::MessageDifferencer::AddIgnoreCriteria that takes a raw pointer as an argument in favor of the overload that takes a unique_ptr. Remove macro PROTOBUF_FUTURE_REMOVE_ADD_IGNORE_CRITERIA
  • [C++] Make the arena-enabled constructors of RepeatedField, RepeatedPtrField, and Map private.
  • [C++] All entity names have length limit
  • [Other] Remove deprecated flag for enabling MSVC support
  • [Bazel] Remove deprecated ProtoInfo.transitive_imports. Use equivalent transitive_sources instead
  • [Bazel] Change @protobufbazel/flags:prefer_prebuilt_proto flag to True.
  • [Bazel] Only respect the Starlark versions of --proto_toolchain_for*

comment:3 by Bruce Dubbs, 7 months ago

BLFS packages that use this package are: vlc, opencv, and qt6

comment:4 by Douglas R. Reno, 7 months ago

In addition to the above list, protobuf-c uses Protobuf and protobuf-c is used by libshumate.

comment:5 by Bruce Dubbs, 7 months ago

I found a patch for protobuf-c and it applies and builds OK. I can also build libshumate. Still working on the others.

comment:6 by Bruce Dubbs, 7 months ago

vlc builds and tests OK.

opencv builds OK.

Arch shows 261 packages that use protobuf. Most are vlc plugins.

comment:7 by Bruce Dubbs, 7 months ago

Resolution: → fixed
Status: assigned → closed

Fixed at commits

485075a366 Update to umockdev-0.19.5.
d362d5daef Update to xapian-core-1.4.31.
b386c9c93a Update to protobuf-34.0.
fb2915391b Add a patch to protobuf-c for compatibility with protobuf-34.0.0
Note: See TracTickets for help on using tickets.