Commit Graph

17 Commits

Author SHA1 Message Date
Khem Raj e6e72ed4c4 Revert "libcamera: add pkg-config files"
This reverts commit 606eaedc8c.
2022-02-23 09:25:19 -08:00
Devendra Tewari 606eaedc8c libcamera: add pkg-config files
Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-22 08:30:51 -08:00
Peter Griffin ea6d967dbe libcamera: update meson options to build pipeline handlers & cam utility
Enable uvcvideo, simple, and vimc pipeline handlers in libcamera. Without
any pipeline handlers libcamera can't capture any frames.

Also enable cam utility with is a cli utility that can use the library to
capture some frames.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-03 08:44:32 -08:00
Mauro Anjo b450b0bb82 libcamera: Update to latest commit
Drop patch for musl/aarch64 and bump source commit to latest version that
has the patch applied.

Signed-off-by: Mauro Anjo <maurosanjo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-08 11:12:23 -08:00
Khem Raj 2609687905 libcamera: Fix build break on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-01 12:39:28 -08:00
Mauro Anjo 6950f12060 Upgrade libcamera
Upgrades libcamera to latest commit, now libcamera.so is a symlink so
made changes to include all created symlinks.

Signed-off-by: Mauro Anjo <maurosanjo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-01 12:39:28 -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
Khem Raj 71dd824d25 libcamera: Update to latest master tip
Drop upstreamed patch
jinja2.Environment.compile_templates no longer accepts py_compile
argument so delete it

Fixes
TypeError: compile_templates() got an unexpected keyword argument 'py_compile'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-05-17 09:00:36 -07:00
Khem Raj b2bd9cce16 libcamera: Update the patch to upstreamed one
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-28 22:23:40 -07:00
Khem Raj 5593fac20f libcamera: Update to latest
Add a fix for build with gcc11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-03-03 19:55:28 -08:00
Madhavan Krishnan f4272f2abf libcamera: Bumped to latest revision and added pkgconfig to enable gstreamer
Bumped to latest source revision of libcamera, and added packageconfig
to enable the gstreamer during build, and to generate and install the
gstreamer library.

Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-08 11:56:46 -07:00
Andrey Konovalov bbf746857d libcamera: fix packaging and installation
libcamera checks if RPATH or RUNPATH dynamic tag is present in
libcamera.so. If it does, it assumes that libcamera binaries are
run directly from the build directory without installing them, and
tries to use resorces like IPA modules from the build directory.
Mainline meson strips RPATH/RUNPATH out from libcamera.so file
at install time. But openembedded-core patches meson to disable
RPATH/RUNPATH removal. That's why  we need to remove this tag manually
in do_install_append().

IPA module is signed (with openssl dgst) after it is built. But
during packaging the OE build system 1) splits out debugging info,
and 2) strips the binaries. So the IPA module so file installed
isn't the one which the signature was calculated against. Then
the signature check fails, and libcamera tries to run the IPA
module isolated (in a sandbox), which doesn't work if the IPA
module wasn't designed to run isolated. The solution is to
recalculate the IPA modules signatures in ${PKGD} after do_package().

Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:37:48 -07:00
Khem Raj 51f97cee9e libcamera: Fix License names to match SPDX convention
Fixes
do_populate_lic: libcamera: No generic license file exists for: GPL-2.0-or-later in any provider

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-09 13:07:24 -07:00
Madhavan Krishnan 2a9d26de93 libcamera: Bumped to latest source revision
Updated the source revision, to include the gstreamer pipeline
support added in libcamera, also the Raspberry Pi pipeline support
for Raspberry Pi camera sensor device.

Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-16 10:55:02 -07:00
Madhavan Krishnan 59daa1229a libcamera: Bumped to latest source revision
libcamera uses the host machine python instead of sysroot,
We use the patch file for libcamera source to use the
sysroot python. But libcamera team has fix this issue and,
pushed the changes to libcamera source, now we are pointing
to that particular source revision of libcamera.

In musl, we faced the compilation iisue, so we changed the
source revision pointing to the fix of musl compilation issue.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-20 15:32:27 -08:00
madhavank27 5dcb72e707 Added bb file for libcamera integration
Signed-off-by: madhavank27 <madhavan.krishnan@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10 00:50:59 -08:00