[Buildroot] [PATCH 0/3] Add support for Meson build

Jörg Krause joerg.krause at embedded.rocks
Thu Oct 12 06:42:33 UTC 2017


Hi Eric,

On Wed, 2017-10-11 at 08:55 +0200, Eric Le Bihan wrote:
> Hi all!
> 
> On 17-10-10 20:51:55, Andrey Yurovsky wrote:
> > Hi,
> > 
> > On Sat, Oct 7, 2017 at 6:06 AM, Romain Naour <romain.naour at smile.fr> wrote:
> > > Thomas, Andrey, All,
> > > 
> > > Le 07/10/2017 à 13:58, Thomas Petazzoni a écrit :
> > > > Hello,
> > > > 
> > > > On Fri, 6 Oct 2017 15:39:03 -0700, Andrey Yurovsky wrote:
> > > > 
> > > > > On Thu, Jul 27, 2017 at 7:50 AM, Thomas Petazzoni
> > > > > <thomas.petazzoni at free-electrons.com> wrote:
> > > > > > No, let's wait to have a few Meson-based packages in Buildroot, and
> > > > > > then we'll have a package infrastructure. This will allow us to see
> > > > > > what are the commonalities, what are the differences, etc.
> > > > > 
> > > > > systemd 235 is released (https://lwn.net/Articles/735691/) and it
> > > > > drops autoconf/automake and only has meson as the build system (in 234
> > > > > they warned this would happen next) so perhaps that's a good starting
> > > > > point for buildroot to integrate meson support? I'm happy to help out
> > > > > if no one else was already working on it.
> > > > 
> > > > This would indeed be a very compelling reason to support meson.
> > > 
> > > Also the next enlightenment release (0.22) will only support meson.
> > > 
> > 
> > I was able to add a package/pkg-meson.mk wrapper (that seems to be
> > missing from the Meson patch set, or did I completely miss it?) and
> > built the previously submitted libmpdclient version bump via the
> > $(eval $(meson-package)) wrapper. I'll work on version bumping systemd
> > and converting it to use that wrapper as well. If possible I'd like to
> > get this more or less right, what would a reasonable patch set look
> > like? I was thinking, as a patch set:
> > 1. resubmit the Meson patches (package/meson, documentation) by Jörg Krause
> 
> I resubmitted the series, with a version bump to 0.43.0 and other
> suggested changes.
> 
> @Jörg: in your respin of the series, why was the github helper dropped
> in favor of a direct tarball download?
> 

As Arnout has responded in a follow-up review, we prefer an uploaded
tarball because the github tarballs might change from time to time.
Furthermore, the uploaded tarballs often contains autogenerated files
which frees us from doing autoreconf for the package.

> > 2. add package/pkg-meson.mk
> > 3. resubmit the libmpdclient version bump patch by Jörg Krause but
> > with $(eval $(meson-package)) changes
> > 4. submit the systemd version bump and meson conversion patch(es)
> > 
> > That way we have the infrastructure, documentation, and two packages
> > utilizing the infrastructure in one set to review. Does that sound
> > alright?
> 
> @Andrey: I'll be happy to test your patches.
> 

Best regards,
Jörg Krause



More information about the buildroot mailing list