#6 ANNOUNCED: Update to 23.3.3 (close RHBZ#2175405)
Merged a year ago by music. Opened a year ago by music.
Unknown source v23.3.3  into  rawhide

file modified
+1
@@ -18,3 +18,4 @@

  /flatbuffers-22.12.06.tar.gz

  /flatbuffers-23.1.4.tar.gz

  /flatbuffers-23.1.21.tar.gz

+ /flatbuffers-23.3.3.tar.gz

file added
+22
@@ -0,0 +1,22 @@

+ From 3ea1967505b4935e3de5ade53ff8f7bd481a15e6 Mon Sep 17 00:00:00 2001

+ From: "Benjamin A. Beasley" <code@musicinmybrain.net>

+ Date: Sat, 4 Mar 2023 10:11:21 -0500

+ Subject: [PATCH] Fix help output for --java-checkerframework

+ 

+ ---

+  src/flatc.cpp | 2 +-

+  1 file changed, 1 insertion(+), 1 deletion(-)

+ 

+ diff --git a/src/flatc.cpp b/src/flatc.cpp

+ index 31291a2544e..1cdfc3c16a5 100644

+ --- a/src/flatc.cpp

+ +++ b/src/flatc.cpp

+ @@ -117,7 +117,7 @@ const static FlatCOption flatc_options[] = {

+      "Add Clang _Nullable for C++ pointer. or @Nullable for Java" },

+    { "", "java-package-prefix", "",

+      "Add a prefix to the generated package name for Java." },

+ -  { "", "java-checkerframe", "", "Add @Pure for Java." },

+ +  { "", "java-checkerframework", "", "Add @Pure for Java." },

+    { "", "gen-generated", "", "Add @Generated annotation for Java." },

+    { "", "gen-jvmstatic", "",

+      "Add @JvmStatic annotation for Kotlin methods in companion object for "

file modified
+9 -5
@@ -12,12 +12,12 @@

  %bcond_with doc_pdf

  

  Name:           flatbuffers

- Version:        23.1.21

+ Version:        23.3.3

  # The .so version is equal to the project version since upstream offers no ABI

  # stability guarantees. We manually repeat it here and and use the macro in the

  # file lists as a reminder to avoid undetected .so version bumps. See

  # https://github.com/google/flatbuffers/issues/7759.

- %global so_version 23.1.21

+ %global so_version 23.3.3

  Release:        %autorelease

  Summary:        FlatBuffers: Memory Efficient Serialization Library

  
@@ -31,6 +31,10 @@

  # Hand-written for Fedora in groff_man(7) format based on --help output

  Source1:        flatc.1

  

+ # Fix help output for --java-checkerframework

+ # https://github.com/google/flatbuffers/pull/7854

+ Patch:          https://github.com/google/flatbuffers/pull/7854.patch

+ 

  # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval

  ExcludeArch:    %{ix86}

  
@@ -225,7 +229,7 @@

  

  

  %files

- %license LICENSE.txt

+ %license LICENSE

  

  %{_libdir}/libflatbuffers.so.%{so_version}

  
@@ -245,7 +249,7 @@

  

  

  %files doc

- %license LICENSE.txt

+ %license LICENSE

  %doc CHANGELOG.md

  %doc SECURITY.md

  %doc readme.md
@@ -259,7 +263,7 @@

  

  

  %files -n python3-flatbuffers -f %{pyproject_files}

- %license LICENSE.txt

+ %license LICENSE

  

  

  %changelog

file modified
+26 -6
@@ -165,6 +165,9 @@

  .B @Nullable

  for Java

  .TP

+ .B \-\-java\-package\-prefix

+ Add a prefix to the generated package name for Java.

+ .TP

  .B \-\-java\-checkerframework

  Add

  .B @Pure
@@ -279,12 +282,6 @@

  .B \-\-size\-prefixed

  Input binaries are size prefixed buffers.

  .TP

- .B \-\-proto

- Input is a

- .BR .proto ,

- translate to

- .BR .fbs .

- .TP

  .B \-\-proto\-namespace\-suffix\ \fISUFFIX

  Add this namespace to any flatbuffers generated from protobufs.

  .TP
@@ -293,6 +290,26 @@

  .B .proto

  oneofs to flatbuffer unions.

  .TP

+ .B \-\-keep\-proto\-id

+ Keep protobuf field ids in generated fbs file.

+ .TP

+ .B \-\-proto\-id\-gap

+ Action that should be taken when a gap between protobuf ids found.

+ .IP

+ .B Supported values:

+ .RS +7n

+ .IP \(bu 2n

+ .B nop

+ \(en do not care about gap

+ .IP \(bu 2n

+ .B warn

+ \(en A warning message will be shown about the gap in protobuf ids

+ .RI ( default )

+ .IP \(bu 2n

+ .B error

+ \(en An error message will be shown and the fbs generation will be interrupted.

+ .RE

+ .TP

  .B \-\-grpc

  Generate GRPC interfaces for the specified languages.

  .TP
@@ -410,6 +427,9 @@

  Implies

  .BR \-\-gen\-all .

  .TP

+ .B \-\-annotate\-sparse\-vectors\ \fISCHEMA

+ Don\(cqt annotate every vector element.

+ .TP

  .B \-\-annotate\ \fISCHEMA

  Annotate the provided

  .I BINARY_FILE

file modified
+1 -1
@@ -1,1 +1,1 @@

- SHA512 (flatbuffers-23.1.21.tar.gz) = fa62188f773ad044644a58caf1e25bef417dfdea47c9da8a2ea7f997154b4f3976019e32e73cc533696a3d4e45ec4a8402b6df140878dfa2ff078740d61b4b0f

+ SHA512 (flatbuffers-23.3.3.tar.gz) = 4066c94f2473c7ea16917d29a613e16f840a329089c88e0bdbdb999aef3442ba00abfd2aa92266fa9c067e399dc88e6f0ccac40dc151378857e665638e78bbf0

## [23.3.3 (Mar 3 2023)](https://github.com/google/flatbuffers/releases/tag/v23.3.3)

- Refactoring of `flatc` generators to use an interface.
- Removed legacy cmake support and set min to 3.8.

I have announced this on the devel mailing list. Merge and build no earlier than 2023-03-11. No dependent packages need to be rebuilt.

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/1189b55349b34b0e85e70fca99543a47

Pull-Request has been merged by music

a year ago