Commit Graph

33349 Commits

Author SHA1 Message Date
Bastian Germann def1bb7c1e python3-crc32c: Declare Zlib license
The CRC32C-ADLER license is the same as the SPDX-standardized Zlib.
Use Zlib over CRC32C-ADLER and as it is the last reference, remove the
CRC32C-ADLER license.

Signed-off-by: Bastian Germann <bage@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 20:16:25 -08:00
Peter Kjellerstedt 90bc766bcd licenses/MINPACK: Remove
The libeigen recipe, which was the only user of this license file, now
uses the Minpack license from OE-Core instead.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 13:05:33 -08:00
Peter Kjellerstedt 0063cf8aee libeigen: Remove LGPL code
Since libeigen is a header-only library, LGPL effectively has the same
properties as GPL when it comes to affecting the licensing of the code
that uses libeigen. To avoid the problem, backport a patch to remove all
LGPL-2.1 code from the library.

Switch to using "Minpack" rather than "MINPACK" as license since the
former is the official SPDX name.

Also correct the licenses for ${PN}, ${PN}-dbg and ${PN}-dev to reflect
that they do not contain any GPL code (the GPL code is only used for
benchmark tests and does not affect what is installed).

License-Update: Correct the license information
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 13:05:32 -08:00
Peter Marko ae7556a737 python3-protobuf: set CVE_PRODUCT
Similarly to c++ protobuf, add products matching historical entries.

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 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 a60b3e2b26 python3-protobuf: add MIT to license
utf_range is MIT licensed.
Although the LICENSE file is not distributed in python protobuf,
this can be read in c++ protobuf recipe where all files are present.

License-Update: added missing 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 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
Gyorgy Sarvari 6b1ba4543a capnproto: remove binaries from target-build, add bbclass
When linking to capnproto from another project, cmake fails to
find this package with the following error:

| CMake Error at ${RECIPE_SYSROOT}/usr/lib/cmake/CapnProto/CapnProtoTargets.cmake:176 (message):
|   The imported target "CapnProto::capnp_tool" references the file
|
|      "${RECIPE_SYSROOT}/usr/bin/capnp"
|
|   but this file does not exist.  Possible reasons include:

To solve this, this change includes the following:

1. Add a patch that removes the files installed (and exported) in
${bindir} from the target build. The CMake file originally verified
that these files exist when another recipe tried to use it, however
the ${RECIPE_SYSROOT} does not contain the binaries in ${bindir},
so it failed quick in the do_configure step. (This alone is enough
to link against the cross-compiled libraries of capnproto successfully,
but code-generation from capnproto definition fails)

2. Add a new bbclass for capnproto. To cross-compile an application
that uses capnproto, the application needs to be linked against the
cross-compiled version of the libraries, however the native version
of the binaries need to be used to generate C++ code from the
capnproto definitions. This class sets the correct CMake arguments, to
use the capnproto binaries from the native package, instead of looking
for the non-existent cross-compiled binaries. (These variables can
be found in ${libdir}/cmake/CapnProto/CapnProtoConfig.cmake file)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 11:25:22 -08:00
Ayoub Zaki 7edd553fbc bmap-writer: Upgrade to 1.0.2
* switch to libtinyxml2
* add streaming helper

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 11:25:22 -08:00
Alistair Francis 7bb7493a9b libspdm: Fixup the build flags
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 11:25:21 -08:00
Gyorgy Sarvari 10c13bf1fb mod-dnssd: update SRC_URI
Upstream repository url changed.

Fixes unsuccessful fetch warning.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-03 11:25:21 -08:00
Khem Raj 4797b72ba0 python3-lief: Update to tip of master branch
Fixes build issues with clang

In file included from TMPDIR/work/core2-32-yoe-linux/python3-lief/0.16.2/git/src/MachO/ChainedPointerAnalysis.cpp:19:
TMPDIR/work/core2-32-yoe-linux/python3-lief/0.16.2/git/include/LIEF/MachO/ChainedPointerAnalysis.hpp:390:17: error: static assertion failed due to requirement 'sizeof(LIEF::MachO::ChainedPointerAnalysis::union_pointer_t) == 16'
  390 |   static_assert(sizeof(union_pointer_t) == 16);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-02 12:36:29 -08:00
Markus Volk 0623501548 gvfs: add backport patch to add support for libnfs6
This is fixed in gvfs 1.57

Add a backport patch from archlinux:
https://gitlab.archlinux.org/archlinux/packaging/packages/gvfs/-/blob/main/0001-nfs-Support-libnfs-6-backport-to-1.56.patch?ref_type=heads

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-02 07:35:43 -08:00
Gyorgy Sarvari 418ce47f92 ndpi: correct LICENSE value
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-01 08:59:27 -08:00
Gyorgy Sarvari b5184644d4 open62541: fix qa error with encryption-openssl PACKAGECONFIG
In case "encryption-openssl" PACKAGECONFIG is enabled, do_package_qa fails:

ERROR: open62541-1.3.8-r0 do_package_qa: QA Issue: File /usr/lib/cmake/open62541/open62541Targets.cmake in package open62541-dev contains reference to TMPDIR [buildpaths]

Fix it by changing the value of RECIPE_SYSROOT to CMAKE_SYSROOT variable,
so the qa check passes, and other CMake projects should be still able to find the
CMake package provided by this recipe.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-01 08:59:27 -08:00
Gyorgy Sarvari 6a8d205e5c znc: fix LICENSE value, clean up SRC_URI
1. Set the correct LICENSE value

2. Csocket is a submodule of the main znc project. Instead of
cloning it separately in a subfolder, just let the gitsm fetcher
to fetch the correct revisions, at the correct place.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-01 08:59:27 -08:00
Gyorgy Sarvari a66ce64267 libdvbcsa: set correct LICENSE
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Gyorgy Sarvari 30fc238c87 pipewire-0.2: drop old version of recipe
pipewire-0.2 (which is a pre-pandemic version of pipewire) has been
kept around[1] to satisfy the dependencies of mutter (< 3.36).
Mutter has been updated to a version that doesn't require
this old pipewire more than 3 years ago[2].

There is a much more newer version of pipewire recipe available
in the same folder, and it seems there aren't further recipes depending on
this old version.

[1]: https://github.com/openembedded/meta-openembedded/commit/5200e029ea4f853f83b0c0884af5f6d9626b78ea
[2]: https://github.com/openembedded/meta-openembedded/commit/7cd570b486074d5876eae9fd48232694939a3e64

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Richard Purdie bd6a1bb278 recipes: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.

This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Gyorgy Sarvari 86980f2df2 fatresize: set correct LICENSE
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:02 -08:00
Derek Straka e5abb3281a python3-asgiref: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka 0b7b1e2526 python3-appdirs: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka dc2c314826 python3-inotify: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka 217c9d3d1d python3-cbor2: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka 34f3776250 python3-cachetools: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka 18bd0aade7 python3-blinker: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka 00cb259fbd python3-configobj: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:33 -08:00
Derek Straka 96c9661005 python3-aspectlib: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:32 -08:00
Derek Straka ac5c6a157c python3-arrow: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:32 -08:00
Derek Straka f10035ce58 python3-bleak: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:32 -08:00
Derek Straka 04bf6e86dd python3-dasbus: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 18:23:32 -08:00
Derek Straka 82b0c7943e python3-dominate: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:37 -08:00
Derek Straka 3ac7852b9b python3-ecdsa: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:37 -08:00
Derek Straka cc3942a549 python3-execnet: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka b7e4a5c6c3 python3-fastjsonschema: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka 2944028d80 python3-flask: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka 60a06d274c python3-flexcache: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka c43e6a0dba python3-flexparser: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka 8aae0a1ec5 python3-freezegun: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:36 -08:00
Derek Straka 335ff5abc8 python3-geojson: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka 50c39361c8 python3-html2text: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka e37f7788cb python3-httptools: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka cfaeb648d0 python3-intervals: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka 97db0edb4b python3-ipy: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00
Derek Straka 52650f4003 python3-iso3166: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-30 14:15:35 -08:00