Re: For projects switching to Meson *only*



Hiya,

Apologies for any ignorance about the scope and intent of the build API.

On Thu, Apr 27, 2017 at 09:45:04AM +0100, Emmanuele Bassi wrote:
Hi everyone;
A simple script is available here[2], and it has nice properties, like
being able to work with a simple:

  ./configure
  make
  sudo make install

which makes distributors and integrators happy.
[…]
[2]: https://github.com/ebassi/graphene/blob/master/configure

As it happens I interacted with this script (in gnome-software)
yesterday. I hadn't got a new enough jhbuild - the one I had was trying
to call ./configure instead of meson directly.

The script AFAICS ignores unknown arguments. In particular, I was
interested in passing some --enable/--disable flags to select features
but I didn't find out how to do that short of explicitly extending it
with those particular options. If you expect distributors to be using
this, or if this is interesting for users of the build API, is having
some support for ./configure <-> meson_options integration a reasonable
request?

Otherwise, and this is what happens now that I upgraded jhbuild, using
meson directly works fine. But if a goal of this is to smooth the
transition path and avoid a requirement for tooling to be updated, maybe
it would be useful.

Cheers,

-- 
Iain Lane                                  [ iain orangesquash org uk ]
Debian Developer                                   [ laney debian org ]
Ubuntu Developer                                   [ laney ubuntu com ]

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]