Joel Holdsworth wrote:
You might be interested in these two videos http://blip.tv/file/1075329 http://blip.tv/file/1077148
Here the guy uses a Ruby script to automate rendering of all the PNGs out of a larger SVG canvas.
That's a different animal altogether. If GdkPixbuf supports SVG on Windows, we don't need PNG renders at all, because we can use our SVG icons directly in the theming mechanism. If it doesn't, we have to ship PNG renders. Integrating the rendering into the build process is rather easy, and I have even wrote a custom build system in Perl that renders an icon theme to PNGs of several sizes, but it would be problematic for Windows users. For now I think putting the PNG icons in SVN is the best option, because SVG support in GdkPixbuf is not a part of core GTK, so the logical guess is that it's not supported by default.
Another minor note is that Ruby isn't the best language for build automation, because it's not installed by default in most Linux distros, whereas Perl and Python are.
Regards, Krzysztof Kosiński