This is an automated email from the ASF dual-hosted git repository.
jimjag pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openoffice-devtools.git
The following commit(s) were added to refs/heads/main by this push:
new 2009688 Add in 5.0.x build scripts
2009688 is described below
commit 2009688b0c06e5341d36de8109424a628caf6d6c
Author: Jim Jagielski <[email protected]>
AuthorDate: Wed Sep 9 11:32:10 2026 -0400
Add in 5.0.x build scripts
---
.../5.0.0-Dev1/unxlngi6/build_aoo32bit_on_fed19.sh | 111 +++++++++++
.../unxlngi6/build_aoo32bit_on_ubuntu.sh | 159 ++++++++++++++++
.../unxlngix6/build_aoo64bit_on_centos7.sh | 160 ++++++++++++++++
.../unxlngix6/build_aoo64bit_on_ubuntu.sh | 159 ++++++++++++++++
.../unxmaccr/build_aoo64bit_on_macosarm.sh | 207 +++++++++++++++++++++
.../5.0.0-Dev1/unxmacos/build_aoo64bit_on_macos.sh | 207 +++++++++++++++++++++
build-scripts/5.0.0-Dev1/wntmsci/Pack-dev.lst | 12 ++
build-scripts/5.0.0-Dev1/wntmsci/ReadMe.txt | 62 ++++++
build-scripts/5.0.0-Dev1/wntmsci/about.png | Bin 0 -> 14230 bytes
build-scripts/5.0.0-Dev1/wntmsci/intro.png | Bin 0 -> 29752 bytes
10 files changed, 1077 insertions(+)
diff --git a/build-scripts/5.0.0-Dev1/unxlngi6/build_aoo32bit_on_fed19.sh
b/build-scripts/5.0.0-Dev1/unxlngi6/build_aoo32bit_on_fed19.sh
new file mode 100755
index 0000000..7e5ec98
--- /dev/null
+++ b/build-scripts/5.0.0-Dev1/unxlngi6/build_aoo32bit_on_fed19.sh
@@ -0,0 +1,111 @@
+#!/usr/bin/env bash
+#
+# Installed in /usr/local:
+# o dmake 4.13.1
(https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz)
+# o epm 5.1.0 (https://github.com/jimjag/epm/archive/v5.1.0/epm-5.1.0.tar.gz)
+
+set -eo pipefail
+
+ANT_HOME=/usr/local/share/java/apache-ant
+ANT_CLASSPATH=/usr/local/share/java/apache-ant/lib
+export ANT_HOME
+export ANT_CLASSPATH
+
+#
+# Parse options
+#
+AOO_SKIP_CONFIG=
+AOO_JUST_CONFIG=
+AOO_VERBOSE_BUILD=
+AOO_BUILD_TYPE=
+AOO_BUILD_VERSION=
+AOO_BUILD_BETA=
+AOO_BUILD_DEV=
+AOO_BUILD_SRC=
+
+while true; do
+ case "$1" in
+ "--verbose" ) AOO_VERBOSE_BUILD="--enable-verbose"; shift ;;
+ "--skip-config" ) AOO_SKIP_CONFIG="yes"; shift ;;
+ "--just-config" ) AOO_JUST_CONFIG="yes"; shift ;;
+ "--build-src" ) AOO_BUILD_SRC="yes"; shift ;;
+ "--dev" ) AOO_BUILD_TYPE="Apache OpenOffice Test Development Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_DEV="yes";
AOO_BUILD_BETA=""; shift ;;
+ "--beta" ) AOO_BUILD_TYPE="Apache OpenOffice Beta Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_BETA="yes";
AOO_BUILD_DEV=""; shift ;;
+ "--" ) shift; break ;;
+ "" ) break ;;
+ * ) echo "unknown option: $1"; shift ;;
+ esac
+done
+
+if [ ! -d ../main -o ! -d sal ] ; then
+ echo "CHDIR into AOO's main/ directory first!"
+ exit 1
+fi
+\rm -f solenv/inc/reporevision.lst
+if [ ! -e external/unowinreg/unowinreg.dll ] ; then
+ echo "Downloading unowinreg.dll..."
+ wget -O external/unowinreg/unowinreg.dll
http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
+fi
+
+LANGS="ast bg ca ca-XR ca-XV cs da de el en-GB en-US es et eu fi fr gd gl he
hi hu hy it ja kab km ko lt nb nl om pl pt pt-BR ru sk sl sr sv ta th tr uk vi
zh-CN zh-TW"
+
+if [ -e configure.in ]; then
+ AOO_CONF_T="configure.in"
+else
+ AOO_CONF_T="configure.ac"
+fi
+if [ ! -e configure -o $AOO_CONF_T -nt configure ] ; then
+ echo "Running autoconf..."
+ autoconf || exit 1
+fi
+
+if [ "$AOO_SKIP_CONFIG" != "yes" ]; then
+ ( ./configure \
+ --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") -
`uname -sm`${AOO_BUILD_VERSION}" \
+ ${AOO_VERBOSE_BUILD} \
+ --with-system-stdlibs \
+ --enable-crashdump=yes \
+ --enable-category-b \
+ --enable-beanshell \
+ --enable-wiki-publisher \
+ --enable-bundled-dictionaries \
+ --enable-opengl \
+ --enable-dbus \
+ --enable-gstreamer \
+ --without-junit \
+ --without-stlport \
+ --with-ant-home=$ANT_HOME \
+ --with-jdk-home=/usr/lib/jvm/java-1.7.0-openjdk \
+ --with-package-format="rpm deb" \
+ --with-lang="${LANGS}" \
+ --with-epm=/usr/local/bin/epm \
+ --with-dmake-path=/usr/local/bin/dmake \
+ | tee config.out ) || exit 1
+fi
+
+source ./LinuxX86Env.Set.sh || exit 1
+./bootstrap || exit 1
+if [ -e solenv/inc/reporevision.lst ]; then
+ rm solenv/inc/reporevision.lst
+fi
+cd instsetoo_native
+time perl "$SOLARENV/bin/build.pl" --all -P4 MAXPROCESS=2 EXTMAXPROCESS=2 --
-P2 || exit 1
+
+cd util
+if [ "$AOO_BUILD_BETA" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficebeta || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoobeta_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooobetalanguagepack || exit 1
+elif [ "$AOO_BUILD_DEV" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficedev || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoodev_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooodevlanguagepack || exit 1
+elif [ "$AOO_BUILD_ALL" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooolanguagepack || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoo_en-US || exit 1
+fi
+if [ "$AOO_BUILD_SRC" = "yes" ]; then
+ dmake aoo_srcrelease || exit 1
+fi
+
+date "+Build ended at %H:%M:%S"
diff --git a/build-scripts/5.0.0-Dev1/unxlngi6/build_aoo32bit_on_ubuntu.sh
b/build-scripts/5.0.0-Dev1/unxlngi6/build_aoo32bit_on_ubuntu.sh
new file mode 100755
index 0000000..0915067
--- /dev/null
+++ b/build-scripts/5.0.0-Dev1/unxlngi6/build_aoo32bit_on_ubuntu.sh
@@ -0,0 +1,159 @@
+#!/usr/bin/env bash
+#
+
+set -eo pipefail
+
+# Build-script for AOO 5.0.x (and later) on Ubuntu
+#
+# ENV:
+# LC_CTYPE=en_US.UTF-8
+# LANG=en_US.UTF-8
+#
+#
+# Installed in /usr/local:
+#
+# o Apache ant 1.10.9
+# o dmake 4.13.1
(https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz)
+# o epm 5.1.0 (https://github.com/jimjag/epm/archive/v5.1.0/epm-5.1.0.tar.gz)
+# o autoconf 2.72
+
+#
+# Build options
+#
+AOO_JAVA_VERSION=1.8.0
+AOO_ANT_VERSION=1.10
+
+#
+# Parse options
+#
+AOO_SKIP_CONFIG=
+AOO_JUST_CONFIG=
+AOO_VERBOSE_BUILD=
+AOO_BUILD_TYPE=
+AOO_BUILD_VERSION=
+AOO_BUILD_BETA=
+AOO_BUILD_DEV=
+AOO_BUILD_SRC=
+AOO_BUILD_ALL="yes"
+AOO_BUILD_DEBUG=
+
+AOPTS=`getopt -o vsjtdbqa:j:m:k: --long
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,ant-version:,java-version:,macos-target:,macos-sdk:
-n 'parse-options' -- "$@"`
+if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
+#echo "$AOPTS"
+eval set -- "$AOPTS"
+
+while true; do
+ case "$1" in
+ -v | --verbose ) AOO_VERBOSE_BUILD="--enable-verbose"; shift ;;
+ -s | --skip-config ) AOO_SKIP_CONFIG="yes"; shift ;;
+ -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
+ -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
+ -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+ -a | --ant-version ) AOO_ANT_VERSION=$2; shift 2 ;;
+ -j | --java-version ) AOO_JAVA_VERSION=$2; shift 2 ;;
+ -m | --macos-target ) AOO_MACOS_TARGET=$2; shift 2 ;;
+ -k | --macos-sdk ) AOO_MACOS_SDK=$2; shift 2 ;;
+ -d | --dev ) AOO_BUILD_TYPE="Apache OpenOffice Test Development Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_DEV="yes";
AOO_BUILD_BETA=""; shift ;;
+ -b | --beta ) AOO_BUILD_TYPE="Apache OpenOffice Beta Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_BETA="yes";
AOO_BUILD_DEV=""; shift ;;
+ --debug ) AOO_BUILD_DEBUG="--enable-symbols"; shift ;;
+ -- ) shift; break ;;
+ * ) echo "unknown option: $1"; shift ;;
+ esac
+done
+
+if [ ! -d ../main -o ! -d sal ] ; then
+ echo "CHDIR into AOO's main/ directory first!"
+ exit 1
+fi
+
+JAVA_HOME=/usr/lib/jvm/java-${AOO_JAVA_VERSION}-openjdk-i386
+if [ ! -d "$JAVA_HOME" ] ; then
+ echo "JAVA_HOME not found: $JAVA_HOME"
+ exit 1
+fi
+export JAVA_HOME
+echo "JAVA_HOME is: $JAVA_HOME..."
+
+ANT_HOME=/usr/local/share/java/apache-ant-${AOO_ANT_VERSION}
+if [ ! -d "$ANT_HOME" ] ; then
+ echo "ANT_HOME not found: $ANT_HOME"
+ exit 1
+fi
+export ANT_HOME
+ANT_CLASSPATH=${ANT_HOME}/lib
+export ANT_CLASSPATH
+echo "ANT_HOME is: $ANT_HOME..."
+echo "ANT_CLASSPATH is: $ANT_CLASSPATH..."
+
+echo "Building for Linux 32, Java $(echo ${AOO_JAVA_VERSION} | sed -e s/..//)
: Ant ${AOO_ANT_VERSION}"
+echo "---"
+echo "Starting build:"
+echo ""
+\rm -f solenv/inc/reporevision.lst
+if [ ! -e external/unowinreg/unowinreg.dll ] ; then
+ echo "Downloading unowinreg.dll..."
+ wget -O external/unowinreg/unowinreg.dll
http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
+fi
+
+LANGS="ast bg ca ca-XR ca-XV cs da de el en-GB en-US es et eu fi fr gd gl he
hi hu hy it ja kab km ko lt nb nl om pl pt pt-BR ru sk sl sr sv ta th tr uk vi
zh-CN zh-TW"
+
+if [ -e configure.in ]; then
+ AOO_CONF_T="configure.in"
+else
+ AOO_CONF_T="configure.ac"
+fi
+if [ ! -e configure -o $AOO_CONF_T -nt configure ] ; then
+ echo "Running autoconf..."
+ autoconf || exit 1
+fi
+
+if [ "$AOO_SKIP_CONFIG" != "yes" ]; then
+ ( ./configure \
+ --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") -
`uname -sm`${AOO_BUILD_VERSION}" \
+ ${AOO_VERBOSE_BUILD} \
+ --with-system-stdlibs \
+ --enable-crashdump=yes \
+ --enable-category-b \
+ --enable-beanshell \
+ --enable-wiki-publisher \
+ --enable-bundled-dictionaries \
+ --enable-opengl \
+ --enable-dbus \
+ --enable-gstreamer \
+ --without-junit \
+ --without-stlport \
+ --with-jdk-home="$JAVA_HOME" \
+ --with-ant-home="$ANT_HOME" \
+ --with-package-format="rpm deb" \
+ --with-lang="${LANGS}" \
+ --with-epm=/usr/local/bin/epm \
+ --with-dmake-path=/usr/local/bin/dmake \
+ | tee config.out ) || exit 1
+fi
+
+source ./LinuxX86Env.Set.sh || exit 1
+./bootstrap || exit 1
+if [ -e solenv/inc/reporevision.lst ]; then
+ \rm solenv/inc/reporevision.lst
+fi
+cd instsetoo_native
+time perl "$SOLARENV/bin/build.pl" --all -P4 MAXPROCESS=2 EXTMAXPROCESS=2 --
-P2 || exit 1
+
+cd util
+if [ "$AOO_BUILD_BETA" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficebeta || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoobeta_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooobetalanguagepack || exit 1
+elif [ "$AOO_BUILD_DEV" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficedev || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoodev_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooodevlanguagepack || exit 1
+elif [ "$AOO_BUILD_ALL" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooolanguagepack || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoo_en-US || exit 1
+fi
+if [ "$AOO_BUILD_SRC" = "yes" ]; then
+ dmake aoo_srcrelease || exit 1
+fi
+
+date "+Build ended at %H:%M:%S"
diff --git a/build-scripts/5.0.0-Dev1/unxlngix6/build_aoo64bit_on_centos7.sh
b/build-scripts/5.0.0-Dev1/unxlngix6/build_aoo64bit_on_centos7.sh
new file mode 100755
index 0000000..07b2386
--- /dev/null
+++ b/build-scripts/5.0.0-Dev1/unxlngix6/build_aoo64bit_on_centos7.sh
@@ -0,0 +1,160 @@
+#!/usr/bin/env bash
+#
+
+set -eo pipefail
+
+# Build-script for AOO 5.0.x (and later) on Ubuntu
+#
+# ENV:
+# LC_CTYPE=en_US.UTF-8
+# LANG=en_US.UTF-8
+#
+#
+# Installed in /usr/local:
+#
+# o Apache ant 1.10.9
+# o dmake 4.13.1
(https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz)
+# o epm 5.1.0 (https://github.com/jimjag/epm/archive/v5.1.0/epm-5.1.0.tar.gz)
+# o autoconf 2.72
+
+#
+# Build options
+#
+AOO_JAVA_VERSION=1.8.0
+AOO_ANT_VERSION=1.10
+
+#
+# Parse options
+#
+AOO_SKIP_CONFIG=
+AOO_JUST_CONFIG=
+AOO_VERBOSE_BUILD=
+AOO_BUILD_TYPE=
+AOO_BUILD_VERSION=
+AOO_BUILD_BETA=
+AOO_BUILD_DEV=
+AOO_BUILD_SRC=
+AOO_BUILD_ALL="yes"
+AOO_BUILD_DEBUG=
+
+AOPTS=`getopt -o vsjtdbqa:j:m:k: --long
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,ant-version:,java-version:,macos-target:,macos-sdk:
-n 'parse-options' -- "$@"`
+if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
+#echo "$AOPTS"
+eval set -- "$AOPTS"
+
+while true; do
+ case "$1" in
+ -v | --verbose ) AOO_VERBOSE_BUILD="--enable-verbose"; shift ;;
+ -s | --skip-config ) AOO_SKIP_CONFIG="yes"; shift ;;
+ -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
+ -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
+ -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+ -a | --ant-version ) AOO_ANT_VERSION=$2; shift 2 ;;
+ -j | --java-version ) AOO_JAVA_VERSION=$2; shift 2 ;;
+ -m | --macos-target ) AOO_MACOS_TARGET=$2; shift 2 ;;
+ -k | --macos-sdk ) AOO_MACOS_SDK=$2; shift 2 ;;
+ -d | --dev ) AOO_BUILD_TYPE="Apache OpenOffice Test Development Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_DEV="yes";
AOO_BUILD_BETA=""; shift ;;
+ -b | --beta ) AOO_BUILD_TYPE="Apache OpenOffice Beta Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_BETA="yes";
AOO_BUILD_DEV=""; shift ;;
+ --debug ) AOO_BUILD_DEBUG="--enable-symbols"; shift ;;
+ -- ) shift; break ;;
+ * ) echo "unknown option: $1"; shift ;;
+ esac
+done
+
+if [ ! -d ../main -o ! -d sal ] ; then
+ echo "CHDIR into AOO's main/ directory first!"
+ exit 1
+fi
+
+
+JAVA_HOME=/usr/lib/jvm/java-${AOO_JAVA_VERSION})-openjdk
+if [ ! -d "$JAVA_HOME" ] ; then
+ echo "JAVA_HOME not found: $JAVA_HOME"
+ exit 1
+fi
+export JAVA_HOME
+echo "JAVA_HOME is: $JAVA_HOME..."
+
+ANT_HOME=/usr/local/share/java/apache-ant-${AOO_ANT_VERSION}
+if [ ! -d "$ANT_HOME" ] ; then
+ echo "ANT_HOME not found: $ANT_HOME"
+ exit 1
+fi
+export ANT_HOME
+ANT_CLASSPATH=${ANT_HOME}/lib
+export ANT_CLASSPATH
+echo "ANT_HOME is: $ANT_HOME..."
+echo "ANT_CLASSPATH is: $ANT_CLASSPATH..."
+
+echo "Building for Linux 64, Java $(echo ${AOO_JAVA_VERSION} | sed -e s/..//)
: Ant ${AOO_ANT_VERSION}"
+echo "---"
+echo "Starting build:"
+echo ""
+\rm -f solenv/inc/reporevision.lst
+if [ ! -e external/unowinreg/unowinreg.dll ] ; then
+ echo "Downloading unowinreg.dll..."
+ wget -O external/unowinreg/unowinreg.dll
http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
+fi
+
+LANGS="ast bg ca ca-XR ca-XV cs da de el en-GB en-US es et eu fi fr gd gl he
hi hu hy it ja kab km ko lt nb nl om pl pt pt-BR ru sk sl sr sv ta th tr uk vi
zh-CN zh-TW"
+
+if [ -e configure.in ]; then
+ AOO_CONF_T="configure.in"
+else
+ AOO_CONF_T="configure.ac"
+fi
+if [ ! -e configure -o $AOO_CONF_T -nt configure ] ; then
+ echo "Running autoconf..."
+ autoconf || exit 1
+fi
+
+if [ "$AOO_SKIP_CONFIG" != "yes" ]; then
+ ( ./configure \
+ --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") -
`uname -sm`${AOO_BUILD_VERSION}" \
+ ${AOO_VERBOSE_BUILD} \
+ --with-system-stdlibs \
+ --enable-crashdump=yes \
+ --enable-category-b \
+ --enable-beanshell \
+ --enable-wiki-publisher \
+ --enable-bundled-dictionaries \
+ --enable-opengl \
+ --enable-dbus \
+ --enable-gstreamer \
+ --without-junit \
+ --without-stlport \
+ --with-jdk-home="$JAVA_HOME" \
+ --with-ant-home="$ANT_HOME" \
+ --with-package-format="rpm deb" \
+ --with-lang="${LANGS}" \
+ --with-epm=/usr/local/bin/epm \
+ --with-dmake-path=/usr/local/bin/dmake \
+ | tee config.out ) || exit 1
+fi
+
+source ./LinuxX86-64Env.Set.sh || exit 1
+./bootstrap || exit 1
+if [ -e solenv/inc/reporevision.lst ]; then
+ \rm solenv/inc/reporevision.lst
+fi
+cd instsetoo_native
+time perl "$SOLARENV/bin/build.pl" --all -P4 MAXPROCESS=2 EXTMAXPROCESS=2 --
-P2 || exit 1
+
+cd util
+if [ "$AOO_BUILD_BETA" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficebeta || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoobeta_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooobetalanguagepack || exit 1
+elif [ "$AOO_BUILD_DEV" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficedev || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoodev_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooodevlanguagepack || exit 1
+elif [ "$AOO_BUILD_ALL" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooolanguagepack || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoo_en-US || exit 1
+fi
+if [ "$AOO_BUILD_SRC" = "yes" ]; then
+ dmake aoo_srcrelease || exit 1
+fi
+
+date "+Build ended at %H:%M:%S"
diff --git a/build-scripts/5.0.0-Dev1/unxlngix6/build_aoo64bit_on_ubuntu.sh
b/build-scripts/5.0.0-Dev1/unxlngix6/build_aoo64bit_on_ubuntu.sh
new file mode 100755
index 0000000..86bb031
--- /dev/null
+++ b/build-scripts/5.0.0-Dev1/unxlngix6/build_aoo64bit_on_ubuntu.sh
@@ -0,0 +1,159 @@
+#!/usr/bin/env bash
+#
+
+set -eo pipefail
+
+# Build-script for AOO 5.0.x (and later) on Ubuntu
+#
+# ENV:
+# LC_CTYPE=en_US.UTF-8
+# LANG=en_US.UTF-8
+#
+#
+# Installed in /usr/local:
+#
+# o Apache ant 1.10.9
+# o dmake 4.13.1
(https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz)
+# o epm 5.1.0 (https://github.com/jimjag/epm/archive/v5.1.0/epm-5.1.0.tar.gz)
+# o autoconf 2.72
+
+#
+# Build options
+#
+AOO_JAVA_VERSION=1.8.0
+AOO_ANT_VERSION=1.10
+
+#
+# Parse options
+#
+AOO_SKIP_CONFIG=
+AOO_JUST_CONFIG=
+AOO_VERBOSE_BUILD=
+AOO_BUILD_TYPE=
+AOO_BUILD_VERSION=
+AOO_BUILD_BETA=
+AOO_BUILD_DEV=
+AOO_BUILD_SRC=
+AOO_BUILD_ALL="yes"
+AOO_BUILD_DEBUG=
+
+AOPTS=`getopt -o vsjtdbqa:j:m:k: --long
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,ant-version:,java-version:,macos-target:,macos-sdk:
-n 'parse-options' -- "$@"`
+if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
+#echo "$AOPTS"
+eval set -- "$AOPTS"
+
+while true; do
+ case "$1" in
+ -v | --verbose ) AOO_VERBOSE_BUILD="--enable-verbose"; shift ;;
+ -s | --skip-config ) AOO_SKIP_CONFIG="yes"; shift ;;
+ -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
+ -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
+ -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+ -a | --ant-version ) AOO_ANT_VERSION=$2; shift 2 ;;
+ -j | --java-version ) AOO_JAVA_VERSION=$2; shift 2 ;;
+ -m | --macos-target ) AOO_MACOS_TARGET=$2; shift 2 ;;
+ -k | --macos-sdk ) AOO_MACOS_SDK=$2; shift 2 ;;
+ -d | --dev ) AOO_BUILD_TYPE="Apache OpenOffice Test Development Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_DEV="yes";
AOO_BUILD_BETA=""; shift ;;
+ -b | --beta ) AOO_BUILD_TYPE="Apache OpenOffice Beta Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_BETA="yes";
AOO_BUILD_DEV=""; shift ;;
+ --debug ) AOO_BUILD_DEBUG="--enable-symbols"; shift ;;
+ -- ) shift; break ;;
+ * ) echo "unknown option: $1"; shift ;;
+ esac
+done
+
+if [ ! -d ../main -o ! -d sal ] ; then
+ echo "CHDIR into AOO's main/ directory first!"
+ exit 1
+fi
+
+JAVA_HOME=/usr/lib/jvm/java-${AOO_JAVA_VERSION}-openjdk-amd64
+if [ ! -d "$JAVA_HOME" ] ; then
+ echo "JAVA_HOME not found: $JAVA_HOME"
+ exit 1
+fi
+export JAVA_HOME
+echo "JAVA_HOME is: $JAVA_HOME..."
+
+ANT_HOME=/usr/local/share/java/apache-ant-${AOO_ANT_VERSION}
+if [ ! -d "$ANT_HOME" ] ; then
+ echo "ANT_HOME not found: $ANT_HOME"
+ exit 1
+fi
+export ANT_HOME
+ANT_CLASSPATH=${ANT_HOME}/lib
+export ANT_CLASSPATH
+echo "ANT_HOME is: $ANT_HOME..."
+echo "ANT_CLASSPATH is: $ANT_CLASSPATH..."
+
+echo "Building for Linux 64, Java $(echo ${AOO_JAVA_VERSION} | sed -e s/..//)
: Ant ${AOO_ANT_VERSION}"
+echo "---"
+echo "Starting build:"
+echo ""
+\rm -f solenv/inc/reporevision.lst
+if [ ! -e external/unowinreg/unowinreg.dll ] ; then
+ echo "Downloading unowinreg.dll..."
+ wget -O external/unowinreg/unowinreg.dll
http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
+fi
+
+LANGS="ast bg ca ca-XR ca-XV cs da de el en-GB en-US es et eu fi fr gd gl he
hi hu hy it ja kab km ko lt nb nl om pl pt pt-BR ru sk sl sr sv ta th tr uk vi
zh-CN zh-TW"
+
+if [ -e configure.in ]; then
+ AOO_CONF_T="configure.in"
+else
+ AOO_CONF_T="configure.ac"
+fi
+if [ ! -e configure -o $AOO_CONF_T -nt configure ] ; then
+ echo "Running autoconf..."
+ autoconf || exit 1
+fi
+
+if [ "$AOO_SKIP_CONFIG" != "yes" ]; then
+ ( ./configure \
+ --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") -
`uname -sm`${AOO_BUILD_VERSION}" \
+ ${AOO_VERBOSE_BUILD} \
+ --with-system-stdlibs \
+ --enable-crashdump=yes \
+ --enable-category-b \
+ --enable-beanshell \
+ --enable-wiki-publisher \
+ --enable-bundled-dictionaries \
+ --enable-opengl \
+ --enable-dbus \
+ --enable-gstreamer \
+ --without-junit \
+ --without-stlport \
+ --with-jdk-home="$JAVA_HOME" \
+ --with-ant-home="$ANT_HOME" \
+ --with-package-format="rpm deb" \
+ --with-lang="${LANGS}" \
+ --with-epm=/usr/local/bin/epm \
+ --with-dmake-path=/usr/local/bin/dmake \
+ | tee config.out ) || exit 1
+fi
+
+source ./LinuxX86-64Env.Set.sh || exit 1
+./bootstrap || exit 1
+if [ -e solenv/inc/reporevision.lst ]; then
+ \rm solenv/inc/reporevision.lst
+fi
+cd instsetoo_native
+time perl "$SOLARENV/bin/build.pl" --all -P4 MAXPROCESS=2 EXTMAXPROCESS=2 --
-P2 || exit 1
+
+cd util
+if [ "$AOO_BUILD_BETA" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficebeta || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoobeta_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooobetalanguagepack || exit 1
+elif [ "$AOO_BUILD_DEV" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficedev || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoodev_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooodevlanguagepack || exit 1
+elif [ "$AOO_BUILD_ALL" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooolanguagepack || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoo_en-US || exit 1
+fi
+if [ "$AOO_BUILD_SRC" = "yes" ]; then
+ dmake aoo_srcrelease || exit 1
+fi
+
+date "+Build ended at %H:%M:%S"
diff --git a/build-scripts/5.0.0-Dev1/unxmaccr/build_aoo64bit_on_macosarm.sh
b/build-scripts/5.0.0-Dev1/unxmaccr/build_aoo64bit_on_macosarm.sh
new file mode 100755
index 0000000..81eec97
--- /dev/null
+++ b/build-scripts/5.0.0-Dev1/unxmaccr/build_aoo64bit_on_macosarm.sh
@@ -0,0 +1,207 @@
+#!/usr/bin/env bash
+#
+
+set -eo pipefail
+
+# Build-script for AOO 5.0.x (and later) on macOS
+#
+# ENV:
+# LC_CTYPE=en_US.UTF-8
+# LANG=en_US.UTF-8
+PATH=~/.local/bin:~/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin:/opt/local/sbin:.
+export PATH
+#
+# Installed in /usr/local:
+#
+# o Apache ant 1.10.9
+# o dmake 4.13.1
(https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz)
+# o epm 5.1.0 (https://github.com/jimjag/epm/archive/v5.1.0/epm-5.1.0.tar.gz)
+# o openssl 3.0.21 (no-shared no-dso)
+# o libxml2-2.9.10 (--prefix=/usr/local --enable-shared=no
--enable-static=yes --enable-ipv6=no --without-python --without-lzma
--without-zlib --without-iconv)
+# o libxslt-1.1.34 (--prefix=/usr/local --enable-shared=no
--enable-static=yes --enable-ipv6=no --without-crypto --without-python
--without-iconv)
+# o curl-7.88.1 (--prefix=/usr/local --enable-shared=no --without-libidn
--disable-gopher --disable-file --disable-ldap --disable-telnet --disable-dict)
+# o jemalloc-5.3.1 (--prefix=/usr/local --enable-shared=no)
+# o pkg-config 0.29.2 (--prefix=/usr/local)
+# o GNU patch 2.7.6 (--prefix=/usr/local)
+#
+# Macports (Installed in /opt/local):
+#
+# o autoconf (symlinked to /usr/local/bin)
+# o gnutar (symlinked to /usr/local/bin)
+# o perl5 (symlinked to /usr/local/bin)
+# o getopt (symlinked to /usr/local/bin)
+# o python3 (symlinked to /usr/local/bin)
+# o subversion (symlinked to /usr/local/bin)
+# o git (symlinked to /usr/local/bin)
+#
+# OS:
+#
+# o OSX 15.7.8
+# o Developer Command Line Tools (for community builds)
+# o openjdk 1.8
+#
+
+#
+# Build options
+#
+AOO_MACOS_TARGET=11.0
+AOO_MACOS_SDK=
+AOO_JAVA_VERSION=1.8
+AOO_ANT_VERSION=1.10
+#
+# Just for now, for configure
+export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)
+
+#
+# Parse options
+#
+AOO_SKIP_CONFIG=
+AOO_JUST_CONFIG=
+AOO_VERBOSE_BUILD=
+AOO_BUILD_TYPE=
+AOO_BUILD_VERSION=
+AOO_BUILD_BETA=
+AOO_BUILD_DEV=
+AOO_BUILD_SRC=
+AOO_BUILD_ALL="yes"
+AOO_BUILD_DEBUG=
+
+AOPTS=`getopt -o vsjtdbqa:j:m:k: --long
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,ant-version:,java-version:,macos-target:,macos-sdk:
-n 'parse-options' -- "$@"`
+if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
+#echo "$AOPTS"
+eval set -- "$AOPTS"
+
+while true; do
+ case "$1" in
+ -v | --verbose ) AOO_VERBOSE_BUILD="--enable-verbose"; shift ;;
+ -s | --skip-config ) AOO_SKIP_CONFIG="yes"; shift ;;
+ -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
+ -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
+ -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+ -a | --ant-version ) AOO_ANT_VERSION=$2; shift 2 ;;
+ -j | --java-version ) AOO_JAVA_VERSION=$2; shift 2 ;;
+ -m | --macos-target ) AOO_MACOS_TARGET=$2; shift 2 ;;
+ -k | --macos-sdk ) AOO_MACOS_SDK=$2; shift 2 ;;
+ -d | --dev ) AOO_BUILD_TYPE="Apache OpenOffice Test Development Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_DEV="yes";
AOO_BUILD_BETA=""; shift ;;
+ -b | --beta ) AOO_BUILD_TYPE="Apache OpenOffice Beta Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_BETA="yes";
AOO_BUILD_DEV=""; shift ;;
+ --debug ) AOO_BUILD_DEBUG="--enable-symbols"; shift ;;
+ -- ) shift; break ;;
+ * ) echo "unknown option: $1"; shift ;;
+ esac
+done
+
+if [ ! -d ../main -o ! -d sal ] ; then
+ echo "CHDIR into AOO's main/ directory first!"
+ exit 1
+fi
+
+
+JAVA_HOME=$(/usr/libexec/java_home -v ${AOO_JAVA_VERSION})
+if [ ! -d "$JAVA_HOME" ] ; then
+ echo "JAVA_HOME not found: $JAVA_HOME"
+ exit 1
+fi
+export JAVA_HOME
+echo "JAVA_HOME is: $JAVA_HOME..."
+
+ANT_HOME=/usr/local/share/java/apache-ant-${AOO_ANT_VERSION}
+if [ ! -d "$ANT_HOME" ] ; then
+ echo "ANT_HOME not found: $ANT_HOME"
+ exit 1
+fi
+export ANT_HOME
+ANT_CLASSPATH=${ANT_HOME}/lib
+export ANT_CLASSPATH
+echo "ANT_HOME is: $ANT_HOME..."
+echo "ANT_CLASSPATH is: $ANT_CLASSPATH..."
+echo "PATH is: $PATH"
+
+echo "Building for ${AOO_BUILD_TYPE}: min macOS ${AOO_MACOS_TARGET}, Java
$(echo ${AOO_JAVA_VERSION} | sed -e s/..//) : Ant ${AOO_ANT_VERSION}"
+echo "---"
+echo "Starting build:"
+echo ""
+\rm -f solenv/inc/reporevision.lst
+sleep 5
+#Setup build Env
+export SYSTEM_VERSION_COMPAT=1
+export MACOSX_DEPLOYMENT_TARGET=${AOO_MACOS_TARGET}
+export LIBRARY_PATH=/usr/local/lib
+export C_INCLUDE_PATH=/usr/local/include
+export CPLUS_INCLUDE_PATH=/usr/local/include
+
+if [ ! -e external/unowinreg/unowinreg.dll ] ; then
+ echo "Downloading unowinreg.dll..."
+ curl -o external/unowinreg/unowinreg.dll
http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
+fi
+
+LANGS="ast bg ca ca-XR ca-XV cs da de el en-GB en-US es et eu fi fr gd gl he
hi hu hy it ja kab km ko lt nb nl om pl pt pt-BR ru sk sl sr sv ta th tr uk vi
zh-CN zh-TW"
+#LANGS="en-US"
+
+if [ ! -e configure -o configure.ac -nt configure ] ; then
+ echo "Running autoconf..."
+ autoconf || exit 1
+fi
+
+if [ ! -z "$AOO_MACOS_SDK" ]; then
+ AOO_MACOS_SDK="--with-macosx-sdk=$AOO_MACOS_SDK"
+fi
+
+if [ "$AOO_SKIP_CONFIG" != "yes" ]; then
+ ( ./configure \
+ --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") -
`uname -sm`${AOO_BUILD_VERSION}" \
+ ${AOO_VERBOSE_BUILD} \
+ ${AOO_BUILD_DEBUG} \
+ ${AOO_MACOS_SDK} \
+ --with-openldap \
+ --with-system-openssl=/usr/local \
+ --with-system-libxslt=/usr/local \
+ --with-system-libxml=/usr/local \
+ --with-system-curl=/usr/local \
+ --with-system-expat=/usr/local \
+ --enable-category-b \
+ --enable-beanshell \
+ --enable-bundled-dictionaries \
+ --enable-wiki-publisher \
+ --with-jdk-home="$JAVA_HOME" \
+ --with-ant-home="$ANT_HOME" \
+ --without-junit \
+ --with-epm=/usr/local/bin/epm \
+ --with-dmake-path=/usr/local/bin/dmake \
+ --without-stlport \
+ --with-package-format="dmg" \
+ --disable-systray \
+ --with-macosx-target=${AOO_MACOS_TARGET} \
+ --with-alloc=jemalloc \
+ --with-lang="${LANGS}" \
+ "$@" \
+ | tee config.out ) || exit 1
+fi
+
+if [ "$AOO_JUST_CONFIG" = "yes" ]; then
+ exit
+fi
+unset SDKROOT
+export SDKROOT
+./bootstrap || exit 1
+source ./MacOSXAARCH64Env.Set.sh || exit 1
+cd instsetoo_native
+time perl "$SOLARENV/bin/build.pl" --all -P4 MAXPROCESS=2 EXTMAXPROCESS=2 --
-P2 || exit 1
+
+cd util
+if [ "$AOO_BUILD_BETA" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficebeta || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoobeta_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooobetalanguagepack || exit 1
+elif [ "$AOO_BUILD_DEV" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficedev || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoodev_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooodevlanguagepack || exit 1
+elif [ "$AOO_BUILD_ALL" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooolanguagepack || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoo_en-US || exit 1
+fi
+if [ "$AOO_BUILD_SRC" = "yes" ]; then
+ dmake aoo_srcrelease || exit 1
+fi
+
+date "+Build ended at %H:%M:%S"
diff --git a/build-scripts/5.0.0-Dev1/unxmacos/build_aoo64bit_on_macos.sh
b/build-scripts/5.0.0-Dev1/unxmacos/build_aoo64bit_on_macos.sh
new file mode 100755
index 0000000..7e2369a
--- /dev/null
+++ b/build-scripts/5.0.0-Dev1/unxmacos/build_aoo64bit_on_macos.sh
@@ -0,0 +1,207 @@
+#!/usr/bin/env bash
+#
+
+set -eo pipefail
+
+# Build-script for AOO 5.0.x (and later) on macOS
+#
+# ENV:
+# LC_CTYPE=en_US.UTF-8
+# LANG=en_US.UTF-8
+PATH=~/.local/bin:~/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin:/opt/local/sbin:.
+export PATH
+#
+# Installed in /usr/local:
+#
+# o Apache ant 1.10.9
+# o dmake 4.13.1
(https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz)
+# o epm 5.1.0 (https://github.com/jimjag/epm/archive/v5.1.0/epm-5.1.0.tar.gz)
+# o openssl 3.0.21 (no-shared no-dso)
+# o libxml2-2.9.10 (--prefix=/usr/local --enable-shared=no
--enable-static=yes --enable-ipv6=no --without-python --without-lzma
--without-zlib --without-iconv)
+# o libxslt-1.1.34 (--prefix=/usr/local --enable-shared=no
--enable-static=yes --enable-ipv6=no --without-crypto --without-python
--without-iconv)
+# o curl-7.88.1 (--prefix=/usr/local --enable-shared=no --without-libidn
--disable-gopher --disable-file --disable-ldap --disable-telnet --disable-dict)
+# o jemalloc-5.3.1 (--prefix=/usr/local --enable-shared=no)
+# o pkg-config 0.29.2 (--prefix=/usr/local)
+# o GNU patch 2.7.6 (--prefix=/usr/local)
+#
+# Macports (Installed in /opt/local):
+#
+# o autoconf (symlinked to /usr/local/bin)
+# o gnutar (symlinked to /usr/local/bin)
+# o perl5 (symlinked to /usr/local/bin)
+# o getopt (symlinked to /usr/local/bin)
+# o python3 (symlinked to /usr/local/bin)
+# o subversion (symlinked to /usr/local/bin)
+# o git (symlinked to /usr/local/bin)
+#
+# OS:
+#
+# o OSX 15.7.8
+# o Developer Command Line Tools (for community builds)
+# o openjdk 1.8
+#
+
+#
+# Build options
+#
+AOO_MACOS_TARGET=11.0
+AOO_MACOS_SDK=
+AOO_JAVA_VERSION=1.8
+AOO_ANT_VERSION=1.10
+#
+# Just for now, for configure
+export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)
+
+#
+# Parse options
+#
+AOO_SKIP_CONFIG=
+AOO_JUST_CONFIG=
+AOO_VERBOSE_BUILD=
+AOO_BUILD_TYPE=
+AOO_BUILD_VERSION=
+AOO_BUILD_BETA=
+AOO_BUILD_DEV=
+AOO_BUILD_SRC=
+AOO_BUILD_ALL="yes"
+AOO_BUILD_DEBUG=
+
+AOPTS=`getopt -o vsjtdbqa:j:m:k: --long
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,ant-version:,java-version:,macos-target:,macos-sdk:
-n 'parse-options' -- "$@"`
+if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
+#echo "$AOPTS"
+eval set -- "$AOPTS"
+
+while true; do
+ case "$1" in
+ -v | --verbose ) AOO_VERBOSE_BUILD="--enable-verbose"; shift ;;
+ -s | --skip-config ) AOO_SKIP_CONFIG="yes"; shift ;;
+ -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
+ -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
+ -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+ -a | --ant-version ) AOO_ANT_VERSION=$2; shift 2 ;;
+ -j | --java-version ) AOO_JAVA_VERSION=$2; shift 2 ;;
+ -m | --macos-target ) AOO_MACOS_TARGET=$2; shift 2 ;;
+ -k | --macos-sdk ) AOO_MACOS_SDK=$2; shift 2 ;;
+ -d | --dev ) AOO_BUILD_TYPE="Apache OpenOffice Test Development Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_DEV="yes";
AOO_BUILD_BETA=""; shift ;;
+ -b | --beta ) AOO_BUILD_TYPE="Apache OpenOffice Beta Build";
AOO_BUILD_VERSION=" [${AOO_BUILD_TYPE}]"; AOO_BUILD_BETA="yes";
AOO_BUILD_DEV=""; shift ;;
+ --debug ) AOO_BUILD_DEBUG="--enable-symbols"; shift ;;
+ -- ) shift; break ;;
+ * ) echo "unknown option: $1"; shift ;;
+ esac
+done
+
+if [ ! -d ../main -o ! -d sal ] ; then
+ echo "CHDIR into AOO's main/ directory first!"
+ exit 1
+fi
+
+
+JAVA_HOME=$(/usr/libexec/java_home -v ${AOO_JAVA_VERSION})
+if [ ! -d "$JAVA_HOME" ] ; then
+ echo "JAVA_HOME not found: $JAVA_HOME"
+ exit 1
+fi
+export JAVA_HOME
+echo "JAVA_HOME is: $JAVA_HOME..."
+
+ANT_HOME=/usr/local/share/java/apache-ant-${AOO_ANT_VERSION}
+if [ ! -d "$ANT_HOME" ] ; then
+ echo "ANT_HOME not found: $ANT_HOME"
+ exit 1
+fi
+export ANT_HOME
+ANT_CLASSPATH=${ANT_HOME}/lib
+export ANT_CLASSPATH
+echo "ANT_HOME is: $ANT_HOME..."
+echo "ANT_CLASSPATH is: $ANT_CLASSPATH..."
+echo "PATH is: $PATH"
+
+echo "Building for ${AOO_BUILD_TYPE}: min macOS ${AOO_MACOS_TARGET}, Java
$(echo ${AOO_JAVA_VERSION} | sed -e s/..//) : Ant ${AOO_ANT_VERSION}"
+echo "---"
+echo "Starting build:"
+echo ""
+\rm -f solenv/inc/reporevision.lst
+sleep 5
+#Setup build Env
+export SYSTEM_VERSION_COMPAT=1
+export MACOSX_DEPLOYMENT_TARGET=${AOO_MACOS_TARGET}
+export LIBRARY_PATH=/usr/local/lib
+export C_INCLUDE_PATH=/usr/local/include
+export CPLUS_INCLUDE_PATH=/usr/local/include
+
+if [ ! -e external/unowinreg/unowinreg.dll ] ; then
+ echo "Downloading unowinreg.dll..."
+ curl -o external/unowinreg/unowinreg.dll
http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
+fi
+
+LANGS="ast bg ca ca-XR ca-XV cs da de el en-GB en-US es et eu fi fr gd gl he
hi hu hy it ja kab km ko lt nb nl om pl pt pt-BR ru sk sl sr sv ta th tr uk vi
zh-CN zh-TW"
+#LANGS="en-US"
+
+if [ ! -e configure -o configure.ac -nt configure ] ; then
+ echo "Running autoconf..."
+ autoconf || exit 1
+fi
+
+if [ ! -z "$AOO_MACOS_SDK" ]; then
+ AOO_MACOS_SDK="--with-macosx-sdk=$AOO_MACOS_SDK"
+fi
+
+if [ "$AOO_SKIP_CONFIG" != "yes" ]; then
+ ( ./configure \
+ --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") -
`uname -sm`${AOO_BUILD_VERSION}" \
+ ${AOO_VERBOSE_BUILD} \
+ ${AOO_BUILD_DEBUG} \
+ ${AOO_MACOS_SDK} \
+ --with-openldap \
+ --with-system-openssl=/usr/local \
+ --with-system-libxslt=/usr/local \
+ --with-system-libxml=/usr/local \
+ --with-system-curl=/usr/local \
+ --with-system-expat=/usr/local \
+ --enable-category-b \
+ --enable-beanshell \
+ --enable-bundled-dictionaries \
+ --enable-wiki-publisher \
+ --with-jdk-home="$JAVA_HOME" \
+ --with-ant-home="$ANT_HOME" \
+ --without-junit \
+ --with-epm=/usr/local/bin/epm \
+ --with-dmake-path=/usr/local/bin/dmake \
+ --without-stlport \
+ --with-package-format="dmg" \
+ --disable-systray \
+ --with-macosx-target=${AOO_MACOS_TARGET} \
+ --with-alloc=jemalloc \
+ --with-lang="${LANGS}" \
+ "$@" \
+ | tee config.out ) || exit 1
+fi
+
+if [ "$AOO_JUST_CONFIG" = "yes" ]; then
+ exit
+fi
+unset SDKROOT
+export SDKROOT
+./bootstrap || exit 1
+source ./MacOSXX64Env.Set.sh || exit 1
+cd instsetoo_native
+time perl "$SOLARENV/bin/build.pl" --all -P4 MAXPROCESS=2 EXTMAXPROCESS=2 --
-P2 || exit 1
+
+cd util
+if [ "$AOO_BUILD_BETA" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficebeta || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoobeta_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooobetalanguagepack || exit 1
+elif [ "$AOO_BUILD_DEV" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 openofficedev || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoodev_en-US || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooodevlanguagepack || exit 1
+elif [ "$AOO_BUILD_ALL" = "yes" ]; then
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 ooolanguagepack || exit 1
+ dmake -P8 MAXPROCESS=1 EXTMAXPROCESS=1 sdkoo_en-US || exit 1
+fi
+if [ "$AOO_BUILD_SRC" = "yes" ]; then
+ dmake aoo_srcrelease || exit 1
+fi
+
+date "+Build ended at %H:%M:%S"
diff --git a/build-scripts/5.0.0-Dev1/wntmsci/Pack-dev.lst
b/build-scripts/5.0.0-Dev1/wntmsci/Pack-dev.lst
new file mode 100644
index 0000000..bf0a9a5
--- /dev/null
+++ b/build-scripts/5.0.0-Dev1/wntmsci/Pack-dev.lst
@@ -0,0 +1,12 @@
+# Pack-dev.lst: Contains the information for the packaging process.
+# Syntax: Product, list of platforms, list of languages, target (Separator:
spaces)
+# Syntax for list of languages: One multilingual installation set uses
separator ","
+# (Example: "en-US,de" creates English-German multilingual installation set)
+# Different installation sets use the "|" as separator
+
+
+# Product List_of_platforms List_of_languages
Target
+
+OpenOffice wntmsci12.pro
ast|bg|ca|ca-XR|ca-XV|cs|da|de|el|en-GB|en-US|es|et|eu|fi|fr|gd|gl|he|hi|hu|hy|it|ja|kab|km|ko|lt|nb|nl|om|pl|pt|pt-BR|ru|sk|sl|sr|sv|ta|th|tr|uk|vi|zh-CN|zh-TW
openoffice
+OpenOffice_SDK wntmsci12.pro en-US
sdkoo
+OpenOffice_Languagepack wntmsci12.pro
ast|bg|ca|ca-XR|ca-XV|cs|da|de|el|en-GB|en-US|es|et|eu|fi|fr|gd|gl|he|hi|hu|hy|it|ja|kab|km|ko|lt|nb|nl|om|pl|pt|pt-BR|ru|sk|sl|sr|sv|ta|th|tr|uk|vi|zh-CN|zh-TW
ooolanguagepack
diff --git a/build-scripts/5.0.0-Dev1/wntmsci/ReadMe.txt
b/build-scripts/5.0.0-Dev1/wntmsci/ReadMe.txt
new file mode 100644
index 0000000..bc68446
--- /dev/null
+++ b/build-scripts/5.0.0-Dev1/wntmsci/ReadMe.txt
@@ -0,0 +1,62 @@
+This is the configuration used for AOO 4.2.0-Dev6:
+
+Step by step building guide can be found here:
+https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step_Windows
+
+Build Environment:
+
+ - Windows 10 Pro 22H2/ESU (64-bit)
+ - Cygwin 3.6.7 (64-bit)
+ - Apache Ant 1.10.15
+ - MozillaBuild 3.4
+ - MS Visual C++ Compiler 2008 Standard Edition (32-bit)
+ - MS Visual C++ Compiler 2008 Standard Edition (64-bit)
+ - MS Windows Driver Kit 7.1.0.7600
+ - MS Windows SDK for Windows 7.0.7600
+ - MS DirectX SDK (June 2010)
+ - NASM 2.16.03 (64-bit)
+ - Adoptium OpenJDK 8 Update 472 (32-bit)
+ - NSIS 3.11
+
+Bundled Runtime:
+
+ - MS Visual C++ 2008 Redistributable (32-bit) 9.0.30729.6161
+ - MS Visual C++ 2008 Redistributable (64-bit) 9.0.30729.6161
+ - MS Visual C Runtime / msvcr100.dll (32-bit) 10.0.40219.325
+
+Configure:
+
+SDK_PATH="/cygdrive/c/Microsoft_SDKs/Windows/v7.0"
+WDK_HOME="/cygdrive/c/WinDDK/7600.16385.1"
+LANGS_DEV="ast bg ca ca-XR ca-XV cs da de el en-GB en-US es et eu fi fr gd gl
he hi hu hy it ja kab km ko lt nb nl om pl pt pt-BR ru sk sl sr sv ta th tr uk
vi zh-CN zh-TW"
+./configure \
+ --with-build-version="$(date +"%Y-%m-%d %H:%M") - `uname -sm` -
Developer Build 6" \
+ --with-frame-home="$SDK_PATH" \
+ --with-psdk-home="$SDK_PATH" \
+ --with-midl-path="$SDK_PATH/bin" \
+ --with-ant-home="/cygdrive/c/apache-ant-1.10.15" \
+ --with-jdk-home="/cygdrive/c/Program Files (x86)/Eclipse
Adoptium/jdk-8.0.472.8-hotspot" \
+
--with-dmake-url="https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz"
\
+ --with-directx-home="/cygdrive/c/Microsoft_DirectX_SDK_June_2010" \
+ --with-csc-path="/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5" \
+ --with-atl-include-dir="$WDK_HOME/inc/atl71" \
+ --with-atl-lib-dir="$WDK_HOME/lib/atl/i386" \
+ --with-mfc-include-dir="$WDK_HOME/inc/mfc42" \
+ --with-mfc-lib-dir="$WDK_HOME/lib/mfc/i386" \
+ --with-nasm-home="/cygdrive/c/Program Files/NASM" \
+ --enable-win-x64-shellext \
+ --enable-wiki-publisher \
+ --without-junit \
+ --without-stlport \
+ --with-mozilla-build="/cygdrive/c/mozilla-build" \
+ --with-intro-bitmaps="/cygdrive/c/bitmaps/dev/intro.png" \
+ --with-about-bitmaps="/cygdrive/c/bitmaps/dev/about.png" \
+ --enable-category-b \
+ --enable-beanshell \
+ --with-lang="${LANGS_DEV}" \
+ --enable-bundled-dictionaries \
+ --with-packager-list=/cygdrive/c/Source/Pack-dev.lst \
+ --with-nsis-path="/cygdrive/c/NSIS"
+
+For further details see "config.log"
+
diff --git a/build-scripts/5.0.0-Dev1/wntmsci/about.png
b/build-scripts/5.0.0-Dev1/wntmsci/about.png
new file mode 100644
index 0000000..0b2e399
Binary files /dev/null and b/build-scripts/5.0.0-Dev1/wntmsci/about.png differ
diff --git a/build-scripts/5.0.0-Dev1/wntmsci/intro.png
b/build-scripts/5.0.0-Dev1/wntmsci/intro.png
new file mode 100644
index 0000000..5a87ab8
Binary files /dev/null and b/build-scripts/5.0.0-Dev1/wntmsci/intro.png differ