Web lists-archives.com

Re: Debian packaging with meson




On Sat, Feb 18, 2017 at 03:28:58AM +0100, Adam Borowski wrote:
> On Fri, Feb 17, 2017 at 11:29:35PM +0000, Simon McVittie wrote:
> > On Fri, 17 Feb 2017 at 18:08:01 -0500, Jeremy Bicha wrote:
> > > GNOME 3.24 modules have begun including meson build scripts.
> > 
> > It looks as though Meson approximately follows the Autotools-like
> > build pipeline that dh assumes, so something like this should work:
> 
> > override_dh_auto_build:
> > 	cd debian/build && ninja -v
> > 
> > override_dh_auto_test:
> > 	cd debian/build && ninja test
> > 
> > override_dh_auto_install:
> > 	cd debian/build && DESTDIR=${CURDIR}/debian/tmp ninja install
> 
> Note that this won't work unless we rename ninja-build to ninja.

Why not?  ninja-build has been providing /usr/bin/ninja since it was
first uploaded.  Yes, ninja provides /usr/sbin/ninja, but ninja-build
Conflicts: ninja.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB