[debhelper-devel] Bug#795253: Bug#795253: Add support for Meson build system

Michael Biebl biebl at debian.org
Sat Mar 25 00:42:26 UTC 2017


Am 24.03.2017 um 06:53 schrieb Michael Biebl:
> Am 24.03.2017 um 06:28 schrieb Niels Thykier:
>> Michael Biebl:
>> Wed, 12 Aug 2015 16:31:41 +0200 Niels Thykier <niels at thykier.net> wrote:

>>>>  * Is it possible to reliably auto-detect if an upstream is using Meson
>>>>    like it is with other build systems such as autoconf+make?
>>>>    - If not, it can at best be a "manually invoked" build system.
>>>
>>> A meson.build file is probably a good indicator that meson is supported.
>>> As mentioned earlier, at least some of the GNOME projects will support
>>> autotools and meson/ninja in parallel for some time. So we'd need a
>>> mechanism to choose which one to use.
>>>
>>
>> There is an ordering inside debhelper to deal with that, which can be
>> changed during a compat bump.  Possibly, we need some logic to keep the
>> meason build lower than the third-party build systems until then as well
>> (in the off-hand case that meason was /also/ available in packages with
>> those third party build systems - doubt it, but mentioning it for
>> completion).
> 
> Thanks for the hint. I was already pointed at this on IRC.
> The biebl/meson branch adds meson to the list as last option. Which
> means a package shipping both autotools and meson support would get
> autotools by default, which is ok I guess.

Related to that: For a source tree which ships both meson.build files
and configure.ac, autoreconf is run, even if I explicitly choose meson
via dh $@ --buildsystem=meson

Niels, is there a way how I can skip the dh-autoreconf step(s) if meson
is used?

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20170325/2afb4b3a/attachment-0001.sig>


More information about the pkg-gnome-maintainers mailing list