
W dniu 19 stycznia 2010 09:28 użytkownik <J.B.C.Engelen@...1578...> napisał:
I have not tried the Waf build branch yet; but Josh and I have started to work on building Inkscape with CMake again, here: lp:~inkscape.dev/inkscape/cmake-build. Back in the day, I recall we almost had it working, but right now it's not working on Windows (don't know about Linux). Of course, any help is welcome.
It's also not working on Linux (and never was). The main problem is that it tries to put all files beginning with "sp" in a static library, and this causes circular dependencies between "libsp" and the rest of files.
The Waf branch currently configures and builds on both Windows and Linux. It should work on Mac OS X with some tweaking, but I don't have any OS X system at hand to test it. It installs correctly on Linux (though I didn't check it extensively), handles updating the translation templates (./waf i18n), and shows the Bazaar revision number and branch name in the About dialog. On Windows it requires a system-wide installation of Python 2.6 to work (which is different from the Python in devlibs, but it doesn't cause any issues, at least during the build). I added some environment magic so that the only variable you need to set before building is DEVLIBS_PATH. Finally, the code is Python, so I think many people will understand most of it without needing to learn the CMake language.
Currently I'm working on porting the "dist" command from btool (last piece of the Windows puzzle) and the cxxtest stuff.
Regards, Krzysztof