Commit Graph

2248 Commits

Author SHA1 Message Date
Wang Mingyu 95e7be76a2 ctags: upgrade 6.1.20250302.0 -> 6.1.20250316.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-20 09:04:50 -07:00
Richard Purdie eac1f5b9c0 recipes: Fix variable assignment whitespace
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-20 08:46:56 -07:00
Jason Schonberg 3989427ca7 nodejs: upgrade 22.13.0 -> 22.14.0
License-Update: Change the location of the inspector_protocol
      https://github.com/nodejs/node/commit/a48430d4d34eb9f598522410dd7723f069c574d0

    Changelog: https://github.com/nodejs/node/releases/tag/v22.14.0

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-18 11:30:45 -07:00
Chen Qi 6ca753cbe6 php: upgrade from 8.2.26 to 8.4.4
0001-ext-opcache-config.m4-enable-opcache.patch is dropped.
This patch could be dropped because the new version now uses
AC_CACHE_CHECK, and we can just pass ac_cv_xxx to it instead of
using a local patch.

0008-ext-imap-config.m4-fix-include-paths.patch is dropped.
ext/imap has been removed from php in this new version. See
https://github.com/php/php-src/pull/13190. As a result of this
removal, the corresponding PACKAGECONFIG is removed from this new
version.

0001-Change-whether-to-inline-XXH3_hashLong_withSecret-to.patch is
dropped. It has been merged in this new version.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-13 22:09:37 -07:00
Chen Qi 929355270a php: drop some unneeded patches
Drop 0003-php-remove-host-specific-info-from-header-file.patch.
Instead we export PHP_UNAME = "Linux" to achieve the same effect.

Drop 0002-build-php.m4-don-t-unset-cache-variables.patch.
The related ac_cv_lib_xxx and ac_cv_func_xxx settings in this recipe
are also removed. This patch is not needed from the my build testing
result.

Drop 0009-php-don-t-use-broken-wrapper-for-mkdir.patch.
This patch says that the wrapper is broken, but does not say why.
Without this patch, things still build.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-13 22:09:37 -07:00
Hongxu Jia ed1319272c protobuf-c: 1.5.0 -> 1.5.1
According to [1], protobuf-c 1.5.1 has commits [2] to fix broke with
protobuf 26.0 (4.26.0)

Also port a patch from archlinux [3] to support protobuf 30 (4.30.0)

License-Update: update copyright years to 2025

[1] https://github.com/protobuf-c/protobuf-c/issues/730
[2] https://github.com/protobuf-c/protobuf-c/pull/711/
[3] https://gitlab.archlinux.org/archlinux/packaging/packages/protobuf-c/-/blob/main/protobuf-30.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-13 09:50:11 -07:00
Khem Raj 1ba3aca0c5 grpc: Upgrade to 1.71.0 Release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-12 08:15:43 -07:00
Changqing Li 71cadd0771 pahole: upgrade 1.28 -> 1.29
Upgrade to the latest version

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 19:35:32 -07:00
Wang Mingyu e7e8617a3d pocketpy: upgrade 2.0.5 -> 2.0.6
Changelog:
=========
- add pybind11 implementation for module reload
- Improve memory managements (mem-v2)
- implement array2d.chunked_array2d[T, TContext]
- Add test cases for array2d.chunked_array2d
- Refactor Frame struct
- [lz4] Make lz4 a submodule.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 17:17:21 -07:00
Wang Mingyu ec808b6f63 ctags: upgrade 6.1.20250223.0 -> 6.1.20250302.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 17:17:19 -07:00
Hongxu Jia c6cbcb0344 xmlrpc-c: 1.60.03 -> 1.64.0
Refresh local patches:
- 0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch
- 0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 17:17:19 -07:00
Khem Raj f9b58e2eae libtoml11: Upgrade to 4.4.0
Fix build with clang-20 while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-08 15:06:11 -08:00
Markus Volk 6cf4cf8b1b fastfloat: remove recipe
fastfloat was moved to oe-core

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-07 08:37:00 -08:00
Alex Kiernan cd57f730d6 abseil-cpp: Backport xpaclri asm fix
Native build on aarch64 breaks with:

| {standard input}: Assembler messages:
| {standard input}:169: Error: selected processor does not support `xpaclri'
| {standard input}:411: Error: selected processor does not support `xpaclri'
| {standard input}:859: Error: selected processor does not support `xpaclri'
| {standard input}:1140: Error: selected processor does not support `xpaclri'

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alex Kiernan <alexk@a-squared-projects.uk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-01 08:33:22 -08:00
Khem Raj 59f822ceb7 tk8: Exclude aclocal so existing macros are used
Adjustments for autoconf changes in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-28 10:22:01 -08:00
Ross Burton 8f00c1d4a7 cgdb: fix autoreconf
autoreconf needs to be told where to find macros as the Makefile.am does
not do this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton b3ac051874 tk: exclude aclocal so existing macros are used
This package has hand-coded aclocal.m4 so ensure that we don't run
aclocal.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton b3cb662fe3 xmlrpc-c: use autoreconf
Add a patch to not use AM_INIT_AUTOMAKE as automake isn't actually used,
and just let autotools.bbclass run autoreconf.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 77c1c65dcf poke: remove obsolete acpaths
As of "autotools: don't try and find in-tree macros" in core, acpaths is
no longer used.

Also switch to out-of-tree builds as this appear to work now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 3b5500a1a9 php: remove obsolete acpaths
As of "autotools: don't try and find in-tree macros" in core, acpaths is
no longer used.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Ross Burton 0708e38dd1 poke: enable out of tree builds 2025-02-27 20:28:16 +00:00
Ross Burton a2cc6294c5 cpuid: fix stripping
cpuid's Makefile passes -s to install to strip the binaries, but as this
uses the _host_ strip it can fail if that strip doesn't know about the
target (for example, building cpuid for x86 on aarch64):

  install -D -s -m 755 cpuid .../image/usr/bin/cpuid
  strip: Unable to recognise the format of the input file `.../image/usr/bin/cpuid'

Set INSTALL_STRIP='' so that the binaries are not stripped, and remove
the INSANE_SKIP for already-stripped.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:16 +00:00
Changqing Li 6d76dc0824 abseil-cpp: upgrade 20240722.0 -> 20250127.0
Upgrade to the latest new LTS release, release note:
https://github.com/abseil/abseil-cpp/releases?page=1

* drop 0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch,
already include in this LTS release
* Include security fix for CVE-2025-0838

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-27 09:55:50 -08:00
Wang Mingyu c93caf7c3f valijson: upgrade 1.0.3 -> 1.0.4
Changelog:
==========
- Prevent potential division by zero
- Fix stack overflow for unresolved references
- Fix buffer overflow in u8_strlen
- Fuzzing improvements
- Spelling corrections
- Detect circular references when parsing schemas
- Use statically allocated regexes for date/time pattern matching
- Allow permissive validation of date/time formats

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:56 -08:00
Wang Mingyu 139bff6267 python3-psycopg: upgrade 3.2.4 -> 3.2.5
Changelog:
 3x faster UUID loading thanks to C implementation

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:53 -08:00
Wang Mingyu bce0e31a1f ply: upgrade 2.3.0 -> 2.4.0
Changelog:
==============
- New architecture: mips
- New architecture: loongarch
- Output buffering can now be unconditionally disabled
- New provider: profile
- Incorrect stack management when accessing tracepoint data

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:52 -08: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 826896b654 ctags: upgrade 6.1.20250202.0 -> 6.1.20250223.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:48 -08:00
Gyorgy Sarvari e3c5b2dd0c capnproto: only export binaries for native build
The base problem this is trying to solve: capnproto has two main
components: libraries that can be linked against, and binary files
that can generate c++ code from capnproto definitions. When cross-compiling
one needs to use the cross-compiled libraries, but with the native
definition-compilers.
When linking against capnproto from another recipe, cross-compilation
fails, because the cmake files generated by capnproto verify the
existence of binary files in $bindir. When using a cross-compiled
version of capnproto, these binary files do not exist in RECIPE_SYSROOT, so
the compilation fails.

The previous patch: the previous solution patched the CMakeLists.txt
file in a way that it didn't export nor install the generated binary files.
Accidentally this also happened with native build (and happened knowingly with
target builds).

The new patch: instead of not installing and not exporting the binaries,
just install them without exporting, when creating a target build.
During compilation check is CMAKE_CROSSCOMPILING is set (coming from
cmake.bbclass) - if it is set, only install the binaries, without
exporting. When it is not set, resort to the original behavior.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-25 09:46:52 -08:00
Zhang Peng 94ee7bf2db lapack: fix lapack-ptest rdepends on lapack-dev
When LAPACKE is enabled, the QA check fails with the following error:
  ERROR: lapack-3.12.1-r0 do_package_qa: QA Issue: lapack-ptest rdepends on lapack-dev [dev-deps]
  ERROR: lapack-3.12.1-r0 do_package_qa: Fatal QA errors were found, failing task.
The root cause is that `lapack-ptest` accidentally installed `lapacke.pc`,
which is a development file intended to be included only in the `lapack-dev` package.
To resolve this: Remove `lapacke.pc` from the `lapack-ptest` installation

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-15 19:30:23 -08:00
Gyorgy Sarvari fe09b04b68 pax-utils: fix pyelftools PACKAGECONFIG dependency
The correct dependency name for pyelftools is "python3-pyelftools".
Set the dependency name accordingly to avoid build failure with
this PACKAGECONFIG.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-14 20:27:17 -08:00
Gyorgy Sarvari a87929bbcc pahole: fix python3 PACKAGECONFIG
As a build time dependency, python3 provides python3-core - set the
PACKAGECONFIG accordingly to avoid build failure.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-14 20:27:17 -08:00
Gyorgy Sarvari 13fcedfc92 ltrace: fix unwind PACKAGECONFIG
In case unwind PACKAGECONFIG is enabled, do_configure task
fails with the following error message:

| configure: error: Cannot enable both --with-libunwind and --with-elfutils

To avoid this error, disable elfutils with this PACKAGECONFIG.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-14 20:27:17 -08:00
Gyorgy Sarvari 91a0e89229 jsonrpc: fix interface library paths in cmake files
The cmake files generated by this recipe contain a number
of interfacing libraries, with absolute paths, which also
contain the TMPDIR. The TMPDIR part of these paths were
just truncated by the recipe, to avoid the corresponding
QA check error.

However this made it impossible to to link against this
library from other recipes. When one tried, the find_package
command failed with the following error:

| Run Build Command(s): ninja -v -j 12 all
| ninja: error: '/usr/lib/libjsoncpp.so', needed by 'jsonrpctest', missing and no known rule to make it

To avoid this, instead of just truncating this path, set it to
${CMAKE_SYSROOT} placeholder (which is resolved by CMake to
the correct value at build-time, using the variable set by
cmake.bbclass)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-13 20:54:51 -08:00
Wang Mingyu 40ed18634d mpich: upgrade 4.2.3 -> 4.3.0
License-Update: Copyright year updted to 2024

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-10 08:45:37 -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 ffeccbc440 ctags: upgrade 6.1.20250119.0 -> 6.1.20250202.0
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
Dmitry Baryshkov 6b44831860 android-tools: drop useless USB_DEBUGGING_ENABLED handling
This reverts commits 4271cc2827 ("android-tools: Add flag to enable
adbd service (#147)") and b85ae59968 ("android-tools 10: Add flag to
enable adbd service"). These two commits added optional
ROOTFS_POSTPROCESS_COMMAND touching the flag file, however this variable
doesn't make any sense in the package recipe, it is only concerned in
the image context.

Drop useless code from the android-tools recipe.

Fixes: 4271cc2827 ("android-tools: Add flag to enable adbd service (#147)")
Fixes: b85ae59968 ("android-tools 10: Add flag to enable adbd service")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-09 16:43:14 -08:00
Peter Marko c4a6fc8b40 grpc: add licenses from third party components
There are 9 (out of 24) third party components used for build.
Add their licenses.

SUB third_party/abseil-cpp            .. not used (unbundled)
    third_party/address_sorting       .. USED
SUB third_party/benchmark             .. not used (testing)
SUB third_party/bloaty                .. not used (testing)
SUB third_party/boringssl-with-bazel  .. not used (unbundled; openssl)
    third_party/cares                 .. not used (unbundled)
SUB third_party/envoy-api             .. USED
SUB third_party/googleapis            .. USED
SUB third_party/googletest            .. not used (testing)
    third_party/objective_c           .. not used (build helpers)
SUB third_party/opencensus-proto      .. USED
SUB third_party/opentelemetry         .. not used (gRPC_BUILD_GRPCPP_OTEL_PLUGIN)
SUB third_party/opentelemetry-cpp     .. not used (gRPC_BUILD_GRPCPP_OTEL_PLUGIN)
SUB third_party/protobuf              .. not used (unbundled)
SUB third_party/protoc-gen-validate   .. USED
    third_party/py                    .. not used (build helpers)
    third_party/rake-compiler-dock    .. not used (build helpers)
SUB third_party/re2                   .. not used (unbundled)
    third_party/toolchains            .. not used (build helpers)
    third_party/upb                   .. USED
    third_party/utf8_range            .. USED
SUB third_party/xds                   .. USED
    third_party/xxhash                .. USED
SUB third_party/zlib                  .. not used (unbundled)

* address_sorting - BSD-3-CLAUSE (already in main license)
  https://github.com/grpc/grpc/blob/master/third_party/address_sorting/LICENSE
* envoy-api - Apache-2.0 (already in main license)
  https://github.com/envoyproxy/data-plane-api/blob/4de3c74cf21a9958c1cf26d8993c55c6e0d28b49/LICENSE
* googleapis - Apache-2.0 (already in main license)
  https://github.com/googleapis/googleapis/blob/fe8ba054ad4f7eca946c2d14a63c3f07c0b586a0/LICENSE
* opencensus-proto - Apache-2.0 (already in main license)
  https://github.com/census-instrumentation/opencensus-proto/blob/4aa53e15cbf1a47bc9087e6cfdca214c1eea4e89/LICENSE
* protoc-gen-validate - Apache-2.0 (already in main license)
  https://github.com/bufbuild/protoc-gen-validate/blob/32c2415389a3538082507ae537e7edd9578c64ed/LICENSE
* upb - BSD-3-Clause (already present in main LICENSE)
  there is a note in all files
* utf8_range - MIT
  https://github.com/grpc/grpc/blob/master/third_party/utf8_range/LICENSE
* xds - Apache-2.0 (already in main license)
  https://github.com/cncf/xds/blob/3a472e524827f72d1ad621c4983dd5af54c46776/LICENSE
* xxhash - BSD-2-Clause
  https://github.com/grpc/grpc/blob/master/third_party/xxhash/LICENSE

License-Update: added missing licenses

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-08 20:43:46 -08:00
Peter Marko ac760128d7 grpc: fix protobuf-lite package config
protobuf-lite is a package, not recipe, so current code leads to
ERROR: Nothing PROVIDES 'protobuf-lite'

Moving it to 4th part (rdepends) is not needed as grpc links against it
so that rdependency is asutomatic.

Therefore protobuf-lite should be removed.

Note: for native, this packageconfig does not even compile and for
target it fails to link.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-08 20:43:46 -08:00
Peter Marko b041e236c0 grpc: remove workaround for GCC 4.8 in Ubuntu-14.04
Minimum distro version and gcc version is now higher.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-08 20:43:46 -08:00
Peter Marko 83c6dfcce6 grpc: remove unneeded dependencies
googletest is needed only if we would build tests, and then it should be
conditional on PTEST_ENABLED

libnsl is not needed. there is no linking command in any cmake.
The only grep hit is in cares.cmake to disable it.
Commit 2ffc7b45d6 which added it talks
about host distros, but also such case would be wrong when adding it to
general depends (should be in native only depends) and it would have to
have be reference in cmake (in grpc or in one of recipe-sysroot).

Also sort the dependencies in the process.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-08 20:43:46 -08:00
Leon Anavi 595f8ae2dc sip: Upgrade 6.9.1 -> 6.10.0
After the migration from Mercurial to GitHub the homepage has
changed and SIP is now licensed under the BSD-2-Clause license. The
upgrade to version 6.10.0 brings the following changes:

- SIP_ABI_VERSION has been added as a module attribute of the sip
  module. This is an integer that represents the ABI version that
  the module implements as a 3 part hexadecimal number.
  This has been implemented in ABIs v12.17 and v13.10.
- The ability of sip-module to generate sdists for older ABI
  versions has been restored. The oldest that can be generated are
  v12.9 and v13.1 which are the oldest non-deprecated versions.
- The default minor ABI version to use is now the latest minor
  version for a particular major version (rather than 0 as it was
  previously).
- The --abi-version command line option has been added to sip-build,
  sip-install and sip-wheel to specify the ABI version of the sip
  module to generate code for.
- The %MinimumABIVersion directive is used to specify the minimum
  sip module ABI to target in order to ensure that all calls to the
  public API from handwritten code are available.
  A consequence of this change is that passing string values to the
  /Deprecated/ annotation no longer requires an ABI version that
  supports them to be targeted. If the targeted ABI version does
  not support them they are simply ignored.
- The value of a string annotation uses the ; and : characters to
  allow platform- and feature-specific values to be defined. These
  special characters can now be escaped using a leading \\. This
  capability has now been documented.
- The license designator in setup.py for the latest versions of the
  sip module are now correctly specified as BSD-2-Clause.
- The code generation has been fixed for classes created by
  instantiating mapped type templates using a typedef with the
  /NoTypeName/ annotation.

This work was sponsored by GOVCERT.LU.

License-Update: SIP is now licensed under the BSD-2-Clause license.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-04 10:14:37 -08:00
Peter Marko 30e585a505 protobuf: set CVE_PRODUCT
Add all relevant products from following query.
Also remove generic "protobuf" to avoid matching golang:protobuf.

.../downloads/CVE_CHECK2$ sqlite3 nvdcve_2-2.db
sqlite> select vendor, product, count(*) from products where product like '%protobuf%' group by vendor, product;
golang|protobuf|1
google|google-protobuf|5
google|protobuf|2
google|protobuf-cpp|4
google|protobuf-java|15
google|protobuf-javalite|12
google|protobuf-kotlin|6
google|protobuf-kotlin-lite|4
google|protobuf-python|4
protobuf|protobuf|1
protobuf-c_project|protobuf-c|2
protobufjs_project|protobufjs|3
rust-protobuf_project|rust-protobuf|2

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 13:03:25 -08:00
Peter Marko ec554daa6c protobuf: add MIT to license
Third party components have MIT license.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 13:03:25 -08:00
Peter Marko c7b6f0a8ce protobuf: don't download git submodules
All dependencies are used from recipe sysroot now.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 13:03:25 -08:00
Peter Marko 7bfa5c77f7 protobuf: use system jsoncpp
We should not use additional vendored jsoncpp unless required due to
compatibility issues.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 13:03:24 -08:00
Peter Marko 300041ab66 jsoncpp: enable nativesdk build
This is necessary for unbundled build of protobuf.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 13:03:24 -08:00
Peter Marko 12c7be0e8a protobuf: remove rdepends on abseil-cpp
This commit reverts
https://git.openembedded.org/meta-openembedded/commit/?id=5af1cd3ada4cc86864810a12c82771ba1afdce64

That commit prefers sdk development instead of release images.
The additional libraries are not needed for protobuf at runtime.
Also any component depending on protobuf will have whole abseil-cpp in
sysroots so linking all the libraries is possible and any additional
ones will be installed.

What may not work is if protobuf is installed in sdk image and
application using it wants to use an additional abseil-cpp library.
However that is easily fixable by adding also abseil-cpp to sdk.
Removing hard-dependency in release images is much harder.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 13:03:24 -08:00
Peter Marko 5a0d4d3e88 protobuf: remove unneeded atomic linker flag
This is handled in protofuf cmake since 3.15:
https://github.com/protocolbuffers/protobuf/commit/55ed1d427ccc0d200927746329ac9b811dee77b9

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 13:03:24 -08:00