The Testing Area :: April extensions



Quote
xsane does depend on gimp-1.2

Ah - I was afraid of that. I'll have a look to see if it's only a matter of a couple of libs - if that is the case then maybe it would make sense to include them with the sane extension to avoid the need for gimp and yet maintain the plug-in compatibility when gimp is present.

Quote
I am putting together a .uci of gsview 4.9  built with GPL Ghostscript 8.62 - I packaged up gsview in a bare bones reader-only extension that is still a 7 MB .uci

- I'd been trying with gsview-4.8 and gs-7.05 to use the gtk1/gs files already in dsl to keep the size down...

I had seen the gs files in DSL after I compiled 8.62.  But there is no /usr/*/lib/libgs.so* in DSL that I can see, and that would have to be there.  Correct me if I am wrong, though.  All my gsview extension consists of is /opt/gsview-4.9/bin/gsview and /opt/gsview-4.9/lib/libgs.so.8.62, with a couple of symlinks.  That is all it needs to read pdf files, but those two files take the .uci to 7MB.  I hope the space taken up by the newer versions is made up for by support of more modern pdf files.
Quote
But there is no /usr/*/lib/libgs.so* in DSL that I can see, and that would have to be there.  Correct me if I am wrong, though

- It is my understanding that the shared lib is required - I was working on a suggestion made by Curaga to try gsview - and that gs-7.05 would have to recompiled using "make so" (which fails when I try, but this could be due to the occasional weirdness that compile-3.3.5 throws up).

Quote
All my gsview extension consists of is /opt/gsview-4.9/bin/gsview and /opt/gsview-4.9/lib/libgs.so.8.62, with a couple of symlinks.  That is all it needs to read pdf files, but those two files take the .uci to 7MB.  I hope the space taken up by the newer versions is made up for by support of more modern pdf files.

- if your extension reads more pdf files, it'll be worth it. Did you strip the gsview binary and libgs.so?

I did not strip the library or binary.  Here is a .tar.gz version of the extension if you would like to take a look at it.  

http://74.237.17.82/dsl/gsview-4.9.tar.gz

Maybe it can be whittled down a little more.

I had a look at your gsview extension - it works a lot better for me than xpdf. I tried 8-10 pdf files, including some large technical manuals, all of which worked fine whereas xpdf would not open most of them.

The 12MB monster lib would not strip further, but the binary about halved in size reducing the extension by +/-200KB.

You might want to look at gsview's own icon (gsview48.png in gsview-4.8) for your finished extension :)

On the xsane front, adding libgimpui-1.2.so.0 & libgimp-1.2.so.0 stopped the dependency on gimp-1.2 for a +/-300KB increase in the size of sane.uci - I just noticed that xsane stand-alone will save in pdf (gimp-1.2 will not) which is a big plus.

Updated version of sane.uci (gimp libs & menu item/icons) here

Next Page...
original here.