Finding a way to compile OpenOffice.org
- categories
- Uncategorized
- published
- reading time
- 2 minutes
The last articles were a helping to getting into this project, but now it’s time to find a better way to deal with changed into the code of OOo.
When you compile, as the last article describe it, you’re actually compiling the project as a whole and re-creating the installed files (or the dmg file), but there’s more than this to do.
Most of the time, one only change parts of the files in a module, let’s say slideshow that is dealing with the slideshow in OpenOffice Impress, if you put yourself into this module, you can build it using the build command and get the compiled files into the unx******/ directory.
The skillfull way is then to copy just the files you need, just the library files that are produced by this module.
Under MacOs, you need to install the dmg files into the Applications folder, and then you can copy the files using this command line :
cp -vf unxmacxi.pro/lib/* /Applications/OpenOffice.org.app/Contents/
basis-link/program/
Under Linux, if you did put that you wanted “installed files”, you just need to change the path to where instsettoo_native put these files.
With this method, you reduce the compiling time from 20 minutes to a few seconds and you can therefor speed up the pace and test things more easily.
I hope these articles on OOo will be helpfull, see you next time.