Re: A Gtk's build system ?



2014-08-05 20:06 GMT+02:00 Simon McVittie <simon mcvittie collabora co uk>:
In particular, Linux distributions *hate* waf. One of the reasons is:

Currently waf does basically same thing, you haven't to have waf
installed to build, the 'waf' python script will require only python
installed, as 'configure' requires bash/sh.

... but this results in not having the source code to the build system
you're building with in any sane form (the "compiled" waf script is a
self-unpacking binary container, containing a copy of waf); and trying
to consolidate onto fewer versions of waf within a distribution (i.e.
not the precise version that upstream used) is not something that is
supported by the authors of waf, because waf build systems that worked
fine with one version will not necessarily work with another.

Then put the Waf source into a directory of your project, instead of
using the self-unpacking script. The full source with comments is
around 200 kB.

You can see this in action here:
https://code.launchpad.net/~tweenk/inkscape/waf-build

Regards, Krzysztof


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