[v2,0/2] meson: Build virtual pipeline by default
mbox series

Message ID 20260626092847.289764-1-robert.mader@collabora.com
Headers show
Series
  • meson: Build virtual pipeline by default
Related show

Message

Robert Mader June 26, 2026, 9:28 a.m. UTC
From the main commit:

The virtual pipeline is very helpful for debugging purposes and very
small. One big reason to not build it by default in the past was likely
the libyuv dependency, which many distros did not ship by default.

By now big distros like Debian, Fedora, and others ship libyuv and
already use it when building libcamera. Fedora even enables both test
pipelines by default.

Thus let's build the virtual pipeline by default, facilitating libcamera
adoption.

---

Changes in v2:
 - Reintroduced libjpeg dependency for libyuv subproject
 - Collected tags

---

Robert Mader (2):
  pipeline: virtual: Move libjpeg requirement to libyuv subproject
  meson: Build virtual pipeline by default

 meson.build                                | 2 +-
 src/libcamera/pipeline/virtual/meson.build | 3 ---
 src/meson.build                            | 4 +++-
 3 files changed, 4 insertions(+), 5 deletions(-)

Comments

Christian Rauch June 26, 2026, 10:54 p.m. UTC | #1
Hi Robert,

Note that RHEL (i.e. the other big long-term supported distro) does not 
ship libyuv and that EPEL 10 is missing the package at the moment:
- https://packages.fedoraproject.org/pkgs/libyuv/libyuv/
- https://bugzilla.redhat.com/show_bug.cgi?id=2344526

Best,
Christian


Am 26.06.26 um 11:28 schrieb Robert Mader:
>  From the main commit:
> 
> The virtual pipeline is very helpful for debugging purposes and very
> small. One big reason to not build it by default in the past was likely
> the libyuv dependency, which many distros did not ship by default.
> 
> By now big distros like Debian, Fedora, and others ship libyuv and
> already use it when building libcamera. Fedora even enables both test
> pipelines by default.
> 
> Thus let's build the virtual pipeline by default, facilitating libcamera
> adoption.
> 
> ---
> 
> Changes in v2:
>   - Reintroduced libjpeg dependency for libyuv subproject
>   - Collected tags
> 
> ---
> 
> Robert Mader (2):
>    pipeline: virtual: Move libjpeg requirement to libyuv subproject
>    meson: Build virtual pipeline by default
> 
>   meson.build                                | 2 +-
>   src/libcamera/pipeline/virtual/meson.build | 3 ---
>   src/meson.build                            | 4 +++-
>   3 files changed, 4 insertions(+), 5 deletions(-)
>