start
Table of Contents

Notes on building OpenOffice

These may seem cryptic ; its essentially an easy place for me to keep stuff that is in progress and I haven’t resolved yet Most of this info is old, rather use the Official OOo wiki

rpmbuild bugs

Something to do with expecting rpm rather than rpmbuild, and producing packages. All are now marked fixed, so who knows what this was about but thought I’d better not lose the list :-)

Using ooo-build

Requirements

Problems encountered

Using configure directly

Alberto’s advice is to work out requirements using the native OOo source and config_office/configure command

General Notes

With Visual Studio

Current configure command:

#!/bin/bash

unset CLASSPATH
psdk=/cygdrive/c/DevTools/Microsoft\ Platform\ SDK
dsdk=/cygdrive/c/DevTools/Microsoft\ DirectX\ 9.0\ SDK
vchome="/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Vc7"
midlpath=/cygdrive/c/DevTools/Microsoft\ Visual\ Studio\ .NET\ 2003/Common7/Tools/Bin
cscpath=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322
psdk=`cygpath -d "$psdk"`
psdk=`cygpath -u "$psdk"`
dsdk=`cygpath -d "$dsdk"`
dsdk=`cygpath -u "$dsdk"`
vchome=`cygpath -d "$vchome"`
vchome=`cygpath -u "$vchome"`
./configure --with-build-version="translate.org.za build 20050831" --with-jdk-home=/cygdrive/c/java/j2sdk1.4.2_09 --with-ant-home=/cygdrive/c/DevTools/apache-ant-1.6.5 --with-psdk-home="$psdk" --with-directx-home="$dsdk" --with-nsis-path=/cygdrive/c/DevTools/NSIS --disable-mozilla --with-cl-home="$vchome" --with-midl-path="$midlpath" --with-csc-path="$cscpath" --with-frame-home=/cygdrive/c/DevTools/Microsoft.NET/SDK/v1.1

With MinGW

Current configure command:

psdk=/c/DevTools/Microsoft\ Platform\ SDK
dsdk=/c/DevTools/Microsoft\ DirectX\ 9.0\ SDK
psdk=`cygpath -d "$psdk"`
psdk=`cygpath -u "$psdk"`
dsdk=`cygpath -d "$dsdk"`
dsdk=`cygpath -u "$dsdk"`
./configure --with-mingwin=yes --with-build-version="translate.org.za build 20050831"
  --with-jdk-home=/c/java/j2sdk1.4.2_09/ --with-ant-home=/c/DevTools/apache-ant-1.6.5/
  --with-psdk-home="$psdk" --with-directx-home="$dsdk" --with-nsis-path=/c/DevTools/NSIS/
  --disable-mozilla

Code Signing

Would be nice to sign stuff with Authenticode so that people don’t get nasty warnings when running setup... <a href=”http://mindprod.com/jgloss/certificate.html“>certificates info</a> is a helpful page that lists different signing authorities etc