On 16/06/12 12:25, Dirk Hünniger wrote:
On 06/16/2012 12:03 PM, Svip wrote:
Interesting, but why is it so large? Is the source code available?
The source code is available here
http://wb2pdf.svn.sourceforge.net/viewvc/wb2pdf/
The Binary is large because it contains everything necessery to compile the generated LaTeX code, which is basically a full installation of MikTeX. Yours Dirk Hünniger
Have you heard of dependencies? You have to download a 364M file, which extracts to 898M Of those 94M are Linux-specific. The rest includes miktex files, object files, dlls, exes, imagemagick, tcl/tk, Olson db... The real code seem to lie at trunk/wb2pdf/trunk/src, being just 4MB.
And if we look at the linux version, it isn't better. It does not only place everything into a /usr/bin subfolder, it copies everything (90M) to /tmp on each run. Completely oblivious of security. Running this program on a shared system is a vulnerability on itself.
Why don't you make a package with just the wb2pdf specific files? Also, temporary build files are not needed on a release.