<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hey Pavel,</p>
    <p>I personally can recommend postmarketOS edge here. It supports
      lots of devices, has recent kernels (6.14 instead of 4.19...),
      already enables necessary kernel options like udmabuf, the dev
      tools are up-to-date - and it has a very active community.</p>
    <p>I personally use it and build libcamera (and Pipewire if
      necessary) locally on the devices, simply using "meson install".
      It also ships some downstream patches that haven't made it
      upstream yet, see
<a class="moz-txt-link-freetext" href="https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/temp/libcamera">https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/temp/libcamera</a></p>
    <p>Regards,</p>
    <p>Robert<br>
    </p>
    <div class="moz-cite-prefix">On 26.03.25 10:45, Pavel Machek wrote:<span
      style="white-space: pre-wrap">
</span></div>
    <blockquote type="cite" cite="mid:Z+PMxkvx%2FDlxLab2@duo.ucw.cz">
      <pre wrap="" class="moz-quote-pre">
Thank you, that did the job.

Is there easy trick to cross-build libcamera?

I have Librem 5. New kernel, cool camera, but can't build libcamera
due to old meson.

Then I have OnePlus 6. 4.19 kernel and cameras not supported by the
distro, but it can actually build libcamera. I tried copying around
libcamera and aarch64-linux-gnu dirs, but then it fails with:

<a class="moz-txt-link-abbreviated" href="mailto:purism@pureos:~/g/delme.libcamera$">purism@pureos:~/g/delme.libcamera$</a> LD_LIBRARY_PATH=aarch64-linux-gnu libcamera/build/src/apps/cam/cam
libcamera/build/src/apps/cam/cam: /lib/ld-linux-aarch64.so.1: version `GLIBC_2.35' not found (required by aarch64-linux-gnu/libc.so.6)

I gues I'd really need static build... (or a way to build libcamera
with old meson).

Best regards,
                                                                Pavel

</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Robert Mader
Consultant Software Developer 

Collabora Ltd.
Platinum Building, St John's Innovation Park, Cambridge CB4 0DS, UK
Registered in England & Wales, no. 5513718</pre>
  </body>
</html>