Go to file
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
contrib contrib: oe-stylize: Use Python3 explicitly 2023-06-04 22:29:46 -07:00
meta-filesystems recipes: Fix variable assignment whitespace 2025-01-31 10:34:03 -08:00
meta-gnome gvfs: add backport patch to add support for libnfs6 2025-02-02 07:35:43 -08:00
meta-initramfs meta: Add SECURITY.md file to all layers 2024-11-23 09:00:14 -08:00
meta-multimedia libdvbcsa: set correct LICENSE 2025-01-31 10:34:03 -08:00
meta-networking ndpi: correct LICENSE value 2025-02-01 08:59:27 -08:00
meta-oe capnproto: remove binaries from target-build, add bbclass 2025-02-03 11:25:22 -08:00
meta-perl libcgi-perl: upgrade 4.66 -> 4.67 2025-01-10 09:33:51 -08:00
meta-python python3-lief: Update to tip of master branch 2025-02-02 12:36:29 -08:00
meta-webserver mod-dnssd: update SRC_URI 2025-02-03 11:25:21 -08:00
meta-xfce xfce-dusk-gtk3: fix do_fetch error 2025-01-01 19:02:18 -08:00
.gitignore .gitignore: add *.pyc and *.pyo 2019-06-15 16:45:33 -07:00
COPYING.MIT
README.md layers: Move READMEs to markdown format 2023-06-17 08:30:01 -07:00

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to suppliment OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories