Message ID | 20250818144531.6406-1-laurent.pinchart@ideasonboard.com |
---|---|
State | Accepted |
Commit | 82f5facfc7aad8f7dec5d928bfe0c0124209455a |
Headers | show |
Series |
|
Related | show |
Quoting Laurent Pinchart (2025-08-18 15:45:30) > The minimum version of meson currently required by libcamera, v0.63, > does not properly detect Qt6. As qcam switched from Qt5 to Qt6 a while > ago, building libcamera with meson v0.63 is currently broken. > > The issue was fixed in meson v0.64. That was the last meson version > before v1.0.0. For mainly psychological reasons, and to avoid bumping > the meson version too often, go straight to v1.0.1. This will support > the following versions of popular distributions and build environments: > > - Debian Bookworm and newer (v1.0.1) > - Ubuntu 24.04LTS and newer (v1.3.2) > - Buildroot 2023.08 (v1.1.1) > - Yocto Scarthgap (v1.3.1) > > The previous version of Debian, Ubuntu and Yocto shipped versions of > meson older than v0.63 (v0.56.2 in Debian Bullseye, v0.61.2 in Ubuntu > 22.04LTS, and v0.61.3 in Yocto Kirkstone), so the meson version bump > doesn't require a distribution upgrade. For Buildroot, moving to v1.0.1 > means users on versions from 2022.08 (when not using qcam) or 2023.02 to > 2023.05 will need to upgrade. > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> I've been waiting for this for a long time ;-) Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> > --- > README.rst | 2 +- > meson.build | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/README.rst b/README.rst > index e9a7dd82de74..7c8bc6db6712 100644 > --- a/README.rst > +++ b/README.rst > @@ -44,7 +44,7 @@ A C++ toolchain: [required] > Either {g++, clang} > > Meson Build system: [required] > - meson (>= 0.63) ninja-build pkg-config > + meson (>= 1.0.1) ninja-build pkg-config > > for the libcamera core: [required] > libyaml-dev python3-yaml python3-ply python3-jinja2 > diff --git a/meson.build b/meson.build > index d46b58bde4e7..ccf709d8aade 100644 > --- a/meson.build > +++ b/meson.build > @@ -1,7 +1,7 @@ > # SPDX-License-Identifier: CC0-1.0 > > project('libcamera', 'c', 'cpp', > - meson_version : '>= 0.63', > + meson_version : '>= 1.0.1', > version : '0.5.2', > default_options : [ > 'werror=true', > > base-commit: af43c2f945c42cc7d111de63abed9ca3df830ca4 > -- > Regards, > > Laurent Pinchart >
2025. 08. 18. 16:53 keltezéssel, Kieran Bingham írta: > Quoting Laurent Pinchart (2025-08-18 15:45:30) >> The minimum version of meson currently required by libcamera, v0.63, >> does not properly detect Qt6. As qcam switched from Qt5 to Qt6 a while >> ago, building libcamera with meson v0.63 is currently broken. >> >> The issue was fixed in meson v0.64. That was the last meson version >> before v1.0.0. For mainly psychological reasons, and to avoid bumping >> the meson version too often, go straight to v1.0.1. This will support >> the following versions of popular distributions and build environments: >> >> - Debian Bookworm and newer (v1.0.1) >> - Ubuntu 24.04LTS and newer (v1.3.2) >> - Buildroot 2023.08 (v1.1.1) >> - Yocto Scarthgap (v1.3.1) >> >> The previous version of Debian, Ubuntu and Yocto shipped versions of >> meson older than v0.63 (v0.56.2 in Debian Bullseye, v0.61.2 in Ubuntu >> 22.04LTS, and v0.61.3 in Yocto Kirkstone), so the meson version bump >> doesn't require a distribution upgrade. For Buildroot, moving to v1.0.1 >> means users on versions from 2022.08 (when not using qcam) or 2023.02 to >> 2023.05 will need to upgrade. >> >> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > I've been waiting for this for a long time ;-) > > Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> > >> --- Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> >> README.rst | 2 +- >> meson.build | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/README.rst b/README.rst >> index e9a7dd82de74..7c8bc6db6712 100644 >> --- a/README.rst >> +++ b/README.rst >> @@ -44,7 +44,7 @@ A C++ toolchain: [required] >> Either {g++, clang} >> >> Meson Build system: [required] >> - meson (>= 0.63) ninja-build pkg-config >> + meson (>= 1.0.1) ninja-build pkg-config >> >> for the libcamera core: [required] >> libyaml-dev python3-yaml python3-ply python3-jinja2 >> diff --git a/meson.build b/meson.build >> index d46b58bde4e7..ccf709d8aade 100644 >> --- a/meson.build >> +++ b/meson.build >> @@ -1,7 +1,7 @@ >> # SPDX-License-Identifier: CC0-1.0 >> >> project('libcamera', 'c', 'cpp', >> - meson_version : '>= 0.63', >> + meson_version : '>= 1.0.1', >> version : '0.5.2', >> default_options : [ >> 'werror=true', >> >> base-commit: af43c2f945c42cc7d111de63abed9ca3df830ca4 >> -- >> Regards, >> >> Laurent Pinchart >>
diff --git a/README.rst b/README.rst index e9a7dd82de74..7c8bc6db6712 100644 --- a/README.rst +++ b/README.rst @@ -44,7 +44,7 @@ A C++ toolchain: [required] Either {g++, clang} Meson Build system: [required] - meson (>= 0.63) ninja-build pkg-config + meson (>= 1.0.1) ninja-build pkg-config for the libcamera core: [required] libyaml-dev python3-yaml python3-ply python3-jinja2 diff --git a/meson.build b/meson.build index d46b58bde4e7..ccf709d8aade 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: CC0-1.0 project('libcamera', 'c', 'cpp', - meson_version : '>= 0.63', + meson_version : '>= 1.0.1', version : '0.5.2', default_options : [ 'werror=true',
The minimum version of meson currently required by libcamera, v0.63, does not properly detect Qt6. As qcam switched from Qt5 to Qt6 a while ago, building libcamera with meson v0.63 is currently broken. The issue was fixed in meson v0.64. That was the last meson version before v1.0.0. For mainly psychological reasons, and to avoid bumping the meson version too often, go straight to v1.0.1. This will support the following versions of popular distributions and build environments: - Debian Bookworm and newer (v1.0.1) - Ubuntu 24.04LTS and newer (v1.3.2) - Buildroot 2023.08 (v1.1.1) - Yocto Scarthgap (v1.3.1) The previous version of Debian, Ubuntu and Yocto shipped versions of meson older than v0.63 (v0.56.2 in Debian Bullseye, v0.61.2 in Ubuntu 22.04LTS, and v0.61.3 in Yocto Kirkstone), so the meson version bump doesn't require a distribution upgrade. For Buildroot, moving to v1.0.1 means users on versions from 2022.08 (when not using qcam) or 2023.02 to 2023.05 will need to upgrade. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- README.rst | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) base-commit: af43c2f945c42cc7d111de63abed9ca3df830ca4