Hello all
I just managed to build Inkscape using Waf as the build system. Although the documentation of Waf isn't complete and writing the scripts involved some guesswork and reading the source, it made a lot of things very easy when compared to Autotools or CMake (for example, the SVN revision feature). Currently it works for Linux builds, but supporting Windows and OSX only requires some tweaking. It doesn't do anything beyond building yet (like installation, updating translation templates, generating manpages and the like), but I'm working on it.
Regards, Krzysztof
On Sun, 2009-09-20 at 18:43 -0700, Krzysztof Kosiński wrote:
I just managed to build Inkscape using Waf as the build system.
Congrats!
Great work Krzysztof! It must be easier if you figured it out so quickly. If you would like an additional Linux tester, I'm more than happy to help out in any way I can.
Cheers, Josh
Thanks for the feedback!
Things could be easier with a DVCS as I could just push the Waf branch to Launchpad. We really must release soon :)
I could use some guidance about some of the more arcane things in the Autotools system: e.g. 'binary relocation' and what is it supposed to do.
As for OS X, what were the specific issues? It looks like Waf has built in support for 'frameworks' (though I don't know what they are), which can be used in a cross-platform way as uselib variables. It's also easy to add platform-specific snippets using simple ifs.
Regards, Krzysztof
The Waf build system is almost feature complete, here is what works: - building - compiling message catalogs during build - installation - generating POTFILES.in - updating .po and .pot from sources - SVN revision in about dialog (easily converted to Bazaar revision)
Regards, Krzysztof
participants (3)
-
Jon A. Cruz
-
Joshua A. Andler
-
Krzysztof Kosiński