Difference between revisions of "OOo Mac Build"

From CDOT Wiki
Jump to: navigation, search
(Setting C and C++ compilers)
(OOo Category)
 
(47 intermediate revisions by 9 users not shown)
Line 1: Line 1:
= Openoffice.org Fedora Build =
+
= Openoffice.org Mac Build =
 +
[[OOo Fedora Build]] - [[OOo Windows Build]]
 
* Resources
 
* Resources
 
{| border="1"
 
{| border="1"
Line 6: Line 7:
 
! Student Name !! CDOT Computer Name !! Operation !! Status
 
! Student Name !! CDOT Computer Name !! Operation !! Status
 
|-
 
|-
| [[User:dmoon4|Daeseon Moon]] (irc:Daeseon)|| Russia || building DEV41 ||  
+
| [[User:dmoon4|Daeseon Moon]] (irc:Daeseon)|| Russia || || Build Success
 +
|-
 +
| [[User:jtpau|Jerry Pau]] (irc: jPau) || Canada || m40 Done; m41 Done || Build Success
 +
|-
 +
| [[User:Wfred|Fred Wang]] (irc:WFred)|| Russia/Spain ||  || Build Succeeded - Spain. From Feb 11, 10AM to Feb 11, 1:30PM (ish)
 +
|-
 +
| [[User:rmwang|Ryan Wang]] (irc:rmwang)|| Russia/EasterIsland/Local ||  || '''Build Success:''' on EasterIsland
 +
|-
 +
| [[User:bbarcick|Bartosz Barcicki]] (irc:BartB)|| Easter Island ||  ||
 +
|-
 +
| [[User:Lzahir|Ladan Zahiroleslam]] (irc:l_zahir)|| Canada||Aqua Build(OOo M41) ||'''Build Success:''' Started on Feb. 9, 08:57 pm --Finished Feb.  9 23:55 pm-Insulation Completed -Feb 12,09
 +
|-
 +
| [[User:Minicheong|Frankie Law]] (irc:Mini_Cheong)|| Spain(Local Account) ||  || Building: 2:57am - 6:56am Finish
 +
|-
 +
| [[User:achan66|Aaron Chan]] (irc::achan66)|| Russia || Building m40 || Building
 +
|-
 +
| [[User:arbraini|Andrew Braini]] (irrc::aBraini)|| EasterIsland || Building m40 || Build Started 2:17pm Fri 13 Feb.
 
|}
 
|}
 +
  
 
== Getting the Source ==
 
== Getting the Source ==
 
[http://wiki.services.openoffice.org/wiki/AquaBuild OpenOffice Max OS X AquaBuild instructions]
 
[http://wiki.services.openoffice.org/wiki/AquaBuild OpenOffice Max OS X AquaBuild instructions]
  
 +
Connect to the target system and run the following command on the terminal to download the source code from the OpenOffice SVN.
 +
<pre>
 +
svn checkout http://svn.services.openoffice.org/ooo/tags/DEV300_m40
 +
</pre>
 
== Setting C and C++ compilers ==
 
== Setting C and C++ compilers ==
 
* Bash shell
 
* Bash shell
Line 22: Line 44:
  
 
== Configuring The Source ==
 
== Configuring The Source ==
 +
* Apply the following patch to your tree [http://eric.bachard.free.fr/mac/aquavcl/patches/aqua_November_2008/26th_november/moz2seamonkey_connectivity.diff patch for moz2seamonkey zipped archives]
 +
<pre>
 +
 +
cp moz2seamonkey_connectivity.diff  DEV300_m40
 +
cd DEV300_m40
 +
 +
Fake the patch application :
 +
 +
patch --dry-run -p0 < moz2seamonkey_connectivity.diff
 +
 +
And if nothing wrong occurs, apply it for true :
 +
 +
patch -p0 < moz2seamonkey_connectivity.diff
 +
 +
</pre>
  
 +
* Put mozilla prebuilt archives to src_root/moz/zipped/
 +
** [http://eric.bachard.free.fr/mac/moz/seamonkey_Intel/MACOSXGCCIinc.zip MACOSXGCCIinc.zip]
 +
** [http://eric.bachard.free.fr/mac/moz/seamonkey_Intel/MACOSXGCCIlib.zip MACOSXGCCIlib.zip]
 +
** [http://eric.bachard.free.fr/mac/moz/seamonkey_Intel/MACOSXGCCIruntime.zip MACOSXGCCIruntime.zip]
 +
* type "./configure -options..." or create build.sh
 +
<code>
 +
#!/bin/sh
 +
export BASE=`pwd`
 +
export OOVERSION=`echo $BASE|sed 's/^\/.*\///'`
 +
echo Building from    : $BASE
 +
echo OpenOffice Version: $OOVERSION
 +
./configure \
 +
--with-lang="en-US" \
 +
--disable-odk \
 +
--disable-pasf \
 +
--disable-gtk \
 +
--disable-headless \
 +
--disable-build-mozilla \
 +
--with-build-version=$OOVERSION-`date +%d-%m-%y` \
 +
--disable-fontconfig \
 +
--without-nas \
 +
--with-use-shell=bash \
 +
--with-jdk-home=/System/Library/Frameworks/JavaVM.framework/Home \
 +
--with-stlport=no \
 +
--disable-mediawiki \
 +
--enable-werror \
 +
--disable-vba
 +
</code>
 +
* If you create build.sh, then put this file ~/bin and give proper permission
 +
<pre>
 +
mv build.sh ~/bin
 +
chmod ug+x ~/bin/build.sh
 +
ln -s ~/bin/build.sh your src_root(DEV300_m41)/build.sh
 +
</pre>
 +
* execute build.sh
  
 
== Setting Environment Variables ==
 
== Setting Environment Variables ==
Line 28: Line 100:
  
 
== Bootstrapping ==
 
== Bootstrapping ==
 +
<pre>
 +
./bootstrap
 +
source MacOSXX86Env.Set.sh
 +
cd instsetoo_native
 +
export TMP=/tmp
 +
export SYSTEM_OPENSSL=YES
 +
</pre>
  
 +
== Build ==
 +
<pre>
 +
build --all -P4
 +
</pre>
  
== Build ==
+
[[Category:OpenOffice.org]]

Latest revision as of 15:06, 11 May 2009

Openoffice.org Mac Build

OOo Fedora Build - OOo Windows Build

  • Resources
CDOT Computer Status - Who is working where
Student Name CDOT Computer Name Operation Status
Daeseon Moon (irc:Daeseon) Russia Build Success
Jerry Pau (irc: jPau) Canada m40 Done; m41 Done Build Success
Fred Wang (irc:WFred) Russia/Spain Build Succeeded - Spain. From Feb 11, 10AM to Feb 11, 1:30PM (ish)
Ryan Wang (irc:rmwang) Russia/EasterIsland/Local Build Success: on EasterIsland
Bartosz Barcicki (irc:BartB) Easter Island
Ladan Zahiroleslam (irc:l_zahir) Canada Aqua Build(OOo M41) Build Success: Started on Feb. 9, 08:57 pm --Finished Feb. 9 23:55 pm-Insulation Completed -Feb 12,09
Frankie Law (irc:Mini_Cheong) Spain(Local Account) Building: 2:57am - 6:56am Finish
Aaron Chan (irc::achan66) Russia Building m40 Building
Andrew Braini (irrc::aBraini) EasterIsland Building m40 Build Started 2:17pm Fri 13 Feb.


Getting the Source

OpenOffice Max OS X AquaBuild instructions

Connect to the target system and run the following command on the terminal to download the source code from the OpenOffice SVN.

svn checkout http://svn.services.openoffice.org/ooo/tags/DEV300_m40

Setting C and C++ compilers

  • Bash shell
    • Without ccache
      • export CC=gcc
      • export CXX=g++
    • With ccache
      • export CC="ccache gcc"
      • export CXX="ccache g++"

Configuring The Source


cp moz2seamonkey_connectivity.diff   DEV300_m40
cd DEV300_m40

Fake the patch application :
 
patch --dry-run -p0 < moz2seamonkey_connectivity.diff

And if nothing wrong occurs, apply it for true :

patch -p0 < moz2seamonkey_connectivity.diff

#!/bin/sh
export BASE=`pwd`
export OOVERSION=`echo $BASE|sed 's/^\/.*\///'`
echo Building from     : $BASE
echo OpenOffice Version: $OOVERSION
./configure \
--with-lang="en-US" \
--disable-odk \
--disable-pasf \
--disable-gtk \
--disable-headless \
--disable-build-mozilla \
--with-build-version=$OOVERSION-`date +%d-%m-%y` \
--disable-fontconfig \
--without-nas \
--with-use-shell=bash \
--with-jdk-home=/System/Library/Frameworks/JavaVM.framework/Home \
--with-stlport=no \
--disable-mediawiki \
--enable-werror \
--disable-vba

  • If you create build.sh, then put this file ~/bin and give proper permission
mv build.sh ~/bin
chmod ug+x ~/bin/build.sh
ln -s ~/bin/build.sh your src_root(DEV300_m41)/build.sh
  • execute build.sh

Setting Environment Variables

Bootstrapping

./bootstrap
source MacOSXX86Env.Set.sh
cd instsetoo_native
export TMP=/tmp
export SYSTEM_OPENSSL=YES

Build

build --all -P4