Commit Graph

35 Commits

Author SHA1 Message Date
Liu Yiding
aff45d811c
flatbuffers: upgrade 25.9.23 -> 25.12.19
Changelog:
  https://github.com/google/flatbuffers/releases/tag/v25.12.19

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-23 12:22:41 -08:00
Wang Mingyu
aa7dcb3c2e
flatbuffers: upgrade 25.2.10 -> 25.9.23
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-08 23:35:51 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu
13c26a132a
flatbuffers: upgrade 25.1.24 -> 25.2.10
Changelog:
===========
- Rust reflection: simplify dependencies, fix Android build compatibility
- [Swift] Adds swift 6 to the build matrix & bumps swift to 5.9
- Upgrade dependencies

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:49 -08:00
Wang Mingyu
3322157fda
flatbuffers: upgrade 24.12.23 -> 25.1.24
Changelog:
=============
* Mostly related to bazel build support.
* Min bazel supported is now 7 or higher, as WORKSPACE files are removed
* Minor C++ codegen fix removing extra semicolon
* Rust Full Reflection
* Mostly documentation updates hosted at https://flatbuffers.dev

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-10 08:45:35 -08:00
Wang Mingyu
16e5e77e5d
flatbuffers: upgrade 24.3.25 -> 24.12.23
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-30 09:08:03 -08:00
Akash Hadke
fc9a5194f2
python3-flatbuffers: provide nativesdk support
nativesdk support is needed in some of the projects for codegeneration

Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Akash Hadke <akash.hadke27@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-30 14:40:12 -07:00
BINDU
f3be6cf146
flatbuffers: adapt for cross-compilation environments
Flatbuffers contains a library and a schema compiler. The package
contains cmake files to discover the libraries and the compiler tool.
Currently, all of these cmake files are installed into the target
sysroot. However, the compiler utility isn't installed into the sysroot
(as it is not runnable on the build machine).

When an application that depends on flatbuffers gets built, it uses
flatbuffers' exported cmake targets to configure the project. One of the
exported targets is FlatcTarget.cmake which expects to see flatc binary
in /usr/bin of the sysroot. Since binaries for target don't end up in
target sysroot, cmake configuration fails.

This patch addresses this problem of flatbuffers' build infrastructure
in cross-compiling environments. By removing FlatcTarget.cmake for
target builds from the sysroot we essentially skip this step of
flatbuffers' configuration.

(cherry picked from commit b97dbaac66)

Signed-off-by: Ivan Stepic <Ivan.Stepic@bmw.de>
Signed-off-by: Bhabu Bindu <bindudaniel1996@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Akash Hadke <akash.hadke27@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-09 08:51:11 -07:00
Wang Mingyu
c0159f81ee
python3-flatbuffers: upgrade 24.3.7 -> 24.3.25
Changelog:
============
-Fix License
-Fix handling non null-terminated string_views in LookupByKey

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:51 -07:00
Wang Mingyu
713070971d
flatbuffers: upgrade 23.5.26 -> 24.3.7
Changelog:
==========
*Just to fix some of the CI build issues
*Fix typescript object API to allow 0 values for null-default scalars

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-20 09:28:04 -07:00
Andrej Valek
8af2f17a6f cve_check: convert CVE_CHECK_IGNORE to CVE_STATUS
- Try to add convert and apply statuses for old CVEs
- Drop some obsolete ignores, while they are not relevant for current
  version

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-27 08:54:40 -07:00
Wang Mingyu
b3626edcd7 flatbuffers: upgrade 23.1.4 -> 23.3.56
License_update: Rename LICENSE.txt to LICENSE

Changelog:
==========
    Mostly bug fixing for 64-bit support
    Adds support for specifying underling type of unions in C++ and TS/JS (#7954)
    64-bit support for C++ (#7935)
    add key_field to compiled tests
    Add golden language directory
    Rework cmake flatc codegeneration (#7938)
    remove defining generated files in test srcs
    Add binary schema reflection (#7932)
    Migrate from rules_nodejs to rules_js/rules_ts (take 2) (#7928)
    flat_buffers.dart: mark const variable finals for internal Dart linters
    fixed some windows warnings (#7929)
    inject no long for FBS generation to remove logs in flattests (#7926)
    Revert "Migrate from rules_nodejs to rules_js/rules_ts (#7923)" (#7927)
    Migrate from rules_nodejs to rules_js/rules_ts (#7923)
    Only generate @kotlin.ExperimentalUnsigned annotation on create*Vector methods having an unsigned array type parameter. (#7881)
    additional check for absl::string_view availability (#7897)
    Optionally generate Python type annotations (#7858)
    Replace deprecated command with environment file (#7921)
    drop glibc from runtime dependencies (#7906)
    Make JSON supporting advanced union features (#7869)
    Allow to use functions from BuildFlatBuffers.cmake from a flatbuffers installation installed with CMake. (#7912)
    TS/JS: Use TypeError instead of Error when appropriate (#7910)
    Go: make generated code more compliant to "go fmt" (#7907)
    Support file_identifier in Go (#7904)
    Optionally generate type prefixes and suffixes for python code (#7857)
    Go: add test for FinishWithFileIdentifier (#7905)
    Fix go_sample.sh (#7903)
    [TS/JS] Upgrade dependencies (#7889)
    Add a FileWriter interface (#7821)
    TS/JS: Use minvalue from enum if not found (#7888)
    [CS] Verifier (#7850)
    README.md: PyPI case typo (#7880)
    Update go documentation link to point to root module (#7879)
    use Bool for flatbuffers bool instead of Byte (#7876)
    fix using null string in vector (#7872)
    Add flatbuffers-64 branch to CI for pushes
    made changes to the rust docs so they would compile. new_with_capacity is deprecated should use with_capacity, get_root_as_monster should be root_as_monster (#7871)
    Adding comment for code clarification (#7856)
    ToCamelCase() when kLowerCamel now converts first char to lower. (#7838)
    Fix help output for --java-checkerframework (#7854)
    Update filename to README.md and improve formatting (#7855)
    Update stale.yml
    Updated remaining usages of LICENSE.txt
    Refactoring of flatc generators to use an interface (#7797).
    Removed legacy cmake support and set min to 3.8 (#7801).
    Reworked entry points for Typescript/Javascript and compatibility for single file build (#7510)
    Removed go.mod files after some versioning issues were being report (#7780).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-31 08:28:50 -07:00
Wang Mingyu
cff77124df flatbuffers: upgrade 22.12.06 -> 23.1.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-11 08:37:57 -08:00
Wang Mingyu
e758408ec0 flatbuffers: upgrade 22.11.23 -> 22.12.06
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-12 11:17:23 -08:00
Wang Mingyu
05f94724c7 flatbuffers: upgrade 22.10.26 -> 22.11.23
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-28 11:32:26 -08:00
Wang Mingyu
aa5ea92a4a flatbuffers: upgrade 22.9.29 -> 22.10.26
Changelog:
==========
    Create release.yml
    [Python] Fixed the issue with nested unions relying on InitFromBuf.
    FlatBuffers Version 22.10.26

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-31 08:27:33 -07:00
Wang Mingyu
3ada70df7c flatbuffers: upgrade 2.0.8 -> 22.9.29
Changelog:
==========
 Moves swift package to root of repository so it can be used directly
 Rust soundness fixes by @tustvold in #7518
 [TS] Make strict compliant and improve typings

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-09 20:06:54 -07:00
Markus Volk
0e3c62c5bc flatbuffers: upgrade 2.0.6 -> 2.0.8
* upgrade python3-flatbuffers as well
* make sure that flatbuffers and python3-flatbuffers are using the same codebase

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-13 09:55:03 -07:00
zhengrq.fnst
3d2375cb02 python3-flatbuffers: upgrade 2.0.6 -> 2.0.7
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-03 12:20:15 -07:00
Kai Kang
19061fea15 python3-flatbuffer: enable native
Native python module of flatbuffer exists before it is split from
flatbuffers. So add it back.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-06 00:08:14 -04:00
Markus Volk
0b32f0000c flatbuffers: update to 2.0.6
- fix flatc not found issue
- build the python3 module as a separate package to allow proper install
- remove fpic CXXFLAG as it seems to be unneeded
- use python3-native
- remove -DCMAKE_BUILD_TYPE=Release option and its outdated comment.
  After a long discussion the default behavior was changed:
  https://github.com/google/flatbuffers/pull/5180

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:29 -04:00
Khem Raj
f2df270179 recipes: Use new CVE_CHECK_IGNORE variable
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-21 18:12:04 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Andreas Müller
79053240dc flatbuffers: upgrade 1.12.0 -> 2.0.0
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-24 07:39:35 -07:00
Mikko Rapeli
e3c4c4ffb5 flatbuffers: whitelist CVE-2020-35864
CVE-2020-35864 is for the rust crate for flatbuffers, not
flatbuffers itself.

https://security-tracker.debian.org/tracker/CVE-2020-35864

"NOT-FOR-US: flatbuffers rust crate"

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-17 11:47:41 -08:00
Hongxu Jia
9df2c2daa8 flatbuffers: add python3 support
Add package flatbuffers-python3 to install python3 scripts

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-16 12:03:57 -08:00
Adrian Bunk
d6cc249802 flatbuffers: Remove workarounds for gcc < 6
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-12 14:16:19 -07:00
Wang Mingyu
28dd862c92 flatbuffers: upgrade 1.11.0 -> 1.12.0
0001-Add-detection-of-strtoull_l-function.patch
removed since it is included in 1.12.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-17 19:46:35 -07:00
Andrey Zhizhikin
4910a848ce flatbuffers: add PIC compiler flag required for aarch64
Add PIC flag to CXXFLAGS in order to solve the issue with linking
against the library for aarch64.

Without PIC enabled, linking against this library fails with
following messages:

relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `[snap]'
which may bind externally can not be used when making a
shared object; recompile with -fPIC

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-27 11:10:01 -08:00
Oleksandr Kravchuk
b4ae53538b flatbuffers: update to 1.11.0
Add detection logic for strtoull_l function needed for musl builds

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-17 12:34:21 -08:00
Adrian Freihofer
afadc2ca4d flatbuffers: update to 1.10.0
This is in fact an update from 1.7.1 to 1.10.0. (The git hash
of the 1.9.0 recipe referred flatbuffers release 1.7.1.)

This patch is obsolete, a similar fix has been applied upstream:
- 0001-correct-version-for-so-lib.patch
These two patches have been applied upstream:
- 0001-flatbuffers-Move-EndianSwap-template-to-flatbuffers-.patch
- 0002-use-__builtin_bswap16-when-building-with-clang.patch

Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 18:44:59 -08:00
Pascal Bach
596d86c197 flatbuffers: update to 1.9.0
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2018-05-01 18:12:48 -07:00
Khem Raj
281b007d48 flatbuffers: Fix build with clang on big-endian machines
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:50:46 +00:00
Pascal Bach
635a5b9f3f flatbuffers: add version 1.7.1
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:18:11 +02:00