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

commit 44c6d07704636e15abbbc0b52e197c095244b1da
Author: Jim Jagielski <[email protected]>
AuthorDate: Mon Nov 2 04:09:53 2026 -0500

    5.0.0-Dev1: add -F/--fast to the build scripts
    
    With --fast only en-US is passed to configure's --with-lang, instead of
    the full list of languages. Replaces the commented-out LANGS="en-US"
    line in each of the six scripts.
---
 build-scripts/5.0.0-Dev1/unxlngi6/build_aoo32bit_on_fed19.sh   | 10 ++++++++--
 build-scripts/5.0.0-Dev1/unxlngi6/build_aoo32bit_on_ubuntu.sh  | 10 ++++++++--
 .../5.0.0-Dev1/unxlngix6/build_aoo64bit_on_centos7.sh          | 10 ++++++++--
 build-scripts/5.0.0-Dev1/unxlngix6/build_aoo64bit_on_ubuntu.sh | 10 ++++++++--
 .../5.0.0-Dev1/unxmaccr/build_aoo64bit_on_macosarm.sh          | 10 ++++++++--
 build-scripts/5.0.0-Dev1/unxmacos/build_aoo64bit_on_macos.sh   | 10 ++++++++--
 6 files changed, 48 insertions(+), 12 deletions(-)

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
index 49cd6f5..d957e87 100755
--- 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
@@ -41,8 +41,9 @@ AOO_BUILD_DEV=
 AOO_BUILD_SRC=
 AOO_BUILD_ALL="yes"
 AOO_BUILD_DEBUG=
+AOO_FAST=
 
-AOPTS=`getopt -o vsjtdbqa:J: --long 
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,ant-version:,java-version:
 -n 'parse-options' -- "$@"`
+AOPTS=`getopt -o vsjtdbqFa:J: --long 
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,fast,ant-version:,java-version:
 -n 'parse-options' -- "$@"`
 if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
 #echo "$AOPTS"
 eval set -- "$AOPTS"
@@ -54,6 +55,7 @@ while true; do
     -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
     -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
     -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+    -F | --fast ) AOO_FAST="yes"; shift ;;
     -a | --ant-version ) AOO_ANT_VERSION=$2; shift 2 ;;
     -J | --java-version ) AOO_JAVA_VERSION=$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 ;;
@@ -102,7 +104,11 @@ if [ ! -e external/unowinreg/unowinreg.dll ] ; then
 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"
+
+# --fast: only build en-US
+if [ "$AOO_FAST" = "yes" ]; then
+    LANGS="en-US"
+fi
 
 if [ ! -e configure -o configure.ac -nt configure ] ; then
        echo "Running autoconf..."
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
index 3f9416b..cf00e65 100755
--- 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
@@ -41,8 +41,9 @@ AOO_BUILD_DEV=
 AOO_BUILD_SRC=
 AOO_BUILD_ALL="yes"
 AOO_BUILD_DEBUG=
+AOO_FAST=
 
-AOPTS=`getopt -o vsjtdbqa:J: --long 
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,ant-version:,java-version:
 -n 'parse-options' -- "$@"`
+AOPTS=`getopt -o vsjtdbqFa:J: --long 
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,fast,ant-version:,java-version:
 -n 'parse-options' -- "$@"`
 if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
 #echo "$AOPTS"
 eval set -- "$AOPTS"
@@ -54,6 +55,7 @@ while true; do
     -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
     -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
     -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+    -F | --fast ) AOO_FAST="yes"; shift ;;
     -a | --ant-version ) AOO_ANT_VERSION=$2; shift 2 ;;
     -J | --java-version ) AOO_JAVA_VERSION=$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 ;;
@@ -102,7 +104,11 @@ if [ ! -e external/unowinreg/unowinreg.dll ] ; then
 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"
+
+# --fast: only build en-US
+if [ "$AOO_FAST" = "yes" ]; then
+    LANGS="en-US"
+fi
 
 if [ ! -e configure -o configure.ac -nt configure ] ; then
        echo "Running autoconf..."
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
index cc24c8c..0da5f9b 100755
--- 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
@@ -41,8 +41,9 @@ AOO_BUILD_DEV=
 AOO_BUILD_SRC=
 AOO_BUILD_ALL="yes"
 AOO_BUILD_DEBUG=
+AOO_FAST=
 
-AOPTS=`getopt -o vsjtdbqa:J: --long 
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,ant-version:,java-version:
 -n 'parse-options' -- "$@"`
+AOPTS=`getopt -o vsjtdbqFa:J: --long 
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,fast,ant-version:,java-version:
 -n 'parse-options' -- "$@"`
 if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
 #echo "$AOPTS"
 eval set -- "$AOPTS"
@@ -54,6 +55,7 @@ while true; do
     -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
     -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
     -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+    -F | --fast ) AOO_FAST="yes"; shift ;;
     -a | --ant-version ) AOO_ANT_VERSION=$2; shift 2 ;;
     -J | --java-version ) AOO_JAVA_VERSION=$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 ;;
@@ -102,7 +104,11 @@ if [ ! -e external/unowinreg/unowinreg.dll ] ; then
 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"
+
+# --fast: only build en-US
+if [ "$AOO_FAST" = "yes" ]; then
+    LANGS="en-US"
+fi
 
 if [ ! -e configure -o configure.ac -nt configure ] ; then
        echo "Running autoconf..."
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
index daef37f..2a2f4b4 100755
--- 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
@@ -41,8 +41,9 @@ AOO_BUILD_DEV=
 AOO_BUILD_SRC=
 AOO_BUILD_ALL="yes"
 AOO_BUILD_DEBUG=
+AOO_FAST=
 
-AOPTS=`getopt -o vsjtdbqa:J: --long 
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,ant-version:,java-version:
 -n 'parse-options' -- "$@"`
+AOPTS=`getopt -o vsjtdbqFa:J: --long 
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,fast,ant-version:,java-version:
 -n 'parse-options' -- "$@"`
 if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
 #echo "$AOPTS"
 eval set -- "$AOPTS"
@@ -54,6 +55,7 @@ while true; do
     -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
     -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
     -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+    -F | --fast ) AOO_FAST="yes"; shift ;;
     -a | --ant-version ) AOO_ANT_VERSION=$2; shift 2 ;;
     -J | --java-version ) AOO_JAVA_VERSION=$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 ;;
@@ -102,7 +104,11 @@ if [ ! -e external/unowinreg/unowinreg.dll ] ; then
 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"
+
+# --fast: only build en-US
+if [ "$AOO_FAST" = "yes" ]; then
+    LANGS="en-US"
+fi
 
 if [ ! -e configure -o configure.ac -nt configure ] ; then
        echo "Running autoconf..."
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
index 8c7a027..e728897 100755
--- 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
@@ -65,8 +65,9 @@ AOO_BUILD_DEV=
 AOO_BUILD_SRC=
 AOO_BUILD_ALL="yes"
 AOO_BUILD_DEBUG=
+AOO_FAST=
 
-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' -- "$@"`
+AOPTS=`getopt -o vsjtdbqFa:J:m:k: --long 
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,fast,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"
@@ -78,6 +79,7 @@ while true; do
     -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
     -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
     -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+    -F | --fast ) AOO_FAST="yes"; 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 ;;
@@ -135,7 +137,11 @@ if [ ! -e external/unowinreg/unowinreg.dll ] ; then
 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"
+
+# --fast: only build en-US
+if [ "$AOO_FAST" = "yes" ]; then
+    LANGS="en-US"
+fi
 
 if [ ! -e configure -o configure.ac -nt configure ] ; then
        echo "Running autoconf..."
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
index 60115df..8eb0909 100755
--- 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
@@ -65,8 +65,9 @@ AOO_BUILD_DEV=
 AOO_BUILD_SRC=
 AOO_BUILD_ALL="yes"
 AOO_BUILD_DEBUG=
+AOO_FAST=
 
-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' -- "$@"`
+AOPTS=`getopt -o vsjtdbqFa:J:m:k: --long 
verbose,debug,skip-config,just-config,build-src,dev,beta,quick,fast,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"
@@ -78,6 +79,7 @@ while true; do
     -j | --just-config ) AOO_JUST_CONFIG="yes"; shift ;;
     -t | --build-src ) AOO_BUILD_SRC="yes"; shift ;;
     -q | --quick ) AOO_BUILD_ALL="no"; shift ;;
+    -F | --fast ) AOO_FAST="yes"; 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 ;;
@@ -135,7 +137,11 @@ if [ ! -e external/unowinreg/unowinreg.dll ] ; then
 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"
+
+# --fast: only build en-US
+if [ "$AOO_FAST" = "yes" ]; then
+    LANGS="en-US"
+fi
 
 if [ ! -e configure -o configure.ac -nt configure ] ; then
        echo "Running autoconf..."

Reply via email to