Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
#! /bin/bash

echo "### checking for unowinreg.dll ... "
if [ ! -e  ./external/unowinreg/unowinreg.dll ]; then
    wget -O external/unowinreg/unowinreg.dll http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
else
    echo "  unowinreg.dll found"
fi

echo "### checking for moz prebuild libs ... "
if [ ! -e  ./moz/zipped/MACOSXGCCIinc.zip ]; then
    cp ~/dev/backup/moz_prebuild/MACOSXGCCIinc.zip ./moz/zipped/MACOSXGCCIinc.zip
    cp ~/dev/backup/moz_prebuild/MACOSXGCCIlib.zip ./moz/zipped/MACOSXGCCIlib.zip
    cp ~/dev/backup/moz_prebuild/MACOSXGCCIruntime.zip ./moz/zipped/MACOSXGCCIruntime.zip
else
    echo "  moz prebuild libs found"
fi


echo "### autoconf ..."
if [ ! -e  ./configure ]; then
    autoconf
else
    rm ./configure
    autoconf
fi

echo "### Configure"
./configure --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)")" \
      --disable-build-mozilla --enable-verbose --enable-category-b --without-stlport --enable-wiki-publisher --enable-bundled-dictionaries \
      --without-stlport --with-dmake-path=/Users/jsc/dev/tools/bin/dmake --with-epm=/Users/jsc/dev/tools/bin/epm/epm \
      --with-lang="ast bg cs da de el en-GB en-US es eu fi fr gd gl hu it ja km ko lt nb nl pl pt pt-BR ru sk sl sr sv ta th tr vi zh-CN zh-TW"

./bootstrap

cd instsetoo_native/util

build --all -P4 --P4

dmake openofficedev_ar openofficedev_cd ... sdkoodev_en-US ooodevlanguagepack_en-US

Windows

I (Oliver, orw at apache.org) used a pre-built version of dmake and pre-buildt mozilla libraries (main/moz/zipped/). Additionally, I copied the following libraries and files into my clean and fresh source tree:

...

Code Block
./configure   \
--with-build-version="$(date +"%Y-%m-%d %H:%M") - `uname -sm`" \
--enable-verbose \
--enable-category-b \
--enable-crashdump=yes  \
--enable-wiki-publisher  \
--enable-opengl  \
--enable-dbus  \
--enable-gstreamer \
--with-package-format="rpm deb" \
--with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 \
--with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz \
--enable-bundled-dictionaries \
--without-junit \
--with-perl-home=$HOME/perl \
--with-ant-home=$HOME/src/apache-ant-1.8.3 \
--without-stlport \
--with-system-stdlibs \
--with-lang="ast bg cs da de el en-GB en-US es eu fi fr gd gl hu it ja km ko lt nb nl pl pt pt-BR ru sk sl sr sv ta th tr vi zh-CN zh-TW"

To speed up the building process I use prebuilt mozilla (built by myself on the same environment).

...