2009/10/8 Krzysztof Kosiński <tweenk.pl@gmail.com>
2009/10/7 Joshua A. Andler <scislac@...400...>:
> Hey All,
>
> Chris Morgan has submitted a patch for packaging a portable version of
> inkscape.

I am wondering, would it be desirable to have a build time switch that
would cause Inkscape to be built with all resources "built in" and all
libraries statically linked, so that Inkscape would be a bare
executable with no file dependencies?
No.  As it is now it works fine.  If we did that, the issues would be many too many.  Wherever possible, it's a good idea to minimize the number of different distributions... otherwise if someone has an issue with Inkscape Portable you've got to see if it happens in Inkscape, and if it doesn't, pinpoint it... currently compression with UPX is the only extra, which very occasionally causes trouble with PortableApps.com applications but is almost always fine.  Static linking would be unlikely to save much space either.

This would be done by converting
all necessary resource files to C sources containing variables
(somewhat like XPM) using a Waf script. I don't know whether e.g.
gettext and GTK would play nice with this though.
It's unlikely that they would.  Even more reason not to try :-)


-- Chris Morgan <chris.morganiser@...400...>


I'm good at making two things: mistakes and enemies.