
On 25/01/14 02:41, Krzysztof KosiĆski wrote:
Hello everyone,
I conducted an experiment in building Inkscape with Waf, redoing the work I did a long time ago with a newer version (1.7.15) and using more of its features. A correct build of Inkscape, with internal libraries built separately, "inklib" built as a shared library, Bazaar revision fetching and .po file compilation, requires less than 250 lines of Python script (!!!).
I read on some mailing lists that Debian refused to package some software using Waf, because Debian considers shipping the "Waf binary" to be incompatible with the DFSG. I circumvented this problem by adding the Waf source distribution to the tree, which is a little bigger, but DFSG-compliant and works exactly the same.
The code will be up shortly at lp:~tweenk/inkscape/waf-build, if anyone wants to check it out.
Regards, Krzysztof
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.cl...
_______________________________________________
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
I use waf at work, and CMake on my open-source project (sigrok PulseView).
From my experience CMake is a lot easier to use and more widely used
than waf. We use waf at work, and it's ok - but not easy to use unless you really know python.
Also CMake has a much larger community around it - hence support for Ninja, MSVC etc., wheras we find ourselves mostly talking directly to the Waf guy.
Waf is like a python library that can build your project, if you put in the effort of scripting it to do what you want. So as I use it, it feels like I'm doing a lot of things from scratch.
Also Debian refused to package waf because it wants to be a packaging system which clashes with their own packaging system.
The downside of CMake is the rather weird language of CMake files.
Not trying to tell Inkscape what to do - but I may be one of the few people who are using both.
Best Regards Joel