GSoC/GCI Archive
Google Code-in 2014 Copyleft Games

Waf: Waf GLSL Tool

completed by: edudev

mentors: Arc Riley

Waf is written in Python and supports adding additional tools for building different kinds of source files, different platform targets, etc. Last year, a GCI student wrote a basic tool to build GLSL files (.glslf and .glslv) into .c files. This works for PySoy, but needs more work to become a standard tool with Waf.

The glsl.py tool needs to be refactored into Waf's code style (eg, tabs, not spaces), use Node.read_file and Node.write_file for better cross-platform support, learn about O_NOINHERIT, and write examples in a sample project folder for testing purposes.

While working on this task you should join and remain in #CopyleftGames and #Waf on Freenode to get help, feedback, and guidance from mentors and other developers.

When done, create a patch by using git-format and submit an enhancement request to the Waf bug tracker on googlecode and post the resulting URL to this task.