Get AOO3.4 build ready with APPR patch

Make a full build for Apache OpenOffice 3.4

You can get the source code from "https://svn.apache.org/repos/asf/incubator/ooo/trunk". Please put it under "~/aoo340/build", mark the place as AOO_HOME. Make sure that you can locate to all the modules under "$AOO_HOME/main".
Please follow the build guide to make a full build on Ubuntu. Then you can get the installation package at "$AOO_HOME/main/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-arc_en-US.tar.gz". Please extract it, rename the new dir to soffice and move it to "~/aoo340/". You can get a dir "~/aoo340/soffice/openoffice.org3", mark the place as SOFFICE_HOME.

Get the package for APPR

Here is the link. Please put it under "~/aoo340" and uncompress it. You can get a dir "~/aoo340/APPR.for.AOO340.on.Ubuntu/APPR", mark the place as APPR_HOME. Then run commands below to apply APPR's patch into AOO's codebase.

Install Macro library for APPR

You need to launch AOO3.4 by command "$SOFFICE_HOME/program/soffice.bin" in ternimal. Then import the Macro library "$APPR_HOME/starBASIC/script.xlb". Please refer to the user guide under "$APPR_HOME/docs".

Install 3rd support for APPR

You can run commands as below to finish all the tasks.

cd "$APPR_HOME/tools/"
chmod a+x auto.install.sh
./auto.install.sh

Check gawk on Ubuntu

gawk is needed to run APPR. You can run command "sudo apt-get install gawk" to install it.

Check bash on Ubuntu

APPR is a bash shell script. You can run command "sudo dpkg-reconfigure dash" to make "dash" as not a default setting.

Check Perl on Ubuntu

You can run command "sudo apt-get install libperl-dev" to install it.

Check YAML on Ubuntu

You can run command "sudo apt-get install libyaml-perl" to install it.

Check SVG Viewer on Ubuntu

FireFox is selected here to display SVG file. You can run command "sudo apt-get install firefox" to install it.
If you have a recommended one. Please update this section. Thanks!

Install Perl module SVG

You can get it from SVG-2.28. Run the following commands to install it.

tar xvf SVG-2.28.tar.gz
cd SVG-2.28
sudo perl -MCPAN -e "install SVG"

Install Perl module miniXML

You can get it from XML-Mini-1.38. Run the following commands to install it.