Space: Apache OpenOffice Community 
(https://cwiki.apache.org/confluence/display/OOOUSERS)
Page: Development Snapshot Builds 
(https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds)

Change Comment:
---------------------------------------------------------------------
set new snapshot versin and adapt configure option --without-stlport

Edited by Juergen Schmidt:
---------------------------------------------------------------------
This page provides links to unofficial developer snapshot builds.

*IMPORTANT:* These builds are intended to be used for early testing by other 
community volunteers.  They have no release quality and should not be installed 
in a production environment.  Developer snapshots can be unstable and are 
expected to have bugs.

Please report problems revealed by installation and testing of a snapshot as 
soon as possible. Found issues should be submitted in the [issue 
tracker|https://issues.apache.org/ooo/].  Issues, along with subsequent 
issue-investigation and \-resolution updates, are announced automatically on 
the ooo-issues mailing list.

The current SVN Revision Number of the repository is used to identify snapshots 
built from the Subversion Repository that is current as of that revision.  The 
revision numbers are shown in the reporting of individual commits on the 
ooo-commits mailing list.   The commits made between successive snapshots can 
also be determined by reviewing SVN logs, down to the revision history of 
individual source-code files.

*NOTE:* The provided _unofficial_ developer builds here should always be based 
on the same revision number to align and coordinate our early QA efforts. It is 
not intended to keep older builds at this time for reference.

 [Unofficial Developer Builds for Apache OpenOffice Snapshot|#AOOSnapshot]
 [Unofficial Developer Builds for Apache OpenOffice 4.0|#AOO4.0]


For the more adventurous there are automated [nightly 
builds|http://ci.apache.org/projects/openoffice] provided by the 
[buildbots|http://ci.apache.org/waterfall?show=aoo-win7&show=aoo-w7snap&show=openoffice-linux64-nightly&show=openoffice-linux64-rat&show=openoffice-linux32-nightly&show=openoffice-linux32-snapshot&show=openoffice-linux32-gbuild].
 They are bleeding edge and might not even work. Don't bother downloading 
nightly builds if you're unwilling to put up with problems.

{anchor:AOOSnapshot}

h1. [Unofficial Developer Builds for Apache OpenOffice 4.0 Snapshot (currently 
revision 1489073)|#AOOSnapshot]

These builds are based on the SNAPSHOT tag that we define on demand to a 
special version. Please notice that currently only English versions are 
available. The localization has started and we expect full localized builds 
soon.

h2. Setting the SNAPSHOT tag
The Snapshot build is built every Sunday or on demand and the SNAPSHOT tag is 
set on demand to a specific version. This is done in 2 steps:

# remove the existing tag: *svn rm* 
https://svn.apache.org/repos/asf/openoffice/tags/SNAPSHOT 
# setting the new tag to the new revision: *svn copy -r<revision>* 
https://svn.apache.org/repos/asf/openoffice/<trunk-or-branch> 
https://svn.apache.org/repos/asf/openoffice/tags/SNAPSHOT

Replace <trunk-or-branch> with trunk or branch/<your-branch-name>, depending on 
what the revision number belongs to.


[Apache OpenOffice Snapshot - Source Releases|#AOOSnapshotsrcrelease]
[Apache OpenOffice Snapshot - full installation sets|#AOOSnapshotfullsets]
[Apache OpenOffice Snapshot - language packs|#AOOSnapshotlanguagepacks]

{anchor:AOOSnapshotsrcrelease}

h2. [Apache OpenOffice Snapshot - Source Releases|#AOO341srcrelease]

You can find a source release snapshot based on the same revision *rXXXXXX* 
under

|| File || Signatures ||
|  |  |

All necessary information how to verify the signature etc. can be found 
[here|http://people.apache.org/~jsc/developer-snapshots/srcrelease.html]. 
Feedback is welcome on the *ooo-dev* mailing list.

See: [Apache OpenOffice Building 
information|http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide]
 in addition to the build flag information below.

{anchor:AOOSnapshotfullsets}

h2. [Apache OpenOffice Snapshot - full installation sets|#AOOSnapshotfullsets]

|| Language || Windows Intel MSI || MacOS Intel || Linux Intel ARC || Linux 
Intel RPM || Linux Intel DEB|| Linux x86-64 ARC || Linux x86-64 RPM || Linux 
x86-64 DEB || Solaris Intel || Solaris SPARC || IBM OS/2, eComStation ||
| English (en-US) | 
[SNAPSHOT|http://people.apache.org/~jsc/developer-snapshots/snapshot/windows/Apache_OpenOffice_4.0.0_Win_x86_install_en-US.exe]
 | 
[SNAPSHOT|http://people.apache.org/~jsc/developer-snapshots/snapshot/macos/Apache_OpenOffice_4.0.0_MacOS_x86_install_en-US.dmg]
 | 
[SNAPSHOT|http://people.apache.org/~arielch/developer-snapshots/snapshot/linux_x86/Apache_OpenOffice_4.0.0_Linux_x86_install-arc_en-US.tar.gz]
 | 
[SNAPSHOT|http://people.apache.org/~arielch/developer-snapshots/snapshot/linux_x86/Apache_OpenOffice_4.0.0_Linux_x86_install-rpm_en-US.tar.gz]
 | 
[SNAPSHOT|http://people.apache.org/~arielch/developer-snapshots/snapshot/linux_x86/Apache_OpenOffice_4.0.0_Linux_x86_install-deb_en-US.tar.gz]
 | 
[SNAPSHOT|http://people.apache.org/~arielch/developer-snapshots/snapshot/linux_x86-64/Apache_OpenOffice_4.0.0_Linux_x86-64_install-arc_en-US.tar.gz]
 | 
[SNAPSHOT|http://people.apache.org/~arielch/developer-snapshots/snapshot/linux_x86-64/Apache_OpenOffice_4.0.0_Linux_x86-64_install-rpm_en-US.tar.gz]
 | 
[SNAPSHOT|http://people.apache.org/~arielch/developer-snapshots/snapshot/linux_x86-64/Apache_OpenOffice_4.0.0_Linux_x86-64_install-deb_en-US.tar.gz]
 | | | | 



{anchor:AOOSnapshotlanguagepacks}

h2. [Apache OpenOffice Snapshot - language packs|#AOOSnapshotlanguagepacks]

|| Language || Windows Intel MSI || MacOS Intel || Linux Intel RPM || Linux 
Intel DEB || Linux x86-64 RPM || Linux x86-64 DEB || Solaris Intel || Solaris 
SPARC || IBM OS/2, eComStation ||
| English (en-US) | | | | | | | | | | 

{anchor:AOO4.0}

h1. [Unofficial Developer Builds for Apache OpenOffice 4.0)|#AOO4.0]

These builds are from the trunk and are milestones towards the next release, 
Apache OpenOffice 4.0, which will have major enhancements and new features, and 
support for many more languages. Since the release strategy had still to be 
defined, the following builds have "3.5" in their name.

[Apache OpenOffice - Source Releases|#srcrelease]
[Apache OpenOffice - full installation sets|#fullsets]
[Apache OpenOffice - language packs|#languagepacks]
[Apache OpenOffice SDK|#sdk]
[Used build flags for developer snapshots|#buildflags]


{highlight:red}{*}NOTE:* The snapshot builds can be built either:{highlight}
* {highlight:red}{*}with* system integration (they will *overwrite* an existing 
stable version with the default install, see [Run OOo versions 
parallel|http://wiki.services.openoffice.org/wiki/Run_OOo_versions_parallel] to 
learn how to avoid it){highlight}
* {highlight:red}{*}without* system integration (they can be installed 
alongside a stable version){highlight}

{highlight:red} This week's builds are built *without system 
integration*.{highlight}

{anchor:srcrelease}

h2. [Apache OpenOffice - Source Releases|#srcrelease]

You can find a source release snapshot based on the same revision *rXXXXXXX* 
under

|| File || Signatures ||
| | [ASC|],[MD5|],[SHA256|] |

All necessary information how to verify the signature etc. can be found 
[here|http://people.apache.org/~jsc/developer-snapshots/srcrelease.html]. 
Feedback is welcome on the *ooo-dev* mailing list.

See: [Apache OpenOffice Building 
information|http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide]
 in addition to the build flag information below.



{anchor:fullsets}

h2. [Apache OpenOffice - full installation sets|#fullsets]

|| Language || Windows Intel MSI || MacOS Intel || Linux Intel RPM || Linux 
Intel DEB || Linux x86-64 RPM || Linux x86-64 DEB || Solaris Intel || Solaris 
SPARC || IBM OS/2, eComStation || 
| English (en-US) |  |  |  |  |  |  |  |  |  | 
| Arabic (ar) |  |  |  |  |  |  |  |  |  | 
| Czech (cs) |  |  |  |  |  |  |  |  |  |  
| Danish (da) |  |  |  |  |  |  |  |  |  |  
| German (de) |  |  |  |  |  |  |  |  |  |  
| British English (en-GB) |  |  |  |  |  |  |  |  |  | 
| Spanish (es) |  |  |  |  |  |  |  |  |  | 
| Finnish (fi) |  |  |  |  |  |  |  |  |  | 
| French (fr) |  |  |  |  |  |  |  |  |  |  
| Scotts Gaelic (gd) |  |  |  |  |  |  |  |  |  | 
| Galician (gl) |  |  |  |  |  |  |  |  |  |  
| Hungarian (hu) |  |  |  |  |  |  |  |  |  | 
| Italian (it) |  |  |  |  |  |  |  |  |  |  
| Japanese (ja) |  |  |  |  |  |  |  |  |  | 
| Khmer (km) |  |  |  |  |  |  |  |  |  |  
| Korean (ko) |  |  |  |  |  |  |  |  |  | 
| Norwegian Bokmal (nb) |  |  |  |  |  |  |  |  |  |  
| Dutch (nl) |  |  |  |  |  |  |  |  |  |  
| Polish (pl) |  |  |  |  |  |  |  |  |  | 
| Portugese Brazil (pt-BR) |  |  |  |  |  |  |  |  |  | 
| Russian (ru) |  |  |  |  |  |  |  |  |  | 
| Slovak (sk) |  |  |  |  |  |  |  |  |  | 
| Slovenian (sl) |  |  |  |  |  |  |  |  |  | 
| Simplified Chinese (zh-CN) |  |  |  |  |  |  |  |  |  | 
| Traditional Chinese (zh-TW) |  |  |  |  |  |  |  |  |  |  


{anchor:languagepacks}

h2. [Apache OpenOffice - language packs|#languagepacks]

|| Language || Windows Intel MSI || MacOS Intel || Linux Intel RPM || Linux 
Intel DEB || Linux x86-64 RPM || Linux x86-64 DEB || Solaris Intel || Solaris 
SPARC || IBM OS/2, eComStation || 
| English (en-US) |   |   |   |   |   |   |  |  |  | 


{anchor:sdk}

h2. [Apache OpenOffice SDK|#sdk]

|| Language || Windows Intel MSI || MacOS Intel || Linux Intel RPM || Linux 
Intel DEB || Linux x86-64 RPM || Linux x86-64 DEB || Solaris Intel || Solaris 
SPARC || IBM OS/2, eComStation || 
| English (en-US) |   |   |   |   |   |   |  |  |  | 


{anchor:buildflags}

h2. [Used build flags for developer snapshots|#buildflags]

h3. MacOS

I prepare my source tree to have a fresh clean tree without any output. I 
update the sources to the revision number that we have agreed on and use the 
following switches to build the snapshots. I use pre-built versions of dmake 
and epm. Amd I use the pre-built mozilla libs.

{code: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 \
      --with-dmake-path=/Users/jsc/dev/tools/bin/dmake 
--with-epm=/Users/jsc/dev/tools/bin/epm/epm --with-lang="ar cs da de en-GB 
en-US es fi fr gd gl hu it ja km ko nb nl pt-BR ru sk sl zh-CN zh-TW"

./bootstrap

cd instsetoo_native/util

build --all -P4 --P4

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

{code}


h3. 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:
* main/external/dbghelp/DbgHelp.Dll
* main/external/gdiplus/gdiplus.dll
* main/external/msvcp71/msvcr71.dll
* main/external/msvcp80/msvcp80.dll
* main/external/msvcp80/msvcr80.dll
* main/external/msvcp90/Microsoft.VC90.CRT.manifest
* main/external/msvcp90/msvcm90.dll
* main/external/msvcp90/msvcp90.dll
* main/external/msvcp90/msvcr90.dll

Since rev. 1296433 I have installed the DirectX SDK. Thus, DirectX is no longer 
disabled.
I had Visual Studio 2008 Professional installed (from MSDN subscription 
available for Apache committers). Thus, ALT and ActiveX are not disabled. 
Applying suggestions from issue 118821 also allows ATL and ActiveX with Visual 
Studio 2008 Express.

The relevant configure options which I am using are:

{code}
--without-junit \
--enable-category-b \
--without-stlport \
--enable-bundled-dictionaries \
--disable-build-mozilla \
--with-mozilla-build=c:/mozilla-build \
{code}

h3. Linux

I (Ariel Constenla-Haile) build on a default installation of Ubuntu 10.04.3 LTS 
(Lucid Lynx) live-cd&nbsp;image 
([http://mirror.switch.ch/ftp/mirror/ubuntu-cdimage/lucid/]) with the following 
switches:

{code}
./configure   \
--with-packager-list=/mnt/build/aoo/aoo-dev-pack.lst \
--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 \
--without-stlport \
--disable-build-mozilla \
--enable-wiki-publisher  \
--enable-bundled-dictionaries \
--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++ \
{code}

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

The switch \--with-packager-list points to the following [packaging 
list|http://people.apache.org/~arielch/patches/aoo-dev-pack.lst].

Finally I build with:

{code}
build --html --all -P8 -- -P4
{code}

I had to add the following pakages to build AOO with the above mentioned 
switches:

{code}
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
{code}

h3. Solaris

I (Mouette Yang) build in the platform Solaris 10 u10 8/11 x86, and use 
SolarisStudio12.3 
Compiler:[http://www.oracle.com/technetwork/server-storage/solarisstudio/overview/index.html]
Some need build environment tools is placed 
here:[http://www.openfoundry.org/of/download_path/osscd/3.4.0m1_Rev1227012/BuildAOO-Env-GNUtools_solaris_i86pc.pkg]
And need subverion can be download in here:[http://www.blastwave.org/]









Env variables is set:
{code}
export CC=/opt/solarisstudio12.3/bin/cc
export CXX=/opt/solarisstudio12.3/bin/CXX
export LD_LIBRARY_PATH=/opt/solarisstudio12.3/lib:/usr/sfw/lib
export PATH=/usr/gnu/bin/:$PATH:/usr/sfw/bin
{code}

And my configure options are:
{code}
./configure \
--disable-mozilla \
--disable-cups \
--with-system-python \
--enable-presenter-console \
--enable-wiki-publisher \
--enable-minimizer \
--with-lang=[lang options...] \
--with-junit=[junit.jar's path] \
--with-build-version=[Date and revision]
{code}

And other need package and developer snapshot's modify, i write a script, can 
auto deal with these
things until build finish:
{code}
#!/usr/bin/tclsh8.5
package require platform
set confarea "/DocumentArea/scripts"
#Write a file "AOO-LANG", place it in $confarea , it define language list, it 
will modify
#languages list in file "main/instsetoo_native/util/pack.lst" and configure's 
parametre "--with-lang"

set buildarea "/BuildArea/ooo"
#Define AOO source place.

set os [platform::identify]
set buildbin "main/solenv/bin/build.pl"
set svnrev [lindex [lindex [split [exec /opt/csw/bin/svn info $buildarea] \n] 
9] end ]
set builddate [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S"]
set dev_parametre ""

#=======Define AOO Build Type====================
#option :normal,devsnap
# "normal" is normal installation sets
# "devsnap" is Developer Snapshots

set buildtype "devsnap"
#================================================

#=======Define Special Platform Parametres=======
set solaris10_special "--disable-mozilla --disable-cups --with-system-python \
  --enable-presenter-console --enable-wiki-publisher --enable-minimizer"
set solaris11_special ""
set linux_special ""
#================================================
if {$os=="solaris2.10-ix86"} { set os_parametre $solaris10_special }
if {$os=="solaris2.11-ix86"} { set os_parametre $solaris11_special }

#=======Define Compiler and System Env===========
if {$os=="solaris2.10-ix86" || $os=="solaris2.11-ix86"} {
  set CC "/opt/solarisstudio12.3/bin/cc"
  set CXX "/opt/solarisstudio12.3/bin/CC"
  set PATH "/usr/gnu/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/ccs/bin"
  set LD_LIBRARY_PATH "/opt/solarisstudio12.3/lib:/usr/sfw/lib"
  set platenv "SolarisX86Env.Set.sh"
}
#================================================

#=======Define Language==========================
set lf [open "$confarea/AOO-LANG" r]
set langlist [lrange [split [read $lf] \n] 0 end-1]
close $lf
set lang_parametre "\"$langlist\""
foreach i $langlist {
  append lanlist1 "$i,"
  append lanlist2 "$i|"
}
set lanlist1 [string range $lanlist1 0 end-1]
set lanlist2 [string range $lanlist2 0 end-1]
#================================================

#===========Autres===============================
set autre_parametre "--with-junit=/BuildArea/junit.jar "
#Add other need parametres,ex junit's place
#================================================

#===========Define Build Type====================
if {$buildtype=="normal"} {
  set buildwork "cd $buildarea/main/instsetoo_native\n"
  append buildwork "LD_LIBRARY_PATH=$LD_LIBRARY_PATH $buildarea/$buildbin --all"
}

if {$buildtype=="devsnap"} {
  set buildwork "cd $buildarea/main/instsetoo_native\n"
  set utilpath  "$buildarea/main/instsetoo_native/util/"
  file copy -force $utilpath/makefile.mk $utilpath/makefile.mk-bak
  file copy -force $utilpath/pack.lst $utilpath/pack.lst-bak
  set fm [open $utilpath/makefile.mk r]
  set pakmk [split [read $fm] \n]
  close $fm
  set fm [open $utilpath/makefile.mk w]
  foreach i $pakmk {
    if {$i=="ALLTAR : openoffice sdkoo_en-US ure_en-US"} {
      puts $fm "ALLTAR : updatepack"
    } else {
      puts $fm $i
    }
  }
  close $fm

  set fp [open $utilpath/pack.lst w]
  puts $fp "OpenOffice_Dev_multilang    
unxlngi6.pro,unxlngx6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro  
 $lanlist1   openofficedev"
  puts $fp "OpenOffice_Dev_SDK    
unxlngi6.pro,unxlngx6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro  
 en-US    sdkoodev"
  puts $fp "OpenOfficeDevLanguagepack   
unxlngi6.pro,unxlngx6.pro,unxmacxi.pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro  
  $lanlist2   ooodevlanguagepack"
  close $fp

  append buildwork "LD_LIBRARY_PATH=$LD_LIBRARY_PATH $buildarea/$buildbin --all"

}
#================================================

#=======Generate Build Script====================
set f [open $buildarea/buildaoo.sh w]
puts $f "#!/usr/bin/bash"
puts $f "cd $buildarea/main"
puts $f "CC=$CC CXX=$CXX PATH=$PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH \
  $buildarea/main/configure $os_parametre --with-lang=$lang_parametre \
  $autre_parametre $dev_parametre --with-build-version=\"$builddate - 
Rev.$svnrev\""
puts $f "sed 's/sh/bash/' $buildarea/main/fetch_tarballs.sh > tmp"
puts $f "cat tmp > $buildarea/main/fetch_tarballs.sh"
puts $f "bash $buildarea/main/bootstrap"
puts $f ". $buildarea/main/$platenv"
puts $f $buildwork
close $f
#================================================

#============Start Build=========================
set mf [open /tmp/mstat w]
puts $mf "Building AOO ..."
close $mf
cd $buildarea/main/instsetoo_native
exec -ignorestderr sh $buildarea/buildaoo.sh > $buildarea/buildlog
set mf [open /tmp/mstat w]
puts $mf "Idle"
close $mf
#================================================

{code}

Define language list in this file "/DocumentArea/scripts/AOO-LANG"
(if $confarea is /DocumentArea/scripts):
{code}
en-US
de
es
fr
ru
pt-BR
zh-CN
zh-TW
ja
it
nl
{code}

Change your notification preferences: 
https://cwiki.apache.org/confluence/users/viewnotifications.action

Reply via email to