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

2017-04-03 Thread Niels Thykier
Michael Biebl: > [...] > > I've addressed those issues, thanks for your help, Niels. > > Aside from cross-build support and the autoreconf issue, I consider the > current state in biebl/meson usable enough to be merged. > > I would squash the individual commits and write a proper commit log if >

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

2017-03-28 Thread Niels Thykier
Michael Biebl: > Am 25.03.2017 um 09:34 schrieb Niels Thykier: >> [...] >> > > I've addressed those issues, thanks for your help, Niels. > Thanks for doing the work. :) > Aside from cross-build support and the autoreconf issue, I consider the > current state in biebl/meson usable enough to be m

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

2017-03-28 Thread Michael Biebl
Am 25.03.2017 um 09:34 schrieb Niels Thykier: > Michael Biebl: >> Am 24.03.2017 um 08:31 schrieb Niels Thykier: >>> >From what little I know about meson + ninja, looks fine. The only >>> comment I have is that the ninja file speaks a lot about Makefiles >>> without the code ever touching one. :)

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

2017-03-27 Thread Jussi Pakkanen
On Mon, Mar 27, 2017 at 8:07 PM, Michael Biebl wrote: > Ok, os ninja does not automatically translate -j1 to MESON_TESTTHREADS=1 No. > To understand this properly: Say I have 4 cores, does that mean that by > default I have 4 ninja processes which run mesontest, which in turn runs > 4 threads,

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

2017-03-27 Thread Michael Biebl
Am 27.03.2017 um 18:33 schrieb Jussi Pakkanen: > On Mon, Mar 27, 2017 at 7:24 PM, Michael Biebl wrote: > >> So, when running "ninja test -j1" will the -j1 be ignored? > > Well yes and no. It tells Ninja to use only one parallel process. > Which it uses to spawn the test runner which then uses >

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

2017-03-27 Thread Jussi Pakkanen
On Mon, Mar 27, 2017 at 7:24 PM, Michael Biebl wrote: > So, when running "ninja test -j1" will the -j1 be ignored? Well yes and no. It tells Ninja to use only one parallel process. Which it uses to spawn the test runner which then uses MESON_TESTTHREADS amount of parallel processes.

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

2017-03-27 Thread Michael Biebl
Hi Jussi Am 24.03.2017 um 17:46 schrieb Jussi Pakkanen: > On Fri, Mar 24, 2017 at 6:05 PM, Michael Biebl wrote: > >> a/ Add support for DEB_BUILD_OPTIONS="parallel=N"? >> By default ninja runs N jobs in parallel, where N is derived >> from the number of CPUs. >> Should this be only done for the

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

2017-03-25 Thread Niels Thykier
Michael Biebl: > Am 24.03.2017 um 08:31 schrieb Niels Thykier: >> >From what little I know about meson + ninja, looks fine. The only >> comment I have is that the ninja file speaks a lot about Makefiles >> without the code ever touching one. :) Guess it is copy-waste >> left-overs from make.pm? >

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

2017-03-24 Thread Jussi Pakkanen
On Fri, Mar 24, 2017 at 6:05 PM, Michael Biebl wrote: > a/ Add support for DEB_BUILD_OPTIONS="parallel=N"? > By default ninja runs N jobs in parallel, where N is derived > from the number of CPUs. > Should this be only done for the build step or install and test as well? > In the latter case, the

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

2017-03-24 Thread Michael Biebl
Am 24.03.2017 um 08:31 schrieb Niels Thykier: >>From what little I know about meson + ninja, looks fine. The only > comment I have is that the ninja file speaks a lot about Makefiles > without the code ever touching one. :) Guess it is copy-waste > left-overs from make.pm? Yeah, thanks for spott

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

2017-03-24 Thread Niels Thykier
Michael Biebl: > Hi > Hi, BCCed Helmut Grohne: @Helmut, we are talking about adding a new build system to debhelper (meson + ninja). I wanted you to be aware of it in case you had some early remarks on doing cross-building with it (see the last paragraphs). :) > Am 24.03.2017 um 06:28 schrieb

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

2017-03-23 Thread Michael Biebl
For anyone interested: I started working on meson/ninja support at https://anonscm.debian.org/cgit/debhelper/debhelper.git/log/?h=biebl/meson It's based on the autoconf/makefile class. I tested it with a a few packages like gnome-twitch and it more or less seems to do the right thing. I don't con

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

2017-03-23 Thread Michael Biebl
Hi Niels, with the release of GNOME 3.24, quite a few GNOME components have started to support the Meson build system (in addition to autotools). There are even plans for some of them to be Meson-only in the future. So this issue will become relevant for the Debian GNOME team. On Wed, 12 Aug 2015

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

2015-08-12 Thread Jussi Pakkanen
On Wed, Aug 12, 2015 at 4:31 PM, Niels Thykier wrote: I got a couple of questions: > > * How many packages in Debian are (or will in the near future) be >using this build system? > As far as I can tell, at the moment the number is zero. There have been talks with upstream maintainers of som

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

2015-08-12 Thread Niels Thykier
Control: tags -1 moreinfo On 2015-08-12 11:55, Jussi Pakkanen wrote: > Package: debhelper > Version: 9.20150811 > Severity: wishlist > > Please add support for building packages using the Meson build system. The > exact build steps to take are the following. > > [...] > > Thanks, > > [...] Hi