Development/ReleaseBuilds

Release build config
Do not copy and use these settings as such. Especially, you are not allowed to use --with-vendor=The Document Foundation unless you are The Document Foundation.

Mac x86
--with-distro=LibreOfficeMacOSX --with-lang=ALL --disable-systray --with-gdrive-client-id=xxxxxx --with-gdrive-client-secret=yyyyyyy --enable-macosx-code-signing --disable-ext-wiki-publisher --enable-release-build

Linux (same options for x86 & x86_64)
--with-distro=LibreOfficeLinux --enable-release-build --with-package-format=rpm deb --with-lang=ALL --disable-dependency-tracking --with-vendor=The Document Foundation --with-branding=/path/to/tdf-branding --with-junit=/path/to/junit-4.10.jar --with-ant-home=/path/to/apache-ant-1.9.4 --with-external-tar=/path/to/lo-externalsrc --with-gdrive-client-id=tdf-specific-id --with-gdrive-client-secret=tdf-specific-secret

Build Host is CentOS 5.x with manually updated zip, make, doxygen, flex, touch - compiled using gcc44 (export CC=gcc44 ; export CXX=g++44) - gdrive flags for 4.2.x and later.

For LibreOffice 4.4 & 5.0 gcc 4.8 from devtools repo is used.

For 5.1 til 6.1, build host ist CentOS 6.x with gcc 4.8 from devtools repo.

--enable-kde4 needs the following local change:

10:26 <@cloph> /usr/include/QtCore/qobjectdefs.h change to # define QLOCATION "\\0" __FILE__ ":" QTOSTRING(__LINE__)

For 6.2 build host for 64bit is CentOS 7 with devtoolset-7 (gcc 7.x) with --enable-gkt3 and --enable-kde5, for 32bit it is CentOS 6 with devtoolset-7. 32bit builds don't have support for gtk3 or the kde5 vclplugins.

For 6.3 and later 32bit build is dropped.

Windows x86
--with-distro=LibreOfficeWin32 --enable-release-build --enable-windows-build-signing --with-lang=ALL --disable-dependency-tracking --with-vendor=The Document Foundation --with-branding=/path/to/tdf-branding --with-junit=/path/to/junit-4.10.jar --with-ant-home=/path/to/apache-ant-1.9.4 --with-external-tar=/path/to/lo-externalsrc --with-gdrive-client-id=tdf-specific-id --with-gdrive-client-secret=tdf-specific-secret --with-windows-sdk=7.1A --enable-symbols
 * 1) used previously:
 * 2) --enable-pch (now part of distro-config)
 * 3) --with-nss-build-tools=/path/to/mozilla-build (obsolete)

Windows x86_64 (since 5.0)
Same as Windows x86 except no --with-windows-sdk=7.1A and obviously with --enable-64-bit and --with-distro=LibreOfficeWin64

Build Host is Windows Server 2012 R2 with Visual Studio 2015 (for LibreOffice 5.4 and later). Previous configurations were the following: Windows Server 2008 R2 with Visual Studio 2010 (Windows Server 2012 with Visual Studio 2012 for LibreOffice 4.3 and later, Visual Studio 2013 for LibreOffice 5.0 and later), --with-gdrive for 4.2.x and later, --enable-symbols since 4.2.0rc1

Mac PPC

 * --with-distro=LibreOfficeMacOSX --enable-release-build --disable-dependency-tracking --disable-build-mozilla --with-branding=/path/to/tdf-branding --with-external-tar=/path/to/lo-externalsrc

Mac x86

 * --enable-maintainer-mode --with-lang=ALL --with-num-cpus=2 --with-max-jobs=2 --no-create --no-recursion --disable-build-mozilla