From patchwork Mon Jan 13 21:41:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8416 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4YX5LD6MtSz3xHD for ; Mon, 13 Jan 2025 21:41:24 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4YX5LC5r19z4gG; Mon, 13 Jan 2025 21:41:23 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4YX5LC5B3Yz30b2; Mon, 13 Jan 2025 21:41:23 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4YX5L55P35z2y0r for ; Mon, 13 Jan 2025 21:41:17 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4YX5L52MJ1z1wy; Mon, 13 Jan 2025 21:41:17 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1736804477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=J2+oMLO3MUSpcFtC9umnN76jDJYUhEpaQOjOofCMHBI=; b=gr1UISE0CaL5jQaCjHnYV0fBHKMykzRLJWoNyG0NBpRDu6ig9J0OoalW5BvGjOb0LJvwYV fkY2v2tLKIC9gvDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1736804477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=J2+oMLO3MUSpcFtC9umnN76jDJYUhEpaQOjOofCMHBI=; b=JAsLbqtWuhfYZXmXEAMuks+0ZqWwNP4ru/v/qggLKrPtXZTTIG51jAI80wloQBBn8flH4l Khi0ZdU0HSDzVpgrmB+Ji9z+sumk4d2aV8ra+mLcQOyy60iWK55cc5GOrrGBzOlxta7dWk hFDa+0zTaLXfpawvxz2Firwp3WY1W7Rgfa5JlEMFrHfAXk4mqSnX749alDR/iOkqghSkr9 OWZVilAgTFdjurmjQXz0qIuNcbJrt+tc91T7wJzQc2FLD5pWZF4tyLn+PEGDnZMiPQs0gg 2CB7ncAQqKyDy8P9sG+Mrenjmk0TxqDw0C9fLIkk0ActufrnSGipJUZU0S+8fg== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] protobuf: Update to version 29.3 Date: Mon, 13 Jan 2025 22:41:08 +0100 Message-ID: <20250113214108.2221728-7-adolf.belka@ipfire.org> In-Reply-To: <20250113214108.2221728-1-adolf.belka@ipfire.org> References: <20250113214108.2221728-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: Z4TKR3WLLBCNW5CLXNGBSLMUQ67V4KKG X-Message-ID-Hash: Z4TKR3WLLBCNW5CLXNGBSLMUQ67V4KKG X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 28.3 to 29.3 - Update of rootfile - Changelog 29.3 Announcements Protobuf News may include additional announcements or pre-announcements for upcoming changes. C++ Fix cmake installation location of java and go features (#19773) (1dc5842) Other Add .bazeliskrc for protobuf repo to tell bazelisk to use 7.1.2 by default. (#19884) (9a5d2c3) Update artifact actions to v4 (#19703) (8e7e6b0) 29.2 Announcements Protobuf News may include additional announcements or pre-announcements for upcoming changes. C++ Automated rollback of commit 23aada2. (#19692) (1772657) Remove unused / invalid C++ lazy repeated field code from OSS. (#19682) (3649f87) Java Automated rollback of commit 23aada2. (#19692) (1772657) Other Export environment variables so bazelisk picks them up (#19690) (8b9d76c) Pin staleness check to Bazel 7 (#19689) (a1c9b6a) Remove CMake downgrade workaround from Windows CI tests (#19630) (3a7bb4a) 29.1 Announcements Protobuf News may include additional announcements or pre-announcements for upcoming changes. Java Rename maven to protobuf_maven in MODULE.bazel (#18641) (#19477) (ba6da44) Kotlin Rename maven to protobuf_maven in MODULE.bazel (#18641) (#19477) (ba6da44) Python Revert "Remove deprecated service.py usages from test". For 29.x only (#19434) (5864b50) 29.0 Announcements Protobuf News may include additional announcements or pre-announcements for upcoming changes. Bazel Add missing line to docstring after Args (#19213) (6f310d5) Fix proto_info_bzl (#18918) (083de5f) Use rules_cc everywhere in protobuf (ddadd0b) Upgrade rules_cc to 0.0.13 (3dd4835) Convert proto toolchain string to Label (aa181e2) Prepare supporting targets for testing (a748b10) Support --incompatible_enable_proto_toolchain_resolution (372ddb3) Move ProtoInfo and ProtoLangToolchainInfo from Bazel (426ca8a) Move java_{lite_}proto_library from Bazel repository (d77bdac) Move proto_toolchain from rules_proto to protobuf (9f9cb7a) Move proto_library from Bazel repository (3ff2cf0) Move proto_common implementation from Bazel binary (b19fbe6) Compiler Begin adding extension numbers to SourceCodeInfo and FileDescriptorSet for tooling purposes. (07e489d) Update protoc release to include editions language features proto for Go (#19013) (63d966b) Introduce lifetimes for individual feature values. (0b6e768) Windows - Fix handling of utf8 command line arguments (#17854) (b9d1800) Limit feature deprecation warnings to reduce noise. (5cd9a46) C++ Fix C++ ifndef_guard printer to also convert "-" to "_". (7331b77) Fix C++ codegen namespace printer to print closing namespaces in reverse order. (3bf9c40) Fix raw_ptr.cc on exotic architectures (#18193) (63f6262) Fix cord handling in DynamicMessage and oneofs. (9e8b30c) Fix packed reflection handling bug in edition 2023. (4c92328) Add JsonStreamToMessage method (0259cc3) Introduce lifetimes for individual feature values. (0b6e768) Insert software prefetches into merge functions. This improves performance when hardware prefetchers are disabled on AMD machines. (d993365) Insert software prefetches into proto parsing functions. This improves performance when hardware prefetchers are disabled on AMD platforms. (8aa0add) Add prefetching of subsequent extensions in ExtensionSet::ForEach. (9b019ee) Remove the AnyMetadata class and use free functions instead. (920d5c3) Add [[deprecated]] attribute when generating enums and classes. (23aada2) Use linear search instead of binary search in flat mode of ExtensionSet. (0ed61f0) Prepare MessageLite::GetTypeName to be upgraded to return (30a8ef5) Limit feature deprecation warnings to reduce noise. (5cd9a46) Add Compiler Condition to use inline assembly optimizations with ARM64 for Compatibility with MSVC (#17671) (c5f6231) Enable small object optimization (SOO) for RepeatedField in order to reduce data indirections. (e2525e6) Return backing array memory to arena in ExtensionSet. (5ac8ee1) In edition 2024, Enum_Name(value) functions return absl::string_view by default. (e3fa6aa) Add Prefetchers to Proto Copy Construct to help address load misses (cdb7238) Reduced nesting in GenerateByteSize: slight readability improvements in generated code. (162a740) Introduce FieldDescriptor::cpp_string_type() API to replace direct ctype inspection which will be removed in the next breaking change (d0e49df) Update the comment of TextFormat::Printer::RegisterMessagePrinter that the method takes ownerhip of the printer pointer. (d911161) Prepare the code for migrating return types from const std::string& to (e13b8e9) Java Remove deprecation warnings for Timestamp and Duration add/subtract/between that we do not yet have alternatives to. (f606c13) [29.x] Add missing java load (#19016) (bb287be) Give Kotlin jars an OSGi Manifest (#18812) (0c51eba) Re-export includingDefaultValueFields in deprecated state for important Cloud customer. (7321b2f) Restore compatibility with 3.22 gencode by re-adding mutableCopy helpers (1b1e90b) Speed up CodedOutputStream by extracting rarely-executed string formatting code (f8f5136) Return constant Value objects for true, false, and "" (4fbb0c5) Optimise CodedOutputStream.ArrayEncoder.writeFixed32NoTag/writeFixed64NoTag (a51f98c) CodedOutputStream: avoid updating position to go beyond end of array. (76ab5f2) Convert IndexOutOfBoundsException to OutOfSpaceException in UnsafeDirectNioEncoder (0e75d92) Suppress ReturnValueIgnored errorprone issues (bbbc7b9) Fix packed reflection handling bug in edition 2023. (4c92328) Move cc_proto_library from Bazel repository (5254448) Protobuf Lite ArrayLists: Defer allocating backing array until we have some idea how much to allocate. (05a8a40) Allocate correct-sized array when parsing packed fixed-width primitives (4e8469c) Bugfix: Make extensions beyond n=16 immutable. (ee419f2) Reserve capacity in ProtobufArrayList when calling Builder.addAllRepeatedMessage(Collection) (e3cc31a) Avoid allocating iterators when calling Message.Builder.addAllFoo(RandomAccess List) (bd1887e) Remove the AnyMetadata class and use free functions instead. (https://github.com/protocolbuffers/protobuf/com... Signed-off-by: Adolf Belka --- config/rootfiles/common/protobuf | 41 +++++++++++++++++++------------- lfs/protobuf | 6 ++--- 2 files changed, 27 insertions(+), 20 deletions(-) diff --git a/config/rootfiles/common/protobuf b/config/rootfiles/common/protobuf index c26f8dfb8..db247dfeb 100644 --- a/config/rootfiles/common/protobuf +++ b/config/rootfiles/common/protobuf @@ -1,11 +1,11 @@ #usr/bin/protoc -#usr/bin/protoc-28.3.0 +#usr/bin/protoc-29.3.0 #usr/bin/protoc-gen-upb -#usr/bin/protoc-gen-upb-28.3.0 +#usr/bin/protoc-gen-upb-29.3.0 #usr/bin/protoc-gen-upb_minitable -#usr/bin/protoc-gen-upb_minitable-28.3.0 +#usr/bin/protoc-gen-upb_minitable-29.3.0 #usr/bin/protoc-gen-upbdefs -#usr/bin/protoc-gen-upbdefs-28.3.0 +#usr/bin/protoc-gen-upbdefs-29.3.0 #usr/include/google #usr/include/google/protobuf #usr/include/google/protobuf/any.h @@ -21,6 +21,7 @@ #usr/include/google/protobuf/arenaz_sampler.h #usr/include/google/protobuf/compiler #usr/include/google/protobuf/compiler/code_generator.h +#usr/include/google/protobuf/compiler/code_generator_lite.h #usr/include/google/protobuf/compiler/command_line_interface.h #usr/include/google/protobuf/compiler/cpp #usr/include/google/protobuf/compiler/cpp/enum.h @@ -86,7 +87,6 @@ #usr/include/google/protobuf/compiler/java/helpers.h #usr/include/google/protobuf/compiler/java/internal_helpers.h #usr/include/google/protobuf/compiler/java/java_features.pb.h -#usr/include/google/protobuf/compiler/java/kotlin_generator.h #usr/include/google/protobuf/compiler/java/lite #usr/include/google/protobuf/compiler/java/lite/enum.h #usr/include/google/protobuf/compiler/java/lite/enum_field.h @@ -105,6 +105,10 @@ #usr/include/google/protobuf/compiler/java/names.h #usr/include/google/protobuf/compiler/java/options.h #usr/include/google/protobuf/compiler/java/shared_code_generator.h +#usr/include/google/protobuf/compiler/kotlin +#usr/include/google/protobuf/compiler/kotlin/file.h +#usr/include/google/protobuf/compiler/kotlin/generator.h +#usr/include/google/protobuf/compiler/kotlin/message.h #usr/include/google/protobuf/compiler/objectivec #usr/include/google/protobuf/compiler/objectivec/enum.h #usr/include/google/protobuf/compiler/objectivec/enum_field.h @@ -144,6 +148,7 @@ #usr/include/google/protobuf/compiler/rust/accessors/accessors.h #usr/include/google/protobuf/compiler/rust/accessors/default_value.h #usr/include/google/protobuf/compiler/rust/accessors/generator.h +#usr/include/google/protobuf/compiler/rust/accessors/with_presence.h #usr/include/google/protobuf/compiler/rust/context.h #usr/include/google/protobuf/compiler/rust/crate_mapping.h #usr/include/google/protobuf/compiler/rust/enum.h @@ -154,6 +159,7 @@ #usr/include/google/protobuf/compiler/rust/relative_path.h #usr/include/google/protobuf/compiler/rust/rust_field_type.h #usr/include/google/protobuf/compiler/rust/rust_keywords.h +#usr/include/google/protobuf/compiler/rust/upb_helpers.h #usr/include/google/protobuf/compiler/scc.h #usr/include/google/protobuf/compiler/subprocess.h #usr/include/google/protobuf/compiler/versions.h @@ -191,6 +197,7 @@ #usr/include/google/protobuf/generated_message_tctable_gen.h #usr/include/google/protobuf/generated_message_tctable_impl.h #usr/include/google/protobuf/generated_message_util.h +#usr/include/google/protobuf/go_features.proto #usr/include/google/protobuf/has_bits.h #usr/include/google/protobuf/implicit_weak_message.h #usr/include/google/protobuf/inlined_string_field.h @@ -206,6 +213,7 @@ #usr/include/google/protobuf/io/zero_copy_stream.h #usr/include/google/protobuf/io/zero_copy_stream_impl.h #usr/include/google/protobuf/io/zero_copy_stream_impl_lite.h +#usr/include/google/protobuf/java_features.proto #usr/include/google/protobuf/json #usr/include/google/protobuf/json/internal #usr/include/google/protobuf/json/internal/descriptor_traits.h @@ -279,14 +287,6 @@ #usr/include/google/protobuf/wire_format_lite.h #usr/include/google/protobuf/wrappers.pb.h #usr/include/google/protobuf/wrappers.proto -#usr/include/java -#usr/include/java/core -#usr/include/java/core/src -#usr/include/java/core/src/main -#usr/include/java/core/src/main/resources -#usr/include/java/core/src/main/resources/google -#usr/include/java/core/src/main/resources/google/protobuf -#usr/include/java/core/src/main/resources/google/protobuf/java_features.proto #usr/include/upb #usr/include/upb/base #usr/include/upb/base/descriptor_constants.h @@ -378,6 +378,7 @@ #usr/include/upb/reflection/def.hpp #usr/include/upb/reflection/def_pool.h #usr/include/upb/reflection/def_type.h +#usr/include/upb/reflection/descriptor_bootstrap.h #usr/include/upb/reflection/enum_def.h #usr/include/upb/reflection/enum_reserved_range.h #usr/include/upb/reflection/enum_value_def.h @@ -415,6 +416,7 @@ #usr/include/upb/util/def_to_proto.h #usr/include/upb/util/required_fields.h #usr/include/upb/wire +#usr/include/upb/wire/byte_size.h #usr/include/upb/wire/decode.h #usr/include/upb/wire/encode.h #usr/include/upb/wire/eps_copy_input_stream.h @@ -423,7 +425,11 @@ #usr/include/upb/wire/reader.h #usr/include/upb/wire/types.h #usr/include/upb_generator -#usr/include/upb_generator/mangle.h +#usr/include/upb_generator/common +#usr/include/upb_generator/common/names.h +#usr/include/upb_generator/minitable +#usr/include/upb_generator/minitable/names.h +#usr/include/upb_generator/minitable/names_internal.h #usr/include/utf8_range.h #usr/include/utf8_validity.h #usr/lib/cmake/protobuf @@ -439,14 +445,15 @@ #usr/lib/cmake/utf8_range/utf8_range-targets-noconfig.cmake #usr/lib/cmake/utf8_range/utf8_range-targets.cmake #usr/lib/libprotobuf-lite.so -usr/lib/libprotobuf-lite.so.28.3.0 +usr/lib/libprotobuf-lite.so.29.3.0 #usr/lib/libprotobuf.so -usr/lib/libprotobuf.so.28.3.0 +usr/lib/libprotobuf.so.29.3.0 #usr/lib/libprotoc.so -usr/lib/libprotoc.so.28.3.0 +usr/lib/libprotoc.so.29.3.0 #usr/lib/libupb.a usr/lib/libutf8_range.so usr/lib/libutf8_validity.so #usr/lib/pkgconfig/protobuf-lite.pc #usr/lib/pkgconfig/protobuf.pc +#usr/lib/pkgconfig/upb.pc #usr/lib/pkgconfig/utf8_range.pc diff --git a/lfs/protobuf b/lfs/protobuf index a58933f33..92d19de38 100644 --- a/lfs/protobuf +++ b/lfs/protobuf @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2024 IPFire Team # +# Copyright (C) 2007-2025 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 28.3 +VER = 29.3 THISAPP = protobuf-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 05162124676abe18300481e9f985fd2cfb09b052d06670a993e79ef02f3daf0d5380b521977ebc2362d4094486151ea285fe1c98a1d2f3799b18a1fa422fdc13 +$(DL_FILE)_BLAKE2 = 8d37daac6f0d832e5bff5c56b9be73fce1fe016ca4e905f4c66d8fea20fabbee54a6be2c824f503d40f8492a4ec6280a539c454de9a118b69ebc57f2afe3d965 install : $(TARGET)