[libcamera-devel] [PATCH] meson: Bump required version to 0.47
Nicolas Dufresne
nicolas.dufresne at collabora.com
Wed Jan 15 02:17:05 CET 2020
Le mercredi 15 janvier 2020 à 02:27 +0200, Laurent Pinchart a écrit :
> Hi Nicolas,
>
> Thank you for the patch.
>
> On Tue, Jan 14, 2020 at 01:46:41PM -0500, Nicolas Dufresne wrote:
> > This is needed to use option type 'feature'. This is a tri-state
> > (auto/enabled/disabled) which comes with utility to enable them all, or
> > disabled them all to avoid any dynamic selection happening. It can also
> > be used as value to any "required" field.
> >
> > This will be used in GStreamer support. If you don't have a recent enough
> > meson in your distribution, you can always install or upgrate your version
>
> s/upgrate/upgrade/
Good catch.
>
> > using pip3.
> >
> > pip3 install --user meson
> > pip3 install --user --upgrade meson
> >
> > Signed-off-by: Nicolas Dufresne <nicolas.dufresne at collabora.com>
> > ---
> > meson.build | 2 +-
>
> How about also updating the README.md ?
>
> diff --git a/README.rst b/README.rst
> index 48e428cc816e..585c706d9e87 100644
> --- a/README.rst
> +++ b/README.rst
> @@ -45,7 +45,13 @@ A C++ toolchain: [required]
> Either {g++, clang}
>
> for libcamera: [required]
> - meson ninja-build python3-yaml
> + meson (>= 0.47) ninja-build python3-yaml
> +
> + If your distribution doesn't provide a recent enough version meson, you
"recent enough meson version" or "recent enough version *of* meson"
maybe ?
> + can install or upgrade it using pip3.
> +
> + pip3 install --user meson
> + pip3 install --user --upgrade meson
There is probably an equivalent in RST to Markdown verbatim ``` ?
>
> for device hotplug enumeration: [optional]
> pkg-config libudev-dev
>
> If you're fine with all this there's no need to resubmit and I'll update
> the patch when applying.
I'm fine with such changes yes. As a follow up, I was thinking of
adding a feature for qcam compilation, which depends on qt5.
Side note, be aware the pkg-config (or pkgconf these days) is needed by
meson for pretty much any external deps except maybe QT5.
>
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meson.build b/meson.build
> > index 6344885..eec1dcf 100644
> > --- a/meson.build
> > +++ b/meson.build
> > @@ -1,5 +1,5 @@
> > project('libcamera', 'c', 'cpp',
> > - meson_version : '>= 0.40',
> > + meson_version : '>= 0.47',
> > version : '0.0.0',
> > default_options : [
> > 'werror=true',
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20200114/bfbcd6fc/attachment.sig>
More information about the libcamera-devel
mailing list