You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2020/12/29 16:37:32 UTC

svn commit: r1884913 - in /openoffice/devtools/build-scripts/4.1.9: unxlngi6/build_aoo32bit_on_centos5.sh unxlngix6/build_aoo64bit_on_centos5.sh

Author: jim
Date: Tue Dec 29 16:37:31 2020
New Revision: 1884913

URL: http://svn.apache.org/viewvc?rev=1884913&view=rev
Log:
New build scrpts

Added:
    openoffice/devtools/build-scripts/4.1.9/unxlngi6/build_aoo32bit_on_centos5.sh   (with props)
    openoffice/devtools/build-scripts/4.1.9/unxlngix6/build_aoo64bit_on_centos5.sh   (with props)

Added: openoffice/devtools/build-scripts/4.1.9/unxlngi6/build_aoo32bit_on_centos5.sh
URL: http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.9/unxlngi6/build_aoo32bit_on_centos5.sh?rev=1884913&view=auto
==============================================================================
--- openoffice/devtools/build-scripts/4.1.9/unxlngi6/build_aoo32bit_on_centos5.sh (added)
+++ openoffice/devtools/build-scripts/4.1.9/unxlngi6/build_aoo32bit_on_centos5.sh Tue Dec 29 16:37:31 2020
@@ -0,0 +1,84 @@
+#!/usr/bin/env bash
+
+#
+# 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
+
+wget -O external/unowinreg/unowinreg.dll http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
+
+LANGS="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"
+
+if [ ! -e configure -o configure.in -nt configure ] ; then
+	echo "Running autoconf..."
+	autoconf || exit 1
+fi
+./configure   \
+	--with-build-version="$(date +"%Y-%m-%d %H:%M") - `uname -sm`${AOO_BUILD_VERSION}" \
+	${AOO_VERBOSE_BUILD} \
+	--with-system-stdlibs \
+	--enable-crashdump=yes \
+	--enable-category-b \
+	--enable-wiki-publisher \
+	--enable-bundled-dictionaries \
+	--enable-opengl  \
+	--enable-dbus  \
+	--enable-gstreamer \
+	--without-junit \
+	--without-stlport \
+	--with-ant-home=$HOME/ant \
+	--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
+
+source ./LinuxX86Env.Set.sh || exit 1 
+./bootstrap || exit 1
+cd instsetoo_native
+time perl "$SOLARENV/bin/build.pl" --all -- -P6 || exit 1
+cd util
+if [ "$AOO_BUILD_BETA" = "yes" ]; then
+	dmake -P6 openofficebeta  || exit 1
+	dmake -P6 sdkoobeta_en-US || exit 1
+	dmake -P6 ooobetalanguagepack || exit 1
+elif [ "$AOO_BUILD_DEV" = "yes" ]; then
+	dmake -P6 openofficedev  || exit 1
+	dmake -P6 sdkoodev_en-US || exit 1
+	dmake -P6 ooodevlanguagepack || exit 1
+else
+	dmake -P6 ooolanguagepack || exit 1
+	dmake -P6 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"
+

Propchange: openoffice/devtools/build-scripts/4.1.9/unxlngi6/build_aoo32bit_on_centos5.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: openoffice/devtools/build-scripts/4.1.9/unxlngix6/build_aoo64bit_on_centos5.sh
URL: http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.9/unxlngix6/build_aoo64bit_on_centos5.sh?rev=1884913&view=auto
==============================================================================
--- openoffice/devtools/build-scripts/4.1.9/unxlngix6/build_aoo64bit_on_centos5.sh (added)
+++ openoffice/devtools/build-scripts/4.1.9/unxlngix6/build_aoo64bit_on_centos5.sh Tue Dec 29 16:37:31 2020
@@ -0,0 +1,84 @@
+#!/usr/bin/env bash
+
+#
+# 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
+
+wget -O external/unowinreg/unowinreg.dll http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll
+
+LANGS="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"
+
+if [ ! -e configure -o configure.in -nt configure ] ; then
+	echo "Running autoconf..."
+	autoconf || exit 1
+fi
+./configure   \
+	--with-build-version="$(date +"%Y-%m-%d %H:%M") - `uname -sm`${AOO_BUILD_VERSION}" \
+	${AOO_VERBOSE_BUILD} \
+	--with-system-stdlibs \
+	--enable-crashdump=yes \
+	--enable-category-b \
+	--enable-wiki-publisher \
+	--enable-bundled-dictionaries \
+	--enable-opengl  \
+	--enable-dbus  \
+	--enable-gstreamer \
+	--without-junit \
+	--without-stlport \
+	--with-ant-home=$HOME/ant \
+	--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
+
+source ./LinuxX86-64Env.Set.sh || exit 1 
+./bootstrap || exit 1
+cd instsetoo_native
+time perl "$SOLARENV/bin/build.pl" --all -- -P6 || exit 1
+cd util
+if [ "$AOO_BUILD_BETA" = "yes" ]; then
+	dmake -P6 openofficebeta  || exit 1
+	dmake -P6 sdkoobeta_en-US || exit 1
+	dmake -P6 ooobetalanguagepack || exit 1
+elif [ "$AOO_BUILD_DEV" = "yes" ]; then
+	dmake -P6 openofficedev  || exit 1
+	dmake -P6 sdkoodev_en-US || exit 1
+	dmake -P6 ooodevlanguagepack || exit 1
+else
+	dmake -P6 ooolanguagepack || exit 1
+	dmake -P6 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"
+

Propchange: openoffice/devtools/build-scripts/4.1.9/unxlngix6/build_aoo64bit_on_centos5.sh
------------------------------------------------------------------------------
    svn:executable = *