Hi Mauro, On Mon, Mar 16, 2020 at 06:30:11PM +0100, Mauro Carvalho Chehab wrote: > Em Sun, 15 Mar 2020 17:54:20 -0300 Ezequiel Garcia escreveu: > > Here's a first step towards using meson: > > > > https://mesonbuild.com/ > > > > As you can see, this doesn't include all tools and libraries > > (are there any libv4l1 users?), but otherwise tries to cover > > as much as possible. > > > > I'm sending this early patch, hoping to get some reviews > > and possibly some testing. > > > > Let me know what you think. > > I fail to see why to change it. The autotools-based building system works, > and we don't have any bug reports related to it. > > Also, we're all familiar to it. > > Changing to a new system will not only be extra work from our side, in > order to learn how to use it, address any hidden bugs, etc, but also for > distro developers as they'll need to change the build dependencies on > their packages, as the building system will rely on different toolsets. Changes imply additional work as we need to get used to them, but we need to think about the long term consequences too. meson is much simpler to use than autotools, I think we will benefit from it in the longer term. > > Ezequiel Garcia (1): > > Add support for meson building > > > > gen-version.sh | 36 ++++++++++ > > lib/libdvbv5/meson.build | 87 ++++++++++++++++++++++ > > lib/libv4l2/meson.build | 43 +++++++++++ > > lib/libv4lconvert/meson.build | 79 ++++++++++++++++++++ > > lib/meson.build | 6 ++ > > meson.build | 108 ++++++++++++++++++++++++++++ > > meson_options.txt | 19 +++++ > > utils/cec-compliance/meson.build | 39 ++++++++++ > > utils/cec-ctl/meson.build | 33 +++++++++ > > utils/cec-follower/meson.build | 35 +++++++++ > > utils/gen_media_bus_format_codes.sh | 7 ++ > > utils/gen_media_bus_format_names.sh | 7 ++ > > utils/ir-ctl/meson.build | 30 ++++++++ > > utils/libcecutil/meson.build | 46 ++++++++++++ > > utils/media-ctl/meson.build | 35 +++++++++ > > utils/meson.build | 32 +++++++++ > > utils/v4l2-compliance/meson.build | 52 ++++++++++++++ > > utils/v4l2-ctl/meson.build | 65 +++++++++++++++++ > > version.h.in | 1 + > > 19 files changed, 760 insertions(+) > > create mode 100755 gen-version.sh > > create mode 100644 lib/libdvbv5/meson.build > > create mode 100644 lib/libv4l2/meson.build > > create mode 100644 lib/libv4lconvert/meson.build > > create mode 100644 lib/meson.build > > create mode 100644 meson.build > > create mode 100644 meson_options.txt > > create mode 100644 utils/cec-compliance/meson.build > > create mode 100644 utils/cec-ctl/meson.build > > create mode 100644 utils/cec-follower/meson.build > > create mode 100644 utils/gen_media_bus_format_codes.sh > > create mode 100644 utils/gen_media_bus_format_names.sh > > create mode 100644 utils/ir-ctl/meson.build > > create mode 100644 utils/libcecutil/meson.build > > create mode 100644 utils/media-ctl/meson.build > > create mode 100644 utils/meson.build > > create mode 100644 utils/v4l2-compliance/meson.build > > create mode 100644 utils/v4l2-ctl/meson.build > > create mode 100644 version.h.in -- Regards, Laurent Pinchart