summaryrefslogtreecommitdiffstats
path: root/distro-configs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--distro-configs/CPAndroid.conf4
-rw-r--r--distro-configs/CPAndroidAarch64.conf4
-rw-r--r--distro-configs/CPAndroidBranding.conf13
-rw-r--r--distro-configs/CPAndroidX86.conf4
-rw-r--r--distro-configs/CPAndroidX86_64.conf4
-rw-r--r--distro-configs/Jenkins/LibreOfficeLinuxUpdater.conf37
-rw-r--r--distro-configs/Jenkins/Linux_dev_master.conf6
-rw-r--r--distro-configs/Jenkins/Linux_rel_master.conf5
-rw-r--r--distro-configs/Jenkins/Linux_ubsan_master.conf27
-rw-r--r--distro-configs/Jenkins/MacOSX_dev_master.conf3
-rw-r--r--distro-configs/Jenkins/MacOSX_rel_master.conf2
-rw-r--r--distro-configs/Jenkins/PerfSuite_Linux.conf12
-rw-r--r--distro-configs/Jenkins/Win32_dev_master.conf4
-rw-r--r--distro-configs/Jenkins/Win32_rel_master.conf3
-rw-r--r--distro-configs/Jenkins/Win64_dev_master.conf3
-rw-r--r--distro-configs/Jenkins/Win64_rel_master.conf2
-rw-r--r--distro-configs/Jenkins/android_aarch642
-rw-r--r--distro-configs/Jenkins/android_arm2
-rw-r--r--distro-configs/Jenkins/android_common.conf7
-rw-r--r--distro-configs/Jenkins/android_x862
-rw-r--r--distro-configs/Jenkins/android_x86_642
-rw-r--r--distro-configs/Jenkins/linux_clang_dbgutil_6410
-rw-r--r--distro-configs/Jenkins/linux_gcc_release_649
-rw-r--r--distro-configs/Jenkins/linux_random.conf3
-rw-r--r--distro-configs/Jenkins/macosx_clang_dbgutil7
-rw-r--r--distro-configs/Jenkins/screenshot_linux.conf3
-rw-r--r--distro-configs/Jenkins/screenshot_mac.conf2
-rw-r--r--distro-configs/Jenkins/screenshot_win.conf3
-rw-r--r--distro-configs/Jenkins/windows_msc_dbgutil_325
-rw-r--r--distro-configs/LibreOfficeAndroid.conf7
-rw-r--r--distro-configs/LibreOfficeAndroidAarch64.conf6
-rw-r--r--distro-configs/LibreOfficeAndroidX86.conf7
-rw-r--r--distro-configs/LibreOfficeAndroidX86_64.conf7
-rw-r--r--distro-configs/LibreOfficeCoverity.conf32
-rw-r--r--distro-configs/LibreOfficeFlatpak.conf63
-rw-r--r--distro-configs/LibreOfficeHaiku.conf7
-rw-r--r--distro-configs/LibreOfficeLinux.conf38
-rw-r--r--distro-configs/LibreOfficeMacOSX.conf11
-rw-r--r--distro-configs/LibreOfficeOnline.conf53
-rw-r--r--distro-configs/LibreOfficeOpenBSD.conf32
-rw-r--r--distro-configs/LibreOfficeOssFuzz.conf35
-rw-r--r--distro-configs/LibreOfficeVanillaMacAppStore.conf20
-rw-r--r--distro-configs/LibreOfficeWASM32.conf1
-rw-r--r--distro-configs/LibreOfficeWin32.conf16
-rw-r--r--distro-configs/LibreOfficeWin64.conf16
-rw-r--r--distro-configs/LibreOfficeWinArm64.conf15
-rw-r--r--distro-configs/LibreOfficeiOS.conf30
-rw-r--r--distro-configs/LibreOfficeiOS_Sim.conf31
-rw-r--r--distro-configs/README.md32
49 files changed, 649 insertions, 0 deletions
diff --git a/distro-configs/CPAndroid.conf b/distro-configs/CPAndroid.conf
new file mode 100644
index 000000000..5aaeabedc
--- /dev/null
+++ b/distro-configs/CPAndroid.conf
@@ -0,0 +1,4 @@
+# Use LibreOfficeAndroid.conf as the base
+INCLUDE:LibreOfficeAndroid
+# Add the CP stuff
+INCLUDE:CPAndroidBranding
diff --git a/distro-configs/CPAndroidAarch64.conf b/distro-configs/CPAndroidAarch64.conf
new file mode 100644
index 000000000..5cef2d518
--- /dev/null
+++ b/distro-configs/CPAndroidAarch64.conf
@@ -0,0 +1,4 @@
+# Use LibreOfficeAndroidAarch64.conf as the base
+INCLUDE:LibreOfficeAndroidAarch64
+# Add the CP stuff
+INCLUDE:CPAndroidBranding
diff --git a/distro-configs/CPAndroidBranding.conf b/distro-configs/CPAndroidBranding.conf
new file mode 100644
index 000000000..3200e3c5e
--- /dev/null
+++ b/distro-configs/CPAndroidBranding.conf
@@ -0,0 +1,13 @@
+# CP specific stuff
+--build=x86_64-unknown-linux-gnu
+--disable-odk
+--enable-android-lok
+--with-android-api-level=21
+--with-android-package-name=com.collabora.libreoffice
+--with-vendor=Collabora
+--disable-scripting-beanshell
+--disable-scripting-javascript
+--with-lang=de en-US es pt-BR
+--with-myspell-dicts
+--enable-pdfimport
+--enable-release-build
diff --git a/distro-configs/CPAndroidX86.conf b/distro-configs/CPAndroidX86.conf
new file mode 100644
index 000000000..6fba0d609
--- /dev/null
+++ b/distro-configs/CPAndroidX86.conf
@@ -0,0 +1,4 @@
+# Use LibreOfficeAndroidX86.conf as the base
+INCLUDE:LibreOfficeAndroidX86
+# Add the CP stuff
+INCLUDE:CPAndroidBranding
diff --git a/distro-configs/CPAndroidX86_64.conf b/distro-configs/CPAndroidX86_64.conf
new file mode 100644
index 000000000..9c56e3afe
--- /dev/null
+++ b/distro-configs/CPAndroidX86_64.conf
@@ -0,0 +1,4 @@
+# Use LibreOfficeAndroidX86_64.conf as the base
+INCLUDE:LibreOfficeAndroidX86_64
+# Add the CP stuff
+INCLUDE:CPAndroidBranding
diff --git a/distro-configs/Jenkins/LibreOfficeLinuxUpdater.conf b/distro-configs/Jenkins/LibreOfficeLinuxUpdater.conf
new file mode 100644
index 000000000..03f39c46c
--- /dev/null
+++ b/distro-configs/Jenkins/LibreOfficeLinuxUpdater.conf
@@ -0,0 +1,37 @@
+# disable werror for now due to Werror=format-truncation
+--disable-werror
+--with-system-dicts
+--with-myspell-dicts
+--with-system-zlib
+--without-system-poppler
+--without-system-openssl
+--without-system-libpng
+--without-system-libxml
+--without-system-jpeg
+--without-system-jars
+--without-system-postgresql
+--without-junit
+--with-linker-hash-style=both
+--with-fonts
+--with-external-thes-dir=/usr/share/mythes
+--with-external-hyph-dir=/usr/share/hyphen
+--with-external-dict-dir=/usr/share/hunspell
+--enable-dbus
+--enable-extension-integration
+# --enable-kf5
+--enable-gstreamer-1-0
+--enable-evolution2
+--enable-gio
+--enable-scripting-beanshell
+--enable-scripting-javascript
+--enable-ext-wiki-publisher
+--enable-ext-nlpsolver
+--enable-epm
+--enable-python=internal
+--enable-online-update=mar
+--disable-dconf
+--with-lang=de es fr ar zh-CN
+--with-package-format=archive
+--with-update-config=~/updater.ini
+--with-jdk-home=/etc/alternatives/java_sdk_11
+--enable-odk
diff --git a/distro-configs/Jenkins/Linux_dev_master.conf b/distro-configs/Jenkins/Linux_dev_master.conf
new file mode 100644
index 000000000..dcff6189c
--- /dev/null
+++ b/distro-configs/Jenkins/Linux_dev_master.conf
@@ -0,0 +1,6 @@
+--enable-dbgutil
+--enable-kf5
+--with-jdk-home=/etc/alternatives/java_sdk_11
+CC=/opt/rh/devtoolset-7/root/usr/bin/gcc
+CXX=/opt/rh/devtoolset-7/root/usr/bin/g++
+--enable-odk
diff --git a/distro-configs/Jenkins/Linux_rel_master.conf b/distro-configs/Jenkins/Linux_rel_master.conf
new file mode 100644
index 000000000..150bf7df1
--- /dev/null
+++ b/distro-configs/Jenkins/Linux_rel_master.conf
@@ -0,0 +1,5 @@
+--enable-kf5
+--with-jdk-home=/etc/alternatives/java_sdk_11
+CC=/opt/rh/devtoolset-7/root/usr/bin/gcc
+CXX=/opt/rh/devtoolset-7/root/usr/bin/g++
+--enable-odk
diff --git a/distro-configs/Jenkins/Linux_ubsan_master.conf b/distro-configs/Jenkins/Linux_ubsan_master.conf
new file mode 100644
index 000000000..5c73e601b
--- /dev/null
+++ b/distro-configs/Jenkins/Linux_ubsan_master.conf
@@ -0,0 +1,27 @@
+--disable-ld
+--disable-ooenv
+--enable-avahi
+--enable-dbgutil
+--enable-dbus
+--enable-eot
+--enable-epm
+--enable-evolution2
+--with-system-mariadb
+--enable-ext-nlpsolver
+--enable-ext-numbertext
+--enable-ext-wiki-publisher
+--enable-gstreamer-1-0
+--enable-python=fully-internal
+--enable-release-build
+--enable-werror
+--with-help
+--with-lang=de en-US fi hu
+--with-myspell-dicts
+--without-system-libpng
+--without-system-libxml
+--without-system-zlib
+--with-system-cairo
+--disable-compiler-plugins
+--disable-gtk3
+--with-jdk-home=/etc/alternatives/java_sdk_11
+--enable-odk
diff --git a/distro-configs/Jenkins/MacOSX_dev_master.conf b/distro-configs/Jenkins/MacOSX_dev_master.conf
new file mode 100644
index 000000000..3960c4e5b
--- /dev/null
+++ b/distro-configs/Jenkins/MacOSX_dev_master.conf
@@ -0,0 +1,3 @@
+--enable-dbgutil
+--enable-odk
+--disable-online-update
diff --git a/distro-configs/Jenkins/MacOSX_rel_master.conf b/distro-configs/Jenkins/MacOSX_rel_master.conf
new file mode 100644
index 000000000..d4ec76d28
--- /dev/null
+++ b/distro-configs/Jenkins/MacOSX_rel_master.conf
@@ -0,0 +1,2 @@
+--enable-odk
+--disable-online-update
diff --git a/distro-configs/Jenkins/PerfSuite_Linux.conf b/distro-configs/Jenkins/PerfSuite_Linux.conf
new file mode 100644
index 000000000..b5cc7fe7f
--- /dev/null
+++ b/distro-configs/Jenkins/PerfSuite_Linux.conf
@@ -0,0 +1,12 @@
+--with-distro=LibreOfficeLinux
+--without-help
+--disable-epm
+--disable-online-update
+--without-junit
+--disable-ccache
+--enable-symbols
+--enable-mergelibs
+--with-jdk-home=/etc/alternatives/java_sdk_11
+--enable-python=fully-internal
+--enable-odk
+--with-privacy-policy-url=dummyvalue-only-used-for-ci
diff --git a/distro-configs/Jenkins/Win32_dev_master.conf b/distro-configs/Jenkins/Win32_dev_master.conf
new file mode 100644
index 000000000..7ccda1beb
--- /dev/null
+++ b/distro-configs/Jenkins/Win32_dev_master.conf
@@ -0,0 +1,4 @@
+--host=i686-pc-cygwin
+--enable-dbgutil
+--enable-odk
+--disable-online-update
diff --git a/distro-configs/Jenkins/Win32_rel_master.conf b/distro-configs/Jenkins/Win32_rel_master.conf
new file mode 100644
index 000000000..3eb0e9da5
--- /dev/null
+++ b/distro-configs/Jenkins/Win32_rel_master.conf
@@ -0,0 +1,3 @@
+--host=i686-pc-cygwin
+--enable-odk
+--disable-online-update
diff --git a/distro-configs/Jenkins/Win64_dev_master.conf b/distro-configs/Jenkins/Win64_dev_master.conf
new file mode 100644
index 000000000..3960c4e5b
--- /dev/null
+++ b/distro-configs/Jenkins/Win64_dev_master.conf
@@ -0,0 +1,3 @@
+--enable-dbgutil
+--enable-odk
+--disable-online-update
diff --git a/distro-configs/Jenkins/Win64_rel_master.conf b/distro-configs/Jenkins/Win64_rel_master.conf
new file mode 100644
index 000000000..d4ec76d28
--- /dev/null
+++ b/distro-configs/Jenkins/Win64_rel_master.conf
@@ -0,0 +1,2 @@
+--enable-odk
+--disable-online-update
diff --git a/distro-configs/Jenkins/android_aarch64 b/distro-configs/Jenkins/android_aarch64
new file mode 100644
index 000000000..965553408
--- /dev/null
+++ b/distro-configs/Jenkins/android_aarch64
@@ -0,0 +1,2 @@
+INCLUDE:LibreOfficeAndroidAarch64
+INCLUDE:Jenkins/android_common
diff --git a/distro-configs/Jenkins/android_arm b/distro-configs/Jenkins/android_arm
new file mode 100644
index 000000000..444f7058f
--- /dev/null
+++ b/distro-configs/Jenkins/android_arm
@@ -0,0 +1,2 @@
+INCLUDE:LibreOfficeAndroid
+INCLUDE:Jenkins/android_common
diff --git a/distro-configs/Jenkins/android_common.conf b/distro-configs/Jenkins/android_common.conf
new file mode 100644
index 000000000..9c9edec50
--- /dev/null
+++ b/distro-configs/Jenkins/android_common.conf
@@ -0,0 +1,7 @@
+--with-android-sdk=$HOME/Android/Sdk
+--with-android-ndk=$HOME/Android/Sdk/ndk/20.1.5948944
+--with-jdk-home=/etc/alternatives/java_sdk_11
+--enable-android-editing
+CC_FOR_BUILD=/opt/rh/devtoolset-7/root/usr/bin/gcc
+CXX_FOR_BUILD=/opt/rh/devtoolset-7/root/usr/bin/g++
+--enable-odk
diff --git a/distro-configs/Jenkins/android_x86 b/distro-configs/Jenkins/android_x86
new file mode 100644
index 000000000..59634ba4f
--- /dev/null
+++ b/distro-configs/Jenkins/android_x86
@@ -0,0 +1,2 @@
+INCLUDE:LibreOfficeAndroidX86
+INCLUDE:Jenkins/android_common
diff --git a/distro-configs/Jenkins/android_x86_64 b/distro-configs/Jenkins/android_x86_64
new file mode 100644
index 000000000..1fd075fdc
--- /dev/null
+++ b/distro-configs/Jenkins/android_x86_64
@@ -0,0 +1,2 @@
+INCLUDE:LibreOfficeAndroidX86_64
+INCLUDE:Jenkins/android_common
diff --git a/distro-configs/Jenkins/linux_clang_dbgutil_64 b/distro-configs/Jenkins/linux_clang_dbgutil_64
new file mode 100644
index 000000000..6262dae92
--- /dev/null
+++ b/distro-configs/Jenkins/linux_clang_dbgutil_64
@@ -0,0 +1,10 @@
+--enable-dbgutil
+--enable-compiler-plugins
+--enable-kf5
+--disable-compiler-plugins-analyzer-pch
+--disable-dependency-tracking
+--disable-split-debug
+--with-jdk-home=/etc/alternatives/java_sdk_11
+--enable-odk
+--disable-dconf
+--enable-python=internal
diff --git a/distro-configs/Jenkins/linux_gcc_release_64 b/distro-configs/Jenkins/linux_gcc_release_64
new file mode 100644
index 000000000..37f0b4b46
--- /dev/null
+++ b/distro-configs/Jenkins/linux_gcc_release_64
@@ -0,0 +1,9 @@
+CC=/opt/rh/devtoolset-7/root/usr/bin/gcc
+CXX=/opt/rh/devtoolset-7/root/usr/bin/g++
+--enable-kf5
+--disable-dependency-tracking
+--with-jdk-home=/etc/alternatives/java_sdk_11
+--enable-odk
+--enable-mergelibs
+--disable-dconf
+--enable-python=internal
diff --git a/distro-configs/Jenkins/linux_random.conf b/distro-configs/Jenkins/linux_random.conf
new file mode 100644
index 000000000..dbfb76bf1
--- /dev/null
+++ b/distro-configs/Jenkins/linux_random.conf
@@ -0,0 +1,3 @@
+--enable-fuzz-options
+--with-jdk-home=/etc/alternatives/java_sdk_11
+--enable-odk
diff --git a/distro-configs/Jenkins/macosx_clang_dbgutil b/distro-configs/Jenkins/macosx_clang_dbgutil
new file mode 100644
index 000000000..5eab79d70
--- /dev/null
+++ b/distro-configs/Jenkins/macosx_clang_dbgutil
@@ -0,0 +1,7 @@
+--enable-dbgutil
+--disable-symbols
+--disable-dependency-tracking
+--enable-optimized
+--enable-odk
+--disable-online-update
+--disable-werror
diff --git a/distro-configs/Jenkins/screenshot_linux.conf b/distro-configs/Jenkins/screenshot_linux.conf
new file mode 100644
index 000000000..d6dd3d620
--- /dev/null
+++ b/distro-configs/Jenkins/screenshot_linux.conf
@@ -0,0 +1,3 @@
+--with-lang=ALL
+--with-jdk-home=/etc/alternatives/java_sdk_11
+--enable-odk
diff --git a/distro-configs/Jenkins/screenshot_mac.conf b/distro-configs/Jenkins/screenshot_mac.conf
new file mode 100644
index 000000000..4536d229d
--- /dev/null
+++ b/distro-configs/Jenkins/screenshot_mac.conf
@@ -0,0 +1,2 @@
+--with-lang=ALL
+--enable-odk
diff --git a/distro-configs/Jenkins/screenshot_win.conf b/distro-configs/Jenkins/screenshot_win.conf
new file mode 100644
index 000000000..1c780f699
--- /dev/null
+++ b/distro-configs/Jenkins/screenshot_win.conf
@@ -0,0 +1,3 @@
+--host=i686-pc-cygwin
+--with-lang=ALL
+--enable-odk
diff --git a/distro-configs/Jenkins/windows_msc_dbgutil_32 b/distro-configs/Jenkins/windows_msc_dbgutil_32
new file mode 100644
index 000000000..b7827644d
--- /dev/null
+++ b/distro-configs/Jenkins/windows_msc_dbgutil_32
@@ -0,0 +1,5 @@
+--host=i686-pc-cygwin
+--enable-dbgutil
+--disable-dependency-tracking
+--enable-odk
+--disable-online-update
diff --git a/distro-configs/LibreOfficeAndroid.conf b/distro-configs/LibreOfficeAndroid.conf
new file mode 100644
index 000000000..e6ef6f551
--- /dev/null
+++ b/distro-configs/LibreOfficeAndroid.conf
@@ -0,0 +1,7 @@
+--host=arm-linux-androideabi
+--without-export-validation
+--without-helppack-integration
+--without-junit
+--disable-largefile
+--with-theme=colibre
+--disable-poppler
diff --git a/distro-configs/LibreOfficeAndroidAarch64.conf b/distro-configs/LibreOfficeAndroidAarch64.conf
new file mode 100644
index 000000000..aef3dfdbd
--- /dev/null
+++ b/distro-configs/LibreOfficeAndroidAarch64.conf
@@ -0,0 +1,6 @@
+--host=aarch64-linux-android
+--without-export-validation
+--without-helppack-integration
+--without-junit
+--with-theme=colibre
+--disable-poppler
diff --git a/distro-configs/LibreOfficeAndroidX86.conf b/distro-configs/LibreOfficeAndroidX86.conf
new file mode 100644
index 000000000..f71b1ab72
--- /dev/null
+++ b/distro-configs/LibreOfficeAndroidX86.conf
@@ -0,0 +1,7 @@
+--host=i686-linux-android
+--without-export-validation
+--without-helppack-integration
+--without-junit
+--disable-largefile
+--with-theme=colibre
+--disable-poppler
diff --git a/distro-configs/LibreOfficeAndroidX86_64.conf b/distro-configs/LibreOfficeAndroidX86_64.conf
new file mode 100644
index 000000000..ebd7fadc9
--- /dev/null
+++ b/distro-configs/LibreOfficeAndroidX86_64.conf
@@ -0,0 +1,7 @@
+--host=x86_64-linux-android
+--without-export-validation
+--without-helppack-integration
+--without-junit
+--disable-largefile
+--with-theme=colibre
+--disable-poppler
diff --git a/distro-configs/LibreOfficeCoverity.conf b/distro-configs/LibreOfficeCoverity.conf
new file mode 100644
index 000000000..0f8ae9c56
--- /dev/null
+++ b/distro-configs/LibreOfficeCoverity.conf
@@ -0,0 +1,32 @@
+--enable-assert-always-abort
+--without-latest-c++
+--without-help
+--enable-gio
+--without-myspell-dicts
+--disable-ccache
+--disable-pdfium
+--disable-skia
+--enable-gstreamer-1-0
+--enable-option-checking=fatal
+--with-idlc-cpp=cpp
+--with-system-libs
+--with-system-headers
+--without-system-cppunit
+--without-system-libfixmath
+--enable-dbus
+--enable-extension-integration
+--enable-gtk3
+--enable-kf5
+--enable-evolution2
+--enable-scripting-beanshell
+--enable-scripting-javascript
+--enable-ext-wiki-publisher
+--enable-ext-nlpsolver
+--enable-online-update
+--with-privacy-policy-url=https://enable-online-update
+--with-system-hsqldb
+--with-hsqldb-jar=/home/coverity/hsqldb.jar
+--with-system-rhino
+--with-rhino-jar=/home/coverity/js.jar
+--with-system-lockfile
+--enable-odk
diff --git a/distro-configs/LibreOfficeFlatpak.conf b/distro-configs/LibreOfficeFlatpak.conf
new file mode 100644
index 000000000..ae525e61c
--- /dev/null
+++ b/distro-configs/LibreOfficeFlatpak.conf
@@ -0,0 +1,63 @@
+--disable-odk
+--disable-skia
+--enable-release-build
+--with-ant-home=/run/build/libreoffice/ant
+--with-extra-buildid=Flatpak
+--with-help=html
+--with-jdk-home=/usr/lib/sdk/openjdk11/jvm/openjdk-11
+--with-lang=ALL
+--with-system-libs
+--with-vendor=The Document Foundation
+--without-export-validation
+--without-junit
+--without-lxml
+--without-system-abseil
+--without-system-beanshell
+--without-system-bluez
+--without-system-boost
+--without-system-box2d
+--without-system-clucene
+--without-system-coinmp
+--without-system-cppunit
+--without-system-dragonbox
+--without-system-firebird
+--without-system-glm
+--without-system-gpgmepp
+--without-system-jfreereport
+--without-system-libabw
+--without-system-libatomic_ops
+--without-system-libcdr
+--without-system-libcmis
+--without-system-libebook
+--without-system-libepubgen
+--without-system-libetonyek
+--without-system-libexttextcat
+--without-system-libfixmath
+--without-system-libfreehand
+--without-system-liblangtag
+--without-system-libmspub
+--without-system-libmwaw
+--without-system-libnumbertext
+--without-system-libodfgen
+--without-system-libpagemaker
+--without-system-libqxp
+--without-system-librevenge
+--without-system-libstaroffice
+--without-system-libtommath
+--without-system-libvisio
+--without-system-libwpd
+--without-system-libwpg
+--without-system-libwps
+--without-system-libzmf
+--without-system-lpsolve
+--without-system-mariadb
+--without-system-mdds
+--without-system-odbc
+--without-system-openldap
+--without-system-orcus
+--without-system-poppler
+--without-system-postgresql
+--without-system-redland
+--without-system-sane
+--without-system-xmlsec
+--without-system-zxing
diff --git a/distro-configs/LibreOfficeHaiku.conf b/distro-configs/LibreOfficeHaiku.conf
new file mode 100644
index 000000000..87c287ce8
--- /dev/null
+++ b/distro-configs/LibreOfficeHaiku.conf
@@ -0,0 +1,7 @@
+--with-vendor=The Document Foundation
+--with-system-libs
+--with-boost-libdir=/system/develop/lib
+--enable-readonly-installset
+--without-java
+--without-system-jars
+--enable-odk
diff --git a/distro-configs/LibreOfficeLinux.conf b/distro-configs/LibreOfficeLinux.conf
new file mode 100644
index 000000000..db759a8cb
--- /dev/null
+++ b/distro-configs/LibreOfficeLinux.conf
@@ -0,0 +1,38 @@
+--with-system-dicts
+--with-myspell-dicts
+--with-system-zlib
+--without-system-poppler
+--without-system-openssl
+--without-system-libpng
+--without-system-libxml
+--without-system-jpeg
+--without-system-jars
+--without-system-postgresql
+--without-junit
+--with-help=html
+--without-helppack-integration
+--with-linker-hash-style=both
+--with-fonts
+--with-external-thes-dir=/usr/share/mythes
+--with-external-hyph-dir=/usr/share/hyphen
+--with-external-dict-dir=/usr/share/hunspell
+--enable-avahi
+--enable-dbus
+--enable-extension-integration
+--enable-odk
+--enable-gtk3-kde5
+--enable-kf5
+--enable-gstreamer-1-0
+--enable-evolution2
+--enable-gio
+--enable-scripting-beanshell
+--enable-scripting-javascript
+--enable-ext-wiki-publisher
+--enable-ext-nlpsolver
+--enable-epm
+--enable-python=internal
+--enable-online-update
+--enable-breakpad
+--disable-dconf
+--enable-mergelibs
+--enable-lto
diff --git a/distro-configs/LibreOfficeMacOSX.conf b/distro-configs/LibreOfficeMacOSX.conf
new file mode 100644
index 000000000..bcf7e9742
--- /dev/null
+++ b/distro-configs/LibreOfficeMacOSX.conf
@@ -0,0 +1,11 @@
+--enable-epm
+--enable-scripting-beanshell
+--enable-scripting-javascript
+--enable-ext-nlpsolver
+--enable-extension-integration
+--enable-online-update
+--without-system-postgresql
+--with-help=html
+--with-myspell-dicts
+--with-package-format=dmg
+--enable-odk
diff --git a/distro-configs/LibreOfficeOnline.conf b/distro-configs/LibreOfficeOnline.conf
new file mode 100644
index 000000000..338fd7ac4
--- /dev/null
+++ b/distro-configs/LibreOfficeOnline.conf
@@ -0,0 +1,53 @@
+--disable-cups
+--disable-dbus
+--disable-dconf
+--disable-epm
+--disable-evolution2
+--disable-ext-nlpsolver
+--disable-ext-wiki-publisher
+--disable-firebird-sdbc
+--disable-gio
+--disable-gstreamer-1-0
+--disable-gtk3
+--disable-gui
+--disable-qt5
+--disable-kf5
+--disable-odk
+--disable-online-update
+--disable-skia
+--enable-pdfimport
+--disable-postgresql-sdbc
+--disable-report-builder
+--disable-scripting-beanshell
+--disable-scripting-javascript
+--disable-sdremote
+--disable-sdremote-bluetooth
+--enable-extension-integration
+--enable-mergelibs
+--enable-lto
+--enable-python=internal
+--enable-release-build
+--with-external-dict-dir=/usr/share/hunspell
+--with-external-hyph-dir=/usr/share/hyphen
+--with-external-thes-dir=/usr/share/mythes
+--with-fonts
+--with-galleries=no
+--with-lang=ALL
+--with-linker-hash-style=both
+--with-system-dicts
+--with-system-zlib
+--with-theme=colibre
+--without-branding
+--without-help
+--without-java
+--without-junit
+--with-myspell-dicts
+--without-package-format
+--without-system-cairo
+--without-system-jars
+--without-system-jpeg
+--without-system-libpng
+--without-system-libxml
+--without-system-openssl
+--disable-poppler
+--without-system-postgresql
diff --git a/distro-configs/LibreOfficeOpenBSD.conf b/distro-configs/LibreOfficeOpenBSD.conf
new file mode 100644
index 000000000..2af93a642
--- /dev/null
+++ b/distro-configs/LibreOfficeOpenBSD.conf
@@ -0,0 +1,32 @@
+--disable-dbus
+--disable-epm
+--disable-kf5
+--disable-nss-module
+--disable-odk
+--enable-ext-wiki-publisher
+--enable-python=system
+--with-alloc=system
+--with-ant-home=/usr/local/ant
+--enable-extension-integration
+--with-fonts
+--with-java
+--with-jdk-home=/usr/local/jdk-1.5.0
+--with-myspell-dicts
+--with-system-boost
+--with-system-cairo
+--with-system-cppunit
+--with-system-curl
+--with-system-expat
+--with-system-hunspell
+--with-system-icu
+--with-system-jars
+--with-system-jpeg
+--with-system-libxml
+--with-system-openssl
+--with-system-poppler
+--with-system-redland
+--with-system-zlib
+--with-vendor=The OpenBSD project
+--without-junit
+--without-system-libwpd
+--with-help
diff --git a/distro-configs/LibreOfficeOssFuzz.conf b/distro-configs/LibreOfficeOssFuzz.conf
new file mode 100644
index 000000000..f2d48c407
--- /dev/null
+++ b/distro-configs/LibreOfficeOssFuzz.conf
@@ -0,0 +1,35 @@
+--enable-fuzzers
+--enable-ld=gold
+--disable-dynamic-loading
+--disable-runtime-optimizations
+--disable-scripting
+--disable-cairo-canvas
+--disable-coinmp
+--disable-cups
+--disable-dbus
+--disable-dconf
+--disable-extensions
+--disable-firebird-sdbc
+--disable-gen
+--disable-gio
+--disable-gtk3
+--disable-gui
+--disable-ldap
+--disable-libcmis
+--disable-librelogo
+--disable-lpsolve
+--disable-mariadb-sdbc
+--disable-odk
+--disable-pdfimport
+--disable-pdfium
+--disable-postgresql-sdbc
+--disable-sdremote
+--disable-skia
+--disable-xmlhelp
+--disable-zxing
+--with-idlc-cpp=cpp
+--with-locales=en
+--without-fonts
+--without-galleries
+--without-java
+--without-webdav
diff --git a/distro-configs/LibreOfficeVanillaMacAppStore.conf b/distro-configs/LibreOfficeVanillaMacAppStore.conf
new file mode 100644
index 000000000..68a85690b
--- /dev/null
+++ b/distro-configs/LibreOfficeVanillaMacAppStore.conf
@@ -0,0 +1,20 @@
+--disable-ext-numbertext
+--disable-firebird-sdbc
+--disable-lotuswordpro
+--disable-lpsolve
+--disable-odk
+--disable-online-update
+--disable-pdfimport
+--disable-postgresql-sdbc
+--enable-extension-integration
+--enable-macosx-sandbox
+--enable-mpl-subset
+--enable-readonly-installset
+--enable-release-build
+--enable-symbols
+--with-help
+--with-myspell-dicts
+--with-theme=sukapura
+--with-vendor=Collabora
+--without-java
+--without-package-format
diff --git a/distro-configs/LibreOfficeWASM32.conf b/distro-configs/LibreOfficeWASM32.conf
new file mode 100644
index 000000000..b4a3f1dc6
--- /dev/null
+++ b/distro-configs/LibreOfficeWASM32.conf
@@ -0,0 +1 @@
+--host=wasm32-local-emscripten
diff --git a/distro-configs/LibreOfficeWin32.conf b/distro-configs/LibreOfficeWin32.conf
new file mode 100644
index 000000000..2a9145b7c
--- /dev/null
+++ b/distro-configs/LibreOfficeWin32.conf
@@ -0,0 +1,16 @@
+--host=i686-pc-cygwin
+--without-junit
+--without-helppack-integration
+--enable-extension-integration
+--enable-scripting-beanshell
+--enable-scripting-javascript
+--enable-ext-wiki-publisher
+--enable-ext-nlpsolver
+--enable-online-update
+--enable-breakpad
+--with-help=html
+--with-myspell-dicts
+--with-package-format=msi
+--enable-mergelibs
+--enable-lto
+--enable-odk
diff --git a/distro-configs/LibreOfficeWin64.conf b/distro-configs/LibreOfficeWin64.conf
new file mode 100644
index 000000000..71c386b36
--- /dev/null
+++ b/distro-configs/LibreOfficeWin64.conf
@@ -0,0 +1,16 @@
+--host=x86_64-pc-cygwin
+--without-junit
+--without-helppack-integration
+--enable-extension-integration
+--enable-scripting-beanshell
+--enable-scripting-javascript
+--enable-ext-wiki-publisher
+--enable-ext-nlpsolver
+--enable-online-update
+--enable-breakpad
+--with-help=html
+--with-myspell-dicts
+--with-package-format=msi
+--enable-mergelibs
+--enable-lto
+--enable-odk
diff --git a/distro-configs/LibreOfficeWinArm64.conf b/distro-configs/LibreOfficeWinArm64.conf
new file mode 100644
index 000000000..a052e9bcf
--- /dev/null
+++ b/distro-configs/LibreOfficeWinArm64.conf
@@ -0,0 +1,15 @@
+--host=aarch64-pc-cygwin
+--without-junit
+--without-helppack-integration
+--enable-extension-integration
+--enable-scripting-beanshell
+--enable-scripting-javascript
+--enable-ext-wiki-publisher
+--enable-ext-nlpsolver
+--enable-online-update
+--with-help=html
+--with-myspell-dicts
+--with-package-format=msi
+--enable-mergelibs
+--enable-lto
+--enable-odk
diff --git a/distro-configs/LibreOfficeiOS.conf b/distro-configs/LibreOfficeiOS.conf
new file mode 100644
index 000000000..c0ba243ab
--- /dev/null
+++ b/distro-configs/LibreOfficeiOS.conf
@@ -0,0 +1,30 @@
+--disable-breakpad
+--disable-firebird-sdbc
+--disable-online-update
+
+--without-export-validation
+--without-helppack-integration
+--without-java
+--without-junit
+
+--with-theme=colibre
+
+--with-build-platform-configure-options=--with-system-jpeg=no
+--with-macosx-version-min-required=10.11
+
+--disable-avahi
+--disable-avmedia
+--disable-compiler-plugins
+--disable-cups
+--disable-dconf
+--disable-extensions
+--disable-kf5
+--disable-odk
+--disable-openssl
+--disable-poppler
+--disable-python
+
+--without-tls
+
+# iOS device
+--host=arm64-apple-ios
diff --git a/distro-configs/LibreOfficeiOS_Sim.conf b/distro-configs/LibreOfficeiOS_Sim.conf
new file mode 100644
index 000000000..c121a29a9
--- /dev/null
+++ b/distro-configs/LibreOfficeiOS_Sim.conf
@@ -0,0 +1,31 @@
+--disable-breakpad
+--disable-firebird-sdbc
+--disable-online-update
+
+--without-export-validation
+--without-helppack-integration
+--without-java
+--without-junit
+
+--with-theme=colibre
+
+--with-build-platform-configure-options=--with-system-jpeg=no
+--with-macosx-version-min-required=10.11
+
+--disable-avahi
+--disable-avmedia
+--disable-compiler-plugins
+--disable-cups
+--disable-dconf
+--disable-extensions
+--disable-kf5
+--disable-odk
+--disable-openssl
+--disable-poppler
+--disable-python
+
+--without-tls
+
+# iOS simulator (debug)
+--enable-ios-simulator
+--enable-debug
diff --git a/distro-configs/README.md b/distro-configs/README.md
new file mode 100644
index 000000000..7ae0450bf
--- /dev/null
+++ b/distro-configs/README.md
@@ -0,0 +1,32 @@
+# Pre-canned Distribution Configurations
+
+These files are supposed to correspond to the options used when
+creating the Document Foundation (or other "canonical") builds of
+LibreOffice for various platforms. They are *not* supposed to
+represent the "most useful" options for developers in general. On the
+contrary, the intent is that just running `./autogen.sh` without any
+options at all should produce a buildable configuration for developers
+with interest in working on the most commonly used parts of the code.
+
+See <https://wiki.documentfoundation.org/Development/ReleaseBuilds> for how
+TDF builds make use of these switches. (Especially, since `--with-package-format`
+now triggers whether or not installation sets are built, all the relevant `*.conf`
+files specify it, except for `LibreOfficeLinux.conf`, where the TDF build
+instructions pass an explicit `--with-package-format="rpm deb"` in addition to
+`--with-distro=LibreOfficeLinux`.)
+
+(Possibly the above is a misunderstanding, or maybe there never even
+has been any clear consensus what situations these files actually are
+intended for.)
+
+The files contain sets of configuration parameters, and can be passed
+on the `autogen.sh` command line thus:
+
+ ./autogen.sh --with-distro=LibreOfficeFoo
+
+Contrary to the above, in the Android case the amount of parameters
+you just must use is so large, that for convenience it is always
+easiest to use the corresponding distro-configs file. This is a bug
+and needs to be fixed; also configuring for Android should ideally use
+sane (or the only possible) defaults and work fine without any
+parameters at all.