Re: [PATCH v7 0/5] Switch build system to meson

Laurent Pinchart
2022-09-12T22:26:55Z

Hi Mauro,

On Mon, Sep 12, 2022 at 06:04:54PM +0200, Mauro Carvalho Chehab wrote:
> Em Fri, 9 Sep 2022 16:44:07 +0300 Laurent Pinchart escreveu:
>
> > Hello everybody,
> >
> > This series is the latest (and greatest) attempt to switch v4l-utils
> > from autotools to meson.
> >
> > Compared to v6, the first noticeable change is that fixups have been
> > squashed into their corresponding commit. Detailed changelogs are now
> > included in individual patches.
> >
> > The second big change is that the last patch from v6 ("Makefile.am:
> > Distribute meson related files") got replaced by 5/5 which drops
> > autotools support, completing the switch from autotools to meson.
> >
> > A branch that includes this series can be found at
> >
> > git://linuxtv.org/pinchartl/v4l-utils.git meson
> >
> > Ariel D'Alessandro (4):
> > Move README to markdown syntax
> > Add support for meson building
> > Copy Doxygen configuration file to doc/
> > meson: Add support for doxygen documentation
> >
> > Laurent Pinchart (1):
> > Drop autoconf/automake support
>
> With the risk or repeating myself a couple of times, I have no
> idea what was built with meson, when using the version from
> your repository:
>
> git://linuxtv.org/pinchartl/v4l-utils.git meson
>
> (which btw seems to have some patches that are different
> from the 5 ones you submitted)

I think I've already pushed some fixes on that branch. There will be a
v8 on the list, I'll push a tag with the version number to avoid
confusion.

> as it doesn't provide anything similar to what current
> autotools-based support provides:

Sorry for missing your comment before. Meson has a summary() function
that can generate similar output, I'll enable it in the next version.

> $ ./configure
> ...
> compile time options summary
> ============================
>
> Host OS : linux-gnu
> X11 : yes
> GL : yes
> glu : yes
> libelf : yes
> libjpeg : yes
> libudev : yes
> pthread : yes
> QT version : v5.4 with QtGL
> ALSA support : yes
> SDL support : yes
>
> build dynamic libs : yes
> build static libs : yes
>
> gconv : no
>
> dynamic libv4l : yes
> v4l_plugins : yes
> v4l_wrappers : yes
> libdvbv5 : yes
> dvbv5-daemon : yes
> v4lutils : yes
> qv4l2 : yes
> qvidcap : yes
> v4l2-ctl uses libv4l : yes
> v4l2-ctl-32 : no
> v4l2-compliance : yes
> v4l2-compliance uses libv4l: yes
> v4l2-compliance-32 : no
> BPF IR Decoders: : no