Date: Tue, 19 Mar 2024 06:51:04 +0000 (UTC) Message-ID: <2113944862.54551.1710831064827@cwiki-he-fi.apache.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_54550_1753882274.1710831064827" ------=_Part_54550_1753882274.1710831064827 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Snapshots builds are announced periodically on the Apache OpenOffice dev mailing list.
More frequent dev builds can be found in the Buildb= ot output area.
IMPORTANT: The builds linked on this page are intended = to be used for final testing of release candidates by comm= unity volunteers. They have no release quality and should not be installed = in a production environment. Ongoing DEVELOPMENT builds (committed cha= nges but not allocated to a specific release) and SNAPSHOT builds (consider= ation for release candidate) can be found in the Build= bot output area. DEVELOPMENT builds can be unstable and are expec= ted to have bugs.
Please report problems revealed by installation and testing of a snapsho= t as soon as possible. Found issues should be submitted in the iss= ue tracker. Issues, along with subsequent issue-investigation and -reso= lution updates, are announced automatically on the ooo-issues mailing list.=
The current SVN Revision Number of the repository is used to identify sn= apshots built from the Subversion Repository that is current as of that rev= ision. The revision numbers are shown in the reporting of individual commit= s on the ooo-commits mailing lis= t. 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 development buil= ds here should always be based on the same revision number to align and coo= rdinate our early QA efforts. It is not intended to keep older builds at th= is time for reference.
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. And I use the pre-built mozilla libs.
#!/bin/sh ### 4.1.2 Script: ### 4.1.2 Script: echo "### Configure" ### 4.1.2 Script: ./configure \ ### 4.1.2 Script: --with-build-version=3D"$(date +"%Y-%m-%d %H= :%M:%S (%a, %d %b %Y)")" \ ### 4.1.2 Script: --enable-verbose \ ### 4.1.2 Script: --enable-category-b \ ### 4.1.2 Script: --enable-wiki-publisher \ ### 4.1.2 Script: --enable-bundled-dictionaries \ ### 4.1.2 Script: --without-stlport \ ### 4.1.2 Script: --with-dmake-path=3D/Users/jsc/dev/tools/bin= /dmake \ ### 4.1.2 Script: --with-epm=3D/Users/jsc/dev/tools/bin/epm/ep= m \ ### 4.1.2 Script: --with-openldap \ ### 4.1.2 Script: --with-junit=3D/Users/jsc/dev/tools/junit/ju= nit-4.11.jar \ ### 4.1.2 Script: --with-packager-list=3D/Users/jsc/dev/svn/ao= o-build-pack.lst ### 4.1.2 Script: --with-jdk-home=3D/Library/Java/JavaVirtualM= achines/jdk1.7.0_67.jdk/Contents/Home \ ### 4.1.2 Script: --with-ant-home=3D/Users/jsc/dev/tools/apach= e-ant-1.9.3/dist \ ### 4.1.2 Script: --with-lang=3D"kid ast bg ca ca-XR ca-XV cs = da de el en-GB en-US es eu fi fr gd gl he hi 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" ### 4.1.2 Script: ### 4.1.2 Script: # # Build-script for AOO 4.1.x on OSX 10.12 # # System Setup: # XCode 8.3.3 (Updated w/ https://github.com/devernay/xcodelegacy.git) # # Local Changes: # MacPorts: # o apache-ant (1.9.9) # o gnutar (1.29) (symlink gnutar to gtar) # o perl5 (perl5.22) # o p5-archive-* # o p5-lwp-* # o p5-xml-parser # # Oracle JAVA 1.7 JDK # # /usr/local: # o dmake # http://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12= .tar.bz2 # ./configure --prefix=3D/usr/local ; make install # o epm # http://www.msweet.org/files/project2/epm-4.3-source.tar.gz # $ ./configure --prefix=3D/usr/local ; make install # # o openssl (1.0.2j) # https://www.openssl.org/source/openssl-1.0.2j.tar.gz # $ export MACOSX_DEPLOYMENT_TARGET=3D10.7 # $ ./Configure darwin64-x86_64-cc no-shared --prefix=3D/usr/local = --openssldir=3D/usr/local ; make install # # Env: # LIBRARY_PATH=3D/usr/local/lib # C_INCLUDE_PATH=3D/usr/local/include # CPLUS_INCLUDE_PATH=3D/usr/local/include # MACOSX_DEPLOYMENT_TARGET=3D10.7 # PATH=3D/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/u= sr/sbin:/sbin:. # # Notes: # o openssl required for serf; we build non-shared so all # linkings are to the static libs # # o JDK 1.7 seems to work better; and it's always best to # have just *one* version of te JDK installed. # if [ ! -d ../main -o ! -d sal ] ; then =09echo "CHDIR into AOO's main/ directory first!" =09exit 1 fi if [ -z "$JAVA_HOME" ] ; then =09JAVA_HOME=3D$(/usr/libexec/java_home -v 1.7) =09export JAVA_HOME =09echo "Setting JAVA_HOME to $JAVA_HOME..." fi if [ -z "$ANT_HOME" ] ; then =09ANT_HOME=3D/usr/local/share/java/apache-ant =09export ANT_HOME =09echo "Setting ANT_HOME to $ANT_HOME..." fi if [ ! -e external/unowinreg/unowinreg.dll ] ; then =09echo "Downloading unowinreg.dll..." =09curl -o external/unowinreg/unowinreg.dll http://www.openoffice.org/tools= /unowinreg_prebuild/680/unowinreg.dll fi LANGS=3D"ast bg ca ca-XR ca-XV cs da de el en-GB en-US es eu fi fr gd gl he= hi hu it ja kid km ko lt nb nl pl pt pt-BR ru sk sl sr sv ta th tr vi zh-C= N zh-TW" if [ ! -e configure -o configure.in -nt configure ] ; then =09echo "Running autoconf..." =09autoconf || exit 1 fi ./configure \ --with-build-version=3D"$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") - `= uname -sm`" \ =09--with-vendor=3D"Apache OpenOffice Community Build" \ =09--enable-verbose \ =09--with-openldap \ =09--enable-category-b \ =09--enable-bundled-dictionaries \ =09--enable-wiki-publisher \ =09--with-junit=3D"/usr/local/share/java/junit.jar" \ =09--with-jdk-home=3D"$JAVA_HOME" \ =09--with-ant-home=3D"$ANT_HOME" \ =09--with-epm=3D/usr/local/bin/epm \ =09--with-dmake-path=3D/usr/local/bin/dmake \ =09--without-stlport \ =09--with-package-format=3D"installed dmg" \ =09--disable-systray \ =09--with-alloc=3Dsystem \ =09--with-lang=3D"${LANGS}" ./bootstrap || exit 1 source ./MacOSXX64Env.Set.sh || exit 1 cd instsetoo_native time perl "$SOLARENV/bin/build.pl" --all -P2 -- -P2 || exit 1 cd util dmake ooolanguagepack || exit 1 dmake sdkoo_en-US || exit 1 date "+Build ended at %H:%M:%S"
Visual Studio 2008 Professional installed (from MSDN subscription availa= ble for Apache committers).
The relevant configure options are:
--without-jun= it \ --without-stlport \ --enable-win-x64-shellext \ --enable-category-b \ --enable-bundled-dictionaries \ --with-mozilla-build=3Dc:/mozilla-build \
Linux packages were built on CentOS 5 with the following flags:
./configure = \ --with-build-version=3D"$(date +"%Y-%m-%d %H:%M") - `uname -sm`" \ --enable-verbose \ --enable-category-b \ --enable-crashdump=3Dyes \ --enable-wiki-publisher \ --enable-opengl \ --enable-dbus \ --enable-gstreamer \ --with-package-format=3D"rpm deb" \ --with-dmake-url=3Dhttps://sourceforge.net/projects/oooextras.mirror/files/= dmake-4.12.tar.bz2 \ --with-epm-url=3Dhttps://sourceforge.net/projects/oooextras.mirror/files/ep= m-3.7.tar.gz \ --enable-bundled-dictionaries \ --without-junit \ --with-perl-home=3D$HOME/perl \ --with-ant-home=3D$HOME/src/apache-ant-1.8.3 \ --without-stlport \ --with-system-stdlibs \ --with-lang=3D"ast bg ca ca-XV cs de da el en-GB en-US es eu fi fr gd gl he= hi 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).
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/solarisstudi=
o/overview/index.html
Some need build environment tools is placed here:http://www.op=
enfoundry.org/of/download_path/osscd/3.4.0m1_Rev1227012/BuildAOO-Env-GNUtoo=
ls_solaris_i86pc.pkg
And need subversion can be download in here:http://www.blastwave.org/<=
/a>
Env variables is set:
export CC=3D/= opt/solarisstudio12.3/bin/cc export CXX=3D/opt/solarisstudio12.3/bin/CXX export LD_LIBRARY_PATH=3D/opt/solarisstudio12.3/lib:/usr/sfw/lib export PATH=3D/usr/gnu/bin/:$PATH:/usr/sfw/bin
And my configure options are:
./configure \ --disable-mozilla \ --disable-cups \ --with-system-python \ --enable-presenter-console \ --enable-wiki-publisher \ --enable-minimizer \ --with-lang=3D[lang options...] \ --with-junit=3D[junit.jar's path] \ --with-build-version=3D[Date and revision]
And other need package and developer snapshot's modify, i write a script=
, can auto deal with these
things until build finish:
#!/usr/bin/tc= lsh8.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 "" #=3D=3D=3D=3D=3D=3D=3DDefine AOO Build Type=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #option :normal,devsnap # "normal" are normal installation sets # "devsnap" are Development Snapshots set buildtype "devsnap" #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #=3D=3D=3D=3D=3D=3D=3DDefine Special Platform Parametres=3D=3D=3D=3D=3D=3D= =3D set solaris10_special "--disable-mozilla --disable-cups --with-system-pytho= n \ --enable-presenter-console --enable-wiki-publisher --enable-minimizer" set solaris11_special "" set linux_special "" #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D if {$os=3D=3D"solaris2.10-ix86"} { set os_parametre $solaris10_special } if {$os=3D=3D"solaris2.11-ix86"} { set os_parametre $solaris11_special } #=3D=3D=3D=3D=3D=3D=3DDefine Compiler and System Env=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D if {$os=3D=3D"solaris2.10-ix86" || $os=3D=3D"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" } #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #=3D=3D=3D=3D=3D=3D=3DDefine Language=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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] #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DAutres=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D set autre_parametre "--with-junit=3D/BuildArea/junit.jar " #Add other need parametres,ex junit's place #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DDefine Build Type=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D if {$buildtype=3D=3D"normal"} { set buildwork "cd $buildarea/main/instsetoo_native\n" append buildwork "LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH $buildarea/$buildbin= --all" } if {$buildtype=3D=3D"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=3D=3D"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,un= xsoli4.pro,unxsols4.pro,wntmsci12.pro en-US sdkoodev" puts $fp "OpenOfficeDevLanguagepack unxlngi6.pro,unxlngx6.pro,unxmacxi.= pro,unxsoli4.pro,unxsols4.pro,wntmsci12.pro $lanlist2 ooodevlanguagepa= ck" close $fp append buildwork "LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH $buildarea/$buildbin= --all" } #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #=3D=3D=3D=3D=3D=3D=3DGenerate Build Script=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D set f [open $buildarea/buildaoo.sh w] puts $f "#!/usr/bin/bash" puts $f "cd $buildarea/main" puts $f "CC=3D$CC CXX=3D$CXX PATH=3D$PATH LD_LIBRARY_PATH=3D$LD_LIBRARY_PAT= H \ $buildarea/main/configure $os_parametre --with-lang=3D$lang_parametre \ $autre_parametre $dev_parametre --with-build-version=3D\"$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 #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DStart Build=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Define language list in this file "/DocumentArea/scripts/AOO-LANG"
(if $confarea is /DocumentArea/scripts):
ast bg cs da de el en-GB en-US es eu fi fr gd gl hi 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