So much work! ;)
Aaron Spike wrote:
Ted Gould wrote:
On Wed, 2008-09-24 at 13:45 -0500, Aaron Spike wrote:
Bassel Safadi wrote:
So can you please help us shipping ( or doing this if possible for us ) a stand alone ( one file only ) copy of inkscape without GUI, just the command line,
Just a curiosity, how would one go about this? Is this a new executable target like inkview that would parse SVG and generate output files?
Yes, but. I think you'll also have to rearrange a lot of the files to remove the GTK+ dependencies that are in them. A lot of GTK stuff has been pushed into GLib with wrappers located in the GTK library. So you'd probably have to figure out where these are and push them down also. A lot of that work was driven by the GStreamer folks wanting to not depend on a GUI also.
So that's the concept. Can anyone give a simplified outline of the process a person should follow to accomplish this? What you said above means that we should find GTK functions and types in the code and replace them with GLib functions and types? How will these be located? How will progress be measured and tested?
All in all, I would say it is possible. But it is a significant amount of work. If we're shipping three binaries it'd probably be worth looking at building shared libraries instead of static ones... I'll do that if you do the rest ;)
Heh, deal.
Aaron Spike
Thanks for helping on this! It might be easier to work the other way and use Cairo to create PNG thumbnails with an apache module which can be used to provide decent SVG.
I wonder if it would be easier to make something like inkserve like inkview that only does this type of processing. Regardless, this refactoring would have to happen to get it to a lean state.
Bassel, we can chat about in #openclipart more...#inkscape is also good too...the refactoring has been a goal for ages, but not sure if this will frustrate/block you prior to completion ;)
Jon
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel