Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Kieran Bingham <kieran.bingham@ideasonboard.com>
Cc: Markus Volk <f_l_k@t-online.de>,
	openembedded-devel@lists.openembedded.org,
	"Kieran Bingham via lists.openembedded.org"
	<kieran.bingham=ideasonboard.com@lists.openembedded.org>,
	libcamera-devel@lists.libcamera.org,
	Robert Mader <robert.mader@collabora.com>
Subject: Re: [oe] [meta-multimedia][PATCH] libcamera: add libdrm dependency
Date: Mon, 13 Jul 2026 19:44:41 +0300	[thread overview]
Message-ID: <20260713164441.GH1127719@killaraus.ideasonboard.com> (raw)
In-Reply-To: <178396059500.1428882.2934911266719928973@ping.linuxembedded.co.uk>

On Mon, Jul 13, 2026 at 05:36:35PM +0100, Kieran Bingham wrote:
> +Cc libcamera-devel, Robert,
> 
> Quoting Markus Volk (2026-07-13 17:23:12)
> > Am Mo, 13. Jul 2026 um 11:38:14 +01:00:00 schrieb Kieran Bingham via 
> > lists.openembedded.org 
> > <kieran.bingham=ideasonboard.com@lists.openembedded.org>:
> > > Perhaps rather than add an incorrect dependency, we could backport the
> > > patch for the recipe or bump to libcamera-0.7.2?
> > 
> > That sounds reasonable. I have updated libcamera to v0.7.2 and now 
> > libyuv seems to be a requirement. It was formerly added by the 'virtual'
> > PACKAGECONFIG where I have no idea what this is for but removing this 
> > PACKAGECONFIG  and adding libyuv to DEPENDS fixes the build.
> > Since you know about libcameras dependencies: Is this the right thing 
> > to do or am I missing something about 'virtual'?
> 
> Aha, I wish I'd thought of that for the release notes.
> 
> There was a patch merged that makes virtual built in by default.
> 
> So adding libyuv as a dependency for 0.7.2 probably makes sense. I
> wonder if virtual should instead only be defaulted to build in when
> libyuv is available!

Not a good idea, that would break reproducible builds badly.

> > 0.7.2 builds for me like this:
> > 
> > diff --git 
> > a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb 
> > b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.2.bb
> > similarity index 97%
> > rename from 
> > meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb
> > rename to 
> > meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.2.bb
> > index 2b351a39be..4b5e735a37 100644
> > --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.1.bb
> > +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.7.2.bb
> > @@ -13,11 +13,11 @@ SRC_URI = " \
> >          
> > git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v${PV 
> > <git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v$%7BPV>} 
> > \
> >  "
> > 
> > -SRCREV = "183e37362f57ff3ce7493abf0bc6f1b57b931f55"
> > +SRCREV = "191e202178f02430b5942397c70d215cdd2056fa"
> > 
> >  PE = "1"
> > 
> > -DEPENDS = "python3-pyyaml-native python3-jinja2-native 
> > python3-ply-native python3-jinja2-native udev gnutls chrpath-native 
> > libevent libyaml"
> > +DEPENDS = "python3-pyyaml-native python3-jinja2-native 
> > python3-ply-native python3-jinja2-native udev gnutls chrpath-native 
> > libevent libyaml libyuv"
> >  DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase 
> > qtbase-native', '', d)}"
> > 
> >  PACKAGES =+ "${PN}-compliance ${PN}-gst ${PN}-pycamera"
> > @@ -38,7 +38,6 @@ PACKAGECONFIG[raspberrypi] = ",,libpisp"
> >  PACKAGECONFIG[sdl] = 
> > "-Dcam-output-sdl2=enabled,-Dcam-output-sdl2=disabled,virtual/libsdl2"
> >  PACKAGECONFIG[unwind] = 
> > "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
> >  PACKAGECONFIG[vimc] = ",,"
> > -PACKAGECONFIG[virtual] = ",,libyuv libjpeg-turbo"
> > 
> >  ARM_PIPELINES = "imx8-isi,mali-c55,simple,uvcvideo"
> >  # Raspberry Pi requires the meta-raspberrypi layer

-- 
Regards,

Laurent Pinchart


      reply	other threads:[~2026-07-13 17:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-13  9:17 [meta-multimedia][PATCH] libcamera: add libdrm dependency Markus Volk
2026-07-13 10:38 ` Kieran Bingham
2026-07-13 16:23   ` [oe] " Markus Volk
2026-07-13 16:36     ` Kieran Bingham
2026-07-13 16:44       ` Laurent Pinchart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260713164441.GH1127719@killaraus.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=f_l_k@t-online.de \
    --cc=kieran.bingham=ideasonboard.com@lists.openembedded.org \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=libcamera-devel@lists.libcamera.org \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=robert.mader@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox