...
Language | Windows Intel MSI | Linux Intel RPM | Linux Intel DEB | Linux x86-64 RPM | Linux x86-64 DEB | MacOS Intel | Solaris Intel | Solaris SPARC |
---|---|---|---|---|---|---|---|---|
English (en-US) |
|
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
#! /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)") - Rev. $(echo $(svn info) | sed -e 's/^.*Last Changed Rev: //g' -e 's/ .*//g')" \ --disable-build-mozilla --enable-verbose --enable-category-b --enable-minimizer --enable-presenter-console --enable-wiki-publisher \ --with-dmake-path=/Users/jsc/dev/tools/bin/dmake --with-epm=/Users/jsc/dev/tools/bin/epm/epm --with-lang="en-US de fr es it ja zh-CN pt-BR nl" ./bootstrap cd instsetoo_native/util build --all -P4 --P4 dmake openofficedev_en-US openofficedev_en-US_de_fr_es_it_ja_zh-CN_pt-BR_nl sdkoodev_en-US ooodevlanguagepack_de ooodevlanguagepack_fr ooodevlanguagepack_es \ ooodevlanguagepack_it ooodevlanguagepack_ja ooodevlanguagepack_zh-CN ooodevlanguagepack_pt-BR ooodevlanguagepack_nl |
...
Code Block |
---|
--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \ --with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE" \ --with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1" \ --with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1" \ --with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1/Bin" \ --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0" \ --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.6.0_27" \ --with-csc-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/SDK/v3.5" \ --with-ant-home="/cygdrive/c/AOO/ant" \ --with-dmake-path=c:/AOO/sources/devtools/dmake.exe \ --with-external-tar=c:/AOO/sources/ext_sources \ --without-junit \ --enable-pch \ --disable-directx \ --disable-atl --disable-activex \ --disable-binfilter \ --enable-category-b \ --disable-build-mozilla \ --with-mozilla-build=c:/mozilla-build \ --with-lang="en-US de fr it es ja pt-BR zh-CN nl" \ --with-vendor="orw at apache.org" |
Linux
I (arielch) build on a default installation of Ubuntu 10.04.3 LTS (Lucid Lynx) live-cd image (http://mirror.switch.ch/ftp/mirror/ubuntu-cdimage/lucid/) with the following switches:
Code Block |
---|
./configure \
--with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") - Rev. $(echo $(git svn info) | sed -e 's/^.*Last Changed Rev: //g' -e 's/ .*//g')" \
--enable-verbose \
--enable-category-b \
--disable-build-mozilla \
--enable-minimizer \
--enable-presenter-console \
--enable-wiki-publisher \
--enable-opengl \
--enable-dbus \
--enable-gstreamer \
--with-package-format="rpm deb" \
--with-lang="de es fr it ja pt-BR zh-CN nl" \
--with-dmake-path=$HOME/src/dmake/INST/bin/dmake \
--with-epm=$HOME/src/epm-3.7/INST/bin/epm \
--with-mingwin=i586-mingw32msvc-c++ \
|
To speed up the building process I use prebuild mozilla (built by myself on the same environment).
I also use the following patch to speed up packaging in instsetoo_native:
Code Block |
---|
diff --git a/instsetoo_native/util/makefile.mk b/instsetoo_native/util/makefile.mk
index c7e895c..22a4124 100644
--- a/instsetoo_native/util/makefile.mk
+++ b/instsetoo_native/util/makefile.mk
@@ -82,7 +82,7 @@ ALLTAR : $(LOCALPYFILES)
.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
ALLTAR : openoffice
.ELSE
-ALLTAR : openoffice sdkoo_en-US ure_en-US
+ALLTAR : updatepack
.ENDIF
.ELSE # "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
ALLTAR : updatepack
diff --git a/instsetoo_native/util/pack.lst b/instsetoo_native/util/pack.lst
index 279268e..1412845 100755
--- a/instsetoo_native/util/pack.lst
+++ b/instsetoo_native/util/pack.lst
@@ -5,16 +5,9 @@
# (Example: "en-US,de" creates english-german multilingual installation set)
# Different installation sets use the "|" as separator
-# Product List_of_platforms List_of_languages Target
-
-OpenOffice unxlngi6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro en-US openoffice
-OpenOffice unxlngi6,unxmacxi,unxsoli4,unxsols4,wntmsci12 en-US openoffice
-#OpenOffice_wJRE unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,wntmsci12 en-US openofficewithjre
-OpenOffice_Dev unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxmacxi.pro,unxlngx6.pro en-US openofficedev
-#OpenOffice_SDK unxlngi6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro,unxlngi6,unxmacxi,unxsoli4,unxsols4,wntmsci12 en-US sdkoo
-OpenOffice_Dev_SDK unxlngi6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro,unxlngi6,unxmacxi,unxsoli4,unxsols4,wntmsci12 en-US sdkoodev
-#URE unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngi6,unxsoli4,unxsols4,wntmsci12 en-US ure
-OpenOfficeLanguagepack unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro,unxmacxi.pro de|ja ooolanguagepack
-OpenOfficeLanguagepack unxlngi6,unxsoli4,unxsols4,wntmsci12,unxmacxi de ooolanguagepack
-OpenOfficeDevLanguagepack unxlngi6.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro,unxlngx6.pro,unxmacxi.pro ar|as|ast|be-BY|bg|bn|ca|ca-XV|cs|da|de|dz|el|en-GB|eo|es|et|eu|fi|fr|ga|gl|gu|he|hi|hu|id|is|it|ja|ka|km|kn|ko|ku|lt|lv|mk|ml|mr|my|nb|nl|nn|oc|om|or|pa-IN|pl|pt|pt-BR|ro|ru|sh|si|sk|sl|sr|sv|ta|te|th|tr|ug|uk|uz|vi|zh-CN|zh-TW ooodevlanguagepack
+# Product List_of_platforms List_of_languages Target
+OpenOffice_Dev unxlngi6.pro,unxlngx6.pro en-US openofficedev
+OpenOffice_Dev_multilang unxlngi6.pro,unxlngx6.pro en-US,de,es,fr,it,ja,nl,pt-BR,zh-CN openofficedev
+OpenOffice_Dev_SDK unxlngi6.pro,unxlngx6.pro en-US sdkoodev
+OpenOfficeDevLanguagepack unxlngi6.pro,unxlngx6.pro de|es|fr|it|ja|nl|pt-BR|zh-CN ooodevlanguagepack
|
Finally I build with:
Code Block |
---|
build --html --all -P8 -- -P4
|
I had to add the following pakages to build AOO with the above mentioned switches:
Code Block |
---|
sudo apt-get install \
rpm \
autoconf \
libarchive-zip-perl \
g++ \
libcups2-dev \
libpam-dev \
openjdk-6-jdk \
gperf \
libfreetype6-dev \
libgtk2.0-dev \
libxaw7-dev \
bison \
flex \
libgconf2-dev \
libgnomevfs2-dev \
libdbus-glib-1-dev \
libgstreamer-plugins-base0.10-dev \
mesa-common-dev \
libgl1-mesa-dev \
libglu1-mesa-dev \
ant \
junit4 \
libidl-dev
|