Hi,
Zorb Live wrote:
I'm using OpenOffice in a Java-based program on Linux via the API to convert .ppt files to raster images. It's working great, and is tremendously useful--hats off!
Now that it's working, I'd like to somewhat reduce the size of the OpenOffice distribution that I'm shipping--for the above task, can I get rid of the dependency on X11, and also drop unneeded modules and files within OpenOffice? How would I go about doing this?
You can't get rid of the dependency on X11. The OOo core code is still tied to the UI code very much, so you can't run one without the other.
The recommended solution is to use a virtual X server, like Xvfb, and run OpenOffice.org with the -headless flag.
Are you using OOo 1.x? In that case you can experiment with the 'custom installation' options to figure out a trimmed down configuration. You may try to install only the Impress application and deselect other packages you don't need. Unfortunately there is no simple way to create a reduced installer package you can ship. You either have to build OOo yourself and then do some hacking of 'scp'-Files (or setup description languge) or you can try to manually identify files to remove and otherwise manipulate the full installation set, which is a rather tedious task. In either case you could ask on the [email protected] list for more help.
Things get better in OOo 2.0: There the installer is split into several rpms and you can easily select those you need. You could try, if installing all the 'core' packages plus the impress package does the job for you.
I didn't see anything relevant in the documentation on this, but I've been known to be blind in the past.
Did you check if the installation project <http://installation.openoffice.org> has relevant documentation?
Ciao, Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
