summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/libcamera
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | 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>
* libcamera: Fix build with gcc-15tho3.nguyen2025-03-282-0/+39
| | | | | | | | | | | | | | Backport patch to fix the following error: ... In file included from ../git/src/libcamera/dma_buf_allocator.cpp:9: ../git/include/libcamera/internal/dma_buf_allocator.h:66:19: error: 'uint64_t' has not been declared 66 | void sync(uint64_t step); | ^~~~~~~~ ../git/include/libcamera/internal/dma_buf_allocator.h:17:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>' ... Signed-off-by: tho3.nguyen <tho3.nguyen@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: add support for DNG filesKoen Kooi2025-03-181-0/+1
| | | | | | | | | | The 'cam' app in libcamera will turn on DNG support if it finds libtiff, but it has no way to explicitly disable it. Add a 'dng' PACKAGECONFIG to reliably enable it, disabling it will take more effort when using gstreamer. Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: update to 0.4.0Alexander Stein2025-01-083-173/+2
| | | | | | | | | | | Upgrade libcamera to version 0.4.0, gaining support for ARM Mali-C55 ISP. Patches 0002-options-Replace-use-of-VLAs-in-C.patch and 0001-rpi-Use-malloc-instead-of-variable-length-arrays.patch are obsolete. Issues have been fixed upstream (differently). Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Use multiple of sizeof as malloc sizeHubert Wiśniewski2024-08-102-8/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Add support for pycameraKieran Bingham2024-08-091-1/+3
| | | | | | | | Supply a libcamera-pycamera package to allow installing the libcamera python bindings. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: update to 0.3.0Dmitry Baryshkov2024-06-042-73/+1
| | | | | | | | | | Upgrade libcamera to version 0.3.0, gaining support for SoftISP. Patch 0001-ipu3-Use-posix-basename.patch is dropped, it is applied upstream. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Fix build on musl systemsKhem Raj2024-03-242-0/+72
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Fix clang support patchesKhem Raj2024-03-222-30/+76
| | | | | | | | | | | Replace alloca with malloc Allocate size for struct option array was not correct therefore multiply the value with sizeof(struct option) to account for it [YOCTO #15449 ] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Replace VLAs with allocaKhem Raj2024-02-212-0/+35
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Fix build with clang-18Khem Raj2024-01-313-0/+152
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: update 0.1.0 -> 0.2.0Denys Dmytriyenko2024-01-272-179/+1
| | | | | | | | Changelog: https://git.libcamera.org/libcamera/libcamera.git/tag/?h=v0.2.0 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Fix build with python 3.12Khem Raj2023-12-302-0/+177
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "libcamera: skip until upstream resolves python 3.12 compatibility"Khem Raj2023-12-301-1/+0
| | | | This reverts commit dd402176a6e28df76e4b737cec7d266b5bfbfa06.
* libcamera: skip until upstream resolves python 3.12 compatibilityAlexander Kanavin2023-12-181-0/+1
| | | | | | | | I'd note that imp module has been deprecated for years, so that's what happens when deprecation warnings are ignored. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Avoid build break in signature recalculationTom Hochstein2023-10-041-2/+5
| | | | | | | | | | | | | | | | | The signature recalculation task can fail: ``` /.../build/tmp/work/armv8a-poky-linux/libcamera/1_0.0.4-r0/temp/run.do_recalculate_ipa_signatures_package.937421: line 154: /.../build/tmp/work/armv8a-poky-linux/libcamera/1_0.0.4-r0/git/src/ipa/ipa-sign-install.sh: No such file or directory ``` This happens whenever ${S} is removed and packages are retrieved from sstate cache. Instead of trying to fix the task, avoid the issue altogether by performing the signature recalculation directly in do_package. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: bump to latest masterVivien Didelot2023-08-021-1/+1
| | | | | | | | Bump libcamera to latest master, as commit a2eadc40a introduces flicker controls for rpi which are required in latest libcamera-apps. Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: update 0.0.5 -> 0.1.0Markus Volk2023-07-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcamera v0.1.0 ABI Compliance: abi-compliance-checker reports 99% binary compatibility and 81.4% source compatibilty between version 0.0.5 and 0.1. - Binary compatibility: 99% - Source compatibility: 81.4% - Total binary compatibility problems: 4, warnings: 2 - Total source compatibility problems: 165, warnings: 7 Now that we have funtional ABI validation, the soname has been updated from libcamera.so.0.0.5 to libcamera.so.0.1. Future releases will now maintain the same soname until an ABI breakage is detected to reduce the repackaging and rebuilding of other components that may use libcamera. The abi-compatibility report can now be generated with the new utility './utils/abi-compat.sh'. Key differences here are due to preventing the installation of internal and private headers in the packaging process, and most of this API compatibility should not be visible to applications with the exception of: - Camera::generateConfiguration ( StreamRoles const& roles ) The StreamRoles type definition has been removed. This is now handled as a Span<StreamRole> to prevent unnecessary allocations and copies. - CameraManager::addCamera ( std::shared_ptr<struct Camera> camera, std::vector<unsigned long>const& devnums ) - CameraManager::get ( dev_t devnum ) - CameraManager::removeCamera ( std::shared_ptr<struct Camera> camera ) These functions of the CameraManager were for use exclusively by the V4L2 adaptation layer, and not intended for use by applications. This has now been reworked to use the new SystemDevices and the redundant functions removed. The ABI/API breakages have been introduced by: 5ca0c9276f28 ("libcamera: CameraManager: Remove ::get(dev_t)") 26a4b83d1b94 ("libcamera: Remove `StreamRoles` alias") 63966ae587d7 ("libcamera: base: Do not install private headers") Core: - libcamera: v4l2_videodevice: Use O_CLOEXEC when exporting DMA buffers - libcamera: ipa_manager: Allow IPA loading in nested subdirs - meson: Fix usage of overwritten pipeline variable - subprojects: Drop leftovers of pybind11 - camera_sensor: ipa: core: Add CFA pattern to IPACameraSensorInfo - libcamera: controls: Define a default lens position behaviour - libcamera: internal: request: convert to pragma once - libcamera: camera_manager: Move private implementation to internal - libcamera: camera_manager: Move {add,remove}Camera to internal - libcamera: properties: Provide a Devices camera property - libcamera: pipeline: Register device numbers with camera - libcamera: camera_sensor: Adjust properties::Rotation - libcamera: meson: Allow PH to change libcamera_deps - libcamera: base: Move thread_annotations to private - libcamera: base: Do not install private headers - utils: ABI Compatibility checker - meson: Use x.y soname versioning - libcamera: camera: Take span of StreamRole instead of vector - libcamera: Remove `StreamRoles` alias - utils: ipu3-capture.sh: Fix the script to work with recent media-ctl versions - Documentation: Add predefined macros from config.h to Doxyfile - utils: checkstyle: Add __repr__ method to CommitFile class - utils: checkstyle: Support running checkers selectively - utils: checkstyle: Don't include commit ID in commit title - utils: checkstyle: Add trailers checker - tests: gstreamer: Test cameras' enumeration from GstDeviceProvider - meson: Fix space around colon issues - libcamera: Add option to configure udev support - libcamera: CameraManager: Remove ::get(dev_t) - tests: gstreamer: Fix compiler error with gcc 8.4.0 ipa: - meson: ipa: Add mapping for pipeline handler to mojom interface file - libcamera: ipa: Remove character restriction on the IPA name - ipa: meson: Allow nested IPA directory structures - ipa: raspberrypi: Introduce IpaBase class - ipa: raspberrypi: agc: Move weights out of AGC - ipa: rkisp1: agc: drop hard-coded analogue gain range - libipa: camera_sensor_helper: Add IMX327 helper - pipeline: rpi: ipa_base: Parse config files after platformRegister() - libcamera: camera_sensor: Add Sony IMX327 sensor properties - ipa: rpi: imx296: Small refinements to the IMX296 mono sensor tuning - ipa: rpi: Handle controls for mono variant sensors - libcamera: controls: Drop reference to IPA in controls documentation - libipa: camera_sensor_helper: Restore alphabetical order - ipa: ipu3: agc: Drop hard-codec analogue gain max - ipa: rkisp1: agc: Restore minimum analogue gain limit - pipeline: ipa: rpi: Return lens controls from ipa->configure() - ipa: rpi: Set lens position to hyperfocal on startup - ipa: rpi: tunings: Add missing short and long exposure profiles - ipa: rpi: agc: Use std::string instead of char arrays - ipa: rpi: agc: Gracefully handle missing agc modes - ipa: rpi: agc: Do not switch to a default if a mode is unavailable - ipa: rpi: imx708: Fix mode switch drop frame count - ipa: rpi: imx296_mono: Disable all colour shading pipeline: - libcamera: pipeline: simple: Add support for ST's DCMIPP - pipeline: meson: Allow nested pipeline handler directory structures - pipeline: ipa: raspberrypi: Refactor and move the Raspberry Pi code - pipeline: raspberrypi: rpi_stream: Set invalid buffer to id == 0 - pipeline: ipa: raspberrypi: Restructure the IPA mojom interface - pipeline: raspberrypi: Make RPi::Stream::name() return const std::string & - pipeline: raspberrypi: Introduce PipelineHandlerBase class - pipeline: raspberrypi: Add stream flags to RPi::Stream - libcamera: rkisp1: Generate config using main path - libcamera: rkisp1: Crop on ISP before downscaling - libcamera: rkisp1: Assign sizes to roles - libcamera: rkisp1: Fix enumeration of RAW formats - pipeline: rpi: Do not return an error from pipeline config file handling - libcamera: pipeline: simple: Support TI CSI-RX - pipeline: rpi: Account for Bayer packing when validating format apps: - apps: qcam: Remove redundant check - v4l2: Move the v4l2 compat layer to libexec/libcamera - android: mm: generic: use GRALLOC_HARDWARE_MODULE_ID - android: mm: Stub libhardware for build tests - py: Fix CameraManager.version property - py: Move ColorSpace and Transform classes to separate files - py: Use exceptions instead of returning error codes - py: unittests.py: Add weakref helpers and use del - py: Move to mainline pybind11 version - py: Fix code formatting - py: unittests.py: Fix type checker warnings - gstreamer: Add enable_auto_focus option to the GStreamer plugin - gstreamer: Drop libcamera_private dependency - apps: Add ipa-verify application - v4l2: v4l2_camera_proxy: Prevent ioctl sign-extensions - v4l2: Use SystemDevices properties to identify cameras Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Simplify pipeline configurationAlexander Stein2023-05-241-3/+1
| | | | | | | | | Default to 'auto' which enables all target architecture pipelines (+UVC). IPAs are also automatically enabled if the corresponding required pipeline is enabled as well. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Allow overwriting default pipelines and IPAAlexander Stein2023-05-171-2/+5
| | | | | | | | | By default only uvcvideo, simple and vimc pipelines as well as vimc IPA are built. Add new variables for enabling a custom set of enabled pipelines and IPAs. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: update 0.0.4 -> 0.0.5Markus Volk2023-05-152-46/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcamera v0.0.5 Bugfixes: - meson: Ignore -Wredundant-move with gcc-13 and newer - cam: file_sink: Workaround gcc-13 dangling-reference false positive - libcamera: Open files with O_CLOEXEC - meson: Fix git version parsing - libcamera: camera_manager: Stop exponential explosive calls to createPipelineHandlers - py: cam: Fix demosaic overflow issue - libcamera: base: Make the registration of log categories atomic Core: - test: controls: control_info_map: Test default constructor - controls: guard ControlInfoMap against nullptr idmap_ - device_enumerator_udev: Use std::string_view - formats: Add 14-bits Bayer RAW formats - device_enumerator_udev: Remove devnum from dependency map - meson: libcamera: Report IPA signature method - meson: Align handling of build metadata - converter: Check converter validity - Keep using syslog for isolated IPA modules - utils: ipc: Update parser.py - utils: checkstyle.py: Don't run commit title checker on staged commits - framebuffer: Allow inheritance of FrameBuffer - Remove transform from V4L2SubdeviceFormat - libcamera: camera_sensor: Add tryFormat() - camera_sensor: Fix typo in comment - camera_sensor: Demote flip support message to Debug - internal: tracepoints: Use correct include directive - libcamera: camera: Ensure queued requests are invalid ipa: - doc: Clarify IPA acronym in its namespace description - rkisp1: Add tuning files for PinephonePro sensors - rkisp1: Add tuning files for Google DRU "Scarlet" sensors - rkisp1: lsc: Fix integer division error - libipa: Add OV2685 Camera Sensor Helper - libipa: Add OV5647 Camera Sensor Helper - raspberrypi: agc: Add "shadows" constraint mode - raspberrypi: generalise algorithms - raspberrypi: Fix default frame durations calculation - raspberrypi: Ensure shutter speed and gain are clipped in the AGC - raspberrypi: Use the new sensor limits fields in CameraMode - raspberrypi: Add sensor mode limits to CameraMode - raspberrypi: Fix crash under LTO - raspberrypi: imx296: Minor tuning updates - raspberrypi: agc: Fix overflow in Y value calculation - raspberrypi: Better heuristics for calculating Unicam timeout - raspberrypi: Generalise statistics - raspberrypi: Change Unicam timeout handling pipeline: - simple: Validate transform - imx8-isi: Remove mbusCode from formatsMap_ - imx8-isi: Automatically select media bus code - imx8-isi: Split Bayer/YUV config generation - imx8-isi: Break out RAW/YUV format selection - raspberrypi: Iterate over all Unicam instances in match() - raspberrypi: Add a Unicam timeout override config options - raspberrypi: Always use ColorSpace::Raw for raw streams - raspberrypi: Drop unused code - ipu3: Drop unused code apps: - cam: kms_sink: Drop unique_ptr<> from DRM::AtomicRequest - cam Return std::optional<> from StreamKeyValueParser::parseRole() - android: jpeg: Add JEA implementation ABI Compliance: * abi-compliance-checker reports 98.6% ABI and 100% API compatibility with with v0.0.4 Total binary compatibility problems: 1, warnings: 1 Total source compatibility problems: 0, warnings: 0 - First virtual method ~__dt ( ) has been added to this class. 1) The layout of type structure has been shifted by 8 bytes by the added v-table pointer. 2) Size of class has been increased by 8 bytes. affected symbols: 6 (1.4%) FrameBuffer::releaseFence ( ) FrameBuffer::setCookie ( uint64_t cookie ) FrameBuffer::cookie ( ) FrameBuffer::planes ( ) FrameBuffer::request ( ) FrameBuffer::metadata ( ) This ABI breakage was introduced by: 4843bfa ("libcamera: framebuffer: Allow inheritance of FrameBuffer") Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: re-introduce fix for gcc-13Markus Volk2023-04-012-1/+48
| | | | | Signed-off-by: Markus Volk <f_L_K@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: update 0.0.1 -> 0.0.4Markus Volk2023-03-252-51/+2
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Fix build with gcc-13Khem Raj2023-01-252-0/+47
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Diable 64bit time_t on glibc targetsKhem Raj2023-01-011-0/+5
| | | | | | | it overrides some of LFS64 functions in peculiar ways that it has to undefine _FILE_OFFSET_BITS to silence the funtion definitions from glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: upgrade -> 0.0.1Markus Volk2022-10-221-13/+5
| | | | | | | | libcamera has recently received its first release. Note: meta-raspberrypi needs to adjust the name of libcamera.bbappend Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Remove boost from DEPENDSDevendra Tewari2022-10-091-1/+1
| | | | | Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Bump SRCREV and add libyaml to DEPENDSDevendra Tewari2022-10-041-2/+2
| | | | Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
* libcamera: fix packagingJulien STEPHAN2022-05-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | libcamera.so.0 and libcamera-base.so.0 are packaged in ${PN}-dev although they should be packaged in ${PN}. See poky/meta/conf/bitbake.conf. This trigger the following error when trying to run the `cam` utility (packaged inside ${PN}): $ cam -l cam: error while loading shared libraries: libcamera.so.0: cannot open shared object file: No such file or directory $ read-elf -d /usr/bin/cam Dynamic section at offset 0x2c740 contains 37 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libcamera.so.0] 0x0000000000000001 (NEEDED) Shared library: [libcamera-base.so.0] [...] So package libcamera is broken and need to be installed along with libcamera-dev to be functionnal. Fix it by packaging libcamera.so.0 and libcamera-base.so.0 into ${PN} Signed-off-by: Julien STEPHAN <jstephan@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "libcamera: add pkg-config files"Khem Raj2022-02-233-24/+1
| | | | This reverts commit 606eaedc8cb3eef1010f25679569d48c2681758f.
* libcamera: add pkg-config filesDevendra Tewari2022-02-223-1/+24
| | | | | Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: update meson options to build pipeline handlers & cam utilityPeter Griffin2022-02-031-1/+13
| | | | | | | | | | | 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>
* libcamera: Update to latest commitMauro Anjo2021-12-082-43/+1
| | | | | | | | 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>
* libcamera: Fix build break on muslKhem Raj2021-12-012-0/+42
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Upgrade libcameraMauro Anjo2021-12-011-4/+10
| | | | | | | | 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>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | 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>
* Convert to new override syntaxMartin Jansa2021-08-031-6/+6
| | | | | | | | | | 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>
* libcamera: Update to latest master tipKhem Raj2021-05-172-120/+6
| | | | | | | | | | | | 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>
* libcamera: Update the patch to upstreamed oneKhem Raj2021-03-281-11/+90
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Update to latestKhem Raj2021-03-032-3/+42
| | | | | | | Add a fix for build with gcc11 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
* libcamera: Bumped to latest revision and added pkgconfig to enable gstreamerMadhavan Krishnan2020-09-081-3/+8
| | | | | | | | | 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>
* libcamera: fix packaging and installationAndrey Konovalov2020-08-131-1/+18
| | | | | | | | | | | | | | | | | | | | | | | 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>
* libcamera: Fix License names to match SPDX conventionKhem Raj2020-08-091-1/+1
| | | | | | | 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>
* libcamera: Bumped to latest source revisionMadhavan Krishnan2020-06-161-6/+6
| | | | | | | | | 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>
* libcamera: Bumped to latest source revisionMadhavan Krishnan2020-02-202-64/+2
| | | | | | | | | | | | | 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>
* Added bb file for libcamera integrationmadhavank272020-01-102-0/+92
Signed-off-by: madhavank27 <madhavan.krishnan@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>