openembedded/meta-openembedded

libcamera wrong include path

Opened this issue · 0 comments

I'm using the kirkstone branch and add libcamera to local.conf.

IMAGE_INSTALL:append = " libcamera libcamera-dev"

Then I bitbake a core-image-full-cmdline

There are two directories "libcamera/libcamera/.." created.
The include path to libcamera looks like:

root@raspberrypi4-64:/usr/include# tree libcamera/
libcamera/
`-- libcamera
    |-- base
    |   |-- backtrace.h
    |   |-- bound_method.h
    |   |-- class.h
    |   |-- compiler.h
    |   |-- event_dispatcher.h
    |   |-- event_dispatcher_poll.h
    |   |-- event_notifier.h
    |   |-- file.h
    |   |-- flags.h
    |   |-- log.h
    |   |-- message.h
    |   |-- mutex.h
    |   |-- object.h
    |   |-- private.h
    |   |-- semaphore.h
    |   |-- shared_fd.h
    |   |-- signal.h
    |   |-- span.h
    |   |-- thread.h
    |   |-- thread_annotations.h
    |   |-- timer.h
    |   |-- unique_fd.h
    |   `-- utils.h
    |-- camera.h
    |-- camera_manager.h
    |-- control_ids.h
    |-- controls.h
    |-- formats.h
    |-- framebuffer.h
    |-- framebuffer_allocator.h
    |-- geometry.h
    |-- ipa
    |   |-- core_ipa_interface.h
    |   |-- ipa_controls.h
    |   |-- ipa_interface.h
    |   |-- ipa_module_info.h
    |   `-- raspberrypi_ipa_interface.h
    |-- libcamera.h
    |-- logging.h
    |-- pixel_format.h
    |-- property_ids.h
    |-- request.h
    |-- stream.h
    |-- transform.h
    `-- version.h

In my opinion one directory 'libcamera' is too much.

Also I'm missing some files as for example 'color_space.h'?

Is the behaviour (directory structure and missing files) intended or do I something wrong?